1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461 |
- /*@WebApiFunc@*/
- var varList = ['HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0004','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0009','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0129','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0130','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0131','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0171','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0144','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0140','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0168','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0160','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0164','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0038','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0034','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0065','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0054','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0061','GS_JCD.LN_GD_HTS_JS_XX_XX_XXX_CI0004','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0125','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0124','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0077','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0089','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0085','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0116','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0108','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0112','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0126','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0192','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0196','HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0188'];
- 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'],
-
- }
- })(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(245,245,245,1)';
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- /*@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(245,245,245,1)');
- PageBackground.a('node.gradientcolor', 'rgba(245,245,245,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});var Node0_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//cefeng_bg_a0.png', PAGEROOTDIR + 'image//cefeng_bg_a0.png');
- Node0_0 = new ht.Node();
- Node0_0.setPosition(757*ratio.ratioX, 518*ratio.ratioY);
- Node0_0.setSize(1447*ratioX, 706*ratioY);
- Node0_0.setImage('imgimage//cefeng_bg_a0.png');
- Node0_0.setRotation(0*Math.PI/180);
- Node0_0._zoomBy = 'Default';
- Node0_0._nodeType = 'image';
- Node0_0._disallowEvert = true;
- dataModel.add(Node0_0);
- })();
- var Node0_1;
- (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//cefeng_img_n0.png', PAGEROOTDIR + 'image//cefeng_img_n0.png');
- Node0_1 = new ht.Node();
- Node0_1.setPosition(768*ratio.ratioX, 520*ratio.ratioY);
- Node0_1.setSize(753*ratioX, 695*ratioY);
- Node0_1.setImage('imgimage//cefeng_img_n0.png');
- Node0_1.setRotation(0*Math.PI/180);
- Node0_1._zoomBy = 'Default';
- Node0_1._nodeType = 'image';
- Node0_1._disallowEvert = true;
- dataModel.add(Node0_1);
- })();
- var Node0_2;
- (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_cft_icon10.png', PAGEROOTDIR + 'image//page_cft_icon10.png');
- Node0_2 = new ht.Node();
- Node0_2.setPosition(1520*ratio.ratioX, 192*ratio.ratioY);
- Node0_2.setSize(76*ratioX, 57*ratioY);
- Node0_2.setImage('imgimage//page_cft_icon10.png');
- Node0_2.setRotation(0*Math.PI/180);
- Node0_2._zoomBy = 'Default';
- Node0_2._nodeType = 'image';
- Node0_2._disallowEvert = true;
- dataModel.add(Node0_2);
- })();
- var Node0_3;
- (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_cft_icon20.png', PAGEROOTDIR + 'image//page_cft_icon20.png');
- Node0_3 = new ht.Node();
- Node0_3.setPosition(1520*ratio.ratioX, 251*ratio.ratioY);
- Node0_3.setSize(76*ratioX, 57*ratioY);
- Node0_3.setImage('imgimage//page_cft_icon20.png');
- Node0_3.setRotation(0*Math.PI/180);
- Node0_3._zoomBy = 'Default';
- Node0_3._nodeType = 'image';
- Node0_3._disallowEvert = true;
- dataModel.add(Node0_3);
- })();
- var Node0_4;
- (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_cft_icon30.png', PAGEROOTDIR + 'image//page_cft_icon30.png');
- Node0_4 = new ht.Node();
- Node0_4.setPosition(1521*ratio.ratioX, 309*ratio.ratioY);
- Node0_4.setSize(76*ratioX, 57*ratioY);
- Node0_4.setImage('imgimage//page_cft_icon30.png');
- Node0_4.setRotation(0*Math.PI/180);
- Node0_4._zoomBy = 'Default';
- Node0_4._nodeType = 'image';
- Node0_4._disallowEvert = true;
- dataModel.add(Node0_4);
- })();
- var Node0_5;
- (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_cft10.png', PAGEROOTDIR + 'image//page_cft10.png');
- Node0_5 = new ht.Node();
- Node0_5.setPosition(1695*ratio.ratioX, 471*ratio.ratioY);
- Node0_5.setSize(348*ratioX, 265*ratioY);
- Node0_5.setImage('imgimage//page_cft10.png');
- Node0_5.setRotation(0*Math.PI/180);
- Node0_5._zoomBy = 'Default';
- Node0_5._nodeType = 'image';
- Node0_5._disallowEvert = true;
- dataModel.add(Node0_5);
- })();
- var Node0_6;
- (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_cft_rightbg0.png', PAGEROOTDIR + 'image//page_cft_rightbg0.png');
- Node0_6 = new ht.Node();
- Node0_6.setPosition(1501*ratio.ratioX, 471*ratio.ratioY);
- Node0_6.setSize(39*ratioX, 265*ratioY);
- Node0_6.setImage('imgimage//page_cft_rightbg0.png');
- Node0_6.setRotation(0*Math.PI/180);
- Node0_6._zoomBy = 'Default';
- Node0_6._nodeType = 'image';
- Node0_6._disallowEvert = true;
- dataModel.add(Node0_6);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_7type = 'rect';
- var Node0_7 = new ht.Node(),
- Node0_7BorderWidth = 1*2;
- if (Node0_7type === 'arc') {
- Node0_7BorderWidth *= 1;
- }
- Node0_7.setImage(GD.getRectJSON(388.5892*_ratio.ratioX, 58*_ratio.ratioY, Node0_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_7.setPosition(1676*ratio.ratioX, 192*ratio.ratioY);
- Node0_7.setSize(388.5892*_ratio.ratioX, 58*_ratio.ratioY);
- Node0_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_7.a('node.width', 388.5892*_ratio.ratioX);
- Node0_7.a('node.height', 58*_ratio.ratioY);
- Node0_7.a('node.type', Node0_7type);
- Node0_7.a('node.rect', [0, 0, 388.5892*_ratio.ratioX, 58*_ratio.ratioY]);
- Node0_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node0_7.a('node.gradientcolor', '');
- Node0_7.a('node.gradient', '');
- Node0_7.a('node.borderwidth', Node0_7BorderWidth);
- Node0_7.a('node.color', 'rgba(192,192,192,1)');
- Node0_7.a('node.fillrect', [0,0,0,0]);
- Node0_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_7.a('node.fillgradient', '');
- if (Node0_7type !== 'rect') {
- Node0_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_7type === 'arc') {
- Node0_7.a('node.arcOval', true);
- }
- Node0_7.setRotation(0*Math.PI/180);
- Node0_7.borderWidth = Node0_7BorderWidth;
- Node0_7.borderFillwidth = Node0_7BorderWidth;
- dataModel.add(Node0_7);
- Node0_7._nodename = 'Node0_7'
- Node0_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_7,
- 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);
- }
- })(Node0_7, Node0_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_8type = 'rect';
- var Node0_8 = new ht.Node(),
- Node0_8BorderWidth = 1*2;
- if (Node0_8type === 'arc') {
- Node0_8BorderWidth *= 1;
- }
- Node0_8.setImage(GD.getRectJSON(388.5892*_ratio.ratioX, 58*_ratio.ratioY, Node0_8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_8.setPosition(1676*ratio.ratioX, 251*ratio.ratioY);
- Node0_8.setSize(388.5892*_ratio.ratioX, 58*_ratio.ratioY);
- Node0_8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_8.a('node.width', 388.5892*_ratio.ratioX);
- Node0_8.a('node.height', 58*_ratio.ratioY);
- Node0_8.a('node.type', Node0_8type);
- Node0_8.a('node.rect', [0, 0, 388.5892*_ratio.ratioX, 58*_ratio.ratioY]);
- Node0_8.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node0_8.a('node.gradientcolor', '');
- Node0_8.a('node.gradient', '');
- Node0_8.a('node.borderwidth', Node0_8BorderWidth);
- Node0_8.a('node.color', 'rgba(192,192,192,1)');
- Node0_8.a('node.fillrect', [0,0,0,0]);
- Node0_8.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_8.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_8.a('node.fillgradient', '');
- if (Node0_8type !== 'rect') {
- Node0_8.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_8.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_8.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_8type === 'arc') {
- Node0_8.a('node.arcOval', true);
- }
- Node0_8.setRotation(0*Math.PI/180);
- Node0_8.borderWidth = Node0_8BorderWidth;
- Node0_8.borderFillwidth = Node0_8BorderWidth;
- dataModel.add(Node0_8);
- Node0_8._nodename = 'Node0_8'
- Node0_8._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_8,
- 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);
- }
- })(Node0_8, Node0_8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_9type = 'rect';
- var Node0_9 = new ht.Node(),
- Node0_9BorderWidth = 1*2;
- if (Node0_9type === 'arc') {
- Node0_9BorderWidth *= 1;
- }
- Node0_9.setImage(GD.getRectJSON(388.5892*_ratio.ratioX, 58*_ratio.ratioY, Node0_9type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_9.setPosition(1676*ratio.ratioX, 310*ratio.ratioY);
- Node0_9.setSize(388.5892*_ratio.ratioX, 58*_ratio.ratioY);
- Node0_9.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_9.a('node.width', 388.5892*_ratio.ratioX);
- Node0_9.a('node.height', 58*_ratio.ratioY);
- Node0_9.a('node.type', Node0_9type);
- Node0_9.a('node.rect', [0, 0, 388.5892*_ratio.ratioX, 58*_ratio.ratioY]);
- Node0_9.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node0_9.a('node.gradientcolor', '');
- Node0_9.a('node.gradient', '');
- Node0_9.a('node.borderwidth', Node0_9BorderWidth);
- Node0_9.a('node.color', 'rgba(192,192,192,1)');
- Node0_9.a('node.fillrect', [0,0,0,0]);
- Node0_9.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_9.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_9.a('node.fillgradient', '');
- if (Node0_9type !== 'rect') {
- Node0_9.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_9.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_9.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_9type === 'arc') {
- Node0_9.a('node.arcOval', true);
- }
- Node0_9.setRotation(0*Math.PI/180);
- Node0_9.borderWidth = Node0_9BorderWidth;
- Node0_9.borderFillwidth = Node0_9BorderWidth;
- dataModel.add(Node0_9);
- Node0_9._nodename = 'Node0_9'
- Node0_9._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_9,
- 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);
- }
- })(Node0_9, Node0_9.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_10 = new ht.Node();
- var Node0_10textStart, Node0_10textWidth, Node0_10lineStart, Node0_10align = 'left', Node0_10fontSize = 17.33329*_ratio.ratioY,Node0_10width = 53*_ratio.ratioX, Node0_10height = 23*_ratio.ratioY;
- (function () {
- if (Node0_10align === 'left') {
- Node0_10textStart = Node0_10fontSize * 0.2 > 2 ? Node0_10fontSize * 0.2 - 4 : Node0_10fontSize * 0.2 - 9;
- Node0_10textWidth = Node0_10width;
- Node0_10lineStart = 1;
- } else if (Node0_10align === 'right') {
- Node0_10textStart = 0;
- Node0_10textWidth =Node0_10fontSize <= 8 ? Node0_10width + Node0_10fontSize * 0.2 + 6 : Node0_10width - Node0_10fontSize * 0.2;
- Node0_10lineStart = (Node0_10width - (ht.Default.getTextSize('气压', ' '+ Node0_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_10align === 'center') {
- Node0_10textStart = -3;
- Node0_10textWidth = Node0_10width;
- Node0_10lineStart = Node0_10width - ht.Default.getTextSize('气压', ' '+ Node0_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_10.setImage(GD.getTextJSON(Node0_10width, Node0_10height, true, false, false, ' '+ Node0_10fontSize + 'px "Arial"'))
- Node0_10.setPosition(1606*ratio.ratioX, 195*ratio.ratioY);
- Node0_10.setWidth(Node0_10width);
- Node0_10.setHeight(Node0_10height);
- Node0_10._nodeType = 'text';
- Node0_10._disallowEvert = true;
- Node0_10.setRotation(0*Math.PI/180);
- Node0_10.a('node.width', Node0_10width);
- Node0_10.a('node.height', Node0_10height);
- Node0_10.a('node.rect', [0, 0, Node0_10width, Node0_10height]);
- Node0_10.a('node.bordercolor','rgba(192,64,0,1)');
- Node0_10.a('node.borderwidth', 0);
- Node0_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_10.a('node.gradient','');
- Node0_10.a('node.gradientcolor','');
- Node0_10.a('node.text','气压');
- Node0_10.a('node.textalign','left');
- Node0_10.a('node.textvAlign','middle');
- Node0_10.a('node.textrect', [Node0_10textStart, 0, Node0_10textWidth, Node0_10height]);
- Node0_10.a('node.color','rgba(192,64,0,1)');
- Node0_10.a('node.font',' '+ Node0_10fontSize + 'px "Arial"');
- Node0_10.a('node.textvisible',true);
- Node0_10.a('node.linefeed',false);
- if (false) {
- Node0_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_10.a('node.text') || '气压';
- var color=Node0_10.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_10width,Node0_10height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_10.a('node.underlinepoints',[Node0_10lineStart, (23 - 17.33329) * 0.5 * _ratio.ratioY + Node0_10fontSize + 2 , ht.Default.getTextSize('气压', ' '+ Node0_10fontSize + 'px "Arial"').width + 6, (Node0_10height - Node0_10fontSize) * 0.5*_ratio.ratioY + Node0_10fontSize + 2 ]);
- Node0_10.a('node.underlinevisible',false);
- Node0_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_10);
- zoomNodeList.push({
- node: Node0_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_11 = new ht.Node();
- var Node0_11textStart, Node0_11textWidth, Node0_11lineStart, Node0_11align = 'left', Node0_11fontSize = 17.33329*_ratio.ratioY,Node0_11width = 57*_ratio.ratioX, Node0_11height = 25*_ratio.ratioY;
- (function () {
- if (Node0_11align === 'left') {
- Node0_11textStart = Node0_11fontSize * 0.2 > 2 ? Node0_11fontSize * 0.2 - 4 : Node0_11fontSize * 0.2 - 9;
- Node0_11textWidth = Node0_11width;
- Node0_11lineStart = 1;
- } else if (Node0_11align === 'right') {
- Node0_11textStart = 0;
- Node0_11textWidth =Node0_11fontSize <= 8 ? Node0_11width + Node0_11fontSize * 0.2 + 6 : Node0_11width - Node0_11fontSize * 0.2;
- Node0_11lineStart = (Node0_11width - (ht.Default.getTextSize('温度', ' '+ Node0_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_11align === 'center') {
- Node0_11textStart = -3;
- Node0_11textWidth = Node0_11width;
- Node0_11lineStart = Node0_11width - ht.Default.getTextSize('温度', ' '+ Node0_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_11.setImage(GD.getTextJSON(Node0_11width, Node0_11height, true, false, false, ' '+ Node0_11fontSize + 'px "Arial"'))
- Node0_11.setPosition(1608*ratio.ratioX, 254*ratio.ratioY);
- Node0_11.setWidth(Node0_11width);
- Node0_11.setHeight(Node0_11height);
- Node0_11._nodeType = 'text';
- Node0_11._disallowEvert = true;
- Node0_11.setRotation(0*Math.PI/180);
- Node0_11.a('node.width', Node0_11width);
- Node0_11.a('node.height', Node0_11height);
- Node0_11.a('node.rect', [0, 0, Node0_11width, Node0_11height]);
- Node0_11.a('node.bordercolor','rgba(0,128,128,1)');
- Node0_11.a('node.borderwidth', 0);
- Node0_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_11.a('node.gradient','');
- Node0_11.a('node.gradientcolor','');
- Node0_11.a('node.text','温度');
- Node0_11.a('node.textalign','left');
- Node0_11.a('node.textvAlign','middle');
- Node0_11.a('node.textrect', [Node0_11textStart, 0, Node0_11textWidth, Node0_11height]);
- Node0_11.a('node.color','rgba(0,128,128,1)');
- Node0_11.a('node.font',' '+ Node0_11fontSize + 'px "Arial"');
- Node0_11.a('node.textvisible',true);
- Node0_11.a('node.linefeed',false);
- if (false) {
- Node0_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_11.a('node.text') || '温度';
- var color=Node0_11.a('node.color') || 'rgba(0,128,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_11width,Node0_11height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_11.a('node.underlinepoints',[Node0_11lineStart, (25 - 17.33329) * 0.5 * _ratio.ratioY + Node0_11fontSize + 2 , ht.Default.getTextSize('温度', ' '+ Node0_11fontSize + 'px "Arial"').width + 6, (Node0_11height - Node0_11fontSize) * 0.5*_ratio.ratioY + Node0_11fontSize + 2 ]);
- Node0_11.a('node.underlinevisible',false);
- Node0_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_11);
- zoomNodeList.push({
- node: Node0_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_12 = new ht.Node();
- var Node0_12textStart, Node0_12textWidth, Node0_12lineStart, Node0_12align = 'left', Node0_12fontSize = 18.66662*_ratio.ratioY,Node0_12width = 57*_ratio.ratioX, Node0_12height = 25*_ratio.ratioY;
- (function () {
- if (Node0_12align === 'left') {
- Node0_12textStart = Node0_12fontSize * 0.2 > 2 ? Node0_12fontSize * 0.2 - 4 : Node0_12fontSize * 0.2 - 9;
- Node0_12textWidth = Node0_12width;
- Node0_12lineStart = 1;
- } else if (Node0_12align === 'right') {
- Node0_12textStart = 0;
- Node0_12textWidth =Node0_12fontSize <= 8 ? Node0_12width + Node0_12fontSize * 0.2 + 6 : Node0_12width - Node0_12fontSize * 0.2;
- Node0_12lineStart = (Node0_12width - (ht.Default.getTextSize('湿度', ' '+ Node0_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_12align === 'center') {
- Node0_12textStart = -3;
- Node0_12textWidth = Node0_12width;
- Node0_12lineStart = Node0_12width - ht.Default.getTextSize('湿度', ' '+ Node0_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_12.setImage(GD.getTextJSON(Node0_12width, Node0_12height, true, false, false, ' '+ Node0_12fontSize + 'px "Arial"'))
- Node0_12.setPosition(1608*ratio.ratioX, 313*ratio.ratioY);
- Node0_12.setWidth(Node0_12width);
- Node0_12.setHeight(Node0_12height);
- Node0_12._nodeType = 'text';
- Node0_12._disallowEvert = true;
- Node0_12.setRotation(0*Math.PI/180);
- Node0_12.a('node.width', Node0_12width);
- Node0_12.a('node.height', Node0_12height);
- Node0_12.a('node.rect', [0, 0, Node0_12width, Node0_12height]);
- Node0_12.a('node.bordercolor','rgba(128,0,128,1)');
- Node0_12.a('node.borderwidth', 0);
- Node0_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_12.a('node.gradient','');
- Node0_12.a('node.gradientcolor','');
- Node0_12.a('node.text','湿度');
- Node0_12.a('node.textalign','left');
- Node0_12.a('node.textvAlign','middle');
- Node0_12.a('node.textrect', [Node0_12textStart, 0, Node0_12textWidth, Node0_12height]);
- Node0_12.a('node.color','rgba(128,0,128,1)');
- Node0_12.a('node.font',' '+ Node0_12fontSize + 'px "Arial"');
- Node0_12.a('node.textvisible',true);
- Node0_12.a('node.linefeed',false);
- if (false) {
- Node0_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_12.a('node.text') || '湿度';
- var color=Node0_12.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node0_12width,Node0_12height,18.66662*_ratio.ratioY,"left",color,' '+ Node0_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_12.a('node.underlinepoints',[Node0_12lineStart, (25 - 18.66662) * 0.5 * _ratio.ratioY + Node0_12fontSize + 2 , ht.Default.getTextSize('湿度', ' '+ Node0_12fontSize + 'px "Arial"').width + 6, (Node0_12height - Node0_12fontSize) * 0.5*_ratio.ratioY + Node0_12fontSize + 2 ]);
- Node0_12.a('node.underlinevisible',false);
- Node0_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_12);
- zoomNodeList.push({
- node: Node0_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node0_13points=[1887, 157,1887, 157],
- Node0_13rect=ht.Default.unionPoint([{x:1887,y:157},{x:1887,y:157}]),
- Node0_13compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node0_13points.length;i++){
- if(i%2==0){
- Node0_13compspts.push(Node0_13points[i]-Node0_13rect.x);
- }else{
- Node0_13compspts.push(Node0_13points[i]-Node0_13rect.y);
- }
- }
- var Node0_13ptslength=Node0_13compspts.length;
- if (Node0_13rect.height === 0) {
- Node0_13compspts[0] -= 0;
- Node0_13compspts[Node0_13ptslength-2] += 0;
- } else if (Node0_13rect.width === 0){
- Node0_13compspts[1] -= 0;
- Node0_13compspts[Node0_13ptslength-1] += 0;
- } else {
- Node0_13compspts[0] -= 0;
- Node0_13compspts[1] -= 0;
- Node0_13compspts[Node0_13ptslength-2] += 0;
- Node0_13compspts[Node0_13ptslength-1] += 0;
- }
- Node0_13 = new ht.Node();
- Node0_13.borderWidth = 1;
- Node0_13rect.width = Node0_13rect.width === 0 ? 0.0001 : Node0_13rect.width;
- Node0_13rect.height = Node0_13rect.height === 0 ? 0.0001 : Node0_13rect.height;
- var Node0_13endCompspts = [Node0_13compspts[Node0_13ptslength-2],Node0_13compspts[Node0_13ptslength-1],0,0];
- var Node0_13startCompspts = [Node0_13compspts[0],Node0_13compspts[1],0,0];
- Node0_13.setImage(GD.getPolyLineJSON());
- Node0_13.setPosition(Node0_13rect.x+Node0_13rect.width/2,Node0_13rect.y+Node0_13rect.height/2);
- Node0_13.setSize(Node0_13rect.width,Node0_13rect.height);
- Node0_13.setStyle("opacity",1);
- Node0_13.s({'pixelPerfect':true});
- Node0_13borderwidth=1;
- Node0_13.setRotation(0);
- dataModel.add(Node0_13);
- Node0_13.a('node.points',Node0_13compspts);
- Node0_13.a('node.segments',[1,2]);
- Node0_13.a('node.color','rgba(0,0,0,1)');
- Node0_13.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node0_13.a('node.borderColor','rgba(0,0,0,1)');
- Node0_13.a('node.background','rgba(0,0,0,1)');
- Node0_13.a('node.gradient','');
- Node0_13.a('node.gradientcolor','rgba(0,0,0,1)');
- Node0_13.a('node.endCompspts',Node0_13endCompspts);
- Node0_13.a('node.startCompspts',Node0_13startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node0_13';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node0_13, Node0_13.getImage(), Node0_13compspts, Node0_13endCompspts, Node0_13startCompspts);
- var Node0_14;
- (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_cft_rightbg0.png', PAGEROOTDIR + 'image//page_cft_rightbg0.png');
- Node0_14 = new ht.Node();
- Node0_14.setPosition(1501*ratio.ratioX, 737*ratio.ratioY);
- Node0_14.setSize(39*ratioX, 265*ratioY);
- Node0_14.setImage('imgimage//page_cft_rightbg0.png');
- Node0_14.setRotation(0*Math.PI/180);
- Node0_14._zoomBy = 'Default';
- Node0_14._nodeType = 'image';
- Node0_14._disallowEvert = true;
- dataModel.add(Node0_14);
- })();
- var Node0_15;
- (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_cft10.png', PAGEROOTDIR + 'image//page_cft10.png');
- Node0_15 = new ht.Node();
- Node0_15.setPosition(1695*ratio.ratioX, 735*ratio.ratioY);
- Node0_15.setSize(348*ratioX, 265*ratioY);
- Node0_15.setImage('imgimage//page_cft10.png');
- Node0_15.setRotation(0*Math.PI/180);
- Node0_15._zoomBy = 'Default';
- Node0_15._nodeType = 'image';
- Node0_15._disallowEvert = true;
- dataModel.add(Node0_15);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_16type = 'rect';
- var Node0_16 = new ht.Node(),
- Node0_16BorderWidth = 1*2;
- if (Node0_16type === 'arc') {
- Node0_16BorderWidth *= 1;
- }
- Node0_16.setImage(GD.getRectJSON(388.5894*_ratio.ratioX, 265*_ratio.ratioY, Node0_16type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_16.setPosition(1677*ratio.ratioX, 472*ratio.ratioY);
- Node0_16.setSize(388.5894*_ratio.ratioX, 265*_ratio.ratioY);
- Node0_16.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_16.a('node.width', 388.5894*_ratio.ratioX);
- Node0_16.a('node.height', 265*_ratio.ratioY);
- Node0_16.a('node.type', Node0_16type);
- Node0_16.a('node.rect', [0, 0, 388.5894*_ratio.ratioX, 265*_ratio.ratioY]);
- Node0_16.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node0_16.a('node.gradientcolor', '');
- Node0_16.a('node.gradient', '');
- Node0_16.a('node.borderwidth', Node0_16BorderWidth);
- Node0_16.a('node.color', 'rgba(192,192,192,1)');
- Node0_16.a('node.fillrect', [0,0,0,0]);
- Node0_16.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_16.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_16.a('node.fillgradient', '');
- if (Node0_16type !== 'rect') {
- Node0_16.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_16.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_16.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_16type === 'arc') {
- Node0_16.a('node.arcOval', true);
- }
- Node0_16.setRotation(0*Math.PI/180);
- Node0_16.borderWidth = Node0_16BorderWidth;
- Node0_16.borderFillwidth = Node0_16BorderWidth;
- dataModel.add(Node0_16);
- Node0_16._nodename = 'Node0_16'
- Node0_16._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_16,
- 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);
- }
- })(Node0_16, Node0_16.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_17type = 'rect';
- var Node0_17 = new ht.Node(),
- Node0_17BorderWidth = 1*2;
- if (Node0_17type === 'arc') {
- Node0_17BorderWidth *= 1;
- }
- Node0_17.setImage(GD.getRectJSON(388.5894*_ratio.ratioX, 265*_ratio.ratioY, Node0_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_17.setPosition(1677*ratio.ratioX, 738*ratio.ratioY);
- Node0_17.setSize(388.5894*_ratio.ratioX, 265*_ratio.ratioY);
- Node0_17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_17.a('node.width', 388.5894*_ratio.ratioX);
- Node0_17.a('node.height', 265*_ratio.ratioY);
- Node0_17.a('node.type', Node0_17type);
- Node0_17.a('node.rect', [0, 0, 388.5894*_ratio.ratioX, 265*_ratio.ratioY]);
- Node0_17.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node0_17.a('node.gradientcolor', '');
- Node0_17.a('node.gradient', '');
- Node0_17.a('node.borderwidth', Node0_17BorderWidth);
- Node0_17.a('node.color', 'rgba(192,192,192,1)');
- Node0_17.a('node.fillrect', [0,0,0,0]);
- Node0_17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_17.a('node.fillgradient', '');
- if (Node0_17type !== 'rect') {
- Node0_17.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_17.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_17type === 'arc') {
- Node0_17.a('node.arcOval', true);
- }
- Node0_17.setRotation(0*Math.PI/180);
- Node0_17.borderWidth = Node0_17BorderWidth;
- Node0_17.borderFillwidth = Node0_17BorderWidth;
- dataModel.add(Node0_17);
- Node0_17._nodename = 'Node0_17'
- Node0_17._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_17,
- 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);
- }
- })(Node0_17, Node0_17.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_18 = new ht.Node();
- var Node0_18textStart, Node0_18textWidth, Node0_18lineStart, Node0_18align = 'left', Node0_18fontSize = 17.33329*_ratio.ratioY,Node0_18width = 199*_ratio.ratioX, Node0_18height = 566*_ratio.ratioY;
- (function () {
- if (Node0_18align === 'left') {
- Node0_18textStart = Node0_18fontSize * 0.2 > 2 ? Node0_18fontSize * 0.2 - 4 : Node0_18fontSize * 0.2 - 9;
- Node0_18textWidth = Node0_18width;
- Node0_18lineStart = 1;
- } else if (Node0_18align === 'right') {
- Node0_18textStart = 0;
- Node0_18textWidth =Node0_18fontSize <= 8 ? Node0_18width + Node0_18fontSize * 0.2 + 6 : Node0_18width - Node0_18fontSize * 0.2;
- Node0_18lineStart = (Node0_18width - (ht.Default.getTextSize('日风资源玫瑰图', ' '+ Node0_18fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_18align === 'center') {
- Node0_18textStart = -3;
- Node0_18textWidth = Node0_18width;
- Node0_18lineStart = Node0_18width - ht.Default.getTextSize('日风资源玫瑰图', ' '+ Node0_18fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_18.setImage(GD.getTextJSON(Node0_18width, Node0_18height, true, false, false, ' '+ Node0_18fontSize + 'px "Arial"'))
- Node0_18.setPosition(1590*ratio.ratioX, 470*ratio.ratioY);
- Node0_18.setWidth(Node0_18width);
- Node0_18.setHeight(Node0_18height);
- Node0_18._nodeType = 'text';
- Node0_18._disallowEvert = true;
- Node0_18.setRotation(0*Math.PI/180);
- Node0_18.a('node.width', Node0_18width);
- Node0_18.a('node.height', Node0_18height);
- Node0_18.a('node.rect', [0, 0, Node0_18width, Node0_18height]);
- Node0_18.a('node.bordercolor','rgba(128,128,128,1)');
- Node0_18.a('node.borderwidth', 0);
- Node0_18.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_18.a('node.gradient','');
- Node0_18.a('node.gradientcolor','');
- Node0_18.a('node.text','日风资源玫瑰图');
- Node0_18.a('node.textalign','left');
- Node0_18.a('node.textvAlign','middle');
- Node0_18.a('node.textrect', [Node0_18textStart, 0, Node0_18textWidth, Node0_18height]);
- Node0_18.a('node.color','rgba(128,128,128,1)');
- Node0_18.a('node.font',' '+ Node0_18fontSize + 'px "Arial"');
- Node0_18.a('node.textvisible',true);
- Node0_18.a('node.linefeed',false);
- if (false) {
- Node0_18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_18.a('node.text') || '日风资源玫瑰图';
- var color=Node0_18.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_18width,Node0_18height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_18.a('node.underlinepoints',[Node0_18lineStart, (566 - 17.33329) * 0.5 * _ratio.ratioY + Node0_18fontSize + 2 , ht.Default.getTextSize('日风资源玫瑰图', ' '+ Node0_18fontSize + 'px "Arial"').width + 6, (Node0_18height - Node0_18fontSize) * 0.5*_ratio.ratioY + Node0_18fontSize + 2 ]);
- Node0_18.a('node.underlinevisible',false);
- Node0_18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_18);
- zoomNodeList.push({
- node: Node0_18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_19 = new ht.Node();
- var Node0_19textStart, Node0_19textWidth, Node0_19lineStart, Node0_19align = 'left', Node0_19fontSize = 17.33329*_ratio.ratioY,Node0_19width = 287*_ratio.ratioX, Node0_19height = 817*_ratio.ratioY;
- (function () {
- if (Node0_19align === 'left') {
- Node0_19textStart = Node0_19fontSize * 0.2 > 2 ? Node0_19fontSize * 0.2 - 4 : Node0_19fontSize * 0.2 - 9;
- Node0_19textWidth = Node0_19width;
- Node0_19lineStart = 1;
- } else if (Node0_19align === 'right') {
- Node0_19textStart = 0;
- Node0_19textWidth =Node0_19fontSize <= 8 ? Node0_19width + Node0_19fontSize * 0.2 + 6 : Node0_19width - Node0_19fontSize * 0.2;
- Node0_19lineStart = (Node0_19width - (ht.Default.getTextSize('月风资源玫瑰图', ' '+ Node0_19fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_19align === 'center') {
- Node0_19textStart = -3;
- Node0_19textWidth = Node0_19width;
- Node0_19lineStart = Node0_19width - ht.Default.getTextSize('月风资源玫瑰图', ' '+ Node0_19fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_19.setImage(GD.getTextJSON(Node0_19width, Node0_19height, true, false, false, ' '+ Node0_19fontSize + 'px "Arial"'))
- Node0_19.setPosition(1634*ratio.ratioX, 729*ratio.ratioY);
- Node0_19.setWidth(Node0_19width);
- Node0_19.setHeight(Node0_19height);
- Node0_19._nodeType = 'text';
- Node0_19._disallowEvert = true;
- Node0_19.setRotation(0*Math.PI/180);
- Node0_19.a('node.width', Node0_19width);
- Node0_19.a('node.height', Node0_19height);
- Node0_19.a('node.rect', [0, 0, Node0_19width, Node0_19height]);
- Node0_19.a('node.bordercolor','rgba(128,128,128,1)');
- Node0_19.a('node.borderwidth', 0);
- Node0_19.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_19.a('node.gradient','');
- Node0_19.a('node.gradientcolor','');
- Node0_19.a('node.text','月风资源玫瑰图');
- Node0_19.a('node.textalign','left');
- Node0_19.a('node.textvAlign','middle');
- Node0_19.a('node.textrect', [Node0_19textStart, 0, Node0_19textWidth, Node0_19height]);
- Node0_19.a('node.color','rgba(128,128,128,1)');
- Node0_19.a('node.font',' '+ Node0_19fontSize + 'px "Arial"');
- Node0_19.a('node.textvisible',true);
- Node0_19.a('node.linefeed',false);
- if (false) {
- Node0_19.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_19.a('node.text') || '月风资源玫瑰图';
- var color=Node0_19.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_19width,Node0_19height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_19fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_19.a('node.underlinepoints',[Node0_19lineStart, (817 - 17.33329) * 0.5 * _ratio.ratioY + Node0_19fontSize + 2 , ht.Default.getTextSize('月风资源玫瑰图', ' '+ Node0_19fontSize + 'px "Arial"').width + 6, (Node0_19height - Node0_19fontSize) * 0.5*_ratio.ratioY + Node0_19fontSize + 2 ]);
- Node0_19.a('node.underlinevisible',false);
- Node0_19.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_19);
- zoomNodeList.push({
- node: Node0_19,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_20_0type = 'rect';
- var Node0_20_0 = new ht.Node(),
- Node0_20_0BorderWidth = 1*2;
- if (Node0_20_0type === 'arc') {
- Node0_20_0BorderWidth *= 1;
- }
- Node0_20_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_20_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_0.setPosition(561*ratio.ratioX, 232*ratio.ratioY);
- Node0_20_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_20_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_20_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_20_0.a('node.height', 25*_ratio.ratioY);
- Node0_20_0.a('node.type', Node0_20_0type);
- Node0_20_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_20_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_20_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_20_0.a('node.gradient', '');
- Node0_20_0.a('node.borderwidth', Node0_20_0BorderWidth);
- Node0_20_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_20_0.a('node.fillrect', [0,0,0,0]);
- Node0_20_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_20_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_20_0.a('node.fillgradient', '');
- if (Node0_20_0type !== 'rect') {
- Node0_20_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_20_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_20_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_20_0type === 'arc') {
- Node0_20_0.a('node.arcOval', true);
- }
- Node0_20_0.setRotation(0*Math.PI/180);
- Node0_20_0.borderWidth = Node0_20_0BorderWidth;
- Node0_20_0.borderFillwidth = Node0_20_0BorderWidth;
- dataModel.add(Node0_20_0);
- Node0_20_0._nodename = 'Node0_20_0'
- Node0_20_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_20_0,
- 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);
- }
- })(Node0_20_0, Node0_20_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_20_1type = 'rect';
- var Node0_20_1 = new ht.Node(),
- Node0_20_1BorderWidth = 1*2;
- if (Node0_20_1type === 'arc') {
- Node0_20_1BorderWidth *= 1;
- }
- Node0_20_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_20_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_1.setPosition(641*ratio.ratioX, 232*ratio.ratioY);
- Node0_20_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_20_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_20_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_20_1.a('node.height', 25*_ratio.ratioY);
- Node0_20_1.a('node.type', Node0_20_1type);
- Node0_20_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_20_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_20_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_20_1.a('node.gradient', '');
- Node0_20_1.a('node.borderwidth', Node0_20_1BorderWidth);
- Node0_20_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_20_1.a('node.fillrect', [0,0,0,0]);
- Node0_20_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_20_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_20_1.a('node.fillgradient', '');
- if (Node0_20_1type !== 'rect') {
- Node0_20_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_20_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_20_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_20_1type === 'arc') {
- Node0_20_1.a('node.arcOval', true);
- }
- Node0_20_1.setRotation(0*Math.PI/180);
- Node0_20_1.borderWidth = Node0_20_1BorderWidth;
- Node0_20_1.borderFillwidth = Node0_20_1BorderWidth;
- dataModel.add(Node0_20_1);
- Node0_20_1._nodename = 'Node0_20_1'
- Node0_20_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_20_1,
- 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);
- }
- })(Node0_20_1, Node0_20_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_21_0type = 'rect';
- var Node0_21_0 = new ht.Node(),
- Node0_21_0BorderWidth = 1*2;
- if (Node0_21_0type === 'arc') {
- Node0_21_0BorderWidth *= 1;
- }
- Node0_21_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_21_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_0.setPosition(561*ratio.ratioX, 466*ratio.ratioY);
- Node0_21_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_21_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_21_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_21_0.a('node.height', 25*_ratio.ratioY);
- Node0_21_0.a('node.type', Node0_21_0type);
- Node0_21_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_21_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_21_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_21_0.a('node.gradient', '');
- Node0_21_0.a('node.borderwidth', Node0_21_0BorderWidth);
- Node0_21_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_21_0.a('node.fillrect', [0,0,0,0]);
- Node0_21_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_21_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_21_0.a('node.fillgradient', '');
- if (Node0_21_0type !== 'rect') {
- Node0_21_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_21_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_21_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_21_0type === 'arc') {
- Node0_21_0.a('node.arcOval', true);
- }
- Node0_21_0.setRotation(0*Math.PI/180);
- Node0_21_0.borderWidth = Node0_21_0BorderWidth;
- Node0_21_0.borderFillwidth = Node0_21_0BorderWidth;
- dataModel.add(Node0_21_0);
- Node0_21_0._nodename = 'Node0_21_0'
- Node0_21_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_21_0,
- 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);
- }
- })(Node0_21_0, Node0_21_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_21_1type = 'rect';
- var Node0_21_1 = new ht.Node(),
- Node0_21_1BorderWidth = 1*2;
- if (Node0_21_1type === 'arc') {
- Node0_21_1BorderWidth *= 1;
- }
- Node0_21_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_21_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_1.setPosition(641*ratio.ratioX, 466*ratio.ratioY);
- Node0_21_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_21_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_21_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_21_1.a('node.height', 25*_ratio.ratioY);
- Node0_21_1.a('node.type', Node0_21_1type);
- Node0_21_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_21_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_21_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_21_1.a('node.gradient', '');
- Node0_21_1.a('node.borderwidth', Node0_21_1BorderWidth);
- Node0_21_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_21_1.a('node.fillrect', [0,0,0,0]);
- Node0_21_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_21_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_21_1.a('node.fillgradient', '');
- if (Node0_21_1type !== 'rect') {
- Node0_21_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_21_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_21_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_21_1type === 'arc') {
- Node0_21_1.a('node.arcOval', true);
- }
- Node0_21_1.setRotation(0*Math.PI/180);
- Node0_21_1.borderWidth = Node0_21_1BorderWidth;
- Node0_21_1.borderFillwidth = Node0_21_1BorderWidth;
- dataModel.add(Node0_21_1);
- Node0_21_1._nodename = 'Node0_21_1'
- Node0_21_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_21_1,
- 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);
- }
- })(Node0_21_1, Node0_21_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_22_0type = 'rect';
- var Node0_22_0 = new ht.Node(),
- Node0_22_0BorderWidth = 1*2;
- if (Node0_22_0type === 'arc') {
- Node0_22_0BorderWidth *= 1;
- }
- Node0_22_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_22_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_0.setPosition(561*ratio.ratioX, 389*ratio.ratioY);
- Node0_22_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_22_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_22_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_22_0.a('node.height', 25*_ratio.ratioY);
- Node0_22_0.a('node.type', Node0_22_0type);
- Node0_22_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_22_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_22_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_22_0.a('node.gradient', '');
- Node0_22_0.a('node.borderwidth', Node0_22_0BorderWidth);
- Node0_22_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_22_0.a('node.fillrect', [0,0,0,0]);
- Node0_22_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_22_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_22_0.a('node.fillgradient', '');
- if (Node0_22_0type !== 'rect') {
- Node0_22_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_22_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_22_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_22_0type === 'arc') {
- Node0_22_0.a('node.arcOval', true);
- }
- Node0_22_0.setRotation(0*Math.PI/180);
- Node0_22_0.borderWidth = Node0_22_0BorderWidth;
- Node0_22_0.borderFillwidth = Node0_22_0BorderWidth;
- dataModel.add(Node0_22_0);
- Node0_22_0._nodename = 'Node0_22_0'
- Node0_22_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_22_0,
- 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);
- }
- })(Node0_22_0, Node0_22_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_22_1type = 'rect';
- var Node0_22_1 = new ht.Node(),
- Node0_22_1BorderWidth = 1*2;
- if (Node0_22_1type === 'arc') {
- Node0_22_1BorderWidth *= 1;
- }
- Node0_22_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_22_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_1.setPosition(641*ratio.ratioX, 389*ratio.ratioY);
- Node0_22_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_22_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_22_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_22_1.a('node.height', 25*_ratio.ratioY);
- Node0_22_1.a('node.type', Node0_22_1type);
- Node0_22_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_22_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_22_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_22_1.a('node.gradient', '');
- Node0_22_1.a('node.borderwidth', Node0_22_1BorderWidth);
- Node0_22_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_22_1.a('node.fillrect', [0,0,0,0]);
- Node0_22_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_22_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_22_1.a('node.fillgradient', '');
- if (Node0_22_1type !== 'rect') {
- Node0_22_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_22_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_22_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_22_1type === 'arc') {
- Node0_22_1.a('node.arcOval', true);
- }
- Node0_22_1.setRotation(0*Math.PI/180);
- Node0_22_1.borderWidth = Node0_22_1BorderWidth;
- Node0_22_1.borderFillwidth = Node0_22_1BorderWidth;
- dataModel.add(Node0_22_1);
- Node0_22_1._nodename = 'Node0_22_1'
- Node0_22_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_22_1,
- 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);
- }
- })(Node0_22_1, Node0_22_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_23_0type = 'rect';
- var Node0_23_0 = new ht.Node(),
- Node0_23_0BorderWidth = 1*2;
- if (Node0_23_0type === 'arc') {
- Node0_23_0BorderWidth *= 1;
- }
- Node0_23_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_23_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_0.setPosition(564*ratio.ratioX, 545*ratio.ratioY);
- Node0_23_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_23_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_23_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_23_0.a('node.height', 25*_ratio.ratioY);
- Node0_23_0.a('node.type', Node0_23_0type);
- Node0_23_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_23_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_23_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_23_0.a('node.gradient', '');
- Node0_23_0.a('node.borderwidth', Node0_23_0BorderWidth);
- Node0_23_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_23_0.a('node.fillrect', [0,0,0,0]);
- Node0_23_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_23_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_23_0.a('node.fillgradient', '');
- if (Node0_23_0type !== 'rect') {
- Node0_23_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_23_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_23_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_23_0type === 'arc') {
- Node0_23_0.a('node.arcOval', true);
- }
- Node0_23_0.setRotation(0*Math.PI/180);
- Node0_23_0.borderWidth = Node0_23_0BorderWidth;
- Node0_23_0.borderFillwidth = Node0_23_0BorderWidth;
- dataModel.add(Node0_23_0);
- Node0_23_0._nodename = 'Node0_23_0'
- Node0_23_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_23_0,
- 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);
- }
- })(Node0_23_0, Node0_23_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_23_1type = 'rect';
- var Node0_23_1 = new ht.Node(),
- Node0_23_1BorderWidth = 1*2;
- if (Node0_23_1type === 'arc') {
- Node0_23_1BorderWidth *= 1;
- }
- Node0_23_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_23_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_1.setPosition(644*ratio.ratioX, 545*ratio.ratioY);
- Node0_23_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_23_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_23_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_23_1.a('node.height', 25*_ratio.ratioY);
- Node0_23_1.a('node.type', Node0_23_1type);
- Node0_23_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_23_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_23_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_23_1.a('node.gradient', '');
- Node0_23_1.a('node.borderwidth', Node0_23_1BorderWidth);
- Node0_23_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_23_1.a('node.fillrect', [0,0,0,0]);
- Node0_23_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_23_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_23_1.a('node.fillgradient', '');
- if (Node0_23_1type !== 'rect') {
- Node0_23_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_23_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_23_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_23_1type === 'arc') {
- Node0_23_1.a('node.arcOval', true);
- }
- Node0_23_1.setRotation(0*Math.PI/180);
- Node0_23_1.borderWidth = Node0_23_1BorderWidth;
- Node0_23_1.borderFillwidth = Node0_23_1BorderWidth;
- dataModel.add(Node0_23_1);
- Node0_23_1._nodename = 'Node0_23_1'
- Node0_23_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_23_1,
- 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);
- }
- })(Node0_23_1, Node0_23_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_24_0type = 'rect';
- var Node0_24_0 = new ht.Node(),
- Node0_24_0BorderWidth = 1*2;
- if (Node0_24_0type === 'arc') {
- Node0_24_0BorderWidth *= 1;
- }
- Node0_24_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_24_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_0.setPosition(564*ratio.ratioX, 623*ratio.ratioY);
- Node0_24_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_24_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_24_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_24_0.a('node.height', 25*_ratio.ratioY);
- Node0_24_0.a('node.type', Node0_24_0type);
- Node0_24_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_24_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_24_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_24_0.a('node.gradient', '');
- Node0_24_0.a('node.borderwidth', Node0_24_0BorderWidth);
- Node0_24_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_24_0.a('node.fillrect', [0,0,0,0]);
- Node0_24_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_24_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_24_0.a('node.fillgradient', '');
- if (Node0_24_0type !== 'rect') {
- Node0_24_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_24_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_24_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_24_0type === 'arc') {
- Node0_24_0.a('node.arcOval', true);
- }
- Node0_24_0.setRotation(0*Math.PI/180);
- Node0_24_0.borderWidth = Node0_24_0BorderWidth;
- Node0_24_0.borderFillwidth = Node0_24_0BorderWidth;
- dataModel.add(Node0_24_0);
- Node0_24_0._nodename = 'Node0_24_0'
- Node0_24_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_24_0,
- 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);
- }
- })(Node0_24_0, Node0_24_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_24_1type = 'rect';
- var Node0_24_1 = new ht.Node(),
- Node0_24_1BorderWidth = 1*2;
- if (Node0_24_1type === 'arc') {
- Node0_24_1BorderWidth *= 1;
- }
- Node0_24_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_24_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_1.setPosition(644*ratio.ratioX, 623*ratio.ratioY);
- Node0_24_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_24_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_24_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_24_1.a('node.height', 25*_ratio.ratioY);
- Node0_24_1.a('node.type', Node0_24_1type);
- Node0_24_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_24_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_24_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_24_1.a('node.gradient', '');
- Node0_24_1.a('node.borderwidth', Node0_24_1BorderWidth);
- Node0_24_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_24_1.a('node.fillrect', [0,0,0,0]);
- Node0_24_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_24_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_24_1.a('node.fillgradient', '');
- if (Node0_24_1type !== 'rect') {
- Node0_24_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_24_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_24_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_24_1type === 'arc') {
- Node0_24_1.a('node.arcOval', true);
- }
- Node0_24_1.setRotation(0*Math.PI/180);
- Node0_24_1.borderWidth = Node0_24_1BorderWidth;
- Node0_24_1.borderFillwidth = Node0_24_1BorderWidth;
- dataModel.add(Node0_24_1);
- Node0_24_1._nodename = 'Node0_24_1'
- Node0_24_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_24_1,
- 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);
- }
- })(Node0_24_1, Node0_24_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_25_0type = 'rect';
- var Node0_25_0 = new ht.Node(),
- Node0_25_0BorderWidth = 1*2;
- if (Node0_25_0type === 'arc') {
- Node0_25_0BorderWidth *= 1;
- }
- Node0_25_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_25_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_0.setPosition(564*ratio.ratioX, 701*ratio.ratioY);
- Node0_25_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_25_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_25_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_25_0.a('node.height', 25*_ratio.ratioY);
- Node0_25_0.a('node.type', Node0_25_0type);
- Node0_25_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_25_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_25_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_25_0.a('node.gradient', '');
- Node0_25_0.a('node.borderwidth', Node0_25_0BorderWidth);
- Node0_25_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_25_0.a('node.fillrect', [0,0,0,0]);
- Node0_25_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_25_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_25_0.a('node.fillgradient', '');
- if (Node0_25_0type !== 'rect') {
- Node0_25_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_25_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_25_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_25_0type === 'arc') {
- Node0_25_0.a('node.arcOval', true);
- }
- Node0_25_0.setRotation(0*Math.PI/180);
- Node0_25_0.borderWidth = Node0_25_0BorderWidth;
- Node0_25_0.borderFillwidth = Node0_25_0BorderWidth;
- dataModel.add(Node0_25_0);
- Node0_25_0._nodename = 'Node0_25_0'
- Node0_25_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_25_0,
- 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);
- }
- })(Node0_25_0, Node0_25_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_25_1type = 'rect';
- var Node0_25_1 = new ht.Node(),
- Node0_25_1BorderWidth = 1*2;
- if (Node0_25_1type === 'arc') {
- Node0_25_1BorderWidth *= 1;
- }
- Node0_25_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_25_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_1.setPosition(644*ratio.ratioX, 701*ratio.ratioY);
- Node0_25_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_25_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_25_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_25_1.a('node.height', 25*_ratio.ratioY);
- Node0_25_1.a('node.type', Node0_25_1type);
- Node0_25_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_25_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_25_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_25_1.a('node.gradient', '');
- Node0_25_1.a('node.borderwidth', Node0_25_1BorderWidth);
- Node0_25_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_25_1.a('node.fillrect', [0,0,0,0]);
- Node0_25_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_25_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_25_1.a('node.fillgradient', '');
- if (Node0_25_1type !== 'rect') {
- Node0_25_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_25_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_25_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_25_1type === 'arc') {
- Node0_25_1.a('node.arcOval', true);
- }
- Node0_25_1.setRotation(0*Math.PI/180);
- Node0_25_1.borderWidth = Node0_25_1BorderWidth;
- Node0_25_1.borderFillwidth = Node0_25_1BorderWidth;
- dataModel.add(Node0_25_1);
- Node0_25_1._nodename = 'Node0_25_1'
- Node0_25_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_25_1,
- 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);
- }
- })(Node0_25_1, Node0_25_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_26_0type = 'rect';
- var Node0_26_0 = new ht.Node(),
- Node0_26_0BorderWidth = 1*2;
- if (Node0_26_0type === 'arc') {
- Node0_26_0BorderWidth *= 1;
- }
- Node0_26_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_26_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_0.setPosition(564*ratio.ratioX, 778*ratio.ratioY);
- Node0_26_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_26_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_26_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_26_0.a('node.height', 25*_ratio.ratioY);
- Node0_26_0.a('node.type', Node0_26_0type);
- Node0_26_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_26_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_26_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_26_0.a('node.gradient', '');
- Node0_26_0.a('node.borderwidth', Node0_26_0BorderWidth);
- Node0_26_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_26_0.a('node.fillrect', [0,0,0,0]);
- Node0_26_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_26_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_26_0.a('node.fillgradient', '');
- if (Node0_26_0type !== 'rect') {
- Node0_26_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_26_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_26_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_26_0type === 'arc') {
- Node0_26_0.a('node.arcOval', true);
- }
- Node0_26_0.setRotation(0*Math.PI/180);
- Node0_26_0.borderWidth = Node0_26_0BorderWidth;
- Node0_26_0.borderFillwidth = Node0_26_0BorderWidth;
- dataModel.add(Node0_26_0);
- Node0_26_0._nodename = 'Node0_26_0'
- Node0_26_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_26_0,
- 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);
- }
- })(Node0_26_0, Node0_26_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_26_1type = 'rect';
- var Node0_26_1 = new ht.Node(),
- Node0_26_1BorderWidth = 1*2;
- if (Node0_26_1type === 'arc') {
- Node0_26_1BorderWidth *= 1;
- }
- Node0_26_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_26_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_1.setPosition(644*ratio.ratioX, 778*ratio.ratioY);
- Node0_26_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_26_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_26_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_26_1.a('node.height', 25*_ratio.ratioY);
- Node0_26_1.a('node.type', Node0_26_1type);
- Node0_26_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_26_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_26_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_26_1.a('node.gradient', '');
- Node0_26_1.a('node.borderwidth', Node0_26_1BorderWidth);
- Node0_26_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_26_1.a('node.fillrect', [0,0,0,0]);
- Node0_26_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_26_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_26_1.a('node.fillgradient', '');
- if (Node0_26_1type !== 'rect') {
- Node0_26_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_26_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_26_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_26_1type === 'arc') {
- Node0_26_1.a('node.arcOval', true);
- }
- Node0_26_1.setRotation(0*Math.PI/180);
- Node0_26_1.borderWidth = Node0_26_1BorderWidth;
- Node0_26_1.borderFillwidth = Node0_26_1BorderWidth;
- dataModel.add(Node0_26_1);
- Node0_26_1._nodename = 'Node0_26_1'
- Node0_26_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_26_1,
- 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);
- }
- })(Node0_26_1, Node0_26_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_27_0type = 'rect';
- var Node0_27_0 = new ht.Node(),
- Node0_27_0BorderWidth = 1*2;
- if (Node0_27_0type === 'arc') {
- Node0_27_0BorderWidth *= 1;
- }
- Node0_27_0.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_27_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_0.setPosition(561*ratio.ratioX, 311*ratio.ratioY);
- Node0_27_0.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_27_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_27_0.a('node.width', 72.67877*_ratio.ratioX);
- Node0_27_0.a('node.height', 25*_ratio.ratioY);
- Node0_27_0.a('node.type', Node0_27_0type);
- Node0_27_0.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_27_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_27_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_27_0.a('node.gradient', '');
- Node0_27_0.a('node.borderwidth', Node0_27_0BorderWidth);
- Node0_27_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_27_0.a('node.fillrect', [0,0,0,0]);
- Node0_27_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_27_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_27_0.a('node.fillgradient', '');
- if (Node0_27_0type !== 'rect') {
- Node0_27_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_27_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_27_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_27_0type === 'arc') {
- Node0_27_0.a('node.arcOval', true);
- }
- Node0_27_0.setRotation(0*Math.PI/180);
- Node0_27_0.borderWidth = Node0_27_0BorderWidth;
- Node0_27_0.borderFillwidth = Node0_27_0BorderWidth;
- dataModel.add(Node0_27_0);
- Node0_27_0._nodename = 'Node0_27_0'
- Node0_27_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_27_0,
- 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);
- }
- })(Node0_27_0, Node0_27_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_27_1type = 'rect';
- var Node0_27_1 = new ht.Node(),
- Node0_27_1BorderWidth = 1*2;
- if (Node0_27_1type === 'arc') {
- Node0_27_1BorderWidth *= 1;
- }
- Node0_27_1.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_27_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_1.setPosition(641*ratio.ratioX, 311*ratio.ratioY);
- Node0_27_1.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_27_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_27_1.a('node.width', 87.21454*_ratio.ratioX);
- Node0_27_1.a('node.height', 25*_ratio.ratioY);
- Node0_27_1.a('node.type', Node0_27_1type);
- Node0_27_1.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_27_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_27_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_27_1.a('node.gradient', '');
- Node0_27_1.a('node.borderwidth', Node0_27_1BorderWidth);
- Node0_27_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_27_1.a('node.fillrect', [0,0,0,0]);
- Node0_27_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_27_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_27_1.a('node.fillgradient', '');
- if (Node0_27_1type !== 'rect') {
- Node0_27_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_27_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_27_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_27_1type === 'arc') {
- Node0_27_1.a('node.arcOval', true);
- }
- Node0_27_1.setRotation(0*Math.PI/180);
- Node0_27_1.borderWidth = Node0_27_1BorderWidth;
- Node0_27_1.borderFillwidth = Node0_27_1BorderWidth;
- dataModel.add(Node0_27_1);
- Node0_27_1._nodename = 'Node0_27_1'
- Node0_27_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_27_1,
- 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);
- }
- })(Node0_27_1, Node0_27_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_28_0type = 'rect';
- var Node0_28_0 = new ht.Node(),
- Node0_28_0BorderWidth = 1*2;
- if (Node0_28_0type === 'arc') {
- Node0_28_0BorderWidth *= 1;
- }
- Node0_28_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_28_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_0.setPosition(880*ratio.ratioX, 232*ratio.ratioY);
- Node0_28_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_28_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_28_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_28_0.a('node.height', 25*_ratio.ratioY);
- Node0_28_0.a('node.type', Node0_28_0type);
- Node0_28_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_28_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_28_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_28_0.a('node.gradient', '');
- Node0_28_0.a('node.borderwidth', Node0_28_0BorderWidth);
- Node0_28_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_28_0.a('node.fillrect', [0,0,0,0]);
- Node0_28_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_28_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_28_0.a('node.fillgradient', '');
- if (Node0_28_0type !== 'rect') {
- Node0_28_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_28_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_28_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_28_0type === 'arc') {
- Node0_28_0.a('node.arcOval', true);
- }
- Node0_28_0.setRotation(0*Math.PI/180);
- Node0_28_0.borderWidth = Node0_28_0BorderWidth;
- Node0_28_0.borderFillwidth = Node0_28_0BorderWidth;
- dataModel.add(Node0_28_0);
- Node0_28_0._nodename = 'Node0_28_0'
- Node0_28_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_28_0,
- 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);
- }
- })(Node0_28_0, Node0_28_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_28_1type = 'rect';
- var Node0_28_1 = new ht.Node(),
- Node0_28_1BorderWidth = 1*2;
- if (Node0_28_1type === 'arc') {
- Node0_28_1BorderWidth *= 1;
- }
- Node0_28_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_28_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_1.setPosition(959*ratio.ratioX, 232*ratio.ratioY);
- Node0_28_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_28_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_28_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_28_1.a('node.height', 25*_ratio.ratioY);
- Node0_28_1.a('node.type', Node0_28_1type);
- Node0_28_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_28_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_28_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_28_1.a('node.gradient', '');
- Node0_28_1.a('node.borderwidth', Node0_28_1BorderWidth);
- Node0_28_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_28_1.a('node.fillrect', [0,0,0,0]);
- Node0_28_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_28_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_28_1.a('node.fillgradient', '');
- if (Node0_28_1type !== 'rect') {
- Node0_28_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_28_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_28_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_28_1type === 'arc') {
- Node0_28_1.a('node.arcOval', true);
- }
- Node0_28_1.setRotation(0*Math.PI/180);
- Node0_28_1.borderWidth = Node0_28_1BorderWidth;
- Node0_28_1.borderFillwidth = Node0_28_1BorderWidth;
- dataModel.add(Node0_28_1);
- Node0_28_1._nodename = 'Node0_28_1'
- Node0_28_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_28_1,
- 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);
- }
- })(Node0_28_1, Node0_28_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_29_0type = 'rect';
- var Node0_29_0 = new ht.Node(),
- Node0_29_0BorderWidth = 1*2;
- if (Node0_29_0type === 'arc') {
- Node0_29_0BorderWidth *= 1;
- }
- Node0_29_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_29_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_0.setPosition(880*ratio.ratioX, 623*ratio.ratioY);
- Node0_29_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_29_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_29_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_29_0.a('node.height', 25*_ratio.ratioY);
- Node0_29_0.a('node.type', Node0_29_0type);
- Node0_29_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_29_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_29_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_29_0.a('node.gradient', '');
- Node0_29_0.a('node.borderwidth', Node0_29_0BorderWidth);
- Node0_29_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_29_0.a('node.fillrect', [0,0,0,0]);
- Node0_29_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_29_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_29_0.a('node.fillgradient', '');
- if (Node0_29_0type !== 'rect') {
- Node0_29_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_29_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_29_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_29_0type === 'arc') {
- Node0_29_0.a('node.arcOval', true);
- }
- Node0_29_0.setRotation(0*Math.PI/180);
- Node0_29_0.borderWidth = Node0_29_0BorderWidth;
- Node0_29_0.borderFillwidth = Node0_29_0BorderWidth;
- dataModel.add(Node0_29_0);
- Node0_29_0._nodename = 'Node0_29_0'
- Node0_29_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_29_0,
- 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);
- }
- })(Node0_29_0, Node0_29_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_29_1type = 'rect';
- var Node0_29_1 = new ht.Node(),
- Node0_29_1BorderWidth = 1*2;
- if (Node0_29_1type === 'arc') {
- Node0_29_1BorderWidth *= 1;
- }
- Node0_29_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_29_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_1.setPosition(959*ratio.ratioX, 623*ratio.ratioY);
- Node0_29_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_29_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_29_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_29_1.a('node.height', 25*_ratio.ratioY);
- Node0_29_1.a('node.type', Node0_29_1type);
- Node0_29_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_29_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_29_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_29_1.a('node.gradient', '');
- Node0_29_1.a('node.borderwidth', Node0_29_1BorderWidth);
- Node0_29_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_29_1.a('node.fillrect', [0,0,0,0]);
- Node0_29_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_29_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_29_1.a('node.fillgradient', '');
- if (Node0_29_1type !== 'rect') {
- Node0_29_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_29_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_29_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_29_1type === 'arc') {
- Node0_29_1.a('node.arcOval', true);
- }
- Node0_29_1.setRotation(0*Math.PI/180);
- Node0_29_1.borderWidth = Node0_29_1BorderWidth;
- Node0_29_1.borderFillwidth = Node0_29_1BorderWidth;
- dataModel.add(Node0_29_1);
- Node0_29_1._nodename = 'Node0_29_1'
- Node0_29_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_29_1,
- 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);
- }
- })(Node0_29_1, Node0_29_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_30_0type = 'rect';
- var Node0_30_0 = new ht.Node(),
- Node0_30_0BorderWidth = 1*2;
- if (Node0_30_0type === 'arc') {
- Node0_30_0BorderWidth *= 1;
- }
- Node0_30_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_30_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_0.setPosition(880*ratio.ratioX, 466*ratio.ratioY);
- Node0_30_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_30_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_30_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_30_0.a('node.height', 25*_ratio.ratioY);
- Node0_30_0.a('node.type', Node0_30_0type);
- Node0_30_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_30_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_30_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_30_0.a('node.gradient', '');
- Node0_30_0.a('node.borderwidth', Node0_30_0BorderWidth);
- Node0_30_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_30_0.a('node.fillrect', [0,0,0,0]);
- Node0_30_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_30_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_30_0.a('node.fillgradient', '');
- if (Node0_30_0type !== 'rect') {
- Node0_30_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_30_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_30_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_30_0type === 'arc') {
- Node0_30_0.a('node.arcOval', true);
- }
- Node0_30_0.setRotation(0*Math.PI/180);
- Node0_30_0.borderWidth = Node0_30_0BorderWidth;
- Node0_30_0.borderFillwidth = Node0_30_0BorderWidth;
- dataModel.add(Node0_30_0);
- Node0_30_0._nodename = 'Node0_30_0'
- Node0_30_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_30_0,
- 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);
- }
- })(Node0_30_0, Node0_30_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_30_1type = 'rect';
- var Node0_30_1 = new ht.Node(),
- Node0_30_1BorderWidth = 1*2;
- if (Node0_30_1type === 'arc') {
- Node0_30_1BorderWidth *= 1;
- }
- Node0_30_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_30_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_1.setPosition(959*ratio.ratioX, 466*ratio.ratioY);
- Node0_30_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_30_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_30_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_30_1.a('node.height', 25*_ratio.ratioY);
- Node0_30_1.a('node.type', Node0_30_1type);
- Node0_30_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_30_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_30_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_30_1.a('node.gradient', '');
- Node0_30_1.a('node.borderwidth', Node0_30_1BorderWidth);
- Node0_30_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_30_1.a('node.fillrect', [0,0,0,0]);
- Node0_30_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_30_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_30_1.a('node.fillgradient', '');
- if (Node0_30_1type !== 'rect') {
- Node0_30_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_30_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_30_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_30_1type === 'arc') {
- Node0_30_1.a('node.arcOval', true);
- }
- Node0_30_1.setRotation(0*Math.PI/180);
- Node0_30_1.borderWidth = Node0_30_1BorderWidth;
- Node0_30_1.borderFillwidth = Node0_30_1BorderWidth;
- dataModel.add(Node0_30_1);
- Node0_30_1._nodename = 'Node0_30_1'
- Node0_30_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_30_1,
- 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);
- }
- })(Node0_30_1, Node0_30_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_31_0type = 'rect';
- var Node0_31_0 = new ht.Node(),
- Node0_31_0BorderWidth = 1*2;
- if (Node0_31_0type === 'arc') {
- Node0_31_0BorderWidth *= 1;
- }
- Node0_31_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_31_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_0.setPosition(880*ratio.ratioX, 389*ratio.ratioY);
- Node0_31_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_31_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_31_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_31_0.a('node.height', 25*_ratio.ratioY);
- Node0_31_0.a('node.type', Node0_31_0type);
- Node0_31_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_31_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_31_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_31_0.a('node.gradient', '');
- Node0_31_0.a('node.borderwidth', Node0_31_0BorderWidth);
- Node0_31_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_31_0.a('node.fillrect', [0,0,0,0]);
- Node0_31_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_31_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_31_0.a('node.fillgradient', '');
- if (Node0_31_0type !== 'rect') {
- Node0_31_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_31_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_31_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_31_0type === 'arc') {
- Node0_31_0.a('node.arcOval', true);
- }
- Node0_31_0.setRotation(0*Math.PI/180);
- Node0_31_0.borderWidth = Node0_31_0BorderWidth;
- Node0_31_0.borderFillwidth = Node0_31_0BorderWidth;
- dataModel.add(Node0_31_0);
- Node0_31_0._nodename = 'Node0_31_0'
- Node0_31_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_31_0,
- 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);
- }
- })(Node0_31_0, Node0_31_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_31_1type = 'rect';
- var Node0_31_1 = new ht.Node(),
- Node0_31_1BorderWidth = 1*2;
- if (Node0_31_1type === 'arc') {
- Node0_31_1BorderWidth *= 1;
- }
- Node0_31_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_31_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_1.setPosition(959*ratio.ratioX, 389*ratio.ratioY);
- Node0_31_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_31_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_31_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_31_1.a('node.height', 25*_ratio.ratioY);
- Node0_31_1.a('node.type', Node0_31_1type);
- Node0_31_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_31_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_31_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_31_1.a('node.gradient', '');
- Node0_31_1.a('node.borderwidth', Node0_31_1BorderWidth);
- Node0_31_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_31_1.a('node.fillrect', [0,0,0,0]);
- Node0_31_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_31_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_31_1.a('node.fillgradient', '');
- if (Node0_31_1type !== 'rect') {
- Node0_31_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_31_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_31_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_31_1type === 'arc') {
- Node0_31_1.a('node.arcOval', true);
- }
- Node0_31_1.setRotation(0*Math.PI/180);
- Node0_31_1.borderWidth = Node0_31_1BorderWidth;
- Node0_31_1.borderFillwidth = Node0_31_1BorderWidth;
- dataModel.add(Node0_31_1);
- Node0_31_1._nodename = 'Node0_31_1'
- Node0_31_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_31_1,
- 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);
- }
- })(Node0_31_1, Node0_31_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_32_0type = 'rect';
- var Node0_32_0 = new ht.Node(),
- Node0_32_0BorderWidth = 1*2;
- if (Node0_32_0type === 'arc') {
- Node0_32_0BorderWidth *= 1;
- }
- Node0_32_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_32_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_0.setPosition(880*ratio.ratioX, 701*ratio.ratioY);
- Node0_32_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_32_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_32_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_32_0.a('node.height', 25*_ratio.ratioY);
- Node0_32_0.a('node.type', Node0_32_0type);
- Node0_32_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_32_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_32_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_32_0.a('node.gradient', '');
- Node0_32_0.a('node.borderwidth', Node0_32_0BorderWidth);
- Node0_32_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_32_0.a('node.fillrect', [0,0,0,0]);
- Node0_32_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_32_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_32_0.a('node.fillgradient', '');
- if (Node0_32_0type !== 'rect') {
- Node0_32_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_32_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_32_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_32_0type === 'arc') {
- Node0_32_0.a('node.arcOval', true);
- }
- Node0_32_0.setRotation(0*Math.PI/180);
- Node0_32_0.borderWidth = Node0_32_0BorderWidth;
- Node0_32_0.borderFillwidth = Node0_32_0BorderWidth;
- dataModel.add(Node0_32_0);
- Node0_32_0._nodename = 'Node0_32_0'
- Node0_32_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_32_0,
- 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);
- }
- })(Node0_32_0, Node0_32_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_32_1type = 'rect';
- var Node0_32_1 = new ht.Node(),
- Node0_32_1BorderWidth = 1*2;
- if (Node0_32_1type === 'arc') {
- Node0_32_1BorderWidth *= 1;
- }
- Node0_32_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_32_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_1.setPosition(959*ratio.ratioX, 701*ratio.ratioY);
- Node0_32_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_32_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_32_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_32_1.a('node.height', 25*_ratio.ratioY);
- Node0_32_1.a('node.type', Node0_32_1type);
- Node0_32_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_32_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_32_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_32_1.a('node.gradient', '');
- Node0_32_1.a('node.borderwidth', Node0_32_1BorderWidth);
- Node0_32_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_32_1.a('node.fillrect', [0,0,0,0]);
- Node0_32_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_32_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_32_1.a('node.fillgradient', '');
- if (Node0_32_1type !== 'rect') {
- Node0_32_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_32_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_32_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_32_1type === 'arc') {
- Node0_32_1.a('node.arcOval', true);
- }
- Node0_32_1.setRotation(0*Math.PI/180);
- Node0_32_1.borderWidth = Node0_32_1BorderWidth;
- Node0_32_1.borderFillwidth = Node0_32_1BorderWidth;
- dataModel.add(Node0_32_1);
- Node0_32_1._nodename = 'Node0_32_1'
- Node0_32_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_32_1,
- 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);
- }
- })(Node0_32_1, Node0_32_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_33_0type = 'rect';
- var Node0_33_0 = new ht.Node(),
- Node0_33_0BorderWidth = 1*2;
- if (Node0_33_0type === 'arc') {
- Node0_33_0BorderWidth *= 1;
- }
- Node0_33_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_33_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_0.setPosition(880*ratio.ratioX, 778*ratio.ratioY);
- Node0_33_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_33_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_33_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_33_0.a('node.height', 25*_ratio.ratioY);
- Node0_33_0.a('node.type', Node0_33_0type);
- Node0_33_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_33_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_33_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_33_0.a('node.gradient', '');
- Node0_33_0.a('node.borderwidth', Node0_33_0BorderWidth);
- Node0_33_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_33_0.a('node.fillrect', [0,0,0,0]);
- Node0_33_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_33_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_33_0.a('node.fillgradient', '');
- if (Node0_33_0type !== 'rect') {
- Node0_33_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_33_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_33_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_33_0type === 'arc') {
- Node0_33_0.a('node.arcOval', true);
- }
- Node0_33_0.setRotation(0*Math.PI/180);
- Node0_33_0.borderWidth = Node0_33_0BorderWidth;
- Node0_33_0.borderFillwidth = Node0_33_0BorderWidth;
- dataModel.add(Node0_33_0);
- Node0_33_0._nodename = 'Node0_33_0'
- Node0_33_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_33_0,
- 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);
- }
- })(Node0_33_0, Node0_33_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_33_1type = 'rect';
- var Node0_33_1 = new ht.Node(),
- Node0_33_1BorderWidth = 1*2;
- if (Node0_33_1type === 'arc') {
- Node0_33_1BorderWidth *= 1;
- }
- Node0_33_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_33_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_1.setPosition(959*ratio.ratioX, 778*ratio.ratioY);
- Node0_33_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_33_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_33_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_33_1.a('node.height', 25*_ratio.ratioY);
- Node0_33_1.a('node.type', Node0_33_1type);
- Node0_33_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_33_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_33_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_33_1.a('node.gradient', '');
- Node0_33_1.a('node.borderwidth', Node0_33_1BorderWidth);
- Node0_33_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_33_1.a('node.fillrect', [0,0,0,0]);
- Node0_33_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_33_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_33_1.a('node.fillgradient', '');
- if (Node0_33_1type !== 'rect') {
- Node0_33_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_33_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_33_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_33_1type === 'arc') {
- Node0_33_1.a('node.arcOval', true);
- }
- Node0_33_1.setRotation(0*Math.PI/180);
- Node0_33_1.borderWidth = Node0_33_1BorderWidth;
- Node0_33_1.borderFillwidth = Node0_33_1BorderWidth;
- dataModel.add(Node0_33_1);
- Node0_33_1._nodename = 'Node0_33_1'
- Node0_33_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_33_1,
- 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);
- }
- })(Node0_33_1, Node0_33_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_34_0type = 'rect';
- var Node0_34_0 = new ht.Node(),
- Node0_34_0BorderWidth = 1*2;
- if (Node0_34_0type === 'arc') {
- Node0_34_0BorderWidth *= 1;
- }
- Node0_34_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_34_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_0.setPosition(880*ratio.ratioX, 543*ratio.ratioY);
- Node0_34_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_34_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_34_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_34_0.a('node.height', 25*_ratio.ratioY);
- Node0_34_0.a('node.type', Node0_34_0type);
- Node0_34_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_34_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_34_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_34_0.a('node.gradient', '');
- Node0_34_0.a('node.borderwidth', Node0_34_0BorderWidth);
- Node0_34_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_34_0.a('node.fillrect', [0,0,0,0]);
- Node0_34_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_34_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_34_0.a('node.fillgradient', '');
- if (Node0_34_0type !== 'rect') {
- Node0_34_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_34_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_34_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_34_0type === 'arc') {
- Node0_34_0.a('node.arcOval', true);
- }
- Node0_34_0.setRotation(0*Math.PI/180);
- Node0_34_0.borderWidth = Node0_34_0BorderWidth;
- Node0_34_0.borderFillwidth = Node0_34_0BorderWidth;
- dataModel.add(Node0_34_0);
- Node0_34_0._nodename = 'Node0_34_0'
- Node0_34_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_34_0,
- 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);
- }
- })(Node0_34_0, Node0_34_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_34_1type = 'rect';
- var Node0_34_1 = new ht.Node(),
- Node0_34_1BorderWidth = 1*2;
- if (Node0_34_1type === 'arc') {
- Node0_34_1BorderWidth *= 1;
- }
- Node0_34_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_34_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_1.setPosition(959*ratio.ratioX, 543*ratio.ratioY);
- Node0_34_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_34_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_34_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_34_1.a('node.height', 25*_ratio.ratioY);
- Node0_34_1.a('node.type', Node0_34_1type);
- Node0_34_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_34_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_34_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_34_1.a('node.gradient', '');
- Node0_34_1.a('node.borderwidth', Node0_34_1BorderWidth);
- Node0_34_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_34_1.a('node.fillrect', [0,0,0,0]);
- Node0_34_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_34_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_34_1.a('node.fillgradient', '');
- if (Node0_34_1type !== 'rect') {
- Node0_34_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_34_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_34_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_34_1type === 'arc') {
- Node0_34_1.a('node.arcOval', true);
- }
- Node0_34_1.setRotation(0*Math.PI/180);
- Node0_34_1.borderWidth = Node0_34_1BorderWidth;
- Node0_34_1.borderFillwidth = Node0_34_1BorderWidth;
- dataModel.add(Node0_34_1);
- Node0_34_1._nodename = 'Node0_34_1'
- Node0_34_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_34_1,
- 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);
- }
- })(Node0_34_1, Node0_34_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_35_0type = 'rect';
- var Node0_35_0 = new ht.Node(),
- Node0_35_0BorderWidth = 1*2;
- if (Node0_35_0type === 'arc') {
- Node0_35_0BorderWidth *= 1;
- }
- Node0_35_0.setImage(GD.getRectJSON(87.21454*_ratio.ratioX, 25*_ratio.ratioY, Node0_35_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_0.setPosition(880*ratio.ratioX, 311*ratio.ratioY);
- Node0_35_0.setSize(87.21454*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_35_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_35_0.a('node.width', 87.21454*_ratio.ratioX);
- Node0_35_0.a('node.height', 25*_ratio.ratioY);
- Node0_35_0.a('node.type', Node0_35_0type);
- Node0_35_0.a('node.rect', [0, 0, 87.21454*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_35_0.a('node.background', 'rgba(29,183,125,1)');
- Node0_35_0.a('node.gradientcolor', 'rgba(29,183,125,1)');
- Node0_35_0.a('node.gradient', '');
- Node0_35_0.a('node.borderwidth', Node0_35_0BorderWidth);
- Node0_35_0.a('node.color', 'rgba(29,183,125,1)');
- Node0_35_0.a('node.fillrect', [0,0,0,0]);
- Node0_35_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_35_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_35_0.a('node.fillgradient', '');
- if (Node0_35_0type !== 'rect') {
- Node0_35_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_35_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_35_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_35_0type === 'arc') {
- Node0_35_0.a('node.arcOval', true);
- }
- Node0_35_0.setRotation(0*Math.PI/180);
- Node0_35_0.borderWidth = Node0_35_0BorderWidth;
- Node0_35_0.borderFillwidth = Node0_35_0BorderWidth;
- dataModel.add(Node0_35_0);
- Node0_35_0._nodename = 'Node0_35_0'
- Node0_35_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_35_0,
- 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);
- }
- })(Node0_35_0, Node0_35_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_35_1type = 'rect';
- var Node0_35_1 = new ht.Node(),
- Node0_35_1BorderWidth = 1*2;
- if (Node0_35_1type === 'arc') {
- Node0_35_1BorderWidth *= 1;
- }
- Node0_35_1.setImage(GD.getRectJSON(72.67877*_ratio.ratioX, 25*_ratio.ratioY, Node0_35_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_1.setPosition(959*ratio.ratioX, 311*ratio.ratioY);
- Node0_35_1.setSize(72.67877*_ratio.ratioX, 25*_ratio.ratioY);
- Node0_35_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_35_1.a('node.width', 72.67877*_ratio.ratioX);
- Node0_35_1.a('node.height', 25*_ratio.ratioY);
- Node0_35_1.a('node.type', Node0_35_1type);
- Node0_35_1.a('node.rect', [0, 0, 72.67877*_ratio.ratioX, 25*_ratio.ratioY]);
- Node0_35_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_35_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_35_1.a('node.gradient', '');
- Node0_35_1.a('node.borderwidth', Node0_35_1BorderWidth);
- Node0_35_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_35_1.a('node.fillrect', [0,0,0,0]);
- Node0_35_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_35_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_35_1.a('node.fillgradient', '');
- if (Node0_35_1type !== 'rect') {
- Node0_35_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_35_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_35_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_35_1type === 'arc') {
- Node0_35_1.a('node.arcOval', true);
- }
- Node0_35_1.setRotation(0*Math.PI/180);
- Node0_35_1.borderWidth = Node0_35_1BorderWidth;
- Node0_35_1.borderFillwidth = Node0_35_1BorderWidth;
- dataModel.add(Node0_35_1);
- Node0_35_1._nodename = 'Node0_35_1'
- Node0_35_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_35_1,
- 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);
- }
- })(Node0_35_1, Node0_35_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_36 = new ht.Node();
- var Node0_36textStart, Node0_36textWidth, Node0_36lineStart, Node0_36align = 'left', Node0_36fontSize = 14.66663*_ratio.ratioY,Node0_36width = 94*_ratio.ratioX, Node0_36height = 25*_ratio.ratioY;
- (function () {
- if (Node0_36align === 'left') {
- Node0_36textStart = Node0_36fontSize * 0.2 > 2 ? Node0_36fontSize * 0.2 - 4 : Node0_36fontSize * 0.2 - 9;
- Node0_36textWidth = Node0_36width;
- Node0_36lineStart = 1;
- } else if (Node0_36align === 'right') {
- Node0_36textStart = 0;
- Node0_36textWidth =Node0_36fontSize <= 8 ? Node0_36width + Node0_36fontSize * 0.2 + 6 : Node0_36width - Node0_36fontSize * 0.2;
- Node0_36lineStart = (Node0_36width - (ht.Default.getTextSize('80米风速', ' '+ Node0_36fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_36align === 'center') {
- Node0_36textStart = -3;
- Node0_36textWidth = Node0_36width;
- Node0_36lineStart = Node0_36width - ht.Default.getTextSize('80米风速', ' '+ Node0_36fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_36.setImage(GD.getTextJSON(Node0_36width, Node0_36height, true, false, false, ' '+ Node0_36fontSize + 'px "Arial"'))
- Node0_36.setPosition(648*ratio.ratioX, 234*ratio.ratioY);
- Node0_36.setWidth(Node0_36width);
- Node0_36.setHeight(Node0_36height);
- Node0_36._nodeType = 'text';
- Node0_36._disallowEvert = true;
- Node0_36.setRotation(0*Math.PI/180);
- Node0_36.a('node.width', Node0_36width);
- Node0_36.a('node.height', Node0_36height);
- Node0_36.a('node.rect', [0, 0, Node0_36width, Node0_36height]);
- Node0_36.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_36.a('node.borderwidth', 0);
- Node0_36.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_36.a('node.gradient','');
- Node0_36.a('node.gradientcolor','');
- Node0_36.a('node.text','80米风速');
- Node0_36.a('node.textalign','left');
- Node0_36.a('node.textvAlign','middle');
- Node0_36.a('node.textrect', [Node0_36textStart, 0, Node0_36textWidth, Node0_36height]);
- Node0_36.a('node.color','rgba(255,255,255,1)');
- Node0_36.a('node.font',' '+ Node0_36fontSize + 'px "Arial"');
- Node0_36.a('node.textvisible',true);
- Node0_36.a('node.linefeed',false);
- if (false) {
- Node0_36.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_36.a('node.text') || '80米风速';
- var color=Node0_36.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_36width,Node0_36height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_36fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_36.a('node.underlinepoints',[Node0_36lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_36fontSize + 2 , ht.Default.getTextSize('80米风速', ' '+ Node0_36fontSize + 'px "Arial"').width + 6, (Node0_36height - Node0_36fontSize) * 0.5*_ratio.ratioY + Node0_36fontSize + 2 ]);
- Node0_36.a('node.underlinevisible',false);
- Node0_36.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_36);
- zoomNodeList.push({
- node: Node0_36,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_37 = new ht.Node();
- var Node0_37textStart, Node0_37textWidth, Node0_37lineStart, Node0_37align = 'left', Node0_37fontSize = 14.66663*_ratio.ratioY,Node0_37width = 29*_ratio.ratioX, Node0_37height = 19*_ratio.ratioY;
- (function () {
- if (Node0_37align === 'left') {
- Node0_37textStart = Node0_37fontSize * 0.2 > 2 ? Node0_37fontSize * 0.2 - 4 : Node0_37fontSize * 0.2 - 9;
- Node0_37textWidth = Node0_37width;
- Node0_37lineStart = 1;
- } else if (Node0_37align === 'right') {
- Node0_37textStart = 0;
- Node0_37textWidth =Node0_37fontSize <= 8 ? Node0_37width + Node0_37fontSize * 0.2 + 6 : Node0_37width - Node0_37fontSize * 0.2;
- Node0_37lineStart = (Node0_37width - (ht.Default.getTextSize('9.5', ' '+ Node0_37fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_37align === 'center') {
- Node0_37textStart = -3;
- Node0_37textWidth = Node0_37width;
- Node0_37lineStart = Node0_37width - ht.Default.getTextSize('9.5', ' '+ Node0_37fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_37.setImage(GD.getTextJSON(Node0_37width, Node0_37height, true, false, false, ' '+ Node0_37fontSize + 'px "Arial"'))
- Node0_37.setPosition(562*ratio.ratioX, 233*ratio.ratioY);
- Node0_37.setWidth(Node0_37width);
- Node0_37.setHeight(Node0_37height);
- Node0_37._nodeType = 'text';
- Node0_37._disallowEvert = true;
- Node0_37.setRotation(0*Math.PI/180);
- Node0_37.a('node.width', Node0_37width);
- Node0_37.a('node.height', Node0_37height);
- Node0_37.a('node.rect', [0, 0, Node0_37width, Node0_37height]);
- Node0_37.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_37.a('node.borderwidth', 0);
- Node0_37.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_37.a('node.gradient','');
- Node0_37.a('node.gradientcolor','');
- Node0_37.a('node.text','9.5');
- Node0_37.a('node.textalign','left');
- Node0_37.a('node.textvAlign','middle');
- Node0_37.a('node.textrect', [Node0_37textStart, 0, Node0_37textWidth, Node0_37height]);
- Node0_37.a('node.color','rgba(255,255,255,1)');
- Node0_37.a('node.font',' '+ Node0_37fontSize + 'px "Arial"');
- Node0_37.a('node.textvisible',true);
- Node0_37.a('node.linefeed',false);
- if (false) {
- Node0_37.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_37.a('node.text') || '9.5';
- var color=Node0_37.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_37width,Node0_37height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_37fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_37.a('node.underlinepoints',[Node0_37lineStart, (19 - 14.66663) * 0.5 * _ratio.ratioY + Node0_37fontSize + 2 , ht.Default.getTextSize('9.5', ' '+ Node0_37fontSize + 'px "Arial"').width + 6, (Node0_37height - Node0_37fontSize) * 0.5*_ratio.ratioY + Node0_37fontSize + 2 ]);
- Node0_37.a('node.underlinevisible',false);
- Node0_37.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_37);
- zoomNodeList.push({
- node: Node0_37,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_38 = new ht.Node();
- var Node0_38textStart, Node0_38textWidth, Node0_38lineStart, Node0_38align = 'left', Node0_38fontSize = 14.66663*_ratio.ratioY,Node0_38width = 75*_ratio.ratioX, Node0_38height = 20*_ratio.ratioY;
- (function () {
- if (Node0_38align === 'left') {
- Node0_38textStart = Node0_38fontSize * 0.2 > 2 ? Node0_38fontSize * 0.2 - 4 : Node0_38fontSize * 0.2 - 9;
- Node0_38textWidth = Node0_38width;
- Node0_38lineStart = 1;
- } else if (Node0_38align === 'right') {
- Node0_38textStart = 0;
- Node0_38textWidth =Node0_38fontSize <= 8 ? Node0_38width + Node0_38fontSize * 0.2 + 6 : Node0_38width - Node0_38fontSize * 0.2;
- Node0_38lineStart = (Node0_38width - (ht.Default.getTextSize('70米风速', ' '+ Node0_38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_38align === 'center') {
- Node0_38textStart = -3;
- Node0_38textWidth = Node0_38width;
- Node0_38lineStart = Node0_38width - ht.Default.getTextSize('70米风速', ' '+ Node0_38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_38.setImage(GD.getTextJSON(Node0_38width, Node0_38height, true, false, false, ' '+ Node0_38fontSize + 'px "Arial"'))
- Node0_38.setPosition(638*ratio.ratioX, 314*ratio.ratioY);
- Node0_38.setWidth(Node0_38width);
- Node0_38.setHeight(Node0_38height);
- Node0_38._nodeType = 'text';
- Node0_38._disallowEvert = true;
- Node0_38.setRotation(0*Math.PI/180);
- Node0_38.a('node.width', Node0_38width);
- Node0_38.a('node.height', Node0_38height);
- Node0_38.a('node.rect', [0, 0, Node0_38width, Node0_38height]);
- Node0_38.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_38.a('node.borderwidth', 0);
- Node0_38.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_38.a('node.gradient','');
- Node0_38.a('node.gradientcolor','');
- Node0_38.a('node.text','70米风速');
- Node0_38.a('node.textalign','left');
- Node0_38.a('node.textvAlign','middle');
- Node0_38.a('node.textrect', [Node0_38textStart, 0, Node0_38textWidth, Node0_38height]);
- Node0_38.a('node.color','rgba(255,255,255,1)');
- Node0_38.a('node.font',' '+ Node0_38fontSize + 'px "Arial"');
- Node0_38.a('node.textvisible',true);
- Node0_38.a('node.linefeed',false);
- if (false) {
- Node0_38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_38.a('node.text') || '70米风速';
- var color=Node0_38.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_38width,Node0_38height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_38.a('node.underlinepoints',[Node0_38lineStart, (20 - 14.66663) * 0.5 * _ratio.ratioY + Node0_38fontSize + 2 , ht.Default.getTextSize('70米风速', ' '+ Node0_38fontSize + 'px "Arial"').width + 6, (Node0_38height - Node0_38fontSize) * 0.5*_ratio.ratioY + Node0_38fontSize + 2 ]);
- Node0_38.a('node.underlinevisible',false);
- Node0_38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_38);
- zoomNodeList.push({
- node: Node0_38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_39 = new ht.Node();
- var Node0_39textStart, Node0_39textWidth, Node0_39lineStart, Node0_39align = 'left', Node0_39fontSize = 14.66663*_ratio.ratioY,Node0_39width = 94*_ratio.ratioX, Node0_39height = 25*_ratio.ratioY;
- (function () {
- if (Node0_39align === 'left') {
- Node0_39textStart = Node0_39fontSize * 0.2 > 2 ? Node0_39fontSize * 0.2 - 4 : Node0_39fontSize * 0.2 - 9;
- Node0_39textWidth = Node0_39width;
- Node0_39lineStart = 1;
- } else if (Node0_39align === 'right') {
- Node0_39textStart = 0;
- Node0_39textWidth =Node0_39fontSize <= 8 ? Node0_39width + Node0_39fontSize * 0.2 + 6 : Node0_39width - Node0_39fontSize * 0.2;
- Node0_39lineStart = (Node0_39width - (ht.Default.getTextSize('60米风速', ' '+ Node0_39fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_39align === 'center') {
- Node0_39textStart = -3;
- Node0_39textWidth = Node0_39width;
- Node0_39lineStart = Node0_39width - ht.Default.getTextSize('60米风速', ' '+ Node0_39fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_39.setImage(GD.getTextJSON(Node0_39width, Node0_39height, true, false, false, ' '+ Node0_39fontSize + 'px "Arial"'))
- Node0_39.setPosition(653*ratio.ratioX, 393*ratio.ratioY);
- Node0_39.setWidth(Node0_39width);
- Node0_39.setHeight(Node0_39height);
- Node0_39._nodeType = 'text';
- Node0_39._disallowEvert = true;
- Node0_39.setRotation(0*Math.PI/180);
- Node0_39.a('node.width', Node0_39width);
- Node0_39.a('node.height', Node0_39height);
- Node0_39.a('node.rect', [0, 0, Node0_39width, Node0_39height]);
- Node0_39.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_39.a('node.borderwidth', 0);
- Node0_39.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_39.a('node.gradient','');
- Node0_39.a('node.gradientcolor','');
- Node0_39.a('node.text','60米风速');
- Node0_39.a('node.textalign','left');
- Node0_39.a('node.textvAlign','middle');
- Node0_39.a('node.textrect', [Node0_39textStart, 0, Node0_39textWidth, Node0_39height]);
- Node0_39.a('node.color','rgba(255,255,255,1)');
- Node0_39.a('node.font',' '+ Node0_39fontSize + 'px "Arial"');
- Node0_39.a('node.textvisible',true);
- Node0_39.a('node.linefeed',false);
- if (false) {
- Node0_39.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_39.a('node.text') || '60米风速';
- var color=Node0_39.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_39width,Node0_39height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_39fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_39.a('node.underlinepoints',[Node0_39lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_39fontSize + 2 , ht.Default.getTextSize('60米风速', ' '+ Node0_39fontSize + 'px "Arial"').width + 6, (Node0_39height - Node0_39fontSize) * 0.5*_ratio.ratioY + Node0_39fontSize + 2 ]);
- Node0_39.a('node.underlinevisible',false);
- Node0_39.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_39);
- zoomNodeList.push({
- node: Node0_39,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_40 = new ht.Node();
- var Node0_40textStart, Node0_40textWidth, Node0_40lineStart, Node0_40align = 'left', Node0_40fontSize = 14.66663*_ratio.ratioY,Node0_40width = 75*_ratio.ratioX, Node0_40height = 20*_ratio.ratioY;
- (function () {
- if (Node0_40align === 'left') {
- Node0_40textStart = Node0_40fontSize * 0.2 > 2 ? Node0_40fontSize * 0.2 - 4 : Node0_40fontSize * 0.2 - 9;
- Node0_40textWidth = Node0_40width;
- Node0_40lineStart = 1;
- } else if (Node0_40align === 'right') {
- Node0_40textStart = 0;
- Node0_40textWidth =Node0_40fontSize <= 8 ? Node0_40width + Node0_40fontSize * 0.2 + 6 : Node0_40width - Node0_40fontSize * 0.2;
- Node0_40lineStart = (Node0_40width - (ht.Default.getTextSize('40米风速', ' '+ Node0_40fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_40align === 'center') {
- Node0_40textStart = -3;
- Node0_40textWidth = Node0_40width;
- Node0_40lineStart = Node0_40width - ht.Default.getTextSize('40米风速', ' '+ Node0_40fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_40.setImage(GD.getTextJSON(Node0_40width, Node0_40height, true, false, false, ' '+ Node0_40fontSize + 'px "Arial"'))
- Node0_40.setPosition(643*ratio.ratioX, 549*ratio.ratioY);
- Node0_40.setWidth(Node0_40width);
- Node0_40.setHeight(Node0_40height);
- Node0_40._nodeType = 'text';
- Node0_40._disallowEvert = true;
- Node0_40.setRotation(0*Math.PI/180);
- Node0_40.a('node.width', Node0_40width);
- Node0_40.a('node.height', Node0_40height);
- Node0_40.a('node.rect', [0, 0, Node0_40width, Node0_40height]);
- Node0_40.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_40.a('node.borderwidth', 0);
- Node0_40.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_40.a('node.gradient','');
- Node0_40.a('node.gradientcolor','');
- Node0_40.a('node.text','40米风速');
- Node0_40.a('node.textalign','left');
- Node0_40.a('node.textvAlign','middle');
- Node0_40.a('node.textrect', [Node0_40textStart, 0, Node0_40textWidth, Node0_40height]);
- Node0_40.a('node.color','rgba(255,255,255,1)');
- Node0_40.a('node.font',' '+ Node0_40fontSize + 'px "Arial"');
- Node0_40.a('node.textvisible',true);
- Node0_40.a('node.linefeed',false);
- if (false) {
- Node0_40.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_40.a('node.text') || '40米风速';
- var color=Node0_40.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_40width,Node0_40height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_40fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_40.a('node.underlinepoints',[Node0_40lineStart, (20 - 14.66663) * 0.5 * _ratio.ratioY + Node0_40fontSize + 2 , ht.Default.getTextSize('40米风速', ' '+ Node0_40fontSize + 'px "Arial"').width + 6, (Node0_40height - Node0_40fontSize) * 0.5*_ratio.ratioY + Node0_40fontSize + 2 ]);
- Node0_40.a('node.underlinevisible',false);
- Node0_40.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_40);
- zoomNodeList.push({
- node: Node0_40,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_41 = new ht.Node();
- var Node0_41textStart, Node0_41textWidth, Node0_41lineStart, Node0_41align = 'left', Node0_41fontSize = 14.66663*_ratio.ratioY,Node0_41width = 75*_ratio.ratioX, Node0_41height = 20*_ratio.ratioY;
- (function () {
- if (Node0_41align === 'left') {
- Node0_41textStart = Node0_41fontSize * 0.2 > 2 ? Node0_41fontSize * 0.2 - 4 : Node0_41fontSize * 0.2 - 9;
- Node0_41textWidth = Node0_41width;
- Node0_41lineStart = 1;
- } else if (Node0_41align === 'right') {
- Node0_41textStart = 0;
- Node0_41textWidth =Node0_41fontSize <= 8 ? Node0_41width + Node0_41fontSize * 0.2 + 6 : Node0_41width - Node0_41fontSize * 0.2;
- Node0_41lineStart = (Node0_41width - (ht.Default.getTextSize('20米风速', ' '+ Node0_41fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_41align === 'center') {
- Node0_41textStart = -3;
- Node0_41textWidth = Node0_41width;
- Node0_41lineStart = Node0_41width - ht.Default.getTextSize('20米风速', ' '+ Node0_41fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_41.setImage(GD.getTextJSON(Node0_41width, Node0_41height, true, false, false, ' '+ Node0_41fontSize + 'px "Arial"'))
- Node0_41.setPosition(643*ratio.ratioX, 706*ratio.ratioY);
- Node0_41.setWidth(Node0_41width);
- Node0_41.setHeight(Node0_41height);
- Node0_41._nodeType = 'text';
- Node0_41._disallowEvert = true;
- Node0_41.setRotation(0*Math.PI/180);
- Node0_41.a('node.width', Node0_41width);
- Node0_41.a('node.height', Node0_41height);
- Node0_41.a('node.rect', [0, 0, Node0_41width, Node0_41height]);
- Node0_41.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_41.a('node.borderwidth', 0);
- Node0_41.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_41.a('node.gradient','');
- Node0_41.a('node.gradientcolor','');
- Node0_41.a('node.text','20米风速');
- Node0_41.a('node.textalign','left');
- Node0_41.a('node.textvAlign','middle');
- Node0_41.a('node.textrect', [Node0_41textStart, 0, Node0_41textWidth, Node0_41height]);
- Node0_41.a('node.color','rgba(255,255,255,1)');
- Node0_41.a('node.font',' '+ Node0_41fontSize + 'px "Arial"');
- Node0_41.a('node.textvisible',true);
- Node0_41.a('node.linefeed',false);
- if (false) {
- Node0_41.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_41.a('node.text') || '20米风速';
- var color=Node0_41.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_41width,Node0_41height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_41fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_41.a('node.underlinepoints',[Node0_41lineStart, (20 - 14.66663) * 0.5 * _ratio.ratioY + Node0_41fontSize + 2 , ht.Default.getTextSize('20米风速', ' '+ Node0_41fontSize + 'px "Arial"').width + 6, (Node0_41height - Node0_41fontSize) * 0.5*_ratio.ratioY + Node0_41fontSize + 2 ]);
- Node0_41.a('node.underlinevisible',false);
- Node0_41.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_41);
- zoomNodeList.push({
- node: Node0_41,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_42 = new ht.Node();
- var Node0_42textStart, Node0_42textWidth, Node0_42lineStart, Node0_42align = 'left', Node0_42fontSize = 14.66663*_ratio.ratioY,Node0_42width = 75*_ratio.ratioX, Node0_42height = 20*_ratio.ratioY;
- (function () {
- if (Node0_42align === 'left') {
- Node0_42textStart = Node0_42fontSize * 0.2 > 2 ? Node0_42fontSize * 0.2 - 4 : Node0_42fontSize * 0.2 - 9;
- Node0_42textWidth = Node0_42width;
- Node0_42lineStart = 1;
- } else if (Node0_42align === 'right') {
- Node0_42textStart = 0;
- Node0_42textWidth =Node0_42fontSize <= 8 ? Node0_42width + Node0_42fontSize * 0.2 + 6 : Node0_42width - Node0_42fontSize * 0.2;
- Node0_42lineStart = (Node0_42width - (ht.Default.getTextSize('50米风速', ' '+ Node0_42fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_42align === 'center') {
- Node0_42textStart = -3;
- Node0_42textWidth = Node0_42width;
- Node0_42lineStart = Node0_42width - ht.Default.getTextSize('50米风速', ' '+ Node0_42fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_42.setImage(GD.getTextJSON(Node0_42width, Node0_42height, true, false, false, ' '+ Node0_42fontSize + 'px "Arial"'))
- Node0_42.setPosition(643*ratio.ratioX, 469*ratio.ratioY);
- Node0_42.setWidth(Node0_42width);
- Node0_42.setHeight(Node0_42height);
- Node0_42._nodeType = 'text';
- Node0_42._disallowEvert = true;
- Node0_42.setRotation(0*Math.PI/180);
- Node0_42.a('node.width', Node0_42width);
- Node0_42.a('node.height', Node0_42height);
- Node0_42.a('node.rect', [0, 0, Node0_42width, Node0_42height]);
- Node0_42.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_42.a('node.borderwidth', 0);
- Node0_42.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_42.a('node.gradient','');
- Node0_42.a('node.gradientcolor','');
- Node0_42.a('node.text','50米风速');
- Node0_42.a('node.textalign','left');
- Node0_42.a('node.textvAlign','middle');
- Node0_42.a('node.textrect', [Node0_42textStart, 0, Node0_42textWidth, Node0_42height]);
- Node0_42.a('node.color','rgba(255,255,255,1)');
- Node0_42.a('node.font',' '+ Node0_42fontSize + 'px "Arial"');
- Node0_42.a('node.textvisible',true);
- Node0_42.a('node.linefeed',false);
- if (false) {
- Node0_42.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_42.a('node.text') || '50米风速';
- var color=Node0_42.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_42width,Node0_42height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_42fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_42.a('node.underlinepoints',[Node0_42lineStart, (20 - 14.66663) * 0.5 * _ratio.ratioY + Node0_42fontSize + 2 , ht.Default.getTextSize('50米风速', ' '+ Node0_42fontSize + 'px "Arial"').width + 6, (Node0_42height - Node0_42fontSize) * 0.5*_ratio.ratioY + Node0_42fontSize + 2 ]);
- Node0_42.a('node.underlinevisible',false);
- Node0_42.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_42);
- zoomNodeList.push({
- node: Node0_42,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_43 = new ht.Node();
- var Node0_43textStart, Node0_43textWidth, Node0_43lineStart, Node0_43align = 'left', Node0_43fontSize = 14.66663*_ratio.ratioY,Node0_43width = 94*_ratio.ratioX, Node0_43height = 25*_ratio.ratioY;
- (function () {
- if (Node0_43align === 'left') {
- Node0_43textStart = Node0_43fontSize * 0.2 > 2 ? Node0_43fontSize * 0.2 - 4 : Node0_43fontSize * 0.2 - 9;
- Node0_43textWidth = Node0_43width;
- Node0_43lineStart = 1;
- } else if (Node0_43align === 'right') {
- Node0_43textStart = 0;
- Node0_43textWidth =Node0_43fontSize <= 8 ? Node0_43width + Node0_43fontSize * 0.2 + 6 : Node0_43width - Node0_43fontSize * 0.2;
- Node0_43lineStart = (Node0_43width - (ht.Default.getTextSize('30米风速', ' '+ Node0_43fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_43align === 'center') {
- Node0_43textStart = -3;
- Node0_43textWidth = Node0_43width;
- Node0_43lineStart = Node0_43width - ht.Default.getTextSize('30米风速', ' '+ Node0_43fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_43.setImage(GD.getTextJSON(Node0_43width, Node0_43height, true, false, false, ' '+ Node0_43fontSize + 'px "Arial"'))
- Node0_43.setPosition(653*ratio.ratioX, 626*ratio.ratioY);
- Node0_43.setWidth(Node0_43width);
- Node0_43.setHeight(Node0_43height);
- Node0_43._nodeType = 'text';
- Node0_43._disallowEvert = true;
- Node0_43.setRotation(0*Math.PI/180);
- Node0_43.a('node.width', Node0_43width);
- Node0_43.a('node.height', Node0_43height);
- Node0_43.a('node.rect', [0, 0, Node0_43width, Node0_43height]);
- Node0_43.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_43.a('node.borderwidth', 0);
- Node0_43.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_43.a('node.gradient','');
- Node0_43.a('node.gradientcolor','');
- Node0_43.a('node.text','30米风速');
- Node0_43.a('node.textalign','left');
- Node0_43.a('node.textvAlign','middle');
- Node0_43.a('node.textrect', [Node0_43textStart, 0, Node0_43textWidth, Node0_43height]);
- Node0_43.a('node.color','rgba(255,255,255,1)');
- Node0_43.a('node.font',' '+ Node0_43fontSize + 'px "Arial"');
- Node0_43.a('node.textvisible',true);
- Node0_43.a('node.linefeed',false);
- if (false) {
- Node0_43.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_43.a('node.text') || '30米风速';
- var color=Node0_43.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_43width,Node0_43height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_43fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_43.a('node.underlinepoints',[Node0_43lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_43fontSize + 2 , ht.Default.getTextSize('30米风速', ' '+ Node0_43fontSize + 'px "Arial"').width + 6, (Node0_43height - Node0_43fontSize) * 0.5*_ratio.ratioY + Node0_43fontSize + 2 ]);
- Node0_43.a('node.underlinevisible',false);
- Node0_43.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_43);
- zoomNodeList.push({
- node: Node0_43,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_44 = new ht.Node();
- var Node0_44textStart, Node0_44textWidth, Node0_44lineStart, Node0_44align = 'left', Node0_44fontSize = 14.66663*_ratio.ratioY,Node0_44width = 75*_ratio.ratioX, Node0_44height = 20*_ratio.ratioY;
- (function () {
- if (Node0_44align === 'left') {
- Node0_44textStart = Node0_44fontSize * 0.2 > 2 ? Node0_44fontSize * 0.2 - 4 : Node0_44fontSize * 0.2 - 9;
- Node0_44textWidth = Node0_44width;
- Node0_44lineStart = 1;
- } else if (Node0_44align === 'right') {
- Node0_44textStart = 0;
- Node0_44textWidth =Node0_44fontSize <= 8 ? Node0_44width + Node0_44fontSize * 0.2 + 6 : Node0_44width - Node0_44fontSize * 0.2;
- Node0_44lineStart = (Node0_44width - (ht.Default.getTextSize('10米风速', ' '+ Node0_44fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_44align === 'center') {
- Node0_44textStart = -3;
- Node0_44textWidth = Node0_44width;
- Node0_44lineStart = Node0_44width - ht.Default.getTextSize('10米风速', ' '+ Node0_44fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_44.setImage(GD.getTextJSON(Node0_44width, Node0_44height, true, false, false, ' '+ Node0_44fontSize + 'px "Arial"'))
- Node0_44.setPosition(643*ratio.ratioX, 781*ratio.ratioY);
- Node0_44.setWidth(Node0_44width);
- Node0_44.setHeight(Node0_44height);
- Node0_44._nodeType = 'text';
- Node0_44._disallowEvert = true;
- Node0_44.setRotation(0*Math.PI/180);
- Node0_44.a('node.width', Node0_44width);
- Node0_44.a('node.height', Node0_44height);
- Node0_44.a('node.rect', [0, 0, Node0_44width, Node0_44height]);
- Node0_44.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_44.a('node.borderwidth', 0);
- Node0_44.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_44.a('node.gradient','');
- Node0_44.a('node.gradientcolor','');
- Node0_44.a('node.text','10米风速');
- Node0_44.a('node.textalign','left');
- Node0_44.a('node.textvAlign','middle');
- Node0_44.a('node.textrect', [Node0_44textStart, 0, Node0_44textWidth, Node0_44height]);
- Node0_44.a('node.color','rgba(255,255,255,1)');
- Node0_44.a('node.font',' '+ Node0_44fontSize + 'px "Arial"');
- Node0_44.a('node.textvisible',true);
- Node0_44.a('node.linefeed',false);
- if (false) {
- Node0_44.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_44.a('node.text') || '10米风速';
- var color=Node0_44.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_44width,Node0_44height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_44fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_44.a('node.underlinepoints',[Node0_44lineStart, (20 - 14.66663) * 0.5 * _ratio.ratioY + Node0_44fontSize + 2 , ht.Default.getTextSize('10米风速', ' '+ Node0_44fontSize + 'px "Arial"').width + 6, (Node0_44height - Node0_44fontSize) * 0.5*_ratio.ratioY + Node0_44fontSize + 2 ]);
- Node0_44.a('node.underlinevisible',false);
- Node0_44.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_44);
- zoomNodeList.push({
- node: Node0_44,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_45 = new ht.Node();
- var Node0_45textStart, Node0_45textWidth, Node0_45lineStart, Node0_45align = 'left', Node0_45fontSize = 14.66663*_ratio.ratioY,Node0_45width = 57*_ratio.ratioX, Node0_45height = 24*_ratio.ratioY;
- (function () {
- if (Node0_45align === 'left') {
- Node0_45textStart = Node0_45fontSize * 0.2 > 2 ? Node0_45fontSize * 0.2 - 4 : Node0_45fontSize * 0.2 - 9;
- Node0_45textWidth = Node0_45width;
- Node0_45lineStart = 1;
- } else if (Node0_45align === 'right') {
- Node0_45textStart = 0;
- Node0_45textWidth =Node0_45fontSize <= 8 ? Node0_45width + Node0_45fontSize * 0.2 + 6 : Node0_45width - Node0_45fontSize * 0.2;
- Node0_45lineStart = (Node0_45width - (ht.Default.getTextSize('8.7', ' '+ Node0_45fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_45align === 'center') {
- Node0_45textStart = -3;
- Node0_45textWidth = Node0_45width;
- Node0_45lineStart = Node0_45width - ht.Default.getTextSize('8.7', ' '+ Node0_45fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_45.setImage(GD.getTextJSON(Node0_45width, Node0_45height, true, false, false, ' '+ Node0_45fontSize + 'px "Arial"'))
- Node0_45.setPosition(576*ratio.ratioX, 314*ratio.ratioY);
- Node0_45.setWidth(Node0_45width);
- Node0_45.setHeight(Node0_45height);
- Node0_45._nodeType = 'text';
- Node0_45._disallowEvert = true;
- Node0_45.setRotation(0*Math.PI/180);
- Node0_45.a('node.width', Node0_45width);
- Node0_45.a('node.height', Node0_45height);
- Node0_45.a('node.rect', [0, 0, Node0_45width, Node0_45height]);
- Node0_45.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_45.a('node.borderwidth', 0);
- Node0_45.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_45.a('node.gradient','');
- Node0_45.a('node.gradientcolor','');
- Node0_45.a('node.text','8.7');
- Node0_45.a('node.textalign','left');
- Node0_45.a('node.textvAlign','middle');
- Node0_45.a('node.textrect', [Node0_45textStart, 0, Node0_45textWidth, Node0_45height]);
- Node0_45.a('node.color','rgba(255,255,255,1)');
- Node0_45.a('node.font',' '+ Node0_45fontSize + 'px "Arial"');
- Node0_45.a('node.textvisible',true);
- Node0_45.a('node.linefeed',false);
- if (false) {
- Node0_45.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_45.a('node.text') || '8.7';
- var color=Node0_45.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_45width,Node0_45height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_45fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_45.a('node.underlinepoints',[Node0_45lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_45fontSize + 2 , ht.Default.getTextSize('8.7', ' '+ Node0_45fontSize + 'px "Arial"').width + 6, (Node0_45height - Node0_45fontSize) * 0.5*_ratio.ratioY + Node0_45fontSize + 2 ]);
- Node0_45.a('node.underlinevisible',false);
- Node0_45.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_45);
- zoomNodeList.push({
- node: Node0_45,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_46 = new ht.Node();
- var Node0_46textStart, Node0_46textWidth, Node0_46lineStart, Node0_46align = 'left', Node0_46fontSize = 14.66663*_ratio.ratioY,Node0_46width = 57*_ratio.ratioX, Node0_46height = 24*_ratio.ratioY;
- (function () {
- if (Node0_46align === 'left') {
- Node0_46textStart = Node0_46fontSize * 0.2 > 2 ? Node0_46fontSize * 0.2 - 4 : Node0_46fontSize * 0.2 - 9;
- Node0_46textWidth = Node0_46width;
- Node0_46lineStart = 1;
- } else if (Node0_46align === 'right') {
- Node0_46textStart = 0;
- Node0_46textWidth =Node0_46fontSize <= 8 ? Node0_46width + Node0_46fontSize * 0.2 + 6 : Node0_46width - Node0_46fontSize * 0.2;
- Node0_46lineStart = (Node0_46width - (ht.Default.getTextSize('8.3', ' '+ Node0_46fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_46align === 'center') {
- Node0_46textStart = -3;
- Node0_46textWidth = Node0_46width;
- Node0_46lineStart = Node0_46width - ht.Default.getTextSize('8.3', ' '+ Node0_46fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_46.setImage(GD.getTextJSON(Node0_46width, Node0_46height, true, false, false, ' '+ Node0_46fontSize + 'px "Arial"'))
- Node0_46.setPosition(576*ratio.ratioX, 391*ratio.ratioY);
- Node0_46.setWidth(Node0_46width);
- Node0_46.setHeight(Node0_46height);
- Node0_46._nodeType = 'text';
- Node0_46._disallowEvert = true;
- Node0_46.setRotation(0*Math.PI/180);
- Node0_46.a('node.width', Node0_46width);
- Node0_46.a('node.height', Node0_46height);
- Node0_46.a('node.rect', [0, 0, Node0_46width, Node0_46height]);
- Node0_46.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_46.a('node.borderwidth', 0);
- Node0_46.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_46.a('node.gradient','');
- Node0_46.a('node.gradientcolor','');
- Node0_46.a('node.text','8.3');
- Node0_46.a('node.textalign','left');
- Node0_46.a('node.textvAlign','middle');
- Node0_46.a('node.textrect', [Node0_46textStart, 0, Node0_46textWidth, Node0_46height]);
- Node0_46.a('node.color','rgba(255,255,255,1)');
- Node0_46.a('node.font',' '+ Node0_46fontSize + 'px "Arial"');
- Node0_46.a('node.textvisible',true);
- Node0_46.a('node.linefeed',false);
- if (false) {
- Node0_46.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_46.a('node.text') || '8.3';
- var color=Node0_46.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_46width,Node0_46height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_46fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_46.a('node.underlinepoints',[Node0_46lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_46fontSize + 2 , ht.Default.getTextSize('8.3', ' '+ Node0_46fontSize + 'px "Arial"').width + 6, (Node0_46height - Node0_46fontSize) * 0.5*_ratio.ratioY + Node0_46fontSize + 2 ]);
- Node0_46.a('node.underlinevisible',false);
- Node0_46.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_46);
- zoomNodeList.push({
- node: Node0_46,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_47 = new ht.Node();
- var Node0_47textStart, Node0_47textWidth, Node0_47lineStart, Node0_47align = 'left', Node0_47fontSize = 14.66663*_ratio.ratioY,Node0_47width = 29*_ratio.ratioX, Node0_47height = 19*_ratio.ratioY;
- (function () {
- if (Node0_47align === 'left') {
- Node0_47textStart = Node0_47fontSize * 0.2 > 2 ? Node0_47fontSize * 0.2 - 4 : Node0_47fontSize * 0.2 - 9;
- Node0_47textWidth = Node0_47width;
- Node0_47lineStart = 1;
- } else if (Node0_47align === 'right') {
- Node0_47textStart = 0;
- Node0_47textWidth =Node0_47fontSize <= 8 ? Node0_47width + Node0_47fontSize * 0.2 + 6 : Node0_47width - Node0_47fontSize * 0.2;
- Node0_47lineStart = (Node0_47width - (ht.Default.getTextSize('7.6', ' '+ Node0_47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_47align === 'center') {
- Node0_47textStart = -3;
- Node0_47textWidth = Node0_47width;
- Node0_47lineStart = Node0_47width - ht.Default.getTextSize('7.6', ' '+ Node0_47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_47.setImage(GD.getTextJSON(Node0_47width, Node0_47height, true, false, false, ' '+ Node0_47fontSize + 'px "Arial"'))
- Node0_47.setPosition(562*ratio.ratioX, 466*ratio.ratioY);
- Node0_47.setWidth(Node0_47width);
- Node0_47.setHeight(Node0_47height);
- Node0_47._nodeType = 'text';
- Node0_47._disallowEvert = true;
- Node0_47.setRotation(0*Math.PI/180);
- Node0_47.a('node.width', Node0_47width);
- Node0_47.a('node.height', Node0_47height);
- Node0_47.a('node.rect', [0, 0, Node0_47width, Node0_47height]);
- Node0_47.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_47.a('node.borderwidth', 0);
- Node0_47.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_47.a('node.gradient','');
- Node0_47.a('node.gradientcolor','');
- Node0_47.a('node.text','7.6');
- Node0_47.a('node.textalign','left');
- Node0_47.a('node.textvAlign','middle');
- Node0_47.a('node.textrect', [Node0_47textStart, 0, Node0_47textWidth, Node0_47height]);
- Node0_47.a('node.color','rgba(255,255,255,1)');
- Node0_47.a('node.font',' '+ Node0_47fontSize + 'px "Arial"');
- Node0_47.a('node.textvisible',true);
- Node0_47.a('node.linefeed',false);
- if (false) {
- Node0_47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_47.a('node.text') || '7.6';
- var color=Node0_47.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_47width,Node0_47height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_47.a('node.underlinepoints',[Node0_47lineStart, (19 - 14.66663) * 0.5 * _ratio.ratioY + Node0_47fontSize + 2 , ht.Default.getTextSize('7.6', ' '+ Node0_47fontSize + 'px "Arial"').width + 6, (Node0_47height - Node0_47fontSize) * 0.5*_ratio.ratioY + Node0_47fontSize + 2 ]);
- Node0_47.a('node.underlinevisible',false);
- Node0_47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_47);
- zoomNodeList.push({
- node: Node0_47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_48 = new ht.Node();
- var Node0_48textStart, Node0_48textWidth, Node0_48lineStart, Node0_48align = 'left', Node0_48fontSize = 14.66663*_ratio.ratioY,Node0_48width = 29*_ratio.ratioX, Node0_48height = 19*_ratio.ratioY;
- (function () {
- if (Node0_48align === 'left') {
- Node0_48textStart = Node0_48fontSize * 0.2 > 2 ? Node0_48fontSize * 0.2 - 4 : Node0_48fontSize * 0.2 - 9;
- Node0_48textWidth = Node0_48width;
- Node0_48lineStart = 1;
- } else if (Node0_48align === 'right') {
- Node0_48textStart = 0;
- Node0_48textWidth =Node0_48fontSize <= 8 ? Node0_48width + Node0_48fontSize * 0.2 + 6 : Node0_48width - Node0_48fontSize * 0.2;
- Node0_48lineStart = (Node0_48width - (ht.Default.getTextSize('7.2', ' '+ Node0_48fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_48align === 'center') {
- Node0_48textStart = -3;
- Node0_48textWidth = Node0_48width;
- Node0_48lineStart = Node0_48width - ht.Default.getTextSize('7.2', ' '+ Node0_48fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_48.setImage(GD.getTextJSON(Node0_48width, Node0_48height, true, false, false, ' '+ Node0_48fontSize + 'px "Arial"'))
- Node0_48.setPosition(562*ratio.ratioX, 546*ratio.ratioY);
- Node0_48.setWidth(Node0_48width);
- Node0_48.setHeight(Node0_48height);
- Node0_48._nodeType = 'text';
- Node0_48._disallowEvert = true;
- Node0_48.setRotation(0*Math.PI/180);
- Node0_48.a('node.width', Node0_48width);
- Node0_48.a('node.height', Node0_48height);
- Node0_48.a('node.rect', [0, 0, Node0_48width, Node0_48height]);
- Node0_48.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_48.a('node.borderwidth', 0);
- Node0_48.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_48.a('node.gradient','');
- Node0_48.a('node.gradientcolor','');
- Node0_48.a('node.text','7.2');
- Node0_48.a('node.textalign','left');
- Node0_48.a('node.textvAlign','middle');
- Node0_48.a('node.textrect', [Node0_48textStart, 0, Node0_48textWidth, Node0_48height]);
- Node0_48.a('node.color','rgba(255,255,255,1)');
- Node0_48.a('node.font',' '+ Node0_48fontSize + 'px "Arial"');
- Node0_48.a('node.textvisible',true);
- Node0_48.a('node.linefeed',false);
- if (false) {
- Node0_48.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_48.a('node.text') || '7.2';
- var color=Node0_48.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_48width,Node0_48height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_48fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_48.a('node.underlinepoints',[Node0_48lineStart, (19 - 14.66663) * 0.5 * _ratio.ratioY + Node0_48fontSize + 2 , ht.Default.getTextSize('7.2', ' '+ Node0_48fontSize + 'px "Arial"').width + 6, (Node0_48height - Node0_48fontSize) * 0.5*_ratio.ratioY + Node0_48fontSize + 2 ]);
- Node0_48.a('node.underlinevisible',false);
- Node0_48.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_48);
- zoomNodeList.push({
- node: Node0_48,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_49 = new ht.Node();
- var Node0_49textStart, Node0_49textWidth, Node0_49lineStart, Node0_49align = 'left', Node0_49fontSize = 14.66663*_ratio.ratioY,Node0_49width = 57*_ratio.ratioX, Node0_49height = 24*_ratio.ratioY;
- (function () {
- if (Node0_49align === 'left') {
- Node0_49textStart = Node0_49fontSize * 0.2 > 2 ? Node0_49fontSize * 0.2 - 4 : Node0_49fontSize * 0.2 - 9;
- Node0_49textWidth = Node0_49width;
- Node0_49lineStart = 1;
- } else if (Node0_49align === 'right') {
- Node0_49textStart = 0;
- Node0_49textWidth =Node0_49fontSize <= 8 ? Node0_49width + Node0_49fontSize * 0.2 + 6 : Node0_49width - Node0_49fontSize * 0.2;
- Node0_49lineStart = (Node0_49width - (ht.Default.getTextSize('6.9', ' '+ Node0_49fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_49align === 'center') {
- Node0_49textStart = -3;
- Node0_49textWidth = Node0_49width;
- Node0_49lineStart = Node0_49width - ht.Default.getTextSize('6.9', ' '+ Node0_49fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_49.setImage(GD.getTextJSON(Node0_49width, Node0_49height, true, false, false, ' '+ Node0_49fontSize + 'px "Arial"'))
- Node0_49.setPosition(576*ratio.ratioX, 704*ratio.ratioY);
- Node0_49.setWidth(Node0_49width);
- Node0_49.setHeight(Node0_49height);
- Node0_49._nodeType = 'text';
- Node0_49._disallowEvert = true;
- Node0_49.setRotation(0*Math.PI/180);
- Node0_49.a('node.width', Node0_49width);
- Node0_49.a('node.height', Node0_49height);
- Node0_49.a('node.rect', [0, 0, Node0_49width, Node0_49height]);
- Node0_49.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_49.a('node.borderwidth', 0);
- Node0_49.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_49.a('node.gradient','');
- Node0_49.a('node.gradientcolor','');
- Node0_49.a('node.text','6.9');
- Node0_49.a('node.textalign','left');
- Node0_49.a('node.textvAlign','middle');
- Node0_49.a('node.textrect', [Node0_49textStart, 0, Node0_49textWidth, Node0_49height]);
- Node0_49.a('node.color','rgba(255,255,255,1)');
- Node0_49.a('node.font',' '+ Node0_49fontSize + 'px "Arial"');
- Node0_49.a('node.textvisible',true);
- Node0_49.a('node.linefeed',false);
- if (false) {
- Node0_49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_49.a('node.text') || '6.9';
- var color=Node0_49.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_49width,Node0_49height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_49fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_49.a('node.underlinepoints',[Node0_49lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_49fontSize + 2 , ht.Default.getTextSize('6.9', ' '+ Node0_49fontSize + 'px "Arial"').width + 6, (Node0_49height - Node0_49fontSize) * 0.5*_ratio.ratioY + Node0_49fontSize + 2 ]);
- Node0_49.a('node.underlinevisible',false);
- Node0_49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_49);
- zoomNodeList.push({
- node: Node0_49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_50 = new ht.Node();
- var Node0_50textStart, Node0_50textWidth, Node0_50lineStart, Node0_50align = 'left', Node0_50fontSize = 14.66663*_ratio.ratioY,Node0_50width = 84*_ratio.ratioX, Node0_50height = 36*_ratio.ratioY;
- (function () {
- if (Node0_50align === 'left') {
- Node0_50textStart = Node0_50fontSize * 0.2 > 2 ? Node0_50fontSize * 0.2 - 4 : Node0_50fontSize * 0.2 - 9;
- Node0_50textWidth = Node0_50width;
- Node0_50lineStart = 1;
- } else if (Node0_50align === 'right') {
- Node0_50textStart = 0;
- Node0_50textWidth =Node0_50fontSize <= 8 ? Node0_50width + Node0_50fontSize * 0.2 + 6 : Node0_50width - Node0_50fontSize * 0.2;
- Node0_50lineStart = (Node0_50width - (ht.Default.getTextSize('7.0', ' '+ Node0_50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_50align === 'center') {
- Node0_50textStart = -3;
- Node0_50textWidth = Node0_50width;
- Node0_50lineStart = Node0_50width - ht.Default.getTextSize('7.0', ' '+ Node0_50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_50.setImage(GD.getTextJSON(Node0_50width, Node0_50height, true, false, false, ' '+ Node0_50fontSize + 'px "Arial"'))
- Node0_50.setPosition(589*ratio.ratioX, 625*ratio.ratioY);
- Node0_50.setWidth(Node0_50width);
- Node0_50.setHeight(Node0_50height);
- Node0_50._nodeType = 'text';
- Node0_50._disallowEvert = true;
- Node0_50.setRotation(0*Math.PI/180);
- Node0_50.a('node.width', Node0_50width);
- Node0_50.a('node.height', Node0_50height);
- Node0_50.a('node.rect', [0, 0, Node0_50width, Node0_50height]);
- Node0_50.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_50.a('node.borderwidth', 0);
- Node0_50.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_50.a('node.gradient','');
- Node0_50.a('node.gradientcolor','');
- Node0_50.a('node.text','7.0');
- Node0_50.a('node.textalign','left');
- Node0_50.a('node.textvAlign','middle');
- Node0_50.a('node.textrect', [Node0_50textStart, 0, Node0_50textWidth, Node0_50height]);
- Node0_50.a('node.color','rgba(255,255,255,1)');
- Node0_50.a('node.font',' '+ Node0_50fontSize + 'px "Arial"');
- Node0_50.a('node.textvisible',true);
- Node0_50.a('node.linefeed',false);
- if (false) {
- Node0_50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_50.a('node.text') || '7.0';
- var color=Node0_50.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_50width,Node0_50height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_50.a('node.underlinepoints',[Node0_50lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_50fontSize + 2 , ht.Default.getTextSize('7.0', ' '+ Node0_50fontSize + 'px "Arial"').width + 6, (Node0_50height - Node0_50fontSize) * 0.5*_ratio.ratioY + Node0_50fontSize + 2 ]);
- Node0_50.a('node.underlinevisible',false);
- Node0_50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_50);
- zoomNodeList.push({
- node: Node0_50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_51 = new ht.Node();
- var Node0_51textStart, Node0_51textWidth, Node0_51lineStart, Node0_51align = 'left', Node0_51fontSize = 14.66663*_ratio.ratioY,Node0_51width = 64*_ratio.ratioX, Node0_51height = 24*_ratio.ratioY;
- (function () {
- if (Node0_51align === 'left') {
- Node0_51textStart = Node0_51fontSize * 0.2 > 2 ? Node0_51fontSize * 0.2 - 4 : Node0_51fontSize * 0.2 - 9;
- Node0_51textWidth = Node0_51width;
- Node0_51lineStart = 1;
- } else if (Node0_51align === 'right') {
- Node0_51textStart = 0;
- Node0_51textWidth =Node0_51fontSize <= 8 ? Node0_51width + Node0_51fontSize * 0.2 + 6 : Node0_51width - Node0_51fontSize * 0.2;
- Node0_51lineStart = (Node0_51width - (ht.Default.getTextSize('327.3°', ' '+ Node0_51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_51align === 'center') {
- Node0_51textStart = -3;
- Node0_51textWidth = Node0_51width;
- Node0_51lineStart = Node0_51width - ht.Default.getTextSize('327.3°', ' '+ Node0_51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_51.setImage(GD.getTextJSON(Node0_51width, Node0_51height, true, false, false, ' '+ Node0_51fontSize + 'px "Arial"'))
- Node0_51.setPosition(573*ratio.ratioX, 780*ratio.ratioY);
- Node0_51.setWidth(Node0_51width);
- Node0_51.setHeight(Node0_51height);
- Node0_51._nodeType = 'text';
- Node0_51._disallowEvert = true;
- Node0_51.setRotation(0*Math.PI/180);
- Node0_51.a('node.width', Node0_51width);
- Node0_51.a('node.height', Node0_51height);
- Node0_51.a('node.rect', [0, 0, Node0_51width, Node0_51height]);
- Node0_51.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_51.a('node.borderwidth', 0);
- Node0_51.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_51.a('node.gradient','');
- Node0_51.a('node.gradientcolor','');
- Node0_51.a('node.text','327.3°');
- Node0_51.a('node.textalign','left');
- Node0_51.a('node.textvAlign','middle');
- Node0_51.a('node.textrect', [Node0_51textStart, 0, Node0_51textWidth, Node0_51height]);
- Node0_51.a('node.color','rgba(255,255,255,1)');
- Node0_51.a('node.font',' '+ Node0_51fontSize + 'px "Arial"');
- Node0_51.a('node.textvisible',true);
- Node0_51.a('node.linefeed',false);
- if (false) {
- Node0_51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_51.a('node.text') || '327.3°';
- var color=Node0_51.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_51width,Node0_51height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_51.a('node.underlinepoints',[Node0_51lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_51fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_51fontSize + 'px "Arial"').width + 6, (Node0_51height - Node0_51fontSize) * 0.5*_ratio.ratioY + Node0_51fontSize + 2 ]);
- Node0_51.a('node.underlinevisible',false);
- Node0_51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_51);
- zoomNodeList.push({
- node: Node0_51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_52 = new ht.Node();
- var Node0_52textStart, Node0_52textWidth, Node0_52lineStart, Node0_52align = 'left', Node0_52fontSize = 14.66663*_ratio.ratioY,Node0_52width = 90*_ratio.ratioX, Node0_52height = 37*_ratio.ratioY;
- (function () {
- if (Node0_52align === 'left') {
- Node0_52textStart = Node0_52fontSize * 0.2 > 2 ? Node0_52fontSize * 0.2 - 4 : Node0_52fontSize * 0.2 - 9;
- Node0_52textWidth = Node0_52width;
- Node0_52lineStart = 1;
- } else if (Node0_52align === 'right') {
- Node0_52textStart = 0;
- Node0_52textWidth =Node0_52fontSize <= 8 ? Node0_52width + Node0_52fontSize * 0.2 + 6 : Node0_52width - Node0_52fontSize * 0.2;
- Node0_52lineStart = (Node0_52width - (ht.Default.getTextSize('80米风向', ' '+ Node0_52fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_52align === 'center') {
- Node0_52textStart = -3;
- Node0_52textWidth = Node0_52width;
- Node0_52lineStart = Node0_52width - ht.Default.getTextSize('80米风向', ' '+ Node0_52fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_52.setImage(GD.getTextJSON(Node0_52width, Node0_52height, true, false, false, ' '+ Node0_52fontSize + 'px "Arial"'))
- Node0_52.setPosition(887*ratio.ratioX, 236*ratio.ratioY);
- Node0_52.setWidth(Node0_52width);
- Node0_52.setHeight(Node0_52height);
- Node0_52._nodeType = 'text';
- Node0_52._disallowEvert = true;
- Node0_52.setRotation(0*Math.PI/180);
- Node0_52.a('node.width', Node0_52width);
- Node0_52.a('node.height', Node0_52height);
- Node0_52.a('node.rect', [0, 0, Node0_52width, Node0_52height]);
- Node0_52.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_52.a('node.borderwidth', 0);
- Node0_52.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_52.a('node.gradient','');
- Node0_52.a('node.gradientcolor','');
- Node0_52.a('node.text','80米风向');
- Node0_52.a('node.textalign','left');
- Node0_52.a('node.textvAlign','middle');
- Node0_52.a('node.textrect', [Node0_52textStart, 0, Node0_52textWidth, Node0_52height]);
- Node0_52.a('node.color','rgba(255,255,255,1)');
- Node0_52.a('node.font',' '+ Node0_52fontSize + 'px "Arial"');
- Node0_52.a('node.textvisible',true);
- Node0_52.a('node.linefeed',false);
- if (false) {
- Node0_52.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_52.a('node.text') || '80米风向';
- var color=Node0_52.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_52width,Node0_52height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_52fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_52.a('node.underlinepoints',[Node0_52lineStart, (37 - 14.66663) * 0.5 * _ratio.ratioY + Node0_52fontSize + 2 , ht.Default.getTextSize('80米风向', ' '+ Node0_52fontSize + 'px "Arial"').width + 6, (Node0_52height - Node0_52fontSize) * 0.5*_ratio.ratioY + Node0_52fontSize + 2 ]);
- Node0_52.a('node.underlinevisible',false);
- Node0_52.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_52);
- zoomNodeList.push({
- node: Node0_52,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_53 = new ht.Node();
- var Node0_53textStart, Node0_53textWidth, Node0_53lineStart, Node0_53align = 'left', Node0_53fontSize = 14.66663*_ratio.ratioY,Node0_53width = 94*_ratio.ratioX, Node0_53height = 25*_ratio.ratioY;
- (function () {
- if (Node0_53align === 'left') {
- Node0_53textStart = Node0_53fontSize * 0.2 > 2 ? Node0_53fontSize * 0.2 - 4 : Node0_53fontSize * 0.2 - 9;
- Node0_53textWidth = Node0_53width;
- Node0_53lineStart = 1;
- } else if (Node0_53align === 'right') {
- Node0_53textStart = 0;
- Node0_53textWidth =Node0_53fontSize <= 8 ? Node0_53width + Node0_53fontSize * 0.2 + 6 : Node0_53width - Node0_53fontSize * 0.2;
- Node0_53lineStart = (Node0_53width - (ht.Default.getTextSize('70米风向', ' '+ Node0_53fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_53align === 'center') {
- Node0_53textStart = -3;
- Node0_53textWidth = Node0_53width;
- Node0_53lineStart = Node0_53width - ht.Default.getTextSize('70米风向', ' '+ Node0_53fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_53.setImage(GD.getTextJSON(Node0_53width, Node0_53height, true, false, false, ' '+ Node0_53fontSize + 'px "Arial"'))
- Node0_53.setPosition(889*ratio.ratioX, 315*ratio.ratioY);
- Node0_53.setWidth(Node0_53width);
- Node0_53.setHeight(Node0_53height);
- Node0_53._nodeType = 'text';
- Node0_53._disallowEvert = true;
- Node0_53.setRotation(0*Math.PI/180);
- Node0_53.a('node.width', Node0_53width);
- Node0_53.a('node.height', Node0_53height);
- Node0_53.a('node.rect', [0, 0, Node0_53width, Node0_53height]);
- Node0_53.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_53.a('node.borderwidth', 0);
- Node0_53.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_53.a('node.gradient','');
- Node0_53.a('node.gradientcolor','');
- Node0_53.a('node.text','70米风向');
- Node0_53.a('node.textalign','left');
- Node0_53.a('node.textvAlign','middle');
- Node0_53.a('node.textrect', [Node0_53textStart, 0, Node0_53textWidth, Node0_53height]);
- Node0_53.a('node.color','rgba(255,255,255,1)');
- Node0_53.a('node.font',' '+ Node0_53fontSize + 'px "Arial"');
- Node0_53.a('node.textvisible',true);
- Node0_53.a('node.linefeed',false);
- if (false) {
- Node0_53.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_53.a('node.text') || '70米风向';
- var color=Node0_53.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_53width,Node0_53height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_53.a('node.underlinepoints',[Node0_53lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_53fontSize + 2 , ht.Default.getTextSize('70米风向', ' '+ Node0_53fontSize + 'px "Arial"').width + 6, (Node0_53height - Node0_53fontSize) * 0.5*_ratio.ratioY + Node0_53fontSize + 2 ]);
- Node0_53.a('node.underlinevisible',false);
- Node0_53.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_53);
- zoomNodeList.push({
- node: Node0_53,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_54 = new ht.Node();
- var Node0_54textStart, Node0_54textWidth, Node0_54lineStart, Node0_54align = 'left', Node0_54fontSize = 14.66663*_ratio.ratioY,Node0_54width = 94*_ratio.ratioX, Node0_54height = 25*_ratio.ratioY;
- (function () {
- if (Node0_54align === 'left') {
- Node0_54textStart = Node0_54fontSize * 0.2 > 2 ? Node0_54fontSize * 0.2 - 4 : Node0_54fontSize * 0.2 - 9;
- Node0_54textWidth = Node0_54width;
- Node0_54lineStart = 1;
- } else if (Node0_54align === 'right') {
- Node0_54textStart = 0;
- Node0_54textWidth =Node0_54fontSize <= 8 ? Node0_54width + Node0_54fontSize * 0.2 + 6 : Node0_54width - Node0_54fontSize * 0.2;
- Node0_54lineStart = (Node0_54width - (ht.Default.getTextSize('60米风向', ' '+ Node0_54fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_54align === 'center') {
- Node0_54textStart = -3;
- Node0_54textWidth = Node0_54width;
- Node0_54lineStart = Node0_54width - ht.Default.getTextSize('60米风向', ' '+ Node0_54fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_54.setImage(GD.getTextJSON(Node0_54width, Node0_54height, true, false, false, ' '+ Node0_54fontSize + 'px "Arial"'))
- Node0_54.setPosition(889*ratio.ratioX, 394*ratio.ratioY);
- Node0_54.setWidth(Node0_54width);
- Node0_54.setHeight(Node0_54height);
- Node0_54._nodeType = 'text';
- Node0_54._disallowEvert = true;
- Node0_54.setRotation(0*Math.PI/180);
- Node0_54.a('node.width', Node0_54width);
- Node0_54.a('node.height', Node0_54height);
- Node0_54.a('node.rect', [0, 0, Node0_54width, Node0_54height]);
- Node0_54.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_54.a('node.borderwidth', 0);
- Node0_54.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_54.a('node.gradient','');
- Node0_54.a('node.gradientcolor','');
- Node0_54.a('node.text','60米风向');
- Node0_54.a('node.textalign','left');
- Node0_54.a('node.textvAlign','middle');
- Node0_54.a('node.textrect', [Node0_54textStart, 0, Node0_54textWidth, Node0_54height]);
- Node0_54.a('node.color','rgba(255,255,255,1)');
- Node0_54.a('node.font',' '+ Node0_54fontSize + 'px "Arial"');
- Node0_54.a('node.textvisible',true);
- Node0_54.a('node.linefeed',false);
- if (false) {
- Node0_54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_54.a('node.text') || '60米风向';
- var color=Node0_54.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_54width,Node0_54height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_54.a('node.underlinepoints',[Node0_54lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_54fontSize + 2 , ht.Default.getTextSize('60米风向', ' '+ Node0_54fontSize + 'px "Arial"').width + 6, (Node0_54height - Node0_54fontSize) * 0.5*_ratio.ratioY + Node0_54fontSize + 2 ]);
- Node0_54.a('node.underlinevisible',false);
- Node0_54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_54);
- zoomNodeList.push({
- node: Node0_54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_55 = new ht.Node();
- var Node0_55textStart, Node0_55textWidth, Node0_55lineStart, Node0_55align = 'left', Node0_55fontSize = 14.66663*_ratio.ratioY,Node0_55width = 82*_ratio.ratioX, Node0_55height = 50*_ratio.ratioY;
- (function () {
- if (Node0_55align === 'left') {
- Node0_55textStart = Node0_55fontSize * 0.2 > 2 ? Node0_55fontSize * 0.2 - 4 : Node0_55fontSize * 0.2 - 9;
- Node0_55textWidth = Node0_55width;
- Node0_55lineStart = 1;
- } else if (Node0_55align === 'right') {
- Node0_55textStart = 0;
- Node0_55textWidth =Node0_55fontSize <= 8 ? Node0_55width + Node0_55fontSize * 0.2 + 6 : Node0_55width - Node0_55fontSize * 0.2;
- Node0_55lineStart = (Node0_55width - (ht.Default.getTextSize('50米风向', ' '+ Node0_55fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_55align === 'center') {
- Node0_55textStart = -3;
- Node0_55textWidth = Node0_55width;
- Node0_55lineStart = Node0_55width - ht.Default.getTextSize('50米风向', ' '+ Node0_55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_55.setImage(GD.getTextJSON(Node0_55width, Node0_55height, true, false, false, ' '+ Node0_55fontSize + 'px "Arial"'))
- Node0_55.setPosition(883*ratio.ratioX, 470*ratio.ratioY);
- Node0_55.setWidth(Node0_55width);
- Node0_55.setHeight(Node0_55height);
- Node0_55._nodeType = 'text';
- Node0_55._disallowEvert = true;
- Node0_55.setRotation(0*Math.PI/180);
- Node0_55.a('node.width', Node0_55width);
- Node0_55.a('node.height', Node0_55height);
- Node0_55.a('node.rect', [0, 0, Node0_55width, Node0_55height]);
- Node0_55.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_55.a('node.borderwidth', 0);
- Node0_55.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_55.a('node.gradient','');
- Node0_55.a('node.gradientcolor','');
- Node0_55.a('node.text','50米风向');
- Node0_55.a('node.textalign','left');
- Node0_55.a('node.textvAlign','middle');
- Node0_55.a('node.textrect', [Node0_55textStart, 0, Node0_55textWidth, Node0_55height]);
- Node0_55.a('node.color','rgba(255,255,255,1)');
- Node0_55.a('node.font',' '+ Node0_55fontSize + 'px "Arial"');
- Node0_55.a('node.textvisible',true);
- Node0_55.a('node.linefeed',false);
- if (false) {
- Node0_55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_55.a('node.text') || '50米风向';
- var color=Node0_55.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_55width,Node0_55height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_55.a('node.underlinepoints',[Node0_55lineStart, (50 - 14.66663) * 0.5 * _ratio.ratioY + Node0_55fontSize + 2 , ht.Default.getTextSize('50米风向', ' '+ Node0_55fontSize + 'px "Arial"').width + 6, (Node0_55height - Node0_55fontSize) * 0.5*_ratio.ratioY + Node0_55fontSize + 2 ]);
- Node0_55.a('node.underlinevisible',false);
- Node0_55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_55);
- zoomNodeList.push({
- node: Node0_55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_56 = new ht.Node();
- var Node0_56textStart, Node0_56textWidth, Node0_56lineStart, Node0_56align = 'left', Node0_56fontSize = 14.66663*_ratio.ratioY,Node0_56width = 94*_ratio.ratioX, Node0_56height = 25*_ratio.ratioY;
- (function () {
- if (Node0_56align === 'left') {
- Node0_56textStart = Node0_56fontSize * 0.2 > 2 ? Node0_56fontSize * 0.2 - 4 : Node0_56fontSize * 0.2 - 9;
- Node0_56textWidth = Node0_56width;
- Node0_56lineStart = 1;
- } else if (Node0_56align === 'right') {
- Node0_56textStart = 0;
- Node0_56textWidth =Node0_56fontSize <= 8 ? Node0_56width + Node0_56fontSize * 0.2 + 6 : Node0_56width - Node0_56fontSize * 0.2;
- Node0_56lineStart = (Node0_56width - (ht.Default.getTextSize('10米风向', ' '+ Node0_56fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_56align === 'center') {
- Node0_56textStart = -3;
- Node0_56textWidth = Node0_56width;
- Node0_56lineStart = Node0_56width - ht.Default.getTextSize('10米风向', ' '+ Node0_56fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_56.setImage(GD.getTextJSON(Node0_56width, Node0_56height, true, false, false, ' '+ Node0_56fontSize + 'px "Arial"'))
- Node0_56.setPosition(889*ratio.ratioX, 781*ratio.ratioY);
- Node0_56.setWidth(Node0_56width);
- Node0_56.setHeight(Node0_56height);
- Node0_56._nodeType = 'text';
- Node0_56._disallowEvert = true;
- Node0_56.setRotation(0*Math.PI/180);
- Node0_56.a('node.width', Node0_56width);
- Node0_56.a('node.height', Node0_56height);
- Node0_56.a('node.rect', [0, 0, Node0_56width, Node0_56height]);
- Node0_56.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_56.a('node.borderwidth', 0);
- Node0_56.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_56.a('node.gradient','');
- Node0_56.a('node.gradientcolor','');
- Node0_56.a('node.text','10米风向');
- Node0_56.a('node.textalign','left');
- Node0_56.a('node.textvAlign','middle');
- Node0_56.a('node.textrect', [Node0_56textStart, 0, Node0_56textWidth, Node0_56height]);
- Node0_56.a('node.color','rgba(255,255,255,1)');
- Node0_56.a('node.font',' '+ Node0_56fontSize + 'px "Arial"');
- Node0_56.a('node.textvisible',true);
- Node0_56.a('node.linefeed',false);
- if (false) {
- Node0_56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_56.a('node.text') || '10米风向';
- var color=Node0_56.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_56width,Node0_56height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_56fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_56.a('node.underlinepoints',[Node0_56lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_56fontSize + 2 , ht.Default.getTextSize('10米风向', ' '+ Node0_56fontSize + 'px "Arial"').width + 6, (Node0_56height - Node0_56fontSize) * 0.5*_ratio.ratioY + Node0_56fontSize + 2 ]);
- Node0_56.a('node.underlinevisible',false);
- Node0_56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_56);
- zoomNodeList.push({
- node: Node0_56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_57 = new ht.Node();
- var Node0_57textStart, Node0_57textWidth, Node0_57lineStart, Node0_57align = 'left', Node0_57fontSize = 14.66663*_ratio.ratioY,Node0_57width = 94*_ratio.ratioX, Node0_57height = 25*_ratio.ratioY;
- (function () {
- if (Node0_57align === 'left') {
- Node0_57textStart = Node0_57fontSize * 0.2 > 2 ? Node0_57fontSize * 0.2 - 4 : Node0_57fontSize * 0.2 - 9;
- Node0_57textWidth = Node0_57width;
- Node0_57lineStart = 1;
- } else if (Node0_57align === 'right') {
- Node0_57textStart = 0;
- Node0_57textWidth =Node0_57fontSize <= 8 ? Node0_57width + Node0_57fontSize * 0.2 + 6 : Node0_57width - Node0_57fontSize * 0.2;
- Node0_57lineStart = (Node0_57width - (ht.Default.getTextSize('20米风向', ' '+ Node0_57fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_57align === 'center') {
- Node0_57textStart = -3;
- Node0_57textWidth = Node0_57width;
- Node0_57lineStart = Node0_57width - ht.Default.getTextSize('20米风向', ' '+ Node0_57fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_57.setImage(GD.getTextJSON(Node0_57width, Node0_57height, true, false, false, ' '+ Node0_57fontSize + 'px "Arial"'))
- Node0_57.setPosition(889*ratio.ratioX, 704*ratio.ratioY);
- Node0_57.setWidth(Node0_57width);
- Node0_57.setHeight(Node0_57height);
- Node0_57._nodeType = 'text';
- Node0_57._disallowEvert = true;
- Node0_57.setRotation(0*Math.PI/180);
- Node0_57.a('node.width', Node0_57width);
- Node0_57.a('node.height', Node0_57height);
- Node0_57.a('node.rect', [0, 0, Node0_57width, Node0_57height]);
- Node0_57.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_57.a('node.borderwidth', 0);
- Node0_57.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_57.a('node.gradient','');
- Node0_57.a('node.gradientcolor','');
- Node0_57.a('node.text','20米风向');
- Node0_57.a('node.textalign','left');
- Node0_57.a('node.textvAlign','middle');
- Node0_57.a('node.textrect', [Node0_57textStart, 0, Node0_57textWidth, Node0_57height]);
- Node0_57.a('node.color','rgba(255,255,255,1)');
- Node0_57.a('node.font',' '+ Node0_57fontSize + 'px "Arial"');
- Node0_57.a('node.textvisible',true);
- Node0_57.a('node.linefeed',false);
- if (false) {
- Node0_57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_57.a('node.text') || '20米风向';
- var color=Node0_57.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_57width,Node0_57height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_57fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_57.a('node.underlinepoints',[Node0_57lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_57fontSize + 2 , ht.Default.getTextSize('20米风向', ' '+ Node0_57fontSize + 'px "Arial"').width + 6, (Node0_57height - Node0_57fontSize) * 0.5*_ratio.ratioY + Node0_57fontSize + 2 ]);
- Node0_57.a('node.underlinevisible',false);
- Node0_57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_57);
- zoomNodeList.push({
- node: Node0_57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_58 = new ht.Node();
- var Node0_58textStart, Node0_58textWidth, Node0_58lineStart, Node0_58align = 'left', Node0_58fontSize = 14.66663*_ratio.ratioY,Node0_58width = 138*_ratio.ratioX, Node0_58height = 37*_ratio.ratioY;
- (function () {
- if (Node0_58align === 'left') {
- Node0_58textStart = Node0_58fontSize * 0.2 > 2 ? Node0_58fontSize * 0.2 - 4 : Node0_58fontSize * 0.2 - 9;
- Node0_58textWidth = Node0_58width;
- Node0_58lineStart = 1;
- } else if (Node0_58align === 'right') {
- Node0_58textStart = 0;
- Node0_58textWidth =Node0_58fontSize <= 8 ? Node0_58width + Node0_58fontSize * 0.2 + 6 : Node0_58width - Node0_58fontSize * 0.2;
- Node0_58lineStart = (Node0_58width - (ht.Default.getTextSize('40米风向', ' '+ Node0_58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_58align === 'center') {
- Node0_58textStart = -3;
- Node0_58textWidth = Node0_58width;
- Node0_58lineStart = Node0_58width - ht.Default.getTextSize('40米风向', ' '+ Node0_58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_58.setImage(GD.getTextJSON(Node0_58width, Node0_58height, true, false, false, ' '+ Node0_58fontSize + 'px "Arial"'))
- Node0_58.setPosition(911*ratio.ratioX, 547*ratio.ratioY);
- Node0_58.setWidth(Node0_58width);
- Node0_58.setHeight(Node0_58height);
- Node0_58._nodeType = 'text';
- Node0_58._disallowEvert = true;
- Node0_58.setRotation(0*Math.PI/180);
- Node0_58.a('node.width', Node0_58width);
- Node0_58.a('node.height', Node0_58height);
- Node0_58.a('node.rect', [0, 0, Node0_58width, Node0_58height]);
- Node0_58.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_58.a('node.borderwidth', 0);
- Node0_58.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_58.a('node.gradient','');
- Node0_58.a('node.gradientcolor','');
- Node0_58.a('node.text','40米风向');
- Node0_58.a('node.textalign','left');
- Node0_58.a('node.textvAlign','middle');
- Node0_58.a('node.textrect', [Node0_58textStart, 0, Node0_58textWidth, Node0_58height]);
- Node0_58.a('node.color','rgba(255,255,255,1)');
- Node0_58.a('node.font',' '+ Node0_58fontSize + 'px "Arial"');
- Node0_58.a('node.textvisible',true);
- Node0_58.a('node.linefeed',false);
- if (false) {
- Node0_58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_58.a('node.text') || '40米风向';
- var color=Node0_58.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_58width,Node0_58height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_58.a('node.underlinepoints',[Node0_58lineStart, (37 - 14.66663) * 0.5 * _ratio.ratioY + Node0_58fontSize + 2 , ht.Default.getTextSize('40米风向', ' '+ Node0_58fontSize + 'px "Arial"').width + 6, (Node0_58height - Node0_58fontSize) * 0.5*_ratio.ratioY + Node0_58fontSize + 2 ]);
- Node0_58.a('node.underlinevisible',false);
- Node0_58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_58);
- zoomNodeList.push({
- node: Node0_58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_59 = new ht.Node();
- var Node0_59textStart, Node0_59textWidth, Node0_59lineStart, Node0_59align = 'left', Node0_59fontSize = 14.66663*_ratio.ratioY,Node0_59width = 94*_ratio.ratioX, Node0_59height = 25*_ratio.ratioY;
- (function () {
- if (Node0_59align === 'left') {
- Node0_59textStart = Node0_59fontSize * 0.2 > 2 ? Node0_59fontSize * 0.2 - 4 : Node0_59fontSize * 0.2 - 9;
- Node0_59textWidth = Node0_59width;
- Node0_59lineStart = 1;
- } else if (Node0_59align === 'right') {
- Node0_59textStart = 0;
- Node0_59textWidth =Node0_59fontSize <= 8 ? Node0_59width + Node0_59fontSize * 0.2 + 6 : Node0_59width - Node0_59fontSize * 0.2;
- Node0_59lineStart = (Node0_59width - (ht.Default.getTextSize('30米风向', ' '+ Node0_59fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_59align === 'center') {
- Node0_59textStart = -3;
- Node0_59textWidth = Node0_59width;
- Node0_59lineStart = Node0_59width - ht.Default.getTextSize('30米风向', ' '+ Node0_59fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_59.setImage(GD.getTextJSON(Node0_59width, Node0_59height, true, false, false, ' '+ Node0_59fontSize + 'px "Arial"'))
- Node0_59.setPosition(889*ratio.ratioX, 626*ratio.ratioY);
- Node0_59.setWidth(Node0_59width);
- Node0_59.setHeight(Node0_59height);
- Node0_59._nodeType = 'text';
- Node0_59._disallowEvert = true;
- Node0_59.setRotation(0*Math.PI/180);
- Node0_59.a('node.width', Node0_59width);
- Node0_59.a('node.height', Node0_59height);
- Node0_59.a('node.rect', [0, 0, Node0_59width, Node0_59height]);
- Node0_59.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_59.a('node.borderwidth', 0);
- Node0_59.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_59.a('node.gradient','');
- Node0_59.a('node.gradientcolor','');
- Node0_59.a('node.text','30米风向');
- Node0_59.a('node.textalign','left');
- Node0_59.a('node.textvAlign','middle');
- Node0_59.a('node.textrect', [Node0_59textStart, 0, Node0_59textWidth, Node0_59height]);
- Node0_59.a('node.color','rgba(255,255,255,1)');
- Node0_59.a('node.font',' '+ Node0_59fontSize + 'px "Arial"');
- Node0_59.a('node.textvisible',true);
- Node0_59.a('node.linefeed',false);
- if (false) {
- Node0_59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_59.a('node.text') || '30米风向';
- var color=Node0_59.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_59width,Node0_59height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_59fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_59.a('node.underlinepoints',[Node0_59lineStart, (25 - 14.66663) * 0.5 * _ratio.ratioY + Node0_59fontSize + 2 , ht.Default.getTextSize('30米风向', ' '+ Node0_59fontSize + 'px "Arial"').width + 6, (Node0_59height - Node0_59fontSize) * 0.5*_ratio.ratioY + Node0_59fontSize + 2 ]);
- Node0_59.a('node.underlinevisible',false);
- Node0_59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_59);
- zoomNodeList.push({
- node: Node0_59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_60 = new ht.Node();
- var Node0_60textStart, Node0_60textWidth, Node0_60lineStart, Node0_60align = 'left', Node0_60fontSize = 14.66663*_ratio.ratioY,Node0_60width = 94*_ratio.ratioX, Node0_60height = 36*_ratio.ratioY;
- (function () {
- if (Node0_60align === 'left') {
- Node0_60textStart = Node0_60fontSize * 0.2 > 2 ? Node0_60fontSize * 0.2 - 4 : Node0_60fontSize * 0.2 - 9;
- Node0_60textWidth = Node0_60width;
- Node0_60lineStart = 1;
- } else if (Node0_60align === 'right') {
- Node0_60textStart = 0;
- Node0_60textWidth =Node0_60fontSize <= 8 ? Node0_60width + Node0_60fontSize * 0.2 + 6 : Node0_60width - Node0_60fontSize * 0.2;
- Node0_60lineStart = (Node0_60width - (ht.Default.getTextSize('327.3°', ' '+ Node0_60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_60align === 'center') {
- Node0_60textStart = -3;
- Node0_60textWidth = Node0_60width;
- Node0_60lineStart = Node0_60width - ht.Default.getTextSize('327.3°', ' '+ Node0_60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_60.setImage(GD.getTextJSON(Node0_60width, Node0_60height, true, false, false, ' '+ Node0_60fontSize + 'px "Arial"'))
- Node0_60.setPosition(980*ratio.ratioX, 235*ratio.ratioY);
- Node0_60.setWidth(Node0_60width);
- Node0_60.setHeight(Node0_60height);
- Node0_60._nodeType = 'text';
- Node0_60._disallowEvert = true;
- Node0_60.setRotation(0*Math.PI/180);
- Node0_60.a('node.width', Node0_60width);
- Node0_60.a('node.height', Node0_60height);
- Node0_60.a('node.rect', [0, 0, Node0_60width, Node0_60height]);
- Node0_60.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_60.a('node.borderwidth', 0);
- Node0_60.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_60.a('node.gradient','');
- Node0_60.a('node.gradientcolor','');
- Node0_60.a('node.text','327.3°');
- Node0_60.a('node.textalign','left');
- Node0_60.a('node.textvAlign','middle');
- Node0_60.a('node.textrect', [Node0_60textStart, 0, Node0_60textWidth, Node0_60height]);
- Node0_60.a('node.color','rgba(255,255,255,1)');
- Node0_60.a('node.font',' '+ Node0_60fontSize + 'px "Arial"');
- Node0_60.a('node.textvisible',true);
- Node0_60.a('node.linefeed',false);
- if (false) {
- Node0_60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_60.a('node.text') || '327.3°';
- var color=Node0_60.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_60width,Node0_60height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_60.a('node.underlinepoints',[Node0_60lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_60fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_60fontSize + 'px "Arial"').width + 6, (Node0_60height - Node0_60fontSize) * 0.5*_ratio.ratioY + Node0_60fontSize + 2 ]);
- Node0_60.a('node.underlinevisible',false);
- Node0_60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_60);
- zoomNodeList.push({
- node: Node0_60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_61 = new ht.Node();
- var Node0_61textStart, Node0_61textWidth, Node0_61lineStart, Node0_61align = 'left', Node0_61fontSize = 14.66663*_ratio.ratioY,Node0_61width = 94*_ratio.ratioX, Node0_61height = 36*_ratio.ratioY;
- (function () {
- if (Node0_61align === 'left') {
- Node0_61textStart = Node0_61fontSize * 0.2 > 2 ? Node0_61fontSize * 0.2 - 4 : Node0_61fontSize * 0.2 - 9;
- Node0_61textWidth = Node0_61width;
- Node0_61lineStart = 1;
- } else if (Node0_61align === 'right') {
- Node0_61textStart = 0;
- Node0_61textWidth =Node0_61fontSize <= 8 ? Node0_61width + Node0_61fontSize * 0.2 + 6 : Node0_61width - Node0_61fontSize * 0.2;
- Node0_61lineStart = (Node0_61width - (ht.Default.getTextSize('327.3°', ' '+ Node0_61fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_61align === 'center') {
- Node0_61textStart = -3;
- Node0_61textWidth = Node0_61width;
- Node0_61lineStart = Node0_61width - ht.Default.getTextSize('327.3°', ' '+ Node0_61fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_61.setImage(GD.getTextJSON(Node0_61width, Node0_61height, true, false, false, ' '+ Node0_61fontSize + 'px "Arial"'))
- Node0_61.setPosition(980*ratio.ratioX, 314*ratio.ratioY);
- Node0_61.setWidth(Node0_61width);
- Node0_61.setHeight(Node0_61height);
- Node0_61._nodeType = 'text';
- Node0_61._disallowEvert = true;
- Node0_61.setRotation(0*Math.PI/180);
- Node0_61.a('node.width', Node0_61width);
- Node0_61.a('node.height', Node0_61height);
- Node0_61.a('node.rect', [0, 0, Node0_61width, Node0_61height]);
- Node0_61.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_61.a('node.borderwidth', 0);
- Node0_61.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_61.a('node.gradient','');
- Node0_61.a('node.gradientcolor','');
- Node0_61.a('node.text','327.3°');
- Node0_61.a('node.textalign','left');
- Node0_61.a('node.textvAlign','middle');
- Node0_61.a('node.textrect', [Node0_61textStart, 0, Node0_61textWidth, Node0_61height]);
- Node0_61.a('node.color','rgba(255,255,255,1)');
- Node0_61.a('node.font',' '+ Node0_61fontSize + 'px "Arial"');
- Node0_61.a('node.textvisible',true);
- Node0_61.a('node.linefeed',false);
- if (false) {
- Node0_61.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_61.a('node.text') || '327.3°';
- var color=Node0_61.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_61width,Node0_61height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_61fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_61.a('node.underlinepoints',[Node0_61lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_61fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_61fontSize + 'px "Arial"').width + 6, (Node0_61height - Node0_61fontSize) * 0.5*_ratio.ratioY + Node0_61fontSize + 2 ]);
- Node0_61.a('node.underlinevisible',false);
- Node0_61.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_61);
- zoomNodeList.push({
- node: Node0_61,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_62 = new ht.Node();
- var Node0_62textStart, Node0_62textWidth, Node0_62lineStart, Node0_62align = 'left', Node0_62fontSize = 14.66663*_ratio.ratioY,Node0_62width = 94*_ratio.ratioX, Node0_62height = 36*_ratio.ratioY;
- (function () {
- if (Node0_62align === 'left') {
- Node0_62textStart = Node0_62fontSize * 0.2 > 2 ? Node0_62fontSize * 0.2 - 4 : Node0_62fontSize * 0.2 - 9;
- Node0_62textWidth = Node0_62width;
- Node0_62lineStart = 1;
- } else if (Node0_62align === 'right') {
- Node0_62textStart = 0;
- Node0_62textWidth =Node0_62fontSize <= 8 ? Node0_62width + Node0_62fontSize * 0.2 + 6 : Node0_62width - Node0_62fontSize * 0.2;
- Node0_62lineStart = (Node0_62width - (ht.Default.getTextSize('327.3°', ' '+ Node0_62fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_62align === 'center') {
- Node0_62textStart = -3;
- Node0_62textWidth = Node0_62width;
- Node0_62lineStart = Node0_62width - ht.Default.getTextSize('327.3°', ' '+ Node0_62fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_62.setImage(GD.getTextJSON(Node0_62width, Node0_62height, true, false, false, ' '+ Node0_62fontSize + 'px "Arial"'))
- Node0_62.setPosition(980*ratio.ratioX, 392*ratio.ratioY);
- Node0_62.setWidth(Node0_62width);
- Node0_62.setHeight(Node0_62height);
- Node0_62._nodeType = 'text';
- Node0_62._disallowEvert = true;
- Node0_62.setRotation(0*Math.PI/180);
- Node0_62.a('node.width', Node0_62width);
- Node0_62.a('node.height', Node0_62height);
- Node0_62.a('node.rect', [0, 0, Node0_62width, Node0_62height]);
- Node0_62.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_62.a('node.borderwidth', 0);
- Node0_62.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_62.a('node.gradient','');
- Node0_62.a('node.gradientcolor','');
- Node0_62.a('node.text','327.3°');
- Node0_62.a('node.textalign','left');
- Node0_62.a('node.textvAlign','middle');
- Node0_62.a('node.textrect', [Node0_62textStart, 0, Node0_62textWidth, Node0_62height]);
- Node0_62.a('node.color','rgba(255,255,255,1)');
- Node0_62.a('node.font',' '+ Node0_62fontSize + 'px "Arial"');
- Node0_62.a('node.textvisible',true);
- Node0_62.a('node.linefeed',false);
- if (false) {
- Node0_62.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_62.a('node.text') || '327.3°';
- var color=Node0_62.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_62width,Node0_62height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_62fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_62.a('node.underlinepoints',[Node0_62lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_62fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_62fontSize + 'px "Arial"').width + 6, (Node0_62height - Node0_62fontSize) * 0.5*_ratio.ratioY + Node0_62fontSize + 2 ]);
- Node0_62.a('node.underlinevisible',false);
- Node0_62.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_62);
- zoomNodeList.push({
- node: Node0_62,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_63 = new ht.Node();
- var Node0_63textStart, Node0_63textWidth, Node0_63lineStart, Node0_63align = 'left', Node0_63fontSize = 14.66663*_ratio.ratioY,Node0_63width = 94*_ratio.ratioX, Node0_63height = 36*_ratio.ratioY;
- (function () {
- if (Node0_63align === 'left') {
- Node0_63textStart = Node0_63fontSize * 0.2 > 2 ? Node0_63fontSize * 0.2 - 4 : Node0_63fontSize * 0.2 - 9;
- Node0_63textWidth = Node0_63width;
- Node0_63lineStart = 1;
- } else if (Node0_63align === 'right') {
- Node0_63textStart = 0;
- Node0_63textWidth =Node0_63fontSize <= 8 ? Node0_63width + Node0_63fontSize * 0.2 + 6 : Node0_63width - Node0_63fontSize * 0.2;
- Node0_63lineStart = (Node0_63width - (ht.Default.getTextSize('327.3°', ' '+ Node0_63fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_63align === 'center') {
- Node0_63textStart = -3;
- Node0_63textWidth = Node0_63width;
- Node0_63lineStart = Node0_63width - ht.Default.getTextSize('327.3°', ' '+ Node0_63fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_63.setImage(GD.getTextJSON(Node0_63width, Node0_63height, true, false, false, ' '+ Node0_63fontSize + 'px "Arial"'))
- Node0_63.setPosition(980*ratio.ratioX, 470*ratio.ratioY);
- Node0_63.setWidth(Node0_63width);
- Node0_63.setHeight(Node0_63height);
- Node0_63._nodeType = 'text';
- Node0_63._disallowEvert = true;
- Node0_63.setRotation(0*Math.PI/180);
- Node0_63.a('node.width', Node0_63width);
- Node0_63.a('node.height', Node0_63height);
- Node0_63.a('node.rect', [0, 0, Node0_63width, Node0_63height]);
- Node0_63.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_63.a('node.borderwidth', 0);
- Node0_63.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_63.a('node.gradient','');
- Node0_63.a('node.gradientcolor','');
- Node0_63.a('node.text','327.3°');
- Node0_63.a('node.textalign','left');
- Node0_63.a('node.textvAlign','middle');
- Node0_63.a('node.textrect', [Node0_63textStart, 0, Node0_63textWidth, Node0_63height]);
- Node0_63.a('node.color','rgba(255,255,255,1)');
- Node0_63.a('node.font',' '+ Node0_63fontSize + 'px "Arial"');
- Node0_63.a('node.textvisible',true);
- Node0_63.a('node.linefeed',false);
- if (false) {
- Node0_63.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_63.a('node.text') || '327.3°';
- var color=Node0_63.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_63width,Node0_63height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_63fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_63.a('node.underlinepoints',[Node0_63lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_63fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_63fontSize + 'px "Arial"').width + 6, (Node0_63height - Node0_63fontSize) * 0.5*_ratio.ratioY + Node0_63fontSize + 2 ]);
- Node0_63.a('node.underlinevisible',false);
- Node0_63.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_63);
- zoomNodeList.push({
- node: Node0_63,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_64 = new ht.Node();
- var Node0_64textStart, Node0_64textWidth, Node0_64lineStart, Node0_64align = 'left', Node0_64fontSize = 14.66663*_ratio.ratioY,Node0_64width = 94*_ratio.ratioX, Node0_64height = 36*_ratio.ratioY;
- (function () {
- if (Node0_64align === 'left') {
- Node0_64textStart = Node0_64fontSize * 0.2 > 2 ? Node0_64fontSize * 0.2 - 4 : Node0_64fontSize * 0.2 - 9;
- Node0_64textWidth = Node0_64width;
- Node0_64lineStart = 1;
- } else if (Node0_64align === 'right') {
- Node0_64textStart = 0;
- Node0_64textWidth =Node0_64fontSize <= 8 ? Node0_64width + Node0_64fontSize * 0.2 + 6 : Node0_64width - Node0_64fontSize * 0.2;
- Node0_64lineStart = (Node0_64width - (ht.Default.getTextSize('327.3°', ' '+ Node0_64fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_64align === 'center') {
- Node0_64textStart = -3;
- Node0_64textWidth = Node0_64width;
- Node0_64lineStart = Node0_64width - ht.Default.getTextSize('327.3°', ' '+ Node0_64fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_64.setImage(GD.getTextJSON(Node0_64width, Node0_64height, true, false, false, ' '+ Node0_64fontSize + 'px "Arial"'))
- Node0_64.setPosition(980*ratio.ratioX, 547*ratio.ratioY);
- Node0_64.setWidth(Node0_64width);
- Node0_64.setHeight(Node0_64height);
- Node0_64._nodeType = 'text';
- Node0_64._disallowEvert = true;
- Node0_64.setRotation(0*Math.PI/180);
- Node0_64.a('node.width', Node0_64width);
- Node0_64.a('node.height', Node0_64height);
- Node0_64.a('node.rect', [0, 0, Node0_64width, Node0_64height]);
- Node0_64.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_64.a('node.borderwidth', 0);
- Node0_64.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_64.a('node.gradient','');
- Node0_64.a('node.gradientcolor','');
- Node0_64.a('node.text','327.3°');
- Node0_64.a('node.textalign','left');
- Node0_64.a('node.textvAlign','middle');
- Node0_64.a('node.textrect', [Node0_64textStart, 0, Node0_64textWidth, Node0_64height]);
- Node0_64.a('node.color','rgba(255,255,255,1)');
- Node0_64.a('node.font',' '+ Node0_64fontSize + 'px "Arial"');
- Node0_64.a('node.textvisible',true);
- Node0_64.a('node.linefeed',false);
- if (false) {
- Node0_64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_64.a('node.text') || '327.3°';
- var color=Node0_64.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_64width,Node0_64height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_64fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_64.a('node.underlinepoints',[Node0_64lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_64fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_64fontSize + 'px "Arial"').width + 6, (Node0_64height - Node0_64fontSize) * 0.5*_ratio.ratioY + Node0_64fontSize + 2 ]);
- Node0_64.a('node.underlinevisible',false);
- Node0_64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_64);
- zoomNodeList.push({
- node: Node0_64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_65 = new ht.Node();
- var Node0_65textStart, Node0_65textWidth, Node0_65lineStart, Node0_65align = 'left', Node0_65fontSize = 14.66663*_ratio.ratioY,Node0_65width = 94*_ratio.ratioX, Node0_65height = 36*_ratio.ratioY;
- (function () {
- if (Node0_65align === 'left') {
- Node0_65textStart = Node0_65fontSize * 0.2 > 2 ? Node0_65fontSize * 0.2 - 4 : Node0_65fontSize * 0.2 - 9;
- Node0_65textWidth = Node0_65width;
- Node0_65lineStart = 1;
- } else if (Node0_65align === 'right') {
- Node0_65textStart = 0;
- Node0_65textWidth =Node0_65fontSize <= 8 ? Node0_65width + Node0_65fontSize * 0.2 + 6 : Node0_65width - Node0_65fontSize * 0.2;
- Node0_65lineStart = (Node0_65width - (ht.Default.getTextSize('327.3°', ' '+ Node0_65fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_65align === 'center') {
- Node0_65textStart = -3;
- Node0_65textWidth = Node0_65width;
- Node0_65lineStart = Node0_65width - ht.Default.getTextSize('327.3°', ' '+ Node0_65fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_65.setImage(GD.getTextJSON(Node0_65width, Node0_65height, true, false, false, ' '+ Node0_65fontSize + 'px "Arial"'))
- Node0_65.setPosition(980*ratio.ratioX, 626*ratio.ratioY);
- Node0_65.setWidth(Node0_65width);
- Node0_65.setHeight(Node0_65height);
- Node0_65._nodeType = 'text';
- Node0_65._disallowEvert = true;
- Node0_65.setRotation(0*Math.PI/180);
- Node0_65.a('node.width', Node0_65width);
- Node0_65.a('node.height', Node0_65height);
- Node0_65.a('node.rect', [0, 0, Node0_65width, Node0_65height]);
- Node0_65.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_65.a('node.borderwidth', 0);
- Node0_65.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_65.a('node.gradient','');
- Node0_65.a('node.gradientcolor','');
- Node0_65.a('node.text','327.3°');
- Node0_65.a('node.textalign','left');
- Node0_65.a('node.textvAlign','middle');
- Node0_65.a('node.textrect', [Node0_65textStart, 0, Node0_65textWidth, Node0_65height]);
- Node0_65.a('node.color','rgba(255,255,255,1)');
- Node0_65.a('node.font',' '+ Node0_65fontSize + 'px "Arial"');
- Node0_65.a('node.textvisible',true);
- Node0_65.a('node.linefeed',false);
- if (false) {
- Node0_65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_65.a('node.text') || '327.3°';
- var color=Node0_65.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_65width,Node0_65height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_65fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_65.a('node.underlinepoints',[Node0_65lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_65fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_65fontSize + 'px "Arial"').width + 6, (Node0_65height - Node0_65fontSize) * 0.5*_ratio.ratioY + Node0_65fontSize + 2 ]);
- Node0_65.a('node.underlinevisible',false);
- Node0_65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_65);
- zoomNodeList.push({
- node: Node0_65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_66 = new ht.Node();
- var Node0_66textStart, Node0_66textWidth, Node0_66lineStart, Node0_66align = 'left', Node0_66fontSize = 14.66663*_ratio.ratioY,Node0_66width = 94*_ratio.ratioX, Node0_66height = 36*_ratio.ratioY;
- (function () {
- if (Node0_66align === 'left') {
- Node0_66textStart = Node0_66fontSize * 0.2 > 2 ? Node0_66fontSize * 0.2 - 4 : Node0_66fontSize * 0.2 - 9;
- Node0_66textWidth = Node0_66width;
- Node0_66lineStart = 1;
- } else if (Node0_66align === 'right') {
- Node0_66textStart = 0;
- Node0_66textWidth =Node0_66fontSize <= 8 ? Node0_66width + Node0_66fontSize * 0.2 + 6 : Node0_66width - Node0_66fontSize * 0.2;
- Node0_66lineStart = (Node0_66width - (ht.Default.getTextSize('327.3°', ' '+ Node0_66fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_66align === 'center') {
- Node0_66textStart = -3;
- Node0_66textWidth = Node0_66width;
- Node0_66lineStart = Node0_66width - ht.Default.getTextSize('327.3°', ' '+ Node0_66fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_66.setImage(GD.getTextJSON(Node0_66width, Node0_66height, true, false, false, ' '+ Node0_66fontSize + 'px "Arial"'))
- Node0_66.setPosition(980*ratio.ratioX, 703*ratio.ratioY);
- Node0_66.setWidth(Node0_66width);
- Node0_66.setHeight(Node0_66height);
- Node0_66._nodeType = 'text';
- Node0_66._disallowEvert = true;
- Node0_66.setRotation(0*Math.PI/180);
- Node0_66.a('node.width', Node0_66width);
- Node0_66.a('node.height', Node0_66height);
- Node0_66.a('node.rect', [0, 0, Node0_66width, Node0_66height]);
- Node0_66.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_66.a('node.borderwidth', 0);
- Node0_66.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_66.a('node.gradient','');
- Node0_66.a('node.gradientcolor','');
- Node0_66.a('node.text','327.3°');
- Node0_66.a('node.textalign','left');
- Node0_66.a('node.textvAlign','middle');
- Node0_66.a('node.textrect', [Node0_66textStart, 0, Node0_66textWidth, Node0_66height]);
- Node0_66.a('node.color','rgba(255,255,255,1)');
- Node0_66.a('node.font',' '+ Node0_66fontSize + 'px "Arial"');
- Node0_66.a('node.textvisible',true);
- Node0_66.a('node.linefeed',false);
- if (false) {
- Node0_66.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_66.a('node.text') || '327.3°';
- var color=Node0_66.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_66width,Node0_66height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_66fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_66.a('node.underlinepoints',[Node0_66lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_66fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_66fontSize + 'px "Arial"').width + 6, (Node0_66height - Node0_66fontSize) * 0.5*_ratio.ratioY + Node0_66fontSize + 2 ]);
- Node0_66.a('node.underlinevisible',false);
- Node0_66.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_66);
- zoomNodeList.push({
- node: Node0_66,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_67 = new ht.Node();
- var Node0_67textStart, Node0_67textWidth, Node0_67lineStart, Node0_67align = 'left', Node0_67fontSize = 14.66663*_ratio.ratioY,Node0_67width = 94*_ratio.ratioX, Node0_67height = 36*_ratio.ratioY;
- (function () {
- if (Node0_67align === 'left') {
- Node0_67textStart = Node0_67fontSize * 0.2 > 2 ? Node0_67fontSize * 0.2 - 4 : Node0_67fontSize * 0.2 - 9;
- Node0_67textWidth = Node0_67width;
- Node0_67lineStart = 1;
- } else if (Node0_67align === 'right') {
- Node0_67textStart = 0;
- Node0_67textWidth =Node0_67fontSize <= 8 ? Node0_67width + Node0_67fontSize * 0.2 + 6 : Node0_67width - Node0_67fontSize * 0.2;
- Node0_67lineStart = (Node0_67width - (ht.Default.getTextSize('327.3°', ' '+ Node0_67fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_67align === 'center') {
- Node0_67textStart = -3;
- Node0_67textWidth = Node0_67width;
- Node0_67lineStart = Node0_67width - ht.Default.getTextSize('327.3°', ' '+ Node0_67fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_67.setImage(GD.getTextJSON(Node0_67width, Node0_67height, true, false, false, ' '+ Node0_67fontSize + 'px "Arial"'))
- Node0_67.setPosition(980*ratio.ratioX, 781*ratio.ratioY);
- Node0_67.setWidth(Node0_67width);
- Node0_67.setHeight(Node0_67height);
- Node0_67._nodeType = 'text';
- Node0_67._disallowEvert = true;
- Node0_67.setRotation(0*Math.PI/180);
- Node0_67.a('node.width', Node0_67width);
- Node0_67.a('node.height', Node0_67height);
- Node0_67.a('node.rect', [0, 0, Node0_67width, Node0_67height]);
- Node0_67.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_67.a('node.borderwidth', 0);
- Node0_67.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_67.a('node.gradient','');
- Node0_67.a('node.gradientcolor','');
- Node0_67.a('node.text','327.3°');
- Node0_67.a('node.textalign','left');
- Node0_67.a('node.textvAlign','middle');
- Node0_67.a('node.textrect', [Node0_67textStart, 0, Node0_67textWidth, Node0_67height]);
- Node0_67.a('node.color','rgba(255,255,255,1)');
- Node0_67.a('node.font',' '+ Node0_67fontSize + 'px "Arial"');
- Node0_67.a('node.textvisible',true);
- Node0_67.a('node.linefeed',false);
- if (false) {
- Node0_67.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_67.a('node.text') || '327.3°';
- var color=Node0_67.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_67width,Node0_67height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_67fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_67.a('node.underlinepoints',[Node0_67lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_67fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_67fontSize + 'px "Arial"').width + 6, (Node0_67height - Node0_67fontSize) * 0.5*_ratio.ratioY + Node0_67fontSize + 2 ]);
- Node0_67.a('node.underlinevisible',false);
- Node0_67.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_67);
- zoomNodeList.push({
- node: Node0_67,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node0_68points=[1481, 163,34, 163],
- Node0_68rect=ht.Default.unionPoint([{x:1481,y:163},{x:34,y:163}]),
- Node0_68compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(0, ratio),
- _endratio = GD.getRatioWithRotation(3.14159265358979, ratio);
- for(var i=0;i<Node0_68points.length;i++){
- if(i%2==0){
- Node0_68compspts.push(Node0_68points[i]-Node0_68rect.x);
- }else{
- Node0_68compspts.push(Node0_68points[i]-Node0_68rect.y);
- }
- }
- var Node0_68ptslength=Node0_68compspts.length;
- if (Node0_68rect.height === 0) {
- Node0_68compspts[0] -= 0;
- Node0_68compspts[Node0_68ptslength-2] += 0;
- } else if (Node0_68rect.width === 0){
- Node0_68compspts[1] -= 0;
- Node0_68compspts[Node0_68ptslength-1] += 0;
- } else {
- Node0_68compspts[0] -= 0;
- Node0_68compspts[1] -= 0;
- Node0_68compspts[Node0_68ptslength-2] += 0;
- Node0_68compspts[Node0_68ptslength-1] += 0;
- }
- Node0_68 = new ht.Node();
- Node0_68.borderWidth = 1;
- Node0_68rect.width = Node0_68rect.width === 0 ? 0.0001 : Node0_68rect.width;
- Node0_68rect.height = Node0_68rect.height === 0 ? 0.0001 : Node0_68rect.height;
- var Node0_68endCompspts = [Node0_68compspts[Node0_68ptslength-2],Node0_68compspts[Node0_68ptslength-1],0,0];
- var Node0_68startCompspts = [Node0_68compspts[0],Node0_68compspts[1],0,0];
- Node0_68.setImage(GD.getPolyLineJSON());
- Node0_68.setPosition(Node0_68rect.x+Node0_68rect.width/2,Node0_68rect.y+Node0_68rect.height/2);
- Node0_68.setSize(Node0_68rect.width,Node0_68rect.height);
- Node0_68.setStyle("opacity",1);
- Node0_68.s({'pixelPerfect':true});
- Node0_68borderwidth=1;
- Node0_68.setRotation(0);
- dataModel.add(Node0_68);
- Node0_68.a('node.points',Node0_68compspts);
- Node0_68.a('node.segments',[1,2]);
- Node0_68.a('node.color','rgba(192,192,192,1)');
- Node0_68.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node0_68.a('node.borderColor','rgba(192,192,192,1)');
- Node0_68.a('node.background','rgba(192,192,192,1)');
- Node0_68.a('node.gradient','');
- Node0_68.a('node.gradientcolor','rgba(192,192,192,1)');
- Node0_68.a('node.endCompspts',Node0_68endCompspts);
- Node0_68.a('node.startCompspts',Node0_68startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node0_68';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node0_68, Node0_68.getImage(), Node0_68compspts, Node0_68endCompspts, Node0_68startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_69 = new ht.Node();
- var Node0_69textStart, Node0_69textWidth, Node0_69lineStart, Node0_69align = 'left', Node0_69fontSize = 17.33329*_ratio.ratioY,Node0_69width = 114*_ratio.ratioX, Node0_69height = 49*_ratio.ratioY;
- (function () {
- if (Node0_69align === 'left') {
- Node0_69textStart = Node0_69fontSize * 0.2 > 2 ? Node0_69fontSize * 0.2 - 4 : Node0_69fontSize * 0.2 - 9;
- Node0_69textWidth = Node0_69width;
- Node0_69lineStart = 1;
- } else if (Node0_69align === 'right') {
- Node0_69textStart = 0;
- Node0_69textWidth =Node0_69fontSize <= 8 ? Node0_69width + Node0_69fontSize * 0.2 + 6 : Node0_69width - Node0_69fontSize * 0.2;
- Node0_69lineStart = (Node0_69width - (ht.Default.getTextSize('Pa', ' '+ Node0_69fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_69align === 'center') {
- Node0_69textStart = -3;
- Node0_69textWidth = Node0_69width;
- Node0_69lineStart = Node0_69width - ht.Default.getTextSize('Pa', ' '+ Node0_69fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_69.setImage(GD.getTextJSON(Node0_69width, Node0_69height, true, false, false, ' '+ Node0_69fontSize + 'px "Arial"'))
- Node0_69.setPosition(1855*ratio.ratioX, 194*ratio.ratioY);
- Node0_69.setWidth(Node0_69width);
- Node0_69.setHeight(Node0_69height);
- Node0_69._nodeType = 'text';
- Node0_69._disallowEvert = true;
- Node0_69.setRotation(0*Math.PI/180);
- Node0_69.a('node.width', Node0_69width);
- Node0_69.a('node.height', Node0_69height);
- Node0_69.a('node.rect', [0, 0, Node0_69width, Node0_69height]);
- Node0_69.a('node.bordercolor','rgba(192,0,0,1)');
- Node0_69.a('node.borderwidth', 0);
- Node0_69.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_69.a('node.gradient','');
- Node0_69.a('node.gradientcolor','');
- Node0_69.a('node.text','Pa');
- Node0_69.a('node.textalign','left');
- Node0_69.a('node.textvAlign','middle');
- Node0_69.a('node.textrect', [Node0_69textStart, 0, Node0_69textWidth, Node0_69height]);
- Node0_69.a('node.color','rgba(192,0,0,1)');
- Node0_69.a('node.font',' '+ Node0_69fontSize + 'px "Arial"');
- Node0_69.a('node.textvisible',true);
- Node0_69.a('node.linefeed',false);
- if (false) {
- Node0_69.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_69.a('node.text') || 'Pa';
- var color=Node0_69.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_69width,Node0_69height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_69fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_69.a('node.underlinepoints',[Node0_69lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node0_69fontSize + 2 , ht.Default.getTextSize('Pa', ' '+ Node0_69fontSize + 'px "Arial"').width + 6, (Node0_69height - Node0_69fontSize) * 0.5*_ratio.ratioY + Node0_69fontSize + 2 ]);
- Node0_69.a('node.underlinevisible',false);
- Node0_69.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_69);
- zoomNodeList.push({
- node: Node0_69,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_70 = new ht.Node();
- var Node0_70textStart, Node0_70textWidth, Node0_70lineStart, Node0_70align = 'left', Node0_70fontSize = 17.33329*_ratio.ratioY,Node0_70width = 84*_ratio.ratioX, Node0_70height = 37*_ratio.ratioY;
- (function () {
- if (Node0_70align === 'left') {
- Node0_70textStart = Node0_70fontSize * 0.2 > 2 ? Node0_70fontSize * 0.2 - 4 : Node0_70fontSize * 0.2 - 9;
- Node0_70textWidth = Node0_70width;
- Node0_70lineStart = 1;
- } else if (Node0_70align === 'right') {
- Node0_70textStart = 0;
- Node0_70textWidth =Node0_70fontSize <= 8 ? Node0_70width + Node0_70fontSize * 0.2 + 6 : Node0_70width - Node0_70fontSize * 0.2;
- Node0_70lineStart = (Node0_70width - (ht.Default.getTextSize('℃', ' '+ Node0_70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_70align === 'center') {
- Node0_70textStart = -3;
- Node0_70textWidth = Node0_70width;
- Node0_70lineStart = Node0_70width - ht.Default.getTextSize('℃', ' '+ Node0_70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_70.setImage(GD.getTextJSON(Node0_70width, Node0_70height, true, false, false, ' '+ Node0_70fontSize + 'px "Arial"'))
- Node0_70.setPosition(1839*ratio.ratioX, 256*ratio.ratioY);
- Node0_70.setWidth(Node0_70width);
- Node0_70.setHeight(Node0_70height);
- Node0_70._nodeType = 'text';
- Node0_70._disallowEvert = true;
- Node0_70.setRotation(0*Math.PI/180);
- Node0_70.a('node.width', Node0_70width);
- Node0_70.a('node.height', Node0_70height);
- Node0_70.a('node.rect', [0, 0, Node0_70width, Node0_70height]);
- Node0_70.a('node.bordercolor','rgba(0,128,128,1)');
- Node0_70.a('node.borderwidth', 0);
- Node0_70.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_70.a('node.gradient','');
- Node0_70.a('node.gradientcolor','');
- Node0_70.a('node.text','℃');
- Node0_70.a('node.textalign','left');
- Node0_70.a('node.textvAlign','middle');
- Node0_70.a('node.textrect', [Node0_70textStart, 0, Node0_70textWidth, Node0_70height]);
- Node0_70.a('node.color','rgba(0,128,128,1)');
- Node0_70.a('node.font',' '+ Node0_70fontSize + 'px "Arial"');
- Node0_70.a('node.textvisible',true);
- Node0_70.a('node.linefeed',false);
- if (false) {
- Node0_70.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_70.a('node.text') || '℃';
- var color=Node0_70.a('node.color') || 'rgba(0,128,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_70width,Node0_70height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_70fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_70.a('node.underlinepoints',[Node0_70lineStart, (37 - 17.33329) * 0.5 * _ratio.ratioY + Node0_70fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node0_70fontSize + 'px "Arial"').width + 6, (Node0_70height - Node0_70fontSize) * 0.5*_ratio.ratioY + Node0_70fontSize + 2 ]);
- Node0_70.a('node.underlinevisible',false);
- Node0_70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_70);
- zoomNodeList.push({
- node: Node0_70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_71 = new ht.Node();
- var Node0_71textStart, Node0_71textWidth, Node0_71lineStart, Node0_71align = 'left', Node0_71fontSize = 17.33329*_ratio.ratioY,Node0_71width = 53*_ratio.ratioX, Node0_71height = 23*_ratio.ratioY;
- (function () {
- if (Node0_71align === 'left') {
- Node0_71textStart = Node0_71fontSize * 0.2 > 2 ? Node0_71fontSize * 0.2 - 4 : Node0_71fontSize * 0.2 - 9;
- Node0_71textWidth = Node0_71width;
- Node0_71lineStart = 1;
- } else if (Node0_71align === 'right') {
- Node0_71textStart = 0;
- Node0_71textWidth =Node0_71fontSize <= 8 ? Node0_71width + Node0_71fontSize * 0.2 + 6 : Node0_71width - Node0_71fontSize * 0.2;
- Node0_71lineStart = (Node0_71width - (ht.Default.getTextSize('%RH', ' '+ Node0_71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_71align === 'center') {
- Node0_71textStart = -3;
- Node0_71textWidth = Node0_71width;
- Node0_71lineStart = Node0_71width - ht.Default.getTextSize('%RH', ' '+ Node0_71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_71.setImage(GD.getTextJSON(Node0_71width, Node0_71height, true, false, false, ' '+ Node0_71fontSize + 'px "Arial"'))
- Node0_71.setPosition(1824*ratio.ratioX, 308*ratio.ratioY);
- Node0_71.setWidth(Node0_71width);
- Node0_71.setHeight(Node0_71height);
- Node0_71._nodeType = 'text';
- Node0_71._disallowEvert = true;
- Node0_71.setRotation(0*Math.PI/180);
- Node0_71.a('node.width', Node0_71width);
- Node0_71.a('node.height', Node0_71height);
- Node0_71.a('node.rect', [0, 0, Node0_71width, Node0_71height]);
- Node0_71.a('node.bordercolor','rgba(128,0,128,1)');
- Node0_71.a('node.borderwidth', 0);
- Node0_71.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_71.a('node.gradient','');
- Node0_71.a('node.gradientcolor','');
- Node0_71.a('node.text','%RH');
- Node0_71.a('node.textalign','left');
- Node0_71.a('node.textvAlign','middle');
- Node0_71.a('node.textrect', [Node0_71textStart, 0, Node0_71textWidth, Node0_71height]);
- Node0_71.a('node.color','rgba(128,0,128,1)');
- Node0_71.a('node.font',' '+ Node0_71fontSize + 'px "Arial"');
- Node0_71.a('node.textvisible',true);
- Node0_71.a('node.linefeed',false);
- if (false) {
- Node0_71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_71.a('node.text') || '%RH';
- var color=Node0_71.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_71width,Node0_71height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_71.a('node.underlinepoints',[Node0_71lineStart, (23 - 17.33329) * 0.5 * _ratio.ratioY + Node0_71fontSize + 2 , ht.Default.getTextSize('%RH', ' '+ Node0_71fontSize + 'px "Arial"').width + 6, (Node0_71height - Node0_71fontSize) * 0.5*_ratio.ratioY + Node0_71fontSize + 2 ]);
- Node0_71.a('node.underlinevisible',false);
- Node0_71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_71);
- zoomNodeList.push({
- node: Node0_71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_72 = new ht.Node();
- var Node0_72textStart, Node0_72textWidth, Node0_72lineStart, Node0_72align = 'left', Node0_72fontSize = 25.33327*_ratio.ratioY,Node0_72width = 132*_ratio.ratioX, Node0_72height = 39*_ratio.ratioY;
- (function () {
- if (Node0_72align === 'left') {
- Node0_72textStart = Node0_72fontSize * 0.2 > 2 ? Node0_72fontSize * 0.2 - 4 : Node0_72fontSize * 0.2 - 9;
- Node0_72textWidth = Node0_72width;
- Node0_72lineStart = 1;
- } else if (Node0_72align === 'right') {
- Node0_72textStart = 0;
- Node0_72textWidth =Node0_72fontSize <= 8 ? Node0_72width + Node0_72fontSize * 0.2 + 6 : Node0_72width - Node0_72fontSize * 0.2;
- Node0_72lineStart = (Node0_72width - (ht.Default.getTextSize('10000.00', ' '+ Node0_72fontSize + 'px "DS-Digital"').width + 6)) * 0.5;
- } else if (Node0_72align === 'center') {
- Node0_72textStart = -3;
- Node0_72textWidth = Node0_72width;
- Node0_72lineStart = Node0_72width - ht.Default.getTextSize('10000.00', ' '+ Node0_72fontSize + 'px "DS-Digital"').width - 11;
- }
- })();
- Node0_72.setImage(GD.getTextJSON(Node0_72width, Node0_72height, true, false, false, ' '+ Node0_72fontSize + 'px "DS-Digital"'))
- Node0_72.setPosition(1714*ratio.ratioX, 196*ratio.ratioY);
- Node0_72.setWidth(Node0_72width);
- Node0_72.setHeight(Node0_72height);
- Node0_72._nodeType = 'text';
- Node0_72._disallowEvert = true;
- Node0_72.setRotation(0*Math.PI/180);
- Node0_72.a('node.width', Node0_72width);
- Node0_72.a('node.height', Node0_72height);
- Node0_72.a('node.rect', [0, 0, Node0_72width, Node0_72height]);
- Node0_72.a('node.bordercolor','rgba(0,0,0,1)');
- Node0_72.a('node.borderwidth', 0);
- Node0_72.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_72.a('node.gradient','');
- Node0_72.a('node.gradientcolor','');
- Node0_72.a('node.text','10000.00');
- Node0_72.a('node.textalign','left');
- Node0_72.a('node.textvAlign','middle');
- Node0_72.a('node.textrect', [Node0_72textStart, 0, Node0_72textWidth, Node0_72height]);
- Node0_72.a('node.color','rgba(0,0,0,1)');
- Node0_72.a('node.font',' '+ Node0_72fontSize + 'px "DS-Digital"');
- Node0_72.a('node.textvisible',true);
- Node0_72.a('node.linefeed',false);
- if (false) {
- Node0_72.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_72.a('node.text') || '10000.00';
- var color=Node0_72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,25.33327*0.5*_ratio.ratioY,Node0_72width,Node0_72height,25.33327*_ratio.ratioY,"left",color,' '+ Node0_72fontSize + 'px "DS-Digital"', 0,g);
- });
- }
- if (false) {
- Node0_72.a('node.underlinepoints',[Node0_72lineStart, (39 - 25.33327) * 0.5 * _ratio.ratioY + Node0_72fontSize + 2 , ht.Default.getTextSize('10000.00', ' '+ Node0_72fontSize + 'px "DS-Digital"').width + 6, (Node0_72height - Node0_72fontSize) * 0.5*_ratio.ratioY + Node0_72fontSize + 2 ]);
- Node0_72.a('node.underlinevisible',false);
- Node0_72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_72);
- zoomNodeList.push({
- node: Node0_72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_73 = new ht.Node();
- var Node0_73textStart, Node0_73textWidth, Node0_73lineStart, Node0_73align = 'left', Node0_73fontSize = 25.33327*_ratio.ratioY,Node0_73width = 102*_ratio.ratioX, Node0_73height = 30*_ratio.ratioY;
- (function () {
- if (Node0_73align === 'left') {
- Node0_73textStart = Node0_73fontSize * 0.2 > 2 ? Node0_73fontSize * 0.2 - 4 : Node0_73fontSize * 0.2 - 9;
- Node0_73textWidth = Node0_73width;
- Node0_73lineStart = 1;
- } else if (Node0_73align === 'right') {
- Node0_73textStart = 0;
- Node0_73textWidth =Node0_73fontSize <= 8 ? Node0_73width + Node0_73fontSize * 0.2 + 6 : Node0_73width - Node0_73fontSize * 0.2;
- Node0_73lineStart = (Node0_73width - (ht.Default.getTextSize('10000.00', ' '+ Node0_73fontSize + 'px "DS-Digital"').width + 6)) * 0.5;
- } else if (Node0_73align === 'center') {
- Node0_73textStart = -3;
- Node0_73textWidth = Node0_73width;
- Node0_73lineStart = Node0_73width - ht.Default.getTextSize('10000.00', ' '+ Node0_73fontSize + 'px "DS-Digital"').width - 11;
- }
- })();
- Node0_73.setImage(GD.getTextJSON(Node0_73width, Node0_73height, true, false, false, ' '+ Node0_73fontSize + 'px "DS-Digital"'))
- Node0_73.setPosition(1699*ratio.ratioX, 258*ratio.ratioY);
- Node0_73.setWidth(Node0_73width);
- Node0_73.setHeight(Node0_73height);
- Node0_73._nodeType = 'text';
- Node0_73._disallowEvert = true;
- Node0_73.setRotation(0*Math.PI/180);
- Node0_73.a('node.width', Node0_73width);
- Node0_73.a('node.height', Node0_73height);
- Node0_73.a('node.rect', [0, 0, Node0_73width, Node0_73height]);
- Node0_73.a('node.bordercolor','rgba(0,0,0,1)');
- Node0_73.a('node.borderwidth', 0);
- Node0_73.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_73.a('node.gradient','');
- Node0_73.a('node.gradientcolor','');
- Node0_73.a('node.text','10000.00');
- Node0_73.a('node.textalign','left');
- Node0_73.a('node.textvAlign','middle');
- Node0_73.a('node.textrect', [Node0_73textStart, 0, Node0_73textWidth, Node0_73height]);
- Node0_73.a('node.color','rgba(0,0,0,1)');
- Node0_73.a('node.font',' '+ Node0_73fontSize + 'px "DS-Digital"');
- Node0_73.a('node.textvisible',true);
- Node0_73.a('node.linefeed',false);
- if (false) {
- Node0_73.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_73.a('node.text') || '10000.00';
- var color=Node0_73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,25.33327*0.5*_ratio.ratioY,Node0_73width,Node0_73height,25.33327*_ratio.ratioY,"left",color,' '+ Node0_73fontSize + 'px "DS-Digital"', 0,g);
- });
- }
- if (false) {
- Node0_73.a('node.underlinepoints',[Node0_73lineStart, (30 - 25.33327) * 0.5 * _ratio.ratioY + Node0_73fontSize + 2 , ht.Default.getTextSize('10000.00', ' '+ Node0_73fontSize + 'px "DS-Digital"').width + 6, (Node0_73height - Node0_73fontSize) * 0.5*_ratio.ratioY + Node0_73fontSize + 2 ]);
- Node0_73.a('node.underlinevisible',false);
- Node0_73.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_73);
- zoomNodeList.push({
- node: Node0_73,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_74 = new ht.Node();
- var Node0_74textStart, Node0_74textWidth, Node0_74lineStart, Node0_74align = 'left', Node0_74fontSize = 25.33327*_ratio.ratioY,Node0_74width = 102*_ratio.ratioX, Node0_74height = 30*_ratio.ratioY;
- (function () {
- if (Node0_74align === 'left') {
- Node0_74textStart = Node0_74fontSize * 0.2 > 2 ? Node0_74fontSize * 0.2 - 4 : Node0_74fontSize * 0.2 - 9;
- Node0_74textWidth = Node0_74width;
- Node0_74lineStart = 1;
- } else if (Node0_74align === 'right') {
- Node0_74textStart = 0;
- Node0_74textWidth =Node0_74fontSize <= 8 ? Node0_74width + Node0_74fontSize * 0.2 + 6 : Node0_74width - Node0_74fontSize * 0.2;
- Node0_74lineStart = (Node0_74width - (ht.Default.getTextSize('10000.00', ' '+ Node0_74fontSize + 'px "DS-Digital"').width + 6)) * 0.5;
- } else if (Node0_74align === 'center') {
- Node0_74textStart = -3;
- Node0_74textWidth = Node0_74width;
- Node0_74lineStart = Node0_74width - ht.Default.getTextSize('10000.00', ' '+ Node0_74fontSize + 'px "DS-Digital"').width - 11;
- }
- })();
- Node0_74.setImage(GD.getTextJSON(Node0_74width, Node0_74height, true, false, false, ' '+ Node0_74fontSize + 'px "DS-Digital"'))
- Node0_74.setPosition(1699*ratio.ratioX, 318*ratio.ratioY);
- Node0_74.setWidth(Node0_74width);
- Node0_74.setHeight(Node0_74height);
- Node0_74._nodeType = 'text';
- Node0_74._disallowEvert = true;
- Node0_74.setRotation(0*Math.PI/180);
- Node0_74.a('node.width', Node0_74width);
- Node0_74.a('node.height', Node0_74height);
- Node0_74.a('node.rect', [0, 0, Node0_74width, Node0_74height]);
- Node0_74.a('node.bordercolor','rgba(0,0,0,1)');
- Node0_74.a('node.borderwidth', 0);
- Node0_74.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_74.a('node.gradient','');
- Node0_74.a('node.gradientcolor','');
- Node0_74.a('node.text','10000.00');
- Node0_74.a('node.textalign','left');
- Node0_74.a('node.textvAlign','middle');
- Node0_74.a('node.textrect', [Node0_74textStart, 0, Node0_74textWidth, Node0_74height]);
- Node0_74.a('node.color','rgba(0,0,0,1)');
- Node0_74.a('node.font',' '+ Node0_74fontSize + 'px "DS-Digital"');
- Node0_74.a('node.textvisible',true);
- Node0_74.a('node.linefeed',false);
- if (false) {
- Node0_74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_74.a('node.text') || '10000.00';
- var color=Node0_74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,25.33327*0.5*_ratio.ratioY,Node0_74width,Node0_74height,25.33327*_ratio.ratioY,"left",color,' '+ Node0_74fontSize + 'px "DS-Digital"', 0,g);
- });
- }
- if (false) {
- Node0_74.a('node.underlinepoints',[Node0_74lineStart, (30 - 25.33327) * 0.5 * _ratio.ratioY + Node0_74fontSize + 2 , ht.Default.getTextSize('10000.00', ' '+ Node0_74fontSize + 'px "DS-Digital"').width + 6, (Node0_74height - Node0_74fontSize) * 0.5*_ratio.ratioY + Node0_74fontSize + 2 ]);
- Node0_74.a('node.underlinevisible',false);
- Node0_74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_74);
- zoomNodeList.push({
- node: Node0_74,
- 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(27*_ratio.ratioX, 121*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node1.setPosition(18*ratio.ratioX, 98*ratio.ratioY);
- Node1.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node1.a('node.width', 27*_ratio.ratioX);
- Node1.a('node.height', 121*_ratio.ratioY);
- Node1.a('node.type', Node1type);
- Node1.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node1.a('node.background', 'rgba(0,132,216,1)');
- Node1.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node1.a('node.gradient', '');
- Node1.a('node.borderwidth', Node1BorderWidth);
- Node1.a('node.color', 'rgba(0,0,255,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 = 'left', Node2fontSize = 13.3333*_ratio.ratioY,Node2width = 53*_ratio.ratioX, Node2height = 30*_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('综', 'bold '+ Node2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node2align === 'center') {
- Node2textStart = -3;
- Node2textWidth = Node2width;
- Node2lineStart = Node2width - ht.Default.getTextSize('综', 'bold '+ Node2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node2.setImage(GD.getTextJSON(Node2width, Node2height, true, false, false, 'bold '+ Node2fontSize + 'px "Arial"'))
- Node2.setPosition(34*ratio.ratioX, 55*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(255,255,255,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','left');
- Node2.a('node.textvAlign','middle');
- Node2.a('node.textrect', [Node2textStart, 0, Node2textWidth, Node2height]);
- Node2.a('node.color','rgba(255,255,255,1)');
- Node2.a('node.font','bold '+ 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(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node2width,Node2height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node2.a('node.underlinepoints',[Node2lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node2fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node2fontSize + 'px "Arial"').width + 6, (Node2height - Node2fontSize) * 0.5*_ratio.ratioY + Node2fontSize + 2 ]);
- Node2.a('node.underlinevisible',false);
- Node2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node2);
- zoomNodeList.push({
- node: Node2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3type = 'rect';
- var Node3 = new ht.Node(),
- Node3BorderWidth = 0*2;
- if (Node3type === 'arc') {
- Node3BorderWidth *= 0;
- }
- Node3.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node3.setPosition(111*ratio.ratioX, 101*ratio.ratioY);
- Node3.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node3.a('node.width', 156*_ratio.ratioX);
- Node3.a('node.height', 30*_ratio.ratioY);
- Node3.a('node.type', Node3type);
- Node3.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node3.a('node.background', 'rgba(73,192,209,1)');
- Node3.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node3.a('node.gradient', '');
- Node3.a('node.borderwidth', Node3BorderWidth);
- Node3.a('node.color', 'rgba(0,0,0,0)');
- Node3.a('node.fillrect', [0,0,0,0]);
- Node3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node3.a('node.fillgradient', '');
- if (Node3type !== 'rect') {
- Node3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node3.a('node.arcTo', parseFloat('@arcTo@'));
- Node3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node3type === 'arc') {
- Node3.a('node.arcOval', true);
- }
- Node3.setRotation(0*Math.PI/180);
- Node3.borderWidth = Node3BorderWidth;
- Node3.borderFillwidth = Node3BorderWidth;
- dataModel.add(Node3);
- Node3._nodename = 'Node3'
- Node3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node3, Node3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4 = new ht.Node();
- var Node4textStart, Node4textWidth, Node4lineStart, Node4align = 'left', Node4fontSize = 14.66663*_ratio.ratioY,Node4width = 157*_ratio.ratioX, Node4height = 24*_ratio.ratioY;
- (function () {
- if (Node4align === 'left') {
- Node4textStart = Node4fontSize * 0.2 > 2 ? Node4fontSize * 0.2 - 4 : Node4fontSize * 0.2 - 9;
- Node4textWidth = Node4width;
- Node4lineStart = 1;
- } else if (Node4align === 'right') {
- Node4textStart = 0;
- Node4textWidth =Node4fontSize <= 8 ? Node4width + Node4fontSize * 0.2 + 6 : Node4width - Node4fontSize * 0.2;
- Node4lineStart = (Node4width - (ht.Default.getTextSize('安全天数', 'bold '+ Node4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node4align === 'center') {
- Node4textStart = -3;
- Node4textWidth = Node4width;
- Node4lineStart = Node4width - ht.Default.getTextSize('安全天数', 'bold '+ Node4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node4.setImage(GD.getTextJSON(Node4width, Node4height, true, false, false, 'bold '+ Node4fontSize + 'px "Arial"'))
- Node4.setPosition(151*ratio.ratioX, 101*ratio.ratioY);
- Node4.setWidth(Node4width);
- Node4.setHeight(Node4height);
- Node4._nodeType = 'text';
- Node4._disallowEvert = true;
- Node4.setRotation(0*Math.PI/180);
- Node4.a('node.width', Node4width);
- Node4.a('node.height', Node4height);
- Node4.a('node.rect', [0, 0, Node4width, Node4height]);
- Node4.a('node.bordercolor','rgba(255,255,255,1)');
- Node4.a('node.borderwidth', 0);
- Node4.a('node.background','' || 'rgba(0,0,0,0)');
- Node4.a('node.gradient','');
- Node4.a('node.gradientcolor','');
- Node4.a('node.text','安全天数');
- Node4.a('node.textalign','left');
- Node4.a('node.textvAlign','middle');
- Node4.a('node.textrect', [Node4textStart, 0, Node4textWidth, Node4height]);
- Node4.a('node.color','rgba(255,255,255,1)');
- Node4.a('node.font','bold '+ Node4fontSize + 'px "Arial"');
- Node4.a('node.textvisible',true);
- Node4.a('node.linefeed',false);
- if (false) {
- Node4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node4.a('node.text') || '安全天数';
- var color=Node4.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node4width,Node4height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node4.a('node.underlinepoints',[Node4lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node4fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node4fontSize + 'px "Arial"').width + 6, (Node4height - Node4fontSize) * 0.5*_ratio.ratioY + Node4fontSize + 2 ]);
- Node4.a('node.underlinevisible',false);
- Node4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node4);
- zoomNodeList.push({
- node: Node4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5type = 'rect';
- var Node5 = new ht.Node(),
- Node5BorderWidth = 0*2;
- if (Node5type === 'arc') {
- Node5BorderWidth *= 0;
- }
- Node5.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node5.setPosition(87*ratio.ratioX, 138*ratio.ratioY);
- Node5.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node5.a('node.width', 105*_ratio.ratioX);
- Node5.a('node.height', 48*_ratio.ratioY);
- Node5.a('node.type', Node5type);
- Node5.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node5.a('node.gradientcolor', '');
- Node5.a('node.gradient', '');
- Node5.a('node.borderwidth', Node5BorderWidth);
- Node5.a('node.color', 'rgba(0,0,0,0)');
- Node5.a('node.fillrect', [0,0,0,0]);
- Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradient', '');
- if (Node5type !== 'rect') {
- Node5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node5.a('node.arcTo', parseFloat('@arcTo@'));
- Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node5type === 'arc') {
- Node5.a('node.arcOval', true);
- }
- Node5.setRotation(0*Math.PI/180);
- Node5.borderWidth = Node5BorderWidth;
- Node5.borderFillwidth = Node5BorderWidth;
- dataModel.add(Node5);
- Node5._nodename = 'Node5'
- Node5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6 = new ht.Node();
- var Node6textStart, Node6textWidth, Node6lineStart, Node6align = 'right', Node6fontSize = 19.99995*_ratio.ratioY,Node6width = 59*_ratio.ratioX, Node6height = 24*_ratio.ratioY;
- (function () {
- if (Node6align === 'left') {
- Node6textStart = Node6fontSize * 0.2 > 2 ? Node6fontSize * 0.2 - 4 : Node6fontSize * 0.2 - 9;
- Node6textWidth = Node6width;
- Node6lineStart = 1;
- } else if (Node6align === 'right') {
- Node6textStart = 0;
- Node6textWidth =Node6fontSize <= 8 ? Node6width + Node6fontSize * 0.2 + 6 : Node6width - Node6fontSize * 0.2;
- Node6lineStart = (Node6width - (ht.Default.getTextSize('0', ' '+ Node6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node6align === 'center') {
- Node6textStart = -3;
- Node6textWidth = Node6width;
- Node6lineStart = Node6width - ht.Default.getTextSize('0', ' '+ Node6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node6.setImage(GD.getTextJSON(Node6width, Node6height, true, false, false, ' '+ Node6fontSize + 'px "Arial"'))
- Node6.setPosition(82*ratio.ratioX, 146*ratio.ratioY);
- Node6.setWidth(Node6width);
- Node6.setHeight(Node6height);
- Node6._nodeType = 'text';
- Node6._disallowEvert = true;
- Node6.setRotation(0*Math.PI/180);
- Node6.a('node.width', Node6width);
- Node6.a('node.height', Node6height);
- Node6.a('node.rect', [0, 0, Node6width, Node6height]);
- Node6.a('node.bordercolor','rgba(0,0,0,1)');
- Node6.a('node.borderwidth', 0);
- Node6.a('node.background','' || 'rgba(0,0,0,0)');
- Node6.a('node.gradient','');
- Node6.a('node.gradientcolor','');
- Node6.a('node.text','0');
- Node6.a('node.textalign','right');
- Node6.a('node.textvAlign','middle');
- Node6.a('node.textrect', [Node6textStart, 0, Node6textWidth, Node6height]);
- Node6.a('node.color','rgba(0,0,0,1)');
- Node6.a('node.font',' '+ Node6fontSize + 'px "Arial"');
- Node6.a('node.textvisible',true);
- Node6.a('node.linefeed',false);
- if (false) {
- Node6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node6.a('node.text') || '0';
- var color=Node6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node6width,Node6height,19.99995*_ratio.ratioY,"right",color,' '+ Node6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node6.a('node.underlinepoints',[Node6lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node6fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node6fontSize + 'px "Arial"').width + 6, (Node6height - Node6fontSize) * 0.5*_ratio.ratioY + Node6fontSize + 2 ]);
- Node6.a('node.underlinevisible',false);
- Node6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node6);
- zoomNodeList.push({
- node: Node6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7type = 'rect';
- var Node7 = new ht.Node(),
- Node7BorderWidth = 0*2;
- if (Node7type === 'arc') {
- Node7BorderWidth *= 0;
- }
- Node7.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node7.setPosition(170*ratio.ratioX, 143*ratio.ratioY);
- Node7.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node7.a('node.width', 31*_ratio.ratioX);
- Node7.a('node.height', 31*_ratio.ratioY);
- Node7.a('node.type', Node7type);
- Node7.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node7.a('node.background', 'rgba(225,102,38,1)');
- Node7.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node7.a('node.gradient', '');
- Node7.a('node.borderwidth', Node7BorderWidth);
- Node7.a('node.color', 'rgba(0,0,0,0)');
- Node7.a('node.fillrect', [0,0,0,0]);
- Node7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node7.a('node.fillgradient', '');
- if (Node7type !== 'rect') {
- Node7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node7.a('node.arcTo', parseFloat('@arcTo@'));
- Node7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node7type === 'arc') {
- Node7.a('node.arcOval', true);
- }
- Node7.setRotation(0*Math.PI/180);
- Node7.borderWidth = Node7BorderWidth;
- Node7.borderFillwidth = Node7BorderWidth;
- dataModel.add(Node7);
- Node7._nodename = 'Node7'
- Node7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node7,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node7, Node7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8 = new ht.Node();
- var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'left', Node8fontSize = 13.3333*_ratio.ratioY,Node8width = 27*_ratio.ratioX, Node8height = 16*_ratio.ratioY;
- (function () {
- if (Node8align === 'left') {
- Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9;
- Node8textWidth = Node8width;
- Node8lineStart = 1;
- } else if (Node8align === 'right') {
- Node8textStart = 0;
- Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2;
- Node8lineStart = (Node8width - (ht.Default.getTextSize('天', 'bold '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node8align === 'center') {
- Node8textStart = -3;
- Node8textWidth = Node8width;
- Node8lineStart = Node8width - ht.Default.getTextSize('天', 'bold '+ Node8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, 'bold '+ Node8fontSize + 'px "Arial"'))
- Node8.setPosition(174*ratio.ratioX, 145*ratio.ratioY);
- Node8.setWidth(Node8width);
- Node8.setHeight(Node8height);
- Node8._nodeType = 'text';
- Node8._disallowEvert = true;
- Node8.setRotation(0*Math.PI/180);
- Node8.a('node.width', Node8width);
- Node8.a('node.height', Node8height);
- Node8.a('node.rect', [0, 0, Node8width, Node8height]);
- Node8.a('node.bordercolor','rgba(255,255,255,1)');
- Node8.a('node.borderwidth', 0);
- Node8.a('node.background','' || 'rgba(0,0,0,0)');
- Node8.a('node.gradient','');
- Node8.a('node.gradientcolor','');
- Node8.a('node.text','天');
- Node8.a('node.textalign','left');
- Node8.a('node.textvAlign','middle');
- Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]);
- Node8.a('node.color','rgba(255,255,255,1)');
- Node8.a('node.font','bold '+ Node8fontSize + 'px "Arial"');
- Node8.a('node.textvisible',true);
- Node8.a('node.linefeed',false);
- if (false) {
- Node8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node8.a('node.text') || '天';
- var color=Node8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node8width,Node8height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node8.a('node.underlinepoints',[Node8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]);
- Node8.a('node.underlinevisible',false);
- Node8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node8);
- zoomNodeList.push({
- node: Node8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 53*_ratio.ratioX, Node9height = 30*_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('合', 'bold '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9align === 'center') {
- Node9textStart = -3;
- Node9textWidth = Node9width;
- Node9lineStart = Node9width - ht.Default.getTextSize('合', 'bold '+ Node9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, 'bold '+ Node9fontSize + 'px "Arial"'))
- Node9.setPosition(35*ratio.ratioX, 83*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(255,255,255,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','合');
- Node9.a('node.textalign','left');
- Node9.a('node.textvAlign','middle');
- Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
- Node9.a('node.color','rgba(255,255,255,1)');
- Node9.a('node.font','bold '+ 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') || '合';
- var color=Node9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9.a('node.underlinepoints',[Node9lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ 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 Node10 = new ht.Node();
- var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'left', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 53*_ratio.ratioX, Node10height = 30*_ratio.ratioY;
- (function () {
- if (Node10align === 'left') {
- Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
- Node10textWidth = Node10width;
- Node10lineStart = 1;
- } else if (Node10align === 'right') {
- Node10textStart = 0;
- Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
- Node10lineStart = (Node10width - (ht.Default.getTextSize('指', 'bold '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node10align === 'center') {
- Node10textStart = -3;
- Node10textWidth = Node10width;
- Node10lineStart = Node10width - ht.Default.getTextSize('指', 'bold '+ Node10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, 'bold '+ Node10fontSize + 'px "Arial"'))
- Node10.setPosition(35*ratio.ratioX, 110*ratio.ratioY);
- Node10.setWidth(Node10width);
- Node10.setHeight(Node10height);
- Node10._nodeType = 'text';
- Node10._disallowEvert = true;
- Node10.setRotation(0*Math.PI/180);
- Node10.a('node.width', Node10width);
- Node10.a('node.height', Node10height);
- Node10.a('node.rect', [0, 0, Node10width, Node10height]);
- Node10.a('node.bordercolor','rgba(255,255,255,1)');
- Node10.a('node.borderwidth', 0);
- Node10.a('node.background','' || 'rgba(0,0,0,0)');
- Node10.a('node.gradient','');
- Node10.a('node.gradientcolor','');
- Node10.a('node.text','指');
- Node10.a('node.textalign','left');
- Node10.a('node.textvAlign','middle');
- Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
- Node10.a('node.color','rgba(255,255,255,1)');
- Node10.a('node.font','bold '+ Node10fontSize + 'px "Arial"');
- Node10.a('node.textvisible',true);
- Node10.a('node.linefeed',false);
- if (false) {
- Node10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node10.a('node.text') || '指';
- var color=Node10.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10.a('node.underlinepoints',[Node10lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
- Node10.a('node.underlinevisible',false);
- Node10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node10);
- zoomNodeList.push({
- node: Node10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11 = new ht.Node();
- var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 53*_ratio.ratioX, Node11height = 30*_ratio.ratioY;
- (function () {
- if (Node11align === 'left') {
- Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
- Node11textWidth = Node11width;
- Node11lineStart = 1;
- } else if (Node11align === 'right') {
- Node11textStart = 0;
- Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
- Node11lineStart = (Node11width - (ht.Default.getTextSize('标', 'bold '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node11align === 'center') {
- Node11textStart = -3;
- Node11textWidth = Node11width;
- Node11lineStart = Node11width - ht.Default.getTextSize('标', 'bold '+ Node11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, 'bold '+ Node11fontSize + 'px "Arial"'))
- Node11.setPosition(35*ratio.ratioX, 140*ratio.ratioY);
- Node11.setWidth(Node11width);
- Node11.setHeight(Node11height);
- Node11._nodeType = 'text';
- Node11._disallowEvert = true;
- Node11.setRotation(0*Math.PI/180);
- Node11.a('node.width', Node11width);
- Node11.a('node.height', Node11height);
- Node11.a('node.rect', [0, 0, Node11width, Node11height]);
- Node11.a('node.bordercolor','rgba(255,255,255,1)');
- Node11.a('node.borderwidth', 0);
- Node11.a('node.background','' || 'rgba(0,0,0,0)');
- Node11.a('node.gradient','');
- Node11.a('node.gradientcolor','');
- Node11.a('node.text','标');
- Node11.a('node.textalign','left');
- Node11.a('node.textvAlign','middle');
- Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
- Node11.a('node.color','rgba(255,255,255,1)');
- Node11.a('node.font','bold '+ Node11fontSize + 'px "Arial"');
- Node11.a('node.textvisible',true);
- Node11.a('node.linefeed',false);
- if (false) {
- Node11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node11.a('node.text') || '标';
- var color=Node11.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node11.a('node.underlinepoints',[Node11lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
- Node11.a('node.underlinevisible',false);
- Node11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11);
- zoomNodeList.push({
- node: Node11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node12_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//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node12_0 = new ht.Node();
- Node12_0.setPosition(111*ratio.ratioX, 61*ratio.ratioY);
- Node12_0.setSize(155*ratioX, 45*ratioY);
- Node12_0.setImage('imgimage//喜欢的蓝色.png');
- Node12_0.setRotation(0*Math.PI/180);
- Node12_0._zoomBy = 'Default';
- Node12_0._nodeType = 'image';
- Node12_0._disallowEvert = true;
- dataModel.add(Node12_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12_1 = new ht.Node();
- var Node12_1textStart, Node12_1textWidth, Node12_1lineStart, Node12_1align = 'left', Node12_1fontSize = 17.33329*_ratio.ratioY,Node12_1width = 143*_ratio.ratioX, Node12_1height = 49*_ratio.ratioY;
- (function () {
- if (Node12_1align === 'left') {
- Node12_1textStart = Node12_1fontSize * 0.2 > 2 ? Node12_1fontSize * 0.2 - 4 : Node12_1fontSize * 0.2 - 9;
- Node12_1textWidth = Node12_1width;
- Node12_1lineStart = 1;
- } else if (Node12_1align === 'right') {
- Node12_1textStart = 0;
- Node12_1textWidth =Node12_1fontSize <= 8 ? Node12_1width + Node12_1fontSize * 0.2 + 6 : Node12_1width - Node12_1fontSize * 0.2;
- Node12_1lineStart = (Node12_1width - (ht.Default.getTextSize('平鲁虎头山电场', ' '+ Node12_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node12_1align === 'center') {
- Node12_1textStart = -3;
- Node12_1textWidth = Node12_1width;
- Node12_1lineStart = Node12_1width - ht.Default.getTextSize('平鲁虎头山电场', ' '+ Node12_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node12_1.setImage(GD.getTextJSON(Node12_1width, Node12_1height, true, false, false, ' '+ Node12_1fontSize + 'px "Arial"'))
- Node12_1.setPosition(114*ratio.ratioX, 63*ratio.ratioY);
- Node12_1.setWidth(Node12_1width);
- Node12_1.setHeight(Node12_1height);
- Node12_1._nodeType = 'text';
- Node12_1._disallowEvert = true;
- Node12_1.setRotation(0*Math.PI/180);
- Node12_1.a('node.width', Node12_1width);
- Node12_1.a('node.height', Node12_1height);
- Node12_1.a('node.rect', [0, 0, Node12_1width, Node12_1height]);
- Node12_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node12_1.a('node.borderwidth', 0);
- Node12_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node12_1.a('node.gradient','');
- Node12_1.a('node.gradientcolor','');
- Node12_1.a('node.text','平鲁虎头山电场');
- Node12_1.a('node.textalign','left');
- Node12_1.a('node.textvAlign','middle');
- Node12_1.a('node.textrect', [Node12_1textStart, 0, Node12_1textWidth, Node12_1height]);
- Node12_1.a('node.color','rgba(255,255,255,1)');
- Node12_1.a('node.font',' '+ Node12_1fontSize + 'px "Arial"');
- Node12_1.a('node.textvisible',true);
- Node12_1.a('node.linefeed',false);
- if (false) {
- Node12_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node12_1.a('node.text') || '平鲁虎头山电场';
- var color=Node12_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node12_1width,Node12_1height,17.33329*_ratio.ratioY,"left",color,' '+ Node12_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node12_1.a('node.underlinepoints',[Node12_1lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node12_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山电场', ' '+ Node12_1fontSize + 'px "Arial"').width + 6, (Node12_1height - Node12_1fontSize) * 0.5*_ratio.ratioY + Node12_1fontSize + 2 ]);
- Node12_1.a('node.underlinevisible',false);
- Node12_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node12_1);
- zoomNodeList.push({
- node: Node12_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node13_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');
- Node13_0 = new ht.Node();
- Node13_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node13_0.setSize(27*ratioX, 101*ratioY);
- Node13_0.setImage('imgimage//left_menu_out0.png');
- Node13_0.setRotation(0*Math.PI/180);
- Node13_0._zoomBy = 'Default';
- Node13_0._nodeType = 'image';
- Node13_0._disallowEvert = true;
- dataModel.add(Node13_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13_1 = new ht.Node();
- var Node13_1textStart, Node13_1textWidth, Node13_1lineStart, Node13_1align = 'left', Node13_1fontSize = 19.99995*_ratio.ratioY,Node13_1width = 23*_ratio.ratioX, Node13_1height = 76*_ratio.ratioY;
- (function () {
- if (Node13_1align === 'left') {
- Node13_1textStart = Node13_1fontSize * 0.2 > 2 ? Node13_1fontSize * 0.2 - 4 : Node13_1fontSize * 0.2 - 9;
- Node13_1textWidth = Node13_1width;
- Node13_1lineStart = 1;
- } else if (Node13_1align === 'right') {
- Node13_1textStart = 0;
- Node13_1textWidth =Node13_1fontSize <= 8 ? Node13_1width + Node13_1fontSize * 0.2 + 6 : Node13_1width - Node13_1fontSize * 0.2;
- Node13_1lineStart = (Node13_1width - (ht.Default.getTextSize('排布图', ' '+ Node13_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node13_1align === 'center') {
- Node13_1textStart = -3;
- Node13_1textWidth = Node13_1width;
- Node13_1lineStart = Node13_1width - ht.Default.getTextSize('排布图', ' '+ Node13_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node13_1.setImage(GD.getTextJSON(Node13_1width, Node13_1height, false, true, false, ' '+ Node13_1fontSize + 'px "Arial"'))
- Node13_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
- Node13_1.setWidth(Node13_1width);
- Node13_1.setHeight(Node13_1height);
- Node13_1._nodeType = 'text';
- Node13_1._disallowEvert = true;
- Node13_1.setRotation(0*Math.PI/180);
- Node13_1.a('node.width', Node13_1width);
- Node13_1.a('node.height', Node13_1height);
- Node13_1.a('node.rect', [0, 0, Node13_1width, Node13_1height]);
- Node13_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node13_1.a('node.borderwidth', 0);
- Node13_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node13_1.a('node.gradient','');
- Node13_1.a('node.gradientcolor','');
- Node13_1.a('node.text','排布图');
- Node13_1.a('node.textalign','left');
- Node13_1.a('node.textvAlign','middle');
- Node13_1.a('node.textrect', [Node13_1textStart, 0, Node13_1textWidth, Node13_1height]);
- Node13_1.a('node.color','rgba(0,0,0,1)');
- Node13_1.a('node.font',' '+ Node13_1fontSize + 'px "Arial"');
- Node13_1.a('node.textvisible',false);
- Node13_1.a('node.linefeed',true);
- if (true) {
- Node13_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node13_1.a('node.text') || '排布图';
- var color=Node13_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node13_1width,Node13_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node13_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node13_1.a('node.underlinepoints',[Node13_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node13_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node13_1fontSize + 'px "Arial"').width + 6, (Node13_1height - Node13_1fontSize) * 0.5*_ratio.ratioY + Node13_1fontSize + 2 ]);
- Node13_1.a('node.underlinevisible',false);
- Node13_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node13_1);
- zoomNodeList.push({
- node: Node13_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node14_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');
- Node14_0 = new ht.Node();
- Node14_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node14_0.setSize(27*ratioX, 101*ratioY);
- Node14_0.setImage('imgimage//left_menu_out0.png');
- Node14_0.setRotation(0*Math.PI/180);
- Node14_0._zoomBy = 'Default';
- Node14_0._nodeType = 'image';
- Node14_0._disallowEvert = true;
- dataModel.add(Node14_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14_1 = new ht.Node();
- var Node14_1textStart, Node14_1textWidth, Node14_1lineStart, Node14_1align = 'left', Node14_1fontSize = 18.66662*_ratio.ratioY,Node14_1width = 23*_ratio.ratioX, Node14_1height = 76*_ratio.ratioY;
- (function () {
- if (Node14_1align === 'left') {
- Node14_1textStart = Node14_1fontSize * 0.2 > 2 ? Node14_1fontSize * 0.2 - 4 : Node14_1fontSize * 0.2 - 9;
- Node14_1textWidth = Node14_1width;
- Node14_1lineStart = 1;
- } else if (Node14_1align === 'right') {
- Node14_1textStart = 0;
- Node14_1textWidth =Node14_1fontSize <= 8 ? Node14_1width + Node14_1fontSize * 0.2 + 6 : Node14_1width - Node14_1fontSize * 0.2;
- Node14_1lineStart = (Node14_1width - (ht.Default.getTextSize('总貌图', ' '+ Node14_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node14_1align === 'center') {
- Node14_1textStart = -3;
- Node14_1textWidth = Node14_1width;
- Node14_1lineStart = Node14_1width - ht.Default.getTextSize('总貌图', ' '+ Node14_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node14_1.setImage(GD.getTextJSON(Node14_1width, Node14_1height, false, true, false, ' '+ Node14_1fontSize + 'px "Arial"'))
- Node14_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node14_1.setWidth(Node14_1width);
- Node14_1.setHeight(Node14_1height);
- Node14_1._nodeType = 'text';
- Node14_1._disallowEvert = true;
- Node14_1.setRotation(0*Math.PI/180);
- Node14_1.a('node.width', Node14_1width);
- Node14_1.a('node.height', Node14_1height);
- Node14_1.a('node.rect', [0, 0, Node14_1width, Node14_1height]);
- Node14_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node14_1.a('node.borderwidth', 0);
- Node14_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node14_1.a('node.gradient','');
- Node14_1.a('node.gradientcolor','');
- Node14_1.a('node.text','总貌图');
- Node14_1.a('node.textalign','left');
- Node14_1.a('node.textvAlign','middle');
- Node14_1.a('node.textrect', [Node14_1textStart, 0, Node14_1textWidth, Node14_1height]);
- Node14_1.a('node.color','rgba(0,0,0,1)');
- Node14_1.a('node.font',' '+ Node14_1fontSize + 'px "Arial"');
- Node14_1.a('node.textvisible',false);
- Node14_1.a('node.linefeed',true);
- if (true) {
- Node14_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node14_1.a('node.text') || '总貌图';
- var color=Node14_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node14_1width,Node14_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node14_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node14_1.a('node.underlinepoints',[Node14_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node14_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node14_1fontSize + 'px "Arial"').width + 6, (Node14_1height - Node14_1fontSize) * 0.5*_ratio.ratioY + Node14_1fontSize + 2 ]);
- Node14_1.a('node.underlinevisible',false);
- Node14_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node14_1);
- zoomNodeList.push({
- node: Node14_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node15_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');
- Node15_0 = new ht.Node();
- Node15_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node15_0.setSize(27*ratioX, 101*ratioY);
- Node15_0.setImage('imgimage//left_menu_out0.png');
- Node15_0.setRotation(0*Math.PI/180);
- Node15_0._zoomBy = 'Default';
- Node15_0._nodeType = 'image';
- Node15_0._disallowEvert = true;
- dataModel.add(Node15_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15_1 = new ht.Node();
- var Node15_1textStart, Node15_1textWidth, Node15_1lineStart, Node15_1align = 'left', Node15_1fontSize = 18.66662*_ratio.ratioY,Node15_1width = 23*_ratio.ratioX, Node15_1height = 76*_ratio.ratioY;
- (function () {
- if (Node15_1align === 'left') {
- Node15_1textStart = Node15_1fontSize * 0.2 > 2 ? Node15_1fontSize * 0.2 - 4 : Node15_1fontSize * 0.2 - 9;
- Node15_1textWidth = Node15_1width;
- Node15_1lineStart = 1;
- } else if (Node15_1align === 'right') {
- Node15_1textStart = 0;
- Node15_1textWidth =Node15_1fontSize <= 8 ? Node15_1width + Node15_1fontSize * 0.2 + 6 : Node15_1width - Node15_1fontSize * 0.2;
- Node15_1lineStart = (Node15_1width - (ht.Default.getTextSize('升压站', ' '+ Node15_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node15_1align === 'center') {
- Node15_1textStart = -3;
- Node15_1textWidth = Node15_1width;
- Node15_1lineStart = Node15_1width - ht.Default.getTextSize('升压站', ' '+ Node15_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node15_1.setImage(GD.getTextJSON(Node15_1width, Node15_1height, false, true, false, ' '+ Node15_1fontSize + 'px "Arial"'))
- Node15_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node15_1.setWidth(Node15_1width);
- Node15_1.setHeight(Node15_1height);
- Node15_1._nodeType = 'text';
- Node15_1._disallowEvert = true;
- Node15_1.setRotation(0*Math.PI/180);
- Node15_1.a('node.width', Node15_1width);
- Node15_1.a('node.height', Node15_1height);
- Node15_1.a('node.rect', [0, 0, Node15_1width, Node15_1height]);
- Node15_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node15_1.a('node.borderwidth', 0);
- Node15_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node15_1.a('node.gradient','');
- Node15_1.a('node.gradientcolor','');
- Node15_1.a('node.text','升压站');
- Node15_1.a('node.textalign','left');
- Node15_1.a('node.textvAlign','middle');
- Node15_1.a('node.textrect', [Node15_1textStart, 0, Node15_1textWidth, Node15_1height]);
- Node15_1.a('node.color','rgba(0,0,0,1)');
- Node15_1.a('node.font',' '+ Node15_1fontSize + 'px "Arial"');
- Node15_1.a('node.textvisible',false);
- Node15_1.a('node.linefeed',true);
- if (true) {
- Node15_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node15_1.a('node.text') || '升压站';
- var color=Node15_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node15_1width,Node15_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node15_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node15_1.a('node.underlinepoints',[Node15_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node15_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node15_1fontSize + 'px "Arial"').width + 6, (Node15_1height - Node15_1fontSize) * 0.5*_ratio.ratioY + Node15_1fontSize + 2 ]);
- Node15_1.a('node.underlinevisible',false);
- Node15_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node15_1);
- zoomNodeList.push({
- node: Node15_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node16_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');
- Node16_0 = new ht.Node();
- Node16_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node16_0.setSize(27*ratioX, 101*ratioY);
- Node16_0.setImage('imgimage//left_menu_out0.png');
- Node16_0.setRotation(0*Math.PI/180);
- Node16_0._zoomBy = 'Default';
- Node16_0._nodeType = 'image';
- Node16_0._disallowEvert = true;
- dataModel.add(Node16_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16_1 = new ht.Node();
- var Node16_1textStart, Node16_1textWidth, Node16_1lineStart, Node16_1align = 'left', Node16_1fontSize = 18.66662*_ratio.ratioY,Node16_1width = 23*_ratio.ratioX, Node16_1height = 76*_ratio.ratioY;
- (function () {
- if (Node16_1align === 'left') {
- Node16_1textStart = Node16_1fontSize * 0.2 > 2 ? Node16_1fontSize * 0.2 - 4 : Node16_1fontSize * 0.2 - 9;
- Node16_1textWidth = Node16_1width;
- Node16_1lineStart = 1;
- } else if (Node16_1align === 'right') {
- Node16_1textStart = 0;
- Node16_1textWidth =Node16_1fontSize <= 8 ? Node16_1width + Node16_1fontSize * 0.2 + 6 : Node16_1width - Node16_1fontSize * 0.2;
- Node16_1lineStart = (Node16_1width - (ht.Default.getTextSize('风机信息', ' '+ Node16_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16_1align === 'center') {
- Node16_1textStart = -3;
- Node16_1textWidth = Node16_1width;
- Node16_1lineStart = Node16_1width - ht.Default.getTextSize('风机信息', ' '+ Node16_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16_1.setImage(GD.getTextJSON(Node16_1width, Node16_1height, false, true, false, ' '+ Node16_1fontSize + 'px "Arial"'))
- Node16_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node16_1.setWidth(Node16_1width);
- Node16_1.setHeight(Node16_1height);
- Node16_1._nodeType = 'text';
- Node16_1._disallowEvert = true;
- Node16_1.setRotation(0*Math.PI/180);
- Node16_1.a('node.width', Node16_1width);
- Node16_1.a('node.height', Node16_1height);
- Node16_1.a('node.rect', [0, 0, Node16_1width, Node16_1height]);
- Node16_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node16_1.a('node.borderwidth', 0);
- Node16_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node16_1.a('node.gradient','');
- Node16_1.a('node.gradientcolor','');
- Node16_1.a('node.text','风机信息');
- Node16_1.a('node.textalign','left');
- Node16_1.a('node.textvAlign','middle');
- Node16_1.a('node.textrect', [Node16_1textStart, 0, Node16_1textWidth, Node16_1height]);
- Node16_1.a('node.color','rgba(0,0,0,1)');
- Node16_1.a('node.font',' '+ Node16_1fontSize + 'px "Arial"');
- Node16_1.a('node.textvisible',false);
- Node16_1.a('node.linefeed',true);
- if (true) {
- Node16_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node16_1.a('node.text') || '风机信息';
- var color=Node16_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node16_1width,Node16_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node16_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16_1.a('node.underlinepoints',[Node16_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node16_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node16_1fontSize + 'px "Arial"').width + 6, (Node16_1height - Node16_1fontSize) * 0.5*_ratio.ratioY + Node16_1fontSize + 2 ]);
- Node16_1.a('node.underlinevisible',false);
- Node16_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node16_1);
- zoomNodeList.push({
- node: Node16_1,
- 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//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node17_0 = new ht.Node();
- Node17_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node17_0.setSize(27*ratioX, 101*ratioY);
- Node17_0.setImage('imgimage//left_menu_out0.png');
- 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.Node();
- var Node17_1textStart, Node17_1textWidth, Node17_1lineStart, Node17_1align = 'left', Node17_1fontSize = 18.66662*_ratio.ratioY,Node17_1width = 23*_ratio.ratioX, Node17_1height = 76*_ratio.ratioY;
- (function () {
- if (Node17_1align === 'left') {
- Node17_1textStart = Node17_1fontSize * 0.2 > 2 ? Node17_1fontSize * 0.2 - 4 : Node17_1fontSize * 0.2 - 9;
- Node17_1textWidth = Node17_1width;
- Node17_1lineStart = 1;
- } else if (Node17_1align === 'right') {
- Node17_1textStart = 0;
- Node17_1textWidth =Node17_1fontSize <= 8 ? Node17_1width + Node17_1fontSize * 0.2 + 6 : Node17_1width - Node17_1fontSize * 0.2;
- Node17_1lineStart = (Node17_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node17_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node17_1align === 'center') {
- Node17_1textStart = -3;
- Node17_1textWidth = Node17_1width;
- Node17_1lineStart = Node17_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node17_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node17_1.setImage(GD.getTextJSON(Node17_1width, Node17_1height, false, true, false, ' '+ Node17_1fontSize + 'px "Arial"'))
- Node17_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node17_1.setWidth(Node17_1width);
- Node17_1.setHeight(Node17_1height);
- Node17_1._nodeType = 'text';
- Node17_1._disallowEvert = true;
- Node17_1.setRotation(0*Math.PI/180);
- Node17_1.a('node.width', Node17_1width);
- Node17_1.a('node.height', Node17_1height);
- Node17_1.a('node.rect', [0, 0, Node17_1width, Node17_1height]);
- Node17_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node17_1.a('node.borderwidth', 0);
- Node17_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node17_1.a('node.gradient','');
- Node17_1.a('node.gradientcolor','');
- Node17_1.a('node.text','风机矩阵');
- Node17_1.a('node.textalign','left');
- Node17_1.a('node.textvAlign','middle');
- Node17_1.a('node.textrect', [Node17_1textStart, 0, Node17_1textWidth, Node17_1height]);
- Node17_1.a('node.color','rgba(0,0,0,1)');
- Node17_1.a('node.font',' '+ Node17_1fontSize + 'px "Arial"');
- Node17_1.a('node.textvisible',false);
- Node17_1.a('node.linefeed',true);
- if (true) {
- Node17_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node17_1.a('node.text') || '风机矩阵';
- var color=Node17_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node17_1width,Node17_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node17_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node17_1.a('node.underlinepoints',[Node17_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node17_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node17_1fontSize + 'px "Arial"').width + 6, (Node17_1height - Node17_1fontSize) * 0.5*_ratio.ratioY + Node17_1fontSize + 2 ]);
- Node17_1.a('node.underlinevisible',false);
- Node17_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node17_1);
- zoomNodeList.push({
- node: Node17_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); 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, 519*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 = 18.66662*_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, 517*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,18.66662*0.5*_ratio.ratioY,Node18_1width,Node18_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node18_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18_1.a('node.underlinepoints',[Node18_1lineStart, (76 - 18.66662) * 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_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node19_0 = new ht.Node();
- Node19_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node19_0.setSize(27*ratioX, 101*ratioY);
- Node19_0.setImage('imgimage//left_menu_over0.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 = 19.99995*_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(11*ratio.ratioX, 217*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,19.99995*0.5*_ratio.ratioY,Node19_1width,Node19_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node19_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19_1.a('node.underlinepoints',[Node19_1lineStart, (76 - 19.99995) * 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_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node20_0 = new ht.Node();
- Node20_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node20_0.setSize(27*ratioX, 101*ratioY);
- Node20_0.setImage('imgimage//left_menu_over0.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, 317*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_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node21_0 = new ht.Node();
- Node21_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node21_0.setSize(27*ratioX, 101*ratioY);
- Node21_0.setImage('imgimage//left_menu_over0.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, 417*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_over0.png', PAGEROOTDIR + 'image//left_menu_over0.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_over0.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_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node23_0 = new ht.Node();
- Node23_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node23_0.setSize(27*ratioX, 101*ratioY);
- Node23_0.setImage('imgimage//left_menu_over0.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, 617*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, 519*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 = 18.66662*_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(12*ratio.ratioX, 517*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,18.66662*0.5*_ratio.ratioY,Node24_1width,Node24_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node24_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24_1.a('node.underlinepoints',[Node24_1lineStart, (76 - 18.66662) * 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25type = 'rect';
- var Node25 = new ht.Node(),
- Node25BorderWidth = 1*2;
- if (Node25type === 'arc') {
- Node25BorderWidth *= 1;
- }
- Node25.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node25type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node25.setPosition(1333*ratio.ratioX, 99*ratio.ratioY);
- Node25.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node25.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node25.a('node.width', 27*_ratio.ratioX);
- Node25.a('node.height', 121*_ratio.ratioY);
- Node25.a('node.type', Node25type);
- Node25.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node25.a('node.background', 'rgba(0,0,0,1)');
- Node25.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node25.a('node.gradient', '');
- Node25.a('node.borderwidth', Node25BorderWidth);
- Node25.a('node.color', 'rgba(0,0,255,1)');
- Node25.a('node.fillrect', [0,0,0,0]);
- Node25.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node25.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node25.a('node.fillgradient', '');
- if (Node25type !== 'rect') {
- Node25.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node25.a('node.arcTo', parseFloat('@arcTo@'));
- Node25.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node25type === 'arc') {
- Node25.a('node.arcOval', true);
- }
- Node25.setRotation(0*Math.PI/180);
- Node25.borderWidth = Node25BorderWidth;
- Node25.borderFillwidth = Node25BorderWidth;
- dataModel.add(Node25);
- Node25._nodename = 'Node25'
- Node25._nodeType = 'rect';
- zoomNodeList.push({
- node: Node25,
- 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);
- }
- })(Node25, Node25.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26 = new ht.Node();
- var Node26textStart, Node26textWidth, Node26lineStart, Node26align = 'left', Node26fontSize = 11.99997*_ratio.ratioY,Node26width = 53*_ratio.ratioX, Node26height = 20*_ratio.ratioY;
- (function () {
- if (Node26align === 'left') {
- Node26textStart = Node26fontSize * 0.2 > 2 ? Node26fontSize * 0.2 - 4 : Node26fontSize * 0.2 - 9;
- Node26textWidth = Node26width;
- Node26lineStart = 1;
- } else if (Node26align === 'right') {
- Node26textStart = 0;
- Node26textWidth =Node26fontSize <= 8 ? Node26width + Node26fontSize * 0.2 + 6 : Node26width - Node26fontSize * 0.2;
- Node26lineStart = (Node26width - (ht.Default.getTextSize('风', 'bold '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26align === 'center') {
- Node26textStart = -3;
- Node26textWidth = Node26width;
- Node26lineStart = Node26width - ht.Default.getTextSize('风', 'bold '+ Node26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, 'bold '+ Node26fontSize + 'px "Arial"'))
- Node26.setPosition(1350*ratio.ratioX, 65*ratio.ratioY);
- Node26.setWidth(Node26width);
- Node26.setHeight(Node26height);
- Node26._nodeType = 'text';
- Node26._disallowEvert = true;
- Node26.setRotation(0*Math.PI/180);
- Node26.a('node.width', Node26width);
- Node26.a('node.height', Node26height);
- Node26.a('node.rect', [0, 0, Node26width, Node26height]);
- Node26.a('node.bordercolor','rgba(255,255,255,1)');
- Node26.a('node.borderwidth', 0);
- Node26.a('node.background','' || 'rgba(0,0,0,0)');
- Node26.a('node.gradient','');
- Node26.a('node.gradientcolor','');
- Node26.a('node.text','风');
- Node26.a('node.textalign','left');
- Node26.a('node.textvAlign','middle');
- Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
- Node26.a('node.color','rgba(255,255,255,1)');
- Node26.a('node.font','bold '+ Node26fontSize + 'px "Arial"');
- Node26.a('node.textvisible',true);
- Node26.a('node.linefeed',false);
- if (false) {
- Node26.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node26.a('node.text') || '风';
- var color=Node26.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node26width,Node26height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node26fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26.a('node.underlinepoints',[Node26lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node26fontSize + 'px "Arial"').width + 6, (Node26height - Node26fontSize) * 0.5*_ratio.ratioY + Node26fontSize + 2 ]);
- Node26.a('node.underlinevisible',false);
- Node26.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node26);
- zoomNodeList.push({
- node: Node26,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27type = 'rect';
- var Node27 = new ht.Node(),
- Node27BorderWidth = 1*2;
- if (Node27type === 'arc') {
- Node27BorderWidth *= 1;
- }
- Node27.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node27type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27.setPosition(1412*ratio.ratioX, 99*ratio.ratioY);
- Node27.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node27.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27.a('node.width', 130*_ratio.ratioX);
- Node27.a('node.height', 121*_ratio.ratioY);
- Node27.a('node.type', Node27type);
- Node27.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node27.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node27.a('node.gradientcolor', '');
- Node27.a('node.gradient', '');
- Node27.a('node.borderwidth', Node27BorderWidth);
- Node27.a('node.color', 'rgba(128,128,128,1)');
- Node27.a('node.fillrect', [0,0,0,0]);
- Node27.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27.a('node.fillgradient', '');
- if (Node27type !== 'rect') {
- Node27.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27.a('node.arcTo', parseFloat('@arcTo@'));
- Node27.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27type === 'arc') {
- Node27.a('node.arcOval', true);
- }
- Node27.setRotation(0*Math.PI/180);
- Node27.borderWidth = Node27BorderWidth;
- Node27.borderFillwidth = Node27BorderWidth;
- dataModel.add(Node27);
- Node27._nodename = 'Node27'
- Node27._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27,
- 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);
- }
- })(Node27, Node27.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28 = new ht.Node();
- var Node28textStart, Node28textWidth, Node28lineStart, Node28align = 'left', Node28fontSize = 13.3333*_ratio.ratioY,Node28width = 59*_ratio.ratioX, Node28height = 25*_ratio.ratioY;
- (function () {
- if (Node28align === 'left') {
- Node28textStart = Node28fontSize * 0.2 > 2 ? Node28fontSize * 0.2 - 4 : Node28fontSize * 0.2 - 9;
- Node28textWidth = Node28width;
- Node28lineStart = 1;
- } else if (Node28align === 'right') {
- Node28textStart = 0;
- Node28textWidth =Node28fontSize <= 8 ? Node28width + Node28fontSize * 0.2 + 6 : Node28width - Node28fontSize * 0.2;
- Node28lineStart = (Node28width - (ht.Default.getTextSize('接入', ' '+ Node28fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28align === 'center') {
- Node28textStart = -3;
- Node28textWidth = Node28width;
- Node28lineStart = Node28width - ht.Default.getTextSize('接入', ' '+ Node28fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28.setImage(GD.getTextJSON(Node28width, Node28height, true, false, false, ' '+ Node28fontSize + 'px "Arial"'))
- Node28.setPosition(1381*ratio.ratioX, 53*ratio.ratioY);
- Node28.setWidth(Node28width);
- Node28.setHeight(Node28height);
- Node28._nodeType = 'text';
- Node28._disallowEvert = true;
- Node28.setRotation(0*Math.PI/180);
- Node28.a('node.width', Node28width);
- Node28.a('node.height', Node28height);
- Node28.a('node.rect', [0, 0, Node28width, Node28height]);
- Node28.a('node.bordercolor','rgba(105,105,105,1)');
- Node28.a('node.borderwidth', 0);
- Node28.a('node.background','' || 'rgba(0,0,0,0)');
- Node28.a('node.gradient','');
- Node28.a('node.gradientcolor','');
- Node28.a('node.text','接入');
- Node28.a('node.textalign','left');
- Node28.a('node.textvAlign','middle');
- Node28.a('node.textrect', [Node28textStart, 0, Node28textWidth, Node28height]);
- Node28.a('node.color','rgba(105,105,105,1)');
- Node28.a('node.font',' '+ Node28fontSize + 'px "Arial"');
- Node28.a('node.textvisible',true);
- Node28.a('node.linefeed',false);
- if (false) {
- Node28.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28.a('node.text') || '接入';
- var color=Node28.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28width,Node28height,13.3333*_ratio.ratioY,"left",color,' '+ Node28fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node28.a('node.underlinepoints',[Node28lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node28fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node28fontSize + 'px "Arial"').width + 6, (Node28height - Node28fontSize) * 0.5*_ratio.ratioY + Node28fontSize + 2 ]);
- Node28.a('node.underlinevisible',false);
- Node28.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28);
- zoomNodeList.push({
- node: Node28,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29 = new ht.Node();
- var Node29textStart, Node29textWidth, Node29lineStart, Node29align = 'center', Node29fontSize = 33.33325*_ratio.ratioY,Node29width = 87*_ratio.ratioX, Node29height = 41*_ratio.ratioY;
- (function () {
- if (Node29align === 'left') {
- Node29textStart = Node29fontSize * 0.2 > 2 ? Node29fontSize * 0.2 - 4 : Node29fontSize * 0.2 - 9;
- Node29textWidth = Node29width;
- Node29lineStart = 1;
- } else if (Node29align === 'right') {
- Node29textStart = 0;
- Node29textWidth =Node29fontSize <= 8 ? Node29width + Node29fontSize * 0.2 + 6 : Node29width - Node29fontSize * 0.2;
- Node29lineStart = (Node29width - (ht.Default.getTextSize('2 8 7', ' '+ Node29fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29align === 'center') {
- Node29textStart = -3;
- Node29textWidth = Node29width;
- Node29lineStart = Node29width - ht.Default.getTextSize('2 8 7', ' '+ Node29fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29.setImage(GD.getTextJSON(Node29width, Node29height, true, false, false, ' '+ Node29fontSize + 'px "UniDreamLED"'))
- Node29.setPosition(1410*ratio.ratioX, 102*ratio.ratioY);
- Node29.setWidth(Node29width);
- Node29.setHeight(Node29height);
- Node29._nodeType = 'text';
- Node29._disallowEvert = true;
- Node29.setRotation(0*Math.PI/180);
- Node29.a('node.width', Node29width);
- Node29.a('node.height', Node29height);
- Node29.a('node.rect', [0, 0, Node29width, Node29height]);
- Node29.a('node.bordercolor','rgba(0,0,0,1)');
- Node29.a('node.borderwidth', 0);
- Node29.a('node.background','' || 'rgba(0,0,0,0)');
- Node29.a('node.gradient','');
- Node29.a('node.gradientcolor','');
- Node29.a('node.text','2 8 7');
- Node29.a('node.textalign','center');
- Node29.a('node.textvAlign','middle');
- Node29.a('node.textrect', [Node29textStart, 0, Node29textWidth, Node29height]);
- Node29.a('node.color','rgba(0,0,0,1)');
- Node29.a('node.font',' '+ Node29fontSize + 'px "UniDreamLED"');
- Node29.a('node.textvisible',true);
- Node29.a('node.linefeed',false);
- if (false) {
- Node29.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29.a('node.text') || '2 8 7';
- var color=Node29.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,33.33325*0.5*_ratio.ratioY,Node29width,Node29height,33.33325*_ratio.ratioY,"center",color,' '+ Node29fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29.a('node.underlinepoints',[Node29lineStart, (41 - 33.33325) * 0.5 * _ratio.ratioY + Node29fontSize + 2 , ht.Default.getTextSize('2 8 7', ' '+ Node29fontSize + 'px "UniDreamLED"').width + 6, (Node29height - Node29fontSize) * 0.5*_ratio.ratioY + Node29fontSize + 2 ]);
- Node29.a('node.underlinevisible',false);
- Node29.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29);
- zoomNodeList.push({
- node: Node29,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30 = new ht.Node();
- var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'center', Node30fontSize = 14.66663*_ratio.ratioY,Node30width = 87*_ratio.ratioX, Node30height = 26*_ratio.ratioY;
- (function () {
- if (Node30align === 'left') {
- Node30textStart = Node30fontSize * 0.2 > 2 ? Node30fontSize * 0.2 - 4 : Node30fontSize * 0.2 - 9;
- Node30textWidth = Node30width;
- Node30lineStart = 1;
- } else if (Node30align === 'right') {
- Node30textStart = 0;
- Node30textWidth =Node30fontSize <= 8 ? Node30width + Node30fontSize * 0.2 + 6 : Node30width - Node30fontSize * 0.2;
- Node30lineStart = (Node30width - (ht.Default.getTextSize('台', ' '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30align === 'center') {
- Node30textStart = -3;
- Node30textWidth = Node30width;
- Node30lineStart = Node30width - ht.Default.getTextSize('台', ' '+ Node30fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, ' '+ Node30fontSize + 'px "Arial"'))
- Node30.setPosition(1460*ratio.ratioX, 147*ratio.ratioY);
- Node30.setWidth(Node30width);
- Node30.setHeight(Node30height);
- Node30._nodeType = 'text';
- Node30._disallowEvert = true;
- Node30.setRotation(0*Math.PI/180);
- Node30.a('node.width', Node30width);
- Node30.a('node.height', Node30height);
- Node30.a('node.rect', [0, 0, Node30width, Node30height]);
- Node30.a('node.bordercolor','rgba(105,105,105,1)');
- Node30.a('node.borderwidth', 0);
- Node30.a('node.background','' || 'rgba(0,0,0,0)');
- Node30.a('node.gradient','');
- Node30.a('node.gradientcolor','');
- Node30.a('node.text','台');
- Node30.a('node.textalign','center');
- Node30.a('node.textvAlign','middle');
- Node30.a('node.textrect', [Node30textStart, 0, Node30textWidth, Node30height]);
- Node30.a('node.color','rgba(105,105,105,1)');
- Node30.a('node.font',' '+ Node30fontSize + 'px "Arial"');
- Node30.a('node.textvisible',true);
- Node30.a('node.linefeed',false);
- if (false) {
- Node30.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30.a('node.text') || '台';
- var color=Node30.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node30width,Node30height,14.66663*_ratio.ratioY,"center",color,' '+ Node30fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30.a('node.underlinepoints',[Node30lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]);
- Node30.a('node.underlinevisible',false);
- Node30.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30);
- zoomNodeList.push({
- node: Node30,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31 = new ht.Node();
- var Node31textStart, Node31textWidth, Node31lineStart, Node31align = 'center', Node31fontSize = 14.66663*_ratio.ratioY,Node31width = 67*_ratio.ratioX, Node31height = 26*_ratio.ratioY;
- (function () {
- if (Node31align === 'left') {
- Node31textStart = Node31fontSize * 0.2 > 2 ? Node31fontSize * 0.2 - 4 : Node31fontSize * 0.2 - 9;
- Node31textWidth = Node31width;
- Node31lineStart = 1;
- } else if (Node31align === 'right') {
- Node31textStart = 0;
- Node31textWidth =Node31fontSize <= 8 ? Node31width + Node31fontSize * 0.2 + 6 : Node31width - Node31fontSize * 0.2;
- Node31lineStart = (Node31width - (ht.Default.getTextSize('台', ' '+ Node31fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node31align === 'center') {
- Node31textStart = -3;
- Node31textWidth = Node31width;
- Node31lineStart = Node31width - ht.Default.getTextSize('台', ' '+ Node31fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node31.setImage(GD.getTextJSON(Node31width, Node31height, true, false, false, ' '+ Node31fontSize + 'px "Arial"'))
- Node31.setPosition(1593*ratio.ratioX, 145*ratio.ratioY);
- Node31.setWidth(Node31width);
- Node31.setHeight(Node31height);
- Node31._nodeType = 'text';
- Node31._disallowEvert = true;
- Node31.setRotation(0*Math.PI/180);
- Node31.a('node.width', Node31width);
- Node31.a('node.height', Node31height);
- Node31.a('node.rect', [0, 0, Node31width, Node31height]);
- Node31.a('node.bordercolor','rgba(105,105,105,1)');
- Node31.a('node.borderwidth', 0);
- Node31.a('node.background','' || 'rgba(0,0,0,0)');
- Node31.a('node.gradient','');
- Node31.a('node.gradientcolor','');
- Node31.a('node.text','台');
- Node31.a('node.textalign','center');
- Node31.a('node.textvAlign','middle');
- Node31.a('node.textrect', [Node31textStart, 0, Node31textWidth, Node31height]);
- Node31.a('node.color','rgba(105,105,105,1)');
- Node31.a('node.font',' '+ Node31fontSize + 'px "Arial"');
- Node31.a('node.textvisible',true);
- Node31.a('node.linefeed',false);
- if (false) {
- Node31.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node31.a('node.text') || '台';
- var color=Node31.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node31width,Node31height,14.66663*_ratio.ratioY,"center",color,' '+ Node31fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31.a('node.underlinepoints',[Node31lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node31fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node31fontSize + 'px "Arial"').width + 6, (Node31height - Node31fontSize) * 0.5*_ratio.ratioY + Node31fontSize + 2 ]);
- Node31.a('node.underlinevisible',false);
- Node31.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node31);
- zoomNodeList.push({
- node: Node31,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node32;
- (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');
- Node32 = new ht.Node();
- Node32.setPosition(1482*ratio.ratioX, 129*ratio.ratioY);
- Node32.setSize(9*ratioX, 60*ratioY);
- Node32.setImage('imgimage//page_list_box_left_orange.jpg');
- Node32.setRotation(0*Math.PI/180);
- Node32._zoomBy = 'Default';
- Node32._nodeType = 'image';
- Node32._disallowEvert = true;
- dataModel.add(Node32);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33type = 'rect';
- var Node33 = new ht.Node(),
- Node33BorderWidth = 1*2;
- if (Node33type === 'arc') {
- Node33BorderWidth *= 1;
- }
- Node33.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node33type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node33.setPosition(1551*ratio.ratioX, 130*ratio.ratioY);
- Node33.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node33.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node33.a('node.width', 127*_ratio.ratioX);
- Node33.a('node.height', 60.81538*_ratio.ratioY);
- Node33.a('node.type', Node33type);
- Node33.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node33.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node33.a('node.gradientcolor', '');
- Node33.a('node.gradient', '');
- Node33.a('node.borderwidth', Node33BorderWidth);
- Node33.a('node.color', 'rgba(128,128,128,1)');
- Node33.a('node.fillrect', [0,0,0,0]);
- Node33.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradient', '');
- if (Node33type !== 'rect') {
- Node33.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node33.a('node.arcTo', parseFloat('@arcTo@'));
- Node33.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node33type === 'arc') {
- Node33.a('node.arcOval', true);
- }
- Node33.setRotation(0*Math.PI/180);
- Node33.borderWidth = Node33BorderWidth;
- Node33.borderFillwidth = Node33BorderWidth;
- dataModel.add(Node33);
- Node33._nodename = 'Node33'
- Node33._nodeType = 'rect';
- zoomNodeList.push({
- node: Node33,
- 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);
- }
- })(Node33, Node33.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34 = new ht.Node();
- var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'left', Node34fontSize = 13.3333*_ratio.ratioY,Node34width = 47*_ratio.ratioX, Node34height = 38*_ratio.ratioY;
- (function () {
- if (Node34align === 'left') {
- Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9;
- Node34textWidth = Node34width;
- Node34lineStart = 1;
- } else if (Node34align === 'right') {
- Node34textStart = 0;
- Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2;
- Node34lineStart = (Node34width - (ht.Default.getTextSize('维护', 'bold '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34align === 'center') {
- Node34textStart = -3;
- Node34textWidth = Node34width;
- Node34lineStart = Node34width - ht.Default.getTextSize('维护', 'bold '+ Node34fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, 'bold '+ Node34fontSize + 'px "Arial"'))
- Node34.setPosition(1513*ratio.ratioX, 112*ratio.ratioY);
- Node34.setWidth(Node34width);
- Node34.setHeight(Node34height);
- Node34._nodeType = 'text';
- Node34._disallowEvert = true;
- Node34.setRotation(0*Math.PI/180);
- Node34.a('node.width', Node34width);
- Node34.a('node.height', Node34height);
- Node34.a('node.rect', [0, 0, Node34width, Node34height]);
- Node34.a('node.bordercolor','rgba(0,0,0,1)');
- Node34.a('node.borderwidth', 0);
- Node34.a('node.background','' || 'rgba(0,0,0,0)');
- Node34.a('node.gradient','');
- Node34.a('node.gradientcolor','');
- Node34.a('node.text','维护');
- Node34.a('node.textalign','left');
- Node34.a('node.textvAlign','middle');
- Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
- Node34.a('node.color','rgba(0,0,0,1)');
- Node34.a('node.font','bold '+ Node34fontSize + 'px "Arial"');
- Node34.a('node.textvisible',true);
- Node34.a('node.linefeed',false);
- if (false) {
- Node34.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34.a('node.text') || '维护';
- var color=Node34.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node34fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34.a('node.underlinepoints',[Node34lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]);
- Node34.a('node.underlinevisible',false);
- Node34.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34);
- zoomNodeList.push({
- node: Node34,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35 = new ht.Node();
- var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'center', Node35fontSize = 14.66663*_ratio.ratioY,Node35width = 67*_ratio.ratioX, Node35height = 26*_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(1731*ratio.ratioX, 85*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','center');
- 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,14.66663*0.5*_ratio.ratioY,Node35width,Node35height,14.66663*_ratio.ratioY,"center",color,' '+ Node35fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35.a('node.underlinepoints',[Node35lineStart, (26 - 14.66663) * 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'
- }); var Node36;
- (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');
- Node36 = new ht.Node();
- Node36.setPosition(1620*ratio.ratioX, 69*ratio.ratioY);
- Node36.setSize(9*ratioX, 60*ratioY);
- Node36.setImage('imgimage//page_list_box_left_green.jpg');
- Node36.setRotation(0*Math.PI/180);
- Node36._zoomBy = 'Default';
- Node36._nodeType = 'image';
- Node36._disallowEvert = true;
- dataModel.add(Node36);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37type = 'rect';
- var Node37 = new ht.Node(),
- Node37BorderWidth = 1*2;
- if (Node37type === 'arc') {
- Node37BorderWidth *= 1;
- }
- Node37.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node37type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node37.setPosition(1689*ratio.ratioX, 69*ratio.ratioY);
- Node37.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node37.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node37.a('node.width', 127*_ratio.ratioX);
- Node37.a('node.height', 60.81538*_ratio.ratioY);
- Node37.a('node.type', Node37type);
- Node37.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node37.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node37.a('node.gradientcolor', '');
- Node37.a('node.gradient', '');
- Node37.a('node.borderwidth', Node37BorderWidth);
- Node37.a('node.color', 'rgba(128,128,128,1)');
- Node37.a('node.fillrect', [0,0,0,0]);
- Node37.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node37.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node37.a('node.fillgradient', '');
- if (Node37type !== 'rect') {
- Node37.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node37.a('node.arcTo', parseFloat('@arcTo@'));
- Node37.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node37type === 'arc') {
- Node37.a('node.arcOval', true);
- }
- Node37.setRotation(0*Math.PI/180);
- Node37.borderWidth = Node37BorderWidth;
- Node37.borderFillwidth = Node37BorderWidth;
- dataModel.add(Node37);
- Node37._nodename = 'Node37'
- Node37._nodeType = 'rect';
- zoomNodeList.push({
- node: Node37,
- 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);
- }
- })(Node37, Node37.getImage());_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(1731*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_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node39 = new ht.Node();
- Node39.setPosition(1620*ratio.ratioX, 130*ratio.ratioY);
- Node39.setSize(9*ratioX, 60*ratioY);
- Node39.setImage('imgimage//page_list_box_left_pink.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(1689*ratio.ratioX, 130*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(1651*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 Node42type = 'rect';
- var Node42 = new ht.Node(),
- Node42BorderWidth = 1*2;
- if (Node42type === 'arc') {
- Node42BorderWidth *= 1;
- }
- Node42.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node42type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42.setPosition(253*ratio.ratioX, 99*ratio.ratioY);
- Node42.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node42.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42.a('node.width', 121*_ratio.ratioX);
- Node42.a('node.height', 24.33138*_ratio.ratioY);
- Node42.a('node.type', Node42type);
- Node42.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node42.a('node.background', 'rgba(240,240,240,1)');
- Node42.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node42.a('node.gradient', '');
- Node42.a('node.borderwidth', Node42BorderWidth);
- Node42.a('node.color', 'rgba(224,224,224,1)');
- Node42.a('node.fillrect', [0,0,0,0]);
- Node42.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42.a('node.fillgradient', '');
- if (Node42type !== 'rect') {
- Node42.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42.a('node.arcTo', parseFloat('@arcTo@'));
- Node42.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42type === 'arc') {
- Node42.a('node.arcOval', true);
- }
- Node42.setRotation(0*Math.PI/180);
- Node42.borderWidth = Node42BorderWidth;
- Node42.borderFillwidth = Node42BorderWidth;
- dataModel.add(Node42);
- Node42._nodename = 'Node42'
- Node42._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42,
- 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);
- }
- })(Node42, Node42.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43type = 'rect';
- var Node43 = new ht.Node(),
- Node43BorderWidth = 1*2;
- if (Node43type === 'arc') {
- Node43BorderWidth *= 1;
- }
- Node43.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node43.setPosition(253*ratio.ratioX, 75*ratio.ratioY);
- Node43.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node43.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node43.a('node.width', 121*_ratio.ratioX);
- Node43.a('node.height', 24.33138*_ratio.ratioY);
- Node43.a('node.type', Node43type);
- Node43.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node43.a('node.background', 'rgba(240,240,240,1)');
- Node43.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node43.a('node.gradient', '');
- Node43.a('node.borderwidth', Node43BorderWidth);
- Node43.a('node.color', 'rgba(224,224,224,1)');
- Node43.a('node.fillrect', [0,0,0,0]);
- Node43.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node43.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node43.a('node.fillgradient', '');
- if (Node43type !== 'rect') {
- Node43.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node43.a('node.arcTo', parseFloat('@arcTo@'));
- Node43.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node43type === 'arc') {
- Node43.a('node.arcOval', true);
- }
- Node43.setRotation(0*Math.PI/180);
- Node43.borderWidth = Node43BorderWidth;
- Node43.borderFillwidth = Node43BorderWidth;
- dataModel.add(Node43);
- Node43._nodename = 'Node43'
- Node43._nodeType = 'rect';
- zoomNodeList.push({
- node: Node43,
- 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);
- }
- })(Node43, Node43.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44type = 'rect';
- var Node44 = new ht.Node(),
- Node44BorderWidth = 1*2;
- if (Node44type === 'arc') {
- Node44BorderWidth *= 1;
- }
- Node44.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(253*ratio.ratioX, 124*ratio.ratioY);
- Node44.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 121*_ratio.ratioX);
- Node44.a('node.height', 24.33136*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(240,240,240,1)');
- Node44.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node44.a('node.gradient', '');
- Node44.a('node.borderwidth', Node44BorderWidth);
- Node44.a('node.color', 'rgba(224,224,224,1)');
- Node44.a('node.fillrect', [0,0,0,0]);
- Node44.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradient', '');
- if (Node44type !== 'rect') {
- Node44.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44.a('node.arcTo', parseFloat('@arcTo@'));
- Node44.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44type === 'arc') {
- Node44.a('node.arcOval', true);
- }
- Node44.setRotation(0*Math.PI/180);
- Node44.borderWidth = Node44BorderWidth;
- Node44.borderFillwidth = Node44BorderWidth;
- dataModel.add(Node44);
- Node44._nodename = 'Node44'
- Node44._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node44, Node44.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45type = 'rect';
- var Node45 = new ht.Node(),
- Node45BorderWidth = 1*2;
- if (Node45type === 'arc') {
- Node45BorderWidth *= 1;
- }
- Node45.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node45.setPosition(253*ratio.ratioX, 51*ratio.ratioY);
- Node45.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node45.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node45.a('node.width', 121*_ratio.ratioX);
- Node45.a('node.height', 24.33136*_ratio.ratioY);
- Node45.a('node.type', Node45type);
- Node45.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node45.a('node.background', 'rgba(240,240,240,1)');
- Node45.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node45.a('node.gradient', '');
- Node45.a('node.borderwidth', Node45BorderWidth);
- Node45.a('node.color', 'rgba(224,224,224,1)');
- Node45.a('node.fillrect', [0,0,0,0]);
- Node45.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradient', '');
- if (Node45type !== 'rect') {
- Node45.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node45.a('node.arcTo', parseFloat('@arcTo@'));
- Node45.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node45type === 'arc') {
- Node45.a('node.arcOval', true);
- }
- Node45.setRotation(0*Math.PI/180);
- Node45.borderWidth = Node45BorderWidth;
- Node45.borderFillwidth = Node45BorderWidth;
- dataModel.add(Node45);
- Node45._nodename = 'Node45'
- Node45._nodeType = 'rect';
- zoomNodeList.push({
- node: Node45,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node45, Node45.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46type = 'rect';
- var Node46 = new ht.Node(),
- Node46BorderWidth = 1*2;
- if (Node46type === 'arc') {
- Node46BorderWidth *= 1;
- }
- Node46.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46.setPosition(253*ratio.ratioX, 148*ratio.ratioY);
- Node46.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46.a('node.width', 121*_ratio.ratioX);
- Node46.a('node.height', 24.33138*_ratio.ratioY);
- Node46.a('node.type', Node46type);
- Node46.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node46.a('node.background', 'rgba(240,240,240,1)');
- Node46.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node46.a('node.gradient', '');
- Node46.a('node.borderwidth', Node46BorderWidth);
- Node46.a('node.color', 'rgba(224,224,224,1)');
- Node46.a('node.fillrect', [0,0,0,0]);
- Node46.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradient', '');
- if (Node46type !== 'rect') {
- Node46.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46.a('node.arcTo', parseFloat('@arcTo@'));
- Node46.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46type === 'arc') {
- Node46.a('node.arcOval', true);
- }
- Node46.setRotation(0*Math.PI/180);
- Node46.borderWidth = Node46BorderWidth;
- Node46.borderFillwidth = Node46BorderWidth;
- dataModel.add(Node46);
- Node46._nodename = 'Node46'
- Node46._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node46, Node46.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.Node();
- var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 61*_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 "微软雅黑"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('功率', ' '+ Node47fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "微软雅黑"'))
- Node47.setPosition(227*ratio.ratioX, 77*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(0,0,0,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','');
- Node47.a('node.text','功率');
- Node47.a('node.textalign','left');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(0,0,0,1)');
- Node47.a('node.font',' '+ Node47fontSize + 'px "微软雅黑"');
- 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node47fontSize + 'px "微软雅黑"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
- Node47.a('node.underlinevisible',false);
- Node47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47);
- zoomNodeList.push({
- node: Node47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48 = new ht.Node();
- var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'left', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 61*_ratio.ratioX, Node48height = 26*_ratio.ratioY;
- (function () {
- if (Node48align === 'left') {
- Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9;
- Node48textWidth = Node48width;
- Node48lineStart = 1;
- } else if (Node48align === 'right') {
- Node48textStart = 0;
- Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2;
- Node48lineStart = (Node48width - (ht.Default.getTextSize('风速', ' '+ Node48fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node48align === 'center') {
- Node48textStart = -3;
- Node48textWidth = Node48width;
- Node48lineStart = Node48width - ht.Default.getTextSize('风速', ' '+ Node48fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "微软雅黑"'))
- Node48.setPosition(227*ratio.ratioX, 101*ratio.ratioY);
- Node48.setWidth(Node48width);
- Node48.setHeight(Node48height);
- Node48._nodeType = 'text';
- Node48._disallowEvert = true;
- Node48.setRotation(0*Math.PI/180);
- Node48.a('node.width', Node48width);
- Node48.a('node.height', Node48height);
- Node48.a('node.rect', [0, 0, Node48width, Node48height]);
- Node48.a('node.bordercolor','rgba(0,0,0,1)');
- Node48.a('node.borderwidth', 0);
- Node48.a('node.background','' || 'rgba(0,0,0,0)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','');
- Node48.a('node.text','风速');
- Node48.a('node.textalign','left');
- Node48.a('node.textvAlign','middle');
- Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]);
- Node48.a('node.color','rgba(0,0,0,1)');
- Node48.a('node.font',' '+ Node48fontSize + 'px "微软雅黑"');
- Node48.a('node.textvisible',true);
- Node48.a('node.linefeed',false);
- if (false) {
- Node48.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48.a('node.text') || '风速';
- var color=Node48.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"left",color,' '+ Node48fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node48.a('node.underlinepoints',[Node48lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node48fontSize + 'px "微软雅黑"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]);
- Node48.a('node.underlinevisible',false);
- Node48.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48);
- zoomNodeList.push({
- node: Node48,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49 = new ht.Node();
- var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 77*_ratio.ratioX, Node49height = 26*_ratio.ratioY;
- (function () {
- if (Node49align === 'left') {
- Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
- Node49textWidth = Node49width;
- Node49lineStart = 1;
- } else if (Node49align === 'right') {
- Node49textStart = 0;
- Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
- Node49lineStart = (Node49width - (ht.Default.getTextSize('发电量', ' '+ Node49fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('发电量', ' '+ Node49fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "微软雅黑"'))
- Node49.setPosition(233*ratio.ratioX, 126*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(0,0,0,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','');
- Node49.a('node.text','发电量');
- Node49.a('node.textalign','left');
- Node49.a('node.textvAlign','middle');
- Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
- Node49.a('node.color','rgba(0,0,0,1)');
- Node49.a('node.font',' '+ Node49fontSize + 'px "微软雅黑"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '发电量';
- var color=Node49.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node49fontSize + 'px "微软雅黑"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50type = 'rect';
- var Node50 = new ht.Node(),
- Node50BorderWidth = 1*2;
- if (Node50type === 'arc') {
- Node50BorderWidth *= 1;
- }
- Node50.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node50type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50.setPosition(537*ratio.ratioX, 99*ratio.ratioY);
- Node50.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node50.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50.a('node.width', 121*_ratio.ratioX);
- Node50.a('node.height', 24.33138*_ratio.ratioY);
- Node50.a('node.type', Node50type);
- Node50.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node50.a('node.background', 'rgba(240,240,240,1)');
- Node50.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node50.a('node.gradient', '');
- Node50.a('node.borderwidth', Node50BorderWidth);
- Node50.a('node.color', 'rgba(224,224,224,1)');
- Node50.a('node.fillrect', [0,0,0,0]);
- Node50.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50.a('node.fillgradient', '');
- if (Node50type !== 'rect') {
- Node50.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50.a('node.arcTo', parseFloat('@arcTo@'));
- Node50.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50type === 'arc') {
- Node50.a('node.arcOval', true);
- }
- Node50.setRotation(0*Math.PI/180);
- Node50.borderWidth = Node50BorderWidth;
- Node50.borderFillwidth = Node50BorderWidth;
- dataModel.add(Node50);
- Node50._nodename = 'Node50'
- Node50._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50,
- 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);
- }
- })(Node50, Node50.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51type = 'rect';
- var Node51 = new ht.Node(),
- Node51BorderWidth = 1*2;
- if (Node51type === 'arc') {
- Node51BorderWidth *= 1;
- }
- Node51.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node51type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node51.setPosition(537*ratio.ratioX, 75*ratio.ratioY);
- Node51.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node51.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node51.a('node.width', 121*_ratio.ratioX);
- Node51.a('node.height', 24.33138*_ratio.ratioY);
- Node51.a('node.type', Node51type);
- Node51.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node51.a('node.background', 'rgba(240,240,240,1)');
- Node51.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node51.a('node.gradient', '');
- Node51.a('node.borderwidth', Node51BorderWidth);
- Node51.a('node.color', 'rgba(224,224,224,1)');
- Node51.a('node.fillrect', [0,0,0,0]);
- Node51.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradient', '');
- if (Node51type !== 'rect') {
- Node51.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node51.a('node.arcTo', parseFloat('@arcTo@'));
- Node51.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node51type === 'arc') {
- Node51.a('node.arcOval', true);
- }
- Node51.setRotation(0*Math.PI/180);
- Node51.borderWidth = Node51BorderWidth;
- Node51.borderFillwidth = Node51BorderWidth;
- dataModel.add(Node51);
- Node51._nodename = 'Node51'
- Node51._nodeType = 'rect';
- zoomNodeList.push({
- node: Node51,
- 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);
- }
- })(Node51, Node51.getImage());_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.33136*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52.setPosition(537*ratio.ratioX, 124*ratio.ratioY);
- Node52.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node52.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node52.a('node.width', 121*_ratio.ratioX);
- Node52.a('node.height', 24.33136*_ratio.ratioY);
- Node52.a('node.type', Node52type);
- Node52.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_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.33136*_ratio.ratioY, Node53type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node53.setPosition(537*ratio.ratioX, 51*ratio.ratioY);
- Node53.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node53.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node53.a('node.width', 121*_ratio.ratioX);
- Node53.a('node.height', 24.33136*_ratio.ratioY);
- Node53.a('node.type', Node53type);
- Node53.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_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.33138*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node54.setPosition(537*ratio.ratioX, 148*ratio.ratioY);
- Node54.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node54.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node54.a('node.width', 121*_ratio.ratioX);
- Node54.a('node.height', 24.33138*_ratio.ratioY);
- Node54.a('node.type', Node54type);
- Node54.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_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 Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'center', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 113*_ratio.ratioX, Node55height = 26*_ratio.ratioY;
- (function () {
- if (Node55align === 'left') {
- Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
- Node55textWidth = Node55width;
- Node55lineStart = 1;
- } else if (Node55align === 'right') {
- Node55textStart = 0;
- Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
- Node55lineStart = (Node55width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node55fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('日维护损失电量', ' '+ Node55fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "微软雅黑"'))
- Node55.setPosition(537*ratio.ratioX, 53*ratio.ratioY);
- Node55.setWidth(Node55width);
- Node55.setHeight(Node55height);
- Node55._nodeType = 'text';
- Node55._disallowEvert = true;
- Node55.setRotation(0*Math.PI/180);
- Node55.a('node.width', Node55width);
- Node55.a('node.height', Node55height);
- Node55.a('node.rect', [0, 0, Node55width, Node55height]);
- Node55.a('node.bordercolor','rgba(0,0,0,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','rgba(255,255,255,0)');
- Node55.a('node.text','日维护损失电量');
- Node55.a('node.textalign','center');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(0,0,0,1)');
- Node55.a('node.font',' '+ Node55fontSize + 'px "微软雅黑"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '日维护损失电量';
- var color=Node55.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"center",color,' '+ Node55fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node55fontSize + 'px "微软雅黑"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'center', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 113*_ratio.ratioX, Node56height = 26*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node56fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('日故障损失电量', ' '+ Node56fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "微软雅黑"'))
- Node56.setPosition(538*ratio.ratioX, 77*ratio.ratioY);
- Node56.setWidth(Node56width);
- Node56.setHeight(Node56height);
- Node56._nodeType = 'text';
- Node56._disallowEvert = true;
- Node56.setRotation(0*Math.PI/180);
- Node56.a('node.width', Node56width);
- Node56.a('node.height', Node56height);
- Node56.a('node.rect', [0, 0, Node56width, Node56height]);
- Node56.a('node.bordercolor','rgba(0,0,0,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','rgba(255,255,255,0)');
- Node56.a('node.text','日故障损失电量');
- Node56.a('node.textalign','center');
- Node56.a('node.textvAlign','middle');
- Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
- Node56.a('node.color','rgba(0,0,0,1)');
- Node56.a('node.font',' '+ Node56fontSize + 'px "微软雅黑"');
- Node56.a('node.textvisible',true);
- Node56.a('node.linefeed',false);
- if (false) {
- Node56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node56.a('node.text') || '日故障损失电量';
- var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"center",color,' '+ Node56fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node56fontSize + 'px "微软雅黑"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
- Node56.a('node.underlinevisible',false);
- Node56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node56);
- zoomNodeList.push({
- node: Node56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'center', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 113*_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(538*ratio.ratioX, 102*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','rgba(255,255,255,0)');
- Node57.a('node.text','日限电损失电量');
- Node57.a('node.textalign','center');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(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,"center",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 = 'center', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 113*_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(538*ratio.ratioX, 126*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','rgba(255,255,255,0)');
- Node58.a('node.text','日受累损失电量');
- Node58.a('node.textalign','center');
- 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,"center",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 Node59type = 'rect';
- var Node59 = new ht.Node(),
- Node59BorderWidth = 1*2;
- if (Node59type === 'arc') {
- Node59BorderWidth *= 1;
- }
- Node59.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node59type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node59.setPosition(818*ratio.ratioX, 99*ratio.ratioY);
- Node59.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node59.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node59.a('node.width', 117*_ratio.ratioX);
- Node59.a('node.height', 24.33138*_ratio.ratioY);
- Node59.a('node.type', Node59type);
- Node59.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node59.a('node.background', 'rgba(240,240,240,1)');
- Node59.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node59.a('node.gradient', '');
- Node59.a('node.borderwidth', Node59BorderWidth);
- Node59.a('node.color', 'rgba(224,224,224,1)');
- Node59.a('node.fillrect', [0,0,0,0]);
- Node59.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node59.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node59.a('node.fillgradient', '');
- if (Node59type !== 'rect') {
- Node59.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node59.a('node.arcTo', parseFloat('@arcTo@'));
- Node59.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node59type === 'arc') {
- Node59.a('node.arcOval', true);
- }
- Node59.setRotation(0*Math.PI/180);
- Node59.borderWidth = Node59BorderWidth;
- Node59.borderFillwidth = Node59BorderWidth;
- dataModel.add(Node59);
- Node59._nodename = 'Node59'
- Node59._nodeType = 'rect';
- zoomNodeList.push({
- node: Node59,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node59, Node59.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60type = 'rect';
- var Node60 = new ht.Node(),
- Node60BorderWidth = 1*2;
- if (Node60type === 'arc') {
- Node60BorderWidth *= 1;
- }
- Node60.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node60type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node60.setPosition(818*ratio.ratioX, 75*ratio.ratioY);
- Node60.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node60.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node60.a('node.width', 117*_ratio.ratioX);
- Node60.a('node.height', 24.33138*_ratio.ratioY);
- Node60.a('node.type', Node60type);
- Node60.a('node.rect', [0, 0, 117*_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(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node61type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node61.setPosition(818*ratio.ratioX, 124*ratio.ratioY);
- Node61.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node61.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node61.a('node.width', 117*_ratio.ratioX);
- Node61.a('node.height', 24.33136*_ratio.ratioY);
- Node61.a('node.type', Node61type);
- Node61.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_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(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node62type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node62.setPosition(818*ratio.ratioX, 51*ratio.ratioY);
- Node62.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node62.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node62.a('node.width', 117*_ratio.ratioX);
- Node62.a('node.height', 24.33136*_ratio.ratioY);
- Node62.a('node.type', Node62type);
- Node62.a('node.rect', [0, 0, 117*_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(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node63.setPosition(818*ratio.ratioX, 148*ratio.ratioY);
- Node63.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node63.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node63.a('node.width', 117*_ratio.ratioX);
- Node63.a('node.height', 24.33138*_ratio.ratioY);
- Node63.a('node.type', Node63type);
- Node63.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_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 Node64 = new ht.Node();
- var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'center', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 110*_ratio.ratioX, Node64height = 26*_ratio.ratioY;
- (function () {
- if (Node64align === 'left') {
- Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
- Node64textWidth = Node64width;
- Node64lineStart = 1;
- } else if (Node64align === 'right') {
- Node64textStart = 0;
- Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
- Node64lineStart = (Node64width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node64fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node64align === 'center') {
- Node64textStart = -3;
- Node64textWidth = Node64width;
- Node64lineStart = Node64width - ht.Default.getTextSize('月维护损失电量', ' '+ Node64fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, ' '+ Node64fontSize + 'px "微软雅黑"'))
- Node64.setPosition(818*ratio.ratioX, 53*ratio.ratioY);
- Node64.setWidth(Node64width);
- Node64.setHeight(Node64height);
- Node64._nodeType = 'text';
- Node64._disallowEvert = true;
- Node64.setRotation(0*Math.PI/180);
- Node64.a('node.width', Node64width);
- Node64.a('node.height', Node64height);
- Node64.a('node.rect', [0, 0, Node64width, Node64height]);
- Node64.a('node.bordercolor','rgba(0,0,0,1)');
- Node64.a('node.borderwidth', 0);
- Node64.a('node.background','' || 'rgba(0,0,0,0)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','');
- Node64.a('node.text','月维护损失电量');
- Node64.a('node.textalign','center');
- Node64.a('node.textvAlign','middle');
- Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
- Node64.a('node.color','rgba(0,0,0,1)');
- Node64.a('node.font',' '+ Node64fontSize + 'px "微软雅黑"');
- Node64.a('node.textvisible',true);
- Node64.a('node.linefeed',false);
- if (false) {
- Node64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node64.a('node.text') || '月维护损失电量';
- var color=Node64.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"center",color,' '+ Node64fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node64.a('node.underlinepoints',[Node64lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node64fontSize + 'px "微软雅黑"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
- Node64.a('node.underlinevisible',false);
- Node64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node64);
- zoomNodeList.push({
- node: Node64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'center', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 110*_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(818*ratio.ratioX, 77*ratio.ratioY);
- Node65.setWidth(Node65width);
- Node65.setHeight(Node65height);
- Node65._nodeType = 'text';
- Node65._disallowEvert = true;
- Node65.setRotation(0*Math.PI/180);
- Node65.a('node.width', Node65width);
- Node65.a('node.height', Node65height);
- Node65.a('node.rect', [0, 0, Node65width, Node65height]);
- Node65.a('node.bordercolor','rgba(0,0,0,1)');
- Node65.a('node.borderwidth', 0);
- Node65.a('node.background','' || 'rgba(0,0,0,0)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','');
- Node65.a('node.text','月故障损失电量');
- 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 = 110*_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(818*ratio.ratioX, 102*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(0,0,0,0)');
- Node66.a('node.gradient','');
- Node66.a('node.gradientcolor','');
- 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 = 110*_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(818*ratio.ratioX, 126*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(0,0,0,0)');
- Node67.a('node.gradient','');
- Node67.a('node.gradientcolor','');
- 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 Node68type = 'rect';
- var Node68 = new ht.Node(),
- Node68BorderWidth = 1*2;
- if (Node68type === 'arc') {
- Node68BorderWidth *= 1;
- }
- Node68.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node68type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node68.setPosition(924*ratio.ratioX, 51*ratio.ratioY);
- Node68.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node68.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node68.a('node.width', 95*_ratio.ratioX);
- Node68.a('node.height', 24.33136*_ratio.ratioY);
- Node68.a('node.type', Node68type);
- Node68.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node68.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node68.a('node.gradientcolor', '');
- Node68.a('node.gradient', '');
- Node68.a('node.borderwidth', Node68BorderWidth);
- Node68.a('node.color', 'rgba(224,224,224,1)');
- Node68.a('node.fillrect', [0,0,0,0]);
- Node68.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradient', '');
- if (Node68type !== 'rect') {
- Node68.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node68.a('node.arcTo', parseFloat('@arcTo@'));
- Node68.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node68type === 'arc') {
- Node68.a('node.arcOval', true);
- }
- Node68.setRotation(0*Math.PI/180);
- Node68.borderWidth = Node68BorderWidth;
- Node68.borderFillwidth = Node68BorderWidth;
- dataModel.add(Node68);
- Node68._nodename = 'Node68'
- Node68._nodeType = 'rect';
- zoomNodeList.push({
- node: Node68,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node68, Node68.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69type = 'rect';
- var Node69 = new ht.Node(),
- Node69BorderWidth = 1*2;
- if (Node69type === 'arc') {
- Node69BorderWidth *= 1;
- }
- Node69.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node69.setPosition(924*ratio.ratioX, 75*ratio.ratioY);
- Node69.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node69.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node69.a('node.width', 95*_ratio.ratioX);
- Node69.a('node.height', 24.33138*_ratio.ratioY);
- Node69.a('node.type', Node69type);
- Node69.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node69.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node69.a('node.gradientcolor', '');
- 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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node70.setPosition(924*ratio.ratioX, 99*ratio.ratioY);
- Node70.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node70.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node70.a('node.width', 95*_ratio.ratioX);
- Node70.a('node.height', 24.33138*_ratio.ratioY);
- Node70.a('node.type', Node70type);
- Node70.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node70.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node70.a('node.gradientcolor', '');
- 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(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node71type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node71.setPosition(924*ratio.ratioX, 124*ratio.ratioY);
- Node71.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node71.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node71.a('node.width', 95*_ratio.ratioX);
- Node71.a('node.height', 24.33136*_ratio.ratioY);
- Node71.a('node.type', Node71type);
- Node71.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node71.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node71.a('node.gradientcolor', '');
- 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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node72type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node72.setPosition(924*ratio.ratioX, 148*ratio.ratioY);
- Node72.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node72.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node72.a('node.width', 95*_ratio.ratioX);
- Node72.a('node.height', 24.33138*_ratio.ratioY);
- Node72.a('node.type', Node72type);
- Node72.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node72.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node72.a('node.gradientcolor', '');
- 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(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node73type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node73.setPosition(1004*ratio.ratioX, 51*ratio.ratioY);
- Node73.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node73.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node73.a('node.width', 65*_ratio.ratioX);
- Node73.a('node.height', 24.33136*_ratio.ratioY);
- Node73.a('node.type', Node73type);
- Node73.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node73.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node73.a('node.gradientcolor', '');
- 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 = 14.66663*_ratio.ratioY,Node74width = 59*_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('0', ' '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('0', ' '+ Node74fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, ' '+ Node74fontSize + 'px "Arial"'))
- Node74.setPosition(924*ratio.ratioX, 53*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node74width,Node74height,14.66663*_ratio.ratioY,"center",color,' '+ Node74fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node74fontSize + 'px "Arial"').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 = 14.66663*_ratio.ratioY,Node75width = 59*_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('0', ' '+ Node75fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node75align === 'center') {
- Node75textStart = -3;
- Node75textWidth = Node75width;
- Node75lineStart = Node75width - ht.Default.getTextSize('0', ' '+ Node75fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, ' '+ Node75fontSize + 'px "Arial"'))
- Node75.setPosition(924*ratio.ratioX, 77*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node75width,Node75height,14.66663*_ratio.ratioY,"center",color,' '+ Node75fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node75.a('node.underlinepoints',[Node75lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node75fontSize + 'px "Arial"').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 = 14.66663*_ratio.ratioY,Node76width = 59*_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('0', ' '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node76align === 'center') {
- Node76textStart = -3;
- Node76textWidth = Node76width;
- Node76lineStart = Node76width - ht.Default.getTextSize('0', ' '+ Node76fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "Arial"'))
- Node76.setPosition(924*ratio.ratioX, 102*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node76width,Node76height,14.66663*_ratio.ratioY,"center",color,' '+ Node76fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node76fontSize + 'px "Arial"').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 = 14.66663*_ratio.ratioY,Node77width = 59*_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('0', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('0', ' '+ Node77fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
- Node77.setPosition(924*ratio.ratioX, 125*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node77.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node77width,Node77height,14.66663*_ratio.ratioY,"center",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node77fontSize + 'px "Arial"').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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node78.setPosition(1004*ratio.ratioX, 75*ratio.ratioY);
- Node78.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node78.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node78.a('node.width', 65*_ratio.ratioX);
- Node78.a('node.height', 24.33138*_ratio.ratioY);
- Node78.a('node.type', Node78type);
- Node78.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node79type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node79.setPosition(1004*ratio.ratioX, 99*ratio.ratioY);
- Node79.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node79.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node79.a('node.width', 65*_ratio.ratioX);
- Node79.a('node.height', 24.33138*_ratio.ratioY);
- Node79.a('node.type', Node79type);
- Node79.a('node.rect', [0, 0, 65*_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(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node80type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node80.setPosition(1004*ratio.ratioX, 124*ratio.ratioY);
- Node80.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node80.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node80.a('node.width', 65*_ratio.ratioX);
- Node80.a('node.height', 24.33136*_ratio.ratioY);
- Node80.a('node.type', Node80type);
- Node80.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node81type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node81.setPosition(1004*ratio.ratioX, 148*ratio.ratioY);
- Node81.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node81.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node81.a('node.width', 65*_ratio.ratioX);
- Node81.a('node.height', 24.33138*_ratio.ratioY);
- Node81.a('node.type', Node81type);
- Node81.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_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 Node82 = new ht.Node();
- var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'center', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 59*_ratio.ratioX, Node82height = 26*_ratio.ratioY;
- (function () {
- if (Node82align === 'left') {
- Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
- Node82textWidth = Node82width;
- Node82lineStart = 1;
- } else if (Node82align === 'right') {
- Node82textStart = 0;
- Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
- Node82lineStart = (Node82width - (ht.Default.getTextSize('万kWh', ' '+ Node82fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node82align === 'center') {
- Node82textStart = -3;
- Node82textWidth = Node82width;
- Node82lineStart = Node82width - ht.Default.getTextSize('万kWh', ' '+ Node82fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "Arial"'))
- Node82.setPosition(1005*ratio.ratioX, 53*ratio.ratioY);
- Node82.setWidth(Node82width);
- Node82.setHeight(Node82height);
- Node82._nodeType = 'text';
- Node82._disallowEvert = true;
- Node82.setRotation(0*Math.PI/180);
- Node82.a('node.width', Node82width);
- Node82.a('node.height', Node82height);
- Node82.a('node.rect', [0, 0, Node82width, Node82height]);
- Node82.a('node.bordercolor','rgba(128,128,128,1)');
- Node82.a('node.borderwidth', 0);
- Node82.a('node.background','' || 'rgba(0,0,0,0)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','');
- Node82.a('node.text','万kWh');
- Node82.a('node.textalign','center');
- Node82.a('node.textvAlign','middle');
- Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
- Node82.a('node.color','rgba(128,128,128,1)');
- Node82.a('node.font',' '+ Node82fontSize + 'px "Arial"');
- Node82.a('node.textvisible',true);
- Node82.a('node.linefeed',false);
- if (false) {
- Node82.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node82.a('node.text') || '万kWh';
- var color=Node82.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"center",color,' '+ Node82fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node82.a('node.underlinepoints',[Node82lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node82fontSize + 'px "Arial"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
- Node82.a('node.underlinevisible',false);
- Node82.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node82);
- zoomNodeList.push({
- node: Node82,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83 = new ht.Node();
- var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'center', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 59*_ratio.ratioX, Node83height = 26*_ratio.ratioY;
- (function () {
- if (Node83align === 'left') {
- Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9;
- Node83textWidth = Node83width;
- Node83lineStart = 1;
- } else if (Node83align === 'right') {
- Node83textStart = 0;
- Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2;
- Node83lineStart = (Node83width - (ht.Default.getTextSize('万kWh', ' '+ Node83fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node83align === 'center') {
- Node83textStart = -3;
- Node83textWidth = Node83width;
- Node83lineStart = Node83width - ht.Default.getTextSize('万kWh', ' '+ Node83fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "Arial"'))
- Node83.setPosition(1005*ratio.ratioX, 77*ratio.ratioY);
- Node83.setWidth(Node83width);
- Node83.setHeight(Node83height);
- Node83._nodeType = 'text';
- Node83._disallowEvert = true;
- Node83.setRotation(0*Math.PI/180);
- Node83.a('node.width', Node83width);
- Node83.a('node.height', Node83height);
- Node83.a('node.rect', [0, 0, Node83width, Node83height]);
- Node83.a('node.bordercolor','rgba(128,128,128,1)');
- Node83.a('node.borderwidth', 0);
- Node83.a('node.background','' || 'rgba(0,0,0,0)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','');
- Node83.a('node.text','万kWh');
- Node83.a('node.textalign','center');
- Node83.a('node.textvAlign','middle');
- Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]);
- Node83.a('node.color','rgba(128,128,128,1)');
- Node83.a('node.font',' '+ Node83fontSize + 'px "Arial"');
- Node83.a('node.textvisible',true);
- Node83.a('node.linefeed',false);
- if (false) {
- Node83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node83.a('node.text') || '万kWh';
- var color=Node83.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"center",color,' '+ Node83fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node83.a('node.underlinepoints',[Node83lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node83fontSize + 'px "Arial"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
- Node83.a('node.underlinevisible',false);
- Node83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node83);
- zoomNodeList.push({
- node: Node83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84 = new ht.Node();
- var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'center', Node84fontSize = 13.3333*_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('万kWh', ' '+ Node84fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node84align === 'center') {
- Node84textStart = -3;
- Node84textWidth = Node84width;
- Node84lineStart = Node84width - ht.Default.getTextSize('万kWh', ' '+ Node84fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "Arial"'))
- Node84.setPosition(1005*ratio.ratioX, 100*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(128,128,128,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','万kWh');
- Node84.a('node.textalign','center');
- Node84.a('node.textvAlign','middle');
- Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
- Node84.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node84.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"center",color,' '+ Node84fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node84.a('node.underlinepoints',[Node84lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 13.3333*_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('万kWh', ' '+ Node85fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node85align === 'center') {
- Node85textStart = -3;
- Node85textWidth = Node85width;
- Node85lineStart = Node85width - ht.Default.getTextSize('万kWh', ' '+ Node85fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "Arial"'))
- Node85.setPosition(1005*ratio.ratioX, 126*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(128,128,128,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','万kWh');
- Node85.a('node.textalign','center');
- Node85.a('node.textvAlign','middle');
- Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
- Node85.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node85.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"center",color,' '+ Node85fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node85.a('node.underlinepoints',[Node85lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 Node86type = 'rect';
- var Node86 = new ht.Node(),
- Node86BorderWidth = 1*2;
- if (Node86type === 'arc') {
- Node86BorderWidth *= 1;
- }
- Node86.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node86type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node86.setPosition(1098*ratio.ratioX, 99*ratio.ratioY);
- Node86.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node86.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node86.a('node.width', 117*_ratio.ratioX);
- Node86.a('node.height', 24.33138*_ratio.ratioY);
- Node86.a('node.type', Node86type);
- Node86.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node86.a('node.background', 'rgba(240,240,240,1)');
- Node86.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node86.a('node.gradient', '');
- Node86.a('node.borderwidth', Node86BorderWidth);
- Node86.a('node.color', 'rgba(224,224,224,1)');
- Node86.a('node.fillrect', [0,0,0,0]);
- Node86.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradient', '');
- if (Node86type !== 'rect') {
- Node86.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node86.a('node.arcTo', parseFloat('@arcTo@'));
- Node86.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node86type === 'arc') {
- Node86.a('node.arcOval', true);
- }
- Node86.setRotation(0*Math.PI/180);
- Node86.borderWidth = Node86BorderWidth;
- Node86.borderFillwidth = Node86BorderWidth;
- dataModel.add(Node86);
- Node86._nodename = 'Node86'
- Node86._nodeType = 'rect';
- zoomNodeList.push({
- node: Node86,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node86, Node86.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87type = 'rect';
- var Node87 = new ht.Node(),
- Node87BorderWidth = 1*2;
- if (Node87type === 'arc') {
- Node87BorderWidth *= 1;
- }
- Node87.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node87.setPosition(1098*ratio.ratioX, 75*ratio.ratioY);
- Node87.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node87.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node87.a('node.width', 117*_ratio.ratioX);
- Node87.a('node.height', 24.33138*_ratio.ratioY);
- Node87.a('node.type', Node87type);
- Node87.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node87.a('node.background', 'rgba(240,240,240,1)');
- Node87.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node87.a('node.gradient', '');
- Node87.a('node.borderwidth', Node87BorderWidth);
- Node87.a('node.color', 'rgba(224,224,224,1)');
- Node87.a('node.fillrect', [0,0,0,0]);
- Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradient', '');
- if (Node87type !== 'rect') {
- Node87.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node87.a('node.arcTo', parseFloat('@arcTo@'));
- Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node87type === 'arc') {
- Node87.a('node.arcOval', true);
- }
- Node87.setRotation(0*Math.PI/180);
- Node87.borderWidth = Node87BorderWidth;
- Node87.borderFillwidth = Node87BorderWidth;
- dataModel.add(Node87);
- Node87._nodename = 'Node87'
- Node87._nodeType = 'rect';
- zoomNodeList.push({
- node: Node87,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node87, Node87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88type = 'rect';
- var Node88 = new ht.Node(),
- Node88BorderWidth = 1*2;
- if (Node88type === 'arc') {
- Node88BorderWidth *= 1;
- }
- Node88.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node88type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node88.setPosition(1098*ratio.ratioX, 124*ratio.ratioY);
- Node88.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node88.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node88.a('node.width', 117*_ratio.ratioX);
- Node88.a('node.height', 24.33136*_ratio.ratioY);
- Node88.a('node.type', Node88type);
- Node88.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node88.a('node.background', 'rgba(240,240,240,1)');
- Node88.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node88.a('node.gradient', '');
- Node88.a('node.borderwidth', Node88BorderWidth);
- Node88.a('node.color', 'rgba(224,224,224,1)');
- Node88.a('node.fillrect', [0,0,0,0]);
- Node88.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node88.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node88.a('node.fillgradient', '');
- if (Node88type !== 'rect') {
- Node88.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node88.a('node.arcTo', parseFloat('@arcTo@'));
- Node88.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node88type === 'arc') {
- Node88.a('node.arcOval', true);
- }
- Node88.setRotation(0*Math.PI/180);
- Node88.borderWidth = Node88BorderWidth;
- Node88.borderFillwidth = Node88BorderWidth;
- dataModel.add(Node88);
- Node88._nodename = 'Node88'
- Node88._nodeType = 'rect';
- zoomNodeList.push({
- node: Node88,
- 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);
- }
- })(Node88, Node88.getImage());_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(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node89type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node89.setPosition(1098*ratio.ratioX, 51*ratio.ratioY);
- Node89.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node89.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node89.a('node.width', 117*_ratio.ratioX);
- Node89.a('node.height', 24.33136*_ratio.ratioY);
- Node89.a('node.type', Node89type);
- Node89.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node89.a('node.background', 'rgba(240,240,240,1)');
- Node89.a('node.gradientcolor', 'rgba(240,240,240,1)');
- 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(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node90type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node90.setPosition(1098*ratio.ratioX, 148*ratio.ratioY);
- Node90.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node90.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node90.a('node.width', 117*_ratio.ratioX);
- Node90.a('node.height', 24.33138*_ratio.ratioY);
- Node90.a('node.type', Node90type);
- Node90.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node90.a('node.background', 'rgba(240,240,240,1)');
- Node90.a('node.gradientcolor', 'rgba(240,240,240,1)');
- 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 Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'center', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 26*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('年维护损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "微软雅黑"'))
- Node91.setPosition(1098*ratio.ratioX, 53*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(0,0,0,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','年维护损失电量');
- Node91.a('node.textalign','center');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "微软雅黑"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || '年维护损失电量';
- var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"center",color,' '+ Node91fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92 = new ht.Node();
- var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'center', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 110*_ratio.ratioX, Node92height = 26*_ratio.ratioY;
- (function () {
- if (Node92align === 'left') {
- Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
- Node92textWidth = Node92width;
- Node92lineStart = 1;
- } else if (Node92align === 'right') {
- Node92textStart = 0;
- Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
- Node92lineStart = (Node92width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node92fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('年故障损失电量', ' '+ Node92fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "微软雅黑"'))
- Node92.setPosition(1098*ratio.ratioX, 76*ratio.ratioY);
- Node92.setWidth(Node92width);
- Node92.setHeight(Node92height);
- Node92._nodeType = 'text';
- Node92._disallowEvert = true;
- Node92.setRotation(0*Math.PI/180);
- Node92.a('node.width', Node92width);
- Node92.a('node.height', Node92height);
- Node92.a('node.rect', [0, 0, Node92width, Node92height]);
- Node92.a('node.bordercolor','rgba(0,0,0,1)');
- Node92.a('node.borderwidth', 0);
- Node92.a('node.background','' || 'rgba(0,0,0,0)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','');
- Node92.a('node.text','年故障损失电量');
- Node92.a('node.textalign','center');
- Node92.a('node.textvAlign','middle');
- Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
- Node92.a('node.color','rgba(0,0,0,1)');
- Node92.a('node.font',' '+ Node92fontSize + 'px "微软雅黑"');
- Node92.a('node.textvisible',true);
- Node92.a('node.linefeed',false);
- if (false) {
- Node92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node92.a('node.text') || '年故障损失电量';
- var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"center",color,' '+ Node92fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node92.a('node.underlinepoints',[Node92lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node92fontSize + 'px "微软雅黑"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
- Node92.a('node.underlinevisible',false);
- Node92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node92);
- zoomNodeList.push({
- node: Node92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 110*_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('年限电损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('年限电损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "微软雅黑"'))
- Node93.setPosition(1098*ratio.ratioX, 101*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(0,0,0,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','年限电损失电量');
- Node93.a('node.textalign','center');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(0,0,0,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "微软雅黑"');
- 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') || '年限电损失电量';
- var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"center",color,' '+ Node93fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').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 = 110*_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('年受累损失电量', ' '+ Node94fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node94align === 'center') {
- Node94textStart = -3;
- Node94textWidth = Node94width;
- Node94lineStart = Node94width - ht.Default.getTextSize('年受累损失电量', ' '+ Node94fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "微软雅黑"'))
- Node94.setPosition(1098*ratio.ratioX, 126*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(0,0,0,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','年受累损失电量');
- Node94.a('node.textalign','center');
- Node94.a('node.textvAlign','middle');
- Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
- Node94.a('node.color','rgba(0,0,0,1)');
- Node94.a('node.font',' '+ Node94fontSize + 'px "微软雅黑"');
- 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') || '年受累损失电量';
- var color=Node94.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"center",color,' '+ Node94fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node94fontSize + 'px "微软雅黑"').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 Node95type = 'rect';
- var Node95 = new ht.Node(),
- Node95BorderWidth = 1*2;
- if (Node95type === 'arc') {
- Node95BorderWidth *= 1;
- }
- Node95.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node95.setPosition(1204*ratio.ratioX, 51*ratio.ratioY);
- Node95.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node95.a('node.width', 95*_ratio.ratioX);
- Node95.a('node.height', 24.33136*_ratio.ratioY);
- Node95.a('node.type', Node95type);
- Node95.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node95.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node95.a('node.gradientcolor', '');
- Node95.a('node.gradient', '');
- Node95.a('node.borderwidth', Node95BorderWidth);
- Node95.a('node.color', 'rgba(224,224,224,1)');
- Node95.a('node.fillrect', [0,0,0,0]);
- Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradient', '');
- if (Node95type !== 'rect') {
- Node95.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node95.a('node.arcTo', parseFloat('@arcTo@'));
- Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node95type === 'arc') {
- Node95.a('node.arcOval', true);
- }
- Node95.setRotation(0*Math.PI/180);
- Node95.borderWidth = Node95BorderWidth;
- Node95.borderFillwidth = Node95BorderWidth;
- dataModel.add(Node95);
- Node95._nodename = 'Node95'
- Node95._nodeType = 'rect';
- zoomNodeList.push({
- node: Node95,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96type = 'rect';
- var Node96 = new ht.Node(),
- Node96BorderWidth = 1*2;
- if (Node96type === 'arc') {
- Node96BorderWidth *= 1;
- }
- Node96.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node96.setPosition(1204*ratio.ratioX, 75*ratio.ratioY);
- Node96.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node96.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node96.a('node.width', 95*_ratio.ratioX);
- Node96.a('node.height', 24.33138*_ratio.ratioY);
- Node96.a('node.type', Node96type);
- Node96.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node96.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node96.a('node.gradientcolor', '');
- Node96.a('node.gradient', '');
- Node96.a('node.borderwidth', Node96BorderWidth);
- Node96.a('node.color', 'rgba(224,224,224,1)');
- Node96.a('node.fillrect', [0,0,0,0]);
- Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradient', '');
- if (Node96type !== 'rect') {
- Node96.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node96.a('node.arcTo', parseFloat('@arcTo@'));
- Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node96type === 'arc') {
- Node96.a('node.arcOval', true);
- }
- Node96.setRotation(0*Math.PI/180);
- Node96.borderWidth = Node96BorderWidth;
- Node96.borderFillwidth = Node96BorderWidth;
- dataModel.add(Node96);
- Node96._nodename = 'Node96'
- Node96._nodeType = 'rect';
- zoomNodeList.push({
- node: Node96,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97type = 'rect';
- var Node97 = new ht.Node(),
- Node97BorderWidth = 1*2;
- if (Node97type === 'arc') {
- Node97BorderWidth *= 1;
- }
- Node97.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node97.setPosition(1204*ratio.ratioX, 99*ratio.ratioY);
- Node97.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node97.a('node.width', 95*_ratio.ratioX);
- Node97.a('node.height', 24.33138*_ratio.ratioY);
- Node97.a('node.type', Node97type);
- Node97.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node97.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node97.a('node.gradientcolor', '');
- Node97.a('node.gradient', '');
- Node97.a('node.borderwidth', Node97BorderWidth);
- Node97.a('node.color', 'rgba(224,224,224,1)');
- Node97.a('node.fillrect', [0,0,0,0]);
- Node97.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradient', '');
- if (Node97type !== 'rect') {
- Node97.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node97.a('node.arcTo', parseFloat('@arcTo@'));
- Node97.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node97type === 'arc') {
- Node97.a('node.arcOval', true);
- }
- Node97.setRotation(0*Math.PI/180);
- Node97.borderWidth = Node97BorderWidth;
- Node97.borderFillwidth = Node97BorderWidth;
- dataModel.add(Node97);
- Node97._nodename = 'Node97'
- Node97._nodeType = 'rect';
- zoomNodeList.push({
- node: Node97,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node97, Node97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98type = 'rect';
- var Node98 = new ht.Node(),
- Node98BorderWidth = 1*2;
- if (Node98type === 'arc') {
- Node98BorderWidth *= 1;
- }
- Node98.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node98.setPosition(1204*ratio.ratioX, 124*ratio.ratioY);
- Node98.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node98.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node98.a('node.width', 95*_ratio.ratioX);
- Node98.a('node.height', 24.33136*_ratio.ratioY);
- Node98.a('node.type', Node98type);
- Node98.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node98.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node98.a('node.gradientcolor', '');
- 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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node99.setPosition(1204*ratio.ratioX, 148*ratio.ratioY);
- Node99.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node99.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node99.a('node.width', 95*_ratio.ratioX);
- Node99.a('node.height', 24.33138*_ratio.ratioY);
- Node99.a('node.type', Node99type);
- Node99.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node99.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node99.a('node.gradientcolor', '');
- 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(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node100type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node100.setPosition(1284*ratio.ratioX, 51*ratio.ratioY);
- Node100.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node100.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node100.a('node.width', 65*_ratio.ratioX);
- Node100.a('node.height', 24.33136*_ratio.ratioY);
- Node100.a('node.type', Node100type);
- Node100.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node100.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node100.a('node.gradientcolor', '');
- 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 Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'center', Node101fontSize = 14.66663*_ratio.ratioY,Node101width = 59*_ratio.ratioX, Node101height = 26*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(1204*ratio.ratioX, 53*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(0,0,0,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','0');
- Node101.a('node.textalign','center');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(0,0,0,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '0';
- var color=Node101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node101width,Node101height,14.66663*_ratio.ratioY,"center",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'center', Node102fontSize = 14.66663*_ratio.ratioY,Node102width = 59*_ratio.ratioX, Node102height = 26*_ratio.ratioY;
- (function () {
- if (Node102align === 'left') {
- Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
- Node102textWidth = Node102width;
- Node102lineStart = 1;
- } else if (Node102align === 'right') {
- Node102textStart = 0;
- Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
- Node102lineStart = (Node102width - (ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
- Node102.setPosition(1204*ratio.ratioX, 77*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(0,0,0,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','0');
- Node102.a('node.textalign','center');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(0,0,0,1)');
- Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
- Node102.a('node.textvisible',true);
- Node102.a('node.linefeed',false);
- if (false) {
- Node102.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node102.a('node.text') || '0';
- var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node102width,Node102height,14.66663*_ratio.ratioY,"center",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'center', Node103fontSize = 14.66663*_ratio.ratioY,Node103width = 59*_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('0', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('0', ' '+ Node103fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
- Node103.setPosition(1204*ratio.ratioX, 102*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node103width,Node103height,14.66663*_ratio.ratioY,"center",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node103fontSize + 'px "Arial"').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 = 14.66663*_ratio.ratioY,Node104width = 59*_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('0', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
- Node104.setPosition(1204*ratio.ratioX, 125*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node104width,Node104height,14.66663*_ratio.ratioY,"center",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').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 Node105type = 'rect';
- var Node105 = new ht.Node(),
- Node105BorderWidth = 1*2;
- if (Node105type === 'arc') {
- Node105BorderWidth *= 1;
- }
- Node105.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node105type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node105.setPosition(1284*ratio.ratioX, 75*ratio.ratioY);
- Node105.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node105.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node105.a('node.width', 65*_ratio.ratioX);
- Node105.a('node.height', 24.33138*_ratio.ratioY);
- Node105.a('node.type', Node105type);
- Node105.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node105.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node105.a('node.gradientcolor', '');
- Node105.a('node.gradient', '');
- Node105.a('node.borderwidth', Node105BorderWidth);
- Node105.a('node.color', 'rgba(224,224,224,1)');
- Node105.a('node.fillrect', [0,0,0,0]);
- Node105.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradient', '');
- if (Node105type !== 'rect') {
- Node105.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node105.a('node.arcTo', parseFloat('@arcTo@'));
- Node105.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node105type === 'arc') {
- Node105.a('node.arcOval', true);
- }
- Node105.setRotation(0*Math.PI/180);
- Node105.borderWidth = Node105BorderWidth;
- Node105.borderFillwidth = Node105BorderWidth;
- dataModel.add(Node105);
- Node105._nodename = 'Node105'
- Node105._nodeType = 'rect';
- zoomNodeList.push({
- node: Node105,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node105, Node105.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106type = 'rect';
- var Node106 = new ht.Node(),
- Node106BorderWidth = 1*2;
- if (Node106type === 'arc') {
- Node106BorderWidth *= 1;
- }
- Node106.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node106type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node106.setPosition(1284*ratio.ratioX, 99*ratio.ratioY);
- Node106.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node106.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node106.a('node.width', 65*_ratio.ratioX);
- Node106.a('node.height', 24.33138*_ratio.ratioY);
- Node106.a('node.type', Node106type);
- Node106.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node106.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node106.a('node.gradientcolor', '');
- Node106.a('node.gradient', '');
- Node106.a('node.borderwidth', Node106BorderWidth);
- Node106.a('node.color', 'rgba(224,224,224,1)');
- Node106.a('node.fillrect', [0,0,0,0]);
- Node106.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradient', '');
- if (Node106type !== 'rect') {
- Node106.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node106.a('node.arcTo', parseFloat('@arcTo@'));
- Node106.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node106type === 'arc') {
- Node106.a('node.arcOval', true);
- }
- Node106.setRotation(0*Math.PI/180);
- Node106.borderWidth = Node106BorderWidth;
- Node106.borderFillwidth = Node106BorderWidth;
- dataModel.add(Node106);
- Node106._nodename = 'Node106'
- Node106._nodeType = 'rect';
- zoomNodeList.push({
- node: Node106,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node106, Node106.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107type = 'rect';
- var Node107 = new ht.Node(),
- Node107BorderWidth = 1*2;
- if (Node107type === 'arc') {
- Node107BorderWidth *= 1;
- }
- Node107.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node107type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node107.setPosition(1284*ratio.ratioX, 124*ratio.ratioY);
- Node107.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node107.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node107.a('node.width', 65*_ratio.ratioX);
- Node107.a('node.height', 24.33136*_ratio.ratioY);
- Node107.a('node.type', Node107type);
- Node107.a('node.rect', [0, 0, 65*_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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node108type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node108.setPosition(1284*ratio.ratioX, 148*ratio.ratioY);
- Node108.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node108.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node108.a('node.width', 65*_ratio.ratioX);
- Node108.a('node.height', 24.33138*_ratio.ratioY);
- Node108.a('node.type', Node108type);
- Node108.a('node.rect', [0, 0, 65*_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 Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'center', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 59*_ratio.ratioX, Node109height = 26*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
- Node109.setPosition(1285*ratio.ratioX, 53*ratio.ratioY);
- Node109.setWidth(Node109width);
- Node109.setHeight(Node109height);
- Node109._nodeType = 'text';
- Node109._disallowEvert = true;
- Node109.setRotation(0*Math.PI/180);
- Node109.a('node.width', Node109width);
- Node109.a('node.height', Node109height);
- Node109.a('node.rect', [0, 0, Node109width, Node109height]);
- Node109.a('node.bordercolor','rgba(128,128,128,1)');
- Node109.a('node.borderwidth', 0);
- Node109.a('node.background','' || 'rgba(0,0,0,0)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','');
- Node109.a('node.text','万kWh');
- Node109.a('node.textalign','center');
- Node109.a('node.textvAlign','middle');
- Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
- Node109.a('node.color','rgba(128,128,128,1)');
- Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"');
- Node109.a('node.textvisible',true);
- Node109.a('node.linefeed',false);
- if (false) {
- Node109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node109.a('node.text') || '万kWh';
- var color=Node109.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"center",color,' '+ Node109fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node109.a('node.underlinepoints',[Node109lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
- Node109.a('node.underlinevisible',false);
- Node109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node109);
- zoomNodeList.push({
- node: Node109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'center', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 59*_ratio.ratioX, Node110height = 26*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(1285*ratio.ratioX, 77*ratio.ratioY);
- Node110.setWidth(Node110width);
- Node110.setHeight(Node110height);
- Node110._nodeType = 'text';
- Node110._disallowEvert = true;
- Node110.setRotation(0*Math.PI/180);
- Node110.a('node.width', Node110width);
- Node110.a('node.height', Node110height);
- Node110.a('node.rect', [0, 0, Node110width, Node110height]);
- Node110.a('node.bordercolor','rgba(128,128,128,1)');
- Node110.a('node.borderwidth', 0);
- Node110.a('node.background','' || 'rgba(0,0,0,0)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','');
- Node110.a('node.text','万kWh');
- Node110.a('node.textalign','center');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(128,128,128,1)');
- Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '万kWh';
- var color=Node110.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"center",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'center', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 59*_ratio.ratioX, Node111height = 26*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(1285*ratio.ratioX, 100*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(128,128,128,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','万kWh');
- Node111.a('node.textalign','center');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(128,128,128,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '万kWh';
- var color=Node111.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"center",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112 = new ht.Node();
- var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'center', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 59*_ratio.ratioX, Node112height = 26*_ratio.ratioY;
- (function () {
- if (Node112align === 'left') {
- Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
- Node112textWidth = Node112width;
- Node112lineStart = 1;
- } else if (Node112align === 'right') {
- Node112textStart = 0;
- Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
- Node112lineStart = (Node112width - (ht.Default.getTextSize('万kWh', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('万kWh', ' '+ Node112fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
- Node112.setPosition(1285*ratio.ratioX, 126*ratio.ratioY);
- Node112.setWidth(Node112width);
- Node112.setHeight(Node112height);
- Node112._nodeType = 'text';
- Node112._disallowEvert = true;
- Node112.setRotation(0*Math.PI/180);
- Node112.a('node.width', Node112width);
- Node112.a('node.height', Node112height);
- Node112.a('node.rect', [0, 0, Node112width, Node112height]);
- Node112.a('node.bordercolor','rgba(128,128,128,1)');
- Node112.a('node.borderwidth', 0);
- Node112.a('node.background','' || 'rgba(0,0,0,0)');
- Node112.a('node.gradient','');
- Node112.a('node.gradientcolor','');
- Node112.a('node.text','万kWh');
- Node112.a('node.textalign','center');
- Node112.a('node.textvAlign','middle');
- Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
- Node112.a('node.color','rgba(128,128,128,1)');
- Node112.a('node.font',' '+ Node112fontSize + 'px "Arial"');
- Node112.a('node.textvisible',true);
- Node112.a('node.linefeed',false);
- if (false) {
- Node112.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node112.a('node.text') || '万kWh';
- var color=Node112.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"center",color,' '+ Node112fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node112.a('node.underlinepoints',[Node112lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node112fontSize + 'px "Arial"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]);
- Node112.a('node.underlinevisible',false);
- Node112.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node112);
- zoomNodeList.push({
- node: Node112,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.Node();
- var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 67*_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('装机容量', ' '+ Node113fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('装机容量', ' '+ Node113fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "微软雅黑"'))
- Node113.setPosition(230*ratio.ratioX, 52*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','装机容量');
- Node113.a('node.textalign','left');
- 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 "微软雅黑"');
- 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') || '装机容量';
- var color=Node113.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node113fontSize + 'px "微软雅黑"').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 Node114type = 'rect';
- var Node114 = new ht.Node(),
- Node114BorderWidth = 1*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 1;
- }
- Node114.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(361*ratio.ratioX, 51*ratio.ratioY);
- Node114.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 94*_ratio.ratioX);
- Node114.a('node.height', 24.33136*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node114.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node114.a('node.gradientcolor', '');
- Node114.a('node.gradient', '');
- Node114.a('node.borderwidth', Node114BorderWidth);
- Node114.a('node.color', 'rgba(224,224,224,1)');
- Node114.a('node.fillrect', [0,0,0,0]);
- Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradient', '');
- if (Node114type !== 'rect') {
- Node114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node114.a('node.arcTo', parseFloat('@arcTo@'));
- Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node114type === 'arc') {
- Node114.a('node.arcOval', true);
- }
- Node114.setRotation(0*Math.PI/180);
- Node114.borderWidth = Node114BorderWidth;
- Node114.borderFillwidth = Node114BorderWidth;
- dataModel.add(Node114);
- Node114._nodename = 'Node114'
- Node114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115type = 'rect';
- var Node115 = new ht.Node(),
- Node115BorderWidth = 1*2;
- if (Node115type === 'arc') {
- Node115BorderWidth *= 1;
- }
- Node115.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node115.setPosition(361*ratio.ratioX, 75*ratio.ratioY);
- Node115.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node115.a('node.width', 94*_ratio.ratioX);
- Node115.a('node.height', 24.33138*_ratio.ratioY);
- Node115.a('node.type', Node115type);
- Node115.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node115.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node115.a('node.gradientcolor', '');
- Node115.a('node.gradient', '');
- Node115.a('node.borderwidth', Node115BorderWidth);
- Node115.a('node.color', 'rgba(224,224,224,1)');
- Node115.a('node.fillrect', [0,0,0,0]);
- Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradient', '');
- if (Node115type !== 'rect') {
- Node115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node115.a('node.arcTo', parseFloat('@arcTo@'));
- Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node115type === 'arc') {
- Node115.a('node.arcOval', true);
- }
- Node115.setRotation(0*Math.PI/180);
- Node115.borderWidth = Node115BorderWidth;
- Node115.borderFillwidth = Node115BorderWidth;
- dataModel.add(Node115);
- Node115._nodename = 'Node115'
- Node115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116type = 'rect';
- var Node116 = new ht.Node(),
- Node116BorderWidth = 1*2;
- if (Node116type === 'arc') {
- Node116BorderWidth *= 1;
- }
- Node116.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node116.setPosition(361*ratio.ratioX, 99*ratio.ratioY);
- Node116.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node116.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node116.a('node.width', 94*_ratio.ratioX);
- Node116.a('node.height', 24.33138*_ratio.ratioY);
- Node116.a('node.type', Node116type);
- Node116.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node116.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node116.a('node.gradientcolor', '');
- Node116.a('node.gradient', '');
- Node116.a('node.borderwidth', Node116BorderWidth);
- Node116.a('node.color', 'rgba(224,224,224,1)');
- Node116.a('node.fillrect', [0,0,0,0]);
- Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradient', '');
- if (Node116type !== 'rect') {
- Node116.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node116.a('node.arcTo', parseFloat('@arcTo@'));
- Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node116type === 'arc') {
- Node116.a('node.arcOval', true);
- }
- Node116.setRotation(0*Math.PI/180);
- Node116.borderWidth = Node116BorderWidth;
- Node116.borderFillwidth = Node116BorderWidth;
- dataModel.add(Node116);
- Node116._nodename = 'Node116'
- Node116._nodeType = 'rect';
- zoomNodeList.push({
- node: Node116,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117type = 'rect';
- var Node117 = new ht.Node(),
- Node117BorderWidth = 1*2;
- if (Node117type === 'arc') {
- Node117BorderWidth *= 1;
- }
- Node117.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node117type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node117.setPosition(361*ratio.ratioX, 124*ratio.ratioY);
- Node117.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node117.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node117.a('node.width', 94*_ratio.ratioX);
- Node117.a('node.height', 24.33136*_ratio.ratioY);
- Node117.a('node.type', Node117type);
- Node117.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node117.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node117.a('node.gradientcolor', '');
- Node117.a('node.gradient', '');
- Node117.a('node.borderwidth', Node117BorderWidth);
- Node117.a('node.color', 'rgba(224,224,224,1)');
- Node117.a('node.fillrect', [0,0,0,0]);
- Node117.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradient', '');
- if (Node117type !== 'rect') {
- Node117.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node117.a('node.arcTo', parseFloat('@arcTo@'));
- Node117.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node117type === 'arc') {
- Node117.a('node.arcOval', true);
- }
- Node117.setRotation(0*Math.PI/180);
- Node117.borderWidth = Node117BorderWidth;
- Node117.borderFillwidth = Node117BorderWidth;
- dataModel.add(Node117);
- Node117._nodename = 'Node117'
- Node117._nodeType = 'rect';
- zoomNodeList.push({
- node: Node117,
- 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);
- }
- })(Node117, Node117.getImage());_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(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node118type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node118.setPosition(361*ratio.ratioX, 148*ratio.ratioY);
- Node118.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node118.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node118.a('node.width', 94*_ratio.ratioX);
- Node118.a('node.height', 24.33138*_ratio.ratioY);
- Node118.a('node.type', Node118type);
- Node118.a('node.rect', [0, 0, 94*_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 Node119 = new ht.Node();
- var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'center', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 58*_ratio.ratioX, Node119height = 26*_ratio.ratioY;
- (function () {
- if (Node119align === 'left') {
- Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9;
- Node119textWidth = Node119width;
- Node119lineStart = 1;
- } else if (Node119align === 'right') {
- Node119textStart = 0;
- Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2;
- Node119lineStart = (Node119width - (ht.Default.getTextSize('0', ' '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('0', ' '+ Node119fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "Arial"'))
- Node119.setPosition(361*ratio.ratioX, 53*ratio.ratioY);
- Node119.setWidth(Node119width);
- Node119.setHeight(Node119height);
- Node119._nodeType = 'text';
- Node119._disallowEvert = true;
- Node119.setRotation(0*Math.PI/180);
- Node119.a('node.width', Node119width);
- Node119.a('node.height', Node119height);
- Node119.a('node.rect', [0, 0, Node119width, Node119height]);
- Node119.a('node.bordercolor','rgba(0,0,0,1)');
- Node119.a('node.borderwidth', 0);
- Node119.a('node.background','' || 'rgba(0,0,0,0)');
- Node119.a('node.gradient','');
- Node119.a('node.gradientcolor','');
- Node119.a('node.text','0');
- Node119.a('node.textalign','center');
- Node119.a('node.textvAlign','middle');
- Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]);
- Node119.a('node.color','rgba(0,0,0,1)');
- Node119.a('node.font',' '+ Node119fontSize + 'px "Arial"');
- Node119.a('node.textvisible',true);
- Node119.a('node.linefeed',false);
- if (false) {
- Node119.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node119.a('node.text') || '0';
- var color=Node119.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"center",color,' '+ Node119fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node119fontSize + 'px "Arial"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]);
- Node119.a('node.underlinevisible',false);
- Node119.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node119);
- zoomNodeList.push({
- node: Node119,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.Node();
- var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'center', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 58*_ratio.ratioX, Node120height = 26*_ratio.ratioY;
- (function () {
- if (Node120align === 'left') {
- Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9;
- Node120textWidth = Node120width;
- Node120lineStart = 1;
- } else if (Node120align === 'right') {
- Node120textStart = 0;
- Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2;
- Node120lineStart = (Node120width - (ht.Default.getTextSize('0', ' '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('0', ' '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(361*ratio.ratioX, 77*ratio.ratioY);
- Node120.setWidth(Node120width);
- Node120.setHeight(Node120height);
- Node120._nodeType = 'text';
- Node120._disallowEvert = true;
- Node120.setRotation(0*Math.PI/180);
- Node120.a('node.width', Node120width);
- Node120.a('node.height', Node120height);
- Node120.a('node.rect', [0, 0, Node120width, Node120height]);
- Node120.a('node.bordercolor','rgba(0,0,0,1)');
- Node120.a('node.borderwidth', 0);
- Node120.a('node.background','' || 'rgba(0,0,0,0)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','');
- Node120.a('node.text','0');
- Node120.a('node.textalign','center');
- Node120.a('node.textvAlign','middle');
- Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
- Node120.a('node.color','rgba(0,0,0,1)');
- Node120.a('node.font',' '+ Node120fontSize + 'px "Arial"');
- Node120.a('node.textvisible',true);
- Node120.a('node.linefeed',false);
- if (false) {
- Node120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node120.a('node.text') || '0';
- var color=Node120.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"center",color,' '+ Node120fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121 = new ht.Node();
- var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'center', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 58*_ratio.ratioX, Node121height = 26*_ratio.ratioY;
- (function () {
- if (Node121align === 'left') {
- Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
- Node121textWidth = Node121width;
- Node121lineStart = 1;
- } else if (Node121align === 'right') {
- Node121textStart = 0;
- Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
- Node121lineStart = (Node121width - (ht.Default.getTextSize('0', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('0', ' '+ Node121fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
- Node121.setPosition(361*ratio.ratioX, 102*ratio.ratioY);
- Node121.setWidth(Node121width);
- Node121.setHeight(Node121height);
- Node121._nodeType = 'text';
- Node121._disallowEvert = true;
- Node121.setRotation(0*Math.PI/180);
- Node121.a('node.width', Node121width);
- Node121.a('node.height', Node121height);
- Node121.a('node.rect', [0, 0, Node121width, Node121height]);
- Node121.a('node.bordercolor','rgba(0,0,0,1)');
- Node121.a('node.borderwidth', 0);
- Node121.a('node.background','' || 'rgba(0,0,0,0)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','');
- Node121.a('node.text','0');
- Node121.a('node.textalign','center');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(0,0,0,1)');
- Node121.a('node.font',' '+ Node121fontSize + 'px "Arial"');
- Node121.a('node.textvisible',true);
- Node121.a('node.linefeed',false);
- if (false) {
- Node121.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node121.a('node.text') || '0';
- var color=Node121.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"center",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node121fontSize + 'px "Arial"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]);
- Node121.a('node.underlinevisible',false);
- Node121.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node121);
- zoomNodeList.push({
- node: Node121,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 58*_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('0', ' '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node122align === 'center') {
- Node122textStart = -3;
- Node122textWidth = Node122width;
- Node122lineStart = Node122width - ht.Default.getTextSize('0', ' '+ Node122fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, ' '+ Node122fontSize + 'px "Arial"'))
- Node122.setPosition(361*ratio.ratioX, 125*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(0,0,0,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','0');
- Node122.a('node.textalign','center');
- Node122.a('node.textvAlign','middle');
- Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]);
- Node122.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node122.a('node.color') || 'rgba(0,0,0,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('0', ' '+ 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 Node123type = 'rect';
- var Node123 = new ht.Node(),
- Node123BorderWidth = 1*2;
- if (Node123type === 'arc') {
- Node123BorderWidth *= 1;
- }
- Node123.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node123.setPosition(440*ratio.ratioX, 51*ratio.ratioY);
- Node123.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node123.a('node.width', 65*_ratio.ratioX);
- Node123.a('node.height', 24.33136*_ratio.ratioY);
- Node123.a('node.type', Node123type);
- Node123.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node123.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node123.a('node.gradientcolor', '');
- Node123.a('node.gradient', '');
- Node123.a('node.borderwidth', Node123BorderWidth);
- Node123.a('node.color', 'rgba(224,224,224,1)');
- Node123.a('node.fillrect', [0,0,0,0]);
- Node123.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradient', '');
- if (Node123type !== 'rect') {
- Node123.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node123.a('node.arcTo', parseFloat('@arcTo@'));
- Node123.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node123type === 'arc') {
- Node123.a('node.arcOval', true);
- }
- Node123.setRotation(0*Math.PI/180);
- Node123.borderWidth = Node123BorderWidth;
- Node123.borderFillwidth = Node123BorderWidth;
- dataModel.add(Node123);
- Node123._nodename = 'Node123'
- Node123._nodeType = 'rect';
- zoomNodeList.push({
- node: Node123,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node123, Node123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124type = 'rect';
- var Node124 = new ht.Node(),
- Node124BorderWidth = 1*2;
- if (Node124type === 'arc') {
- Node124BorderWidth *= 1;
- }
- Node124.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node124.setPosition(440*ratio.ratioX, 75*ratio.ratioY);
- Node124.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node124.a('node.width', 65*_ratio.ratioX);
- Node124.a('node.height', 24.33138*_ratio.ratioY);
- Node124.a('node.type', Node124type);
- Node124.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node124.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node124.a('node.gradientcolor', '');
- Node124.a('node.gradient', '');
- Node124.a('node.borderwidth', Node124BorderWidth);
- Node124.a('node.color', 'rgba(224,224,224,1)');
- Node124.a('node.fillrect', [0,0,0,0]);
- Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradient', '');
- if (Node124type !== 'rect') {
- Node124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node124.a('node.arcTo', parseFloat('@arcTo@'));
- Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node124type === 'arc') {
- Node124.a('node.arcOval', true);
- }
- Node124.setRotation(0*Math.PI/180);
- Node124.borderWidth = Node124BorderWidth;
- Node124.borderFillwidth = Node124BorderWidth;
- dataModel.add(Node124);
- Node124._nodename = 'Node124'
- Node124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125type = 'rect';
- var Node125 = new ht.Node(),
- Node125BorderWidth = 1*2;
- if (Node125type === 'arc') {
- Node125BorderWidth *= 1;
- }
- Node125.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node125type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node125.setPosition(440*ratio.ratioX, 99*ratio.ratioY);
- Node125.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node125.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node125.a('node.width', 65*_ratio.ratioX);
- Node125.a('node.height', 24.33138*_ratio.ratioY);
- Node125.a('node.type', Node125type);
- Node125.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node125.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node125.a('node.gradientcolor', '');
- Node125.a('node.gradient', '');
- Node125.a('node.borderwidth', Node125BorderWidth);
- Node125.a('node.color', 'rgba(224,224,224,1)');
- Node125.a('node.fillrect', [0,0,0,0]);
- Node125.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradient', '');
- if (Node125type !== 'rect') {
- Node125.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node125.a('node.arcTo', parseFloat('@arcTo@'));
- Node125.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node125type === 'arc') {
- Node125.a('node.arcOval', true);
- }
- Node125.setRotation(0*Math.PI/180);
- Node125.borderWidth = Node125BorderWidth;
- Node125.borderFillwidth = Node125BorderWidth;
- dataModel.add(Node125);
- Node125._nodename = 'Node125'
- Node125._nodeType = 'rect';
- zoomNodeList.push({
- node: Node125,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node125, Node125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126type = 'rect';
- var Node126 = new ht.Node(),
- Node126BorderWidth = 1*2;
- if (Node126type === 'arc') {
- Node126BorderWidth *= 1;
- }
- Node126.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node126type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node126.setPosition(440*ratio.ratioX, 124*ratio.ratioY);
- Node126.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node126.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node126.a('node.width', 65*_ratio.ratioX);
- Node126.a('node.height', 24.33136*_ratio.ratioY);
- Node126.a('node.type', Node126type);
- Node126.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node126.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node126.a('node.gradientcolor', '');
- Node126.a('node.gradient', '');
- Node126.a('node.borderwidth', Node126BorderWidth);
- Node126.a('node.color', 'rgba(224,224,224,1)');
- Node126.a('node.fillrect', [0,0,0,0]);
- Node126.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradient', '');
- if (Node126type !== 'rect') {
- Node126.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node126.a('node.arcTo', parseFloat('@arcTo@'));
- Node126.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node126type === 'arc') {
- Node126.a('node.arcOval', true);
- }
- Node126.setRotation(0*Math.PI/180);
- Node126.borderWidth = Node126BorderWidth;
- Node126.borderFillwidth = Node126BorderWidth;
- dataModel.add(Node126);
- Node126._nodename = 'Node126'
- Node126._nodeType = 'rect';
- zoomNodeList.push({
- node: Node126,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node126, Node126.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127type = 'rect';
- var Node127 = new ht.Node(),
- Node127BorderWidth = 1*2;
- if (Node127type === 'arc') {
- Node127BorderWidth *= 1;
- }
- Node127.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node127type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node127.setPosition(440*ratio.ratioX, 148*ratio.ratioY);
- Node127.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node127.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node127.a('node.width', 65*_ratio.ratioX);
- Node127.a('node.height', 24.33138*_ratio.ratioY);
- Node127.a('node.type', Node127type);
- Node127.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node127.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node127.a('node.gradientcolor', '');
- Node127.a('node.gradient', '');
- Node127.a('node.borderwidth', Node127BorderWidth);
- Node127.a('node.color', 'rgba(224,224,224,1)');
- Node127.a('node.fillrect', [0,0,0,0]);
- Node127.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradient', '');
- if (Node127type !== 'rect') {
- Node127.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node127.a('node.arcTo', parseFloat('@arcTo@'));
- Node127.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node127type === 'arc') {
- Node127.a('node.arcOval', true);
- }
- Node127.setRotation(0*Math.PI/180);
- Node127.borderWidth = Node127BorderWidth;
- Node127.borderFillwidth = Node127BorderWidth;
- dataModel.add(Node127);
- Node127._nodename = 'Node127'
- Node127._nodeType = 'rect';
- zoomNodeList.push({
- node: Node127,
- 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);
- }
- })(Node127, Node127.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'center', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 59*_ratio.ratioX, Node128height = 26*_ratio.ratioY;
- (function () {
- if (Node128align === 'left') {
- Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
- Node128textWidth = Node128width;
- Node128lineStart = 1;
- } else if (Node128align === 'right') {
- Node128textStart = 0;
- Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
- Node128lineStart = (Node128width - (ht.Default.getTextSize('万kW', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('万kW', ' '+ Node128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
- Node128.setPosition(441*ratio.ratioX, 53*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(128,128,128,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','万kW');
- Node128.a('node.textalign','center');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(128,128,128,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '万kW';
- var color=Node128.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"center",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129 = new ht.Node();
- var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'center', Node129fontSize = 13.3333*_ratio.ratioY,Node129width = 59*_ratio.ratioX, Node129height = 26*_ratio.ratioY;
- (function () {
- if (Node129align === 'left') {
- Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
- Node129textWidth = Node129width;
- Node129lineStart = 1;
- } else if (Node129align === 'right') {
- Node129textStart = 0;
- Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
- Node129lineStart = (Node129width - (ht.Default.getTextSize('MW', ' '+ Node129fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129align === 'center') {
- Node129textStart = -3;
- Node129textWidth = Node129width;
- Node129lineStart = Node129width - ht.Default.getTextSize('MW', ' '+ Node129fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "Arial"'))
- Node129.setPosition(441*ratio.ratioX, 77*ratio.ratioY);
- Node129.setWidth(Node129width);
- Node129.setHeight(Node129height);
- Node129._nodeType = 'text';
- Node129._disallowEvert = true;
- Node129.setRotation(0*Math.PI/180);
- Node129.a('node.width', Node129width);
- Node129.a('node.height', Node129height);
- Node129.a('node.rect', [0, 0, Node129width, Node129height]);
- Node129.a('node.bordercolor','rgba(128,128,128,1)');
- Node129.a('node.borderwidth', 0);
- Node129.a('node.background','' || 'rgba(0,0,0,0)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','');
- Node129.a('node.text','MW');
- Node129.a('node.textalign','center');
- Node129.a('node.textvAlign','middle');
- Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
- Node129.a('node.color','rgba(128,128,128,1)');
- Node129.a('node.font',' '+ Node129fontSize + 'px "Arial"');
- Node129.a('node.textvisible',true);
- Node129.a('node.linefeed',false);
- if (false) {
- Node129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129.a('node.text') || 'MW';
- var color=Node129.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node129width,Node129height,13.3333*_ratio.ratioY,"center",color,' '+ Node129fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129.a('node.underlinepoints',[Node129lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node129fontSize + 'px "Arial"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
- Node129.a('node.underlinevisible',false);
- Node129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129);
- zoomNodeList.push({
- node: Node129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'center', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 59*_ratio.ratioX, Node130height = 26*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('m/s', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('m/s', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(441*ratio.ratioX, 100*ratio.ratioY);
- Node130.setWidth(Node130width);
- Node130.setHeight(Node130height);
- Node130._nodeType = 'text';
- Node130._disallowEvert = true;
- Node130.setRotation(0*Math.PI/180);
- Node130.a('node.width', Node130width);
- Node130.a('node.height', Node130height);
- Node130.a('node.rect', [0, 0, Node130width, Node130height]);
- Node130.a('node.bordercolor','rgba(128,128,128,1)');
- Node130.a('node.borderwidth', 0);
- Node130.a('node.background','' || 'rgba(0,0,0,0)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','');
- Node130.a('node.text','m/s');
- Node130.a('node.textalign','center');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(128,128,128,1)');
- Node130.a('node.font',' '+ Node130fontSize + 'px "Arial"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || 'm/s';
- var color=Node130.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"center",color,' '+ Node130fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'center', Node131fontSize = 13.3333*_ratio.ratioY,Node131width = 59*_ratio.ratioX, Node131height = 26*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('万kWh', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('万kWh', ' '+ Node131fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"'))
- Node131.setPosition(441*ratio.ratioX, 126*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(128,128,128,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','万kWh');
- Node131.a('node.textalign','center');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(128,128,128,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '万kWh';
- var color=Node131.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131width,Node131height,13.3333*_ratio.ratioY,"center",color,' '+ Node131fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132type = 'rect';
- var Node132 = new ht.Node(),
- Node132BorderWidth = 1*2;
- if (Node132type === 'arc') {
- Node132BorderWidth *= 1;
- }
- Node132.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node132.setPosition(645*ratio.ratioX, 51*ratio.ratioY);
- Node132.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node132.a('node.width', 94*_ratio.ratioX);
- Node132.a('node.height', 24.33136*_ratio.ratioY);
- Node132.a('node.type', Node132type);
- Node132.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node132.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node132.a('node.gradientcolor', '');
- Node132.a('node.gradient', '');
- Node132.a('node.borderwidth', Node132BorderWidth);
- Node132.a('node.color', 'rgba(224,224,224,1)');
- Node132.a('node.fillrect', [0,0,0,0]);
- Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradient', '');
- if (Node132type !== 'rect') {
- Node132.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node132.a('node.arcTo', parseFloat('@arcTo@'));
- Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node132type === 'arc') {
- Node132.a('node.arcOval', true);
- }
- Node132.setRotation(0*Math.PI/180);
- Node132.borderWidth = Node132BorderWidth;
- Node132.borderFillwidth = Node132BorderWidth;
- dataModel.add(Node132);
- Node132._nodename = 'Node132'
- Node132._nodeType = 'rect';
- zoomNodeList.push({
- node: Node132,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node132, Node132.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133type = 'rect';
- var Node133 = new ht.Node(),
- Node133BorderWidth = 1*2;
- if (Node133type === 'arc') {
- Node133BorderWidth *= 1;
- }
- Node133.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node133type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node133.setPosition(645*ratio.ratioX, 75*ratio.ratioY);
- Node133.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node133.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node133.a('node.width', 94*_ratio.ratioX);
- Node133.a('node.height', 24.33138*_ratio.ratioY);
- Node133.a('node.type', Node133type);
- Node133.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node133.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node133.a('node.gradientcolor', '');
- Node133.a('node.gradient', '');
- Node133.a('node.borderwidth', Node133BorderWidth);
- Node133.a('node.color', 'rgba(224,224,224,1)');
- Node133.a('node.fillrect', [0,0,0,0]);
- Node133.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradient', '');
- if (Node133type !== 'rect') {
- Node133.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node133.a('node.arcTo', parseFloat('@arcTo@'));
- Node133.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node133type === 'arc') {
- Node133.a('node.arcOval', true);
- }
- Node133.setRotation(0*Math.PI/180);
- Node133.borderWidth = Node133BorderWidth;
- Node133.borderFillwidth = Node133BorderWidth;
- dataModel.add(Node133);
- Node133._nodename = 'Node133'
- Node133._nodeType = 'rect';
- zoomNodeList.push({
- node: Node133,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node133, Node133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134type = 'rect';
- var Node134 = new ht.Node(),
- Node134BorderWidth = 1*2;
- if (Node134type === 'arc') {
- Node134BorderWidth *= 1;
- }
- Node134.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node134type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node134.setPosition(645*ratio.ratioX, 99*ratio.ratioY);
- Node134.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node134.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node134.a('node.width', 94*_ratio.ratioX);
- Node134.a('node.height', 24.33138*_ratio.ratioY);
- Node134.a('node.type', Node134type);
- Node134.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node134.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node134.a('node.gradientcolor', '');
- Node134.a('node.gradient', '');
- Node134.a('node.borderwidth', Node134BorderWidth);
- Node134.a('node.color', 'rgba(224,224,224,1)');
- Node134.a('node.fillrect', [0,0,0,0]);
- Node134.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradient', '');
- if (Node134type !== 'rect') {
- Node134.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node134.a('node.arcTo', parseFloat('@arcTo@'));
- Node134.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node134type === 'arc') {
- Node134.a('node.arcOval', true);
- }
- Node134.setRotation(0*Math.PI/180);
- Node134.borderWidth = Node134BorderWidth;
- Node134.borderFillwidth = Node134BorderWidth;
- dataModel.add(Node134);
- Node134._nodename = 'Node134'
- Node134._nodeType = 'rect';
- zoomNodeList.push({
- node: Node134,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node134, Node134.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135type = 'rect';
- var Node135 = new ht.Node(),
- Node135BorderWidth = 1*2;
- if (Node135type === 'arc') {
- Node135BorderWidth *= 1;
- }
- Node135.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node135type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node135.setPosition(645*ratio.ratioX, 124*ratio.ratioY);
- Node135.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node135.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node135.a('node.width', 94*_ratio.ratioX);
- Node135.a('node.height', 24.33136*_ratio.ratioY);
- Node135.a('node.type', Node135type);
- Node135.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node135.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node135.a('node.gradientcolor', '');
- Node135.a('node.gradient', '');
- Node135.a('node.borderwidth', Node135BorderWidth);
- Node135.a('node.color', 'rgba(224,224,224,1)');
- Node135.a('node.fillrect', [0,0,0,0]);
- Node135.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradient', '');
- if (Node135type !== 'rect') {
- Node135.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node135.a('node.arcTo', parseFloat('@arcTo@'));
- Node135.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node135type === 'arc') {
- Node135.a('node.arcOval', true);
- }
- Node135.setRotation(0*Math.PI/180);
- Node135.borderWidth = Node135BorderWidth;
- Node135.borderFillwidth = Node135BorderWidth;
- dataModel.add(Node135);
- Node135._nodename = 'Node135'
- Node135._nodeType = 'rect';
- zoomNodeList.push({
- node: Node135,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node135, Node135.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136type = 'rect';
- var Node136 = new ht.Node(),
- Node136BorderWidth = 1*2;
- if (Node136type === 'arc') {
- Node136BorderWidth *= 1;
- }
- Node136.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node136type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node136.setPosition(645*ratio.ratioX, 148*ratio.ratioY);
- Node136.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node136.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node136.a('node.width', 94*_ratio.ratioX);
- Node136.a('node.height', 24.33138*_ratio.ratioY);
- Node136.a('node.type', Node136type);
- Node136.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node136.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node136.a('node.gradientcolor', '');
- Node136.a('node.gradient', '');
- Node136.a('node.borderwidth', Node136BorderWidth);
- Node136.a('node.color', 'rgba(224,224,224,1)');
- Node136.a('node.fillrect', [0,0,0,0]);
- Node136.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node136.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node136.a('node.fillgradient', '');
- if (Node136type !== 'rect') {
- Node136.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node136.a('node.arcTo', parseFloat('@arcTo@'));
- Node136.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node136type === 'arc') {
- Node136.a('node.arcOval', true);
- }
- Node136.setRotation(0*Math.PI/180);
- Node136.borderWidth = Node136BorderWidth;
- Node136.borderFillwidth = Node136BorderWidth;
- dataModel.add(Node136);
- Node136._nodename = 'Node136'
- Node136._nodeType = 'rect';
- zoomNodeList.push({
- node: Node136,
- 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);
- }
- })(Node136, Node136.getImage());_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(645*ratio.ratioX, 53*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 Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'center', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 58*_ratio.ratioX, Node138height = 26*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('0', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('0', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(645*ratio.ratioX, 77*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(0,0,0,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','0');
- Node138.a('node.textalign','center');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(0,0,0,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '0';
- var color=Node138.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"center",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.Node();
- var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'center', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 58*_ratio.ratioX, Node139height = 26*_ratio.ratioY;
- (function () {
- if (Node139align === 'left') {
- Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9;
- Node139textWidth = Node139width;
- Node139lineStart = 1;
- } else if (Node139align === 'right') {
- Node139textStart = 0;
- Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2;
- Node139lineStart = (Node139width - (ht.Default.getTextSize('0', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('0', ' '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(645*ratio.ratioX, 102*ratio.ratioY);
- Node139.setWidth(Node139width);
- Node139.setHeight(Node139height);
- Node139._nodeType = 'text';
- Node139._disallowEvert = true;
- Node139.setRotation(0*Math.PI/180);
- Node139.a('node.width', Node139width);
- Node139.a('node.height', Node139height);
- Node139.a('node.rect', [0, 0, Node139width, Node139height]);
- Node139.a('node.bordercolor','rgba(0,0,0,1)');
- Node139.a('node.borderwidth', 0);
- Node139.a('node.background','' || 'rgba(0,0,0,0)');
- Node139.a('node.gradient','');
- Node139.a('node.gradientcolor','');
- Node139.a('node.text','0');
- Node139.a('node.textalign','center');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(0,0,0,1)');
- Node139.a('node.font',' '+ Node139fontSize + 'px "Arial"');
- Node139.a('node.textvisible',true);
- Node139.a('node.linefeed',false);
- if (false) {
- Node139.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139.a('node.text') || '0';
- var color=Node139.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"center",color,' '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]);
- Node139.a('node.underlinevisible',false);
- Node139.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139);
- zoomNodeList.push({
- node: Node139,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140 = new ht.Node();
- var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'center', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 58*_ratio.ratioX, Node140height = 26*_ratio.ratioY;
- (function () {
- if (Node140align === 'left') {
- Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
- Node140textWidth = Node140width;
- Node140lineStart = 1;
- } else if (Node140align === 'right') {
- Node140textStart = 0;
- Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
- Node140lineStart = (Node140width - (ht.Default.getTextSize('0', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('0', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(645*ratio.ratioX, 125*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(0,0,0,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','0');
- Node140.a('node.textalign','center');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(0,0,0,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || '0';
- var color=Node140.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"center",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
- Node140.a('node.underlinevisible',false);
- Node140.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node140);
- zoomNodeList.push({
- node: Node140,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(724*ratio.ratioX, 51*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(724*ratio.ratioX, 75*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 Node143type = 'rect';
- var Node143 = new ht.Node(),
- Node143BorderWidth = 1*2;
- if (Node143type === 'arc') {
- Node143BorderWidth *= 1;
- }
- Node143.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node143.setPosition(724*ratio.ratioX, 99*ratio.ratioY);
- Node143.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node143.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node143.a('node.width', 65*_ratio.ratioX);
- Node143.a('node.height', 24.33138*_ratio.ratioY);
- Node143.a('node.type', Node143type);
- Node143.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node143.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node143.a('node.gradientcolor', '');
- Node143.a('node.gradient', '');
- Node143.a('node.borderwidth', Node143BorderWidth);
- Node143.a('node.color', 'rgba(224,224,224,1)');
- Node143.a('node.fillrect', [0,0,0,0]);
- Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradient', '');
- if (Node143type !== 'rect') {
- Node143.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node143.a('node.arcTo', parseFloat('@arcTo@'));
- Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node143type === 'arc') {
- Node143.a('node.arcOval', true);
- }
- Node143.setRotation(0*Math.PI/180);
- Node143.borderWidth = Node143BorderWidth;
- Node143.borderFillwidth = Node143BorderWidth;
- dataModel.add(Node143);
- Node143._nodename = 'Node143'
- Node143._nodeType = 'rect';
- zoomNodeList.push({
- node: Node143,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144type = 'rect';
- var Node144 = new ht.Node(),
- Node144BorderWidth = 1*2;
- if (Node144type === 'arc') {
- Node144BorderWidth *= 1;
- }
- Node144.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node144.setPosition(724*ratio.ratioX, 124*ratio.ratioY);
- Node144.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node144.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node144.a('node.width', 65*_ratio.ratioX);
- Node144.a('node.height', 24.33136*_ratio.ratioY);
- Node144.a('node.type', Node144type);
- Node144.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node144.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node144.a('node.gradientcolor', '');
- Node144.a('node.gradient', '');
- Node144.a('node.borderwidth', Node144BorderWidth);
- Node144.a('node.color', 'rgba(224,224,224,1)');
- Node144.a('node.fillrect', [0,0,0,0]);
- Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradient', '');
- if (Node144type !== 'rect') {
- Node144.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node144.a('node.arcTo', parseFloat('@arcTo@'));
- Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node144type === 'arc') {
- Node144.a('node.arcOval', true);
- }
- Node144.setRotation(0*Math.PI/180);
- Node144.borderWidth = Node144BorderWidth;
- Node144.borderFillwidth = Node144BorderWidth;
- dataModel.add(Node144);
- Node144._nodename = 'Node144'
- Node144._nodeType = 'rect';
- zoomNodeList.push({
- node: Node144,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145type = 'rect';
- var Node145 = new ht.Node(),
- Node145BorderWidth = 1*2;
- if (Node145type === 'arc') {
- Node145BorderWidth *= 1;
- }
- Node145.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node145.setPosition(724*ratio.ratioX, 148*ratio.ratioY);
- Node145.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node145.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node145.a('node.width', 65*_ratio.ratioX);
- Node145.a('node.height', 24.33138*_ratio.ratioY);
- Node145.a('node.type', Node145type);
- Node145.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node145.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node145.a('node.gradientcolor', '');
- Node145.a('node.gradient', '');
- Node145.a('node.borderwidth', Node145BorderWidth);
- Node145.a('node.color', 'rgba(224,224,224,1)');
- Node145.a('node.fillrect', [0,0,0,0]);
- Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradient', '');
- if (Node145type !== 'rect') {
- Node145.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node145.a('node.arcTo', parseFloat('@arcTo@'));
- Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node145type === 'arc') {
- Node145.a('node.arcOval', true);
- }
- Node145.setRotation(0*Math.PI/180);
- Node145.borderWidth = Node145BorderWidth;
- Node145.borderFillwidth = Node145BorderWidth;
- dataModel.add(Node145);
- Node145._nodename = 'Node145'
- Node145._nodeType = 'rect';
- zoomNodeList.push({
- node: Node145,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(725*ratio.ratioX, 53*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(725*ratio.ratioX, 77*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 Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'center', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 59*_ratio.ratioX, Node148height = 26*_ratio.ratioY;
- (function () {
- if (Node148align === 'left') {
- Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9;
- Node148textWidth = Node148width;
- Node148lineStart = 1;
- } else if (Node148align === 'right') {
- Node148textStart = 0;
- Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2;
- Node148lineStart = (Node148width - (ht.Default.getTextSize('万kWh', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('万kWh', ' '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(725*ratio.ratioX, 100*ratio.ratioY);
- Node148.setWidth(Node148width);
- Node148.setHeight(Node148height);
- Node148._nodeType = 'text';
- Node148._disallowEvert = true;
- Node148.setRotation(0*Math.PI/180);
- Node148.a('node.width', Node148width);
- Node148.a('node.height', Node148height);
- Node148.a('node.rect', [0, 0, Node148width, Node148height]);
- Node148.a('node.bordercolor','rgba(128,128,128,1)');
- Node148.a('node.borderwidth', 0);
- Node148.a('node.background','' || 'rgba(0,0,0,0)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','');
- Node148.a('node.text','万kWh');
- Node148.a('node.textalign','center');
- Node148.a('node.textvAlign','middle');
- Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
- Node148.a('node.color','rgba(128,128,128,1)');
- Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"');
- Node148.a('node.textvisible',true);
- Node148.a('node.linefeed',false);
- if (false) {
- Node148.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node148.a('node.text') || '万kWh';
- var color=Node148.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"center",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
- Node148.a('node.underlinevisible',false);
- Node148.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node148);
- zoomNodeList.push({
- node: Node148,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149 = new ht.Node();
- var Node149textStart, Node149textWidth, Node149lineStart, Node149align = 'center', Node149fontSize = 13.3333*_ratio.ratioY,Node149width = 59*_ratio.ratioX, Node149height = 26*_ratio.ratioY;
- (function () {
- if (Node149align === 'left') {
- Node149textStart = Node149fontSize * 0.2 > 2 ? Node149fontSize * 0.2 - 4 : Node149fontSize * 0.2 - 9;
- Node149textWidth = Node149width;
- Node149lineStart = 1;
- } else if (Node149align === 'right') {
- Node149textStart = 0;
- Node149textWidth =Node149fontSize <= 8 ? Node149width + Node149fontSize * 0.2 + 6 : Node149width - Node149fontSize * 0.2;
- Node149lineStart = (Node149width - (ht.Default.getTextSize('万kWh', ' '+ Node149fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node149align === 'center') {
- Node149textStart = -3;
- Node149textWidth = Node149width;
- Node149lineStart = Node149width - ht.Default.getTextSize('万kWh', ' '+ Node149fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node149.setImage(GD.getTextJSON(Node149width, Node149height, true, false, false, ' '+ Node149fontSize + 'px "Arial"'))
- Node149.setPosition(725*ratio.ratioX, 126*ratio.ratioY);
- Node149.setWidth(Node149width);
- Node149.setHeight(Node149height);
- Node149._nodeType = 'text';
- Node149._disallowEvert = true;
- Node149.setRotation(0*Math.PI/180);
- Node149.a('node.width', Node149width);
- Node149.a('node.height', Node149height);
- Node149.a('node.rect', [0, 0, Node149width, Node149height]);
- Node149.a('node.bordercolor','rgba(128,128,128,1)');
- Node149.a('node.borderwidth', 0);
- Node149.a('node.background','' || 'rgba(0,0,0,0)');
- Node149.a('node.gradient','');
- Node149.a('node.gradientcolor','');
- Node149.a('node.text','万kWh');
- Node149.a('node.textalign','center');
- Node149.a('node.textvAlign','middle');
- Node149.a('node.textrect', [Node149textStart, 0, Node149textWidth, Node149height]);
- Node149.a('node.color','rgba(128,128,128,1)');
- Node149.a('node.font',' '+ Node149fontSize + 'px "Arial"');
- Node149.a('node.textvisible',true);
- Node149.a('node.linefeed',false);
- if (false) {
- Node149.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node149.a('node.text') || '万kWh';
- var color=Node149.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node149width,Node149height,13.3333*_ratio.ratioY,"center",color,' '+ Node149fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node149.a('node.underlinepoints',[Node149lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node149fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node149fontSize + 'px "Arial"').width + 6, (Node149height - Node149fontSize) * 0.5*_ratio.ratioY + Node149fontSize + 2 ]);
- Node149.a('node.underlinevisible',false);
- Node149.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node149);
- zoomNodeList.push({
- node: Node149,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150 = new ht.Node();
- var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'left', Node150fontSize = 11.99997*_ratio.ratioY,Node150width = 53*_ratio.ratioX, Node150height = 20*_ratio.ratioY;
- (function () {
- if (Node150align === 'left') {
- Node150textStart = Node150fontSize * 0.2 > 2 ? Node150fontSize * 0.2 - 4 : Node150fontSize * 0.2 - 9;
- Node150textWidth = Node150width;
- Node150lineStart = 1;
- } else if (Node150align === 'right') {
- Node150textStart = 0;
- Node150textWidth =Node150fontSize <= 8 ? Node150width + Node150fontSize * 0.2 + 6 : Node150width - Node150fontSize * 0.2;
- Node150lineStart = (Node150width - (ht.Default.getTextSize('机', 'bold '+ Node150fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node150align === 'center') {
- Node150textStart = -3;
- Node150textWidth = Node150width;
- Node150lineStart = Node150width - ht.Default.getTextSize('机', 'bold '+ Node150fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, 'bold '+ Node150fontSize + 'px "Arial"'))
- Node150.setPosition(1350*ratio.ratioX, 87*ratio.ratioY);
- Node150.setWidth(Node150width);
- Node150.setHeight(Node150height);
- Node150._nodeType = 'text';
- Node150._disallowEvert = true;
- Node150.setRotation(0*Math.PI/180);
- Node150.a('node.width', Node150width);
- Node150.a('node.height', Node150height);
- Node150.a('node.rect', [0, 0, Node150width, Node150height]);
- Node150.a('node.bordercolor','rgba(255,255,255,1)');
- Node150.a('node.borderwidth', 0);
- Node150.a('node.background','' || 'rgba(0,0,0,0)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','');
- Node150.a('node.text','机');
- Node150.a('node.textalign','left');
- Node150.a('node.textvAlign','middle');
- Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]);
- Node150.a('node.color','rgba(255,255,255,1)');
- Node150.a('node.font','bold '+ Node150fontSize + 'px "Arial"');
- Node150.a('node.textvisible',true);
- Node150.a('node.linefeed',false);
- if (false) {
- Node150.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node150.a('node.text') || '机';
- var color=Node150.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node150width,Node150height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node150fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node150.a('node.underlinepoints',[Node150lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node150fontSize + 'px "Arial"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]);
- Node150.a('node.underlinevisible',false);
- Node150.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node150);
- zoomNodeList.push({
- node: Node150,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151 = new ht.Node();
- var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'left', Node151fontSize = 11.99997*_ratio.ratioY,Node151width = 53*_ratio.ratioX, Node151height = 20*_ratio.ratioY;
- (function () {
- if (Node151align === 'left') {
- Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9;
- Node151textWidth = Node151width;
- Node151lineStart = 1;
- } else if (Node151align === 'right') {
- Node151textStart = 0;
- Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2;
- Node151lineStart = (Node151width - (ht.Default.getTextSize('状', 'bold '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('状', 'bold '+ Node151fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, 'bold '+ Node151fontSize + 'px "Arial"'))
- Node151.setPosition(1350*ratio.ratioX, 110*ratio.ratioY);
- Node151.setWidth(Node151width);
- Node151.setHeight(Node151height);
- Node151._nodeType = 'text';
- Node151._disallowEvert = true;
- Node151.setRotation(0*Math.PI/180);
- Node151.a('node.width', Node151width);
- Node151.a('node.height', Node151height);
- Node151.a('node.rect', [0, 0, Node151width, Node151height]);
- Node151.a('node.bordercolor','rgba(255,255,255,1)');
- Node151.a('node.borderwidth', 0);
- Node151.a('node.background','' || 'rgba(0,0,0,0)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','');
- Node151.a('node.text','状');
- Node151.a('node.textalign','left');
- Node151.a('node.textvAlign','middle');
- Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]);
- Node151.a('node.color','rgba(255,255,255,1)');
- Node151.a('node.font','bold '+ Node151fontSize + 'px "Arial"');
- Node151.a('node.textvisible',true);
- Node151.a('node.linefeed',false);
- if (false) {
- Node151.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node151.a('node.text') || '状';
- var color=Node151.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node151width,Node151height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node151fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]);
- Node151.a('node.underlinevisible',false);
- Node151.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node151);
- zoomNodeList.push({
- node: Node151,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152 = new ht.Node();
- var Node152textStart, Node152textWidth, Node152lineStart, Node152align = 'left', Node152fontSize = 11.99997*_ratio.ratioY,Node152width = 53*_ratio.ratioX, Node152height = 20*_ratio.ratioY;
- (function () {
- if (Node152align === 'left') {
- Node152textStart = Node152fontSize * 0.2 > 2 ? Node152fontSize * 0.2 - 4 : Node152fontSize * 0.2 - 9;
- Node152textWidth = Node152width;
- Node152lineStart = 1;
- } else if (Node152align === 'right') {
- Node152textStart = 0;
- Node152textWidth =Node152fontSize <= 8 ? Node152width + Node152fontSize * 0.2 + 6 : Node152width - Node152fontSize * 0.2;
- Node152lineStart = (Node152width - (ht.Default.getTextSize('态', 'bold '+ Node152fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node152align === 'center') {
- Node152textStart = -3;
- Node152textWidth = Node152width;
- Node152lineStart = Node152width - ht.Default.getTextSize('态', 'bold '+ Node152fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node152.setImage(GD.getTextJSON(Node152width, Node152height, true, false, false, 'bold '+ Node152fontSize + 'px "Arial"'))
- Node152.setPosition(1350*ratio.ratioX, 132*ratio.ratioY);
- Node152.setWidth(Node152width);
- Node152.setHeight(Node152height);
- Node152._nodeType = 'text';
- Node152._disallowEvert = true;
- Node152.setRotation(0*Math.PI/180);
- Node152.a('node.width', Node152width);
- Node152.a('node.height', Node152height);
- Node152.a('node.rect', [0, 0, Node152width, Node152height]);
- Node152.a('node.bordercolor','rgba(255,255,255,1)');
- Node152.a('node.borderwidth', 0);
- Node152.a('node.background','' || 'rgba(0,0,0,0)');
- Node152.a('node.gradient','');
- Node152.a('node.gradientcolor','');
- Node152.a('node.text','态');
- Node152.a('node.textalign','left');
- Node152.a('node.textvAlign','middle');
- Node152.a('node.textrect', [Node152textStart, 0, Node152textWidth, Node152height]);
- Node152.a('node.color','rgba(255,255,255,1)');
- Node152.a('node.font','bold '+ Node152fontSize + 'px "Arial"');
- Node152.a('node.textvisible',true);
- Node152.a('node.linefeed',false);
- if (false) {
- Node152.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node152.a('node.text') || '态';
- var color=Node152.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node152width,Node152height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node152fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node152.a('node.underlinepoints',[Node152lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node152fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node152fontSize + 'px "Arial"').width + 6, (Node152height - Node152fontSize) * 0.5*_ratio.ratioY + Node152fontSize + 2 ]);
- Node152.a('node.underlinevisible',false);
- Node152.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node152);
- zoomNodeList.push({
- node: Node152,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.Node();
- var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'center', Node153fontSize = 14.66663*_ratio.ratioY,Node153width = 67*_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('台', ' '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node153align === 'center') {
- Node153textStart = -3;
- Node153textWidth = Node153width;
- Node153lineStart = Node153width - ht.Default.getTextSize('台', ' '+ Node153fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, ' '+ Node153fontSize + 'px "Arial"'))
- Node153.setPosition(1593*ratio.ratioX, 85*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(105,105,105,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','台');
- Node153.a('node.textalign','center');
- Node153.a('node.textvAlign','middle');
- Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]);
- Node153.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node153.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node153width,Node153height,14.66663*_ratio.ratioY,"center",color,' '+ Node153fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node153.a('node.underlinepoints',[Node153lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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'
- }); var Node154;
- (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');
- Node154 = new ht.Node();
- Node154.setPosition(1482*ratio.ratioX, 69*ratio.ratioY);
- Node154.setSize(9*ratioX, 60*ratioY);
- Node154.setImage('imgimage//page_list_box_left_blue.jpg');
- Node154.setRotation(0*Math.PI/180);
- Node154._zoomBy = 'Default';
- Node154._nodeType = 'image';
- Node154._disallowEvert = true;
- dataModel.add(Node154);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node155type = 'rect';
- var Node155 = new ht.Node(),
- Node155BorderWidth = 1*2;
- if (Node155type === 'arc') {
- Node155BorderWidth *= 1;
- }
- Node155.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node155type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node155.setPosition(1551*ratio.ratioX, 69*ratio.ratioY);
- Node155.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node155.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node155.a('node.width', 127*_ratio.ratioX);
- Node155.a('node.height', 60.81538*_ratio.ratioY);
- Node155.a('node.type', Node155type);
- Node155.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node155.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node155.a('node.gradientcolor', '');
- Node155.a('node.gradient', '');
- Node155.a('node.borderwidth', Node155BorderWidth);
- Node155.a('node.color', 'rgba(128,128,128,1)');
- Node155.a('node.fillrect', [0,0,0,0]);
- Node155.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradient', '');
- if (Node155type !== 'rect') {
- Node155.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node155.a('node.arcTo', parseFloat('@arcTo@'));
- Node155.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node155type === 'arc') {
- Node155.a('node.arcOval', true);
- }
- Node155.setRotation(0*Math.PI/180);
- Node155.borderWidth = Node155BorderWidth;
- Node155.borderFillwidth = Node155BorderWidth;
- dataModel.add(Node155);
- Node155._nodename = 'Node155'
- Node155._nodeType = 'rect';
- zoomNodeList.push({
- node: Node155,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node155, Node155.getImage());var Node156;
- (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');
- Node156 = new ht.Node();
- Node156.setPosition(1758*ratio.ratioX, 69*ratio.ratioY);
- Node156.setSize(9*ratioX, 60*ratioY);
- Node156.setImage('imgimage//page_list_box_left_red.jpg');
- Node156.setRotation(0*Math.PI/180);
- Node156._zoomBy = 'Default';
- Node156._nodeType = 'image';
- Node156._disallowEvert = true;
- dataModel.add(Node156);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157type = 'rect';
- var Node157 = new ht.Node(),
- Node157BorderWidth = 1*2;
- if (Node157type === 'arc') {
- Node157BorderWidth *= 1;
- }
- Node157.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node157type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node157.setPosition(1827*ratio.ratioX, 69*ratio.ratioY);
- Node157.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node157.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node157.a('node.width', 127*_ratio.ratioX);
- Node157.a('node.height', 60.81538*_ratio.ratioY);
- Node157.a('node.type', Node157type);
- Node157.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node157.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node157.a('node.gradientcolor', '');
- Node157.a('node.gradient', '');
- Node157.a('node.borderwidth', Node157BorderWidth);
- Node157.a('node.color', 'rgba(128,128,128,1)');
- Node157.a('node.fillrect', [0,0,0,0]);
- Node157.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node157.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node157.a('node.fillgradient', '');
- if (Node157type !== 'rect') {
- Node157.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node157.a('node.arcTo', parseFloat('@arcTo@'));
- Node157.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node157type === 'arc') {
- Node157.a('node.arcOval', true);
- }
- Node157.setRotation(0*Math.PI/180);
- Node157.borderWidth = Node157BorderWidth;
- Node157.borderFillwidth = Node157BorderWidth;
- dataModel.add(Node157);
- Node157._nodename = 'Node157'
- Node157._nodeType = 'rect';
- zoomNodeList.push({
- node: Node157,
- 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);
- }
- })(Node157, Node157.getImage());var Node158;
- (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');
- Node158 = new ht.Node();
- Node158.setPosition(1758*ratio.ratioX, 130*ratio.ratioY);
- Node158.setSize(9*ratioX, 60*ratioY);
- Node158.setImage('imgimage//page_list_box_left_black.jpg');
- Node158.setRotation(0*Math.PI/180);
- Node158._zoomBy = 'Default';
- Node158._nodeType = 'image';
- Node158._disallowEvert = true;
- dataModel.add(Node158);
- })();
- _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node159type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node159.setPosition(1827*ratio.ratioX, 130*ratio.ratioY);
- Node159.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node159.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node159.a('node.width', 127*_ratio.ratioX);
- Node159.a('node.height', 60.81538*_ratio.ratioY);
- Node159.a('node.type', Node159type);
- Node159.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_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(128,128,128,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 Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 47*_ratio.ratioX, Node160height = 38*_ratio.ratioY;
- (function () {
- if (Node160align === 'left') {
- Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9;
- Node160textWidth = Node160width;
- Node160lineStart = 1;
- } else if (Node160align === 'right') {
- Node160textStart = 0;
- Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2;
- Node160lineStart = (Node160width - (ht.Default.getTextSize('离线', 'bold '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('离线', 'bold '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, 'bold '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(1789*ratio.ratioX, 113*ratio.ratioY);
- Node160.setWidth(Node160width);
- Node160.setHeight(Node160height);
- Node160._nodeType = 'text';
- Node160._disallowEvert = true;
- Node160.setRotation(0*Math.PI/180);
- Node160.a('node.width', Node160width);
- Node160.a('node.height', Node160height);
- Node160.a('node.rect', [0, 0, Node160width, Node160height]);
- Node160.a('node.bordercolor','rgba(0,0,0,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','离线');
- Node160.a('node.textalign','left');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(0,0,0,1)');
- Node160.a('node.font','bold '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || '离线';
- var color=Node160.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
- Node160.a('node.underlinevisible',false);
- Node160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node160);
- zoomNodeList.push({
- node: Node160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161 = new ht.Node();
- var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'center', Node161fontSize = 19.99995*_ratio.ratioY,Node161width = 87*_ratio.ratioX, Node161height = 41*_ratio.ratioY;
- (function () {
- if (Node161align === 'left') {
- Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9;
- Node161textWidth = Node161width;
- Node161lineStart = 1;
- } else if (Node161align === 'right') {
- Node161textStart = 0;
- Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2;
- Node161lineStart = (Node161width - (ht.Default.getTextSize('0', ' '+ Node161fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node161align === 'center') {
- Node161textStart = -3;
- Node161textWidth = Node161width;
- Node161lineStart = Node161width - ht.Default.getTextSize('0', ' '+ Node161fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "UniDreamLED"'))
- Node161.setPosition(1655*ratio.ratioX, 84*ratio.ratioY);
- Node161.setWidth(Node161width);
- Node161.setHeight(Node161height);
- Node161._nodeType = 'text';
- Node161._disallowEvert = true;
- Node161.setRotation(0*Math.PI/180);
- Node161.a('node.width', Node161width);
- Node161.a('node.height', Node161height);
- Node161.a('node.rect', [0, 0, Node161width, Node161height]);
- Node161.a('node.bordercolor','rgba(0,0,0,1)');
- Node161.a('node.borderwidth', 0);
- Node161.a('node.background','' || 'rgba(0,0,0,0)');
- Node161.a('node.gradient','');
- Node161.a('node.gradientcolor','');
- Node161.a('node.text','0');
- Node161.a('node.textalign','center');
- Node161.a('node.textvAlign','middle');
- Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]);
- Node161.a('node.color','rgba(0,0,0,1)');
- Node161.a('node.font',' '+ Node161fontSize + 'px "UniDreamLED"');
- Node161.a('node.textvisible',true);
- Node161.a('node.linefeed',false);
- if (false) {
- Node161.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161.a('node.text') || '0';
- var color=Node161.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node161width,Node161height,19.99995*_ratio.ratioY,"center",color,' '+ Node161fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node161.a('node.underlinepoints',[Node161lineStart, (41 - 19.99995) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node161fontSize + 'px "UniDreamLED"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]);
- Node161.a('node.underlinevisible',false);
- Node161.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161);
- zoomNodeList.push({
- node: Node161,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162 = new ht.Node();
- var Node162textStart, Node162textWidth, Node162lineStart, Node162align = 'center', Node162fontSize = 19.99995*_ratio.ratioY,Node162width = 87*_ratio.ratioX, Node162height = 41*_ratio.ratioY;
- (function () {
- if (Node162align === 'left') {
- Node162textStart = Node162fontSize * 0.2 > 2 ? Node162fontSize * 0.2 - 4 : Node162fontSize * 0.2 - 9;
- Node162textWidth = Node162width;
- Node162lineStart = 1;
- } else if (Node162align === 'right') {
- Node162textStart = 0;
- Node162textWidth =Node162fontSize <= 8 ? Node162width + Node162fontSize * 0.2 + 6 : Node162width - Node162fontSize * 0.2;
- Node162lineStart = (Node162width - (ht.Default.getTextSize('0', ' '+ Node162fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('0', ' '+ Node162fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, ' '+ Node162fontSize + 'px "UniDreamLED"'))
- Node162.setPosition(1791*ratio.ratioX, 84*ratio.ratioY);
- Node162.setWidth(Node162width);
- Node162.setHeight(Node162height);
- Node162._nodeType = 'text';
- Node162._disallowEvert = true;
- Node162.setRotation(0*Math.PI/180);
- Node162.a('node.width', Node162width);
- Node162.a('node.height', Node162height);
- Node162.a('node.rect', [0, 0, Node162width, Node162height]);
- Node162.a('node.bordercolor','rgba(0,0,0,1)');
- Node162.a('node.borderwidth', 0);
- Node162.a('node.background','' || 'rgba(0,0,0,0)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','');
- Node162.a('node.text','0');
- Node162.a('node.textalign','center');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(0,0,0,1)');
- Node162.a('node.font',' '+ Node162fontSize + 'px "UniDreamLED"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || '0';
- var color=Node162.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node162width,Node162height,19.99995*_ratio.ratioY,"center",color,' '+ Node162fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (41 - 19.99995) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node162fontSize + 'px "UniDreamLED"').width + 6, (Node162height - Node162fontSize) * 0.5*_ratio.ratioY + Node162fontSize + 2 ]);
- Node162.a('node.underlinevisible',false);
- Node162.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node162);
- zoomNodeList.push({
- node: Node162,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163 = new ht.Node();
- var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'center', Node163fontSize = 19.99995*_ratio.ratioY,Node163width = 87*_ratio.ratioX, Node163height = 41*_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('2 8 7', ' '+ Node163fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('2 8 7', ' '+ Node163fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "UniDreamLED"'))
- Node163.setPosition(1519*ratio.ratioX, 83*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(0,0,0,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','2 8 7');
- Node163.a('node.textalign','center');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(0,0,0,1)');
- Node163.a('node.font',' '+ Node163fontSize + 'px "UniDreamLED"');
- 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') || '2 8 7';
- var color=Node163.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node163width,Node163height,19.99995*_ratio.ratioY,"center",color,' '+ Node163fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node163.a('node.underlinepoints',[Node163lineStart, (41 - 19.99995) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('2 8 7', ' '+ Node163fontSize + 'px "UniDreamLED"').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 = 'left', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 77*_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('上网电量', ' '+ Node164fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('上网电量', ' '+ Node164fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "微软雅黑"'))
- Node164.setPosition(231*ratio.ratioX, 149*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(0,0,0,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','上网电量');
- Node164.a('node.textalign','left');
- Node164.a('node.textvAlign','middle');
- Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
- Node164.a('node.color','rgba(0,0,0,1)');
- Node164.a('node.font',' '+ Node164fontSize + 'px "微软雅黑"');
- 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') || '上网电量';
- var color=Node164.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node164.a('node.underlinepoints',[Node164lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node164fontSize + 'px "微软雅黑"').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 = 113*_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('日性能损失电量', ' '+ Node165fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node165align === 'center') {
- Node165textStart = -3;
- Node165textWidth = Node165width;
- Node165lineStart = Node165width - ht.Default.getTextSize('日性能损失电量', ' '+ Node165fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "微软雅黑"'))
- Node165.setPosition(538*ratio.ratioX, 150*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(0,0,0,1)');
- Node165.a('node.borderwidth', 0);
- Node165.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','rgba(255,255,255,0)');
- Node165.a('node.text','日性能损失电量');
- Node165.a('node.textalign','center');
- Node165.a('node.textvAlign','middle');
- Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]);
- Node165.a('node.color','rgba(0,0,0,1)');
- Node165.a('node.font',' '+ Node165fontSize + 'px "微软雅黑"');
- 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') || '日性能损失电量';
- var color=Node165.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node165width,Node165height,13.3333*_ratio.ratioY,"center",color,' '+ Node165fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node165.a('node.underlinepoints',[Node165lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node165fontSize + 'px "微软雅黑"').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 = 110*_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('月性能损失电量', ' '+ Node166fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('月性能损失电量', ' '+ Node166fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "微软雅黑"'))
- Node166.setPosition(819*ratio.ratioX, 150*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(0,0,0,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','月性能损失电量');
- Node166.a('node.textalign','center');
- Node166.a('node.textvAlign','middle');
- Node166.a('node.textrect', [Node166textStart, 0, Node166textWidth, Node166height]);
- Node166.a('node.color','rgba(0,0,0,1)');
- Node166.a('node.font',' '+ Node166fontSize + 'px "微软雅黑"');
- 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') || '月性能损失电量';
- var color=Node166.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node166width,Node166height,13.3333*_ratio.ratioY,"center",color,' '+ Node166fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node166fontSize + 'px "微软雅黑"').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(441*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 = 'center', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 59*_ratio.ratioX, Node168height = 26*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('万kWh', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('万kWh', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(726*ratio.ratioX, 151*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(128,128,128,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','万kWh');
- Node168.a('node.textalign','center');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(128,128,128,1)');
- Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '万kWh';
- var color=Node168.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"center",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'center', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 59*_ratio.ratioX, Node169height = 26*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('万kWh', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('万kWh', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(1005*ratio.ratioX, 151*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(128,128,128,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','万kWh');
- Node169.a('node.textalign','center');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(128,128,128,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '万kWh';
- var color=Node169.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"center",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'center', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 59*_ratio.ratioX, Node170height = 26*_ratio.ratioY;
- (function () {
- if (Node170align === 'left') {
- Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
- Node170textWidth = Node170width;
- Node170lineStart = 1;
- } else if (Node170align === 'right') {
- Node170textStart = 0;
- Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
- Node170lineStart = (Node170width - (ht.Default.getTextSize('万kWh', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('万kWh', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(1286*ratio.ratioX, 151*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(128,128,128,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','万kWh');
- Node170.a('node.textalign','center');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(128,128,128,1)');
- Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"');
- Node170.a('node.textvisible',true);
- Node170.a('node.linefeed',false);
- if (false) {
- Node170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node170.a('node.text') || '万kWh';
- var color=Node170.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"center",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.Node();
- var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'center', Node171fontSize = 13.3333*_ratio.ratioY,Node171width = 110*_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 "微软雅黑"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('年性能损失电量', ' '+ Node171fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "微软雅黑"'))
- Node171.setPosition(1098*ratio.ratioX, 150*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(0,0,0,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','年性能损失电量');
- Node171.a('node.textalign','center');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(0,0,0,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "微软雅黑"');
- 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"center",color,' '+ Node171fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node171fontSize + 'px "微软雅黑"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]);
- Node171.a('node.underlinevisible',false);
- Node171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node171);
- zoomNodeList.push({
- node: Node171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172 = new ht.Node();
- var Node172textStart, Node172textWidth, Node172lineStart, Node172align = 'left', Node172fontSize = 13.3333*_ratio.ratioY,Node172width = 47*_ratio.ratioX, Node172height = 38*_ratio.ratioY;
- (function () {
- if (Node172align === 'left') {
- Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9;
- Node172textWidth = Node172width;
- Node172lineStart = 1;
- } else if (Node172align === 'right') {
- Node172textStart = 0;
- Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2;
- Node172lineStart = (Node172width - (ht.Default.getTextSize('运行', 'bold '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('运行', 'bold '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, 'bold '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(1513*ratio.ratioX, 52*ratio.ratioY);
- Node172.setWidth(Node172width);
- Node172.setHeight(Node172height);
- Node172._nodeType = 'text';
- Node172._disallowEvert = true;
- Node172.setRotation(0*Math.PI/180);
- Node172.a('node.width', Node172width);
- Node172.a('node.height', Node172height);
- Node172.a('node.rect', [0, 0, Node172width, Node172height]);
- Node172.a('node.bordercolor','rgba(0,0,0,1)');
- Node172.a('node.borderwidth', 0);
- Node172.a('node.background','' || 'rgba(0,0,0,0)');
- Node172.a('node.gradient','');
- Node172.a('node.gradientcolor','');
- Node172.a('node.text','运行');
- Node172.a('node.textalign','left');
- Node172.a('node.textvAlign','middle');
- Node172.a('node.textrect', [Node172textStart, 0, Node172textWidth, Node172height]);
- Node172.a('node.color','rgba(0,0,0,1)');
- Node172.a('node.font','bold '+ Node172fontSize + 'px "Arial"');
- Node172.a('node.textvisible',true);
- Node172.a('node.linefeed',false);
- if (false) {
- Node172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node172.a('node.text') || '运行';
- var color=Node172.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node172width,Node172height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]);
- Node172.a('node.underlinevisible',false);
- Node172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node172);
- zoomNodeList.push({
- node: Node172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.Node();
- var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 47*_ratio.ratioX, Node173height = 38*_ratio.ratioY;
- (function () {
- if (Node173align === 'left') {
- Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9;
- Node173textWidth = Node173width;
- Node173lineStart = 1;
- } else if (Node173align === 'right') {
- Node173textStart = 0;
- Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2;
- Node173lineStart = (Node173width - (ht.Default.getTextSize('待机', 'bold '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node173align === 'center') {
- Node173textStart = -3;
- Node173textWidth = Node173width;
- Node173lineStart = Node173width - ht.Default.getTextSize('待机', 'bold '+ Node173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, 'bold '+ Node173fontSize + 'px "Arial"'))
- Node173.setPosition(1651*ratio.ratioX, 52*ratio.ratioY);
- Node173.setWidth(Node173width);
- Node173.setHeight(Node173height);
- Node173._nodeType = 'text';
- Node173._disallowEvert = true;
- Node173.setRotation(0*Math.PI/180);
- Node173.a('node.width', Node173width);
- Node173.a('node.height', Node173height);
- Node173.a('node.rect', [0, 0, Node173width, Node173height]);
- Node173.a('node.bordercolor','rgba(0,0,0,1)');
- Node173.a('node.borderwidth', 0);
- Node173.a('node.background','' || 'rgba(0,0,0,0)');
- Node173.a('node.gradient','');
- Node173.a('node.gradientcolor','');
- Node173.a('node.text','待机');
- Node173.a('node.textalign','left');
- Node173.a('node.textvAlign','middle');
- Node173.a('node.textrect', [Node173textStart, 0, Node173textWidth, Node173height]);
- Node173.a('node.color','rgba(0,0,0,1)');
- Node173.a('node.font','bold '+ Node173fontSize + 'px "Arial"');
- Node173.a('node.textvisible',true);
- Node173.a('node.linefeed',false);
- if (false) {
- Node173.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node173.a('node.text') || '待机';
- var color=Node173.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node173width,Node173height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node173fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node173.a('node.underlinepoints',[Node173lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]);
- Node173.a('node.underlinevisible',false);
- Node173.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node173);
- zoomNodeList.push({
- node: Node173,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 47*_ratio.ratioX, Node174height = 38*_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('故障', 'bold '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('故障', 'bold '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, 'bold '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(1789*ratio.ratioX, 52*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','故障');
- 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','bold '+ 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') || '故障';
- var color=Node174.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node174width,Node174height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node174.a('node.underlinepoints',[Node174lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.Node();
- var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'center', Node175fontSize = 19.99995*_ratio.ratioY,Node175width = 87*_ratio.ratioX, Node175height = 41*_ratio.ratioY;
- (function () {
- if (Node175align === 'left') {
- Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9;
- Node175textWidth = Node175width;
- Node175lineStart = 1;
- } else if (Node175align === 'right') {
- Node175textStart = 0;
- Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2;
- Node175lineStart = (Node175width - (ht.Default.getTextSize('0', ' '+ Node175fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('0', ' '+ Node175fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "UniDreamLED"'))
- Node175.setPosition(1516*ratio.ratioX, 142*ratio.ratioY);
- Node175.setWidth(Node175width);
- Node175.setHeight(Node175height);
- Node175._nodeType = 'text';
- Node175._disallowEvert = true;
- Node175.setRotation(0*Math.PI/180);
- Node175.a('node.width', Node175width);
- Node175.a('node.height', Node175height);
- Node175.a('node.rect', [0, 0, Node175width, Node175height]);
- Node175.a('node.bordercolor','rgba(0,0,0,1)');
- Node175.a('node.borderwidth', 0);
- Node175.a('node.background','' || 'rgba(0,0,0,0)');
- Node175.a('node.gradient','');
- Node175.a('node.gradientcolor','');
- Node175.a('node.text','0');
- Node175.a('node.textalign','center');
- Node175.a('node.textvAlign','middle');
- Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]);
- Node175.a('node.color','rgba(0,0,0,1)');
- Node175.a('node.font',' '+ Node175fontSize + 'px "UniDreamLED"');
- Node175.a('node.textvisible',true);
- Node175.a('node.linefeed',false);
- if (false) {
- Node175.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node175.a('node.text') || '0';
- var color=Node175.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node175width,Node175height,19.99995*_ratio.ratioY,"center",color,' '+ Node175fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (41 - 19.99995) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node175fontSize + 'px "UniDreamLED"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]);
- Node175.a('node.underlinevisible',false);
- Node175.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node175);
- zoomNodeList.push({
- node: Node175,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176 = new ht.Node();
- var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'center', Node176fontSize = 19.99995*_ratio.ratioY,Node176width = 87*_ratio.ratioX, Node176height = 41*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "UniDreamLED"'))
- Node176.setPosition(1655*ratio.ratioX, 142*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','center');
- 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 "UniDreamLED"');
- 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,19.99995*0.5*_ratio.ratioY,Node176width,Node176height,19.99995*_ratio.ratioY,"center",color,' '+ Node176fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (41 - 19.99995) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node176fontSize + 'px "UniDreamLED"').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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'center', Node177fontSize = 19.99995*_ratio.ratioY,Node177width = 87*_ratio.ratioX, Node177height = 41*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('0', ' '+ Node177fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('0', ' '+ Node177fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "UniDreamLED"'))
- Node177.setPosition(1792*ratio.ratioX, 142*ratio.ratioY);
- Node177.setWidth(Node177width);
- Node177.setHeight(Node177height);
- Node177._nodeType = 'text';
- Node177._disallowEvert = true;
- Node177.setRotation(0*Math.PI/180);
- Node177.a('node.width', Node177width);
- Node177.a('node.height', Node177height);
- Node177.a('node.rect', [0, 0, Node177width, Node177height]);
- Node177.a('node.bordercolor','rgba(0,0,0,1)');
- Node177.a('node.borderwidth', 0);
- Node177.a('node.background','' || 'rgba(0,0,0,0)');
- Node177.a('node.gradient','');
- Node177.a('node.gradientcolor','');
- Node177.a('node.text','0');
- Node177.a('node.textalign','center');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(0,0,0,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "UniDreamLED"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '0';
- var color=Node177.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node177width,Node177height,19.99995*_ratio.ratioY,"center",color,' '+ Node177fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (41 - 19.99995) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node177fontSize + 'px "UniDreamLED"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'center', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 58*_ratio.ratioX, Node178height = 26*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('0', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('0', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(361*ratio.ratioX, 150*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','0');
- Node178.a('node.textalign','center');
- 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',' '+ 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') || '0';
- 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,"center",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'center', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 58*_ratio.ratioX, Node179height = 26*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('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(646*ratio.ratioX, 150*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','center');
- 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,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"center",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('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 = 'center', Node180fontSize = 14.66663*_ratio.ratioY,Node180width = 59*_ratio.ratioX, Node180height = 26*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(924*ratio.ratioX, 150*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','0');
- Node180.a('node.textalign','center');
- 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 "Arial"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '0';
- var color=Node180.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node180width,Node180height,14.66663*_ratio.ratioY,"center",color,' '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'center', Node181fontSize = 14.66663*_ratio.ratioY,Node181width = 59*_ratio.ratioX, Node181height = 26*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(1205*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(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','');
- Node181.a('node.text','0');
- 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 "Arial"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || '0';
- var color=Node181.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node181width,Node181height,14.66663*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "Arial"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node182 = 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 Node183 = 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 Node184 = 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 Node185 = 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 Node186 = 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 Node187 = 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 Node188 = 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 Node189 = 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 Node190 = 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 Node191 = 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 Node192 = 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 Node193 = 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 Node194 = 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 Node195 = 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 Node196 = 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 Node197 = 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 {'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxx':PageBackground_nlyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- if(typeof(Node1.borderWidth)!="undefined"){setDashStyle(Node1,"Node1",'NoDash',Node1.borderWidth);}
- if(typeof(Node3.borderWidth)!="undefined"){setDashStyle(Node3,"Node3",'NoDash',Node3.borderWidth);}
- if(typeof(Node5.borderWidth)!="undefined"){setDashStyle(Node5,"Node5",'NoDash',Node5.borderWidth);}
- if(typeof(Node7.borderWidth)!="undefined"){setDashStyle(Node7,"Node7",'NoDash',Node7.borderWidth);}
- if((0 )){Node182.s('2d.visible',true);}else{Node182.s('2d.visible',false);}
- if((0 )){Node184.s('2d.visible',true);}else{Node184.s('2d.visible',false);}
- if((0 )){Node186.s('2d.visible',true);}else{Node186.s('2d.visible',false);}
- if((0 )){Node188.s('2d.visible',true);}else{Node188.s('2d.visible',false);}
- if((0 )){Node190.s('2d.visible',true);}else{Node190.s('2d.visible',false);}
- if((0 )){Node192.s('2d.visible',true);}else{Node192.s('2d.visible',false);}
- if((0 )){Node194.s('2d.visible',true);}else{Node194.s('2d.visible',false);}
- if((0 )){Node196.s('2d.visible',true);}else{Node196.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++;
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node29.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0004') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0009') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0129') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0130') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0131') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0171') ),-1));
- Node74.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0144') ),-1));
- Node75.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0140') ),-1));
- Node76.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0168') ),-1));
- Node77.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0160') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0164') ),-1));
- Node101.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0038') ),-1));
- Node102.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0034') ),-1));
- Node103.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0065') ),-1));
- Node104.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0054') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0061') ),-1));
- Node119.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_HTS_JS_XX_XX_XXX_CI0004') ),-1));
- Node120.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0125') ),-1));
- Node121.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0124') ),-1));
- Node122.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0077') ),-1));
- Node137.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0089') ),-1));
- Node138.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0085') ),-1));
- Node139.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0116') ),-1));
- Node140.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0108') + getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0112') ),-1));
- Node161.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0004') ),-1));
- Node162.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0009') ),-1));
- Node163.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0171') ),-1));
- Node175.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0130') ),-1));
- Node176.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0131') ),-1));
- Node177.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0129') ),-1));
- Node178.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0126') ),-1));
- Node179.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0192') ),-1));
- Node180.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0196') ),-1));
- Node181.a('node.text',GetDital((getVarValue('HTS_FC_JSD.SX_GD_PLF_JS_XX_XX_XXX__CI0188') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((A==0)>0 )){Node13_0.s('2d.visible',true);}else{Node13_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node13_1.s('2d.visible',true);}else{Node13_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node14_0.s('2d.visible',true);}else{Node14_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node14_1.s('2d.visible',true);}else{Node14_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node15_0.s('2d.visible',true);}else{Node15_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node15_1.s('2d.visible',true);}else{Node15_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node16_0.s('2d.visible',true);}else{Node16_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node16_1.s('2d.visible',true);}else{Node16_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node17_0.s('2d.visible',true);}else{Node17_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node17_1.s('2d.visible',true);}else{Node17_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node18_0.s('2d.visible',true);}else{Node18_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node18_1.s('2d.visible',true);}else{Node18_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node19_0.s('2d.visible',true);}else{Node19_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node19_1.s('2d.visible',true);}else{Node19_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node20_0.s('2d.visible',true);}else{Node20_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node20_1.s('2d.visible',true);}else{Node20_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node21_0.s('2d.visible',true);}else{Node21_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node21_1.s('2d.visible',true);}else{Node21_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node22_0.s('2d.visible',true);}else{Node22_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node22_1.s('2d.visible',true);}else{Node22_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node23_0.s('2d.visible',true);}else{Node23_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node23_1.s('2d.visible',true);}else{Node23_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node24_0.s('2d.visible',true);}else{Node24_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node24_1.s('2d.visible',true);}else{Node24_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==1)>0 )){Node182.s('2d.visible',true);}else{Node182.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node183.s('2d.visible',true);}else{Node183.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node184.s('2d.visible',true);}else{Node184.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node185.s('2d.visible',true);}else{Node185.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node186.s('2d.visible',true);}else{Node186.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node187.s('2d.visible',true);}else{Node187.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node188.s('2d.visible',true);}else{Node188.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node190.s('2d.visible',true);}else{Node190.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node192.s('2d.visible',true);}else{Node192.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node194.s('2d.visible',true);}else{Node194.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node196.s('2d.visible',true);}else{Node196.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node197.s('2d.visible',true);}else{Node197.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();
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- /*@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 === PageBackground){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node19_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node19_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node20_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node20_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node21_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node21_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node22_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node22_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node23_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node23_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_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- 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/cft_wn'; 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/cft_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node184){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 === Node186){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 === Node188){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 === Node190){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 === Node192){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 !== Node19_0&& objMouseOn===Node19_0){A=0; }
- if(data !== Node19_1&& objMouseOn===Node19_1){A=0; }
- if(data !== Node20_0&& objMouseOn===Node20_0){B=0; }
- if(data !== Node20_1&& objMouseOn===Node20_1){B=0; }
- if(data !== Node21_0&& objMouseOn===Node21_0){C=0; }
- if(data !== Node21_1&& objMouseOn===Node21_1){C=0; }
- if(data !== Node22_0&& objMouseOn===Node22_0){F=0; }
- if(data !== Node22_1&& objMouseOn===Node22_1){F=0; }
- if(data !== Node23_0&& objMouseOn===Node23_0){E=0; }
- if(data !== Node23_1&& objMouseOn===Node23_1){E=0; }
- if(data !== Node24_0&& objMouseOn===Node24_0){D=0; }
- if(data !== Node24_1&& objMouseOn===Node24_1){D=0; }
- if(data !== Node182&& objMouseOn===Node182){sxxny=0; }
- if(data !== Node184&& objMouseOn===Node184){yygjb=0; }
- if(data !== Node186&& objMouseOn===Node186){plhts=0; }
- if(data !== Node188&& objMouseOn===Node188){tqwns=0; }
- if(data !== Node190&& objMouseOn===Node190){gljf=0; }
- if(data !== Node192&& objMouseOn===Node192){hyfy=0; }
- if(data !== Node194&& objMouseOn===Node194){llbts=0; }
- if(data !== Node196&& objMouseOn===Node196){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 === Node13_0){A=1; }
- if(data === Node13_1){A=1; }
- if(data === Node14_0){B=1; }
- if(data === Node14_1){B=1; }
- if(data === Node15_0){C=1; }
- if(data === Node15_1){C=1; }
- if(data === Node16_0){E=1; }
- if(data === Node16_1){E=1; }
- if(data === Node17_0){F=1; }
- if(data === Node17_1){F=1; }
- if(data === Node18_0){D=1; }
- if(data === Node18_1){D=1; }
- if(data === Node183){sxxny=1; }
- if(data === Node185){yygjb=1; }
- if(data === Node187){plhts=1; }
- if(data === Node189){tqwns=1; }
- if(data === Node191){gljf=1; }
- if(data === Node193){hyfy=1; }
- if(data === Node195){llbts=1; }
- if(data === Node197){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();
- }
- })();
-
- })();
- }
|