12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460 |
- /*@WebApiFunc@*/
- var varList = ['GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188','GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112','GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
-
- }
- })(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(784*ratio.ratioX, 508*ratio.ratioY);
- Node0_0.setSize(1440*ratioX, 684*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(794*ratio.ratioX, 511*ratio.ratioY);
- Node0_1.setSize(749*ratioX, 673*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(1542*ratio.ratioX, 193*ratio.ratioY);
- Node0_2.setSize(76*ratioX, 55*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(1542*ratio.ratioX, 250*ratio.ratioY);
- Node0_3.setSize(76*ratioX, 55*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(1543*ratio.ratioX, 306*ratio.ratioY);
- Node0_4.setSize(76*ratioX, 55*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(1717*ratio.ratioX, 463*ratio.ratioY);
- Node0_5.setSize(347*ratioX, 256*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(1523*ratio.ratioX, 463*ratio.ratioY);
- Node0_6.setSize(39*ratioX, 256*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(386.521*_ratio.ratioX, 56.22708*_ratio.ratioY, Node0_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_7.setPosition(1697*ratio.ratioX, 192*ratio.ratioY);
- Node0_7.setSize(386.521*_ratio.ratioX, 56.22708*_ratio.ratioY);
- Node0_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_7.a('node.width', 386.521*_ratio.ratioX);
- Node0_7.a('node.height', 56.22708*_ratio.ratioY);
- Node0_7.a('node.type', Node0_7type);
- Node0_7.a('node.rect', [0, 0, 386.521*_ratio.ratioX, 56.22708*_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(386.521*_ratio.ratioX, 56.22707*_ratio.ratioY, Node0_8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_8.setPosition(1697*ratio.ratioX, 250*ratio.ratioY);
- Node0_8.setSize(386.521*_ratio.ratioX, 56.22707*_ratio.ratioY);
- Node0_8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_8.a('node.width', 386.521*_ratio.ratioX);
- Node0_8.a('node.height', 56.22707*_ratio.ratioY);
- Node0_8.a('node.type', Node0_8type);
- Node0_8.a('node.rect', [0, 0, 386.521*_ratio.ratioX, 56.22707*_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(386.521*_ratio.ratioX, 56.22708*_ratio.ratioY, Node0_9type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_9.setPosition(1697*ratio.ratioX, 307*ratio.ratioY);
- Node0_9.setSize(386.521*_ratio.ratioX, 56.22708*_ratio.ratioY);
- Node0_9.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_9.a('node.width', 386.521*_ratio.ratioX);
- Node0_9.a('node.height', 56.22708*_ratio.ratioY);
- Node0_9.a('node.type', Node0_9type);
- Node0_9.a('node.rect', [0, 0, 386.521*_ratio.ratioX, 56.22708*_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(1628*ratio.ratioX, 197*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 = 24*_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(1629*ratio.ratioX, 253*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, (24 - 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(1629*ratio.ratioX, 311*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=[1907, 159,1907, 159],
- Node0_13rect=ht.Default.unionPoint([{x:1907,y:159},{x:1907,y:159}]),
- 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(1523*ratio.ratioX, 721*ratio.ratioY);
- Node0_14.setSize(39*ratioX, 256*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(1717*ratio.ratioX, 719*ratio.ratioY);
- Node0_15.setSize(347*ratioX, 256*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(386.5205*_ratio.ratioX, 256.8995*_ratio.ratioY, Node0_16type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_16.setPosition(1698*ratio.ratioX, 464*ratio.ratioY);
- Node0_16.setSize(386.5205*_ratio.ratioX, 256.8995*_ratio.ratioY);
- Node0_16.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_16.a('node.width', 386.5205*_ratio.ratioX);
- Node0_16.a('node.height', 256.8995*_ratio.ratioY);
- Node0_16.a('node.type', Node0_16type);
- Node0_16.a('node.rect', [0, 0, 386.5205*_ratio.ratioX, 256.8995*_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(386.5205*_ratio.ratioX, 256.8995*_ratio.ratioY, Node0_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_17.setPosition(1698*ratio.ratioX, 722*ratio.ratioY);
- Node0_17.setSize(386.5205*_ratio.ratioX, 256.8995*_ratio.ratioY);
- Node0_17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_17.a('node.width', 386.5205*_ratio.ratioX);
- Node0_17.a('node.height', 256.8995*_ratio.ratioY);
- Node0_17.a('node.type', Node0_17type);
- Node0_17.a('node.rect', [0, 0, 386.5205*_ratio.ratioX, 256.8995*_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 = 198*_ratio.ratioX, Node0_18height = 549*_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(1611*ratio.ratioX, 462*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, (549 - 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 = 285*_ratio.ratioX, Node0_19height = 792*_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(1655*ratio.ratioX, 714*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, (792 - 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.29193*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_20_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_0.setPosition(588*ratio.ratioX, 232*ratio.ratioY);
- Node0_20_0.setSize(72.29193*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_20_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_20_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_20_0.a('node.height', 24.23581*_ratio.ratioY);
- Node0_20_0.a('node.type', Node0_20_0type);
- Node0_20_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23581*_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(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_20_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_1.setPosition(668*ratio.ratioX, 232*ratio.ratioY);
- Node0_20_1.setSize(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_20_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_20_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_20_1.a('node.height', 24.23581*_ratio.ratioY);
- Node0_20_1.a('node.type', Node0_20_1type);
- Node0_20_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23581*_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.29193*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_21_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_0.setPosition(588*ratio.ratioX, 459*ratio.ratioY);
- Node0_21_0.setSize(72.29193*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_21_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_21_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_21_0.a('node.height', 24.23581*_ratio.ratioY);
- Node0_21_0.a('node.type', Node0_21_0type);
- Node0_21_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23581*_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(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_21_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_1.setPosition(668*ratio.ratioX, 459*ratio.ratioY);
- Node0_21_1.setSize(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_21_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_21_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_21_1.a('node.height', 24.23581*_ratio.ratioY);
- Node0_21_1.a('node.type', Node0_21_1type);
- Node0_21_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23581*_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.29193*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_22_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_0.setPosition(588*ratio.ratioX, 384*ratio.ratioY);
- Node0_22_0.setSize(72.29193*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_22_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_22_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_22_0.a('node.height', 24.23584*_ratio.ratioY);
- Node0_22_0.a('node.type', Node0_22_0type);
- Node0_22_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23584*_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(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_22_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_1.setPosition(668*ratio.ratioX, 384*ratio.ratioY);
- Node0_22_1.setSize(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_22_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_22_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_22_1.a('node.height', 24.23584*_ratio.ratioY);
- Node0_22_1.a('node.type', Node0_22_1type);
- Node0_22_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23584*_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.29193*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_23_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_0.setPosition(591*ratio.ratioX, 535*ratio.ratioY);
- Node0_23_0.setSize(72.29193*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_23_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_23_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_23_0.a('node.height', 24.23584*_ratio.ratioY);
- Node0_23_0.a('node.type', Node0_23_0type);
- Node0_23_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23584*_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(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_23_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_1.setPosition(671*ratio.ratioX, 535*ratio.ratioY);
- Node0_23_1.setSize(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_23_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_23_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_23_1.a('node.height', 24.23584*_ratio.ratioY);
- Node0_23_1.a('node.type', Node0_23_1type);
- Node0_23_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23584*_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.29193*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_24_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_0.setPosition(591*ratio.ratioX, 611*ratio.ratioY);
- Node0_24_0.setSize(72.29193*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_24_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_24_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_24_0.a('node.height', 24.23584*_ratio.ratioY);
- Node0_24_0.a('node.type', Node0_24_0type);
- Node0_24_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23584*_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(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_24_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_1.setPosition(671*ratio.ratioX, 611*ratio.ratioY);
- Node0_24_1.setSize(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_24_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_24_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_24_1.a('node.height', 24.23584*_ratio.ratioY);
- Node0_24_1.a('node.type', Node0_24_1type);
- Node0_24_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23584*_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.29193*_ratio.ratioX, 24.2359*_ratio.ratioY, Node0_25_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_0.setPosition(591*ratio.ratioX, 686*ratio.ratioY);
- Node0_25_0.setSize(72.29193*_ratio.ratioX, 24.2359*_ratio.ratioY);
- Node0_25_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_25_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_25_0.a('node.height', 24.2359*_ratio.ratioY);
- Node0_25_0.a('node.type', Node0_25_0type);
- Node0_25_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.2359*_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(86.75031*_ratio.ratioX, 24.2359*_ratio.ratioY, Node0_25_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_1.setPosition(671*ratio.ratioX, 686*ratio.ratioY);
- Node0_25_1.setSize(86.75031*_ratio.ratioX, 24.2359*_ratio.ratioY);
- Node0_25_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_25_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_25_1.a('node.height', 24.2359*_ratio.ratioY);
- Node0_25_1.a('node.type', Node0_25_1type);
- Node0_25_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.2359*_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.29193*_ratio.ratioX, 24.23566*_ratio.ratioY, Node0_26_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_0.setPosition(591*ratio.ratioX, 761*ratio.ratioY);
- Node0_26_0.setSize(72.29193*_ratio.ratioX, 24.23566*_ratio.ratioY);
- Node0_26_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_26_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_26_0.a('node.height', 24.23566*_ratio.ratioY);
- Node0_26_0.a('node.type', Node0_26_0type);
- Node0_26_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23566*_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(86.75031*_ratio.ratioX, 24.23566*_ratio.ratioY, Node0_26_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_1.setPosition(671*ratio.ratioX, 761*ratio.ratioY);
- Node0_26_1.setSize(86.75031*_ratio.ratioX, 24.23566*_ratio.ratioY);
- Node0_26_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_26_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_26_1.a('node.height', 24.23566*_ratio.ratioY);
- Node0_26_1.a('node.type', Node0_26_1type);
- Node0_26_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23566*_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.29193*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_27_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_0.setPosition(588*ratio.ratioX, 308*ratio.ratioY);
- Node0_27_0.setSize(72.29193*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_27_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_27_0.a('node.width', 72.29193*_ratio.ratioX);
- Node0_27_0.a('node.height', 24.23581*_ratio.ratioY);
- Node0_27_0.a('node.type', Node0_27_0type);
- Node0_27_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23581*_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(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_27_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_1.setPosition(668*ratio.ratioX, 308*ratio.ratioY);
- Node0_27_1.setSize(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_27_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_27_1.a('node.width', 86.75031*_ratio.ratioX);
- Node0_27_1.a('node.height', 24.23581*_ratio.ratioY);
- Node0_27_1.a('node.type', Node0_27_1type);
- Node0_27_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23581*_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(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_28_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_0.setPosition(906*ratio.ratioX, 232*ratio.ratioY);
- Node0_28_0.setSize(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_28_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_28_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_28_0.a('node.height', 24.23581*_ratio.ratioY);
- Node0_28_0.a('node.type', Node0_28_0type);
- Node0_28_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23581*_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.29193*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_28_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_1.setPosition(984*ratio.ratioX, 232*ratio.ratioY);
- Node0_28_1.setSize(72.29193*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_28_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_28_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_28_1.a('node.height', 24.23581*_ratio.ratioY);
- Node0_28_1.a('node.type', Node0_28_1type);
- Node0_28_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23581*_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(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_29_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_0.setPosition(906*ratio.ratioX, 611*ratio.ratioY);
- Node0_29_0.setSize(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_29_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_29_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_29_0.a('node.height', 24.23584*_ratio.ratioY);
- Node0_29_0.a('node.type', Node0_29_0type);
- Node0_29_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23584*_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.29193*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_29_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_1.setPosition(984*ratio.ratioX, 611*ratio.ratioY);
- Node0_29_1.setSize(72.29193*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_29_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_29_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_29_1.a('node.height', 24.23584*_ratio.ratioY);
- Node0_29_1.a('node.type', Node0_29_1type);
- Node0_29_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23584*_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(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_30_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_0.setPosition(906*ratio.ratioX, 459*ratio.ratioY);
- Node0_30_0.setSize(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_30_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_30_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_30_0.a('node.height', 24.23581*_ratio.ratioY);
- Node0_30_0.a('node.type', Node0_30_0type);
- Node0_30_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23581*_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.29193*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_30_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_1.setPosition(984*ratio.ratioX, 459*ratio.ratioY);
- Node0_30_1.setSize(72.29193*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_30_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_30_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_30_1.a('node.height', 24.23581*_ratio.ratioY);
- Node0_30_1.a('node.type', Node0_30_1type);
- Node0_30_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23581*_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(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_31_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_0.setPosition(906*ratio.ratioX, 384*ratio.ratioY);
- Node0_31_0.setSize(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_31_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_31_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_31_0.a('node.height', 24.23584*_ratio.ratioY);
- Node0_31_0.a('node.type', Node0_31_0type);
- Node0_31_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23584*_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.29193*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_31_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_1.setPosition(984*ratio.ratioX, 384*ratio.ratioY);
- Node0_31_1.setSize(72.29193*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_31_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_31_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_31_1.a('node.height', 24.23584*_ratio.ratioY);
- Node0_31_1.a('node.type', Node0_31_1type);
- Node0_31_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23584*_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(86.75031*_ratio.ratioX, 24.2359*_ratio.ratioY, Node0_32_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_0.setPosition(906*ratio.ratioX, 686*ratio.ratioY);
- Node0_32_0.setSize(86.75031*_ratio.ratioX, 24.2359*_ratio.ratioY);
- Node0_32_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_32_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_32_0.a('node.height', 24.2359*_ratio.ratioY);
- Node0_32_0.a('node.type', Node0_32_0type);
- Node0_32_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.2359*_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.29193*_ratio.ratioX, 24.2359*_ratio.ratioY, Node0_32_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_1.setPosition(984*ratio.ratioX, 686*ratio.ratioY);
- Node0_32_1.setSize(72.29193*_ratio.ratioX, 24.2359*_ratio.ratioY);
- Node0_32_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_32_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_32_1.a('node.height', 24.2359*_ratio.ratioY);
- Node0_32_1.a('node.type', Node0_32_1type);
- Node0_32_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.2359*_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(86.75031*_ratio.ratioX, 24.23566*_ratio.ratioY, Node0_33_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_0.setPosition(906*ratio.ratioX, 761*ratio.ratioY);
- Node0_33_0.setSize(86.75031*_ratio.ratioX, 24.23566*_ratio.ratioY);
- Node0_33_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_33_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_33_0.a('node.height', 24.23566*_ratio.ratioY);
- Node0_33_0.a('node.type', Node0_33_0type);
- Node0_33_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23566*_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.29193*_ratio.ratioX, 24.23566*_ratio.ratioY, Node0_33_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_1.setPosition(984*ratio.ratioX, 761*ratio.ratioY);
- Node0_33_1.setSize(72.29193*_ratio.ratioX, 24.23566*_ratio.ratioY);
- Node0_33_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_33_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_33_1.a('node.height', 24.23566*_ratio.ratioY);
- Node0_33_1.a('node.type', Node0_33_1type);
- Node0_33_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23566*_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(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_34_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_0.setPosition(906*ratio.ratioX, 533*ratio.ratioY);
- Node0_34_0.setSize(86.75031*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_34_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_34_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_34_0.a('node.height', 24.23584*_ratio.ratioY);
- Node0_34_0.a('node.type', Node0_34_0type);
- Node0_34_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23584*_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.29193*_ratio.ratioX, 24.23584*_ratio.ratioY, Node0_34_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_1.setPosition(984*ratio.ratioX, 533*ratio.ratioY);
- Node0_34_1.setSize(72.29193*_ratio.ratioX, 24.23584*_ratio.ratioY);
- Node0_34_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_34_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_34_1.a('node.height', 24.23584*_ratio.ratioY);
- Node0_34_1.a('node.type', Node0_34_1type);
- Node0_34_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23584*_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(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_35_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_0.setPosition(906*ratio.ratioX, 308*ratio.ratioY);
- Node0_35_0.setSize(86.75031*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_35_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_35_0.a('node.width', 86.75031*_ratio.ratioX);
- Node0_35_0.a('node.height', 24.23581*_ratio.ratioY);
- Node0_35_0.a('node.type', Node0_35_0type);
- Node0_35_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 24.23581*_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.29193*_ratio.ratioX, 24.23581*_ratio.ratioY, Node0_35_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_1.setPosition(984*ratio.ratioX, 308*ratio.ratioY);
- Node0_35_1.setSize(72.29193*_ratio.ratioX, 24.23581*_ratio.ratioY);
- Node0_35_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_35_1.a('node.width', 72.29193*_ratio.ratioX);
- Node0_35_1.a('node.height', 24.23581*_ratio.ratioY);
- Node0_35_1.a('node.type', Node0_35_1type);
- Node0_35_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 24.23581*_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 = 24*_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(674*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, (24 - 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 = 28*_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(589*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(665*ratio.ratioX, 311*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 = 24*_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(679*ratio.ratioX, 388*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, (24 - 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(670*ratio.ratioX, 539*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(670*ratio.ratioX, 691*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(670*ratio.ratioX, 462*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 = 24*_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(679*ratio.ratioX, 614*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, (24 - 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(670*ratio.ratioX, 764*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(603*ratio.ratioX, 311*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(603*ratio.ratioX, 386*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 = 28*_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(589*ratio.ratioX, 459*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 = 28*_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(589*ratio.ratioX, 537*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(603*ratio.ratioX, 689*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 = 83*_ratio.ratioX, Node0_50height = 35*_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(616*ratio.ratioX, 612*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, (35 - 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(601*ratio.ratioX, 763*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 = 89*_ratio.ratioX, Node0_52height = 36*_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(912*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, (36 - 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 = 24*_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(914*ratio.ratioX, 312*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, (24 - 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 = 24*_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(914*ratio.ratioX, 389*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, (24 - 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 = 49*_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(908*ratio.ratioX, 462*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, (49 - 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 = 24*_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(914*ratio.ratioX, 764*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, (24 - 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 = 24*_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(914*ratio.ratioX, 690*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, (24 - 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 = 137*_ratio.ratioX, Node0_58height = 36*_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(936*ratio.ratioX, 537*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, (36 - 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 = 24*_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(914*ratio.ratioX, 614*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, (24 - 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 = 93*_ratio.ratioX, Node0_60height = 35*_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(1005*ratio.ratioX, 234*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, (35 - 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 = 93*_ratio.ratioX, Node0_61height = 35*_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(1005*ratio.ratioX, 311*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, (35 - 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 = 93*_ratio.ratioX, Node0_62height = 35*_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(1005*ratio.ratioX, 387*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, (35 - 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 = 93*_ratio.ratioX, Node0_63height = 35*_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(1005*ratio.ratioX, 462*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, (35 - 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 = 93*_ratio.ratioX, Node0_64height = 35*_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(1005*ratio.ratioX, 537*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, (35 - 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 = 93*_ratio.ratioX, Node0_65height = 35*_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(1005*ratio.ratioX, 613*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, (35 - 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 = 93*_ratio.ratioX, Node0_66height = 35*_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(1005*ratio.ratioX, 688*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, (35 - 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 = 93*_ratio.ratioX, Node0_67height = 35*_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(1005*ratio.ratioX, 764*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, (35 - 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=[1504, 164,64, 164],
- Node0_68rect=ht.Default.unionPoint([{x:1504,y:164},{x:64,y:164}]),
- 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 = 48*_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(1875*ratio.ratioX, 195*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, (48 - 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 = 83*_ratio.ratioX, Node0_70height = 36*_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(1860*ratio.ratioX, 255*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, (36 - 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(1844*ratio.ratioX, 306*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 = 37*_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(1735*ratio.ratioX, 197*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, (37 - 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 = 101*_ratio.ratioX, Node0_73height = 29*_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(1720*ratio.ratioX, 256*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, (29 - 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 = 101*_ratio.ratioX, Node0_74height = 29*_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(1720*ratio.ratioX, 315*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, (29 - 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;
- (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 = new ht.Node();
- Node12.setPosition(110*ratio.ratioX, 61*ratio.ratioY);
- Node12.setSize(155*ratioX, 45*ratioY);
- Node12.setImage('imgimage//喜欢的蓝色.png');
- Node12.setRotation(0*Math.PI/180);
- Node12._zoomBy = 'Default';
- Node12._nodeType = 'image';
- Node12._disallowEvert = true;
- dataModel.add(Node12);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13 = new ht.Node();
- var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 17.33329*_ratio.ratioY,Node13width = 143*_ratio.ratioX, Node13height = 49*_ratio.ratioY;
- (function () {
- if (Node13align === 'left') {
- Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
- Node13textWidth = Node13width;
- Node13lineStart = 1;
- } else if (Node13align === 'right') {
- Node13textStart = 0;
- Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
- Node13lineStart = (Node13width - (ht.Default.getTextSize('广灵劲风电场', ' '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node13align === 'center') {
- Node13textStart = -3;
- Node13textWidth = Node13width;
- Node13lineStart = Node13width - ht.Default.getTextSize('广灵劲风电场', ' '+ Node13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, ' '+ Node13fontSize + 'px "Arial"'))
- Node13.setPosition(121*ratio.ratioX, 63*ratio.ratioY);
- Node13.setWidth(Node13width);
- Node13.setHeight(Node13height);
- Node13._nodeType = 'text';
- Node13._disallowEvert = true;
- Node13.setRotation(0*Math.PI/180);
- Node13.a('node.width', Node13width);
- Node13.a('node.height', Node13height);
- Node13.a('node.rect', [0, 0, Node13width, Node13height]);
- Node13.a('node.bordercolor','rgba(255,255,255,1)');
- Node13.a('node.borderwidth', 0);
- Node13.a('node.background','' || 'rgba(0,0,0,0)');
- Node13.a('node.gradient','');
- Node13.a('node.gradientcolor','');
- Node13.a('node.text','广灵劲风电场');
- Node13.a('node.textalign','left');
- Node13.a('node.textvAlign','middle');
- Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
- Node13.a('node.color','rgba(255,255,255,1)');
- Node13.a('node.font',' '+ Node13fontSize + 'px "Arial"');
- Node13.a('node.textvisible',true);
- Node13.a('node.linefeed',false);
- if (false) {
- Node13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node13.a('node.text') || '广灵劲风电场';
- var color=Node13.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node13width,Node13height,17.33329*_ratio.ratioY,"left",color,' '+ Node13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node13.a('node.underlinepoints',[Node13lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('广灵劲风电场', ' '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
- Node13.a('node.underlinevisible',false);
- Node13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node13);
- zoomNodeList.push({
- node: Node13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node14 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 75*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 Node15 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 75*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 Node16 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 185*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node17 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 185*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node18 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 295*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node19 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 295*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node20 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 404*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node21 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 404*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node22 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 515*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node23 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 515*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node24 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 625*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node25 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 625*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node26 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 735*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node27 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 735*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node28 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 845*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node29 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 845*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});var Node30_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');
- Node30_0 = new ht.Node();
- Node30_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node30_0.setSize(27*ratioX, 101*ratioY);
- Node30_0.setImage('imgimage//left_menu_over0.png');
- Node30_0.setRotation(0*Math.PI/180);
- Node30_0._zoomBy = 'Default';
- Node30_0._nodeType = 'image';
- Node30_0._disallowEvert = true;
- dataModel.add(Node30_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_1 = new ht.Node();
- var Node30_1textStart, Node30_1textWidth, Node30_1lineStart, Node30_1align = 'left', Node30_1fontSize = 19.99995*_ratio.ratioY,Node30_1width = 23*_ratio.ratioX, Node30_1height = 76*_ratio.ratioY;
- (function () {
- if (Node30_1align === 'left') {
- Node30_1textStart = Node30_1fontSize * 0.2 > 2 ? Node30_1fontSize * 0.2 - 4 : Node30_1fontSize * 0.2 - 9;
- Node30_1textWidth = Node30_1width;
- Node30_1lineStart = 1;
- } else if (Node30_1align === 'right') {
- Node30_1textStart = 0;
- Node30_1textWidth =Node30_1fontSize <= 8 ? Node30_1width + Node30_1fontSize * 0.2 + 6 : Node30_1width - Node30_1fontSize * 0.2;
- Node30_1lineStart = (Node30_1width - (ht.Default.getTextSize('排布图', ' '+ Node30_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30_1align === 'center') {
- Node30_1textStart = -3;
- Node30_1textWidth = Node30_1width;
- Node30_1lineStart = Node30_1width - ht.Default.getTextSize('排布图', ' '+ Node30_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30_1.setImage(GD.getTextJSON(Node30_1width, Node30_1height, false, true, false, ' '+ Node30_1fontSize + 'px "Arial"'))
- Node30_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
- Node30_1.setWidth(Node30_1width);
- Node30_1.setHeight(Node30_1height);
- Node30_1._nodeType = 'text';
- Node30_1._disallowEvert = true;
- Node30_1.setRotation(0*Math.PI/180);
- Node30_1.a('node.width', Node30_1width);
- Node30_1.a('node.height', Node30_1height);
- Node30_1.a('node.rect', [0, 0, Node30_1width, Node30_1height]);
- Node30_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_1.a('node.borderwidth', 0);
- Node30_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_1.a('node.gradient','');
- Node30_1.a('node.gradientcolor','');
- Node30_1.a('node.text','排布图');
- Node30_1.a('node.textalign','left');
- Node30_1.a('node.textvAlign','middle');
- Node30_1.a('node.textrect', [Node30_1textStart, 0, Node30_1textWidth, Node30_1height]);
- Node30_1.a('node.color','rgba(0,0,0,1)');
- Node30_1.a('node.font',' '+ Node30_1fontSize + 'px "Arial"');
- Node30_1.a('node.textvisible',false);
- Node30_1.a('node.linefeed',true);
- if (true) {
- Node30_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_1.a('node.text') || '排布图';
- var color=Node30_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node30_1width,Node30_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node30_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30_1.a('node.underlinepoints',[Node30_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node30_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node30_1fontSize + 'px "Arial"').width + 6, (Node30_1height - Node30_1fontSize) * 0.5*_ratio.ratioY + Node30_1fontSize + 2 ]);
- Node30_1.a('node.underlinevisible',false);
- Node30_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_1);
- zoomNodeList.push({
- node: Node30_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node31_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');
- Node31_0 = new ht.Node();
- Node31_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node31_0.setSize(27*ratioX, 101*ratioY);
- Node31_0.setImage('imgimage//left_menu_over0.png');
- Node31_0.setRotation(0*Math.PI/180);
- Node31_0._zoomBy = 'Default';
- Node31_0._nodeType = 'image';
- Node31_0._disallowEvert = true;
- dataModel.add(Node31_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31_1 = new ht.Node();
- var Node31_1textStart, Node31_1textWidth, Node31_1lineStart, Node31_1align = 'left', Node31_1fontSize = 18.66662*_ratio.ratioY,Node31_1width = 23*_ratio.ratioX, Node31_1height = 76*_ratio.ratioY;
- (function () {
- if (Node31_1align === 'left') {
- Node31_1textStart = Node31_1fontSize * 0.2 > 2 ? Node31_1fontSize * 0.2 - 4 : Node31_1fontSize * 0.2 - 9;
- Node31_1textWidth = Node31_1width;
- Node31_1lineStart = 1;
- } else if (Node31_1align === 'right') {
- Node31_1textStart = 0;
- Node31_1textWidth =Node31_1fontSize <= 8 ? Node31_1width + Node31_1fontSize * 0.2 + 6 : Node31_1width - Node31_1fontSize * 0.2;
- Node31_1lineStart = (Node31_1width - (ht.Default.getTextSize('总貌图', ' '+ Node31_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node31_1align === 'center') {
- Node31_1textStart = -3;
- Node31_1textWidth = Node31_1width;
- Node31_1lineStart = Node31_1width - ht.Default.getTextSize('总貌图', ' '+ Node31_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node31_1.setImage(GD.getTextJSON(Node31_1width, Node31_1height, false, true, false, ' '+ Node31_1fontSize + 'px "Arial"'))
- Node31_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node31_1.setWidth(Node31_1width);
- Node31_1.setHeight(Node31_1height);
- Node31_1._nodeType = 'text';
- Node31_1._disallowEvert = true;
- Node31_1.setRotation(0*Math.PI/180);
- Node31_1.a('node.width', Node31_1width);
- Node31_1.a('node.height', Node31_1height);
- Node31_1.a('node.rect', [0, 0, Node31_1width, Node31_1height]);
- Node31_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node31_1.a('node.borderwidth', 0);
- Node31_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node31_1.a('node.gradient','');
- Node31_1.a('node.gradientcolor','');
- Node31_1.a('node.text','总貌图');
- Node31_1.a('node.textalign','left');
- Node31_1.a('node.textvAlign','middle');
- Node31_1.a('node.textrect', [Node31_1textStart, 0, Node31_1textWidth, Node31_1height]);
- Node31_1.a('node.color','rgba(0,0,0,1)');
- Node31_1.a('node.font',' '+ Node31_1fontSize + 'px "Arial"');
- Node31_1.a('node.textvisible',false);
- Node31_1.a('node.linefeed',true);
- if (true) {
- Node31_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node31_1.a('node.text') || '总貌图';
- var color=Node31_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node31_1width,Node31_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node31_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31_1.a('node.underlinepoints',[Node31_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node31_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node31_1fontSize + 'px "Arial"').width + 6, (Node31_1height - Node31_1fontSize) * 0.5*_ratio.ratioY + Node31_1fontSize + 2 ]);
- Node31_1.a('node.underlinevisible',false);
- Node31_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node31_1);
- zoomNodeList.push({
- node: Node31_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node32_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node32_0 = new ht.Node();
- Node32_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node32_0.setSize(27*ratioX, 101*ratioY);
- Node32_0.setImage('imgimage//left_menu_over0.png');
- Node32_0.setRotation(0*Math.PI/180);
- Node32_0._zoomBy = 'Default';
- Node32_0._nodeType = 'image';
- Node32_0._disallowEvert = true;
- dataModel.add(Node32_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32_1 = new ht.Node();
- var Node32_1textStart, Node32_1textWidth, Node32_1lineStart, Node32_1align = 'left', Node32_1fontSize = 18.66662*_ratio.ratioY,Node32_1width = 23*_ratio.ratioX, Node32_1height = 76*_ratio.ratioY;
- (function () {
- if (Node32_1align === 'left') {
- Node32_1textStart = Node32_1fontSize * 0.2 > 2 ? Node32_1fontSize * 0.2 - 4 : Node32_1fontSize * 0.2 - 9;
- Node32_1textWidth = Node32_1width;
- Node32_1lineStart = 1;
- } else if (Node32_1align === 'right') {
- Node32_1textStart = 0;
- Node32_1textWidth =Node32_1fontSize <= 8 ? Node32_1width + Node32_1fontSize * 0.2 + 6 : Node32_1width - Node32_1fontSize * 0.2;
- Node32_1lineStart = (Node32_1width - (ht.Default.getTextSize('升压站', ' '+ Node32_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node32_1align === 'center') {
- Node32_1textStart = -3;
- Node32_1textWidth = Node32_1width;
- Node32_1lineStart = Node32_1width - ht.Default.getTextSize('升压站', ' '+ Node32_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node32_1.setImage(GD.getTextJSON(Node32_1width, Node32_1height, false, true, false, ' '+ Node32_1fontSize + 'px "Arial"'))
- Node32_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node32_1.setWidth(Node32_1width);
- Node32_1.setHeight(Node32_1height);
- Node32_1._nodeType = 'text';
- Node32_1._disallowEvert = true;
- Node32_1.setRotation(0*Math.PI/180);
- Node32_1.a('node.width', Node32_1width);
- Node32_1.a('node.height', Node32_1height);
- Node32_1.a('node.rect', [0, 0, Node32_1width, Node32_1height]);
- Node32_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node32_1.a('node.borderwidth', 0);
- Node32_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node32_1.a('node.gradient','');
- Node32_1.a('node.gradientcolor','');
- Node32_1.a('node.text','升压站');
- Node32_1.a('node.textalign','left');
- Node32_1.a('node.textvAlign','middle');
- Node32_1.a('node.textrect', [Node32_1textStart, 0, Node32_1textWidth, Node32_1height]);
- Node32_1.a('node.color','rgba(0,0,0,1)');
- Node32_1.a('node.font',' '+ Node32_1fontSize + 'px "Arial"');
- Node32_1.a('node.textvisible',false);
- Node32_1.a('node.linefeed',true);
- if (true) {
- Node32_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node32_1.a('node.text') || '升压站';
- var color=Node32_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node32_1width,Node32_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node32_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32_1.a('node.underlinepoints',[Node32_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node32_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node32_1fontSize + 'px "Arial"').width + 6, (Node32_1height - Node32_1fontSize) * 0.5*_ratio.ratioY + Node32_1fontSize + 2 ]);
- Node32_1.a('node.underlinevisible',false);
- Node32_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node32_1);
- zoomNodeList.push({
- node: Node32_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node33_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node33_0 = new ht.Node();
- Node33_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node33_0.setSize(27*ratioX, 101*ratioY);
- Node33_0.setImage('imgimage//left_menu_over0.png');
- Node33_0.setRotation(0*Math.PI/180);
- Node33_0._zoomBy = 'Default';
- Node33_0._nodeType = 'image';
- Node33_0._disallowEvert = true;
- dataModel.add(Node33_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33_1 = new ht.Node();
- var Node33_1textStart, Node33_1textWidth, Node33_1lineStart, Node33_1align = 'left', Node33_1fontSize = 18.66662*_ratio.ratioY,Node33_1width = 23*_ratio.ratioX, Node33_1height = 76*_ratio.ratioY;
- (function () {
- if (Node33_1align === 'left') {
- Node33_1textStart = Node33_1fontSize * 0.2 > 2 ? Node33_1fontSize * 0.2 - 4 : Node33_1fontSize * 0.2 - 9;
- Node33_1textWidth = Node33_1width;
- Node33_1lineStart = 1;
- } else if (Node33_1align === 'right') {
- Node33_1textStart = 0;
- Node33_1textWidth =Node33_1fontSize <= 8 ? Node33_1width + Node33_1fontSize * 0.2 + 6 : Node33_1width - Node33_1fontSize * 0.2;
- Node33_1lineStart = (Node33_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node33_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33_1align === 'center') {
- Node33_1textStart = -3;
- Node33_1textWidth = Node33_1width;
- Node33_1lineStart = Node33_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node33_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33_1.setImage(GD.getTextJSON(Node33_1width, Node33_1height, false, true, false, ' '+ Node33_1fontSize + 'px "Arial"'))
- Node33_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node33_1.setWidth(Node33_1width);
- Node33_1.setHeight(Node33_1height);
- Node33_1._nodeType = 'text';
- Node33_1._disallowEvert = true;
- Node33_1.setRotation(0*Math.PI/180);
- Node33_1.a('node.width', Node33_1width);
- Node33_1.a('node.height', Node33_1height);
- Node33_1.a('node.rect', [0, 0, Node33_1width, Node33_1height]);
- Node33_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node33_1.a('node.borderwidth', 0);
- Node33_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node33_1.a('node.gradient','');
- Node33_1.a('node.gradientcolor','');
- Node33_1.a('node.text','风机矩阵');
- Node33_1.a('node.textalign','left');
- Node33_1.a('node.textvAlign','middle');
- Node33_1.a('node.textrect', [Node33_1textStart, 0, Node33_1textWidth, Node33_1height]);
- Node33_1.a('node.color','rgba(0,0,0,1)');
- Node33_1.a('node.font',' '+ Node33_1fontSize + 'px "Arial"');
- Node33_1.a('node.textvisible',false);
- Node33_1.a('node.linefeed',true);
- if (true) {
- Node33_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33_1.a('node.text') || '风机矩阵';
- var color=Node33_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node33_1width,Node33_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node33_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33_1.a('node.underlinepoints',[Node33_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node33_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node33_1fontSize + 'px "Arial"').width + 6, (Node33_1height - Node33_1fontSize) * 0.5*_ratio.ratioY + Node33_1fontSize + 2 ]);
- Node33_1.a('node.underlinevisible',false);
- Node33_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33_1);
- zoomNodeList.push({
- node: Node33_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node34_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node34_0 = new ht.Node();
- Node34_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node34_0.setSize(27*ratioX, 101*ratioY);
- Node34_0.setImage('imgimage//left_menu_over0.png');
- Node34_0.setRotation(0*Math.PI/180);
- Node34_0._zoomBy = 'Default';
- Node34_0._nodeType = 'image';
- Node34_0._disallowEvert = true;
- dataModel.add(Node34_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_1 = new ht.Node();
- var Node34_1textStart, Node34_1textWidth, Node34_1lineStart, Node34_1align = 'left', Node34_1fontSize = 18.66662*_ratio.ratioY,Node34_1width = 23*_ratio.ratioX, Node34_1height = 76*_ratio.ratioY;
- (function () {
- if (Node34_1align === 'left') {
- Node34_1textStart = Node34_1fontSize * 0.2 > 2 ? Node34_1fontSize * 0.2 - 4 : Node34_1fontSize * 0.2 - 9;
- Node34_1textWidth = Node34_1width;
- Node34_1lineStart = 1;
- } else if (Node34_1align === 'right') {
- Node34_1textStart = 0;
- Node34_1textWidth =Node34_1fontSize <= 8 ? Node34_1width + Node34_1fontSize * 0.2 + 6 : Node34_1width - Node34_1fontSize * 0.2;
- Node34_1lineStart = (Node34_1width - (ht.Default.getTextSize('风机信息', ' '+ Node34_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34_1align === 'center') {
- Node34_1textStart = -3;
- Node34_1textWidth = Node34_1width;
- Node34_1lineStart = Node34_1width - ht.Default.getTextSize('风机信息', ' '+ Node34_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34_1.setImage(GD.getTextJSON(Node34_1width, Node34_1height, false, true, false, ' '+ Node34_1fontSize + 'px "Arial"'))
- Node34_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node34_1.setWidth(Node34_1width);
- Node34_1.setHeight(Node34_1height);
- Node34_1._nodeType = 'text';
- Node34_1._disallowEvert = true;
- Node34_1.setRotation(0*Math.PI/180);
- Node34_1.a('node.width', Node34_1width);
- Node34_1.a('node.height', Node34_1height);
- Node34_1.a('node.rect', [0, 0, Node34_1width, Node34_1height]);
- Node34_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_1.a('node.borderwidth', 0);
- Node34_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_1.a('node.gradient','');
- Node34_1.a('node.gradientcolor','');
- Node34_1.a('node.text','风机信息');
- Node34_1.a('node.textalign','left');
- Node34_1.a('node.textvAlign','middle');
- Node34_1.a('node.textrect', [Node34_1textStart, 0, Node34_1textWidth, Node34_1height]);
- Node34_1.a('node.color','rgba(0,0,0,1)');
- Node34_1.a('node.font',' '+ Node34_1fontSize + 'px "Arial"');
- Node34_1.a('node.textvisible',false);
- Node34_1.a('node.linefeed',true);
- if (true) {
- Node34_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_1.a('node.text') || '风机信息';
- var color=Node34_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node34_1width,Node34_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node34_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34_1.a('node.underlinepoints',[Node34_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node34_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node34_1fontSize + 'px "Arial"').width + 6, (Node34_1height - Node34_1fontSize) * 0.5*_ratio.ratioY + Node34_1fontSize + 2 ]);
- Node34_1.a('node.underlinevisible',false);
- Node34_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_1);
- zoomNodeList.push({
- node: Node34_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node35_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node35_0 = new ht.Node();
- Node35_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node35_0.setSize(27*ratioX, 101*ratioY);
- Node35_0.setImage('imgimage//left_menu_over0.png');
- Node35_0.setRotation(0*Math.PI/180);
- Node35_0._zoomBy = 'Default';
- Node35_0._nodeType = 'image';
- Node35_0._disallowEvert = true;
- dataModel.add(Node35_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35_1 = new ht.Node();
- var Node35_1textStart, Node35_1textWidth, Node35_1lineStart, Node35_1align = 'left', Node35_1fontSize = 18.66662*_ratio.ratioY,Node35_1width = 23*_ratio.ratioX, Node35_1height = 76*_ratio.ratioY;
- (function () {
- if (Node35_1align === 'left') {
- Node35_1textStart = Node35_1fontSize * 0.2 > 2 ? Node35_1fontSize * 0.2 - 4 : Node35_1fontSize * 0.2 - 9;
- Node35_1textWidth = Node35_1width;
- Node35_1lineStart = 1;
- } else if (Node35_1align === 'right') {
- Node35_1textStart = 0;
- Node35_1textWidth =Node35_1fontSize <= 8 ? Node35_1width + Node35_1fontSize * 0.2 + 6 : Node35_1width - Node35_1fontSize * 0.2;
- Node35_1lineStart = (Node35_1width - (ht.Default.getTextSize('测风塔', ' '+ Node35_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35_1align === 'center') {
- Node35_1textStart = -3;
- Node35_1textWidth = Node35_1width;
- Node35_1lineStart = Node35_1width - ht.Default.getTextSize('测风塔', ' '+ Node35_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35_1.setImage(GD.getTextJSON(Node35_1width, Node35_1height, false, true, false, ' '+ Node35_1fontSize + 'px "Arial"'))
- Node35_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node35_1.setWidth(Node35_1width);
- Node35_1.setHeight(Node35_1height);
- Node35_1._nodeType = 'text';
- Node35_1._disallowEvert = true;
- Node35_1.setRotation(0*Math.PI/180);
- Node35_1.a('node.width', Node35_1width);
- Node35_1.a('node.height', Node35_1height);
- Node35_1.a('node.rect', [0, 0, Node35_1width, Node35_1height]);
- Node35_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node35_1.a('node.borderwidth', 0);
- Node35_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node35_1.a('node.gradient','');
- Node35_1.a('node.gradientcolor','');
- Node35_1.a('node.text','测风塔');
- Node35_1.a('node.textalign','left');
- Node35_1.a('node.textvAlign','middle');
- Node35_1.a('node.textrect', [Node35_1textStart, 0, Node35_1textWidth, Node35_1height]);
- Node35_1.a('node.color','rgba(0,0,0,1)');
- Node35_1.a('node.font',' '+ Node35_1fontSize + 'px "Arial"');
- Node35_1.a('node.textvisible',false);
- Node35_1.a('node.linefeed',true);
- if (true) {
- Node35_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node35_1.a('node.text') || '测风塔';
- var color=Node35_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node35_1width,Node35_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node35_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35_1.a('node.underlinepoints',[Node35_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node35_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node35_1fontSize + 'px "Arial"').width + 6, (Node35_1height - Node35_1fontSize) * 0.5*_ratio.ratioY + Node35_1fontSize + 2 ]);
- Node35_1.a('node.underlinevisible',false);
- Node35_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node35_1);
- zoomNodeList.push({
- node: Node35_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node36_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node36_0 = new ht.Node();
- Node36_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node36_0.setSize(27*ratioX, 101*ratioY);
- Node36_0.setImage('imgimage//left_menu_out0.png');
- Node36_0.setRotation(0*Math.PI/180);
- Node36_0._zoomBy = 'Default';
- Node36_0._nodeType = 'image';
- Node36_0._disallowEvert = true;
- dataModel.add(Node36_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_1 = new ht.Node();
- var Node36_1textStart, Node36_1textWidth, Node36_1lineStart, Node36_1align = 'left', Node36_1fontSize = 19.99995*_ratio.ratioY,Node36_1width = 23*_ratio.ratioX, Node36_1height = 76*_ratio.ratioY;
- (function () {
- if (Node36_1align === 'left') {
- Node36_1textStart = Node36_1fontSize * 0.2 > 2 ? Node36_1fontSize * 0.2 - 4 : Node36_1fontSize * 0.2 - 9;
- Node36_1textWidth = Node36_1width;
- Node36_1lineStart = 1;
- } else if (Node36_1align === 'right') {
- Node36_1textStart = 0;
- Node36_1textWidth =Node36_1fontSize <= 8 ? Node36_1width + Node36_1fontSize * 0.2 + 6 : Node36_1width - Node36_1fontSize * 0.2;
- Node36_1lineStart = (Node36_1width - (ht.Default.getTextSize('排布图', ' '+ Node36_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36_1align === 'center') {
- Node36_1textStart = -3;
- Node36_1textWidth = Node36_1width;
- Node36_1lineStart = Node36_1width - ht.Default.getTextSize('排布图', ' '+ Node36_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36_1.setImage(GD.getTextJSON(Node36_1width, Node36_1height, false, true, false, ' '+ Node36_1fontSize + 'px "Arial"'))
- Node36_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
- Node36_1.setWidth(Node36_1width);
- Node36_1.setHeight(Node36_1height);
- Node36_1._nodeType = 'text';
- Node36_1._disallowEvert = true;
- Node36_1.setRotation(0*Math.PI/180);
- Node36_1.a('node.width', Node36_1width);
- Node36_1.a('node.height', Node36_1height);
- Node36_1.a('node.rect', [0, 0, Node36_1width, Node36_1height]);
- Node36_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_1.a('node.borderwidth', 0);
- Node36_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_1.a('node.gradient','');
- Node36_1.a('node.gradientcolor','');
- Node36_1.a('node.text','排布图');
- Node36_1.a('node.textalign','left');
- Node36_1.a('node.textvAlign','middle');
- Node36_1.a('node.textrect', [Node36_1textStart, 0, Node36_1textWidth, Node36_1height]);
- Node36_1.a('node.color','rgba(0,0,0,1)');
- Node36_1.a('node.font',' '+ Node36_1fontSize + 'px "Arial"');
- Node36_1.a('node.textvisible',false);
- Node36_1.a('node.linefeed',true);
- if (true) {
- Node36_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_1.a('node.text') || '排布图';
- var color=Node36_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node36_1width,Node36_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node36_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36_1.a('node.underlinepoints',[Node36_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node36_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node36_1fontSize + 'px "Arial"').width + 6, (Node36_1height - Node36_1fontSize) * 0.5*_ratio.ratioY + Node36_1fontSize + 2 ]);
- Node36_1.a('node.underlinevisible',false);
- Node36_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_1);
- zoomNodeList.push({
- node: Node36_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node37_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node37_0 = new ht.Node();
- Node37_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node37_0.setSize(27*ratioX, 101*ratioY);
- Node37_0.setImage('imgimage//left_menu_out0.png');
- Node37_0.setRotation(0*Math.PI/180);
- Node37_0._zoomBy = 'Default';
- Node37_0._nodeType = 'image';
- Node37_0._disallowEvert = true;
- dataModel.add(Node37_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37_1 = new ht.Node();
- var Node37_1textStart, Node37_1textWidth, Node37_1lineStart, Node37_1align = 'left', Node37_1fontSize = 18.66662*_ratio.ratioY,Node37_1width = 23*_ratio.ratioX, Node37_1height = 76*_ratio.ratioY;
- (function () {
- if (Node37_1align === 'left') {
- Node37_1textStart = Node37_1fontSize * 0.2 > 2 ? Node37_1fontSize * 0.2 - 4 : Node37_1fontSize * 0.2 - 9;
- Node37_1textWidth = Node37_1width;
- Node37_1lineStart = 1;
- } else if (Node37_1align === 'right') {
- Node37_1textStart = 0;
- Node37_1textWidth =Node37_1fontSize <= 8 ? Node37_1width + Node37_1fontSize * 0.2 + 6 : Node37_1width - Node37_1fontSize * 0.2;
- Node37_1lineStart = (Node37_1width - (ht.Default.getTextSize('总貌图', ' '+ Node37_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node37_1align === 'center') {
- Node37_1textStart = -3;
- Node37_1textWidth = Node37_1width;
- Node37_1lineStart = Node37_1width - ht.Default.getTextSize('总貌图', ' '+ Node37_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node37_1.setImage(GD.getTextJSON(Node37_1width, Node37_1height, false, true, false, ' '+ Node37_1fontSize + 'px "Arial"'))
- Node37_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node37_1.setWidth(Node37_1width);
- Node37_1.setHeight(Node37_1height);
- Node37_1._nodeType = 'text';
- Node37_1._disallowEvert = true;
- Node37_1.setRotation(0*Math.PI/180);
- Node37_1.a('node.width', Node37_1width);
- Node37_1.a('node.height', Node37_1height);
- Node37_1.a('node.rect', [0, 0, Node37_1width, Node37_1height]);
- Node37_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node37_1.a('node.borderwidth', 0);
- Node37_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node37_1.a('node.gradient','');
- Node37_1.a('node.gradientcolor','');
- Node37_1.a('node.text','总貌图');
- Node37_1.a('node.textalign','left');
- Node37_1.a('node.textvAlign','middle');
- Node37_1.a('node.textrect', [Node37_1textStart, 0, Node37_1textWidth, Node37_1height]);
- Node37_1.a('node.color','rgba(0,0,0,1)');
- Node37_1.a('node.font',' '+ Node37_1fontSize + 'px "Arial"');
- Node37_1.a('node.textvisible',false);
- Node37_1.a('node.linefeed',true);
- if (true) {
- Node37_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node37_1.a('node.text') || '总貌图';
- var color=Node37_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node37_1width,Node37_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node37_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node37_1.a('node.underlinepoints',[Node37_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node37_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node37_1fontSize + 'px "Arial"').width + 6, (Node37_1height - Node37_1fontSize) * 0.5*_ratio.ratioY + Node37_1fontSize + 2 ]);
- Node37_1.a('node.underlinevisible',false);
- Node37_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node37_1);
- zoomNodeList.push({
- node: Node37_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node38_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node38_0 = new ht.Node();
- Node38_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node38_0.setSize(27*ratioX, 101*ratioY);
- Node38_0.setImage('imgimage//left_menu_out0.png');
- Node38_0.setRotation(0*Math.PI/180);
- Node38_0._zoomBy = 'Default';
- Node38_0._nodeType = 'image';
- Node38_0._disallowEvert = true;
- dataModel.add(Node38_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_1 = new ht.Node();
- var Node38_1textStart, Node38_1textWidth, Node38_1lineStart, Node38_1align = 'left', Node38_1fontSize = 18.66662*_ratio.ratioY,Node38_1width = 23*_ratio.ratioX, Node38_1height = 76*_ratio.ratioY;
- (function () {
- if (Node38_1align === 'left') {
- Node38_1textStart = Node38_1fontSize * 0.2 > 2 ? Node38_1fontSize * 0.2 - 4 : Node38_1fontSize * 0.2 - 9;
- Node38_1textWidth = Node38_1width;
- Node38_1lineStart = 1;
- } else if (Node38_1align === 'right') {
- Node38_1textStart = 0;
- Node38_1textWidth =Node38_1fontSize <= 8 ? Node38_1width + Node38_1fontSize * 0.2 + 6 : Node38_1width - Node38_1fontSize * 0.2;
- Node38_1lineStart = (Node38_1width - (ht.Default.getTextSize('升压站', ' '+ Node38_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38_1align === 'center') {
- Node38_1textStart = -3;
- Node38_1textWidth = Node38_1width;
- Node38_1lineStart = Node38_1width - ht.Default.getTextSize('升压站', ' '+ Node38_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38_1.setImage(GD.getTextJSON(Node38_1width, Node38_1height, false, true, false, ' '+ Node38_1fontSize + 'px "Arial"'))
- Node38_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node38_1.setWidth(Node38_1width);
- Node38_1.setHeight(Node38_1height);
- Node38_1._nodeType = 'text';
- Node38_1._disallowEvert = true;
- Node38_1.setRotation(0*Math.PI/180);
- Node38_1.a('node.width', Node38_1width);
- Node38_1.a('node.height', Node38_1height);
- Node38_1.a('node.rect', [0, 0, Node38_1width, Node38_1height]);
- Node38_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_1.a('node.borderwidth', 0);
- Node38_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_1.a('node.gradient','');
- Node38_1.a('node.gradientcolor','');
- Node38_1.a('node.text','升压站');
- Node38_1.a('node.textalign','left');
- Node38_1.a('node.textvAlign','middle');
- Node38_1.a('node.textrect', [Node38_1textStart, 0, Node38_1textWidth, Node38_1height]);
- Node38_1.a('node.color','rgba(0,0,0,1)');
- Node38_1.a('node.font',' '+ Node38_1fontSize + 'px "Arial"');
- Node38_1.a('node.textvisible',false);
- Node38_1.a('node.linefeed',true);
- if (true) {
- Node38_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_1.a('node.text') || '升压站';
- var color=Node38_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node38_1width,Node38_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node38_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38_1.a('node.underlinepoints',[Node38_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node38_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node38_1fontSize + 'px "Arial"').width + 6, (Node38_1height - Node38_1fontSize) * 0.5*_ratio.ratioY + Node38_1fontSize + 2 ]);
- Node38_1.a('node.underlinevisible',false);
- Node38_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_1);
- zoomNodeList.push({
- node: Node38_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node39_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node39_0 = new ht.Node();
- Node39_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node39_0.setSize(27*ratioX, 101*ratioY);
- Node39_0.setImage('imgimage//left_menu_out0.png');
- Node39_0.setRotation(0*Math.PI/180);
- Node39_0._zoomBy = 'Default';
- Node39_0._nodeType = 'image';
- Node39_0._disallowEvert = true;
- dataModel.add(Node39_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39_1 = new ht.Node();
- var Node39_1textStart, Node39_1textWidth, Node39_1lineStart, Node39_1align = 'left', Node39_1fontSize = 18.66662*_ratio.ratioY,Node39_1width = 23*_ratio.ratioX, Node39_1height = 76*_ratio.ratioY;
- (function () {
- if (Node39_1align === 'left') {
- Node39_1textStart = Node39_1fontSize * 0.2 > 2 ? Node39_1fontSize * 0.2 - 4 : Node39_1fontSize * 0.2 - 9;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = 1;
- } else if (Node39_1align === 'right') {
- Node39_1textStart = 0;
- Node39_1textWidth =Node39_1fontSize <= 8 ? Node39_1width + Node39_1fontSize * 0.2 + 6 : Node39_1width - Node39_1fontSize * 0.2;
- Node39_1lineStart = (Node39_1width - (ht.Default.getTextSize('风机信息', ' '+ Node39_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39_1align === 'center') {
- Node39_1textStart = -3;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = Node39_1width - ht.Default.getTextSize('风机信息', ' '+ Node39_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39_1.setImage(GD.getTextJSON(Node39_1width, Node39_1height, false, true, false, ' '+ Node39_1fontSize + 'px "Arial"'))
- Node39_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node39_1.setWidth(Node39_1width);
- Node39_1.setHeight(Node39_1height);
- Node39_1._nodeType = 'text';
- Node39_1._disallowEvert = true;
- Node39_1.setRotation(0*Math.PI/180);
- Node39_1.a('node.width', Node39_1width);
- Node39_1.a('node.height', Node39_1height);
- Node39_1.a('node.rect', [0, 0, Node39_1width, Node39_1height]);
- Node39_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node39_1.a('node.borderwidth', 0);
- Node39_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node39_1.a('node.gradient','');
- Node39_1.a('node.gradientcolor','');
- Node39_1.a('node.text','风机信息');
- Node39_1.a('node.textalign','left');
- Node39_1.a('node.textvAlign','middle');
- Node39_1.a('node.textrect', [Node39_1textStart, 0, Node39_1textWidth, Node39_1height]);
- Node39_1.a('node.color','rgba(0,0,0,1)');
- Node39_1.a('node.font',' '+ Node39_1fontSize + 'px "Arial"');
- Node39_1.a('node.textvisible',false);
- Node39_1.a('node.linefeed',true);
- if (true) {
- Node39_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39_1.a('node.text') || '风机信息';
- var color=Node39_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node39_1width,Node39_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node39_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39_1.a('node.underlinepoints',[Node39_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node39_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node39_1fontSize + 'px "Arial"').width + 6, (Node39_1height - Node39_1fontSize) * 0.5*_ratio.ratioY + Node39_1fontSize + 2 ]);
- Node39_1.a('node.underlinevisible',false);
- Node39_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39_1);
- zoomNodeList.push({
- node: Node39_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node40_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node40_0 = new ht.Node();
- Node40_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node40_0.setSize(27*ratioX, 101*ratioY);
- Node40_0.setImage('imgimage//left_menu_out0.png');
- Node40_0.setRotation(0*Math.PI/180);
- Node40_0._zoomBy = 'Default';
- Node40_0._nodeType = 'image';
- Node40_0._disallowEvert = true;
- dataModel.add(Node40_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_1 = new ht.Node();
- var Node40_1textStart, Node40_1textWidth, Node40_1lineStart, Node40_1align = 'left', Node40_1fontSize = 18.66662*_ratio.ratioY,Node40_1width = 23*_ratio.ratioX, Node40_1height = 76*_ratio.ratioY;
- (function () {
- if (Node40_1align === 'left') {
- Node40_1textStart = Node40_1fontSize * 0.2 > 2 ? Node40_1fontSize * 0.2 - 4 : Node40_1fontSize * 0.2 - 9;
- Node40_1textWidth = Node40_1width;
- Node40_1lineStart = 1;
- } else if (Node40_1align === 'right') {
- Node40_1textStart = 0;
- Node40_1textWidth =Node40_1fontSize <= 8 ? Node40_1width + Node40_1fontSize * 0.2 + 6 : Node40_1width - Node40_1fontSize * 0.2;
- Node40_1lineStart = (Node40_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node40_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node40_1align === 'center') {
- Node40_1textStart = -3;
- Node40_1textWidth = Node40_1width;
- Node40_1lineStart = Node40_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node40_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node40_1.setImage(GD.getTextJSON(Node40_1width, Node40_1height, false, true, false, ' '+ Node40_1fontSize + 'px "Arial"'))
- Node40_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node40_1.setWidth(Node40_1width);
- Node40_1.setHeight(Node40_1height);
- Node40_1._nodeType = 'text';
- Node40_1._disallowEvert = true;
- Node40_1.setRotation(0*Math.PI/180);
- Node40_1.a('node.width', Node40_1width);
- Node40_1.a('node.height', Node40_1height);
- Node40_1.a('node.rect', [0, 0, Node40_1width, Node40_1height]);
- Node40_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_1.a('node.borderwidth', 0);
- Node40_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_1.a('node.gradient','');
- Node40_1.a('node.gradientcolor','');
- Node40_1.a('node.text','风机矩阵');
- Node40_1.a('node.textalign','left');
- Node40_1.a('node.textvAlign','middle');
- Node40_1.a('node.textrect', [Node40_1textStart, 0, Node40_1textWidth, Node40_1height]);
- Node40_1.a('node.color','rgba(0,0,0,1)');
- Node40_1.a('node.font',' '+ Node40_1fontSize + 'px "Arial"');
- Node40_1.a('node.textvisible',false);
- Node40_1.a('node.linefeed',true);
- if (true) {
- Node40_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_1.a('node.text') || '风机矩阵';
- var color=Node40_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node40_1width,Node40_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node40_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node40_1.a('node.underlinepoints',[Node40_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node40_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node40_1fontSize + 'px "Arial"').width + 6, (Node40_1height - Node40_1fontSize) * 0.5*_ratio.ratioY + Node40_1fontSize + 2 ]);
- Node40_1.a('node.underlinevisible',false);
- Node40_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_1);
- zoomNodeList.push({
- node: Node40_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node41_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node41_0 = new ht.Node();
- Node41_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node41_0.setSize(27*ratioX, 101*ratioY);
- Node41_0.setImage('imgimage//left_menu_out0.png');
- Node41_0.setRotation(0*Math.PI/180);
- Node41_0._zoomBy = 'Default';
- Node41_0._nodeType = 'image';
- Node41_0._disallowEvert = true;
- dataModel.add(Node41_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41_1 = new ht.Node();
- var Node41_1textStart, Node41_1textWidth, Node41_1lineStart, Node41_1align = 'left', Node41_1fontSize = 18.66662*_ratio.ratioY,Node41_1width = 23*_ratio.ratioX, Node41_1height = 76*_ratio.ratioY;
- (function () {
- if (Node41_1align === 'left') {
- Node41_1textStart = Node41_1fontSize * 0.2 > 2 ? Node41_1fontSize * 0.2 - 4 : Node41_1fontSize * 0.2 - 9;
- Node41_1textWidth = Node41_1width;
- Node41_1lineStart = 1;
- } else if (Node41_1align === 'right') {
- Node41_1textStart = 0;
- Node41_1textWidth =Node41_1fontSize <= 8 ? Node41_1width + Node41_1fontSize * 0.2 + 6 : Node41_1width - Node41_1fontSize * 0.2;
- Node41_1lineStart = (Node41_1width - (ht.Default.getTextSize('测风塔', ' '+ Node41_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node41_1align === 'center') {
- Node41_1textStart = -3;
- Node41_1textWidth = Node41_1width;
- Node41_1lineStart = Node41_1width - ht.Default.getTextSize('测风塔', ' '+ Node41_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node41_1.setImage(GD.getTextJSON(Node41_1width, Node41_1height, false, true, false, ' '+ Node41_1fontSize + 'px "Arial"'))
- Node41_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node41_1.setWidth(Node41_1width);
- Node41_1.setHeight(Node41_1height);
- Node41_1._nodeType = 'text';
- Node41_1._disallowEvert = true;
- Node41_1.setRotation(0*Math.PI/180);
- Node41_1.a('node.width', Node41_1width);
- Node41_1.a('node.height', Node41_1height);
- Node41_1.a('node.rect', [0, 0, Node41_1width, Node41_1height]);
- Node41_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node41_1.a('node.borderwidth', 0);
- Node41_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node41_1.a('node.gradient','');
- Node41_1.a('node.gradientcolor','');
- Node41_1.a('node.text','测风塔');
- Node41_1.a('node.textalign','left');
- Node41_1.a('node.textvAlign','middle');
- Node41_1.a('node.textrect', [Node41_1textStart, 0, Node41_1textWidth, Node41_1height]);
- Node41_1.a('node.color','rgba(0,0,0,1)');
- Node41_1.a('node.font',' '+ Node41_1fontSize + 'px "Arial"');
- Node41_1.a('node.textvisible',false);
- Node41_1.a('node.linefeed',true);
- if (true) {
- Node41_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41_1.a('node.text') || '测风塔';
- var color=Node41_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node41_1width,Node41_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node41_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node41_1.a('node.underlinepoints',[Node41_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node41_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node41_1fontSize + 'px "Arial"').width + 6, (Node41_1height - Node41_1fontSize) * 0.5*_ratio.ratioY + Node41_1fontSize + 2 ]);
- Node41_1.a('node.underlinevisible',false);
- Node41_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41_1);
- zoomNodeList.push({
- node: Node41_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node42type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42.setPosition(1825*ratio.ratioX, 69*ratio.ratioY);
- Node42.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node42.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42.a('node.width', 127*_ratio.ratioX);
- Node42.a('node.height', 60.81538*_ratio.ratioY);
- Node42.a('node.type', Node42type);
- Node42.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node42.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node42.a('node.gradientcolor', '');
- Node42.a('node.gradient', '');
- Node42.a('node.borderwidth', Node42BorderWidth);
- Node42.a('node.color', 'rgba(128,128,128,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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node43.setPosition(1825*ratio.ratioX, 130*ratio.ratioY);
- Node43.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node43.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node43.a('node.width', 127*_ratio.ratioX);
- Node43.a('node.height', 60.81538*_ratio.ratioY);
- Node43.a('node.type', Node43type);
- Node43.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node43.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node43.a('node.gradientcolor', '');
- Node43.a('node.gradient', '');
- Node43.a('node.borderwidth', Node43BorderWidth);
- Node43.a('node.color', 'rgba(128,128,128,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(27*_ratio.ratioX, 121*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(1331*ratio.ratioX, 99*ratio.ratioY);
- Node44.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 27*_ratio.ratioX);
- Node44.a('node.height', 121*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(0,0,0,1)');
- Node44.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node44.a('node.gradient', '');
- Node44.a('node.borderwidth', Node44BorderWidth);
- Node44.a('node.color', 'rgba(0,0,255,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 Node45 = new ht.Node();
- var Node45textStart, Node45textWidth, Node45lineStart, Node45align = 'left', Node45fontSize = 11.99997*_ratio.ratioY,Node45width = 53*_ratio.ratioX, Node45height = 20*_ratio.ratioY;
- (function () {
- if (Node45align === 'left') {
- Node45textStart = Node45fontSize * 0.2 > 2 ? Node45fontSize * 0.2 - 4 : Node45fontSize * 0.2 - 9;
- Node45textWidth = Node45width;
- Node45lineStart = 1;
- } else if (Node45align === 'right') {
- Node45textStart = 0;
- Node45textWidth =Node45fontSize <= 8 ? Node45width + Node45fontSize * 0.2 + 6 : Node45width - Node45fontSize * 0.2;
- Node45lineStart = (Node45width - (ht.Default.getTextSize('风', 'bold '+ Node45fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node45align === 'center') {
- Node45textStart = -3;
- Node45textWidth = Node45width;
- Node45lineStart = Node45width - ht.Default.getTextSize('风', 'bold '+ Node45fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node45.setImage(GD.getTextJSON(Node45width, Node45height, true, false, false, 'bold '+ Node45fontSize + 'px "Arial"'))
- Node45.setPosition(1348*ratio.ratioX, 65*ratio.ratioY);
- Node45.setWidth(Node45width);
- Node45.setHeight(Node45height);
- Node45._nodeType = 'text';
- Node45._disallowEvert = true;
- Node45.setRotation(0*Math.PI/180);
- Node45.a('node.width', Node45width);
- Node45.a('node.height', Node45height);
- Node45.a('node.rect', [0, 0, Node45width, Node45height]);
- Node45.a('node.bordercolor','rgba(255,255,255,1)');
- Node45.a('node.borderwidth', 0);
- Node45.a('node.background','' || 'rgba(0,0,0,0)');
- Node45.a('node.gradient','');
- Node45.a('node.gradientcolor','');
- Node45.a('node.text','风');
- Node45.a('node.textalign','left');
- Node45.a('node.textvAlign','middle');
- Node45.a('node.textrect', [Node45textStart, 0, Node45textWidth, Node45height]);
- Node45.a('node.color','rgba(255,255,255,1)');
- Node45.a('node.font','bold '+ Node45fontSize + 'px "Arial"');
- Node45.a('node.textvisible',true);
- Node45.a('node.linefeed',false);
- if (false) {
- Node45.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node45.a('node.text') || '风';
- var color=Node45.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node45width,Node45height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node45fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node45.a('node.underlinepoints',[Node45lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node45fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node45fontSize + 'px "Arial"').width + 6, (Node45height - Node45fontSize) * 0.5*_ratio.ratioY + Node45fontSize + 2 ]);
- Node45.a('node.underlinevisible',false);
- Node45.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node45);
- zoomNodeList.push({
- node: Node45,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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(130*_ratio.ratioX, 121*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46.setPosition(1410*ratio.ratioX, 99*ratio.ratioY);
- Node46.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46.a('node.width', 130*_ratio.ratioX);
- Node46.a('node.height', 121*_ratio.ratioY);
- Node46.a('node.type', Node46type);
- Node46.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node46.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node46.a('node.gradientcolor', '');
- Node46.a('node.gradient', '');
- Node46.a('node.borderwidth', Node46BorderWidth);
- Node46.a('node.color', 'rgba(128,128,128,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 = 59*_ratio.ratioX, Node47height = 25*_ratio.ratioY;
- (function () {
- if (Node47align === 'left') {
- Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
- Node47textWidth = Node47width;
- Node47lineStart = 1;
- } else if (Node47align === 'right') {
- Node47textStart = 0;
- Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
- Node47lineStart = (Node47width - (ht.Default.getTextSize('接入', ' '+ Node47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('接入', ' '+ Node47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"'))
- Node47.setPosition(1379*ratio.ratioX, 53*ratio.ratioY);
- Node47.setWidth(Node47width);
- Node47.setHeight(Node47height);
- Node47._nodeType = 'text';
- Node47._disallowEvert = true;
- Node47.setRotation(0*Math.PI/180);
- Node47.a('node.width', Node47width);
- Node47.a('node.height', Node47height);
- Node47.a('node.rect', [0, 0, Node47width, Node47height]);
- Node47.a('node.bordercolor','rgba(105,105,105,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','');
- Node47.a('node.text','接入');
- Node47.a('node.textalign','left');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(105,105,105,1)');
- Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"');
- Node47.a('node.textvisible',true);
- Node47.a('node.linefeed',false);
- if (false) {
- Node47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47.a('node.text') || '接入';
- var color=Node47.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node47fontSize + 'px "Arial"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
- Node47.a('node.underlinevisible',false);
- Node47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47);
- zoomNodeList.push({
- node: Node47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48 = new ht.Node();
- var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'center', Node48fontSize = 26.6666*_ratio.ratioY,Node48width = 87*_ratio.ratioX, Node48height = 36*_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('0', ' '+ Node48fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node48align === 'center') {
- Node48textStart = -3;
- Node48textWidth = Node48width;
- Node48lineStart = Node48width - ht.Default.getTextSize('0', ' '+ Node48fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "Arial"'))
- Node48.setPosition(1411*ratio.ratioX, 98*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','0');
- Node48.a('node.textalign','center');
- 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 "Arial"');
- 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') || '0';
- var color=Node48.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node48width,Node48height,26.6666*_ratio.ratioY,"center",color,' '+ Node48fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node48.a('node.underlinepoints',[Node48lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node48fontSize + 'px "Arial"').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 = 'center', Node49fontSize = 14.66663*_ratio.ratioY,Node49width = 87*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('台', ' '+ Node49fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
- Node49.setPosition(1458*ratio.ratioX, 147*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(105,105,105,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','');
- Node49.a('node.text','台');
- Node49.a('node.textalign','center');
- Node49.a('node.textvAlign','middle');
- Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
- Node49.a('node.color','rgba(105,105,105,1)');
- Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '台';
- var color=Node49.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node49width,Node49height,14.66663*_ratio.ratioY,"center",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'center', Node50fontSize = 14.66663*_ratio.ratioY,Node50width = 67*_ratio.ratioX, Node50height = 26*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('台', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('台', ' '+ Node50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
- Node50.setPosition(1591*ratio.ratioX, 145*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(105,105,105,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','台');
- Node50.a('node.textalign','center');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(105,105,105,1)');
- Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '台';
- var color=Node50.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node50width,Node50height,14.66663*_ratio.ratioY,"center",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node51;
- (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');
- Node51 = new ht.Node();
- Node51.setPosition(1480*ratio.ratioX, 129*ratio.ratioY);
- Node51.setSize(9*ratioX, 60*ratioY);
- Node51.setImage('imgimage//page_list_box_left_orange.jpg');
- Node51.setRotation(0*Math.PI/180);
- Node51._zoomBy = 'Default';
- Node51._nodeType = 'image';
- Node51._disallowEvert = true;
- dataModel.add(Node51);
- })();
- _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52.setPosition(1549*ratio.ratioX, 130*ratio.ratioY);
- Node52.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node52.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node52.a('node.width', 127*_ratio.ratioX);
- Node52.a('node.height', 60.81538*_ratio.ratioY);
- Node52.a('node.type', Node52type);
- Node52.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node52.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node52.a('node.gradientcolor', '');
- Node52.a('node.gradient', '');
- Node52.a('node.borderwidth', Node52BorderWidth);
- Node52.a('node.color', 'rgba(128,128,128,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 Node53 = new ht.Node();
- var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 13.3333*_ratio.ratioY,Node53width = 47*_ratio.ratioX, Node53height = 38*_ratio.ratioY;
- (function () {
- if (Node53align === 'left') {
- Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9;
- Node53textWidth = Node53width;
- Node53lineStart = 1;
- } else if (Node53align === 'right') {
- Node53textStart = 0;
- Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2;
- Node53lineStart = (Node53width - (ht.Default.getTextSize('维护', 'bold '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node53align === 'center') {
- Node53textStart = -3;
- Node53textWidth = Node53width;
- Node53lineStart = Node53width - ht.Default.getTextSize('维护', 'bold '+ Node53fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, 'bold '+ Node53fontSize + 'px "Arial"'))
- Node53.setPosition(1511*ratio.ratioX, 112*ratio.ratioY);
- Node53.setWidth(Node53width);
- Node53.setHeight(Node53height);
- Node53._nodeType = 'text';
- Node53._disallowEvert = true;
- Node53.setRotation(0*Math.PI/180);
- Node53.a('node.width', Node53width);
- Node53.a('node.height', Node53height);
- Node53.a('node.rect', [0, 0, Node53width, Node53height]);
- Node53.a('node.bordercolor','rgba(0,0,0,1)');
- Node53.a('node.borderwidth', 0);
- Node53.a('node.background','' || 'rgba(0,0,0,0)');
- Node53.a('node.gradient','');
- Node53.a('node.gradientcolor','');
- Node53.a('node.text','维护');
- Node53.a('node.textalign','left');
- Node53.a('node.textvAlign','middle');
- Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
- Node53.a('node.color','rgba(0,0,0,1)');
- Node53.a('node.font','bold '+ Node53fontSize + 'px "Arial"');
- Node53.a('node.textvisible',true);
- Node53.a('node.linefeed',false);
- if (false) {
- Node53.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node53.a('node.text') || '维护';
- var color=Node53.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node53.a('node.underlinepoints',[Node53lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
- Node53.a('node.underlinevisible',false);
- Node53.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node53);
- zoomNodeList.push({
- node: Node53,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.Node();
- var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'left', Node54fontSize = 15.99996*_ratio.ratioY,Node54width = 29*_ratio.ratioX, Node54height = 25*_ratio.ratioY;
- (function () {
- if (Node54align === 'left') {
- Node54textStart = Node54fontSize * 0.2 > 2 ? Node54fontSize * 0.2 - 4 : Node54fontSize * 0.2 - 9;
- Node54textWidth = Node54width;
- Node54lineStart = 1;
- } else if (Node54align === 'right') {
- Node54textStart = 0;
- Node54textWidth =Node54fontSize <= 8 ? Node54width + Node54fontSize * 0.2 + 6 : Node54width - Node54fontSize * 0.2;
- Node54lineStart = (Node54width - (ht.Default.getTextSize('0', ' '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node54align === 'center') {
- Node54textStart = -3;
- Node54textWidth = Node54width;
- Node54lineStart = Node54width - ht.Default.getTextSize('0', ' '+ Node54fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, ' '+ Node54fontSize + 'px "Arial"'))
- Node54.setPosition(1512*ratio.ratioX, 144*ratio.ratioY);
- Node54.setWidth(Node54width);
- Node54.setHeight(Node54height);
- Node54._nodeType = 'text';
- Node54._disallowEvert = true;
- Node54.setRotation(0*Math.PI/180);
- Node54.a('node.width', Node54width);
- Node54.a('node.height', Node54height);
- Node54.a('node.rect', [0, 0, Node54width, Node54height]);
- Node54.a('node.bordercolor','rgba(0,0,0,1)');
- Node54.a('node.borderwidth', 0);
- Node54.a('node.background','' || 'rgba(0,0,0,0)');
- Node54.a('node.gradient','');
- Node54.a('node.gradientcolor','');
- Node54.a('node.text','0');
- Node54.a('node.textalign','left');
- Node54.a('node.textvAlign','middle');
- Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]);
- Node54.a('node.color','rgba(0,0,0,1)');
- Node54.a('node.font',' '+ Node54fontSize + 'px "Arial"');
- Node54.a('node.textvisible',true);
- Node54.a('node.linefeed',false);
- if (false) {
- Node54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node54.a('node.text') || '0';
- var color=Node54.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node54width,Node54height,15.99996*_ratio.ratioY,"left",color,' '+ Node54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node54.a('node.underlinepoints',[Node54lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node54fontSize + 'px "Arial"').width + 6, (Node54height - Node54fontSize) * 0.5*_ratio.ratioY + Node54fontSize + 2 ]);
- Node54.a('node.underlinevisible',false);
- Node54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node54);
- zoomNodeList.push({
- node: Node54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'center', Node55fontSize = 14.66663*_ratio.ratioY,Node55width = 67*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('台', ' '+ Node55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "Arial"'))
- Node55.setPosition(1729*ratio.ratioX, 85*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(105,105,105,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','');
- Node55.a('node.text','台');
- Node55.a('node.textalign','center');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(105,105,105,1)');
- Node55.a('node.font',' '+ Node55fontSize + 'px "Arial"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '台';
- var color=Node55.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node55width,Node55height,14.66663*_ratio.ratioY,"center",color,' '+ Node55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node56;
- (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');
- Node56 = new ht.Node();
- Node56.setPosition(1618*ratio.ratioX, 69*ratio.ratioY);
- Node56.setSize(9*ratioX, 60*ratioY);
- Node56.setImage('imgimage//page_list_box_left_green.jpg');
- Node56.setRotation(0*Math.PI/180);
- Node56._zoomBy = 'Default';
- Node56._nodeType = 'image';
- Node56._disallowEvert = true;
- dataModel.add(Node56);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57type = 'rect';
- var Node57 = new ht.Node(),
- Node57BorderWidth = 1*2;
- if (Node57type === 'arc') {
- Node57BorderWidth *= 1;
- }
- Node57.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node57type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node57.setPosition(1687*ratio.ratioX, 69*ratio.ratioY);
- Node57.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node57.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node57.a('node.width', 127*_ratio.ratioX);
- Node57.a('node.height', 60.81538*_ratio.ratioY);
- Node57.a('node.type', Node57type);
- Node57.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node57.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node57.a('node.gradientcolor', '');
- Node57.a('node.gradient', '');
- Node57.a('node.borderwidth', Node57BorderWidth);
- Node57.a('node.color', 'rgba(128,128,128,1)');
- Node57.a('node.fillrect', [0,0,0,0]);
- Node57.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node57.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node57.a('node.fillgradient', '');
- if (Node57type !== 'rect') {
- Node57.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node57.a('node.arcTo', parseFloat('@arcTo@'));
- Node57.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node57type === 'arc') {
- Node57.a('node.arcOval', true);
- }
- Node57.setRotation(0*Math.PI/180);
- Node57.borderWidth = Node57BorderWidth;
- Node57.borderFillwidth = Node57BorderWidth;
- dataModel.add(Node57);
- Node57._nodename = 'Node57'
- Node57._nodeType = 'rect';
- zoomNodeList.push({
- node: Node57,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node57, Node57.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 15.99996*_ratio.ratioY,Node58width = 29*_ratio.ratioX, Node58height = 25*_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('0', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('0', ' '+ Node58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
- Node58.setPosition(1650*ratio.ratioX, 84*ratio.ratioY);
- Node58.setWidth(Node58width);
- Node58.setHeight(Node58height);
- Node58._nodeType = 'text';
- Node58._disallowEvert = true;
- Node58.setRotation(0*Math.PI/180);
- Node58.a('node.width', Node58width);
- Node58.a('node.height', Node58height);
- Node58.a('node.rect', [0, 0, Node58width, Node58height]);
- Node58.a('node.bordercolor','rgba(0,0,0,1)');
- Node58.a('node.borderwidth', 0);
- Node58.a('node.background','' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','');
- Node58.a('node.text','0');
- Node58.a('node.textalign','left');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(0,0,0,1)');
- Node58.a('node.font',' '+ Node58fontSize + 'px "Arial"');
- 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') || '0';
- var color=Node58.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node58width,Node58height,15.99996*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node58fontSize + 'px "Arial"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
- Node58.a('node.underlinevisible',false);
- Node58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node58);
- zoomNodeList.push({
- node: Node58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59 = new ht.Node();
- var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'center', Node59fontSize = 14.66663*_ratio.ratioY,Node59width = 67*_ratio.ratioX, Node59height = 26*_ratio.ratioY;
- (function () {
- if (Node59align === 'left') {
- Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
- Node59textWidth = Node59width;
- Node59lineStart = 1;
- } else if (Node59align === 'right') {
- Node59textStart = 0;
- Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
- Node59lineStart = (Node59width - (ht.Default.getTextSize('台', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('台', ' '+ Node59fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"'))
- Node59.setPosition(1729*ratio.ratioX, 146*ratio.ratioY);
- Node59.setWidth(Node59width);
- Node59.setHeight(Node59height);
- Node59._nodeType = 'text';
- Node59._disallowEvert = true;
- Node59.setRotation(0*Math.PI/180);
- Node59.a('node.width', Node59width);
- Node59.a('node.height', Node59height);
- Node59.a('node.rect', [0, 0, Node59width, Node59height]);
- Node59.a('node.bordercolor','rgba(105,105,105,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','台');
- Node59.a('node.textalign','center');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(105,105,105,1)');
- Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '台';
- var color=Node59.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node59width,Node59height,14.66663*_ratio.ratioY,"center",color,' '+ Node59fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node60;
- (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');
- Node60 = new ht.Node();
- Node60.setPosition(1618*ratio.ratioX, 130*ratio.ratioY);
- Node60.setSize(9*ratioX, 60*ratioY);
- Node60.setImage('imgimage//page_list_box_left_pink.jpg');
- Node60.setRotation(0*Math.PI/180);
- Node60._zoomBy = 'Default';
- Node60._nodeType = 'image';
- Node60._disallowEvert = true;
- dataModel.add(Node60);
- })();
- _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node61type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node61.setPosition(1687*ratio.ratioX, 130*ratio.ratioY);
- Node61.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node61.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node61.a('node.width', 127*_ratio.ratioX);
- Node61.a('node.height', 60.81538*_ratio.ratioY);
- Node61.a('node.type', Node61type);
- Node61.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node61.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node61.a('node.gradientcolor', '');
- Node61.a('node.gradient', '');
- Node61.a('node.borderwidth', Node61BorderWidth);
- Node61.a('node.color', 'rgba(128,128,128,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 Node62 = new ht.Node();
- var Node62textStart, Node62textWidth, Node62lineStart, Node62align = 'left', Node62fontSize = 13.3333*_ratio.ratioY,Node62width = 47*_ratio.ratioX, Node62height = 38*_ratio.ratioY;
- (function () {
- if (Node62align === 'left') {
- Node62textStart = Node62fontSize * 0.2 > 2 ? Node62fontSize * 0.2 - 4 : Node62fontSize * 0.2 - 9;
- Node62textWidth = Node62width;
- Node62lineStart = 1;
- } else if (Node62align === 'right') {
- Node62textStart = 0;
- Node62textWidth =Node62fontSize <= 8 ? Node62width + Node62fontSize * 0.2 + 6 : Node62width - Node62fontSize * 0.2;
- Node62lineStart = (Node62width - (ht.Default.getTextSize('限电', 'bold '+ Node62fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node62align === 'center') {
- Node62textStart = -3;
- Node62textWidth = Node62width;
- Node62lineStart = Node62width - ht.Default.getTextSize('限电', 'bold '+ Node62fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node62.setImage(GD.getTextJSON(Node62width, Node62height, true, false, false, 'bold '+ Node62fontSize + 'px "Arial"'))
- Node62.setPosition(1649*ratio.ratioX, 113*ratio.ratioY);
- Node62.setWidth(Node62width);
- Node62.setHeight(Node62height);
- Node62._nodeType = 'text';
- Node62._disallowEvert = true;
- Node62.setRotation(0*Math.PI/180);
- Node62.a('node.width', Node62width);
- Node62.a('node.height', Node62height);
- Node62.a('node.rect', [0, 0, Node62width, Node62height]);
- Node62.a('node.bordercolor','rgba(0,0,0,1)');
- Node62.a('node.borderwidth', 0);
- Node62.a('node.background','' || 'rgba(0,0,0,0)');
- Node62.a('node.gradient','');
- Node62.a('node.gradientcolor','');
- Node62.a('node.text','限电');
- Node62.a('node.textalign','left');
- Node62.a('node.textvAlign','middle');
- Node62.a('node.textrect', [Node62textStart, 0, Node62textWidth, Node62height]);
- Node62.a('node.color','rgba(0,0,0,1)');
- Node62.a('node.font','bold '+ Node62fontSize + 'px "Arial"');
- Node62.a('node.textvisible',true);
- Node62.a('node.linefeed',false);
- if (false) {
- Node62.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node62.a('node.text') || '限电';
- var color=Node62.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node62width,Node62height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node62fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node62.a('node.underlinepoints',[Node62lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node62fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node62fontSize + 'px "Arial"').width + 6, (Node62height - Node62fontSize) * 0.5*_ratio.ratioY + Node62fontSize + 2 ]);
- Node62.a('node.underlinevisible',false);
- Node62.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node62);
- zoomNodeList.push({
- node: Node62,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63 = new ht.Node();
- var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 15.99996*_ratio.ratioY,Node63width = 29*_ratio.ratioX, Node63height = 25*_ratio.ratioY;
- (function () {
- if (Node63align === 'left') {
- Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9;
- Node63textWidth = Node63width;
- Node63lineStart = 1;
- } else if (Node63align === 'right') {
- Node63textStart = 0;
- Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2;
- Node63lineStart = (Node63width - (ht.Default.getTextSize('0', ' '+ Node63fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node63align === 'center') {
- Node63textStart = -3;
- Node63textWidth = Node63width;
- Node63lineStart = Node63width - ht.Default.getTextSize('0', ' '+ Node63fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "Arial"'))
- Node63.setPosition(1650*ratio.ratioX, 145*ratio.ratioY);
- Node63.setWidth(Node63width);
- Node63.setHeight(Node63height);
- Node63._nodeType = 'text';
- Node63._disallowEvert = true;
- Node63.setRotation(0*Math.PI/180);
- Node63.a('node.width', Node63width);
- Node63.a('node.height', Node63height);
- Node63.a('node.rect', [0, 0, Node63width, Node63height]);
- Node63.a('node.bordercolor','rgba(0,0,0,1)');
- Node63.a('node.borderwidth', 0);
- Node63.a('node.background','' || 'rgba(0,0,0,0)');
- Node63.a('node.gradient','');
- Node63.a('node.gradientcolor','');
- Node63.a('node.text','0');
- Node63.a('node.textalign','left');
- Node63.a('node.textvAlign','middle');
- Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]);
- Node63.a('node.color','rgba(0,0,0,1)');
- Node63.a('node.font',' '+ Node63fontSize + 'px "Arial"');
- Node63.a('node.textvisible',true);
- Node63.a('node.linefeed',false);
- if (false) {
- Node63.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node63.a('node.text') || '0';
- var color=Node63.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node63width,Node63height,15.99996*_ratio.ratioY,"left",color,' '+ Node63fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node63.a('node.underlinepoints',[Node63lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node63fontSize + 'px "Arial"').width + 6, (Node63height - Node63fontSize) * 0.5*_ratio.ratioY + Node63fontSize + 2 ]);
- Node63.a('node.underlinevisible',false);
- Node63.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node63);
- zoomNodeList.push({
- node: Node63,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64type = 'rect';
- var Node64 = new ht.Node(),
- Node64BorderWidth = 1*2;
- if (Node64type === 'arc') {
- Node64BorderWidth *= 1;
- }
- Node64.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node64type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node64.setPosition(251*ratio.ratioX, 99*ratio.ratioY);
- Node64.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node64.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node64.a('node.width', 121*_ratio.ratioX);
- Node64.a('node.height', 24.33138*_ratio.ratioY);
- Node64.a('node.type', Node64type);
- Node64.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node64.a('node.background', 'rgba(240,240,240,1)');
- Node64.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node64.a('node.gradient', '');
- Node64.a('node.borderwidth', Node64BorderWidth);
- Node64.a('node.color', 'rgba(224,224,224,1)');
- Node64.a('node.fillrect', [0,0,0,0]);
- Node64.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradient', '');
- if (Node64type !== 'rect') {
- Node64.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node64.a('node.arcTo', parseFloat('@arcTo@'));
- Node64.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node64type === 'arc') {
- Node64.a('node.arcOval', true);
- }
- Node64.setRotation(0*Math.PI/180);
- Node64.borderWidth = Node64BorderWidth;
- Node64.borderFillwidth = Node64BorderWidth;
- dataModel.add(Node64);
- Node64._nodename = 'Node64'
- Node64._nodeType = 'rect';
- zoomNodeList.push({
- node: Node64,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node64, Node64.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65type = 'rect';
- var Node65 = new ht.Node(),
- Node65BorderWidth = 1*2;
- if (Node65type === 'arc') {
- Node65BorderWidth *= 1;
- }
- Node65.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node65type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node65.setPosition(251*ratio.ratioX, 75*ratio.ratioY);
- Node65.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node65.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node65.a('node.width', 121*_ratio.ratioX);
- Node65.a('node.height', 24.33138*_ratio.ratioY);
- Node65.a('node.type', Node65type);
- Node65.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node65.a('node.background', 'rgba(240,240,240,1)');
- Node65.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node65.a('node.gradient', '');
- Node65.a('node.borderwidth', Node65BorderWidth);
- Node65.a('node.color', 'rgba(224,224,224,1)');
- Node65.a('node.fillrect', [0,0,0,0]);
- Node65.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node65.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node65.a('node.fillgradient', '');
- if (Node65type !== 'rect') {
- Node65.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node65.a('node.arcTo', parseFloat('@arcTo@'));
- Node65.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node65type === 'arc') {
- Node65.a('node.arcOval', true);
- }
- Node65.setRotation(0*Math.PI/180);
- Node65.borderWidth = Node65BorderWidth;
- Node65.borderFillwidth = Node65BorderWidth;
- dataModel.add(Node65);
- Node65._nodename = 'Node65'
- Node65._nodeType = 'rect';
- zoomNodeList.push({
- node: Node65,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node65, Node65.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66type = 'rect';
- var Node66 = new ht.Node(),
- Node66BorderWidth = 1*2;
- if (Node66type === 'arc') {
- Node66BorderWidth *= 1;
- }
- Node66.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node66.setPosition(251*ratio.ratioX, 124*ratio.ratioY);
- Node66.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node66.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node66.a('node.width', 121*_ratio.ratioX);
- Node66.a('node.height', 24.33136*_ratio.ratioY);
- Node66.a('node.type', Node66type);
- Node66.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node66.a('node.background', 'rgba(240,240,240,1)');
- Node66.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node66.a('node.gradient', '');
- Node66.a('node.borderwidth', Node66BorderWidth);
- Node66.a('node.color', 'rgba(224,224,224,1)');
- Node66.a('node.fillrect', [0,0,0,0]);
- Node66.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node66.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node66.a('node.fillgradient', '');
- if (Node66type !== 'rect') {
- Node66.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node66.a('node.arcTo', parseFloat('@arcTo@'));
- Node66.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node66type === 'arc') {
- Node66.a('node.arcOval', true);
- }
- Node66.setRotation(0*Math.PI/180);
- Node66.borderWidth = Node66BorderWidth;
- Node66.borderFillwidth = Node66BorderWidth;
- dataModel.add(Node66);
- Node66._nodename = 'Node66'
- Node66._nodeType = 'rect';
- zoomNodeList.push({
- node: Node66,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node66, Node66.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67type = 'rect';
- var Node67 = new ht.Node(),
- Node67BorderWidth = 1*2;
- if (Node67type === 'arc') {
- Node67BorderWidth *= 1;
- }
- Node67.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node67.setPosition(251*ratio.ratioX, 51*ratio.ratioY);
- Node67.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node67.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node67.a('node.width', 121*_ratio.ratioX);
- Node67.a('node.height', 24.33136*_ratio.ratioY);
- Node67.a('node.type', Node67type);
- Node67.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node67.a('node.background', 'rgba(240,240,240,1)');
- Node67.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node67.a('node.gradient', '');
- Node67.a('node.borderwidth', Node67BorderWidth);
- Node67.a('node.color', 'rgba(224,224,224,1)');
- Node67.a('node.fillrect', [0,0,0,0]);
- Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradient', '');
- if (Node67type !== 'rect') {
- Node67.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node67.a('node.arcTo', parseFloat('@arcTo@'));
- Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node67type === 'arc') {
- Node67.a('node.arcOval', true);
- }
- Node67.setRotation(0*Math.PI/180);
- Node67.borderWidth = Node67BorderWidth;
- Node67.borderFillwidth = Node67BorderWidth;
- dataModel.add(Node67);
- Node67._nodename = 'Node67'
- Node67._nodeType = 'rect';
- zoomNodeList.push({
- node: Node67,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node67, Node67.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68type = 'rect';
- var Node68 = new ht.Node(),
- Node68BorderWidth = 1*2;
- if (Node68type === 'arc') {
- Node68BorderWidth *= 1;
- }
- Node68.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node68type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node68.setPosition(251*ratio.ratioX, 148*ratio.ratioY);
- Node68.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node68.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node68.a('node.width', 121*_ratio.ratioX);
- Node68.a('node.height', 24.33138*_ratio.ratioY);
- Node68.a('node.type', Node68type);
- Node68.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node68.a('node.background', 'rgba(240,240,240,1)');
- Node68.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node68.a('node.gradient', '');
- Node68.a('node.borderwidth', Node68BorderWidth);
- Node68.a('node.color', 'rgba(224,224,224,1)');
- Node68.a('node.fillrect', [0,0,0,0]);
- Node68.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradient', '');
- if (Node68type !== 'rect') {
- Node68.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node68.a('node.arcTo', parseFloat('@arcTo@'));
- Node68.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node68type === 'arc') {
- Node68.a('node.arcOval', true);
- }
- Node68.setRotation(0*Math.PI/180);
- Node68.borderWidth = Node68BorderWidth;
- Node68.borderFillwidth = Node68BorderWidth;
- dataModel.add(Node68);
- Node68._nodename = 'Node68'
- Node68._nodeType = 'rect';
- zoomNodeList.push({
- node: Node68,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node68, Node68.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69 = new ht.Node();
- var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 61*_ratio.ratioX, Node69height = 26*_ratio.ratioY;
- (function () {
- if (Node69align === 'left') {
- Node69textStart = Node69fontSize * 0.2 > 2 ? Node69fontSize * 0.2 - 4 : Node69fontSize * 0.2 - 9;
- Node69textWidth = Node69width;
- Node69lineStart = 1;
- } else if (Node69align === 'right') {
- Node69textStart = 0;
- Node69textWidth =Node69fontSize <= 8 ? Node69width + Node69fontSize * 0.2 + 6 : Node69width - Node69fontSize * 0.2;
- Node69lineStart = (Node69width - (ht.Default.getTextSize('功率', ' '+ Node69fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node69align === 'center') {
- Node69textStart = -3;
- Node69textWidth = Node69width;
- Node69lineStart = Node69width - ht.Default.getTextSize('功率', ' '+ Node69fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "微软雅黑"'))
- Node69.setPosition(225*ratio.ratioX, 77*ratio.ratioY);
- Node69.setWidth(Node69width);
- Node69.setHeight(Node69height);
- Node69._nodeType = 'text';
- Node69._disallowEvert = true;
- Node69.setRotation(0*Math.PI/180);
- Node69.a('node.width', Node69width);
- Node69.a('node.height', Node69height);
- Node69.a('node.rect', [0, 0, Node69width, Node69height]);
- Node69.a('node.bordercolor','rgba(0,0,0,1)');
- Node69.a('node.borderwidth', 0);
- Node69.a('node.background','' || 'rgba(0,0,0,0)');
- Node69.a('node.gradient','');
- Node69.a('node.gradientcolor','');
- Node69.a('node.text','功率');
- Node69.a('node.textalign','left');
- Node69.a('node.textvAlign','middle');
- Node69.a('node.textrect', [Node69textStart, 0, Node69textWidth, Node69height]);
- Node69.a('node.color','rgba(0,0,0,1)');
- Node69.a('node.font',' '+ Node69fontSize + 'px "微软雅黑"');
- Node69.a('node.textvisible',true);
- Node69.a('node.linefeed',false);
- if (false) {
- Node69.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node69.a('node.text') || '功率';
- var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node69.a('node.underlinepoints',[Node69lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node69fontSize + 'px "微软雅黑"').width + 6, (Node69height - Node69fontSize) * 0.5*_ratio.ratioY + Node69fontSize + 2 ]);
- Node69.a('node.underlinevisible',false);
- Node69.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node69);
- zoomNodeList.push({
- node: Node69,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70 = new ht.Node();
- var Node70textStart, Node70textWidth, Node70lineStart, Node70align = 'left', Node70fontSize = 13.3333*_ratio.ratioY,Node70width = 61*_ratio.ratioX, Node70height = 26*_ratio.ratioY;
- (function () {
- if (Node70align === 'left') {
- Node70textStart = Node70fontSize * 0.2 > 2 ? Node70fontSize * 0.2 - 4 : Node70fontSize * 0.2 - 9;
- Node70textWidth = Node70width;
- Node70lineStart = 1;
- } else if (Node70align === 'right') {
- Node70textStart = 0;
- Node70textWidth =Node70fontSize <= 8 ? Node70width + Node70fontSize * 0.2 + 6 : Node70width - Node70fontSize * 0.2;
- Node70lineStart = (Node70width - (ht.Default.getTextSize('风速', ' '+ Node70fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node70align === 'center') {
- Node70textStart = -3;
- Node70textWidth = Node70width;
- Node70lineStart = Node70width - ht.Default.getTextSize('风速', ' '+ Node70fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "微软雅黑"'))
- Node70.setPosition(225*ratio.ratioX, 101*ratio.ratioY);
- Node70.setWidth(Node70width);
- Node70.setHeight(Node70height);
- Node70._nodeType = 'text';
- Node70._disallowEvert = true;
- Node70.setRotation(0*Math.PI/180);
- Node70.a('node.width', Node70width);
- Node70.a('node.height', Node70height);
- Node70.a('node.rect', [0, 0, Node70width, Node70height]);
- Node70.a('node.bordercolor','rgba(0,0,0,1)');
- Node70.a('node.borderwidth', 0);
- Node70.a('node.background','' || 'rgba(0,0,0,0)');
- Node70.a('node.gradient','');
- Node70.a('node.gradientcolor','');
- Node70.a('node.text','风速');
- Node70.a('node.textalign','left');
- Node70.a('node.textvAlign','middle');
- Node70.a('node.textrect', [Node70textStart, 0, Node70textWidth, Node70height]);
- Node70.a('node.color','rgba(0,0,0,1)');
- Node70.a('node.font',' '+ Node70fontSize + 'px "微软雅黑"');
- Node70.a('node.textvisible',true);
- Node70.a('node.linefeed',false);
- if (false) {
- Node70.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node70.a('node.text') || '风速';
- var color=Node70.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node70width,Node70height,13.3333*_ratio.ratioY,"left",color,' '+ Node70fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node70.a('node.underlinepoints',[Node70lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node70fontSize + 'px "微软雅黑"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
- Node70.a('node.underlinevisible',false);
- Node70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node70);
- zoomNodeList.push({
- node: Node70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 77*_ratio.ratioX, Node71height = 26*_ratio.ratioY;
- (function () {
- if (Node71align === 'left') {
- Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
- Node71textWidth = Node71width;
- Node71lineStart = 1;
- } else if (Node71align === 'right') {
- Node71textStart = 0;
- Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
- Node71lineStart = (Node71width - (ht.Default.getTextSize('发电量', ' '+ Node71fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('发电量', ' '+ Node71fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "微软雅黑"'))
- Node71.setPosition(231*ratio.ratioX, 126*ratio.ratioY);
- Node71.setWidth(Node71width);
- Node71.setHeight(Node71height);
- Node71._nodeType = 'text';
- Node71._disallowEvert = true;
- Node71.setRotation(0*Math.PI/180);
- Node71.a('node.width', Node71width);
- Node71.a('node.height', Node71height);
- Node71.a('node.rect', [0, 0, Node71width, Node71height]);
- Node71.a('node.bordercolor','rgba(0,0,0,1)');
- Node71.a('node.borderwidth', 0);
- Node71.a('node.background','' || 'rgba(0,0,0,0)');
- Node71.a('node.gradient','');
- Node71.a('node.gradientcolor','');
- Node71.a('node.text','发电量');
- Node71.a('node.textalign','left');
- Node71.a('node.textvAlign','middle');
- Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
- Node71.a('node.color','rgba(0,0,0,1)');
- Node71.a('node.font',' '+ Node71fontSize + 'px "微软雅黑"');
- Node71.a('node.textvisible',true);
- Node71.a('node.linefeed',false);
- if (false) {
- Node71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node71.a('node.text') || '发电量';
- var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node71fontSize + 'px "微软雅黑"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
- Node71.a('node.underlinevisible',false);
- Node71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node71);
- zoomNodeList.push({
- node: Node71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72type = 'rect';
- var Node72 = new ht.Node(),
- Node72BorderWidth = 1*2;
- if (Node72type === 'arc') {
- Node72BorderWidth *= 1;
- }
- Node72.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node72type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node72.setPosition(535*ratio.ratioX, 99*ratio.ratioY);
- Node72.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node72.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node72.a('node.width', 121*_ratio.ratioX);
- Node72.a('node.height', 24.33138*_ratio.ratioY);
- Node72.a('node.type', Node72type);
- Node72.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node72.a('node.background', 'rgba(240,240,240,1)');
- Node72.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node72.a('node.gradient', '');
- Node72.a('node.borderwidth', Node72BorderWidth);
- Node72.a('node.color', 'rgba(224,224,224,1)');
- Node72.a('node.fillrect', [0,0,0,0]);
- Node72.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node72.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node72.a('node.fillgradient', '');
- if (Node72type !== 'rect') {
- Node72.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node72.a('node.arcTo', parseFloat('@arcTo@'));
- Node72.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node72type === 'arc') {
- Node72.a('node.arcOval', true);
- }
- Node72.setRotation(0*Math.PI/180);
- Node72.borderWidth = Node72BorderWidth;
- Node72.borderFillwidth = Node72BorderWidth;
- dataModel.add(Node72);
- Node72._nodename = 'Node72'
- Node72._nodeType = 'rect';
- zoomNodeList.push({
- node: Node72,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node72, Node72.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73type = 'rect';
- var Node73 = new ht.Node(),
- Node73BorderWidth = 1*2;
- if (Node73type === 'arc') {
- Node73BorderWidth *= 1;
- }
- Node73.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node73type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node73.setPosition(535*ratio.ratioX, 75*ratio.ratioY);
- Node73.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node73.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node73.a('node.width', 121*_ratio.ratioX);
- Node73.a('node.height', 24.33138*_ratio.ratioY);
- Node73.a('node.type', Node73type);
- Node73.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node73.a('node.background', 'rgba(240,240,240,1)');
- Node73.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node73.a('node.gradient', '');
- Node73.a('node.borderwidth', Node73BorderWidth);
- Node73.a('node.color', 'rgba(224,224,224,1)');
- Node73.a('node.fillrect', [0,0,0,0]);
- Node73.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node73.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node73.a('node.fillgradient', '');
- if (Node73type !== 'rect') {
- Node73.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node73.a('node.arcTo', parseFloat('@arcTo@'));
- Node73.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node73type === 'arc') {
- Node73.a('node.arcOval', true);
- }
- Node73.setRotation(0*Math.PI/180);
- Node73.borderWidth = Node73BorderWidth;
- Node73.borderFillwidth = Node73BorderWidth;
- dataModel.add(Node73);
- Node73._nodename = 'Node73'
- Node73._nodeType = 'rect';
- zoomNodeList.push({
- node: Node73,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node73, Node73.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74type = 'rect';
- var Node74 = new ht.Node(),
- Node74BorderWidth = 1*2;
- if (Node74type === 'arc') {
- Node74BorderWidth *= 1;
- }
- Node74.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node74type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node74.setPosition(535*ratio.ratioX, 124*ratio.ratioY);
- Node74.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node74.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node74.a('node.width', 121*_ratio.ratioX);
- Node74.a('node.height', 24.33136*_ratio.ratioY);
- Node74.a('node.type', Node74type);
- Node74.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node74.a('node.background', 'rgba(240,240,240,1)');
- Node74.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node74.a('node.gradient', '');
- Node74.a('node.borderwidth', Node74BorderWidth);
- Node74.a('node.color', 'rgba(224,224,224,1)');
- Node74.a('node.fillrect', [0,0,0,0]);
- Node74.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradient', '');
- if (Node74type !== 'rect') {
- Node74.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node74.a('node.arcTo', parseFloat('@arcTo@'));
- Node74.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node74type === 'arc') {
- Node74.a('node.arcOval', true);
- }
- Node74.setRotation(0*Math.PI/180);
- Node74.borderWidth = Node74BorderWidth;
- Node74.borderFillwidth = Node74BorderWidth;
- dataModel.add(Node74);
- Node74._nodename = 'Node74'
- Node74._nodeType = 'rect';
- zoomNodeList.push({
- node: Node74,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node74, Node74.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75type = 'rect';
- var Node75 = new ht.Node(),
- Node75BorderWidth = 1*2;
- if (Node75type === 'arc') {
- Node75BorderWidth *= 1;
- }
- Node75.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node75type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node75.setPosition(535*ratio.ratioX, 51*ratio.ratioY);
- Node75.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node75.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node75.a('node.width', 121*_ratio.ratioX);
- Node75.a('node.height', 24.33136*_ratio.ratioY);
- Node75.a('node.type', Node75type);
- Node75.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node75.a('node.background', 'rgba(240,240,240,1)');
- Node75.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node75.a('node.gradient', '');
- Node75.a('node.borderwidth', Node75BorderWidth);
- Node75.a('node.color', 'rgba(224,224,224,1)');
- Node75.a('node.fillrect', [0,0,0,0]);
- Node75.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradient', '');
- if (Node75type !== 'rect') {
- Node75.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node75.a('node.arcTo', parseFloat('@arcTo@'));
- Node75.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node75type === 'arc') {
- Node75.a('node.arcOval', true);
- }
- Node75.setRotation(0*Math.PI/180);
- Node75.borderWidth = Node75BorderWidth;
- Node75.borderFillwidth = Node75BorderWidth;
- dataModel.add(Node75);
- Node75._nodename = 'Node75'
- Node75._nodeType = 'rect';
- zoomNodeList.push({
- node: Node75,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node75, Node75.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76type = 'rect';
- var Node76 = new ht.Node(),
- Node76BorderWidth = 1*2;
- if (Node76type === 'arc') {
- Node76BorderWidth *= 1;
- }
- Node76.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node76type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node76.setPosition(535*ratio.ratioX, 148*ratio.ratioY);
- Node76.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node76.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node76.a('node.width', 121*_ratio.ratioX);
- Node76.a('node.height', 24.33138*_ratio.ratioY);
- Node76.a('node.type', Node76type);
- Node76.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node76.a('node.background', 'rgba(240,240,240,1)');
- Node76.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node76.a('node.gradient', '');
- Node76.a('node.borderwidth', Node76BorderWidth);
- Node76.a('node.color', 'rgba(224,224,224,1)');
- Node76.a('node.fillrect', [0,0,0,0]);
- Node76.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradient', '');
- if (Node76type !== 'rect') {
- Node76.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node76.a('node.arcTo', parseFloat('@arcTo@'));
- Node76.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node76type === 'arc') {
- Node76.a('node.arcOval', true);
- }
- Node76.setRotation(0*Math.PI/180);
- Node76.borderWidth = Node76BorderWidth;
- Node76.borderFillwidth = Node76BorderWidth;
- dataModel.add(Node76);
- Node76._nodename = 'Node76'
- Node76._nodeType = 'rect';
- zoomNodeList.push({
- node: Node76,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node76, Node76.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.Node();
- var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'center', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 113*_ratio.ratioX, Node77height = 26*_ratio.ratioY;
- (function () {
- if (Node77align === 'left') {
- Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
- Node77textWidth = Node77width;
- Node77lineStart = 1;
- } else if (Node77align === 'right') {
- Node77textStart = 0;
- Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
- Node77lineStart = (Node77width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('日维护损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "微软雅黑"'))
- Node77.setPosition(535*ratio.ratioX, 53*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node77.a('node.gradient','');
- Node77.a('node.gradientcolor','rgba(255,255,255,0)');
- Node77.a('node.text','日维护损失电量');
- Node77.a('node.textalign','center');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(0,0,0,1)');
- Node77.a('node.font',' '+ Node77fontSize + 'px "微软雅黑"');
- Node77.a('node.textvisible',true);
- Node77.a('node.linefeed',false);
- if (false) {
- Node77.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node77.a('node.text') || '日维护损失电量';
- var color=Node77.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"center",color,' '+ Node77fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node77fontSize + 'px "微软雅黑"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
- Node77.a('node.underlinevisible',false);
- Node77.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node77);
- zoomNodeList.push({
- node: Node77,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node78 = new ht.Node();
- var Node78textStart, Node78textWidth, Node78lineStart, Node78align = 'center', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 113*_ratio.ratioX, Node78height = 26*_ratio.ratioY;
- (function () {
- if (Node78align === 'left') {
- Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9;
- Node78textWidth = Node78width;
- Node78lineStart = 1;
- } else if (Node78align === 'right') {
- Node78textStart = 0;
- Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2;
- Node78lineStart = (Node78width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node78fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node78align === 'center') {
- Node78textStart = -3;
- Node78textWidth = Node78width;
- Node78lineStart = Node78width - ht.Default.getTextSize('日故障损失电量', ' '+ Node78fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, ' '+ Node78fontSize + 'px "微软雅黑"'))
- Node78.setPosition(536*ratio.ratioX, 77*ratio.ratioY);
- Node78.setWidth(Node78width);
- Node78.setHeight(Node78height);
- Node78._nodeType = 'text';
- Node78._disallowEvert = true;
- Node78.setRotation(0*Math.PI/180);
- Node78.a('node.width', Node78width);
- Node78.a('node.height', Node78height);
- Node78.a('node.rect', [0, 0, Node78width, Node78height]);
- Node78.a('node.bordercolor','rgba(0,0,0,1)');
- Node78.a('node.borderwidth', 0);
- Node78.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node78.a('node.gradient','');
- Node78.a('node.gradientcolor','rgba(255,255,255,0)');
- Node78.a('node.text','日故障损失电量');
- Node78.a('node.textalign','center');
- Node78.a('node.textvAlign','middle');
- Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]);
- Node78.a('node.color','rgba(0,0,0,1)');
- Node78.a('node.font',' '+ Node78fontSize + 'px "微软雅黑"');
- Node78.a('node.textvisible',true);
- Node78.a('node.linefeed',false);
- if (false) {
- Node78.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node78.a('node.text') || '日故障损失电量';
- var color=Node78.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"center",color,' '+ Node78fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node78.a('node.underlinepoints',[Node78lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node78fontSize + 'px "微软雅黑"').width + 6, (Node78height - Node78fontSize) * 0.5*_ratio.ratioY + Node78fontSize + 2 ]);
- Node78.a('node.underlinevisible',false);
- Node78.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node78);
- zoomNodeList.push({
- node: Node78,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79 = new ht.Node();
- var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'center', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 113*_ratio.ratioX, Node79height = 26*_ratio.ratioY;
- (function () {
- if (Node79align === 'left') {
- Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9;
- Node79textWidth = Node79width;
- Node79lineStart = 1;
- } else if (Node79align === 'right') {
- Node79textStart = 0;
- Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2;
- Node79lineStart = (Node79width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('日限电损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "微软雅黑"'))
- Node79.setPosition(536*ratio.ratioX, 102*ratio.ratioY);
- Node79.setWidth(Node79width);
- Node79.setHeight(Node79height);
- Node79._nodeType = 'text';
- Node79._disallowEvert = true;
- Node79.setRotation(0*Math.PI/180);
- Node79.a('node.width', Node79width);
- Node79.a('node.height', Node79height);
- Node79.a('node.rect', [0, 0, Node79width, Node79height]);
- Node79.a('node.bordercolor','rgba(0,0,0,1)');
- Node79.a('node.borderwidth', 0);
- Node79.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node79.a('node.gradient','');
- Node79.a('node.gradientcolor','rgba(255,255,255,0)');
- Node79.a('node.text','日限电损失电量');
- Node79.a('node.textalign','center');
- Node79.a('node.textvAlign','middle');
- Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
- Node79.a('node.color','rgba(0,0,0,1)');
- Node79.a('node.font',' '+ Node79fontSize + 'px "微软雅黑"');
- Node79.a('node.textvisible',true);
- Node79.a('node.linefeed',false);
- if (false) {
- Node79.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node79.a('node.text') || '日限电损失电量';
- var color=Node79.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"center",color,' '+ Node79fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node79fontSize + 'px "微软雅黑"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]);
- Node79.a('node.underlinevisible',false);
- Node79.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node79);
- zoomNodeList.push({
- node: Node79,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80 = new ht.Node();
- var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'center', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 113*_ratio.ratioX, Node80height = 26*_ratio.ratioY;
- (function () {
- if (Node80align === 'left') {
- Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
- Node80textWidth = Node80width;
- Node80lineStart = 1;
- } else if (Node80align === 'right') {
- Node80textStart = 0;
- Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
- Node80lineStart = (Node80width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('日受累损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "微软雅黑"'))
- Node80.setPosition(536*ratio.ratioX, 126*ratio.ratioY);
- Node80.setWidth(Node80width);
- Node80.setHeight(Node80height);
- Node80._nodeType = 'text';
- Node80._disallowEvert = true;
- Node80.setRotation(0*Math.PI/180);
- Node80.a('node.width', Node80width);
- Node80.a('node.height', Node80height);
- Node80.a('node.rect', [0, 0, Node80width, Node80height]);
- Node80.a('node.bordercolor','rgba(0,0,0,1)');
- Node80.a('node.borderwidth', 0);
- Node80.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','rgba(255,255,255,0)');
- Node80.a('node.text','日受累损失电量');
- Node80.a('node.textalign','center');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(0,0,0,1)');
- Node80.a('node.font',' '+ Node80fontSize + 'px "微软雅黑"');
- Node80.a('node.textvisible',true);
- Node80.a('node.linefeed',false);
- if (false) {
- Node80.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node80.a('node.text') || '日受累损失电量';
- var color=Node80.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"center",color,' '+ Node80fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node80fontSize + 'px "微软雅黑"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
- Node80.a('node.underlinevisible',false);
- Node80.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node80);
- zoomNodeList.push({
- node: Node80,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81type = 'rect';
- var Node81 = new ht.Node(),
- Node81BorderWidth = 1*2;
- if (Node81type === 'arc') {
- Node81BorderWidth *= 1;
- }
- Node81.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node81type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node81.setPosition(816*ratio.ratioX, 99*ratio.ratioY);
- Node81.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node81.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node81.a('node.width', 117*_ratio.ratioX);
- Node81.a('node.height', 24.33138*_ratio.ratioY);
- Node81.a('node.type', Node81type);
- Node81.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node81.a('node.background', 'rgba(240,240,240,1)');
- Node81.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node81.a('node.gradient', '');
- Node81.a('node.borderwidth', Node81BorderWidth);
- Node81.a('node.color', 'rgba(224,224,224,1)');
- Node81.a('node.fillrect', [0,0,0,0]);
- Node81.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node81.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node81.a('node.fillgradient', '');
- if (Node81type !== 'rect') {
- Node81.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node81.a('node.arcTo', parseFloat('@arcTo@'));
- Node81.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node81type === 'arc') {
- Node81.a('node.arcOval', true);
- }
- Node81.setRotation(0*Math.PI/180);
- Node81.borderWidth = Node81BorderWidth;
- Node81.borderFillwidth = Node81BorderWidth;
- dataModel.add(Node81);
- Node81._nodename = 'Node81'
- Node81._nodeType = 'rect';
- zoomNodeList.push({
- node: Node81,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node81, Node81.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82type = 'rect';
- var Node82 = new ht.Node(),
- Node82BorderWidth = 1*2;
- if (Node82type === 'arc') {
- Node82BorderWidth *= 1;
- }
- Node82.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node82type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node82.setPosition(816*ratio.ratioX, 75*ratio.ratioY);
- Node82.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node82.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node82.a('node.width', 117*_ratio.ratioX);
- Node82.a('node.height', 24.33138*_ratio.ratioY);
- Node82.a('node.type', Node82type);
- Node82.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node82.a('node.background', 'rgba(240,240,240,1)');
- Node82.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node82.a('node.gradient', '');
- Node82.a('node.borderwidth', Node82BorderWidth);
- Node82.a('node.color', 'rgba(224,224,224,1)');
- Node82.a('node.fillrect', [0,0,0,0]);
- Node82.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradient', '');
- if (Node82type !== 'rect') {
- Node82.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node82.a('node.arcTo', parseFloat('@arcTo@'));
- Node82.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node82type === 'arc') {
- Node82.a('node.arcOval', true);
- }
- Node82.setRotation(0*Math.PI/180);
- Node82.borderWidth = Node82BorderWidth;
- Node82.borderFillwidth = Node82BorderWidth;
- dataModel.add(Node82);
- Node82._nodename = 'Node82'
- Node82._nodeType = 'rect';
- zoomNodeList.push({
- node: Node82,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node82, Node82.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83type = 'rect';
- var Node83 = new ht.Node(),
- Node83BorderWidth = 1*2;
- if (Node83type === 'arc') {
- Node83BorderWidth *= 1;
- }
- Node83.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node83.setPosition(816*ratio.ratioX, 124*ratio.ratioY);
- Node83.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node83.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node83.a('node.width', 117*_ratio.ratioX);
- Node83.a('node.height', 24.33136*_ratio.ratioY);
- Node83.a('node.type', Node83type);
- Node83.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node83.a('node.background', 'rgba(240,240,240,1)');
- Node83.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node83.a('node.gradient', '');
- Node83.a('node.borderwidth', Node83BorderWidth);
- Node83.a('node.color', 'rgba(224,224,224,1)');
- Node83.a('node.fillrect', [0,0,0,0]);
- Node83.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradient', '');
- if (Node83type !== 'rect') {
- Node83.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node83.a('node.arcTo', parseFloat('@arcTo@'));
- Node83.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node83type === 'arc') {
- Node83.a('node.arcOval', true);
- }
- Node83.setRotation(0*Math.PI/180);
- Node83.borderWidth = Node83BorderWidth;
- Node83.borderFillwidth = Node83BorderWidth;
- dataModel.add(Node83);
- Node83._nodename = 'Node83'
- Node83._nodeType = 'rect';
- zoomNodeList.push({
- node: Node83,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node83, Node83.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84type = 'rect';
- var Node84 = new ht.Node(),
- Node84BorderWidth = 1*2;
- if (Node84type === 'arc') {
- Node84BorderWidth *= 1;
- }
- Node84.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node84type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node84.setPosition(816*ratio.ratioX, 51*ratio.ratioY);
- Node84.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node84.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node84.a('node.width', 117*_ratio.ratioX);
- Node84.a('node.height', 24.33136*_ratio.ratioY);
- Node84.a('node.type', Node84type);
- Node84.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node84.a('node.background', 'rgba(240,240,240,1)');
- Node84.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node84.a('node.gradient', '');
- Node84.a('node.borderwidth', Node84BorderWidth);
- Node84.a('node.color', 'rgba(224,224,224,1)');
- Node84.a('node.fillrect', [0,0,0,0]);
- Node84.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradient', '');
- if (Node84type !== 'rect') {
- Node84.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node84.a('node.arcTo', parseFloat('@arcTo@'));
- Node84.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node84type === 'arc') {
- Node84.a('node.arcOval', true);
- }
- Node84.setRotation(0*Math.PI/180);
- Node84.borderWidth = Node84BorderWidth;
- Node84.borderFillwidth = Node84BorderWidth;
- dataModel.add(Node84);
- Node84._nodename = 'Node84'
- Node84._nodeType = 'rect';
- zoomNodeList.push({
- node: Node84,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node84, Node84.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85type = 'rect';
- var Node85 = new ht.Node(),
- Node85BorderWidth = 1*2;
- if (Node85type === 'arc') {
- Node85BorderWidth *= 1;
- }
- Node85.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node85type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node85.setPosition(816*ratio.ratioX, 148*ratio.ratioY);
- Node85.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node85.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node85.a('node.width', 117*_ratio.ratioX);
- Node85.a('node.height', 24.33138*_ratio.ratioY);
- Node85.a('node.type', Node85type);
- Node85.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node85.a('node.background', 'rgba(240,240,240,1)');
- Node85.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node85.a('node.gradient', '');
- Node85.a('node.borderwidth', Node85BorderWidth);
- Node85.a('node.color', 'rgba(224,224,224,1)');
- Node85.a('node.fillrect', [0,0,0,0]);
- Node85.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradient', '');
- if (Node85type !== 'rect') {
- Node85.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node85.a('node.arcTo', parseFloat('@arcTo@'));
- Node85.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node85type === 'arc') {
- Node85.a('node.arcOval', true);
- }
- Node85.setRotation(0*Math.PI/180);
- Node85.borderWidth = Node85BorderWidth;
- Node85.borderFillwidth = Node85BorderWidth;
- dataModel.add(Node85);
- Node85._nodename = 'Node85'
- Node85._nodeType = 'rect';
- zoomNodeList.push({
- node: Node85,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node85, Node85.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'center', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 110*_ratio.ratioX, Node86height = 26*_ratio.ratioY;
- (function () {
- if (Node86align === 'left') {
- Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
- Node86textWidth = Node86width;
- Node86lineStart = 1;
- } else if (Node86align === 'right') {
- Node86textStart = 0;
- Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
- Node86lineStart = (Node86width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node86fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('月维护损失电量', ' '+ Node86fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "微软雅黑"'))
- Node86.setPosition(816*ratio.ratioX, 53*ratio.ratioY);
- Node86.setWidth(Node86width);
- Node86.setHeight(Node86height);
- Node86._nodeType = 'text';
- Node86._disallowEvert = true;
- Node86.setRotation(0*Math.PI/180);
- Node86.a('node.width', Node86width);
- Node86.a('node.height', Node86height);
- Node86.a('node.rect', [0, 0, Node86width, Node86height]);
- Node86.a('node.bordercolor','rgba(0,0,0,1)');
- Node86.a('node.borderwidth', 0);
- Node86.a('node.background','' || 'rgba(0,0,0,0)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','');
- Node86.a('node.text','月维护损失电量');
- Node86.a('node.textalign','center');
- Node86.a('node.textvAlign','middle');
- Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
- Node86.a('node.color','rgba(0,0,0,1)');
- Node86.a('node.font',' '+ Node86fontSize + 'px "微软雅黑"');
- Node86.a('node.textvisible',true);
- Node86.a('node.linefeed',false);
- if (false) {
- Node86.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node86.a('node.text') || '月维护损失电量';
- var color=Node86.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"center",color,' '+ Node86fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node86fontSize + 'px "微软雅黑"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
- Node86.a('node.underlinevisible',false);
- Node86.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node86);
- zoomNodeList.push({
- node: Node86,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.Node();
- var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'center', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 110*_ratio.ratioX, Node87height = 26*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node87fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('月故障损失电量', ' '+ Node87fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "微软雅黑"'))
- Node87.setPosition(816*ratio.ratioX, 77*ratio.ratioY);
- Node87.setWidth(Node87width);
- Node87.setHeight(Node87height);
- Node87._nodeType = 'text';
- Node87._disallowEvert = true;
- Node87.setRotation(0*Math.PI/180);
- Node87.a('node.width', Node87width);
- Node87.a('node.height', Node87height);
- Node87.a('node.rect', [0, 0, Node87width, Node87height]);
- Node87.a('node.bordercolor','rgba(0,0,0,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','月故障损失电量');
- Node87.a('node.textalign','center');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(0,0,0,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "微软雅黑"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || '月故障损失电量';
- var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"center",color,' '+ Node87fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node87fontSize + 'px "微软雅黑"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
- Node87.a('node.underlinevisible',false);
- Node87.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node87);
- zoomNodeList.push({
- node: Node87,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'center', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 110*_ratio.ratioX, Node88height = 26*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('月限电损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "微软雅黑"'))
- Node88.setPosition(816*ratio.ratioX, 102*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(0,0,0,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','月限电损失电量');
- Node88.a('node.textalign','center');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(0,0,0,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "微软雅黑"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || '月限电损失电量';
- var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"center",color,' '+ Node88fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.Node();
- var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'center', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 110*_ratio.ratioX, Node89height = 26*_ratio.ratioY;
- (function () {
- if (Node89align === 'left') {
- Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
- Node89textWidth = Node89width;
- Node89lineStart = 1;
- } else if (Node89align === 'right') {
- Node89textStart = 0;
- Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
- Node89lineStart = (Node89width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node89align === 'center') {
- Node89textStart = -3;
- Node89textWidth = Node89width;
- Node89lineStart = Node89width - ht.Default.getTextSize('月受累损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "微软雅黑"'))
- Node89.setPosition(816*ratio.ratioX, 126*ratio.ratioY);
- Node89.setWidth(Node89width);
- Node89.setHeight(Node89height);
- Node89._nodeType = 'text';
- Node89._disallowEvert = true;
- Node89.setRotation(0*Math.PI/180);
- Node89.a('node.width', Node89width);
- Node89.a('node.height', Node89height);
- Node89.a('node.rect', [0, 0, Node89width, Node89height]);
- Node89.a('node.bordercolor','rgba(0,0,0,1)');
- Node89.a('node.borderwidth', 0);
- Node89.a('node.background','' || 'rgba(0,0,0,0)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','');
- Node89.a('node.text','月受累损失电量');
- Node89.a('node.textalign','center');
- Node89.a('node.textvAlign','middle');
- Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
- Node89.a('node.color','rgba(0,0,0,1)');
- Node89.a('node.font',' '+ Node89fontSize + 'px "微软雅黑"');
- Node89.a('node.textvisible',true);
- Node89.a('node.linefeed',false);
- if (false) {
- Node89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node89.a('node.text') || '月受累损失电量';
- var color=Node89.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"center",color,' '+ Node89fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node89.a('node.underlinepoints',[Node89lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
- Node89.a('node.underlinevisible',false);
- Node89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node89);
- zoomNodeList.push({
- node: Node89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90type = 'rect';
- var Node90 = new ht.Node(),
- Node90BorderWidth = 1*2;
- if (Node90type === 'arc') {
- Node90BorderWidth *= 1;
- }
- Node90.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node90type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node90.setPosition(922*ratio.ratioX, 51*ratio.ratioY);
- Node90.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node90.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node90.a('node.width', 95*_ratio.ratioX);
- Node90.a('node.height', 24.33136*_ratio.ratioY);
- Node90.a('node.type', Node90type);
- Node90.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node90.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node90.a('node.gradientcolor', '');
- Node90.a('node.gradient', '');
- Node90.a('node.borderwidth', Node90BorderWidth);
- Node90.a('node.color', 'rgba(224,224,224,1)');
- Node90.a('node.fillrect', [0,0,0,0]);
- Node90.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node90.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node90.a('node.fillgradient', '');
- if (Node90type !== 'rect') {
- Node90.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node90.a('node.arcTo', parseFloat('@arcTo@'));
- Node90.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node90type === 'arc') {
- Node90.a('node.arcOval', true);
- }
- Node90.setRotation(0*Math.PI/180);
- Node90.borderWidth = Node90BorderWidth;
- Node90.borderFillwidth = Node90BorderWidth;
- dataModel.add(Node90);
- Node90._nodename = 'Node90'
- Node90._nodeType = 'rect';
- zoomNodeList.push({
- node: Node90,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node90, Node90.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91type = 'rect';
- var Node91 = new ht.Node(),
- Node91BorderWidth = 1*2;
- if (Node91type === 'arc') {
- Node91BorderWidth *= 1;
- }
- Node91.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node91type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node91.setPosition(922*ratio.ratioX, 75*ratio.ratioY);
- Node91.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node91.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node91.a('node.width', 95*_ratio.ratioX);
- Node91.a('node.height', 24.33138*_ratio.ratioY);
- Node91.a('node.type', Node91type);
- Node91.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node91.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node91.a('node.gradientcolor', '');
- Node91.a('node.gradient', '');
- Node91.a('node.borderwidth', Node91BorderWidth);
- Node91.a('node.color', 'rgba(224,224,224,1)');
- Node91.a('node.fillrect', [0,0,0,0]);
- Node91.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node91.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node91.a('node.fillgradient', '');
- if (Node91type !== 'rect') {
- Node91.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node91.a('node.arcTo', parseFloat('@arcTo@'));
- Node91.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node91type === 'arc') {
- Node91.a('node.arcOval', true);
- }
- Node91.setRotation(0*Math.PI/180);
- Node91.borderWidth = Node91BorderWidth;
- Node91.borderFillwidth = Node91BorderWidth;
- dataModel.add(Node91);
- Node91._nodename = 'Node91'
- Node91._nodeType = 'rect';
- zoomNodeList.push({
- node: Node91,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node91, Node91.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92type = 'rect';
- var Node92 = new ht.Node(),
- Node92BorderWidth = 1*2;
- if (Node92type === 'arc') {
- Node92BorderWidth *= 1;
- }
- Node92.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node92.setPosition(922*ratio.ratioX, 99*ratio.ratioY);
- Node92.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node92.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node92.a('node.width', 95*_ratio.ratioX);
- Node92.a('node.height', 24.33138*_ratio.ratioY);
- Node92.a('node.type', Node92type);
- Node92.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node92.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node92.a('node.gradientcolor', '');
- Node92.a('node.gradient', '');
- Node92.a('node.borderwidth', Node92BorderWidth);
- Node92.a('node.color', 'rgba(224,224,224,1)');
- Node92.a('node.fillrect', [0,0,0,0]);
- Node92.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradient', '');
- if (Node92type !== 'rect') {
- Node92.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node92.a('node.arcTo', parseFloat('@arcTo@'));
- Node92.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node92type === 'arc') {
- Node92.a('node.arcOval', true);
- }
- Node92.setRotation(0*Math.PI/180);
- Node92.borderWidth = Node92BorderWidth;
- Node92.borderFillwidth = Node92BorderWidth;
- dataModel.add(Node92);
- Node92._nodename = 'Node92'
- Node92._nodeType = 'rect';
- zoomNodeList.push({
- node: Node92,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node92, Node92.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93type = 'rect';
- var Node93 = new ht.Node(),
- Node93BorderWidth = 1*2;
- if (Node93type === 'arc') {
- Node93BorderWidth *= 1;
- }
- Node93.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node93type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node93.setPosition(922*ratio.ratioX, 124*ratio.ratioY);
- Node93.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node93.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node93.a('node.width', 95*_ratio.ratioX);
- Node93.a('node.height', 24.33136*_ratio.ratioY);
- Node93.a('node.type', Node93type);
- Node93.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node93.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node93.a('node.gradientcolor', '');
- Node93.a('node.gradient', '');
- Node93.a('node.borderwidth', Node93BorderWidth);
- Node93.a('node.color', 'rgba(224,224,224,1)');
- Node93.a('node.fillrect', [0,0,0,0]);
- Node93.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node93.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node93.a('node.fillgradient', '');
- if (Node93type !== 'rect') {
- Node93.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node93.a('node.arcTo', parseFloat('@arcTo@'));
- Node93.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node93type === 'arc') {
- Node93.a('node.arcOval', true);
- }
- Node93.setRotation(0*Math.PI/180);
- Node93.borderWidth = Node93BorderWidth;
- Node93.borderFillwidth = Node93BorderWidth;
- dataModel.add(Node93);
- Node93._nodename = 'Node93'
- Node93._nodeType = 'rect';
- zoomNodeList.push({
- node: Node93,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node93, Node93.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94type = 'rect';
- var Node94 = new ht.Node(),
- Node94BorderWidth = 1*2;
- if (Node94type === 'arc') {
- Node94BorderWidth *= 1;
- }
- Node94.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node94.setPosition(922*ratio.ratioX, 148*ratio.ratioY);
- Node94.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node94.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node94.a('node.width', 95*_ratio.ratioX);
- Node94.a('node.height', 24.33138*_ratio.ratioY);
- Node94.a('node.type', Node94type);
- Node94.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node94.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node94.a('node.gradientcolor', '');
- Node94.a('node.gradient', '');
- Node94.a('node.borderwidth', Node94BorderWidth);
- Node94.a('node.color', 'rgba(224,224,224,1)');
- Node94.a('node.fillrect', [0,0,0,0]);
- Node94.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradient', '');
- if (Node94type !== 'rect') {
- Node94.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node94.a('node.arcTo', parseFloat('@arcTo@'));
- Node94.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node94type === 'arc') {
- Node94.a('node.arcOval', true);
- }
- Node94.setRotation(0*Math.PI/180);
- Node94.borderWidth = Node94BorderWidth;
- Node94.borderFillwidth = Node94BorderWidth;
- dataModel.add(Node94);
- Node94._nodename = 'Node94'
- Node94._nodeType = 'rect';
- zoomNodeList.push({
- node: Node94,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node94, Node94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95type = 'rect';
- var Node95 = new ht.Node(),
- Node95BorderWidth = 1*2;
- if (Node95type === 'arc') {
- Node95BorderWidth *= 1;
- }
- Node95.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node95.setPosition(1002*ratio.ratioX, 51*ratio.ratioY);
- Node95.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node95.a('node.width', 65*_ratio.ratioX);
- Node95.a('node.height', 24.33136*_ratio.ratioY);
- Node95.a('node.type', Node95type);
- Node95.a('node.rect', [0, 0, 65*_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 Node96 = new ht.Node();
- var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'center', Node96fontSize = 14.66663*_ratio.ratioY,Node96width = 59*_ratio.ratioX, Node96height = 26*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('0', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('0', ' '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(922*ratio.ratioX, 53*ratio.ratioY);
- Node96.setWidth(Node96width);
- Node96.setHeight(Node96height);
- Node96._nodeType = 'text';
- Node96._disallowEvert = true;
- Node96.setRotation(0*Math.PI/180);
- Node96.a('node.width', Node96width);
- Node96.a('node.height', Node96height);
- Node96.a('node.rect', [0, 0, Node96width, Node96height]);
- Node96.a('node.bordercolor','rgba(0,0,0,1)');
- Node96.a('node.borderwidth', 0);
- Node96.a('node.background','' || 'rgba(0,0,0,0)');
- Node96.a('node.gradient','');
- Node96.a('node.gradientcolor','');
- Node96.a('node.text','0');
- Node96.a('node.textalign','center');
- Node96.a('node.textvAlign','middle');
- Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
- Node96.a('node.color','rgba(0,0,0,1)');
- Node96.a('node.font',' '+ Node96fontSize + 'px "Arial"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '0';
- var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node96width,Node96height,14.66663*_ratio.ratioY,"center",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'center', Node97fontSize = 14.66663*_ratio.ratioY,Node97width = 59*_ratio.ratioX, Node97height = 26*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('0', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('0', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(922*ratio.ratioX, 77*ratio.ratioY);
- Node97.setWidth(Node97width);
- Node97.setHeight(Node97height);
- Node97._nodeType = 'text';
- Node97._disallowEvert = true;
- Node97.setRotation(0*Math.PI/180);
- Node97.a('node.width', Node97width);
- Node97.a('node.height', Node97height);
- Node97.a('node.rect', [0, 0, Node97width, Node97height]);
- Node97.a('node.bordercolor','rgba(0,0,0,1)');
- Node97.a('node.borderwidth', 0);
- Node97.a('node.background','' || 'rgba(0,0,0,0)');
- Node97.a('node.gradient','');
- Node97.a('node.gradientcolor','');
- Node97.a('node.text','0');
- Node97.a('node.textalign','center');
- Node97.a('node.textvAlign','middle');
- Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]);
- Node97.a('node.color','rgba(0,0,0,1)');
- Node97.a('node.font',' '+ Node97fontSize + 'px "Arial"');
- Node97.a('node.textvisible',true);
- Node97.a('node.linefeed',false);
- if (false) {
- Node97.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node97.a('node.text') || '0';
- var color=Node97.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node97width,Node97height,14.66663*_ratio.ratioY,"center",color,' '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'center', Node98fontSize = 14.66663*_ratio.ratioY,Node98width = 59*_ratio.ratioX, Node98height = 26*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(922*ratio.ratioX, 102*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(0,0,0,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','0');
- Node98.a('node.textalign','center');
- Node98.a('node.textvAlign','middle');
- Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
- Node98.a('node.color','rgba(0,0,0,1)');
- Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '0';
- var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node98width,Node98height,14.66663*_ratio.ratioY,"center",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'center', Node99fontSize = 14.66663*_ratio.ratioY,Node99width = 59*_ratio.ratioX, Node99height = 26*_ratio.ratioY;
- (function () {
- if (Node99align === 'left') {
- Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
- Node99textWidth = Node99width;
- Node99lineStart = 1;
- } else if (Node99align === 'right') {
- Node99textStart = 0;
- Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
- Node99lineStart = (Node99width - (ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(922*ratio.ratioX, 125*ratio.ratioY);
- Node99.setWidth(Node99width);
- Node99.setHeight(Node99height);
- Node99._nodeType = 'text';
- Node99._disallowEvert = true;
- Node99.setRotation(0*Math.PI/180);
- Node99.a('node.width', Node99width);
- Node99.a('node.height', Node99height);
- Node99.a('node.rect', [0, 0, Node99width, Node99height]);
- Node99.a('node.bordercolor','rgba(0,0,0,1)');
- Node99.a('node.borderwidth', 0);
- Node99.a('node.background','' || 'rgba(0,0,0,0)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','');
- Node99.a('node.text','0');
- Node99.a('node.textalign','center');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(0,0,0,1)');
- Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
- Node99.a('node.textvisible',true);
- Node99.a('node.linefeed',false);
- if (false) {
- Node99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node99.a('node.text') || '0';
- var color=Node99.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node99width,Node99height,14.66663*_ratio.ratioY,"center",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100 = new ht.Node();
- var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'center', Node100fontSize = 14.66663*_ratio.ratioY,Node100width = 59*_ratio.ratioX, Node100height = 26*_ratio.ratioY;
- (function () {
- if (Node100align === 'left') {
- Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
- Node100textWidth = Node100width;
- Node100lineStart = 1;
- } else if (Node100align === 'right') {
- Node100textStart = 0;
- Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
- Node100lineStart = (Node100width - (ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(922*ratio.ratioX, 149*ratio.ratioY);
- Node100.setWidth(Node100width);
- Node100.setHeight(Node100height);
- Node100._nodeType = 'text';
- Node100._disallowEvert = true;
- Node100.setRotation(0*Math.PI/180);
- Node100.a('node.width', Node100width);
- Node100.a('node.height', Node100height);
- Node100.a('node.rect', [0, 0, Node100width, Node100height]);
- Node100.a('node.bordercolor','rgba(0,0,0,1)');
- Node100.a('node.borderwidth', 0);
- Node100.a('node.background','' || 'rgba(0,0,0,0)');
- Node100.a('node.gradient','');
- Node100.a('node.gradientcolor','');
- Node100.a('node.text','0');
- Node100.a('node.textalign','center');
- Node100.a('node.textvAlign','middle');
- Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]);
- Node100.a('node.color','rgba(0,0,0,1)');
- Node100.a('node.font',' '+ Node100fontSize + 'px "Arial"');
- Node100.a('node.textvisible',true);
- Node100.a('node.linefeed',false);
- if (false) {
- Node100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node100.a('node.text') || '0';
- var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node100width,Node100height,14.66663*_ratio.ratioY,"center",color,' '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
- Node100.a('node.underlinevisible',false);
- Node100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node100);
- zoomNodeList.push({
- node: Node100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101type = 'rect';
- var Node101 = new ht.Node(),
- Node101BorderWidth = 1*2;
- if (Node101type === 'arc') {
- Node101BorderWidth *= 1;
- }
- Node101.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node101type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node101.setPosition(1002*ratio.ratioX, 75*ratio.ratioY);
- Node101.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node101.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node101.a('node.width', 65*_ratio.ratioX);
- Node101.a('node.height', 24.33138*_ratio.ratioY);
- Node101.a('node.type', Node101type);
- Node101.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node101.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node101.a('node.gradientcolor', '');
- Node101.a('node.gradient', '');
- Node101.a('node.borderwidth', Node101BorderWidth);
- Node101.a('node.color', 'rgba(224,224,224,1)');
- Node101.a('node.fillrect', [0,0,0,0]);
- Node101.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node101.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node101.a('node.fillgradient', '');
- if (Node101type !== 'rect') {
- Node101.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node101.a('node.arcTo', parseFloat('@arcTo@'));
- Node101.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node101type === 'arc') {
- Node101.a('node.arcOval', true);
- }
- Node101.setRotation(0*Math.PI/180);
- Node101.borderWidth = Node101BorderWidth;
- Node101.borderFillwidth = Node101BorderWidth;
- dataModel.add(Node101);
- Node101._nodename = 'Node101'
- Node101._nodeType = 'rect';
- zoomNodeList.push({
- node: Node101,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node101, Node101.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102type = 'rect';
- var Node102 = new ht.Node(),
- Node102BorderWidth = 1*2;
- if (Node102type === 'arc') {
- Node102BorderWidth *= 1;
- }
- Node102.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node102type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node102.setPosition(1002*ratio.ratioX, 99*ratio.ratioY);
- Node102.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node102.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node102.a('node.width', 65*_ratio.ratioX);
- Node102.a('node.height', 24.33138*_ratio.ratioY);
- Node102.a('node.type', Node102type);
- Node102.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node102.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node102.a('node.gradientcolor', '');
- Node102.a('node.gradient', '');
- Node102.a('node.borderwidth', Node102BorderWidth);
- Node102.a('node.color', 'rgba(224,224,224,1)');
- Node102.a('node.fillrect', [0,0,0,0]);
- Node102.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node102.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node102.a('node.fillgradient', '');
- if (Node102type !== 'rect') {
- Node102.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node102.a('node.arcTo', parseFloat('@arcTo@'));
- Node102.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node102type === 'arc') {
- Node102.a('node.arcOval', true);
- }
- Node102.setRotation(0*Math.PI/180);
- Node102.borderWidth = Node102BorderWidth;
- Node102.borderFillwidth = Node102BorderWidth;
- dataModel.add(Node102);
- Node102._nodename = 'Node102'
- Node102._nodeType = 'rect';
- zoomNodeList.push({
- node: Node102,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node102, Node102.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103type = 'rect';
- var Node103 = new ht.Node(),
- Node103BorderWidth = 1*2;
- if (Node103type === 'arc') {
- Node103BorderWidth *= 1;
- }
- Node103.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node103type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node103.setPosition(1002*ratio.ratioX, 124*ratio.ratioY);
- Node103.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node103.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node103.a('node.width', 65*_ratio.ratioX);
- Node103.a('node.height', 24.33136*_ratio.ratioY);
- Node103.a('node.type', Node103type);
- Node103.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node103.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node103.a('node.gradientcolor', '');
- Node103.a('node.gradient', '');
- Node103.a('node.borderwidth', Node103BorderWidth);
- Node103.a('node.color', 'rgba(224,224,224,1)');
- Node103.a('node.fillrect', [0,0,0,0]);
- Node103.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node103.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node103.a('node.fillgradient', '');
- if (Node103type !== 'rect') {
- Node103.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node103.a('node.arcTo', parseFloat('@arcTo@'));
- Node103.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node103type === 'arc') {
- Node103.a('node.arcOval', true);
- }
- Node103.setRotation(0*Math.PI/180);
- Node103.borderWidth = Node103BorderWidth;
- Node103.borderFillwidth = Node103BorderWidth;
- dataModel.add(Node103);
- Node103._nodename = 'Node103'
- Node103._nodeType = 'rect';
- zoomNodeList.push({
- node: Node103,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node103, Node103.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104type = 'rect';
- var Node104 = new ht.Node(),
- Node104BorderWidth = 1*2;
- if (Node104type === 'arc') {
- Node104BorderWidth *= 1;
- }
- Node104.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node104type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node104.setPosition(1002*ratio.ratioX, 148*ratio.ratioY);
- Node104.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node104.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node104.a('node.width', 65*_ratio.ratioX);
- Node104.a('node.height', 24.33138*_ratio.ratioY);
- Node104.a('node.type', Node104type);
- Node104.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node104.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node104.a('node.gradientcolor', '');
- Node104.a('node.gradient', '');
- Node104.a('node.borderwidth', Node104BorderWidth);
- Node104.a('node.color', 'rgba(224,224,224,1)');
- Node104.a('node.fillrect', [0,0,0,0]);
- Node104.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node104.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node104.a('node.fillgradient', '');
- if (Node104type !== 'rect') {
- Node104.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node104.a('node.arcTo', parseFloat('@arcTo@'));
- Node104.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node104type === 'arc') {
- Node104.a('node.arcOval', true);
- }
- Node104.setRotation(0*Math.PI/180);
- Node104.borderWidth = Node104BorderWidth;
- Node104.borderFillwidth = Node104BorderWidth;
- dataModel.add(Node104);
- Node104._nodename = 'Node104'
- Node104._nodeType = 'rect';
- zoomNodeList.push({
- node: Node104,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node104, Node104.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105 = new ht.Node();
- var Node105textStart, Node105textWidth, Node105lineStart, Node105align = 'center', Node105fontSize = 13.3333*_ratio.ratioY,Node105width = 59*_ratio.ratioX, Node105height = 26*_ratio.ratioY;
- (function () {
- if (Node105align === 'left') {
- Node105textStart = Node105fontSize * 0.2 > 2 ? Node105fontSize * 0.2 - 4 : Node105fontSize * 0.2 - 9;
- Node105textWidth = Node105width;
- Node105lineStart = 1;
- } else if (Node105align === 'right') {
- Node105textStart = 0;
- Node105textWidth =Node105fontSize <= 8 ? Node105width + Node105fontSize * 0.2 + 6 : Node105width - Node105fontSize * 0.2;
- Node105lineStart = (Node105width - (ht.Default.getTextSize('万kWh', ' '+ Node105fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node105align === 'center') {
- Node105textStart = -3;
- Node105textWidth = Node105width;
- Node105lineStart = Node105width - ht.Default.getTextSize('万kWh', ' '+ Node105fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, ' '+ Node105fontSize + 'px "Arial"'))
- Node105.setPosition(1003*ratio.ratioX, 53*ratio.ratioY);
- Node105.setWidth(Node105width);
- Node105.setHeight(Node105height);
- Node105._nodeType = 'text';
- Node105._disallowEvert = true;
- Node105.setRotation(0*Math.PI/180);
- Node105.a('node.width', Node105width);
- Node105.a('node.height', Node105height);
- Node105.a('node.rect', [0, 0, Node105width, Node105height]);
- Node105.a('node.bordercolor','rgba(128,128,128,1)');
- Node105.a('node.borderwidth', 0);
- Node105.a('node.background','' || 'rgba(0,0,0,0)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','');
- Node105.a('node.text','万kWh');
- Node105.a('node.textalign','center');
- Node105.a('node.textvAlign','middle');
- Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]);
- Node105.a('node.color','rgba(128,128,128,1)');
- Node105.a('node.font',' '+ Node105fontSize + 'px "Arial"');
- Node105.a('node.textvisible',true);
- Node105.a('node.linefeed',false);
- if (false) {
- Node105.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node105.a('node.text') || '万kWh';
- var color=Node105.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node105width,Node105height,13.3333*_ratio.ratioY,"center",color,' '+ Node105fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node105.a('node.underlinepoints',[Node105lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node105fontSize + 'px "Arial"').width + 6, (Node105height - Node105fontSize) * 0.5*_ratio.ratioY + Node105fontSize + 2 ]);
- Node105.a('node.underlinevisible',false);
- Node105.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node105);
- zoomNodeList.push({
- node: Node105,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106 = new ht.Node();
- var Node106textStart, Node106textWidth, Node106lineStart, Node106align = 'center', Node106fontSize = 13.3333*_ratio.ratioY,Node106width = 59*_ratio.ratioX, Node106height = 26*_ratio.ratioY;
- (function () {
- if (Node106align === 'left') {
- Node106textStart = Node106fontSize * 0.2 > 2 ? Node106fontSize * 0.2 - 4 : Node106fontSize * 0.2 - 9;
- Node106textWidth = Node106width;
- Node106lineStart = 1;
- } else if (Node106align === 'right') {
- Node106textStart = 0;
- Node106textWidth =Node106fontSize <= 8 ? Node106width + Node106fontSize * 0.2 + 6 : Node106width - Node106fontSize * 0.2;
- Node106lineStart = (Node106width - (ht.Default.getTextSize('万kWh', ' '+ Node106fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node106align === 'center') {
- Node106textStart = -3;
- Node106textWidth = Node106width;
- Node106lineStart = Node106width - ht.Default.getTextSize('万kWh', ' '+ Node106fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, ' '+ Node106fontSize + 'px "Arial"'))
- Node106.setPosition(1003*ratio.ratioX, 77*ratio.ratioY);
- Node106.setWidth(Node106width);
- Node106.setHeight(Node106height);
- Node106._nodeType = 'text';
- Node106._disallowEvert = true;
- Node106.setRotation(0*Math.PI/180);
- Node106.a('node.width', Node106width);
- Node106.a('node.height', Node106height);
- Node106.a('node.rect', [0, 0, Node106width, Node106height]);
- Node106.a('node.bordercolor','rgba(128,128,128,1)');
- Node106.a('node.borderwidth', 0);
- Node106.a('node.background','' || 'rgba(0,0,0,0)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','');
- Node106.a('node.text','万kWh');
- Node106.a('node.textalign','center');
- Node106.a('node.textvAlign','middle');
- Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]);
- Node106.a('node.color','rgba(128,128,128,1)');
- Node106.a('node.font',' '+ Node106fontSize + 'px "Arial"');
- Node106.a('node.textvisible',true);
- Node106.a('node.linefeed',false);
- if (false) {
- Node106.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node106.a('node.text') || '万kWh';
- var color=Node106.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node106width,Node106height,13.3333*_ratio.ratioY,"center",color,' '+ Node106fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node106.a('node.underlinepoints',[Node106lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node106fontSize + 'px "Arial"').width + 6, (Node106height - Node106fontSize) * 0.5*_ratio.ratioY + Node106fontSize + 2 ]);
- Node106.a('node.underlinevisible',false);
- Node106.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node106);
- zoomNodeList.push({
- node: Node106,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107 = new ht.Node();
- var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'center', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 59*_ratio.ratioX, Node107height = 26*_ratio.ratioY;
- (function () {
- if (Node107align === 'left') {
- Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9;
- Node107textWidth = Node107width;
- Node107lineStart = 1;
- } else if (Node107align === 'right') {
- Node107textStart = 0;
- Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2;
- Node107lineStart = (Node107width - (ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node107align === 'center') {
- Node107textStart = -3;
- Node107textWidth = Node107width;
- Node107lineStart = Node107width - ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"'))
- Node107.setPosition(1003*ratio.ratioX, 100*ratio.ratioY);
- Node107.setWidth(Node107width);
- Node107.setHeight(Node107height);
- Node107._nodeType = 'text';
- Node107._disallowEvert = true;
- Node107.setRotation(0*Math.PI/180);
- Node107.a('node.width', Node107width);
- Node107.a('node.height', Node107height);
- Node107.a('node.rect', [0, 0, Node107width, Node107height]);
- Node107.a('node.bordercolor','rgba(128,128,128,1)');
- Node107.a('node.borderwidth', 0);
- Node107.a('node.background','' || 'rgba(0,0,0,0)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','');
- Node107.a('node.text','万kWh');
- Node107.a('node.textalign','center');
- Node107.a('node.textvAlign','middle');
- Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]);
- Node107.a('node.color','rgba(128,128,128,1)');
- Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"');
- Node107.a('node.textvisible',true);
- Node107.a('node.linefeed',false);
- if (false) {
- Node107.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node107.a('node.text') || '万kWh';
- var color=Node107.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"center",color,' '+ Node107fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node107.a('node.underlinepoints',[Node107lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
- Node107.a('node.underlinevisible',false);
- Node107.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node107);
- zoomNodeList.push({
- node: Node107,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108 = new ht.Node();
- var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'center', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 59*_ratio.ratioX, Node108height = 26*_ratio.ratioY;
- (function () {
- if (Node108align === 'left') {
- Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9;
- Node108textWidth = Node108width;
- Node108lineStart = 1;
- } else if (Node108align === 'right') {
- Node108textStart = 0;
- Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2;
- Node108lineStart = (Node108width - (ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node108align === 'center') {
- Node108textStart = -3;
- Node108textWidth = Node108width;
- Node108lineStart = Node108width - ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, ' '+ Node108fontSize + 'px "Arial"'))
- Node108.setPosition(1003*ratio.ratioX, 126*ratio.ratioY);
- Node108.setWidth(Node108width);
- Node108.setHeight(Node108height);
- Node108._nodeType = 'text';
- Node108._disallowEvert = true;
- Node108.setRotation(0*Math.PI/180);
- Node108.a('node.width', Node108width);
- Node108.a('node.height', Node108height);
- Node108.a('node.rect', [0, 0, Node108width, Node108height]);
- Node108.a('node.bordercolor','rgba(128,128,128,1)');
- Node108.a('node.borderwidth', 0);
- Node108.a('node.background','' || 'rgba(0,0,0,0)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','');
- Node108.a('node.text','万kWh');
- Node108.a('node.textalign','center');
- Node108.a('node.textvAlign','middle');
- Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]);
- Node108.a('node.color','rgba(128,128,128,1)');
- Node108.a('node.font',' '+ Node108fontSize + 'px "Arial"');
- Node108.a('node.textvisible',true);
- Node108.a('node.linefeed',false);
- if (false) {
- Node108.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node108.a('node.text') || '万kWh';
- var color=Node108.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"center",color,' '+ Node108fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node108.a('node.underlinepoints',[Node108lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]);
- Node108.a('node.underlinevisible',false);
- Node108.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node108);
- zoomNodeList.push({
- node: Node108,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'center', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 59*_ratio.ratioX, Node109height = 26*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
- Node109.setPosition(1003*ratio.ratioX, 150*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 Node110type = 'rect';
- var Node110 = new ht.Node(),
- Node110BorderWidth = 1*2;
- if (Node110type === 'arc') {
- Node110BorderWidth *= 1;
- }
- Node110.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node110type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node110.setPosition(1096*ratio.ratioX, 99*ratio.ratioY);
- Node110.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node110.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node110.a('node.width', 117*_ratio.ratioX);
- Node110.a('node.height', 24.33138*_ratio.ratioY);
- Node110.a('node.type', Node110type);
- Node110.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node110.a('node.background', 'rgba(240,240,240,1)');
- Node110.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node110.a('node.gradient', '');
- Node110.a('node.borderwidth', Node110BorderWidth);
- Node110.a('node.color', 'rgba(224,224,224,1)');
- Node110.a('node.fillrect', [0,0,0,0]);
- Node110.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node110.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node110.a('node.fillgradient', '');
- if (Node110type !== 'rect') {
- Node110.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node110.a('node.arcTo', parseFloat('@arcTo@'));
- Node110.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node110type === 'arc') {
- Node110.a('node.arcOval', true);
- }
- Node110.setRotation(0*Math.PI/180);
- Node110.borderWidth = Node110BorderWidth;
- Node110.borderFillwidth = Node110BorderWidth;
- dataModel.add(Node110);
- Node110._nodename = 'Node110'
- Node110._nodeType = 'rect';
- zoomNodeList.push({
- node: Node110,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node110, Node110.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111type = 'rect';
- var Node111 = new ht.Node(),
- Node111BorderWidth = 1*2;
- if (Node111type === 'arc') {
- Node111BorderWidth *= 1;
- }
- Node111.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node111type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node111.setPosition(1096*ratio.ratioX, 75*ratio.ratioY);
- Node111.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node111.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node111.a('node.width', 117*_ratio.ratioX);
- Node111.a('node.height', 24.33138*_ratio.ratioY);
- Node111.a('node.type', Node111type);
- Node111.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node111.a('node.background', 'rgba(240,240,240,1)');
- Node111.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node111.a('node.gradient', '');
- Node111.a('node.borderwidth', Node111BorderWidth);
- Node111.a('node.color', 'rgba(224,224,224,1)');
- Node111.a('node.fillrect', [0,0,0,0]);
- Node111.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node111.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node111.a('node.fillgradient', '');
- if (Node111type !== 'rect') {
- Node111.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node111.a('node.arcTo', parseFloat('@arcTo@'));
- Node111.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node111type === 'arc') {
- Node111.a('node.arcOval', true);
- }
- Node111.setRotation(0*Math.PI/180);
- Node111.borderWidth = Node111BorderWidth;
- Node111.borderFillwidth = Node111BorderWidth;
- dataModel.add(Node111);
- Node111._nodename = 'Node111'
- Node111._nodeType = 'rect';
- zoomNodeList.push({
- node: Node111,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node111, Node111.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112type = 'rect';
- var Node112 = new ht.Node(),
- Node112BorderWidth = 1*2;
- if (Node112type === 'arc') {
- Node112BorderWidth *= 1;
- }
- Node112.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node112type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node112.setPosition(1096*ratio.ratioX, 124*ratio.ratioY);
- Node112.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node112.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node112.a('node.width', 117*_ratio.ratioX);
- Node112.a('node.height', 24.33136*_ratio.ratioY);
- Node112.a('node.type', Node112type);
- Node112.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node112.a('node.background', 'rgba(240,240,240,1)');
- Node112.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node112.a('node.gradient', '');
- Node112.a('node.borderwidth', Node112BorderWidth);
- Node112.a('node.color', 'rgba(224,224,224,1)');
- Node112.a('node.fillrect', [0,0,0,0]);
- Node112.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node112.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node112.a('node.fillgradient', '');
- if (Node112type !== 'rect') {
- Node112.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node112.a('node.arcTo', parseFloat('@arcTo@'));
- Node112.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node112type === 'arc') {
- Node112.a('node.arcOval', true);
- }
- Node112.setRotation(0*Math.PI/180);
- Node112.borderWidth = Node112BorderWidth;
- Node112.borderFillwidth = Node112BorderWidth;
- dataModel.add(Node112);
- Node112._nodename = 'Node112'
- Node112._nodeType = 'rect';
- zoomNodeList.push({
- node: Node112,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node112, Node112.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113type = 'rect';
- var Node113 = new ht.Node(),
- Node113BorderWidth = 1*2;
- if (Node113type === 'arc') {
- Node113BorderWidth *= 1;
- }
- Node113.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node113type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node113.setPosition(1096*ratio.ratioX, 51*ratio.ratioY);
- Node113.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node113.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node113.a('node.width', 117*_ratio.ratioX);
- Node113.a('node.height', 24.33136*_ratio.ratioY);
- Node113.a('node.type', Node113type);
- Node113.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node113.a('node.background', 'rgba(240,240,240,1)');
- Node113.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node113.a('node.gradient', '');
- Node113.a('node.borderwidth', Node113BorderWidth);
- Node113.a('node.color', 'rgba(224,224,224,1)');
- Node113.a('node.fillrect', [0,0,0,0]);
- Node113.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node113.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node113.a('node.fillgradient', '');
- if (Node113type !== 'rect') {
- Node113.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node113.a('node.arcTo', parseFloat('@arcTo@'));
- Node113.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node113type === 'arc') {
- Node113.a('node.arcOval', true);
- }
- Node113.setRotation(0*Math.PI/180);
- Node113.borderWidth = Node113BorderWidth;
- Node113.borderFillwidth = Node113BorderWidth;
- dataModel.add(Node113);
- Node113._nodename = 'Node113'
- Node113._nodeType = 'rect';
- zoomNodeList.push({
- node: Node113,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node113, Node113.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114type = 'rect';
- var Node114 = new ht.Node(),
- Node114BorderWidth = 1*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 1;
- }
- Node114.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(1096*ratio.ratioX, 148*ratio.ratioY);
- Node114.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 117*_ratio.ratioX);
- Node114.a('node.height', 24.33138*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node114.a('node.background', 'rgba(240,240,240,1)');
- Node114.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node114.a('node.gradient', '');
- Node114.a('node.borderwidth', Node114BorderWidth);
- Node114.a('node.color', 'rgba(224,224,224,1)');
- Node114.a('node.fillrect', [0,0,0,0]);
- Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradient', '');
- if (Node114type !== 'rect') {
- Node114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node114.a('node.arcTo', parseFloat('@arcTo@'));
- Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node114type === 'arc') {
- Node114.a('node.arcOval', true);
- }
- Node114.setRotation(0*Math.PI/180);
- Node114.borderWidth = Node114BorderWidth;
- Node114.borderFillwidth = Node114BorderWidth;
- dataModel.add(Node114);
- Node114._nodename = 'Node114'
- Node114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115 = new ht.Node();
- var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'center', Node115fontSize = 13.3333*_ratio.ratioY,Node115width = 110*_ratio.ratioX, Node115height = 26*_ratio.ratioY;
- (function () {
- if (Node115align === 'left') {
- Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9;
- Node115textWidth = Node115width;
- Node115lineStart = 1;
- } else if (Node115align === 'right') {
- Node115textStart = 0;
- Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2;
- Node115lineStart = (Node115width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node115fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node115align === 'center') {
- Node115textStart = -3;
- Node115textWidth = Node115width;
- Node115lineStart = Node115width - ht.Default.getTextSize('年维护损失电量', ' '+ Node115fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "微软雅黑"'))
- Node115.setPosition(1096*ratio.ratioX, 53*ratio.ratioY);
- Node115.setWidth(Node115width);
- Node115.setHeight(Node115height);
- Node115._nodeType = 'text';
- Node115._disallowEvert = true;
- Node115.setRotation(0*Math.PI/180);
- Node115.a('node.width', Node115width);
- Node115.a('node.height', Node115height);
- Node115.a('node.rect', [0, 0, Node115width, Node115height]);
- Node115.a('node.bordercolor','rgba(0,0,0,1)');
- Node115.a('node.borderwidth', 0);
- Node115.a('node.background','' || 'rgba(0,0,0,0)');
- Node115.a('node.gradient','');
- Node115.a('node.gradientcolor','');
- Node115.a('node.text','年维护损失电量');
- Node115.a('node.textalign','center');
- Node115.a('node.textvAlign','middle');
- Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
- Node115.a('node.color','rgba(0,0,0,1)');
- Node115.a('node.font',' '+ Node115fontSize + 'px "微软雅黑"');
- Node115.a('node.textvisible',true);
- Node115.a('node.linefeed',false);
- if (false) {
- Node115.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115.a('node.text') || '年维护损失电量';
- var color=Node115.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115width,Node115height,13.3333*_ratio.ratioY,"center",color,' '+ Node115fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node115.a('node.underlinepoints',[Node115lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node115fontSize + 'px "微软雅黑"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]);
- Node115.a('node.underlinevisible',false);
- Node115.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115);
- zoomNodeList.push({
- node: Node115,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116 = new ht.Node();
- var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'center', Node116fontSize = 13.3333*_ratio.ratioY,Node116width = 110*_ratio.ratioX, Node116height = 26*_ratio.ratioY;
- (function () {
- if (Node116align === 'left') {
- Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9;
- Node116textWidth = Node116width;
- Node116lineStart = 1;
- } else if (Node116align === 'right') {
- Node116textStart = 0;
- Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2;
- Node116lineStart = (Node116width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node116fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node116align === 'center') {
- Node116textStart = -3;
- Node116textWidth = Node116width;
- Node116lineStart = Node116width - ht.Default.getTextSize('年故障损失电量', ' '+ Node116fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "微软雅黑"'))
- Node116.setPosition(1096*ratio.ratioX, 76*ratio.ratioY);
- Node116.setWidth(Node116width);
- Node116.setHeight(Node116height);
- Node116._nodeType = 'text';
- Node116._disallowEvert = true;
- Node116.setRotation(0*Math.PI/180);
- Node116.a('node.width', Node116width);
- Node116.a('node.height', Node116height);
- Node116.a('node.rect', [0, 0, Node116width, Node116height]);
- Node116.a('node.bordercolor','rgba(0,0,0,1)');
- Node116.a('node.borderwidth', 0);
- Node116.a('node.background','' || 'rgba(0,0,0,0)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','');
- Node116.a('node.text','年故障损失电量');
- Node116.a('node.textalign','center');
- Node116.a('node.textvAlign','middle');
- Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]);
- Node116.a('node.color','rgba(0,0,0,1)');
- Node116.a('node.font',' '+ Node116fontSize + 'px "微软雅黑"');
- Node116.a('node.textvisible',true);
- Node116.a('node.linefeed',false);
- if (false) {
- Node116.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node116.a('node.text') || '年故障损失电量';
- var color=Node116.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node116width,Node116height,13.3333*_ratio.ratioY,"center",color,' '+ Node116fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node116.a('node.underlinepoints',[Node116lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node116fontSize + 'px "微软雅黑"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]);
- Node116.a('node.underlinevisible',false);
- Node116.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node116);
- zoomNodeList.push({
- node: Node116,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117 = new ht.Node();
- var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'center', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 110*_ratio.ratioX, Node117height = 26*_ratio.ratioY;
- (function () {
- if (Node117align === 'left') {
- Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
- Node117textWidth = Node117width;
- Node117lineStart = 1;
- } else if (Node117align === 'right') {
- Node117textStart = 0;
- Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
- Node117lineStart = (Node117width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node117align === 'center') {
- Node117textStart = -3;
- Node117textWidth = Node117width;
- Node117lineStart = Node117width - ht.Default.getTextSize('年限电损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "微软雅黑"'))
- Node117.setPosition(1096*ratio.ratioX, 101*ratio.ratioY);
- Node117.setWidth(Node117width);
- Node117.setHeight(Node117height);
- Node117._nodeType = 'text';
- Node117._disallowEvert = true;
- Node117.setRotation(0*Math.PI/180);
- Node117.a('node.width', Node117width);
- Node117.a('node.height', Node117height);
- Node117.a('node.rect', [0, 0, Node117width, Node117height]);
- Node117.a('node.bordercolor','rgba(0,0,0,1)');
- Node117.a('node.borderwidth', 0);
- Node117.a('node.background','' || 'rgba(0,0,0,0)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','');
- Node117.a('node.text','年限电损失电量');
- Node117.a('node.textalign','center');
- Node117.a('node.textvAlign','middle');
- Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
- Node117.a('node.color','rgba(0,0,0,1)');
- Node117.a('node.font',' '+ Node117fontSize + 'px "微软雅黑"');
- Node117.a('node.textvisible',true);
- Node117.a('node.linefeed',false);
- if (false) {
- Node117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node117.a('node.text') || '年限电损失电量';
- var color=Node117.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"center",color,' '+ Node117fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node117.a('node.underlinepoints',[Node117lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node117fontSize + 'px "微软雅黑"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
- Node117.a('node.underlinevisible',false);
- Node117.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node117);
- zoomNodeList.push({
- node: Node117,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118 = new ht.Node();
- var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'center', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 110*_ratio.ratioX, Node118height = 26*_ratio.ratioY;
- (function () {
- if (Node118align === 'left') {
- Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9;
- Node118textWidth = Node118width;
- Node118lineStart = 1;
- } else if (Node118align === 'right') {
- Node118textStart = 0;
- Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2;
- Node118lineStart = (Node118width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node118align === 'center') {
- Node118textStart = -3;
- Node118textWidth = Node118width;
- Node118lineStart = Node118width - ht.Default.getTextSize('年受累损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, ' '+ Node118fontSize + 'px "微软雅黑"'))
- Node118.setPosition(1096*ratio.ratioX, 126*ratio.ratioY);
- Node118.setWidth(Node118width);
- Node118.setHeight(Node118height);
- Node118._nodeType = 'text';
- Node118._disallowEvert = true;
- Node118.setRotation(0*Math.PI/180);
- Node118.a('node.width', Node118width);
- Node118.a('node.height', Node118height);
- Node118.a('node.rect', [0, 0, Node118width, Node118height]);
- Node118.a('node.bordercolor','rgba(0,0,0,1)');
- Node118.a('node.borderwidth', 0);
- Node118.a('node.background','' || 'rgba(0,0,0,0)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','');
- Node118.a('node.text','年受累损失电量');
- Node118.a('node.textalign','center');
- Node118.a('node.textvAlign','middle');
- Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]);
- Node118.a('node.color','rgba(0,0,0,1)');
- Node118.a('node.font',' '+ Node118fontSize + 'px "微软雅黑"');
- Node118.a('node.textvisible',true);
- Node118.a('node.linefeed',false);
- if (false) {
- Node118.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node118.a('node.text') || '年受累损失电量';
- var color=Node118.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"center",color,' '+ Node118fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node118.a('node.underlinepoints',[Node118lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node118fontSize + 'px "微软雅黑"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]);
- Node118.a('node.underlinevisible',false);
- Node118.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node118);
- zoomNodeList.push({
- node: Node118,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119type = 'rect';
- var Node119 = new ht.Node(),
- Node119BorderWidth = 1*2;
- if (Node119type === 'arc') {
- Node119BorderWidth *= 1;
- }
- Node119.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node119type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node119.setPosition(1202*ratio.ratioX, 51*ratio.ratioY);
- Node119.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node119.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node119.a('node.width', 95*_ratio.ratioX);
- Node119.a('node.height', 24.33136*_ratio.ratioY);
- Node119.a('node.type', Node119type);
- Node119.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node119.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node119.a('node.gradientcolor', '');
- Node119.a('node.gradient', '');
- Node119.a('node.borderwidth', Node119BorderWidth);
- Node119.a('node.color', 'rgba(224,224,224,1)');
- Node119.a('node.fillrect', [0,0,0,0]);
- Node119.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node119.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node119.a('node.fillgradient', '');
- if (Node119type !== 'rect') {
- Node119.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node119.a('node.arcTo', parseFloat('@arcTo@'));
- Node119.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node119type === 'arc') {
- Node119.a('node.arcOval', true);
- }
- Node119.setRotation(0*Math.PI/180);
- Node119.borderWidth = Node119BorderWidth;
- Node119.borderFillwidth = Node119BorderWidth;
- dataModel.add(Node119);
- Node119._nodename = 'Node119'
- Node119._nodeType = 'rect';
- zoomNodeList.push({
- node: Node119,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node119, Node119.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120type = 'rect';
- var Node120 = new ht.Node(),
- Node120BorderWidth = 1*2;
- if (Node120type === 'arc') {
- Node120BorderWidth *= 1;
- }
- Node120.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node120type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node120.setPosition(1202*ratio.ratioX, 75*ratio.ratioY);
- Node120.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node120.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node120.a('node.width', 95*_ratio.ratioX);
- Node120.a('node.height', 24.33138*_ratio.ratioY);
- Node120.a('node.type', Node120type);
- Node120.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node120.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node120.a('node.gradientcolor', '');
- Node120.a('node.gradient', '');
- Node120.a('node.borderwidth', Node120BorderWidth);
- Node120.a('node.color', 'rgba(224,224,224,1)');
- Node120.a('node.fillrect', [0,0,0,0]);
- Node120.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node120.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node120.a('node.fillgradient', '');
- if (Node120type !== 'rect') {
- Node120.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node120.a('node.arcTo', parseFloat('@arcTo@'));
- Node120.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node120type === 'arc') {
- Node120.a('node.arcOval', true);
- }
- Node120.setRotation(0*Math.PI/180);
- Node120.borderWidth = Node120BorderWidth;
- Node120.borderFillwidth = Node120BorderWidth;
- dataModel.add(Node120);
- Node120._nodename = 'Node120'
- Node120._nodeType = 'rect';
- zoomNodeList.push({
- node: Node120,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node120, Node120.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121type = 'rect';
- var Node121 = new ht.Node(),
- Node121BorderWidth = 1*2;
- if (Node121type === 'arc') {
- Node121BorderWidth *= 1;
- }
- Node121.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node121.setPosition(1202*ratio.ratioX, 99*ratio.ratioY);
- Node121.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node121.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node121.a('node.width', 95*_ratio.ratioX);
- Node121.a('node.height', 24.33138*_ratio.ratioY);
- Node121.a('node.type', Node121type);
- Node121.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node121.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node121.a('node.gradientcolor', '');
- Node121.a('node.gradient', '');
- Node121.a('node.borderwidth', Node121BorderWidth);
- Node121.a('node.color', 'rgba(224,224,224,1)');
- Node121.a('node.fillrect', [0,0,0,0]);
- Node121.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradient', '');
- if (Node121type !== 'rect') {
- Node121.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node121.a('node.arcTo', parseFloat('@arcTo@'));
- Node121.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node121type === 'arc') {
- Node121.a('node.arcOval', true);
- }
- Node121.setRotation(0*Math.PI/180);
- Node121.borderWidth = Node121BorderWidth;
- Node121.borderFillwidth = Node121BorderWidth;
- dataModel.add(Node121);
- Node121._nodename = 'Node121'
- Node121._nodeType = 'rect';
- zoomNodeList.push({
- node: Node121,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node121, Node121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node122type = 'rect';
- var Node122 = new ht.Node(),
- Node122BorderWidth = 1*2;
- if (Node122type === 'arc') {
- Node122BorderWidth *= 1;
- }
- Node122.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node122type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node122.setPosition(1202*ratio.ratioX, 124*ratio.ratioY);
- Node122.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node122.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node122.a('node.width', 95*_ratio.ratioX);
- Node122.a('node.height', 24.33136*_ratio.ratioY);
- Node122.a('node.type', Node122type);
- Node122.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node122.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node122.a('node.gradientcolor', '');
- Node122.a('node.gradient', '');
- Node122.a('node.borderwidth', Node122BorderWidth);
- Node122.a('node.color', 'rgba(224,224,224,1)');
- Node122.a('node.fillrect', [0,0,0,0]);
- Node122.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node122.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node122.a('node.fillgradient', '');
- if (Node122type !== 'rect') {
- Node122.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node122.a('node.arcTo', parseFloat('@arcTo@'));
- Node122.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node122type === 'arc') {
- Node122.a('node.arcOval', true);
- }
- Node122.setRotation(0*Math.PI/180);
- Node122.borderWidth = Node122BorderWidth;
- Node122.borderFillwidth = Node122BorderWidth;
- dataModel.add(Node122);
- Node122._nodename = 'Node122'
- Node122._nodeType = 'rect';
- zoomNodeList.push({
- node: Node122,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node122, Node122.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123type = 'rect';
- var Node123 = new ht.Node(),
- Node123BorderWidth = 1*2;
- if (Node123type === 'arc') {
- Node123BorderWidth *= 1;
- }
- Node123.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node123.setPosition(1202*ratio.ratioX, 148*ratio.ratioY);
- Node123.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node123.a('node.width', 95*_ratio.ratioX);
- Node123.a('node.height', 24.33138*_ratio.ratioY);
- Node123.a('node.type', Node123type);
- Node123.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node123.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node123.a('node.gradientcolor', '');
- Node123.a('node.gradient', '');
- Node123.a('node.borderwidth', Node123BorderWidth);
- Node123.a('node.color', 'rgba(224,224,224,1)');
- Node123.a('node.fillrect', [0,0,0,0]);
- Node123.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradient', '');
- if (Node123type !== 'rect') {
- Node123.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node123.a('node.arcTo', parseFloat('@arcTo@'));
- Node123.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node123type === 'arc') {
- Node123.a('node.arcOval', true);
- }
- Node123.setRotation(0*Math.PI/180);
- Node123.borderWidth = Node123BorderWidth;
- Node123.borderFillwidth = Node123BorderWidth;
- dataModel.add(Node123);
- Node123._nodename = 'Node123'
- Node123._nodeType = 'rect';
- zoomNodeList.push({
- node: Node123,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node123, Node123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124type = 'rect';
- var Node124 = new ht.Node(),
- Node124BorderWidth = 1*2;
- if (Node124type === 'arc') {
- Node124BorderWidth *= 1;
- }
- Node124.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node124.setPosition(1282*ratio.ratioX, 51*ratio.ratioY);
- Node124.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node124.a('node.width', 65*_ratio.ratioX);
- Node124.a('node.height', 24.33136*_ratio.ratioY);
- Node124.a('node.type', Node124type);
- Node124.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node124.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node124.a('node.gradientcolor', '');
- Node124.a('node.gradient', '');
- Node124.a('node.borderwidth', Node124BorderWidth);
- Node124.a('node.color', 'rgba(224,224,224,1)');
- Node124.a('node.fillrect', [0,0,0,0]);
- Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradient', '');
- if (Node124type !== 'rect') {
- Node124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node124.a('node.arcTo', parseFloat('@arcTo@'));
- Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node124type === 'arc') {
- Node124.a('node.arcOval', true);
- }
- Node124.setRotation(0*Math.PI/180);
- Node124.borderWidth = Node124BorderWidth;
- Node124.borderFillwidth = Node124BorderWidth;
- dataModel.add(Node124);
- Node124._nodename = 'Node124'
- Node124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'center', Node125fontSize = 14.66663*_ratio.ratioY,Node125width = 59*_ratio.ratioX, Node125height = 26*_ratio.ratioY;
- (function () {
- if (Node125align === 'left') {
- Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
- Node125textWidth = Node125width;
- Node125lineStart = 1;
- } else if (Node125align === 'right') {
- Node125textStart = 0;
- Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
- Node125lineStart = (Node125width - (ht.Default.getTextSize('0', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('0', ' '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(1202*ratio.ratioX, 53*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(0,0,0,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','0');
- Node125.a('node.textalign','center');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(0,0,0,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
- Node125.a('node.textvisible',true);
- Node125.a('node.linefeed',false);
- if (false) {
- Node125.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node125.a('node.text') || '0';
- var color=Node125.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node125width,Node125height,14.66663*_ratio.ratioY,"center",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
- Node125.a('node.underlinevisible',false);
- Node125.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node125);
- zoomNodeList.push({
- node: Node125,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'center', Node126fontSize = 14.66663*_ratio.ratioY,Node126width = 59*_ratio.ratioX, Node126height = 26*_ratio.ratioY;
- (function () {
- if (Node126align === 'left') {
- Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
- Node126textWidth = Node126width;
- Node126lineStart = 1;
- } else if (Node126align === 'right') {
- Node126textStart = 0;
- Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
- Node126lineStart = (Node126width - (ht.Default.getTextSize('0', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('0', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(1202*ratio.ratioX, 77*ratio.ratioY);
- Node126.setWidth(Node126width);
- Node126.setHeight(Node126height);
- Node126._nodeType = 'text';
- Node126._disallowEvert = true;
- Node126.setRotation(0*Math.PI/180);
- Node126.a('node.width', Node126width);
- Node126.a('node.height', Node126height);
- Node126.a('node.rect', [0, 0, Node126width, Node126height]);
- Node126.a('node.bordercolor','rgba(0,0,0,1)');
- Node126.a('node.borderwidth', 0);
- Node126.a('node.background','' || 'rgba(0,0,0,0)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','');
- Node126.a('node.text','0');
- Node126.a('node.textalign','center');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(0,0,0,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
- Node126.a('node.textvisible',true);
- Node126.a('node.linefeed',false);
- if (false) {
- Node126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node126.a('node.text') || '0';
- var color=Node126.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node126width,Node126height,14.66663*_ratio.ratioY,"center",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'center', Node127fontSize = 14.66663*_ratio.ratioY,Node127width = 59*_ratio.ratioX, Node127height = 26*_ratio.ratioY;
- (function () {
- if (Node127align === 'left') {
- Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
- Node127textWidth = Node127width;
- Node127lineStart = 1;
- } else if (Node127align === 'right') {
- Node127textStart = 0;
- Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
- Node127lineStart = (Node127width - (ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"'))
- Node127.setPosition(1202*ratio.ratioX, 102*ratio.ratioY);
- Node127.setWidth(Node127width);
- Node127.setHeight(Node127height);
- Node127._nodeType = 'text';
- Node127._disallowEvert = true;
- Node127.setRotation(0*Math.PI/180);
- Node127.a('node.width', Node127width);
- Node127.a('node.height', Node127height);
- Node127.a('node.rect', [0, 0, Node127width, Node127height]);
- Node127.a('node.bordercolor','rgba(0,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','0');
- Node127.a('node.textalign','center');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(0,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || '0';
- var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node127width,Node127height,14.66663*_ratio.ratioY,"center",color,' '+ Node127fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'center', Node128fontSize = 14.66663*_ratio.ratioY,Node128width = 59*_ratio.ratioX, Node128height = 26*_ratio.ratioY;
- (function () {
- if (Node128align === 'left') {
- Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
- Node128textWidth = Node128width;
- Node128lineStart = 1;
- } else if (Node128align === 'right') {
- Node128textStart = 0;
- Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
- Node128lineStart = (Node128width - (ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
- Node128.setPosition(1202*ratio.ratioX, 125*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(0,0,0,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','0');
- Node128.a('node.textalign','center');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(0,0,0,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '0';
- var color=Node128.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node128width,Node128height,14.66663*_ratio.ratioY,"center",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129 = new ht.Node();
- var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'center', Node129fontSize = 14.66663*_ratio.ratioY,Node129width = 59*_ratio.ratioX, Node129height = 26*_ratio.ratioY;
- (function () {
- if (Node129align === 'left') {
- Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
- Node129textWidth = Node129width;
- Node129lineStart = 1;
- } else if (Node129align === 'right') {
- Node129textStart = 0;
- Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
- Node129lineStart = (Node129width - (ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129align === 'center') {
- Node129textStart = -3;
- Node129textWidth = Node129width;
- Node129lineStart = Node129width - ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "Arial"'))
- Node129.setPosition(1202*ratio.ratioX, 149*ratio.ratioY);
- Node129.setWidth(Node129width);
- Node129.setHeight(Node129height);
- Node129._nodeType = 'text';
- Node129._disallowEvert = true;
- Node129.setRotation(0*Math.PI/180);
- Node129.a('node.width', Node129width);
- Node129.a('node.height', Node129height);
- Node129.a('node.rect', [0, 0, Node129width, Node129height]);
- Node129.a('node.bordercolor','rgba(0,0,0,1)');
- Node129.a('node.borderwidth', 0);
- Node129.a('node.background','' || 'rgba(0,0,0,0)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','');
- Node129.a('node.text','0');
- Node129.a('node.textalign','center');
- Node129.a('node.textvAlign','middle');
- Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
- Node129.a('node.color','rgba(0,0,0,1)');
- Node129.a('node.font',' '+ Node129fontSize + 'px "Arial"');
- Node129.a('node.textvisible',true);
- Node129.a('node.linefeed',false);
- if (false) {
- Node129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129.a('node.text') || '0';
- var color=Node129.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node129width,Node129height,14.66663*_ratio.ratioY,"center",color,' '+ Node129fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129.a('node.underlinepoints',[Node129lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node129fontSize + 'px "Arial"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
- Node129.a('node.underlinevisible',false);
- Node129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129);
- zoomNodeList.push({
- node: Node129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130type = 'rect';
- var Node130 = new ht.Node(),
- Node130BorderWidth = 1*2;
- if (Node130type === 'arc') {
- Node130BorderWidth *= 1;
- }
- Node130.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node130type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node130.setPosition(1282*ratio.ratioX, 75*ratio.ratioY);
- Node130.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node130.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node130.a('node.width', 65*_ratio.ratioX);
- Node130.a('node.height', 24.33138*_ratio.ratioY);
- Node130.a('node.type', Node130type);
- Node130.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node130.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node130.a('node.gradientcolor', '');
- Node130.a('node.gradient', '');
- Node130.a('node.borderwidth', Node130BorderWidth);
- Node130.a('node.color', 'rgba(224,224,224,1)');
- Node130.a('node.fillrect', [0,0,0,0]);
- Node130.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node130.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node130.a('node.fillgradient', '');
- if (Node130type !== 'rect') {
- Node130.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node130.a('node.arcTo', parseFloat('@arcTo@'));
- Node130.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node130type === 'arc') {
- Node130.a('node.arcOval', true);
- }
- Node130.setRotation(0*Math.PI/180);
- Node130.borderWidth = Node130BorderWidth;
- Node130.borderFillwidth = Node130BorderWidth;
- dataModel.add(Node130);
- Node130._nodename = 'Node130'
- Node130._nodeType = 'rect';
- zoomNodeList.push({
- node: Node130,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node130, Node130.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131type = 'rect';
- var Node131 = new ht.Node(),
- Node131BorderWidth = 1*2;
- if (Node131type === 'arc') {
- Node131BorderWidth *= 1;
- }
- Node131.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node131type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node131.setPosition(1282*ratio.ratioX, 99*ratio.ratioY);
- Node131.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node131.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node131.a('node.width', 65*_ratio.ratioX);
- Node131.a('node.height', 24.33138*_ratio.ratioY);
- Node131.a('node.type', Node131type);
- Node131.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node131.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node131.a('node.gradientcolor', '');
- Node131.a('node.gradient', '');
- Node131.a('node.borderwidth', Node131BorderWidth);
- Node131.a('node.color', 'rgba(224,224,224,1)');
- Node131.a('node.fillrect', [0,0,0,0]);
- Node131.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradient', '');
- if (Node131type !== 'rect') {
- Node131.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node131.a('node.arcTo', parseFloat('@arcTo@'));
- Node131.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node131type === 'arc') {
- Node131.a('node.arcOval', true);
- }
- Node131.setRotation(0*Math.PI/180);
- Node131.borderWidth = Node131BorderWidth;
- Node131.borderFillwidth = Node131BorderWidth;
- dataModel.add(Node131);
- Node131._nodename = 'Node131'
- Node131._nodeType = 'rect';
- zoomNodeList.push({
- node: Node131,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node131, Node131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132type = 'rect';
- var Node132 = new ht.Node(),
- Node132BorderWidth = 1*2;
- if (Node132type === 'arc') {
- Node132BorderWidth *= 1;
- }
- Node132.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node132.setPosition(1282*ratio.ratioX, 124*ratio.ratioY);
- Node132.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node132.a('node.width', 65*_ratio.ratioX);
- Node132.a('node.height', 24.33136*_ratio.ratioY);
- Node132.a('node.type', Node132type);
- Node132.a('node.rect', [0, 0, 65*_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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node133type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node133.setPosition(1282*ratio.ratioX, 148*ratio.ratioY);
- Node133.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node133.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node133.a('node.width', 65*_ratio.ratioX);
- Node133.a('node.height', 24.33138*_ratio.ratioY);
- Node133.a('node.type', Node133type);
- Node133.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node133.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node133.a('node.gradientcolor', '');
- Node133.a('node.gradient', '');
- Node133.a('node.borderwidth', Node133BorderWidth);
- Node133.a('node.color', 'rgba(224,224,224,1)');
- Node133.a('node.fillrect', [0,0,0,0]);
- Node133.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradient', '');
- if (Node133type !== 'rect') {
- Node133.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node133.a('node.arcTo', parseFloat('@arcTo@'));
- Node133.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node133type === 'arc') {
- Node133.a('node.arcOval', true);
- }
- Node133.setRotation(0*Math.PI/180);
- Node133.borderWidth = Node133BorderWidth;
- Node133.borderFillwidth = Node133BorderWidth;
- dataModel.add(Node133);
- Node133._nodename = 'Node133'
- Node133._nodeType = 'rect';
- zoomNodeList.push({
- node: Node133,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node133, Node133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'center', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 59*_ratio.ratioX, Node134height = 26*_ratio.ratioY;
- (function () {
- if (Node134align === 'left') {
- Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
- Node134textWidth = Node134width;
- Node134lineStart = 1;
- } else if (Node134align === 'right') {
- Node134textStart = 0;
- Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
- Node134lineStart = (Node134width - (ht.Default.getTextSize('万kWh', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node134align === 'center') {
- Node134textStart = -3;
- Node134textWidth = Node134width;
- Node134lineStart = Node134width - ht.Default.getTextSize('万kWh', ' '+ Node134fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"'))
- Node134.setPosition(1283*ratio.ratioX, 53*ratio.ratioY);
- Node134.setWidth(Node134width);
- Node134.setHeight(Node134height);
- Node134._nodeType = 'text';
- Node134._disallowEvert = true;
- Node134.setRotation(0*Math.PI/180);
- Node134.a('node.width', Node134width);
- Node134.a('node.height', Node134height);
- Node134.a('node.rect', [0, 0, Node134width, Node134height]);
- Node134.a('node.bordercolor','rgba(128,128,128,1)');
- Node134.a('node.borderwidth', 0);
- Node134.a('node.background','' || 'rgba(0,0,0,0)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','');
- Node134.a('node.text','万kWh');
- Node134.a('node.textalign','center');
- Node134.a('node.textvAlign','middle');
- Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
- Node134.a('node.color','rgba(128,128,128,1)');
- Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"');
- Node134.a('node.textvisible',true);
- Node134.a('node.linefeed',false);
- if (false) {
- Node134.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node134.a('node.text') || '万kWh';
- var color=Node134.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"center",color,' '+ Node134fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node134.a('node.underlinepoints',[Node134lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
- Node134.a('node.underlinevisible',false);
- Node134.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node134);
- zoomNodeList.push({
- node: Node134,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135 = new ht.Node();
- var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'center', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 59*_ratio.ratioX, Node135height = 26*_ratio.ratioY;
- (function () {
- if (Node135align === 'left') {
- Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
- Node135textWidth = Node135width;
- Node135lineStart = 1;
- } else if (Node135align === 'right') {
- Node135textStart = 0;
- Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
- Node135lineStart = (Node135width - (ht.Default.getTextSize('万kWh', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node135align === 'center') {
- Node135textStart = -3;
- Node135textWidth = Node135width;
- Node135lineStart = Node135width - ht.Default.getTextSize('万kWh', ' '+ Node135fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
- Node135.setPosition(1283*ratio.ratioX, 77*ratio.ratioY);
- Node135.setWidth(Node135width);
- Node135.setHeight(Node135height);
- Node135._nodeType = 'text';
- Node135._disallowEvert = true;
- Node135.setRotation(0*Math.PI/180);
- Node135.a('node.width', Node135width);
- Node135.a('node.height', Node135height);
- Node135.a('node.rect', [0, 0, Node135width, Node135height]);
- Node135.a('node.bordercolor','rgba(128,128,128,1)');
- Node135.a('node.borderwidth', 0);
- Node135.a('node.background','' || 'rgba(0,0,0,0)');
- Node135.a('node.gradient','');
- Node135.a('node.gradientcolor','');
- Node135.a('node.text','万kWh');
- Node135.a('node.textalign','center');
- Node135.a('node.textvAlign','middle');
- Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
- Node135.a('node.color','rgba(128,128,128,1)');
- Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
- Node135.a('node.textvisible',true);
- Node135.a('node.linefeed',false);
- if (false) {
- Node135.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node135.a('node.text') || '万kWh';
- var color=Node135.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"center",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node135.a('node.underlinepoints',[Node135lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
- Node135.a('node.underlinevisible',false);
- Node135.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node135);
- zoomNodeList.push({
- node: Node135,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136 = new ht.Node();
- var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'center', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 59*_ratio.ratioX, Node136height = 26*_ratio.ratioY;
- (function () {
- if (Node136align === 'left') {
- Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
- Node136textWidth = Node136width;
- Node136lineStart = 1;
- } else if (Node136align === 'right') {
- Node136textStart = 0;
- Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
- Node136lineStart = (Node136width - (ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(1283*ratio.ratioX, 100*ratio.ratioY);
- Node136.setWidth(Node136width);
- Node136.setHeight(Node136height);
- Node136._nodeType = 'text';
- Node136._disallowEvert = true;
- Node136.setRotation(0*Math.PI/180);
- Node136.a('node.width', Node136width);
- Node136.a('node.height', Node136height);
- Node136.a('node.rect', [0, 0, Node136width, Node136height]);
- Node136.a('node.bordercolor','rgba(128,128,128,1)');
- Node136.a('node.borderwidth', 0);
- Node136.a('node.background','' || 'rgba(0,0,0,0)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','');
- Node136.a('node.text','万kWh');
- Node136.a('node.textalign','center');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(128,128,128,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
- Node136.a('node.textvisible',true);
- Node136.a('node.linefeed',false);
- if (false) {
- Node136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node136.a('node.text') || '万kWh';
- var color=Node136.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"center",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'center', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 59*_ratio.ratioX, Node137height = 26*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(1283*ratio.ratioX, 126*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(128,128,128,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','万kWh');
- Node137.a('node.textalign','center');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(128,128,128,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '万kWh';
- var color=Node137.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"center",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'center', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 59*_ratio.ratioX, Node138height = 26*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(1283*ratio.ratioX, 150*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(128,128,128,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','万kWh');
- Node138.a('node.textalign','center');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(128,128,128,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '万kWh';
- var color=Node138.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"center",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.Node();
- var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'left', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 67*_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('装机容量', ' '+ Node139fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('装机容量', ' '+ Node139fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "微软雅黑"'))
- Node139.setPosition(228*ratio.ratioX, 52*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','装机容量');
- Node139.a('node.textalign','left');
- 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 "微软雅黑"');
- 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') || '装机容量';
- 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,"left",color,' '+ Node139fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node139fontSize + 'px "微软雅黑"').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 Node140type = 'rect';
- var Node140 = new ht.Node(),
- Node140BorderWidth = 1*2;
- if (Node140type === 'arc') {
- Node140BorderWidth *= 1;
- }
- Node140.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node140type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node140.setPosition(359*ratio.ratioX, 51*ratio.ratioY);
- Node140.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node140.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node140.a('node.width', 94*_ratio.ratioX);
- Node140.a('node.height', 24.33136*_ratio.ratioY);
- Node140.a('node.type', Node140type);
- Node140.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node140.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node140.a('node.gradientcolor', '');
- Node140.a('node.gradient', '');
- Node140.a('node.borderwidth', Node140BorderWidth);
- Node140.a('node.color', 'rgba(224,224,224,1)');
- Node140.a('node.fillrect', [0,0,0,0]);
- Node140.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node140.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node140.a('node.fillgradient', '');
- if (Node140type !== 'rect') {
- Node140.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node140.a('node.arcTo', parseFloat('@arcTo@'));
- Node140.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node140type === 'arc') {
- Node140.a('node.arcOval', true);
- }
- Node140.setRotation(0*Math.PI/180);
- Node140.borderWidth = Node140BorderWidth;
- Node140.borderFillwidth = Node140BorderWidth;
- dataModel.add(Node140);
- Node140._nodename = 'Node140'
- Node140._nodeType = 'rect';
- zoomNodeList.push({
- node: Node140,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node140, Node140.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141type = 'rect';
- var Node141 = new ht.Node(),
- Node141BorderWidth = 1*2;
- if (Node141type === 'arc') {
- Node141BorderWidth *= 1;
- }
- Node141.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node141type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node141.setPosition(359*ratio.ratioX, 75*ratio.ratioY);
- Node141.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node141.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node141.a('node.width', 94*_ratio.ratioX);
- Node141.a('node.height', 24.33138*_ratio.ratioY);
- Node141.a('node.type', Node141type);
- Node141.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_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(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node142.setPosition(359*ratio.ratioX, 99*ratio.ratioY);
- Node142.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node142.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node142.a('node.width', 94*_ratio.ratioX);
- Node142.a('node.height', 24.33138*_ratio.ratioY);
- Node142.a('node.type', Node142type);
- Node142.a('node.rect', [0, 0, 94*_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(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node143.setPosition(359*ratio.ratioX, 124*ratio.ratioY);
- Node143.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node143.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node143.a('node.width', 94*_ratio.ratioX);
- Node143.a('node.height', 24.33136*_ratio.ratioY);
- Node143.a('node.type', Node143type);
- Node143.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node143.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node143.a('node.gradientcolor', '');
- Node143.a('node.gradient', '');
- Node143.a('node.borderwidth', Node143BorderWidth);
- Node143.a('node.color', 'rgba(224,224,224,1)');
- Node143.a('node.fillrect', [0,0,0,0]);
- Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradient', '');
- if (Node143type !== 'rect') {
- Node143.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node143.a('node.arcTo', parseFloat('@arcTo@'));
- Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node143type === 'arc') {
- Node143.a('node.arcOval', true);
- }
- Node143.setRotation(0*Math.PI/180);
- Node143.borderWidth = Node143BorderWidth;
- Node143.borderFillwidth = Node143BorderWidth;
- dataModel.add(Node143);
- Node143._nodename = 'Node143'
- Node143._nodeType = 'rect';
- zoomNodeList.push({
- node: Node143,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144type = 'rect';
- var Node144 = new ht.Node(),
- Node144BorderWidth = 1*2;
- if (Node144type === 'arc') {
- Node144BorderWidth *= 1;
- }
- Node144.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node144.setPosition(359*ratio.ratioX, 148*ratio.ratioY);
- Node144.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node144.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node144.a('node.width', 94*_ratio.ratioX);
- Node144.a('node.height', 24.33138*_ratio.ratioY);
- Node144.a('node.type', Node144type);
- Node144.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node144.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node144.a('node.gradientcolor', '');
- Node144.a('node.gradient', '');
- Node144.a('node.borderwidth', Node144BorderWidth);
- Node144.a('node.color', 'rgba(224,224,224,1)');
- Node144.a('node.fillrect', [0,0,0,0]);
- Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradient', '');
- if (Node144type !== 'rect') {
- Node144.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node144.a('node.arcTo', parseFloat('@arcTo@'));
- Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node144type === 'arc') {
- Node144.a('node.arcOval', true);
- }
- Node144.setRotation(0*Math.PI/180);
- Node144.borderWidth = Node144BorderWidth;
- Node144.borderFillwidth = Node144BorderWidth;
- dataModel.add(Node144);
- Node144._nodename = 'Node144'
- Node144._nodeType = 'rect';
- zoomNodeList.push({
- node: Node144,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.Node();
- var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'center', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 58*_ratio.ratioX, Node145height = 26*_ratio.ratioY;
- (function () {
- if (Node145align === 'left') {
- Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
- Node145textWidth = Node145width;
- Node145lineStart = 1;
- } else if (Node145align === 'right') {
- Node145textStart = 0;
- Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
- Node145lineStart = (Node145width - (ht.Default.getTextSize('0', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node145align === 'center') {
- Node145textStart = -3;
- Node145textWidth = Node145width;
- Node145lineStart = Node145width - ht.Default.getTextSize('0', ' '+ Node145fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"'))
- Node145.setPosition(359*ratio.ratioX, 53*ratio.ratioY);
- Node145.setWidth(Node145width);
- Node145.setHeight(Node145height);
- Node145._nodeType = 'text';
- Node145._disallowEvert = true;
- Node145.setRotation(0*Math.PI/180);
- Node145.a('node.width', Node145width);
- Node145.a('node.height', Node145height);
- Node145.a('node.rect', [0, 0, Node145width, Node145height]);
- Node145.a('node.bordercolor','rgba(0,0,0,1)');
- Node145.a('node.borderwidth', 0);
- Node145.a('node.background','' || 'rgba(0,0,0,0)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','');
- Node145.a('node.text','0');
- Node145.a('node.textalign','center');
- Node145.a('node.textvAlign','middle');
- Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
- Node145.a('node.color','rgba(0,0,0,1)');
- Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"');
- Node145.a('node.textvisible',true);
- Node145.a('node.linefeed',false);
- if (false) {
- Node145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node145.a('node.text') || '0';
- var color=Node145.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"center",color,' '+ Node145fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node145.a('node.underlinepoints',[Node145lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
- Node145.a('node.underlinevisible',false);
- Node145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node145);
- zoomNodeList.push({
- node: Node145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146 = new ht.Node();
- var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'center', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 58*_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('0', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node146align === 'center') {
- Node146textStart = -3;
- Node146textWidth = Node146width;
- Node146lineStart = Node146width - ht.Default.getTextSize('0', ' '+ Node146fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"'))
- Node146.setPosition(359*ratio.ratioX, 77*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(0,0,0,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','0');
- Node146.a('node.textalign','center');
- Node146.a('node.textvAlign','middle');
- Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]);
- Node146.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node146.a('node.color') || 'rgba(0,0,0,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('0', ' '+ 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 = 58*_ratio.ratioX, Node147height = 26*_ratio.ratioY;
- (function () {
- if (Node147align === 'left') {
- Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
- Node147textWidth = Node147width;
- Node147lineStart = 1;
- } else if (Node147align === 'right') {
- Node147textStart = 0;
- Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
- Node147lineStart = (Node147width - (ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node147align === 'center') {
- Node147textStart = -3;
- Node147textWidth = Node147width;
- Node147lineStart = Node147width - ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
- Node147.setPosition(359*ratio.ratioX, 102*ratio.ratioY);
- Node147.setWidth(Node147width);
- Node147.setHeight(Node147height);
- Node147._nodeType = 'text';
- Node147._disallowEvert = true;
- Node147.setRotation(0*Math.PI/180);
- Node147.a('node.width', Node147width);
- Node147.a('node.height', Node147height);
- Node147.a('node.rect', [0, 0, Node147width, Node147height]);
- Node147.a('node.bordercolor','rgba(0,0,0,1)');
- Node147.a('node.borderwidth', 0);
- Node147.a('node.background','' || 'rgba(0,0,0,0)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','');
- Node147.a('node.text','0');
- Node147.a('node.textalign','center');
- Node147.a('node.textvAlign','middle');
- Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
- Node147.a('node.color','rgba(0,0,0,1)');
- Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
- Node147.a('node.textvisible',true);
- Node147.a('node.linefeed',false);
- if (false) {
- Node147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node147.a('node.text') || '0';
- var color=Node147.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"center",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node147.a('node.underlinepoints',[Node147lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
- Node147.a('node.underlinevisible',false);
- Node147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node147);
- zoomNodeList.push({
- node: Node147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'center', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 58*_ratio.ratioX, Node148height = 26*_ratio.ratioY;
- (function () {
- if (Node148align === 'left') {
- Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9;
- Node148textWidth = Node148width;
- Node148lineStart = 1;
- } else if (Node148align === 'right') {
- Node148textStart = 0;
- Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2;
- Node148lineStart = (Node148width - (ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(359*ratio.ratioX, 125*ratio.ratioY);
- Node148.setWidth(Node148width);
- Node148.setHeight(Node148height);
- Node148._nodeType = 'text';
- Node148._disallowEvert = true;
- Node148.setRotation(0*Math.PI/180);
- Node148.a('node.width', Node148width);
- Node148.a('node.height', Node148height);
- Node148.a('node.rect', [0, 0, Node148width, Node148height]);
- Node148.a('node.bordercolor','rgba(0,0,0,1)');
- Node148.a('node.borderwidth', 0);
- Node148.a('node.background','' || 'rgba(0,0,0,0)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','');
- Node148.a('node.text','0');
- Node148.a('node.textalign','center');
- Node148.a('node.textvAlign','middle');
- Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
- Node148.a('node.color','rgba(0,0,0,1)');
- Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"');
- Node148.a('node.textvisible',true);
- Node148.a('node.linefeed',false);
- if (false) {
- Node148.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node148.a('node.text') || '0';
- var color=Node148.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"center",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
- Node148.a('node.underlinevisible',false);
- Node148.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node148);
- zoomNodeList.push({
- node: Node148,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149 = new ht.Node();
- var Node149textStart, Node149textWidth, Node149lineStart, Node149align = 'center', Node149fontSize = 13.3333*_ratio.ratioY,Node149width = 58*_ratio.ratioX, Node149height = 26*_ratio.ratioY;
- (function () {
- if (Node149align === 'left') {
- Node149textStart = Node149fontSize * 0.2 > 2 ? Node149fontSize * 0.2 - 4 : Node149fontSize * 0.2 - 9;
- Node149textWidth = Node149width;
- Node149lineStart = 1;
- } else if (Node149align === 'right') {
- Node149textStart = 0;
- Node149textWidth =Node149fontSize <= 8 ? Node149width + Node149fontSize * 0.2 + 6 : Node149width - Node149fontSize * 0.2;
- Node149lineStart = (Node149width - (ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node149align === 'center') {
- Node149textStart = -3;
- Node149textWidth = Node149width;
- Node149lineStart = Node149width - ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node149.setImage(GD.getTextJSON(Node149width, Node149height, true, false, false, ' '+ Node149fontSize + 'px "Arial"'))
- Node149.setPosition(359*ratio.ratioX, 149*ratio.ratioY);
- Node149.setWidth(Node149width);
- Node149.setHeight(Node149height);
- Node149._nodeType = 'text';
- Node149._disallowEvert = true;
- Node149.setRotation(0*Math.PI/180);
- Node149.a('node.width', Node149width);
- Node149.a('node.height', Node149height);
- Node149.a('node.rect', [0, 0, Node149width, Node149height]);
- Node149.a('node.bordercolor','rgba(0,0,0,1)');
- Node149.a('node.borderwidth', 0);
- Node149.a('node.background','' || 'rgba(0,0,0,0)');
- Node149.a('node.gradient','');
- Node149.a('node.gradientcolor','');
- Node149.a('node.text','0');
- Node149.a('node.textalign','center');
- Node149.a('node.textvAlign','middle');
- Node149.a('node.textrect', [Node149textStart, 0, Node149textWidth, Node149height]);
- Node149.a('node.color','rgba(0,0,0,1)');
- Node149.a('node.font',' '+ Node149fontSize + 'px "Arial"');
- Node149.a('node.textvisible',true);
- Node149.a('node.linefeed',false);
- if (false) {
- Node149.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node149.a('node.text') || '0';
- var color=Node149.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node149width,Node149height,13.3333*_ratio.ratioY,"center",color,' '+ Node149fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node149.a('node.underlinepoints',[Node149lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node149fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node149fontSize + 'px "Arial"').width + 6, (Node149height - Node149fontSize) * 0.5*_ratio.ratioY + Node149fontSize + 2 ]);
- Node149.a('node.underlinevisible',false);
- Node149.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node149);
- zoomNodeList.push({
- node: Node149,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150type = 'rect';
- var Node150 = new ht.Node(),
- Node150BorderWidth = 1*2;
- if (Node150type === 'arc') {
- Node150BorderWidth *= 1;
- }
- Node150.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node150type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node150.setPosition(438*ratio.ratioX, 51*ratio.ratioY);
- Node150.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node150.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node150.a('node.width', 65*_ratio.ratioX);
- Node150.a('node.height', 24.33136*_ratio.ratioY);
- Node150.a('node.type', Node150type);
- Node150.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node150.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node150.a('node.gradientcolor', '');
- Node150.a('node.gradient', '');
- Node150.a('node.borderwidth', Node150BorderWidth);
- Node150.a('node.color', 'rgba(224,224,224,1)');
- Node150.a('node.fillrect', [0,0,0,0]);
- Node150.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node150.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node150.a('node.fillgradient', '');
- if (Node150type !== 'rect') {
- Node150.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node150.a('node.arcTo', parseFloat('@arcTo@'));
- Node150.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node150type === 'arc') {
- Node150.a('node.arcOval', true);
- }
- Node150.setRotation(0*Math.PI/180);
- Node150.borderWidth = Node150BorderWidth;
- Node150.borderFillwidth = Node150BorderWidth;
- dataModel.add(Node150);
- Node150._nodename = 'Node150'
- Node150._nodeType = 'rect';
- zoomNodeList.push({
- node: Node150,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node150, Node150.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151type = 'rect';
- var Node151 = new ht.Node(),
- Node151BorderWidth = 1*2;
- if (Node151type === 'arc') {
- Node151BorderWidth *= 1;
- }
- Node151.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node151type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node151.setPosition(438*ratio.ratioX, 75*ratio.ratioY);
- Node151.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node151.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node151.a('node.width', 65*_ratio.ratioX);
- Node151.a('node.height', 24.33138*_ratio.ratioY);
- Node151.a('node.type', Node151type);
- Node151.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node151.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node151.a('node.gradientcolor', '');
- Node151.a('node.gradient', '');
- Node151.a('node.borderwidth', Node151BorderWidth);
- Node151.a('node.color', 'rgba(224,224,224,1)');
- Node151.a('node.fillrect', [0,0,0,0]);
- Node151.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node151.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node151.a('node.fillgradient', '');
- if (Node151type !== 'rect') {
- Node151.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node151.a('node.arcTo', parseFloat('@arcTo@'));
- Node151.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node151type === 'arc') {
- Node151.a('node.arcOval', true);
- }
- Node151.setRotation(0*Math.PI/180);
- Node151.borderWidth = Node151BorderWidth;
- Node151.borderFillwidth = Node151BorderWidth;
- dataModel.add(Node151);
- Node151._nodename = 'Node151'
- Node151._nodeType = 'rect';
- zoomNodeList.push({
- node: Node151,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node151, Node151.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152type = 'rect';
- var Node152 = new ht.Node(),
- Node152BorderWidth = 1*2;
- if (Node152type === 'arc') {
- Node152BorderWidth *= 1;
- }
- Node152.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node152type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node152.setPosition(438*ratio.ratioX, 99*ratio.ratioY);
- Node152.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node152.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node152.a('node.width', 65*_ratio.ratioX);
- Node152.a('node.height', 24.33138*_ratio.ratioY);
- Node152.a('node.type', Node152type);
- Node152.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node152.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node152.a('node.gradientcolor', '');
- Node152.a('node.gradient', '');
- Node152.a('node.borderwidth', Node152BorderWidth);
- Node152.a('node.color', 'rgba(224,224,224,1)');
- Node152.a('node.fillrect', [0,0,0,0]);
- Node152.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node152.a('node.fillgradient', '');
- if (Node152type !== 'rect') {
- Node152.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node152.a('node.arcTo', parseFloat('@arcTo@'));
- Node152.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node152type === 'arc') {
- Node152.a('node.arcOval', true);
- }
- Node152.setRotation(0*Math.PI/180);
- Node152.borderWidth = Node152BorderWidth;
- Node152.borderFillwidth = Node152BorderWidth;
- dataModel.add(Node152);
- Node152._nodename = 'Node152'
- Node152._nodeType = 'rect';
- zoomNodeList.push({
- node: Node152,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node152, Node152.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153type = 'rect';
- var Node153 = new ht.Node(),
- Node153BorderWidth = 1*2;
- if (Node153type === 'arc') {
- Node153BorderWidth *= 1;
- }
- Node153.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node153type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node153.setPosition(438*ratio.ratioX, 124*ratio.ratioY);
- Node153.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node153.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node153.a('node.width', 65*_ratio.ratioX);
- Node153.a('node.height', 24.33136*_ratio.ratioY);
- Node153.a('node.type', Node153type);
- Node153.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node153.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node153.a('node.gradientcolor', '');
- Node153.a('node.gradient', '');
- Node153.a('node.borderwidth', Node153BorderWidth);
- Node153.a('node.color', 'rgba(224,224,224,1)');
- Node153.a('node.fillrect', [0,0,0,0]);
- Node153.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node153.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node153.a('node.fillgradient', '');
- if (Node153type !== 'rect') {
- Node153.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node153.a('node.arcTo', parseFloat('@arcTo@'));
- Node153.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node153type === 'arc') {
- Node153.a('node.arcOval', true);
- }
- Node153.setRotation(0*Math.PI/180);
- Node153.borderWidth = Node153BorderWidth;
- Node153.borderFillwidth = Node153BorderWidth;
- dataModel.add(Node153);
- Node153._nodename = 'Node153'
- Node153._nodeType = 'rect';
- zoomNodeList.push({
- node: Node153,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node153, Node153.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154type = 'rect';
- var Node154 = new ht.Node(),
- Node154BorderWidth = 1*2;
- if (Node154type === 'arc') {
- Node154BorderWidth *= 1;
- }
- Node154.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node154type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node154.setPosition(438*ratio.ratioX, 148*ratio.ratioY);
- Node154.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node154.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node154.a('node.width', 65*_ratio.ratioX);
- Node154.a('node.height', 24.33138*_ratio.ratioY);
- Node154.a('node.type', Node154type);
- Node154.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node154.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node154.a('node.gradientcolor', '');
- Node154.a('node.gradient', '');
- Node154.a('node.borderwidth', Node154BorderWidth);
- Node154.a('node.color', 'rgba(224,224,224,1)');
- Node154.a('node.fillrect', [0,0,0,0]);
- Node154.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node154.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node154.a('node.fillgradient', '');
- if (Node154type !== 'rect') {
- Node154.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node154.a('node.arcTo', parseFloat('@arcTo@'));
- Node154.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node154type === 'arc') {
- Node154.a('node.arcOval', true);
- }
- Node154.setRotation(0*Math.PI/180);
- Node154.borderWidth = Node154BorderWidth;
- Node154.borderFillwidth = Node154BorderWidth;
- dataModel.add(Node154);
- Node154._nodename = 'Node154'
- Node154._nodeType = 'rect';
- zoomNodeList.push({
- node: Node154,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node154, Node154.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node155 = new ht.Node();
- var Node155textStart, Node155textWidth, Node155lineStart, Node155align = 'center', Node155fontSize = 13.3333*_ratio.ratioY,Node155width = 59*_ratio.ratioX, Node155height = 26*_ratio.ratioY;
- (function () {
- if (Node155align === 'left') {
- Node155textStart = Node155fontSize * 0.2 > 2 ? Node155fontSize * 0.2 - 4 : Node155fontSize * 0.2 - 9;
- Node155textWidth = Node155width;
- Node155lineStart = 1;
- } else if (Node155align === 'right') {
- Node155textStart = 0;
- Node155textWidth =Node155fontSize <= 8 ? Node155width + Node155fontSize * 0.2 + 6 : Node155width - Node155fontSize * 0.2;
- Node155lineStart = (Node155width - (ht.Default.getTextSize('万kW', ' '+ Node155fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node155align === 'center') {
- Node155textStart = -3;
- Node155textWidth = Node155width;
- Node155lineStart = Node155width - ht.Default.getTextSize('万kW', ' '+ Node155fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node155.setImage(GD.getTextJSON(Node155width, Node155height, true, false, false, ' '+ Node155fontSize + 'px "Arial"'))
- Node155.setPosition(439*ratio.ratioX, 53*ratio.ratioY);
- Node155.setWidth(Node155width);
- Node155.setHeight(Node155height);
- Node155._nodeType = 'text';
- Node155._disallowEvert = true;
- Node155.setRotation(0*Math.PI/180);
- Node155.a('node.width', Node155width);
- Node155.a('node.height', Node155height);
- Node155.a('node.rect', [0, 0, Node155width, Node155height]);
- Node155.a('node.bordercolor','rgba(128,128,128,1)');
- Node155.a('node.borderwidth', 0);
- Node155.a('node.background','' || 'rgba(0,0,0,0)');
- Node155.a('node.gradient','');
- Node155.a('node.gradientcolor','');
- Node155.a('node.text','万kW');
- Node155.a('node.textalign','center');
- Node155.a('node.textvAlign','middle');
- Node155.a('node.textrect', [Node155textStart, 0, Node155textWidth, Node155height]);
- Node155.a('node.color','rgba(128,128,128,1)');
- Node155.a('node.font',' '+ Node155fontSize + 'px "Arial"');
- Node155.a('node.textvisible',true);
- Node155.a('node.linefeed',false);
- if (false) {
- Node155.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node155.a('node.text') || '万kW';
- var color=Node155.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node155width,Node155height,13.3333*_ratio.ratioY,"center",color,' '+ Node155fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node155.a('node.underlinepoints',[Node155lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node155fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node155fontSize + 'px "Arial"').width + 6, (Node155height - Node155fontSize) * 0.5*_ratio.ratioY + Node155fontSize + 2 ]);
- Node155.a('node.underlinevisible',false);
- Node155.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node155);
- zoomNodeList.push({
- node: Node155,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.Node();
- var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'center', Node156fontSize = 13.3333*_ratio.ratioY,Node156width = 59*_ratio.ratioX, Node156height = 26*_ratio.ratioY;
- (function () {
- if (Node156align === 'left') {
- Node156textStart = Node156fontSize * 0.2 > 2 ? Node156fontSize * 0.2 - 4 : Node156fontSize * 0.2 - 9;
- Node156textWidth = Node156width;
- Node156lineStart = 1;
- } else if (Node156align === 'right') {
- Node156textStart = 0;
- Node156textWidth =Node156fontSize <= 8 ? Node156width + Node156fontSize * 0.2 + 6 : Node156width - Node156fontSize * 0.2;
- Node156lineStart = (Node156width - (ht.Default.getTextSize('MW', ' '+ Node156fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node156align === 'center') {
- Node156textStart = -3;
- Node156textWidth = Node156width;
- Node156lineStart = Node156width - ht.Default.getTextSize('MW', ' '+ Node156fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, ' '+ Node156fontSize + 'px "Arial"'))
- Node156.setPosition(439*ratio.ratioX, 77*ratio.ratioY);
- Node156.setWidth(Node156width);
- Node156.setHeight(Node156height);
- Node156._nodeType = 'text';
- Node156._disallowEvert = true;
- Node156.setRotation(0*Math.PI/180);
- Node156.a('node.width', Node156width);
- Node156.a('node.height', Node156height);
- Node156.a('node.rect', [0, 0, Node156width, Node156height]);
- Node156.a('node.bordercolor','rgba(128,128,128,1)');
- Node156.a('node.borderwidth', 0);
- Node156.a('node.background','' || 'rgba(0,0,0,0)');
- Node156.a('node.gradient','');
- Node156.a('node.gradientcolor','');
- Node156.a('node.text','MW');
- Node156.a('node.textalign','center');
- Node156.a('node.textvAlign','middle');
- Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]);
- Node156.a('node.color','rgba(128,128,128,1)');
- Node156.a('node.font',' '+ Node156fontSize + 'px "Arial"');
- Node156.a('node.textvisible',true);
- Node156.a('node.linefeed',false);
- if (false) {
- Node156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node156.a('node.text') || 'MW';
- var color=Node156.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node156width,Node156height,13.3333*_ratio.ratioY,"center",color,' '+ Node156fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node156.a('node.underlinepoints',[Node156lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node156fontSize + 'px "Arial"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]);
- Node156.a('node.underlinevisible',false);
- Node156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node156);
- zoomNodeList.push({
- node: Node156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'center', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 59*_ratio.ratioX, Node157height = 26*_ratio.ratioY;
- (function () {
- if (Node157align === 'left') {
- Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9;
- Node157textWidth = Node157width;
- Node157lineStart = 1;
- } else if (Node157align === 'right') {
- Node157textStart = 0;
- Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2;
- Node157lineStart = (Node157width - (ht.Default.getTextSize('m/s', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('m/s', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(439*ratio.ratioX, 100*ratio.ratioY);
- Node157.setWidth(Node157width);
- Node157.setHeight(Node157height);
- Node157._nodeType = 'text';
- Node157._disallowEvert = true;
- Node157.setRotation(0*Math.PI/180);
- Node157.a('node.width', Node157width);
- Node157.a('node.height', Node157height);
- Node157.a('node.rect', [0, 0, Node157width, Node157height]);
- Node157.a('node.bordercolor','rgba(128,128,128,1)');
- Node157.a('node.borderwidth', 0);
- Node157.a('node.background','' || 'rgba(0,0,0,0)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','');
- Node157.a('node.text','m/s');
- Node157.a('node.textalign','center');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(128,128,128,1)');
- Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || 'm/s';
- var color=Node157.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"center",color,' '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'center', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 59*_ratio.ratioX, Node158height = 26*_ratio.ratioY;
- (function () {
- if (Node158align === 'left') {
- Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
- Node158textWidth = Node158width;
- Node158lineStart = 1;
- } else if (Node158align === 'right') {
- Node158textStart = 0;
- Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
- Node158lineStart = (Node158width - (ht.Default.getTextSize('万kWh', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('万kWh', ' '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(439*ratio.ratioX, 126*ratio.ratioY);
- Node158.setWidth(Node158width);
- Node158.setHeight(Node158height);
- Node158._nodeType = 'text';
- Node158._disallowEvert = true;
- Node158.setRotation(0*Math.PI/180);
- Node158.a('node.width', Node158width);
- Node158.a('node.height', Node158height);
- Node158.a('node.rect', [0, 0, Node158width, Node158height]);
- Node158.a('node.bordercolor','rgba(128,128,128,1)');
- Node158.a('node.borderwidth', 0);
- Node158.a('node.background','' || 'rgba(0,0,0,0)');
- Node158.a('node.gradient','');
- Node158.a('node.gradientcolor','');
- Node158.a('node.text','万kWh');
- Node158.a('node.textalign','center');
- Node158.a('node.textvAlign','middle');
- Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
- Node158.a('node.color','rgba(128,128,128,1)');
- Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || '万kWh';
- var color=Node158.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"center",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
- Node158.a('node.underlinevisible',false);
- Node158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158);
- zoomNodeList.push({
- node: Node158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159 = new ht.Node();
- var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'center', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 59*_ratio.ratioX, Node159height = 26*_ratio.ratioY;
- (function () {
- if (Node159align === 'left') {
- Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
- Node159textWidth = Node159width;
- Node159lineStart = 1;
- } else if (Node159align === 'right') {
- Node159textStart = 0;
- Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
- Node159lineStart = (Node159width - (ht.Default.getTextSize('万kWh', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('万kWh', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(439*ratio.ratioX, 150*ratio.ratioY);
- Node159.setWidth(Node159width);
- Node159.setHeight(Node159height);
- Node159._nodeType = 'text';
- Node159._disallowEvert = true;
- Node159.setRotation(0*Math.PI/180);
- Node159.a('node.width', Node159width);
- Node159.a('node.height', Node159height);
- Node159.a('node.rect', [0, 0, Node159width, Node159height]);
- Node159.a('node.bordercolor','rgba(128,128,128,1)');
- Node159.a('node.borderwidth', 0);
- Node159.a('node.background','' || 'rgba(0,0,0,0)');
- Node159.a('node.gradient','');
- Node159.a('node.gradientcolor','');
- Node159.a('node.text','万kWh');
- Node159.a('node.textalign','center');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(128,128,128,1)');
- Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"');
- Node159.a('node.textvisible',true);
- Node159.a('node.linefeed',false);
- if (false) {
- Node159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node159.a('node.text') || '万kWh';
- var color=Node159.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"center",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160type = 'rect';
- var Node160 = new ht.Node(),
- Node160BorderWidth = 1*2;
- if (Node160type === 'arc') {
- Node160BorderWidth *= 1;
- }
- Node160.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node160type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node160.setPosition(643*ratio.ratioX, 51*ratio.ratioY);
- Node160.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node160.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node160.a('node.width', 94*_ratio.ratioX);
- Node160.a('node.height', 24.33136*_ratio.ratioY);
- Node160.a('node.type', Node160type);
- Node160.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node160.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node160.a('node.gradientcolor', '');
- Node160.a('node.gradient', '');
- Node160.a('node.borderwidth', Node160BorderWidth);
- Node160.a('node.color', 'rgba(224,224,224,1)');
- Node160.a('node.fillrect', [0,0,0,0]);
- Node160.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node160.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node160.a('node.fillgradient', '');
- if (Node160type !== 'rect') {
- Node160.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node160.a('node.arcTo', parseFloat('@arcTo@'));
- Node160.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node160type === 'arc') {
- Node160.a('node.arcOval', true);
- }
- Node160.setRotation(0*Math.PI/180);
- Node160.borderWidth = Node160BorderWidth;
- Node160.borderFillwidth = Node160BorderWidth;
- dataModel.add(Node160);
- Node160._nodename = 'Node160'
- Node160._nodeType = 'rect';
- zoomNodeList.push({
- node: Node160,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node160, Node160.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161type = 'rect';
- var Node161 = new ht.Node(),
- Node161BorderWidth = 1*2;
- if (Node161type === 'arc') {
- Node161BorderWidth *= 1;
- }
- Node161.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node161.setPosition(643*ratio.ratioX, 75*ratio.ratioY);
- Node161.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node161.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node161.a('node.width', 94*_ratio.ratioX);
- Node161.a('node.height', 24.33138*_ratio.ratioY);
- Node161.a('node.type', Node161type);
- Node161.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node161.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node161.a('node.gradientcolor', '');
- Node161.a('node.gradient', '');
- Node161.a('node.borderwidth', Node161BorderWidth);
- Node161.a('node.color', 'rgba(224,224,224,1)');
- Node161.a('node.fillrect', [0,0,0,0]);
- Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradient', '');
- if (Node161type !== 'rect') {
- Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node161.a('node.arcTo', parseFloat('@arcTo@'));
- Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node161type === 'arc') {
- Node161.a('node.arcOval', true);
- }
- Node161.setRotation(0*Math.PI/180);
- Node161.borderWidth = Node161BorderWidth;
- Node161.borderFillwidth = Node161BorderWidth;
- dataModel.add(Node161);
- Node161._nodename = 'Node161'
- Node161._nodeType = 'rect';
- zoomNodeList.push({
- node: Node161,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node161, Node161.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162type = 'rect';
- var Node162 = new ht.Node(),
- Node162BorderWidth = 1*2;
- if (Node162type === 'arc') {
- Node162BorderWidth *= 1;
- }
- Node162.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node162.setPosition(643*ratio.ratioX, 99*ratio.ratioY);
- Node162.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node162.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node162.a('node.width', 94*_ratio.ratioX);
- Node162.a('node.height', 24.33138*_ratio.ratioY);
- Node162.a('node.type', Node162type);
- Node162.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node162.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node162.a('node.gradientcolor', '');
- Node162.a('node.gradient', '');
- Node162.a('node.borderwidth', Node162BorderWidth);
- Node162.a('node.color', 'rgba(224,224,224,1)');
- Node162.a('node.fillrect', [0,0,0,0]);
- Node162.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradient', '');
- if (Node162type !== 'rect') {
- Node162.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node162.a('node.arcTo', parseFloat('@arcTo@'));
- Node162.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node162type === 'arc') {
- Node162.a('node.arcOval', true);
- }
- Node162.setRotation(0*Math.PI/180);
- Node162.borderWidth = Node162BorderWidth;
- Node162.borderFillwidth = Node162BorderWidth;
- dataModel.add(Node162);
- Node162._nodename = 'Node162'
- Node162._nodeType = 'rect';
- zoomNodeList.push({
- node: Node162,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node162, Node162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163type = 'rect';
- var Node163 = new ht.Node(),
- Node163BorderWidth = 1*2;
- if (Node163type === 'arc') {
- Node163BorderWidth *= 1;
- }
- Node163.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node163type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node163.setPosition(643*ratio.ratioX, 124*ratio.ratioY);
- Node163.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node163.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node163.a('node.width', 94*_ratio.ratioX);
- Node163.a('node.height', 24.33136*_ratio.ratioY);
- Node163.a('node.type', Node163type);
- Node163.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node163.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node163.a('node.gradientcolor', '');
- Node163.a('node.gradient', '');
- Node163.a('node.borderwidth', Node163BorderWidth);
- Node163.a('node.color', 'rgba(224,224,224,1)');
- Node163.a('node.fillrect', [0,0,0,0]);
- Node163.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradient', '');
- if (Node163type !== 'rect') {
- Node163.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node163.a('node.arcTo', parseFloat('@arcTo@'));
- Node163.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node163type === 'arc') {
- Node163.a('node.arcOval', true);
- }
- Node163.setRotation(0*Math.PI/180);
- Node163.borderWidth = Node163BorderWidth;
- Node163.borderFillwidth = Node163BorderWidth;
- dataModel.add(Node163);
- Node163._nodename = 'Node163'
- Node163._nodeType = 'rect';
- zoomNodeList.push({
- node: Node163,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node163, Node163.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164type = 'rect';
- var Node164 = new ht.Node(),
- Node164BorderWidth = 1*2;
- if (Node164type === 'arc') {
- Node164BorderWidth *= 1;
- }
- Node164.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node164type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node164.setPosition(643*ratio.ratioX, 148*ratio.ratioY);
- Node164.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node164.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node164.a('node.width', 94*_ratio.ratioX);
- Node164.a('node.height', 24.33138*_ratio.ratioY);
- Node164.a('node.type', Node164type);
- Node164.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node164.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node164.a('node.gradientcolor', '');
- Node164.a('node.gradient', '');
- Node164.a('node.borderwidth', Node164BorderWidth);
- Node164.a('node.color', 'rgba(224,224,224,1)');
- Node164.a('node.fillrect', [0,0,0,0]);
- Node164.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradient', '');
- if (Node164type !== 'rect') {
- Node164.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node164.a('node.arcTo', parseFloat('@arcTo@'));
- Node164.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node164type === 'arc') {
- Node164.a('node.arcOval', true);
- }
- Node164.setRotation(0*Math.PI/180);
- Node164.borderWidth = Node164BorderWidth;
- Node164.borderFillwidth = Node164BorderWidth;
- dataModel.add(Node164);
- Node164._nodename = 'Node164'
- Node164._nodeType = 'rect';
- zoomNodeList.push({
- node: Node164,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node164, Node164.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165 = new ht.Node();
- var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'center', Node165fontSize = 13.3333*_ratio.ratioY,Node165width = 58*_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('0', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node165align === 'center') {
- Node165textStart = -3;
- Node165textWidth = Node165width;
- Node165lineStart = Node165width - ht.Default.getTextSize('0', ' '+ Node165fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"'))
- Node165.setPosition(643*ratio.ratioX, 53*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(0,0,0,0)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','');
- Node165.a('node.text','0');
- 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 "Arial"');
- Node165.a('node.textvisible',true);
- Node165.a('node.linefeed',false);
- if (false) {
- Node165.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node165.a('node.text') || '0';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node165.a('node.underlinepoints',[Node165lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]);
- Node165.a('node.underlinevisible',false);
- Node165.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node165);
- zoomNodeList.push({
- node: Node165,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166 = new ht.Node();
- var Node166textStart, Node166textWidth, Node166lineStart, Node166align = 'center', Node166fontSize = 13.3333*_ratio.ratioY,Node166width = 58*_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('0', ' '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('0', ' '+ Node166fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "Arial"'))
- Node166.setPosition(643*ratio.ratioX, 77*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','0');
- 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 "Arial"');
- Node166.a('node.textvisible',true);
- Node166.a('node.linefeed',false);
- if (false) {
- Node166.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node166.a('node.text') || '0';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node166fontSize + 'px "Arial"').width + 6, (Node166height - Node166fontSize) * 0.5*_ratio.ratioY + Node166fontSize + 2 ]);
- Node166.a('node.underlinevisible',false);
- Node166.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node166);
- zoomNodeList.push({
- node: Node166,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'center', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 58*_ratio.ratioX, Node167height = 26*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(643*ratio.ratioX, 102*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(0,0,0,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','0');
- Node167.a('node.textalign','center');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(0,0,0,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '0';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"center",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'center', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 58*_ratio.ratioX, Node168height = 26*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(643*ratio.ratioX, 125*ratio.ratioY);
- Node168.setWidth(Node168width);
- Node168.setHeight(Node168height);
- Node168._nodeType = 'text';
- Node168._disallowEvert = true;
- Node168.setRotation(0*Math.PI/180);
- Node168.a('node.width', Node168width);
- Node168.a('node.height', Node168height);
- Node168.a('node.rect', [0, 0, Node168width, Node168height]);
- Node168.a('node.bordercolor','rgba(0,0,0,1)');
- Node168.a('node.borderwidth', 0);
- Node168.a('node.background','' || 'rgba(0,0,0,0)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','');
- Node168.a('node.text','0');
- Node168.a('node.textalign','center');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(0,0,0,1)');
- Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '0';
- var color=Node168.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"center",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'center', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 58*_ratio.ratioX, Node169height = 26*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(643*ratio.ratioX, 149*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(0,0,0,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','0');
- Node169.a('node.textalign','center');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(0,0,0,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '0';
- var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"center",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170type = 'rect';
- var Node170 = new ht.Node(),
- Node170BorderWidth = 1*2;
- if (Node170type === 'arc') {
- Node170BorderWidth *= 1;
- }
- Node170.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node170type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node170.setPosition(722*ratio.ratioX, 51*ratio.ratioY);
- Node170.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node170.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node170.a('node.width', 65*_ratio.ratioX);
- Node170.a('node.height', 24.33136*_ratio.ratioY);
- Node170.a('node.type', Node170type);
- Node170.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node170.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node170.a('node.gradientcolor', '');
- Node170.a('node.gradient', '');
- Node170.a('node.borderwidth', Node170BorderWidth);
- Node170.a('node.color', 'rgba(224,224,224,1)');
- Node170.a('node.fillrect', [0,0,0,0]);
- Node170.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node170.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node170.a('node.fillgradient', '');
- if (Node170type !== 'rect') {
- Node170.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node170.a('node.arcTo', parseFloat('@arcTo@'));
- Node170.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node170type === 'arc') {
- Node170.a('node.arcOval', true);
- }
- Node170.setRotation(0*Math.PI/180);
- Node170.borderWidth = Node170BorderWidth;
- Node170.borderFillwidth = Node170BorderWidth;
- dataModel.add(Node170);
- Node170._nodename = 'Node170'
- Node170._nodeType = 'rect';
- zoomNodeList.push({
- node: Node170,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node170, Node170.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171type = 'rect';
- var Node171 = new ht.Node(),
- Node171BorderWidth = 1*2;
- if (Node171type === 'arc') {
- Node171BorderWidth *= 1;
- }
- Node171.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node171type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node171.setPosition(722*ratio.ratioX, 75*ratio.ratioY);
- Node171.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node171.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node171.a('node.width', 65*_ratio.ratioX);
- Node171.a('node.height', 24.33138*_ratio.ratioY);
- Node171.a('node.type', Node171type);
- Node171.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node171.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node171.a('node.gradientcolor', '');
- Node171.a('node.gradient', '');
- Node171.a('node.borderwidth', Node171BorderWidth);
- Node171.a('node.color', 'rgba(224,224,224,1)');
- Node171.a('node.fillrect', [0,0,0,0]);
- Node171.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node171.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node171.a('node.fillgradient', '');
- if (Node171type !== 'rect') {
- Node171.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node171.a('node.arcTo', parseFloat('@arcTo@'));
- Node171.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node171type === 'arc') {
- Node171.a('node.arcOval', true);
- }
- Node171.setRotation(0*Math.PI/180);
- Node171.borderWidth = Node171BorderWidth;
- Node171.borderFillwidth = Node171BorderWidth;
- dataModel.add(Node171);
- Node171._nodename = 'Node171'
- Node171._nodeType = 'rect';
- zoomNodeList.push({
- node: Node171,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node171, Node171.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172type = 'rect';
- var Node172 = new ht.Node(),
- Node172BorderWidth = 1*2;
- if (Node172type === 'arc') {
- Node172BorderWidth *= 1;
- }
- Node172.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node172type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node172.setPosition(722*ratio.ratioX, 99*ratio.ratioY);
- Node172.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node172.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node172.a('node.width', 65*_ratio.ratioX);
- Node172.a('node.height', 24.33138*_ratio.ratioY);
- Node172.a('node.type', Node172type);
- Node172.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node172.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node172.a('node.gradientcolor', '');
- Node172.a('node.gradient', '');
- Node172.a('node.borderwidth', Node172BorderWidth);
- Node172.a('node.color', 'rgba(224,224,224,1)');
- Node172.a('node.fillrect', [0,0,0,0]);
- Node172.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node172.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node172.a('node.fillgradient', '');
- if (Node172type !== 'rect') {
- Node172.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node172.a('node.arcTo', parseFloat('@arcTo@'));
- Node172.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node172type === 'arc') {
- Node172.a('node.arcOval', true);
- }
- Node172.setRotation(0*Math.PI/180);
- Node172.borderWidth = Node172BorderWidth;
- Node172.borderFillwidth = Node172BorderWidth;
- dataModel.add(Node172);
- Node172._nodename = 'Node172'
- Node172._nodeType = 'rect';
- zoomNodeList.push({
- node: Node172,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node172, Node172.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173type = 'rect';
- var Node173 = new ht.Node(),
- Node173BorderWidth = 1*2;
- if (Node173type === 'arc') {
- Node173BorderWidth *= 1;
- }
- Node173.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node173type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node173.setPosition(722*ratio.ratioX, 124*ratio.ratioY);
- Node173.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node173.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node173.a('node.width', 65*_ratio.ratioX);
- Node173.a('node.height', 24.33136*_ratio.ratioY);
- Node173.a('node.type', Node173type);
- Node173.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node173.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node173.a('node.gradientcolor', '');
- Node173.a('node.gradient', '');
- Node173.a('node.borderwidth', Node173BorderWidth);
- Node173.a('node.color', 'rgba(224,224,224,1)');
- Node173.a('node.fillrect', [0,0,0,0]);
- Node173.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradient', '');
- if (Node173type !== 'rect') {
- Node173.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node173.a('node.arcTo', parseFloat('@arcTo@'));
- Node173.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node173type === 'arc') {
- Node173.a('node.arcOval', true);
- }
- Node173.setRotation(0*Math.PI/180);
- Node173.borderWidth = Node173BorderWidth;
- Node173.borderFillwidth = Node173BorderWidth;
- dataModel.add(Node173);
- Node173._nodename = 'Node173'
- Node173._nodeType = 'rect';
- zoomNodeList.push({
- node: Node173,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node173, Node173.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174type = 'rect';
- var Node174 = new ht.Node(),
- Node174BorderWidth = 1*2;
- if (Node174type === 'arc') {
- Node174BorderWidth *= 1;
- }
- Node174.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node174type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node174.setPosition(722*ratio.ratioX, 148*ratio.ratioY);
- Node174.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node174.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node174.a('node.width', 65*_ratio.ratioX);
- Node174.a('node.height', 24.33138*_ratio.ratioY);
- Node174.a('node.type', Node174type);
- Node174.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node174.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node174.a('node.gradientcolor', '');
- Node174.a('node.gradient', '');
- Node174.a('node.borderwidth', Node174BorderWidth);
- Node174.a('node.color', 'rgba(224,224,224,1)');
- Node174.a('node.fillrect', [0,0,0,0]);
- Node174.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node174.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node174.a('node.fillgradient', '');
- if (Node174type !== 'rect') {
- Node174.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node174.a('node.arcTo', parseFloat('@arcTo@'));
- Node174.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node174type === 'arc') {
- Node174.a('node.arcOval', true);
- }
- Node174.setRotation(0*Math.PI/180);
- Node174.borderWidth = Node174BorderWidth;
- Node174.borderFillwidth = Node174BorderWidth;
- dataModel.add(Node174);
- Node174._nodename = 'Node174'
- Node174._nodeType = 'rect';
- zoomNodeList.push({
- node: Node174,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node174, Node174.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.Node();
- var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'center', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 59*_ratio.ratioX, Node175height = 26*_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('万kWh', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('万kWh', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(723*ratio.ratioX, 53*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(128,128,128,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','万kWh');
- Node175.a('node.textalign','center');
- Node175.a('node.textvAlign','middle');
- Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]);
- Node175.a('node.color','rgba(128,128,128,1)');
- Node175.a('node.font',' '+ Node175fontSize + 'px "Arial"');
- 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') || '万kWh';
- var color=Node175.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node175width,Node175height,13.3333*_ratio.ratioY,"center",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node175fontSize + 'px "Arial"').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 = 13.3333*_ratio.ratioY,Node176width = 59*_ratio.ratioX, Node176height = 26*_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('万kWh', ' '+ Node176fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('万kWh', ' '+ Node176fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "Arial"'))
- Node176.setPosition(723*ratio.ratioX, 77*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(128,128,128,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','万kWh');
- Node176.a('node.textalign','center');
- Node176.a('node.textvAlign','middle');
- Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]);
- Node176.a('node.color','rgba(128,128,128,1)');
- Node176.a('node.font',' '+ Node176fontSize + 'px "Arial"');
- Node176.a('node.textvisible',true);
- Node176.a('node.linefeed',false);
- if (false) {
- Node176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176.a('node.text') || '万kWh';
- var color=Node176.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176width,Node176height,13.3333*_ratio.ratioY,"center",color,' '+ Node176fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node176fontSize + 'px "Arial"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]);
- Node176.a('node.underlinevisible',false);
- Node176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176);
- zoomNodeList.push({
- node: Node176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'center', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 59*_ratio.ratioX, Node177height = 26*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(723*ratio.ratioX, 100*ratio.ratioY);
- Node177.setWidth(Node177width);
- Node177.setHeight(Node177height);
- Node177._nodeType = 'text';
- Node177._disallowEvert = true;
- Node177.setRotation(0*Math.PI/180);
- Node177.a('node.width', Node177width);
- Node177.a('node.height', Node177height);
- Node177.a('node.rect', [0, 0, Node177width, Node177height]);
- Node177.a('node.bordercolor','rgba(128,128,128,1)');
- Node177.a('node.borderwidth', 0);
- Node177.a('node.background','' || 'rgba(0,0,0,0)');
- Node177.a('node.gradient','');
- Node177.a('node.gradientcolor','');
- Node177.a('node.text','万kWh');
- Node177.a('node.textalign','center');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(128,128,128,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "Arial"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '万kWh';
- var color=Node177.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"center",color,' '+ Node177fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'center', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 59*_ratio.ratioX, Node178height = 26*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(723*ratio.ratioX, 126*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(128,128,128,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','万kWh');
- Node178.a('node.textalign','center');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(128,128,128,1)');
- Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '万kWh';
- var color=Node178.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"center",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'center', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 59*_ratio.ratioX, Node179height = 26*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(723*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(128,128,128,1)');
- Node179.a('node.borderwidth', 0);
- Node179.a('node.background','' || 'rgba(0,0,0,0)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','');
- Node179.a('node.text','万kWh');
- Node179.a('node.textalign','center');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(128,128,128,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
- Node179.a('node.textvisible',true);
- Node179.a('node.linefeed',false);
- if (false) {
- Node179.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node179.a('node.text') || '万kWh';
- var color=Node179.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"center",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 11.99997*_ratio.ratioY,Node180width = 53*_ratio.ratioX, Node180height = 20*_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('机', 'bold '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('机', 'bold '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, 'bold '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(1348*ratio.ratioX, 87*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(255,255,255,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','机');
- Node180.a('node.textalign','left');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(255,255,255,1)');
- Node180.a('node.font','bold '+ 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') || '机';
- var color=Node180.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node180width,Node180height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ 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 = 'left', Node181fontSize = 11.99997*_ratio.ratioY,Node181width = 53*_ratio.ratioX, Node181height = 20*_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('状', 'bold '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('状', 'bold '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, 'bold '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(1348*ratio.ratioX, 110*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(255,255,255,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','状');
- Node181.a('node.textalign','left');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(255,255,255,1)');
- Node181.a('node.font','bold '+ 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') || '状';
- var color=Node181.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node181width,Node181height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node181fontSize + 'px "Arial"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.Node();
- var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 11.99997*_ratio.ratioY,Node182width = 53*_ratio.ratioX, Node182height = 20*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('态', 'bold '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('态', 'bold '+ Node182fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, 'bold '+ Node182fontSize + 'px "Arial"'))
- Node182.setPosition(1348*ratio.ratioX, 132*ratio.ratioY);
- Node182.setWidth(Node182width);
- Node182.setHeight(Node182height);
- Node182._nodeType = 'text';
- Node182._disallowEvert = true;
- Node182.setRotation(0*Math.PI/180);
- Node182.a('node.width', Node182width);
- Node182.a('node.height', Node182height);
- Node182.a('node.rect', [0, 0, Node182width, Node182height]);
- Node182.a('node.bordercolor','rgba(255,255,255,1)');
- Node182.a('node.borderwidth', 0);
- Node182.a('node.background','' || 'rgba(0,0,0,0)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','');
- Node182.a('node.text','态');
- Node182.a('node.textalign','left');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(255,255,255,1)');
- Node182.a('node.font','bold '+ Node182fontSize + 'px "Arial"');
- Node182.a('node.textvisible',true);
- Node182.a('node.linefeed',false);
- if (false) {
- Node182.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182.a('node.text') || '态';
- var color=Node182.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node182width,Node182height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node182fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
- Node182.a('node.underlinevisible',false);
- Node182.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182);
- zoomNodeList.push({
- node: Node182,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.Node();
- var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'center', Node183fontSize = 14.66663*_ratio.ratioY,Node183width = 67*_ratio.ratioX, Node183height = 26*_ratio.ratioY;
- (function () {
- if (Node183align === 'left') {
- Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
- Node183textWidth = Node183width;
- Node183lineStart = 1;
- } else if (Node183align === 'right') {
- Node183textStart = 0;
- Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
- Node183lineStart = (Node183width - (ht.Default.getTextSize('台', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('台', ' '+ Node183fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"'))
- Node183.setPosition(1591*ratio.ratioX, 85*ratio.ratioY);
- Node183.setWidth(Node183width);
- Node183.setHeight(Node183height);
- Node183._nodeType = 'text';
- Node183._disallowEvert = true;
- Node183.setRotation(0*Math.PI/180);
- Node183.a('node.width', Node183width);
- Node183.a('node.height', Node183height);
- Node183.a('node.rect', [0, 0, Node183width, Node183height]);
- Node183.a('node.bordercolor','rgba(105,105,105,1)');
- Node183.a('node.borderwidth', 0);
- Node183.a('node.background','' || 'rgba(0,0,0,0)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','');
- Node183.a('node.text','台');
- Node183.a('node.textalign','center');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(105,105,105,1)');
- Node183.a('node.font',' '+ Node183fontSize + 'px "Arial"');
- Node183.a('node.textvisible',true);
- Node183.a('node.linefeed',false);
- if (false) {
- Node183.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node183.a('node.text') || '台';
- var color=Node183.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node183width,Node183height,14.66663*_ratio.ratioY,"center",color,' '+ Node183fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
- Node183.a('node.underlinevisible',false);
- Node183.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node183);
- zoomNodeList.push({
- node: Node183,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node184;
- (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');
- Node184 = new ht.Node();
- Node184.setPosition(1480*ratio.ratioX, 69*ratio.ratioY);
- Node184.setSize(9*ratioX, 60*ratioY);
- Node184.setImage('imgimage//page_list_box_left_blue.jpg');
- Node184.setRotation(0*Math.PI/180);
- Node184._zoomBy = 'Default';
- Node184._nodeType = 'image';
- Node184._disallowEvert = true;
- dataModel.add(Node184);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185type = 'rect';
- var Node185 = new ht.Node(),
- Node185BorderWidth = 1*2;
- if (Node185type === 'arc') {
- Node185BorderWidth *= 1;
- }
- Node185.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node185type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node185.setPosition(1549*ratio.ratioX, 69*ratio.ratioY);
- Node185.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node185.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node185.a('node.width', 127*_ratio.ratioX);
- Node185.a('node.height', 60.81538*_ratio.ratioY);
- Node185.a('node.type', Node185type);
- Node185.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node185.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node185.a('node.gradientcolor', '');
- Node185.a('node.gradient', '');
- Node185.a('node.borderwidth', Node185BorderWidth);
- Node185.a('node.color', 'rgba(128,128,128,1)');
- Node185.a('node.fillrect', [0,0,0,0]);
- Node185.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node185.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node185.a('node.fillgradient', '');
- if (Node185type !== 'rect') {
- Node185.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node185.a('node.arcTo', parseFloat('@arcTo@'));
- Node185.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node185type === 'arc') {
- Node185.a('node.arcOval', true);
- }
- Node185.setRotation(0*Math.PI/180);
- Node185.borderWidth = Node185BorderWidth;
- Node185.borderFillwidth = Node185BorderWidth;
- dataModel.add(Node185);
- Node185._nodename = 'Node185'
- Node185._nodeType = 'rect';
- zoomNodeList.push({
- node: Node185,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node185, Node185.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 15.99996*_ratio.ratioY,Node186width = 29*_ratio.ratioX, Node186height = 25*_ratio.ratioY;
- (function () {
- if (Node186align === 'left') {
- Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
- Node186textWidth = Node186width;
- Node186lineStart = 1;
- } else if (Node186align === 'right') {
- Node186textStart = 0;
- Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
- Node186lineStart = (Node186width - (ht.Default.getTextSize('0', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('0', ' '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(1512*ratio.ratioX, 84*ratio.ratioY);
- Node186.setWidth(Node186width);
- Node186.setHeight(Node186height);
- Node186._nodeType = 'text';
- Node186._disallowEvert = true;
- Node186.setRotation(0*Math.PI/180);
- Node186.a('node.width', Node186width);
- Node186.a('node.height', Node186height);
- Node186.a('node.rect', [0, 0, Node186width, Node186height]);
- Node186.a('node.bordercolor','rgba(0,0,0,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','0');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(0,0,0,1)');
- Node186.a('node.font',' '+ Node186fontSize + 'px "Arial"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '0';
- var color=Node186.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node186width,Node186height,15.99996*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
- Node186.a('node.underlinevisible',false);
- Node186.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node186);
- zoomNodeList.push({
- node: Node186,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node187;
- (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');
- Node187 = new ht.Node();
- Node187.setPosition(1756*ratio.ratioX, 69*ratio.ratioY);
- Node187.setSize(9*ratioX, 60*ratioY);
- Node187.setImage('imgimage//page_list_box_left_red.jpg');
- Node187.setRotation(0*Math.PI/180);
- Node187._zoomBy = 'Default';
- Node187._nodeType = 'image';
- Node187._disallowEvert = true;
- dataModel.add(Node187);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.Node();
- var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 15.99996*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 25*_ratio.ratioY;
- (function () {
- if (Node188align === 'left') {
- Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
- Node188textWidth = Node188width;
- Node188lineStart = 1;
- } else if (Node188align === 'right') {
- Node188textStart = 0;
- Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
- Node188lineStart = (Node188width - (ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(1788*ratio.ratioX, 84*ratio.ratioY);
- Node188.setWidth(Node188width);
- Node188.setHeight(Node188height);
- Node188._nodeType = 'text';
- Node188._disallowEvert = true;
- Node188.setRotation(0*Math.PI/180);
- Node188.a('node.width', Node188width);
- Node188.a('node.height', Node188height);
- Node188.a('node.rect', [0, 0, Node188width, Node188height]);
- Node188.a('node.bordercolor','rgba(0,0,0,1)');
- Node188.a('node.borderwidth', 0);
- Node188.a('node.background','' || 'rgba(0,0,0,0)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','');
- Node188.a('node.text','0');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(0,0,0,1)');
- Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
- Node188.a('node.textvisible',true);
- Node188.a('node.linefeed',false);
- if (false) {
- Node188.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node188.a('node.text') || '0';
- var color=Node188.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node188width,Node188height,15.99996*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node188.a('node.underlinepoints',[Node188lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node189;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
- Node189 = new ht.Node();
- Node189.setPosition(1756*ratio.ratioX, 130*ratio.ratioY);
- Node189.setSize(9*ratioX, 60*ratioY);
- Node189.setImage('imgimage//page_list_box_left_black.jpg');
- Node189.setRotation(0*Math.PI/180);
- Node189._zoomBy = 'Default';
- Node189._nodeType = 'image';
- Node189._disallowEvert = true;
- dataModel.add(Node189);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190 = new ht.Node();
- var Node190textStart, Node190textWidth, Node190lineStart, Node190align = 'left', Node190fontSize = 13.3333*_ratio.ratioY,Node190width = 47*_ratio.ratioX, Node190height = 38*_ratio.ratioY;
- (function () {
- if (Node190align === 'left') {
- Node190textStart = Node190fontSize * 0.2 > 2 ? Node190fontSize * 0.2 - 4 : Node190fontSize * 0.2 - 9;
- Node190textWidth = Node190width;
- Node190lineStart = 1;
- } else if (Node190align === 'right') {
- Node190textStart = 0;
- Node190textWidth =Node190fontSize <= 8 ? Node190width + Node190fontSize * 0.2 + 6 : Node190width - Node190fontSize * 0.2;
- Node190lineStart = (Node190width - (ht.Default.getTextSize('离线', 'bold '+ Node190fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node190align === 'center') {
- Node190textStart = -3;
- Node190textWidth = Node190width;
- Node190lineStart = Node190width - ht.Default.getTextSize('离线', 'bold '+ Node190fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node190.setImage(GD.getTextJSON(Node190width, Node190height, true, false, false, 'bold '+ Node190fontSize + 'px "Arial"'))
- Node190.setPosition(1787*ratio.ratioX, 113*ratio.ratioY);
- Node190.setWidth(Node190width);
- Node190.setHeight(Node190height);
- Node190._nodeType = 'text';
- Node190._disallowEvert = true;
- Node190.setRotation(0*Math.PI/180);
- Node190.a('node.width', Node190width);
- Node190.a('node.height', Node190height);
- Node190.a('node.rect', [0, 0, Node190width, Node190height]);
- Node190.a('node.bordercolor','rgba(0,0,0,1)');
- Node190.a('node.borderwidth', 0);
- Node190.a('node.background','' || 'rgba(0,0,0,0)');
- Node190.a('node.gradient','');
- Node190.a('node.gradientcolor','');
- Node190.a('node.text','离线');
- Node190.a('node.textalign','left');
- Node190.a('node.textvAlign','middle');
- Node190.a('node.textrect', [Node190textStart, 0, Node190textWidth, Node190height]);
- Node190.a('node.color','rgba(0,0,0,1)');
- Node190.a('node.font','bold '+ Node190fontSize + 'px "Arial"');
- Node190.a('node.textvisible',true);
- Node190.a('node.linefeed',false);
- if (false) {
- Node190.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node190.a('node.text') || '离线';
- var color=Node190.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node190width,Node190height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node190fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node190.a('node.underlinepoints',[Node190lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node190fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node190fontSize + 'px "Arial"').width + 6, (Node190height - Node190fontSize) * 0.5*_ratio.ratioY + Node190fontSize + 2 ]);
- Node190.a('node.underlinevisible',false);
- Node190.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node190);
- zoomNodeList.push({
- node: Node190,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node191 = new ht.Node();
- var Node191textStart, Node191textWidth, Node191lineStart, Node191align = 'left', Node191fontSize = 15.99996*_ratio.ratioY,Node191width = 29*_ratio.ratioX, Node191height = 25*_ratio.ratioY;
- (function () {
- if (Node191align === 'left') {
- Node191textStart = Node191fontSize * 0.2 > 2 ? Node191fontSize * 0.2 - 4 : Node191fontSize * 0.2 - 9;
- Node191textWidth = Node191width;
- Node191lineStart = 1;
- } else if (Node191align === 'right') {
- Node191textStart = 0;
- Node191textWidth =Node191fontSize <= 8 ? Node191width + Node191fontSize * 0.2 + 6 : Node191width - Node191fontSize * 0.2;
- Node191lineStart = (Node191width - (ht.Default.getTextSize('0', ' '+ Node191fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node191align === 'center') {
- Node191textStart = -3;
- Node191textWidth = Node191width;
- Node191lineStart = Node191width - ht.Default.getTextSize('0', ' '+ Node191fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node191.setImage(GD.getTextJSON(Node191width, Node191height, true, false, false, ' '+ Node191fontSize + 'px "Arial"'))
- Node191.setPosition(1788*ratio.ratioX, 145*ratio.ratioY);
- Node191.setWidth(Node191width);
- Node191.setHeight(Node191height);
- Node191._nodeType = 'text';
- Node191._disallowEvert = true;
- Node191.setRotation(0*Math.PI/180);
- Node191.a('node.width', Node191width);
- Node191.a('node.height', Node191height);
- Node191.a('node.rect', [0, 0, Node191width, Node191height]);
- Node191.a('node.bordercolor','rgba(0,0,0,1)');
- Node191.a('node.borderwidth', 0);
- Node191.a('node.background','' || 'rgba(0,0,0,0)');
- Node191.a('node.gradient','');
- Node191.a('node.gradientcolor','');
- Node191.a('node.text','0');
- Node191.a('node.textalign','left');
- Node191.a('node.textvAlign','middle');
- Node191.a('node.textrect', [Node191textStart, 0, Node191textWidth, Node191height]);
- Node191.a('node.color','rgba(0,0,0,1)');
- Node191.a('node.font',' '+ Node191fontSize + 'px "Arial"');
- Node191.a('node.textvisible',true);
- Node191.a('node.linefeed',false);
- if (false) {
- Node191.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node191.a('node.text') || '0';
- var color=Node191.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node191width,Node191height,15.99996*_ratio.ratioY,"left",color,' '+ Node191fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node191.a('node.underlinepoints',[Node191lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node191fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node191fontSize + 'px "Arial"').width + 6, (Node191height - Node191fontSize) * 0.5*_ratio.ratioY + Node191fontSize + 2 ]);
- Node191.a('node.underlinevisible',false);
- Node191.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node191);
- zoomNodeList.push({
- node: Node191,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192 = new ht.Node();
- var Node192textStart, Node192textWidth, Node192lineStart, Node192align = 'left', Node192fontSize = 13.3333*_ratio.ratioY,Node192width = 77*_ratio.ratioX, Node192height = 26*_ratio.ratioY;
- (function () {
- if (Node192align === 'left') {
- Node192textStart = Node192fontSize * 0.2 > 2 ? Node192fontSize * 0.2 - 4 : Node192fontSize * 0.2 - 9;
- Node192textWidth = Node192width;
- Node192lineStart = 1;
- } else if (Node192align === 'right') {
- Node192textStart = 0;
- Node192textWidth =Node192fontSize <= 8 ? Node192width + Node192fontSize * 0.2 + 6 : Node192width - Node192fontSize * 0.2;
- Node192lineStart = (Node192width - (ht.Default.getTextSize('上网电量', ' '+ Node192fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node192align === 'center') {
- Node192textStart = -3;
- Node192textWidth = Node192width;
- Node192lineStart = Node192width - ht.Default.getTextSize('上网电量', ' '+ Node192fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node192.setImage(GD.getTextJSON(Node192width, Node192height, true, false, false, ' '+ Node192fontSize + 'px "微软雅黑"'))
- Node192.setPosition(231*ratio.ratioX, 148*ratio.ratioY);
- Node192.setWidth(Node192width);
- Node192.setHeight(Node192height);
- Node192._nodeType = 'text';
- Node192._disallowEvert = true;
- Node192.setRotation(0*Math.PI/180);
- Node192.a('node.width', Node192width);
- Node192.a('node.height', Node192height);
- Node192.a('node.rect', [0, 0, Node192width, Node192height]);
- Node192.a('node.bordercolor','rgba(0,0,0,1)');
- Node192.a('node.borderwidth', 0);
- Node192.a('node.background','' || 'rgba(0,0,0,0)');
- Node192.a('node.gradient','');
- Node192.a('node.gradientcolor','');
- Node192.a('node.text','上网电量');
- Node192.a('node.textalign','left');
- Node192.a('node.textvAlign','middle');
- Node192.a('node.textrect', [Node192textStart, 0, Node192textWidth, Node192height]);
- Node192.a('node.color','rgba(0,0,0,1)');
- Node192.a('node.font',' '+ Node192fontSize + 'px "微软雅黑"');
- Node192.a('node.textvisible',true);
- Node192.a('node.linefeed',false);
- if (false) {
- Node192.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node192.a('node.text') || '上网电量';
- var color=Node192.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node192width,Node192height,13.3333*_ratio.ratioY,"left",color,' '+ Node192fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node192.a('node.underlinepoints',[Node192lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node192fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node192fontSize + 'px "微软雅黑"').width + 6, (Node192height - Node192fontSize) * 0.5*_ratio.ratioY + Node192fontSize + 2 ]);
- Node192.a('node.underlinevisible',false);
- Node192.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node192);
- zoomNodeList.push({
- node: Node192,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.Node();
- var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'center', Node193fontSize = 13.3333*_ratio.ratioY,Node193width = 113*_ratio.ratioX, Node193height = 26*_ratio.ratioY;
- (function () {
- if (Node193align === 'left') {
- Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9;
- Node193textWidth = Node193width;
- Node193lineStart = 1;
- } else if (Node193align === 'right') {
- Node193textStart = 0;
- Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2;
- Node193lineStart = (Node193width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node193fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node193align === 'center') {
- Node193textStart = -3;
- Node193textWidth = Node193width;
- Node193lineStart = Node193width - ht.Default.getTextSize('日性能损失电量', ' '+ Node193fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, ' '+ Node193fontSize + 'px "微软雅黑"'))
- Node193.setPosition(536*ratio.ratioX, 149*ratio.ratioY);
- Node193.setWidth(Node193width);
- Node193.setHeight(Node193height);
- Node193._nodeType = 'text';
- Node193._disallowEvert = true;
- Node193.setRotation(0*Math.PI/180);
- Node193.a('node.width', Node193width);
- Node193.a('node.height', Node193height);
- Node193.a('node.rect', [0, 0, Node193width, Node193height]);
- Node193.a('node.bordercolor','rgba(0,0,0,1)');
- Node193.a('node.borderwidth', 0);
- Node193.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node193.a('node.gradient','');
- Node193.a('node.gradientcolor','rgba(255,255,255,0)');
- Node193.a('node.text','日性能损失电量');
- Node193.a('node.textalign','center');
- Node193.a('node.textvAlign','middle');
- Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]);
- Node193.a('node.color','rgba(0,0,0,1)');
- Node193.a('node.font',' '+ Node193fontSize + 'px "微软雅黑"');
- Node193.a('node.textvisible',true);
- Node193.a('node.linefeed',false);
- if (false) {
- Node193.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node193.a('node.text') || '日性能损失电量';
- var color=Node193.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node193width,Node193height,13.3333*_ratio.ratioY,"center",color,' '+ Node193fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node193.a('node.underlinepoints',[Node193lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node193fontSize + 'px "微软雅黑"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]);
- Node193.a('node.underlinevisible',false);
- Node193.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node193);
- zoomNodeList.push({
- node: Node193,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.Node();
- var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'center', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 110*_ratio.ratioX, Node194height = 26*_ratio.ratioY;
- (function () {
- if (Node194align === 'left') {
- Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9;
- Node194textWidth = Node194width;
- Node194lineStart = 1;
- } else if (Node194align === 'right') {
- Node194textStart = 0;
- Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2;
- Node194lineStart = (Node194width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node194fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node194align === 'center') {
- Node194textStart = -3;
- Node194textWidth = Node194width;
- Node194lineStart = Node194width - ht.Default.getTextSize('月性能损失电量', ' '+ Node194fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "微软雅黑"'))
- Node194.setPosition(817*ratio.ratioX, 149*ratio.ratioY);
- Node194.setWidth(Node194width);
- Node194.setHeight(Node194height);
- Node194._nodeType = 'text';
- Node194._disallowEvert = true;
- Node194.setRotation(0*Math.PI/180);
- Node194.a('node.width', Node194width);
- Node194.a('node.height', Node194height);
- Node194.a('node.rect', [0, 0, Node194width, Node194height]);
- Node194.a('node.bordercolor','rgba(0,0,0,1)');
- Node194.a('node.borderwidth', 0);
- Node194.a('node.background','' || 'rgba(0,0,0,0)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','');
- Node194.a('node.text','月性能损失电量');
- Node194.a('node.textalign','center');
- Node194.a('node.textvAlign','middle');
- Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]);
- Node194.a('node.color','rgba(0,0,0,1)');
- Node194.a('node.font',' '+ Node194fontSize + 'px "微软雅黑"');
- Node194.a('node.textvisible',true);
- Node194.a('node.linefeed',false);
- if (false) {
- Node194.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node194.a('node.text') || '月性能损失电量';
- var color=Node194.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"center",color,' '+ Node194fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node194.a('node.underlinepoints',[Node194lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node194fontSize + 'px "微软雅黑"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]);
- Node194.a('node.underlinevisible',false);
- Node194.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node194);
- zoomNodeList.push({
- node: Node194,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195 = new ht.Node();
- var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'center', Node195fontSize = 13.3333*_ratio.ratioY,Node195width = 110*_ratio.ratioX, Node195height = 26*_ratio.ratioY;
- (function () {
- if (Node195align === 'left') {
- Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9;
- Node195textWidth = Node195width;
- Node195lineStart = 1;
- } else if (Node195align === 'right') {
- Node195textStart = 0;
- Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2;
- Node195lineStart = (Node195width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node195align === 'center') {
- Node195textStart = -3;
- Node195textWidth = Node195width;
- Node195lineStart = Node195width - ht.Default.getTextSize('年性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, ' '+ Node195fontSize + 'px "微软雅黑"'))
- Node195.setPosition(1097*ratio.ratioX, 148*ratio.ratioY);
- Node195.setWidth(Node195width);
- Node195.setHeight(Node195height);
- Node195._nodeType = 'text';
- Node195._disallowEvert = true;
- Node195.setRotation(0*Math.PI/180);
- Node195.a('node.width', Node195width);
- Node195.a('node.height', Node195height);
- Node195.a('node.rect', [0, 0, Node195width, Node195height]);
- Node195.a('node.bordercolor','rgba(0,0,0,1)');
- Node195.a('node.borderwidth', 0);
- Node195.a('node.background','' || 'rgba(0,0,0,0)');
- Node195.a('node.gradient','');
- Node195.a('node.gradientcolor','');
- Node195.a('node.text','年性能损失电量');
- Node195.a('node.textalign','center');
- Node195.a('node.textvAlign','middle');
- Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]);
- Node195.a('node.color','rgba(0,0,0,1)');
- Node195.a('node.font',' '+ Node195fontSize + 'px "微软雅黑"');
- Node195.a('node.textvisible',true);
- Node195.a('node.linefeed',false);
- if (false) {
- Node195.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195.a('node.text') || '年性能损失电量';
- var color=Node195.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node195width,Node195height,13.3333*_ratio.ratioY,"center",color,' '+ Node195fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node195.a('node.underlinepoints',[Node195lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node195fontSize + 'px "微软雅黑"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]);
- Node195.a('node.underlinevisible',false);
- Node195.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195);
- zoomNodeList.push({
- node: Node195,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196 = new ht.Node();
- var Node196textStart, Node196textWidth, Node196lineStart, Node196align = 'left', Node196fontSize = 13.3333*_ratio.ratioY,Node196width = 47*_ratio.ratioX, Node196height = 38*_ratio.ratioY;
- (function () {
- if (Node196align === 'left') {
- Node196textStart = Node196fontSize * 0.2 > 2 ? Node196fontSize * 0.2 - 4 : Node196fontSize * 0.2 - 9;
- Node196textWidth = Node196width;
- Node196lineStart = 1;
- } else if (Node196align === 'right') {
- Node196textStart = 0;
- Node196textWidth =Node196fontSize <= 8 ? Node196width + Node196fontSize * 0.2 + 6 : Node196width - Node196fontSize * 0.2;
- Node196lineStart = (Node196width - (ht.Default.getTextSize('运行', 'bold '+ Node196fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node196align === 'center') {
- Node196textStart = -3;
- Node196textWidth = Node196width;
- Node196lineStart = Node196width - ht.Default.getTextSize('运行', 'bold '+ Node196fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node196.setImage(GD.getTextJSON(Node196width, Node196height, true, false, false, 'bold '+ Node196fontSize + 'px "Arial"'))
- Node196.setPosition(1511*ratio.ratioX, 52*ratio.ratioY);
- Node196.setWidth(Node196width);
- Node196.setHeight(Node196height);
- Node196._nodeType = 'text';
- Node196._disallowEvert = true;
- Node196.setRotation(0*Math.PI/180);
- Node196.a('node.width', Node196width);
- Node196.a('node.height', Node196height);
- Node196.a('node.rect', [0, 0, Node196width, Node196height]);
- Node196.a('node.bordercolor','rgba(0,0,0,1)');
- Node196.a('node.borderwidth', 0);
- Node196.a('node.background','' || 'rgba(0,0,0,0)');
- Node196.a('node.gradient','');
- Node196.a('node.gradientcolor','');
- Node196.a('node.text','运行');
- Node196.a('node.textalign','left');
- Node196.a('node.textvAlign','middle');
- Node196.a('node.textrect', [Node196textStart, 0, Node196textWidth, Node196height]);
- Node196.a('node.color','rgba(0,0,0,1)');
- Node196.a('node.font','bold '+ Node196fontSize + 'px "Arial"');
- Node196.a('node.textvisible',true);
- Node196.a('node.linefeed',false);
- if (false) {
- Node196.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196.a('node.text') || '运行';
- var color=Node196.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196width,Node196height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node196fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node196.a('node.underlinepoints',[Node196lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node196fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node196fontSize + 'px "Arial"').width + 6, (Node196height - Node196fontSize) * 0.5*_ratio.ratioY + Node196fontSize + 2 ]);
- Node196.a('node.underlinevisible',false);
- Node196.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196);
- zoomNodeList.push({
- node: Node196,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node197 = new ht.Node();
- var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'left', Node197fontSize = 13.3333*_ratio.ratioY,Node197width = 47*_ratio.ratioX, Node197height = 38*_ratio.ratioY;
- (function () {
- if (Node197align === 'left') {
- Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9;
- Node197textWidth = Node197width;
- Node197lineStart = 1;
- } else if (Node197align === 'right') {
- Node197textStart = 0;
- Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2;
- Node197lineStart = (Node197width - (ht.Default.getTextSize('待机', 'bold '+ Node197fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('待机', 'bold '+ Node197fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, 'bold '+ Node197fontSize + 'px "Arial"'))
- Node197.setPosition(1649*ratio.ratioX, 52*ratio.ratioY);
- Node197.setWidth(Node197width);
- Node197.setHeight(Node197height);
- Node197._nodeType = 'text';
- Node197._disallowEvert = true;
- Node197.setRotation(0*Math.PI/180);
- Node197.a('node.width', Node197width);
- Node197.a('node.height', Node197height);
- Node197.a('node.rect', [0, 0, Node197width, Node197height]);
- Node197.a('node.bordercolor','rgba(0,0,0,1)');
- Node197.a('node.borderwidth', 0);
- Node197.a('node.background','' || 'rgba(0,0,0,0)');
- Node197.a('node.gradient','');
- Node197.a('node.gradientcolor','');
- Node197.a('node.text','待机');
- Node197.a('node.textalign','left');
- Node197.a('node.textvAlign','middle');
- Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
- Node197.a('node.color','rgba(0,0,0,1)');
- Node197.a('node.font','bold '+ Node197fontSize + 'px "Arial"');
- Node197.a('node.textvisible',true);
- Node197.a('node.linefeed',false);
- if (false) {
- Node197.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node197.a('node.text') || '待机';
- var color=Node197.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node197width,Node197height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node197fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node197fontSize + 'px "Arial"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]);
- Node197.a('node.underlinevisible',false);
- Node197.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node197);
- zoomNodeList.push({
- node: Node197,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node198 = new ht.Node();
- var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 47*_ratio.ratioX, Node198height = 38*_ratio.ratioY;
- (function () {
- if (Node198align === 'left') {
- Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9;
- Node198textWidth = Node198width;
- Node198lineStart = 1;
- } else if (Node198align === 'right') {
- Node198textStart = 0;
- Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2;
- Node198lineStart = (Node198width - (ht.Default.getTextSize('故障', 'bold '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('故障', 'bold '+ Node198fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, 'bold '+ Node198fontSize + 'px "Arial"'))
- Node198.setPosition(1787*ratio.ratioX, 52*ratio.ratioY);
- Node198.setWidth(Node198width);
- Node198.setHeight(Node198height);
- Node198._nodeType = 'text';
- Node198._disallowEvert = true;
- Node198.setRotation(0*Math.PI/180);
- Node198.a('node.width', Node198width);
- Node198.a('node.height', Node198height);
- Node198.a('node.rect', [0, 0, Node198width, Node198height]);
- Node198.a('node.bordercolor','rgba(0,0,0,1)');
- Node198.a('node.borderwidth', 0);
- Node198.a('node.background','' || 'rgba(0,0,0,0)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','');
- Node198.a('node.text','故障');
- Node198.a('node.textalign','left');
- Node198.a('node.textvAlign','middle');
- Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
- Node198.a('node.color','rgba(0,0,0,1)');
- Node198.a('node.font','bold '+ Node198fontSize + 'px "Arial"');
- Node198.a('node.textvisible',true);
- Node198.a('node.linefeed',false);
- if (false) {
- Node198.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node198.a('node.text') || '故障';
- var color=Node198.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node198fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
- Node198.a('node.underlinevisible',false);
- Node198.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node198);
- zoomNodeList.push({
- node: Node198,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@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 )){Node14.s('2d.visible',true);}else{Node14.s('2d.visible',false);}
- if((0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}
- if((0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}
- if((0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);}
- if((0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);}
- if((0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);}
- if((0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);}
- if((0 )){Node28.s('2d.visible',true);}else{Node28.s('2d.visible',false);}
- /*@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++;
- Node48.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node54.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0130') ),-1));
- Node58.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0004') ),-1));
- Node63.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0131') ),-1));
- Node96.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0144') ),-1));
- Node97.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0140') ),-1));
- Node98.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0168') ),-1));
- Node99.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0160') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0164') ),-1));
- Node100.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0196') ),-1));
- Node125.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0038') ),-1));
- Node126.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0034') ),-1));
- Node127.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0065') ),-1));
- Node128.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0054') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0061') ),-1));
- Node129.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0188') ),-1));
- Node145.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_GL_JS_XX_XX_XXX_CI0005') ),-1));
- Node146.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0125') ),-1));
- Node147.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0124') ),-1));
- Node148.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0077') ),-1));
- Node149.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0126') ),-1));
- Node165.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0089') ),-1));
- Node166.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0085') ),-1));
- Node167.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0116') ),-1));
- Node168.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0108') + getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0112') ),-1));
- Node169.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0192') ),-1));
- Node186.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0171') ),-1));
- Node188.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0009') ),-1));
- Node191.a('node.text',GetDital((getVarValue('GL_FC_JSD.SX_GD_GLF_JS_XX_XX_XXX_CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((sxxny==1)>0 )){Node14.s('2d.visible',true);}else{Node14.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node15.s('2d.visible',true);}else{Node15.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node19.s('2d.visible',true);}else{Node19.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node21.s('2d.visible',true);}else{Node21.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node23.s('2d.visible',true);}else{Node23.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node25.s('2d.visible',true);}else{Node25.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node27.s('2d.visible',true);}else{Node27.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node28.s('2d.visible',true);}else{Node28.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node29.s('2d.visible',true);}else{Node29.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node30_0.s('2d.visible',true);}else{Node30_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node30_1.s('2d.visible',true);}else{Node30_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node31_0.s('2d.visible',true);}else{Node31_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node31_1.s('2d.visible',true);}else{Node31_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node32_0.s('2d.visible',true);}else{Node32_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node32_1.s('2d.visible',true);}else{Node32_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node33_0.s('2d.visible',true);}else{Node33_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node33_1.s('2d.visible',true);}else{Node33_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node34_0.s('2d.visible',true);}else{Node34_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node34_1.s('2d.visible',true);}else{Node34_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node35_0.s('2d.visible',true);}else{Node35_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node35_1.s('2d.visible',true);}else{Node35_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node36_0.s('2d.visible',true);}else{Node36_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node36_1.s('2d.visible',true);}else{Node36_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node37_0.s('2d.visible',true);}else{Node37_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node37_1.s('2d.visible',true);}else{Node37_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node38_0.s('2d.visible',true);}else{Node38_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node38_1.s('2d.visible',true);}else{Node38_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node39_0.s('2d.visible',true);}else{Node39_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node39_1.s('2d.visible',true);}else{Node39_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node40_0.s('2d.visible',true);}else{Node40_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node40_1.s('2d.visible',true);}else{Node40_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node41_0.s('2d.visible',true);}else{Node41_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node41_1.s('2d.visible',true);}else{Node41_1.s('2d.visible',false);}}
- /*@Timer500ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer500msCmd, 500));
- function Timer1sCmd() {
- Counter1s++;
- if (moment(Date.now()).format('HH:mm:ss') === '23:59:59' && Counter1s > 5) location.reload();
- /*@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 === Node16){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 === Node18){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node20){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node22){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node24){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node30_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node30_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node31_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node31_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node32_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node32_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node33_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node33_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node34_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node34_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node35_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node35_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node14&& objMouseOn===Node14){sxxny=0; }
- if(data !== Node16&& objMouseOn===Node16){yygjb=0; }
- if(data !== Node18&& objMouseOn===Node18){plhts=0; }
- if(data !== Node20&& objMouseOn===Node20){tqwns=0; }
- if(data !== Node22&& objMouseOn===Node22){gljf=0; }
- if(data !== Node24&& objMouseOn===Node24){hyfy=0; }
- if(data !== Node26&& objMouseOn===Node26){llbts=0; }
- if(data !== Node28&& objMouseOn===Node28){ygcls=0; }
- if(data !== Node30_0&& objMouseOn===Node30_0){A=0; }
- if(data !== Node30_1&& objMouseOn===Node30_1){A=0; }
- if(data !== Node31_0&& objMouseOn===Node31_0){B=0; }
- if(data !== Node31_1&& objMouseOn===Node31_1){B=0; }
- if(data !== Node32_0&& objMouseOn===Node32_0){C=0; }
- if(data !== Node32_1&& objMouseOn===Node32_1){C=0; }
- if(data !== Node33_0&& objMouseOn===Node33_0){F=0; }
- if(data !== Node33_1&& objMouseOn===Node33_1){F=0; }
- if(data !== Node34_0&& objMouseOn===Node34_0){E=0; }
- if(data !== Node34_1&& objMouseOn===Node34_1){E=0; }
- if(data !== Node35_0&& objMouseOn===Node35_0){D=0; }
- if(data !== Node35_1&& objMouseOn===Node35_1){D=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node15){sxxny=1; }
- if(data === Node17){yygjb=1; }
- if(data === Node19){plhts=1; }
- if(data === Node21){tqwns=1; }
- if(data === Node23){gljf=1; }
- if(data === Node25){hyfy=1; }
- if(data === Node27){llbts=1; }
- if(data === Node29){ygcls=1; }
- if(data === Node36_0){A=1; }
- if(data === Node36_1){A=1; }
- if(data === Node37_0){B=1; }
- if(data === Node37_1){B=1; }
- if(data === Node38_0){C=1; }
- if(data === Node38_1){C=1; }
- if(data === Node39_0){E=1; }
- if(data === Node39_1){E=1; }
- if(data === Node40_0){F=1; }
- if(data === Node40_1){F=1; }
- if(data === Node41_0){D=1; }
- if(data === Node41_1){D=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|