12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640 |
- /*@WebApiFunc@*/
- var varList = ['WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0004','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0009','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0129','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0130','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0131','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0171','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0144','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0140','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0168','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0160','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0164','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0196','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0038','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0034','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0065','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0061WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0054','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0188','GS_JCD.LN_GD_WNS_JS_XX_XX_XXX_CI0002','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0125','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0124','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0077','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0126','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0089','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0085','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0116','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0112','WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0108','WNS_FC_JSD.SX_GD_WNSF_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< 28 ;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(754*ratio.ratioX, 503*ratio.ratioY);
- Node0_0.setSize(1440*ratioX, 677*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(764*ratio.ratioX, 505*ratio.ratioY);
- Node0_1.setSize(749*ratioX, 666*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(1512*ratio.ratioX, 191*ratio.ratioY);
- Node0_2.setSize(76*ratioX, 54*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(1512*ratio.ratioX, 247*ratio.ratioY);
- Node0_3.setSize(76*ratioX, 54*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(1513*ratio.ratioX, 303*ratio.ratioY);
- Node0_4.setSize(76*ratioX, 54*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(1687*ratio.ratioX, 458*ratio.ratioY);
- Node0_5.setSize(347*ratioX, 254*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(1493*ratio.ratioX, 458*ratio.ratioY);
- Node0_6.setSize(39*ratioX, 254*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.5209*_ratio.ratioX, 55.63611*_ratio.ratioY, Node0_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_7.setPosition(1667*ratio.ratioX, 190*ratio.ratioY);
- Node0_7.setSize(386.5209*_ratio.ratioX, 55.63611*_ratio.ratioY);
- Node0_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_7.a('node.width', 386.5209*_ratio.ratioX);
- Node0_7.a('node.height', 55.63611*_ratio.ratioY);
- Node0_7.a('node.type', Node0_7type);
- Node0_7.a('node.rect', [0, 0, 386.5209*_ratio.ratioX, 55.63611*_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.5209*_ratio.ratioX, 55.63609*_ratio.ratioY, Node0_8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_8.setPosition(1667*ratio.ratioX, 247*ratio.ratioY);
- Node0_8.setSize(386.5209*_ratio.ratioX, 55.63609*_ratio.ratioY);
- Node0_8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_8.a('node.width', 386.5209*_ratio.ratioX);
- Node0_8.a('node.height', 55.63609*_ratio.ratioY);
- Node0_8.a('node.type', Node0_8type);
- Node0_8.a('node.rect', [0, 0, 386.5209*_ratio.ratioX, 55.63609*_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.5209*_ratio.ratioX, 55.63611*_ratio.ratioY, Node0_9type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_9.setPosition(1667*ratio.ratioX, 303*ratio.ratioY);
- Node0_9.setSize(386.5209*_ratio.ratioX, 55.63611*_ratio.ratioY);
- Node0_9.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_9.a('node.width', 386.5209*_ratio.ratioX);
- Node0_9.a('node.height', 55.63611*_ratio.ratioY);
- Node0_9.a('node.type', Node0_9type);
- Node0_9.a('node.rect', [0, 0, 386.5209*_ratio.ratioX, 55.63611*_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(1598*ratio.ratioX, 194*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(1599*ratio.ratioX, 250*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(1599*ratio.ratioX, 307*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=[1877, 157,1877, 157],
- Node0_13rect=ht.Default.unionPoint([{x:1877,y:157},{x:1877,y:157}]),
- Node0_13compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node0_13points.length;i++){
- if(i%2==0){
- Node0_13compspts.push(Node0_13points[i]-Node0_13rect.x);
- }else{
- Node0_13compspts.push(Node0_13points[i]-Node0_13rect.y);
- }
- }
- var Node0_13ptslength=Node0_13compspts.length;
- if (Node0_13rect.height === 0) {
- Node0_13compspts[0] -= 0;
- Node0_13compspts[Node0_13ptslength-2] += 0;
- } else if (Node0_13rect.width === 0){
- Node0_13compspts[1] -= 0;
- Node0_13compspts[Node0_13ptslength-1] += 0;
- } else {
- Node0_13compspts[0] -= 0;
- Node0_13compspts[1] -= 0;
- Node0_13compspts[Node0_13ptslength-2] += 0;
- Node0_13compspts[Node0_13ptslength-1] += 0;
- }
- Node0_13 = new ht.Node();
- Node0_13.borderWidth = 1;
- Node0_13rect.width = Node0_13rect.width === 0 ? 0.0001 : Node0_13rect.width;
- Node0_13rect.height = Node0_13rect.height === 0 ? 0.0001 : Node0_13rect.height;
- var Node0_13endCompspts = [Node0_13compspts[Node0_13ptslength-2],Node0_13compspts[Node0_13ptslength-1],0,0];
- var Node0_13startCompspts = [Node0_13compspts[0],Node0_13compspts[1],0,0];
- Node0_13.setImage(GD.getPolyLineJSON());
- Node0_13.setPosition(Node0_13rect.x+Node0_13rect.width/2,Node0_13rect.y+Node0_13rect.height/2);
- Node0_13.setSize(Node0_13rect.width,Node0_13rect.height);
- Node0_13.setStyle("opacity",1);
- Node0_13.s({'pixelPerfect':true});
- Node0_13borderwidth=1;
- Node0_13.setRotation(0);
- dataModel.add(Node0_13);
- Node0_13.a('node.points',Node0_13compspts);
- Node0_13.a('node.segments',[1,2]);
- Node0_13.a('node.color','rgba(0,0,0,1)');
- Node0_13.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node0_13.a('node.borderColor','rgba(0,0,0,1)');
- Node0_13.a('node.background','rgba(0,0,0,1)');
- Node0_13.a('node.gradient','');
- Node0_13.a('node.gradientcolor','rgba(0,0,0,1)');
- Node0_13.a('node.endCompspts',Node0_13endCompspts);
- Node0_13.a('node.startCompspts',Node0_13startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node0_13';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node0_13, Node0_13.getImage(), Node0_13compspts, Node0_13endCompspts, Node0_13startCompspts);
- var Node0_14;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_cft_rightbg0.png', PAGEROOTDIR + 'image//page_cft_rightbg0.png');
- Node0_14 = new ht.Node();
- Node0_14.setPosition(1493*ratio.ratioX, 713*ratio.ratioY);
- Node0_14.setSize(39*ratioX, 254*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(1687*ratio.ratioX, 711*ratio.ratioY);
- Node0_15.setSize(347*ratioX, 254*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.5209*_ratio.ratioX, 254.1995*_ratio.ratioY, Node0_16type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_16.setPosition(1668*ratio.ratioX, 459*ratio.ratioY);
- Node0_16.setSize(386.5209*_ratio.ratioX, 254.1995*_ratio.ratioY);
- Node0_16.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_16.a('node.width', 386.5209*_ratio.ratioX);
- Node0_16.a('node.height', 254.1995*_ratio.ratioY);
- Node0_16.a('node.type', Node0_16type);
- Node0_16.a('node.rect', [0, 0, 386.5209*_ratio.ratioX, 254.1995*_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.5209*_ratio.ratioX, 254.1995*_ratio.ratioY, Node0_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_17.setPosition(1668*ratio.ratioX, 714*ratio.ratioY);
- Node0_17.setSize(386.5209*_ratio.ratioX, 254.1995*_ratio.ratioY);
- Node0_17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_17.a('node.width', 386.5209*_ratio.ratioX);
- Node0_17.a('node.height', 254.1995*_ratio.ratioY);
- Node0_17.a('node.type', Node0_17type);
- Node0_17.a('node.rect', [0, 0, 386.5209*_ratio.ratioX, 254.1995*_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 = 543*_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(1581*ratio.ratioX, 457*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, (543 - 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 = 784*_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(1625*ratio.ratioX, 706*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, (784 - 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, 23.98108*_ratio.ratioY, Node0_20_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_0.setPosition(558*ratio.ratioX, 229*ratio.ratioY);
- Node0_20_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_20_0.a('node.type', Node0_20_0type);
- Node0_20_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_20_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_1.setPosition(638*ratio.ratioX, 229*ratio.ratioY);
- Node0_20_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_20_1.a('node.type', Node0_20_1type);
- Node0_20_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_21_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_0.setPosition(558*ratio.ratioX, 453*ratio.ratioY);
- Node0_21_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_21_0.a('node.type', Node0_21_0type);
- Node0_21_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_21_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_1.setPosition(638*ratio.ratioX, 453*ratio.ratioY);
- Node0_21_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_21_1.a('node.type', Node0_21_1type);
- Node0_21_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_22_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_0.setPosition(558*ratio.ratioX, 380*ratio.ratioY);
- Node0_22_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_22_0.a('node.type', Node0_22_0type);
- Node0_22_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_22_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_1.setPosition(638*ratio.ratioX, 380*ratio.ratioY);
- Node0_22_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_22_1.a('node.type', Node0_22_1type);
- Node0_22_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_23_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_0.setPosition(561*ratio.ratioX, 529*ratio.ratioY);
- Node0_23_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_23_0.a('node.type', Node0_23_0type);
- Node0_23_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_23_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_1.setPosition(641*ratio.ratioX, 529*ratio.ratioY);
- Node0_23_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_23_1.a('node.type', Node0_23_1type);
- Node0_23_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_24_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_0.setPosition(561*ratio.ratioX, 604*ratio.ratioY);
- Node0_24_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_24_0.a('node.type', Node0_24_0type);
- Node0_24_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_24_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_1.setPosition(641*ratio.ratioX, 604*ratio.ratioY);
- Node0_24_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_24_1.a('node.type', Node0_24_1type);
- Node0_24_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_25_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_0.setPosition(561*ratio.ratioX, 679*ratio.ratioY);
- Node0_25_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_25_0.a('node.type', Node0_25_0type);
- Node0_25_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_25_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_1.setPosition(641*ratio.ratioX, 679*ratio.ratioY);
- Node0_25_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_25_1.a('node.type', Node0_25_1type);
- Node0_25_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_26_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_0.setPosition(561*ratio.ratioX, 753*ratio.ratioY);
- Node0_26_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_26_0.a('node.type', Node0_26_0type);
- Node0_26_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_26_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_1.setPosition(641*ratio.ratioX, 753*ratio.ratioY);
- Node0_26_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_26_1.a('node.type', Node0_26_1type);
- Node0_26_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_27_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_0.setPosition(558*ratio.ratioX, 305*ratio.ratioY);
- Node0_27_0.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_27_0.a('node.type', Node0_27_0type);
- Node0_27_0.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_27_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_1.setPosition(638*ratio.ratioX, 305*ratio.ratioY);
- Node0_27_1.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_27_1.a('node.type', Node0_27_1type);
- Node0_27_1.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_28_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_0.setPosition(876*ratio.ratioX, 229*ratio.ratioY);
- Node0_28_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_28_0.a('node.type', Node0_28_0type);
- Node0_28_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_28_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_1.setPosition(954*ratio.ratioX, 229*ratio.ratioY);
- Node0_28_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_28_1.a('node.type', Node0_28_1type);
- Node0_28_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_29_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_0.setPosition(876*ratio.ratioX, 604*ratio.ratioY);
- Node0_29_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_29_0.a('node.type', Node0_29_0type);
- Node0_29_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_29_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_1.setPosition(954*ratio.ratioX, 604*ratio.ratioY);
- Node0_29_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_29_1.a('node.type', Node0_29_1type);
- Node0_29_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_30_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_0.setPosition(876*ratio.ratioX, 453*ratio.ratioY);
- Node0_30_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_30_0.a('node.type', Node0_30_0type);
- Node0_30_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_30_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_1.setPosition(954*ratio.ratioX, 453*ratio.ratioY);
- Node0_30_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_30_1.a('node.type', Node0_30_1type);
- Node0_30_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_31_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_0.setPosition(876*ratio.ratioX, 380*ratio.ratioY);
- Node0_31_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_31_0.a('node.type', Node0_31_0type);
- Node0_31_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_31_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_1.setPosition(954*ratio.ratioX, 380*ratio.ratioY);
- Node0_31_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_31_1.a('node.type', Node0_31_1type);
- Node0_31_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_32_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_0.setPosition(876*ratio.ratioX, 679*ratio.ratioY);
- Node0_32_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_32_0.a('node.type', Node0_32_0type);
- Node0_32_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_32_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_1.setPosition(954*ratio.ratioX, 679*ratio.ratioY);
- Node0_32_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_32_1.a('node.type', Node0_32_1type);
- Node0_32_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_33_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_0.setPosition(876*ratio.ratioX, 753*ratio.ratioY);
- Node0_33_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_33_0.a('node.type', Node0_33_0type);
- Node0_33_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_33_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_1.setPosition(954*ratio.ratioX, 753*ratio.ratioY);
- Node0_33_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_33_1.a('node.type', Node0_33_1type);
- Node0_33_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_34_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_0.setPosition(876*ratio.ratioX, 527*ratio.ratioY);
- Node0_34_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_34_0.a('node.type', Node0_34_0type);
- Node0_34_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_34_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_1.setPosition(954*ratio.ratioX, 527*ratio.ratioY);
- Node0_34_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_34_1.a('node.type', Node0_34_1type);
- Node0_34_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_35_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_0.setPosition(876*ratio.ratioX, 305*ratio.ratioY);
- Node0_35_0.setSize(86.75031*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_35_0.a('node.type', Node0_35_0type);
- Node0_35_0.a('node.rect', [0, 0, 86.75031*_ratio.ratioX, 23.98108*_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, 23.98108*_ratio.ratioY, Node0_35_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_1.setPosition(954*ratio.ratioX, 305*ratio.ratioY);
- Node0_35_1.setSize(72.29193*_ratio.ratioX, 23.98108*_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', 23.98108*_ratio.ratioY);
- Node0_35_1.a('node.type', Node0_35_1type);
- Node0_35_1.a('node.rect', [0, 0, 72.29193*_ratio.ratioX, 23.98108*_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(644*ratio.ratioX, 231*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(559*ratio.ratioX, 231*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(635*ratio.ratioX, 308*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(649*ratio.ratioX, 384*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(640*ratio.ratioX, 533*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(640*ratio.ratioX, 684*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(640*ratio.ratioX, 456*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(649*ratio.ratioX, 607*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(640*ratio.ratioX, 756*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 = 23*_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(573*ratio.ratioX, 308*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, (23 - 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 = 23*_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(573*ratio.ratioX, 381*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, (23 - 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(559*ratio.ratioX, 454*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(559*ratio.ratioX, 531*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 = 23*_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(573*ratio.ratioX, 682*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, (23 - 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 = 34*_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(586*ratio.ratioX, 606*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, (34 - 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 = 23*_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(571*ratio.ratioX, 755*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, (23 - 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 = 35*_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(882*ratio.ratioX, 233*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, (35 - 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(884*ratio.ratioX, 309*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(884*ratio.ratioX, 385*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 = 48*_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(878*ratio.ratioX, 457*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, (48 - 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(884*ratio.ratioX, 756*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(884*ratio.ratioX, 682*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 = 35*_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(906*ratio.ratioX, 531*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, (35 - 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(884*ratio.ratioX, 607*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 = 34*_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(975*ratio.ratioX, 232*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, (34 - 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 = 34*_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(975*ratio.ratioX, 307*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, (34 - 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 = 34*_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(975*ratio.ratioX, 382*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, (34 - 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 = 34*_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(975*ratio.ratioX, 457*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, (34 - 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 = 34*_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(975*ratio.ratioX, 531*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, (34 - 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 = 34*_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(975*ratio.ratioX, 607*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, (34 - 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 = 34*_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(975*ratio.ratioX, 680*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, (34 - 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 = 34*_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(975*ratio.ratioX, 755*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, (34 - 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=[1474, 162,34, 162],
- Node0_68rect=ht.Default.unionPoint([{x:1474,y:162},{x:34,y:162}]),
- 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 = 47*_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(1845*ratio.ratioX, 193*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, (47 - 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 = 35*_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(1830*ratio.ratioX, 252*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, (35 - 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(1814*ratio.ratioX, 303*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(1705*ratio.ratioX, 194*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(1690*ratio.ratioX, 254*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(1690*ratio.ratioX, 311*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'
- }); var Node1_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');
- Node1_0 = new ht.Node();
- Node1_0.setPosition(13*ratio.ratioX, 221*ratio.ratioY);
- Node1_0.setSize(27*ratioX, 101*ratioY);
- Node1_0.setImage('imgimage//left_menu_out0.png');
- Node1_0.setRotation(0*Math.PI/180);
- Node1_0._zoomBy = 'Default';
- Node1_0._nodeType = 'image';
- Node1_0._disallowEvert = true;
- dataModel.add(Node1_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1_1 = new ht.Node();
- var Node1_1textStart, Node1_1textWidth, Node1_1lineStart, Node1_1align = 'left', Node1_1fontSize = 19.99995*_ratio.ratioY,Node1_1width = 23*_ratio.ratioX, Node1_1height = 76*_ratio.ratioY;
- (function () {
- if (Node1_1align === 'left') {
- Node1_1textStart = Node1_1fontSize * 0.2 > 2 ? Node1_1fontSize * 0.2 - 4 : Node1_1fontSize * 0.2 - 9;
- Node1_1textWidth = Node1_1width;
- Node1_1lineStart = 1;
- } else if (Node1_1align === 'right') {
- Node1_1textStart = 0;
- Node1_1textWidth =Node1_1fontSize <= 8 ? Node1_1width + Node1_1fontSize * 0.2 + 6 : Node1_1width - Node1_1fontSize * 0.2;
- Node1_1lineStart = (Node1_1width - (ht.Default.getTextSize('排布图', ' '+ Node1_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node1_1align === 'center') {
- Node1_1textStart = -3;
- Node1_1textWidth = Node1_1width;
- Node1_1lineStart = Node1_1width - ht.Default.getTextSize('排布图', ' '+ Node1_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node1_1.setImage(GD.getTextJSON(Node1_1width, Node1_1height, false, true, false, ' '+ Node1_1fontSize + 'px "Arial"'))
- Node1_1.setPosition(12*ratio.ratioX, 219*ratio.ratioY);
- Node1_1.setWidth(Node1_1width);
- Node1_1.setHeight(Node1_1height);
- Node1_1._nodeType = 'text';
- Node1_1._disallowEvert = true;
- Node1_1.setRotation(0*Math.PI/180);
- Node1_1.a('node.width', Node1_1width);
- Node1_1.a('node.height', Node1_1height);
- Node1_1.a('node.rect', [0, 0, Node1_1width, Node1_1height]);
- Node1_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node1_1.a('node.borderwidth', 0);
- Node1_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node1_1.a('node.gradient','');
- Node1_1.a('node.gradientcolor','');
- Node1_1.a('node.text','排布图');
- Node1_1.a('node.textalign','left');
- Node1_1.a('node.textvAlign','middle');
- Node1_1.a('node.textrect', [Node1_1textStart, 0, Node1_1textWidth, Node1_1height]);
- Node1_1.a('node.color','rgba(0,0,0,1)');
- Node1_1.a('node.font',' '+ Node1_1fontSize + 'px "Arial"');
- Node1_1.a('node.textvisible',false);
- Node1_1.a('node.linefeed',true);
- if (true) {
- Node1_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node1_1.a('node.text') || '排布图';
- var color=Node1_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node1_1width,Node1_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node1_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node1_1.a('node.underlinepoints',[Node1_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node1_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node1_1fontSize + 'px "Arial"').width + 6, (Node1_1height - Node1_1fontSize) * 0.5*_ratio.ratioY + Node1_1fontSize + 2 ]);
- Node1_1.a('node.underlinevisible',false);
- Node1_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node1_1);
- zoomNodeList.push({
- node: Node1_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node2_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');
- Node2_0 = new ht.Node();
- Node2_0.setPosition(13*ratio.ratioX, 321*ratio.ratioY);
- Node2_0.setSize(27*ratioX, 101*ratioY);
- Node2_0.setImage('imgimage//left_menu_out0.png');
- Node2_0.setRotation(0*Math.PI/180);
- Node2_0._zoomBy = 'Default';
- Node2_0._nodeType = 'image';
- Node2_0._disallowEvert = true;
- dataModel.add(Node2_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2_1 = new ht.Node();
- var Node2_1textStart, Node2_1textWidth, Node2_1lineStart, Node2_1align = 'left', Node2_1fontSize = 18.66662*_ratio.ratioY,Node2_1width = 23*_ratio.ratioX, Node2_1height = 76*_ratio.ratioY;
- (function () {
- if (Node2_1align === 'left') {
- Node2_1textStart = Node2_1fontSize * 0.2 > 2 ? Node2_1fontSize * 0.2 - 4 : Node2_1fontSize * 0.2 - 9;
- Node2_1textWidth = Node2_1width;
- Node2_1lineStart = 1;
- } else if (Node2_1align === 'right') {
- Node2_1textStart = 0;
- Node2_1textWidth =Node2_1fontSize <= 8 ? Node2_1width + Node2_1fontSize * 0.2 + 6 : Node2_1width - Node2_1fontSize * 0.2;
- Node2_1lineStart = (Node2_1width - (ht.Default.getTextSize('总貌图', ' '+ Node2_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node2_1align === 'center') {
- Node2_1textStart = -3;
- Node2_1textWidth = Node2_1width;
- Node2_1lineStart = Node2_1width - ht.Default.getTextSize('总貌图', ' '+ Node2_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node2_1.setImage(GD.getTextJSON(Node2_1width, Node2_1height, false, true, false, ' '+ Node2_1fontSize + 'px "Arial"'))
- Node2_1.setPosition(12*ratio.ratioX, 319*ratio.ratioY);
- Node2_1.setWidth(Node2_1width);
- Node2_1.setHeight(Node2_1height);
- Node2_1._nodeType = 'text';
- Node2_1._disallowEvert = true;
- Node2_1.setRotation(0*Math.PI/180);
- Node2_1.a('node.width', Node2_1width);
- Node2_1.a('node.height', Node2_1height);
- Node2_1.a('node.rect', [0, 0, Node2_1width, Node2_1height]);
- Node2_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node2_1.a('node.borderwidth', 0);
- Node2_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node2_1.a('node.gradient','');
- Node2_1.a('node.gradientcolor','');
- Node2_1.a('node.text','总貌图');
- Node2_1.a('node.textalign','left');
- Node2_1.a('node.textvAlign','middle');
- Node2_1.a('node.textrect', [Node2_1textStart, 0, Node2_1textWidth, Node2_1height]);
- Node2_1.a('node.color','rgba(0,0,0,1)');
- Node2_1.a('node.font',' '+ Node2_1fontSize + 'px "Arial"');
- Node2_1.a('node.textvisible',false);
- Node2_1.a('node.linefeed',true);
- if (true) {
- Node2_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node2_1.a('node.text') || '总貌图';
- var color=Node2_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node2_1width,Node2_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node2_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node2_1.a('node.underlinepoints',[Node2_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node2_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node2_1fontSize + 'px "Arial"').width + 6, (Node2_1height - Node2_1fontSize) * 0.5*_ratio.ratioY + Node2_1fontSize + 2 ]);
- Node2_1.a('node.underlinevisible',false);
- Node2_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node2_1);
- zoomNodeList.push({
- node: Node2_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node3_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');
- Node3_0 = new ht.Node();
- Node3_0.setPosition(13*ratio.ratioX, 421*ratio.ratioY);
- Node3_0.setSize(27*ratioX, 101*ratioY);
- Node3_0.setImage('imgimage//left_menu_out0.png');
- Node3_0.setRotation(0*Math.PI/180);
- Node3_0._zoomBy = 'Default';
- Node3_0._nodeType = 'image';
- Node3_0._disallowEvert = true;
- dataModel.add(Node3_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3_1 = new ht.Node();
- var Node3_1textStart, Node3_1textWidth, Node3_1lineStart, Node3_1align = 'left', Node3_1fontSize = 18.66662*_ratio.ratioY,Node3_1width = 23*_ratio.ratioX, Node3_1height = 76*_ratio.ratioY;
- (function () {
- if (Node3_1align === 'left') {
- Node3_1textStart = Node3_1fontSize * 0.2 > 2 ? Node3_1fontSize * 0.2 - 4 : Node3_1fontSize * 0.2 - 9;
- Node3_1textWidth = Node3_1width;
- Node3_1lineStart = 1;
- } else if (Node3_1align === 'right') {
- Node3_1textStart = 0;
- Node3_1textWidth =Node3_1fontSize <= 8 ? Node3_1width + Node3_1fontSize * 0.2 + 6 : Node3_1width - Node3_1fontSize * 0.2;
- Node3_1lineStart = (Node3_1width - (ht.Default.getTextSize('升压站', ' '+ Node3_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node3_1align === 'center') {
- Node3_1textStart = -3;
- Node3_1textWidth = Node3_1width;
- Node3_1lineStart = Node3_1width - ht.Default.getTextSize('升压站', ' '+ Node3_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node3_1.setImage(GD.getTextJSON(Node3_1width, Node3_1height, false, true, false, ' '+ Node3_1fontSize + 'px "Arial"'))
- Node3_1.setPosition(12*ratio.ratioX, 419*ratio.ratioY);
- Node3_1.setWidth(Node3_1width);
- Node3_1.setHeight(Node3_1height);
- Node3_1._nodeType = 'text';
- Node3_1._disallowEvert = true;
- Node3_1.setRotation(0*Math.PI/180);
- Node3_1.a('node.width', Node3_1width);
- Node3_1.a('node.height', Node3_1height);
- Node3_1.a('node.rect', [0, 0, Node3_1width, Node3_1height]);
- Node3_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node3_1.a('node.borderwidth', 0);
- Node3_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node3_1.a('node.gradient','');
- Node3_1.a('node.gradientcolor','');
- Node3_1.a('node.text','升压站');
- Node3_1.a('node.textalign','left');
- Node3_1.a('node.textvAlign','middle');
- Node3_1.a('node.textrect', [Node3_1textStart, 0, Node3_1textWidth, Node3_1height]);
- Node3_1.a('node.color','rgba(0,0,0,1)');
- Node3_1.a('node.font',' '+ Node3_1fontSize + 'px "Arial"');
- Node3_1.a('node.textvisible',false);
- Node3_1.a('node.linefeed',true);
- if (true) {
- Node3_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node3_1.a('node.text') || '升压站';
- var color=Node3_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node3_1width,Node3_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node3_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node3_1.a('node.underlinepoints',[Node3_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node3_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node3_1fontSize + 'px "Arial"').width + 6, (Node3_1height - Node3_1fontSize) * 0.5*_ratio.ratioY + Node3_1fontSize + 2 ]);
- Node3_1.a('node.underlinevisible',false);
- Node3_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node3_1);
- zoomNodeList.push({
- node: Node3_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node4_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');
- Node4_0 = new ht.Node();
- Node4_0.setPosition(13*ratio.ratioX, 521*ratio.ratioY);
- Node4_0.setSize(27*ratioX, 101*ratioY);
- Node4_0.setImage('imgimage//left_menu_over0.png');
- Node4_0.setRotation(0*Math.PI/180);
- Node4_0._zoomBy = 'Default';
- Node4_0._nodeType = 'image';
- Node4_0._disallowEvert = true;
- dataModel.add(Node4_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4_1 = new ht.Node();
- var Node4_1textStart, Node4_1textWidth, Node4_1lineStart, Node4_1align = 'left', Node4_1fontSize = 18.66662*_ratio.ratioY,Node4_1width = 23*_ratio.ratioX, Node4_1height = 76*_ratio.ratioY;
- (function () {
- if (Node4_1align === 'left') {
- Node4_1textStart = Node4_1fontSize * 0.2 > 2 ? Node4_1fontSize * 0.2 - 4 : Node4_1fontSize * 0.2 - 9;
- Node4_1textWidth = Node4_1width;
- Node4_1lineStart = 1;
- } else if (Node4_1align === 'right') {
- Node4_1textStart = 0;
- Node4_1textWidth =Node4_1fontSize <= 8 ? Node4_1width + Node4_1fontSize * 0.2 + 6 : Node4_1width - Node4_1fontSize * 0.2;
- Node4_1lineStart = (Node4_1width - (ht.Default.getTextSize('测风塔', ' '+ Node4_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node4_1align === 'center') {
- Node4_1textStart = -3;
- Node4_1textWidth = Node4_1width;
- Node4_1lineStart = Node4_1width - ht.Default.getTextSize('测风塔', ' '+ Node4_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node4_1.setImage(GD.getTextJSON(Node4_1width, Node4_1height, false, true, false, ' '+ Node4_1fontSize + 'px "Arial"'))
- Node4_1.setPosition(12*ratio.ratioX, 519*ratio.ratioY);
- Node4_1.setWidth(Node4_1width);
- Node4_1.setHeight(Node4_1height);
- Node4_1._nodeType = 'text';
- Node4_1._disallowEvert = true;
- Node4_1.setRotation(0*Math.PI/180);
- Node4_1.a('node.width', Node4_1width);
- Node4_1.a('node.height', Node4_1height);
- Node4_1.a('node.rect', [0, 0, Node4_1width, Node4_1height]);
- Node4_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node4_1.a('node.borderwidth', 0);
- Node4_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node4_1.a('node.gradient','');
- Node4_1.a('node.gradientcolor','');
- Node4_1.a('node.text','测风塔');
- Node4_1.a('node.textalign','left');
- Node4_1.a('node.textvAlign','middle');
- Node4_1.a('node.textrect', [Node4_1textStart, 0, Node4_1textWidth, Node4_1height]);
- Node4_1.a('node.color','rgba(0,0,0,1)');
- Node4_1.a('node.font',' '+ Node4_1fontSize + 'px "Arial"');
- Node4_1.a('node.textvisible',false);
- Node4_1.a('node.linefeed',true);
- if (true) {
- Node4_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node4_1.a('node.text') || '测风塔';
- var color=Node4_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node4_1width,Node4_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node4_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node4_1.a('node.underlinepoints',[Node4_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node4_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node4_1fontSize + 'px "Arial"').width + 6, (Node4_1height - Node4_1fontSize) * 0.5*_ratio.ratioY + Node4_1fontSize + 2 ]);
- Node4_1.a('node.underlinevisible',false);
- Node4_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node4_1);
- zoomNodeList.push({
- node: Node4_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node5_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');
- Node5_0 = new ht.Node();
- Node5_0.setPosition(13*ratio.ratioX, 621*ratio.ratioY);
- Node5_0.setSize(27*ratioX, 101*ratioY);
- Node5_0.setImage('imgimage//left_menu_over0.png');
- Node5_0.setRotation(0*Math.PI/180);
- Node5_0._zoomBy = 'Default';
- Node5_0._nodeType = 'image';
- Node5_0._disallowEvert = true;
- dataModel.add(Node5_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5_1 = new ht.Node();
- var Node5_1textStart, Node5_1textWidth, Node5_1lineStart, Node5_1align = 'left', Node5_1fontSize = 18.66662*_ratio.ratioY,Node5_1width = 23*_ratio.ratioX, Node5_1height = 76*_ratio.ratioY;
- (function () {
- if (Node5_1align === 'left') {
- Node5_1textStart = Node5_1fontSize * 0.2 > 2 ? Node5_1fontSize * 0.2 - 4 : Node5_1fontSize * 0.2 - 9;
- Node5_1textWidth = Node5_1width;
- Node5_1lineStart = 1;
- } else if (Node5_1align === 'right') {
- Node5_1textStart = 0;
- Node5_1textWidth =Node5_1fontSize <= 8 ? Node5_1width + Node5_1fontSize * 0.2 + 6 : Node5_1width - Node5_1fontSize * 0.2;
- Node5_1lineStart = (Node5_1width - (ht.Default.getTextSize('风机信息', ' '+ Node5_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node5_1align === 'center') {
- Node5_1textStart = -3;
- Node5_1textWidth = Node5_1width;
- Node5_1lineStart = Node5_1width - ht.Default.getTextSize('风机信息', ' '+ Node5_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node5_1.setImage(GD.getTextJSON(Node5_1width, Node5_1height, false, true, false, ' '+ Node5_1fontSize + 'px "Arial"'))
- Node5_1.setPosition(12*ratio.ratioX, 619*ratio.ratioY);
- Node5_1.setWidth(Node5_1width);
- Node5_1.setHeight(Node5_1height);
- Node5_1._nodeType = 'text';
- Node5_1._disallowEvert = true;
- Node5_1.setRotation(0*Math.PI/180);
- Node5_1.a('node.width', Node5_1width);
- Node5_1.a('node.height', Node5_1height);
- Node5_1.a('node.rect', [0, 0, Node5_1width, Node5_1height]);
- Node5_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node5_1.a('node.borderwidth', 0);
- Node5_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node5_1.a('node.gradient','');
- Node5_1.a('node.gradientcolor','');
- Node5_1.a('node.text','风机信息');
- Node5_1.a('node.textalign','left');
- Node5_1.a('node.textvAlign','middle');
- Node5_1.a('node.textrect', [Node5_1textStart, 0, Node5_1textWidth, Node5_1height]);
- Node5_1.a('node.color','rgba(0,0,0,1)');
- Node5_1.a('node.font',' '+ Node5_1fontSize + 'px "Arial"');
- Node5_1.a('node.textvisible',false);
- Node5_1.a('node.linefeed',true);
- if (true) {
- Node5_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node5_1.a('node.text') || '风机信息';
- var color=Node5_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node5_1width,Node5_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node5_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node5_1.a('node.underlinepoints',[Node5_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node5_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node5_1fontSize + 'px "Arial"').width + 6, (Node5_1height - Node5_1fontSize) * 0.5*_ratio.ratioY + Node5_1fontSize + 2 ]);
- Node5_1.a('node.underlinevisible',false);
- Node5_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node5_1);
- zoomNodeList.push({
- node: Node5_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node6_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');
- Node6_0 = new ht.Node();
- Node6_0.setPosition(13*ratio.ratioX, 721*ratio.ratioY);
- Node6_0.setSize(27*ratioX, 101*ratioY);
- Node6_0.setImage('imgimage//left_menu_out0.png');
- Node6_0.setRotation(0*Math.PI/180);
- Node6_0._zoomBy = 'Default';
- Node6_0._nodeType = 'image';
- Node6_0._disallowEvert = true;
- dataModel.add(Node6_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6_1 = new ht.Node();
- var Node6_1textStart, Node6_1textWidth, Node6_1lineStart, Node6_1align = 'left', Node6_1fontSize = 18.66662*_ratio.ratioY,Node6_1width = 23*_ratio.ratioX, Node6_1height = 76*_ratio.ratioY;
- (function () {
- if (Node6_1align === 'left') {
- Node6_1textStart = Node6_1fontSize * 0.2 > 2 ? Node6_1fontSize * 0.2 - 4 : Node6_1fontSize * 0.2 - 9;
- Node6_1textWidth = Node6_1width;
- Node6_1lineStart = 1;
- } else if (Node6_1align === 'right') {
- Node6_1textStart = 0;
- Node6_1textWidth =Node6_1fontSize <= 8 ? Node6_1width + Node6_1fontSize * 0.2 + 6 : Node6_1width - Node6_1fontSize * 0.2;
- Node6_1lineStart = (Node6_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node6_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node6_1align === 'center') {
- Node6_1textStart = -3;
- Node6_1textWidth = Node6_1width;
- Node6_1lineStart = Node6_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node6_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node6_1.setImage(GD.getTextJSON(Node6_1width, Node6_1height, false, true, false, ' '+ Node6_1fontSize + 'px "Arial"'))
- Node6_1.setPosition(12*ratio.ratioX, 719*ratio.ratioY);
- Node6_1.setWidth(Node6_1width);
- Node6_1.setHeight(Node6_1height);
- Node6_1._nodeType = 'text';
- Node6_1._disallowEvert = true;
- Node6_1.setRotation(0*Math.PI/180);
- Node6_1.a('node.width', Node6_1width);
- Node6_1.a('node.height', Node6_1height);
- Node6_1.a('node.rect', [0, 0, Node6_1width, Node6_1height]);
- Node6_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node6_1.a('node.borderwidth', 0);
- Node6_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node6_1.a('node.gradient','');
- Node6_1.a('node.gradientcolor','');
- Node6_1.a('node.text','风机矩阵');
- Node6_1.a('node.textalign','left');
- Node6_1.a('node.textvAlign','middle');
- Node6_1.a('node.textrect', [Node6_1textStart, 0, Node6_1textWidth, Node6_1height]);
- Node6_1.a('node.color','rgba(0,0,0,1)');
- Node6_1.a('node.font',' '+ Node6_1fontSize + 'px "Arial"');
- Node6_1.a('node.textvisible',false);
- Node6_1.a('node.linefeed',true);
- if (true) {
- Node6_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node6_1.a('node.text') || '风机矩阵';
- var color=Node6_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node6_1width,Node6_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node6_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node6_1.a('node.underlinepoints',[Node6_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node6_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node6_1fontSize + 'px "Arial"').width + 6, (Node6_1height - Node6_1fontSize) * 0.5*_ratio.ratioY + Node6_1fontSize + 2 ]);
- Node6_1.a('node.underlinevisible',false);
- Node6_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node6_1);
- zoomNodeList.push({
- node: Node6_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node7_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');
- Node7_0 = new ht.Node();
- Node7_0.setPosition(13*ratio.ratioX, 221*ratio.ratioY);
- Node7_0.setSize(27*ratioX, 101*ratioY);
- Node7_0.setImage('imgimage//left_menu_over0.png');
- Node7_0.setRotation(0*Math.PI/180);
- Node7_0._zoomBy = 'Default';
- Node7_0._nodeType = 'image';
- Node7_0._disallowEvert = true;
- dataModel.add(Node7_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7_1 = new ht.Node();
- var Node7_1textStart, Node7_1textWidth, Node7_1lineStart, Node7_1align = 'left', Node7_1fontSize = 19.99995*_ratio.ratioY,Node7_1width = 23*_ratio.ratioX, Node7_1height = 76*_ratio.ratioY;
- (function () {
- if (Node7_1align === 'left') {
- Node7_1textStart = Node7_1fontSize * 0.2 > 2 ? Node7_1fontSize * 0.2 - 4 : Node7_1fontSize * 0.2 - 9;
- Node7_1textWidth = Node7_1width;
- Node7_1lineStart = 1;
- } else if (Node7_1align === 'right') {
- Node7_1textStart = 0;
- Node7_1textWidth =Node7_1fontSize <= 8 ? Node7_1width + Node7_1fontSize * 0.2 + 6 : Node7_1width - Node7_1fontSize * 0.2;
- Node7_1lineStart = (Node7_1width - (ht.Default.getTextSize('排布图', ' '+ Node7_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node7_1align === 'center') {
- Node7_1textStart = -3;
- Node7_1textWidth = Node7_1width;
- Node7_1lineStart = Node7_1width - ht.Default.getTextSize('排布图', ' '+ Node7_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node7_1.setImage(GD.getTextJSON(Node7_1width, Node7_1height, false, true, false, ' '+ Node7_1fontSize + 'px "Arial"'))
- Node7_1.setPosition(11*ratio.ratioX, 219*ratio.ratioY);
- Node7_1.setWidth(Node7_1width);
- Node7_1.setHeight(Node7_1height);
- Node7_1._nodeType = 'text';
- Node7_1._disallowEvert = true;
- Node7_1.setRotation(0*Math.PI/180);
- Node7_1.a('node.width', Node7_1width);
- Node7_1.a('node.height', Node7_1height);
- Node7_1.a('node.rect', [0, 0, Node7_1width, Node7_1height]);
- Node7_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node7_1.a('node.borderwidth', 0);
- Node7_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node7_1.a('node.gradient','');
- Node7_1.a('node.gradientcolor','');
- Node7_1.a('node.text','排布图');
- Node7_1.a('node.textalign','left');
- Node7_1.a('node.textvAlign','middle');
- Node7_1.a('node.textrect', [Node7_1textStart, 0, Node7_1textWidth, Node7_1height]);
- Node7_1.a('node.color','rgba(0,0,0,1)');
- Node7_1.a('node.font',' '+ Node7_1fontSize + 'px "Arial"');
- Node7_1.a('node.textvisible',false);
- Node7_1.a('node.linefeed',true);
- if (true) {
- Node7_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node7_1.a('node.text') || '排布图';
- var color=Node7_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node7_1width,Node7_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node7_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node7_1.a('node.underlinepoints',[Node7_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node7_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node7_1fontSize + 'px "Arial"').width + 6, (Node7_1height - Node7_1fontSize) * 0.5*_ratio.ratioY + Node7_1fontSize + 2 ]);
- Node7_1.a('node.underlinevisible',false);
- Node7_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node7_1);
- zoomNodeList.push({
- node: Node7_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node8_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');
- Node8_0 = new ht.Node();
- Node8_0.setPosition(13*ratio.ratioX, 321*ratio.ratioY);
- Node8_0.setSize(27*ratioX, 101*ratioY);
- Node8_0.setImage('imgimage//left_menu_over0.png');
- Node8_0.setRotation(0*Math.PI/180);
- Node8_0._zoomBy = 'Default';
- Node8_0._nodeType = 'image';
- Node8_0._disallowEvert = true;
- dataModel.add(Node8_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8_1 = new ht.Node();
- var Node8_1textStart, Node8_1textWidth, Node8_1lineStart, Node8_1align = 'left', Node8_1fontSize = 18.66662*_ratio.ratioY,Node8_1width = 23*_ratio.ratioX, Node8_1height = 76*_ratio.ratioY;
- (function () {
- if (Node8_1align === 'left') {
- Node8_1textStart = Node8_1fontSize * 0.2 > 2 ? Node8_1fontSize * 0.2 - 4 : Node8_1fontSize * 0.2 - 9;
- Node8_1textWidth = Node8_1width;
- Node8_1lineStart = 1;
- } else if (Node8_1align === 'right') {
- Node8_1textStart = 0;
- Node8_1textWidth =Node8_1fontSize <= 8 ? Node8_1width + Node8_1fontSize * 0.2 + 6 : Node8_1width - Node8_1fontSize * 0.2;
- Node8_1lineStart = (Node8_1width - (ht.Default.getTextSize('总貌图', ' '+ Node8_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node8_1align === 'center') {
- Node8_1textStart = -3;
- Node8_1textWidth = Node8_1width;
- Node8_1lineStart = Node8_1width - ht.Default.getTextSize('总貌图', ' '+ Node8_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node8_1.setImage(GD.getTextJSON(Node8_1width, Node8_1height, false, true, false, ' '+ Node8_1fontSize + 'px "Arial"'))
- Node8_1.setPosition(12*ratio.ratioX, 319*ratio.ratioY);
- Node8_1.setWidth(Node8_1width);
- Node8_1.setHeight(Node8_1height);
- Node8_1._nodeType = 'text';
- Node8_1._disallowEvert = true;
- Node8_1.setRotation(0*Math.PI/180);
- Node8_1.a('node.width', Node8_1width);
- Node8_1.a('node.height', Node8_1height);
- Node8_1.a('node.rect', [0, 0, Node8_1width, Node8_1height]);
- Node8_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node8_1.a('node.borderwidth', 0);
- Node8_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node8_1.a('node.gradient','');
- Node8_1.a('node.gradientcolor','');
- Node8_1.a('node.text','总貌图');
- Node8_1.a('node.textalign','left');
- Node8_1.a('node.textvAlign','middle');
- Node8_1.a('node.textrect', [Node8_1textStart, 0, Node8_1textWidth, Node8_1height]);
- Node8_1.a('node.color','rgba(0,0,0,1)');
- Node8_1.a('node.font',' '+ Node8_1fontSize + 'px "Arial"');
- Node8_1.a('node.textvisible',false);
- Node8_1.a('node.linefeed',true);
- if (true) {
- Node8_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node8_1.a('node.text') || '总貌图';
- var color=Node8_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node8_1width,Node8_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node8_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node8_1.a('node.underlinepoints',[Node8_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node8_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node8_1fontSize + 'px "Arial"').width + 6, (Node8_1height - Node8_1fontSize) * 0.5*_ratio.ratioY + Node8_1fontSize + 2 ]);
- Node8_1.a('node.underlinevisible',false);
- Node8_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node8_1);
- zoomNodeList.push({
- node: Node8_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node9_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');
- Node9_0 = new ht.Node();
- Node9_0.setPosition(13*ratio.ratioX, 421*ratio.ratioY);
- Node9_0.setSize(27*ratioX, 101*ratioY);
- Node9_0.setImage('imgimage//left_menu_over0.png');
- Node9_0.setRotation(0*Math.PI/180);
- Node9_0._zoomBy = 'Default';
- Node9_0._nodeType = 'image';
- Node9_0._disallowEvert = true;
- dataModel.add(Node9_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9_1 = new ht.Node();
- var Node9_1textStart, Node9_1textWidth, Node9_1lineStart, Node9_1align = 'left', Node9_1fontSize = 18.66662*_ratio.ratioY,Node9_1width = 23*_ratio.ratioX, Node9_1height = 76*_ratio.ratioY;
- (function () {
- if (Node9_1align === 'left') {
- Node9_1textStart = Node9_1fontSize * 0.2 > 2 ? Node9_1fontSize * 0.2 - 4 : Node9_1fontSize * 0.2 - 9;
- Node9_1textWidth = Node9_1width;
- Node9_1lineStart = 1;
- } else if (Node9_1align === 'right') {
- Node9_1textStart = 0;
- Node9_1textWidth =Node9_1fontSize <= 8 ? Node9_1width + Node9_1fontSize * 0.2 + 6 : Node9_1width - Node9_1fontSize * 0.2;
- Node9_1lineStart = (Node9_1width - (ht.Default.getTextSize('升压站', ' '+ Node9_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9_1align === 'center') {
- Node9_1textStart = -3;
- Node9_1textWidth = Node9_1width;
- Node9_1lineStart = Node9_1width - ht.Default.getTextSize('升压站', ' '+ Node9_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9_1.setImage(GD.getTextJSON(Node9_1width, Node9_1height, false, true, false, ' '+ Node9_1fontSize + 'px "Arial"'))
- Node9_1.setPosition(12*ratio.ratioX, 419*ratio.ratioY);
- Node9_1.setWidth(Node9_1width);
- Node9_1.setHeight(Node9_1height);
- Node9_1._nodeType = 'text';
- Node9_1._disallowEvert = true;
- Node9_1.setRotation(0*Math.PI/180);
- Node9_1.a('node.width', Node9_1width);
- Node9_1.a('node.height', Node9_1height);
- Node9_1.a('node.rect', [0, 0, Node9_1width, Node9_1height]);
- Node9_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node9_1.a('node.borderwidth', 0);
- Node9_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node9_1.a('node.gradient','');
- Node9_1.a('node.gradientcolor','');
- Node9_1.a('node.text','升压站');
- Node9_1.a('node.textalign','left');
- Node9_1.a('node.textvAlign','middle');
- Node9_1.a('node.textrect', [Node9_1textStart, 0, Node9_1textWidth, Node9_1height]);
- Node9_1.a('node.color','rgba(0,0,0,1)');
- Node9_1.a('node.font',' '+ Node9_1fontSize + 'px "Arial"');
- Node9_1.a('node.textvisible',false);
- Node9_1.a('node.linefeed',true);
- if (true) {
- Node9_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node9_1.a('node.text') || '升压站';
- var color=Node9_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node9_1width,Node9_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node9_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9_1.a('node.underlinepoints',[Node9_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node9_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node9_1fontSize + 'px "Arial"').width + 6, (Node9_1height - Node9_1fontSize) * 0.5*_ratio.ratioY + Node9_1fontSize + 2 ]);
- Node9_1.a('node.underlinevisible',false);
- Node9_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node9_1);
- zoomNodeList.push({
- node: Node9_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node10_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');
- Node10_0 = new ht.Node();
- Node10_0.setPosition(13*ratio.ratioX, 521*ratio.ratioY);
- Node10_0.setSize(27*ratioX, 101*ratioY);
- Node10_0.setImage('imgimage//left_menu_out0.png');
- Node10_0.setRotation(0*Math.PI/180);
- Node10_0._zoomBy = 'Default';
- Node10_0._nodeType = 'image';
- Node10_0._disallowEvert = true;
- dataModel.add(Node10_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node10_1 = new ht.Node();
- var Node10_1textStart, Node10_1textWidth, Node10_1lineStart, Node10_1align = 'left', Node10_1fontSize = 18.66662*_ratio.ratioY,Node10_1width = 23*_ratio.ratioX, Node10_1height = 76*_ratio.ratioY;
- (function () {
- if (Node10_1align === 'left') {
- Node10_1textStart = Node10_1fontSize * 0.2 > 2 ? Node10_1fontSize * 0.2 - 4 : Node10_1fontSize * 0.2 - 9;
- Node10_1textWidth = Node10_1width;
- Node10_1lineStart = 1;
- } else if (Node10_1align === 'right') {
- Node10_1textStart = 0;
- Node10_1textWidth =Node10_1fontSize <= 8 ? Node10_1width + Node10_1fontSize * 0.2 + 6 : Node10_1width - Node10_1fontSize * 0.2;
- Node10_1lineStart = (Node10_1width - (ht.Default.getTextSize('测风塔', ' '+ Node10_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node10_1align === 'center') {
- Node10_1textStart = -3;
- Node10_1textWidth = Node10_1width;
- Node10_1lineStart = Node10_1width - ht.Default.getTextSize('测风塔', ' '+ Node10_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node10_1.setImage(GD.getTextJSON(Node10_1width, Node10_1height, false, true, false, ' '+ Node10_1fontSize + 'px "Arial"'))
- Node10_1.setPosition(12*ratio.ratioX, 519*ratio.ratioY);
- Node10_1.setWidth(Node10_1width);
- Node10_1.setHeight(Node10_1height);
- Node10_1._nodeType = 'text';
- Node10_1._disallowEvert = true;
- Node10_1.setRotation(0*Math.PI/180);
- Node10_1.a('node.width', Node10_1width);
- Node10_1.a('node.height', Node10_1height);
- Node10_1.a('node.rect', [0, 0, Node10_1width, Node10_1height]);
- Node10_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node10_1.a('node.borderwidth', 0);
- Node10_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node10_1.a('node.gradient','');
- Node10_1.a('node.gradientcolor','');
- Node10_1.a('node.text','测风塔');
- Node10_1.a('node.textalign','left');
- Node10_1.a('node.textvAlign','middle');
- Node10_1.a('node.textrect', [Node10_1textStart, 0, Node10_1textWidth, Node10_1height]);
- Node10_1.a('node.color','rgba(0,0,0,1)');
- Node10_1.a('node.font',' '+ Node10_1fontSize + 'px "Arial"');
- Node10_1.a('node.textvisible',false);
- Node10_1.a('node.linefeed',true);
- if (true) {
- Node10_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node10_1.a('node.text') || '测风塔';
- var color=Node10_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node10_1width,Node10_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node10_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10_1.a('node.underlinepoints',[Node10_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node10_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node10_1fontSize + 'px "Arial"').width + 6, (Node10_1height - Node10_1fontSize) * 0.5*_ratio.ratioY + Node10_1fontSize + 2 ]);
- Node10_1.a('node.underlinevisible',false);
- Node10_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node10_1);
- zoomNodeList.push({
- node: Node10_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node11_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');
- Node11_0 = new ht.Node();
- Node11_0.setPosition(13*ratio.ratioX, 621*ratio.ratioY);
- Node11_0.setSize(27*ratioX, 101*ratioY);
- Node11_0.setImage('imgimage//left_menu_out0.png');
- Node11_0.setRotation(0*Math.PI/180);
- Node11_0._zoomBy = 'Default';
- Node11_0._nodeType = 'image';
- Node11_0._disallowEvert = true;
- dataModel.add(Node11_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11_1 = new ht.Node();
- var Node11_1textStart, Node11_1textWidth, Node11_1lineStart, Node11_1align = 'left', Node11_1fontSize = 18.66662*_ratio.ratioY,Node11_1width = 23*_ratio.ratioX, Node11_1height = 76*_ratio.ratioY;
- (function () {
- if (Node11_1align === 'left') {
- Node11_1textStart = Node11_1fontSize * 0.2 > 2 ? Node11_1fontSize * 0.2 - 4 : Node11_1fontSize * 0.2 - 9;
- Node11_1textWidth = Node11_1width;
- Node11_1lineStart = 1;
- } else if (Node11_1align === 'right') {
- Node11_1textStart = 0;
- Node11_1textWidth =Node11_1fontSize <= 8 ? Node11_1width + Node11_1fontSize * 0.2 + 6 : Node11_1width - Node11_1fontSize * 0.2;
- Node11_1lineStart = (Node11_1width - (ht.Default.getTextSize('风机信息', ' '+ Node11_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node11_1align === 'center') {
- Node11_1textStart = -3;
- Node11_1textWidth = Node11_1width;
- Node11_1lineStart = Node11_1width - ht.Default.getTextSize('风机信息', ' '+ Node11_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node11_1.setImage(GD.getTextJSON(Node11_1width, Node11_1height, false, true, false, ' '+ Node11_1fontSize + 'px "Arial"'))
- Node11_1.setPosition(12*ratio.ratioX, 619*ratio.ratioY);
- Node11_1.setWidth(Node11_1width);
- Node11_1.setHeight(Node11_1height);
- Node11_1._nodeType = 'text';
- Node11_1._disallowEvert = true;
- Node11_1.setRotation(0*Math.PI/180);
- Node11_1.a('node.width', Node11_1width);
- Node11_1.a('node.height', Node11_1height);
- Node11_1.a('node.rect', [0, 0, Node11_1width, Node11_1height]);
- Node11_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node11_1.a('node.borderwidth', 0);
- Node11_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node11_1.a('node.gradient','');
- Node11_1.a('node.gradientcolor','');
- Node11_1.a('node.text','风机信息');
- Node11_1.a('node.textalign','left');
- Node11_1.a('node.textvAlign','middle');
- Node11_1.a('node.textrect', [Node11_1textStart, 0, Node11_1textWidth, Node11_1height]);
- Node11_1.a('node.color','rgba(0,0,0,1)');
- Node11_1.a('node.font',' '+ Node11_1fontSize + 'px "Arial"');
- Node11_1.a('node.textvisible',false);
- Node11_1.a('node.linefeed',true);
- if (true) {
- Node11_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node11_1.a('node.text') || '风机信息';
- var color=Node11_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node11_1width,Node11_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node11_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node11_1.a('node.underlinepoints',[Node11_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node11_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node11_1fontSize + 'px "Arial"').width + 6, (Node11_1height - Node11_1fontSize) * 0.5*_ratio.ratioY + Node11_1fontSize + 2 ]);
- Node11_1.a('node.underlinevisible',false);
- Node11_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11_1);
- zoomNodeList.push({
- node: Node11_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node12_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node12_0 = new ht.Node();
- Node12_0.setPosition(13*ratio.ratioX, 721*ratio.ratioY);
- Node12_0.setSize(27*ratioX, 101*ratioY);
- Node12_0.setImage('imgimage//left_menu_over0.png');
- Node12_0.setRotation(0*Math.PI/180);
- Node12_0._zoomBy = 'Default';
- Node12_0._nodeType = 'image';
- Node12_0._disallowEvert = true;
- dataModel.add(Node12_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12_1 = new ht.Node();
- var Node12_1textStart, Node12_1textWidth, Node12_1lineStart, Node12_1align = 'left', Node12_1fontSize = 18.66662*_ratio.ratioY,Node12_1width = 23*_ratio.ratioX, Node12_1height = 76*_ratio.ratioY;
- (function () {
- if (Node12_1align === 'left') {
- Node12_1textStart = Node12_1fontSize * 0.2 > 2 ? Node12_1fontSize * 0.2 - 4 : Node12_1fontSize * 0.2 - 9;
- Node12_1textWidth = Node12_1width;
- Node12_1lineStart = 1;
- } else if (Node12_1align === 'right') {
- Node12_1textStart = 0;
- Node12_1textWidth =Node12_1fontSize <= 8 ? Node12_1width + Node12_1fontSize * 0.2 + 6 : Node12_1width - Node12_1fontSize * 0.2;
- Node12_1lineStart = (Node12_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node12_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node12_1align === 'center') {
- Node12_1textStart = -3;
- Node12_1textWidth = Node12_1width;
- Node12_1lineStart = Node12_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node12_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node12_1.setImage(GD.getTextJSON(Node12_1width, Node12_1height, false, true, false, ' '+ Node12_1fontSize + 'px "Arial"'))
- Node12_1.setPosition(12*ratio.ratioX, 719*ratio.ratioY);
- Node12_1.setWidth(Node12_1width);
- Node12_1.setHeight(Node12_1height);
- Node12_1._nodeType = 'text';
- Node12_1._disallowEvert = true;
- Node12_1.setRotation(0*Math.PI/180);
- Node12_1.a('node.width', Node12_1width);
- Node12_1.a('node.height', Node12_1height);
- Node12_1.a('node.rect', [0, 0, Node12_1width, Node12_1height]);
- Node12_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node12_1.a('node.borderwidth', 0);
- Node12_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node12_1.a('node.gradient','');
- Node12_1.a('node.gradientcolor','');
- Node12_1.a('node.text','风机矩阵');
- Node12_1.a('node.textalign','left');
- Node12_1.a('node.textvAlign','middle');
- Node12_1.a('node.textrect', [Node12_1textStart, 0, Node12_1textWidth, Node12_1height]);
- Node12_1.a('node.color','rgba(0,0,0,1)');
- Node12_1.a('node.font',' '+ Node12_1fontSize + 'px "Arial"');
- Node12_1.a('node.textvisible',false);
- Node12_1.a('node.linefeed',true);
- if (true) {
- Node12_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node12_1.a('node.text') || '风机矩阵';
- var color=Node12_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node12_1width,Node12_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node12_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node12_1.a('node.underlinepoints',[Node12_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node12_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node12_1fontSize + 'px "Arial"').width + 6, (Node12_1height - Node12_1fontSize) * 0.5*_ratio.ratioY + Node12_1fontSize + 2 ]);
- Node12_1.a('node.underlinevisible',false);
- Node12_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node12_1);
- zoomNodeList.push({
- node: Node12_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node13 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*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 Node14 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*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 Node15 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*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 Node16 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*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 Node17 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*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 Node18 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*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 Node19 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*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 Node20 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*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 Node21 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*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 Node22 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*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 Node23 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*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 Node24 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*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 Node25 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*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 Node26 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*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 Node27 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*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 Node28 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29type = 'rect';
- var Node29 = new ht.Node(),
- Node29BorderWidth = 0*2;
- if (Node29type === 'arc') {
- Node29BorderWidth *= 0;
- }
- Node29.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node29type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29.setPosition(18*ratio.ratioX, 96*ratio.ratioY);
- Node29.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node29.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29.a('node.width', 27*_ratio.ratioX);
- Node29.a('node.height', 121*_ratio.ratioY);
- Node29.a('node.type', Node29type);
- Node29.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node29.a('node.background', 'rgba(0,132,216,1)');
- Node29.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node29.a('node.gradient', '');
- Node29.a('node.borderwidth', Node29BorderWidth);
- Node29.a('node.color', 'rgba(0,0,255,0)');
- Node29.a('node.fillrect', [0,0,0,0]);
- Node29.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29.a('node.fillgradient', '');
- if (Node29type !== 'rect') {
- Node29.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29.a('node.arcTo', parseFloat('@arcTo@'));
- Node29.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29type === 'arc') {
- Node29.a('node.arcOval', true);
- }
- Node29.setRotation(0*Math.PI/180);
- Node29.borderWidth = Node29BorderWidth;
- Node29.borderFillwidth = Node29BorderWidth;
- dataModel.add(Node29);
- Node29._nodename = 'Node29'
- Node29._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29, Node29.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30 = new ht.Node();
- var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'left', Node30fontSize = 13.3333*_ratio.ratioY,Node30width = 53*_ratio.ratioX, Node30height = 30*_ratio.ratioY;
- (function () {
- if (Node30align === 'left') {
- Node30textStart = Node30fontSize * 0.2 > 2 ? Node30fontSize * 0.2 - 4 : Node30fontSize * 0.2 - 9;
- Node30textWidth = Node30width;
- Node30lineStart = 1;
- } else if (Node30align === 'right') {
- Node30textStart = 0;
- Node30textWidth =Node30fontSize <= 8 ? Node30width + Node30fontSize * 0.2 + 6 : Node30width - Node30fontSize * 0.2;
- Node30lineStart = (Node30width - (ht.Default.getTextSize('综', 'bold '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30align === 'center') {
- Node30textStart = -3;
- Node30textWidth = Node30width;
- Node30lineStart = Node30width - ht.Default.getTextSize('综', 'bold '+ Node30fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, 'bold '+ Node30fontSize + 'px "Arial"'))
- Node30.setPosition(34*ratio.ratioX, 53*ratio.ratioY);
- Node30.setWidth(Node30width);
- Node30.setHeight(Node30height);
- Node30._nodeType = 'text';
- Node30._disallowEvert = true;
- Node30.setRotation(0*Math.PI/180);
- Node30.a('node.width', Node30width);
- Node30.a('node.height', Node30height);
- Node30.a('node.rect', [0, 0, Node30width, Node30height]);
- Node30.a('node.bordercolor','rgba(255,255,255,1)');
- Node30.a('node.borderwidth', 0);
- Node30.a('node.background','' || 'rgba(0,0,0,0)');
- Node30.a('node.gradient','');
- Node30.a('node.gradientcolor','');
- Node30.a('node.text','综');
- Node30.a('node.textalign','left');
- Node30.a('node.textvAlign','middle');
- Node30.a('node.textrect', [Node30textStart, 0, Node30textWidth, Node30height]);
- Node30.a('node.color','rgba(255,255,255,1)');
- Node30.a('node.font','bold '+ Node30fontSize + 'px "Arial"');
- Node30.a('node.textvisible',true);
- Node30.a('node.linefeed',false);
- if (false) {
- Node30.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30.a('node.text') || '综';
- var color=Node30.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30width,Node30height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node30fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30.a('node.underlinepoints',[Node30lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]);
- Node30.a('node.underlinevisible',false);
- Node30.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30);
- zoomNodeList.push({
- node: Node30,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31type = 'rect';
- var Node31 = new ht.Node(),
- Node31BorderWidth = 0*2;
- if (Node31type === 'arc') {
- Node31BorderWidth *= 0;
- }
- Node31.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node31type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node31.setPosition(111*ratio.ratioX, 99*ratio.ratioY);
- Node31.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node31.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node31.a('node.width', 156*_ratio.ratioX);
- Node31.a('node.height', 30*_ratio.ratioY);
- Node31.a('node.type', Node31type);
- Node31.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node31.a('node.background', 'rgba(73,192,209,1)');
- Node31.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node31.a('node.gradient', '');
- Node31.a('node.borderwidth', Node31BorderWidth);
- Node31.a('node.color', 'rgba(0,0,0,0)');
- Node31.a('node.fillrect', [0,0,0,0]);
- Node31.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node31.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node31.a('node.fillgradient', '');
- if (Node31type !== 'rect') {
- Node31.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node31.a('node.arcTo', parseFloat('@arcTo@'));
- Node31.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node31type === 'arc') {
- Node31.a('node.arcOval', true);
- }
- Node31.setRotation(0*Math.PI/180);
- Node31.borderWidth = Node31BorderWidth;
- Node31.borderFillwidth = Node31BorderWidth;
- dataModel.add(Node31);
- Node31._nodename = 'Node31'
- Node31._nodeType = 'rect';
- zoomNodeList.push({
- node: Node31,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node31, Node31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32 = new ht.Node();
- var Node32textStart, Node32textWidth, Node32lineStart, Node32align = 'left', Node32fontSize = 14.66663*_ratio.ratioY,Node32width = 157*_ratio.ratioX, Node32height = 24*_ratio.ratioY;
- (function () {
- if (Node32align === 'left') {
- Node32textStart = Node32fontSize * 0.2 > 2 ? Node32fontSize * 0.2 - 4 : Node32fontSize * 0.2 - 9;
- Node32textWidth = Node32width;
- Node32lineStart = 1;
- } else if (Node32align === 'right') {
- Node32textStart = 0;
- Node32textWidth =Node32fontSize <= 8 ? Node32width + Node32fontSize * 0.2 + 6 : Node32width - Node32fontSize * 0.2;
- Node32lineStart = (Node32width - (ht.Default.getTextSize('安全天数', 'bold '+ Node32fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node32align === 'center') {
- Node32textStart = -3;
- Node32textWidth = Node32width;
- Node32lineStart = Node32width - ht.Default.getTextSize('安全天数', 'bold '+ Node32fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node32.setImage(GD.getTextJSON(Node32width, Node32height, true, false, false, 'bold '+ Node32fontSize + 'px "Arial"'))
- Node32.setPosition(151*ratio.ratioX, 99*ratio.ratioY);
- Node32.setWidth(Node32width);
- Node32.setHeight(Node32height);
- Node32._nodeType = 'text';
- Node32._disallowEvert = true;
- Node32.setRotation(0*Math.PI/180);
- Node32.a('node.width', Node32width);
- Node32.a('node.height', Node32height);
- Node32.a('node.rect', [0, 0, Node32width, Node32height]);
- Node32.a('node.bordercolor','rgba(255,255,255,1)');
- Node32.a('node.borderwidth', 0);
- Node32.a('node.background','' || 'rgba(0,0,0,0)');
- Node32.a('node.gradient','');
- Node32.a('node.gradientcolor','');
- Node32.a('node.text','安全天数');
- Node32.a('node.textalign','left');
- Node32.a('node.textvAlign','middle');
- Node32.a('node.textrect', [Node32textStart, 0, Node32textWidth, Node32height]);
- Node32.a('node.color','rgba(255,255,255,1)');
- Node32.a('node.font','bold '+ Node32fontSize + 'px "Arial"');
- Node32.a('node.textvisible',true);
- Node32.a('node.linefeed',false);
- if (false) {
- Node32.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node32.a('node.text') || '安全天数';
- var color=Node32.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node32width,Node32height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node32fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32.a('node.underlinepoints',[Node32lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node32fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node32fontSize + 'px "Arial"').width + 6, (Node32height - Node32fontSize) * 0.5*_ratio.ratioY + Node32fontSize + 2 ]);
- Node32.a('node.underlinevisible',false);
- Node32.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node32);
- zoomNodeList.push({
- node: Node32,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33type = 'rect';
- var Node33 = new ht.Node(),
- Node33BorderWidth = 0*2;
- if (Node33type === 'arc') {
- Node33BorderWidth *= 0;
- }
- Node33.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node33type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node33.setPosition(87*ratio.ratioX, 136*ratio.ratioY);
- Node33.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node33.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node33.a('node.width', 105*_ratio.ratioX);
- Node33.a('node.height', 48*_ratio.ratioY);
- Node33.a('node.type', Node33type);
- Node33.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node33.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node33.a('node.gradientcolor', '');
- Node33.a('node.gradient', '');
- Node33.a('node.borderwidth', Node33BorderWidth);
- Node33.a('node.color', 'rgba(0,0,0,0)');
- Node33.a('node.fillrect', [0,0,0,0]);
- Node33.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradient', '');
- if (Node33type !== 'rect') {
- Node33.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node33.a('node.arcTo', parseFloat('@arcTo@'));
- Node33.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node33type === 'arc') {
- Node33.a('node.arcOval', true);
- }
- Node33.setRotation(0*Math.PI/180);
- Node33.borderWidth = Node33BorderWidth;
- Node33.borderFillwidth = Node33BorderWidth;
- dataModel.add(Node33);
- Node33._nodename = 'Node33'
- Node33._nodeType = 'rect';
- zoomNodeList.push({
- node: Node33,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node33, Node33.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34 = new ht.Node();
- var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'right', Node34fontSize = 19.99995*_ratio.ratioY,Node34width = 59*_ratio.ratioX, Node34height = 24*_ratio.ratioY;
- (function () {
- if (Node34align === 'left') {
- Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9;
- Node34textWidth = Node34width;
- Node34lineStart = 1;
- } else if (Node34align === 'right') {
- Node34textStart = 0;
- Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2;
- Node34lineStart = (Node34width - (ht.Default.getTextSize('0', ' '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34align === 'center') {
- Node34textStart = -3;
- Node34textWidth = Node34width;
- Node34lineStart = Node34width - ht.Default.getTextSize('0', ' '+ Node34fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, ' '+ Node34fontSize + 'px "Arial"'))
- Node34.setPosition(82*ratio.ratioX, 144*ratio.ratioY);
- Node34.setWidth(Node34width);
- Node34.setHeight(Node34height);
- Node34._nodeType = 'text';
- Node34._disallowEvert = true;
- Node34.setRotation(0*Math.PI/180);
- Node34.a('node.width', Node34width);
- Node34.a('node.height', Node34height);
- Node34.a('node.rect', [0, 0, Node34width, Node34height]);
- Node34.a('node.bordercolor','rgba(0,0,0,1)');
- Node34.a('node.borderwidth', 0);
- Node34.a('node.background','' || 'rgba(0,0,0,0)');
- Node34.a('node.gradient','');
- Node34.a('node.gradientcolor','');
- Node34.a('node.text','0');
- Node34.a('node.textalign','right');
- Node34.a('node.textvAlign','middle');
- Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
- Node34.a('node.color','rgba(0,0,0,1)');
- Node34.a('node.font',' '+ Node34fontSize + 'px "Arial"');
- Node34.a('node.textvisible',true);
- Node34.a('node.linefeed',false);
- if (false) {
- Node34.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34.a('node.text') || '0';
- var color=Node34.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node34width,Node34height,19.99995*_ratio.ratioY,"right",color,' '+ Node34fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34.a('node.underlinepoints',[Node34lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]);
- Node34.a('node.underlinevisible',false);
- Node34.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34);
- zoomNodeList.push({
- node: Node34,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35type = 'rect';
- var Node35 = new ht.Node(),
- Node35BorderWidth = 0*2;
- if (Node35type === 'arc') {
- Node35BorderWidth *= 0;
- }
- Node35.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node35type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node35.setPosition(170*ratio.ratioX, 141*ratio.ratioY);
- Node35.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node35.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node35.a('node.width', 31*_ratio.ratioX);
- Node35.a('node.height', 31*_ratio.ratioY);
- Node35.a('node.type', Node35type);
- Node35.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node35.a('node.background', 'rgba(225,102,38,1)');
- Node35.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node35.a('node.gradient', '');
- Node35.a('node.borderwidth', Node35BorderWidth);
- Node35.a('node.color', 'rgba(0,0,0,0)');
- Node35.a('node.fillrect', [0,0,0,0]);
- Node35.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node35.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node35.a('node.fillgradient', '');
- if (Node35type !== 'rect') {
- Node35.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node35.a('node.arcTo', parseFloat('@arcTo@'));
- Node35.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node35type === 'arc') {
- Node35.a('node.arcOval', true);
- }
- Node35.setRotation(0*Math.PI/180);
- Node35.borderWidth = Node35BorderWidth;
- Node35.borderFillwidth = Node35BorderWidth;
- dataModel.add(Node35);
- Node35._nodename = 'Node35'
- Node35._nodeType = 'rect';
- zoomNodeList.push({
- node: Node35,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node35, Node35.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36 = new ht.Node();
- var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 27*_ratio.ratioX, Node36height = 16*_ratio.ratioY;
- (function () {
- if (Node36align === 'left') {
- Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
- Node36textWidth = Node36width;
- Node36lineStart = 1;
- } else if (Node36align === 'right') {
- Node36textStart = 0;
- Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
- Node36lineStart = (Node36width - (ht.Default.getTextSize('天', 'bold '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36align === 'center') {
- Node36textStart = -3;
- Node36textWidth = Node36width;
- Node36lineStart = Node36width - ht.Default.getTextSize('天', 'bold '+ Node36fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, 'bold '+ Node36fontSize + 'px "Arial"'))
- Node36.setPosition(174*ratio.ratioX, 143*ratio.ratioY);
- Node36.setWidth(Node36width);
- Node36.setHeight(Node36height);
- Node36._nodeType = 'text';
- Node36._disallowEvert = true;
- Node36.setRotation(0*Math.PI/180);
- Node36.a('node.width', Node36width);
- Node36.a('node.height', Node36height);
- Node36.a('node.rect', [0, 0, Node36width, Node36height]);
- Node36.a('node.bordercolor','rgba(255,255,255,1)');
- Node36.a('node.borderwidth', 0);
- Node36.a('node.background','' || 'rgba(0,0,0,0)');
- Node36.a('node.gradient','');
- Node36.a('node.gradientcolor','');
- Node36.a('node.text','天');
- Node36.a('node.textalign','left');
- Node36.a('node.textvAlign','middle');
- Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
- Node36.a('node.color','rgba(255,255,255,1)');
- Node36.a('node.font','bold '+ Node36fontSize + 'px "Arial"');
- Node36.a('node.textvisible',true);
- Node36.a('node.linefeed',false);
- if (false) {
- Node36.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36.a('node.text') || '天';
- var color=Node36.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node36fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36.a('node.underlinepoints',[Node36lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
- Node36.a('node.underlinevisible',false);
- Node36.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36);
- zoomNodeList.push({
- node: Node36,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37 = new ht.Node();
- var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 53*_ratio.ratioX, Node37height = 30*_ratio.ratioY;
- (function () {
- if (Node37align === 'left') {
- Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9;
- Node37textWidth = Node37width;
- Node37lineStart = 1;
- } else if (Node37align === 'right') {
- Node37textStart = 0;
- Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2;
- Node37lineStart = (Node37width - (ht.Default.getTextSize('合', 'bold '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node37align === 'center') {
- Node37textStart = -3;
- Node37textWidth = Node37width;
- Node37lineStart = Node37width - ht.Default.getTextSize('合', 'bold '+ Node37fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, 'bold '+ Node37fontSize + 'px "Arial"'))
- Node37.setPosition(35*ratio.ratioX, 81*ratio.ratioY);
- Node37.setWidth(Node37width);
- Node37.setHeight(Node37height);
- Node37._nodeType = 'text';
- Node37._disallowEvert = true;
- Node37.setRotation(0*Math.PI/180);
- Node37.a('node.width', Node37width);
- Node37.a('node.height', Node37height);
- Node37.a('node.rect', [0, 0, Node37width, Node37height]);
- Node37.a('node.bordercolor','rgba(255,255,255,1)');
- Node37.a('node.borderwidth', 0);
- Node37.a('node.background','' || 'rgba(0,0,0,0)');
- Node37.a('node.gradient','');
- Node37.a('node.gradientcolor','');
- Node37.a('node.text','合');
- Node37.a('node.textalign','left');
- Node37.a('node.textvAlign','middle');
- Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]);
- Node37.a('node.color','rgba(255,255,255,1)');
- Node37.a('node.font','bold '+ Node37fontSize + 'px "Arial"');
- Node37.a('node.textvisible',true);
- Node37.a('node.linefeed',false);
- if (false) {
- Node37.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node37.a('node.text') || '合';
- var color=Node37.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37width,Node37height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node37fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node37.a('node.underlinepoints',[Node37lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]);
- Node37.a('node.underlinevisible',false);
- Node37.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node37);
- zoomNodeList.push({
- node: Node37,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.Node();
- var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 53*_ratio.ratioX, Node38height = 30*_ratio.ratioY;
- (function () {
- if (Node38align === 'left') {
- Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
- Node38textWidth = Node38width;
- Node38lineStart = 1;
- } else if (Node38align === 'right') {
- Node38textStart = 0;
- Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
- Node38lineStart = (Node38width - (ht.Default.getTextSize('指', 'bold '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38align === 'center') {
- Node38textStart = -3;
- Node38textWidth = Node38width;
- Node38lineStart = Node38width - ht.Default.getTextSize('指', 'bold '+ Node38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, 'bold '+ Node38fontSize + 'px "Arial"'))
- Node38.setPosition(35*ratio.ratioX, 108*ratio.ratioY);
- Node38.setWidth(Node38width);
- Node38.setHeight(Node38height);
- Node38._nodeType = 'text';
- Node38._disallowEvert = true;
- Node38.setRotation(0*Math.PI/180);
- Node38.a('node.width', Node38width);
- Node38.a('node.height', Node38height);
- Node38.a('node.rect', [0, 0, Node38width, Node38height]);
- Node38.a('node.bordercolor','rgba(255,255,255,1)');
- Node38.a('node.borderwidth', 0);
- Node38.a('node.background','' || 'rgba(0,0,0,0)');
- Node38.a('node.gradient','');
- Node38.a('node.gradientcolor','');
- Node38.a('node.text','指');
- Node38.a('node.textalign','left');
- Node38.a('node.textvAlign','middle');
- Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
- Node38.a('node.color','rgba(255,255,255,1)');
- Node38.a('node.font','bold '+ Node38fontSize + 'px "Arial"');
- Node38.a('node.textvisible',true);
- Node38.a('node.linefeed',false);
- if (false) {
- Node38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38.a('node.text') || '指';
- var color=Node38.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38.a('node.underlinepoints',[Node38lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
- Node38.a('node.underlinevisible',false);
- Node38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38);
- zoomNodeList.push({
- node: Node38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39 = new ht.Node();
- var Node39textStart, Node39textWidth, Node39lineStart, Node39align = 'left', Node39fontSize = 13.3333*_ratio.ratioY,Node39width = 53*_ratio.ratioX, Node39height = 30*_ratio.ratioY;
- (function () {
- if (Node39align === 'left') {
- Node39textStart = Node39fontSize * 0.2 > 2 ? Node39fontSize * 0.2 - 4 : Node39fontSize * 0.2 - 9;
- Node39textWidth = Node39width;
- Node39lineStart = 1;
- } else if (Node39align === 'right') {
- Node39textStart = 0;
- Node39textWidth =Node39fontSize <= 8 ? Node39width + Node39fontSize * 0.2 + 6 : Node39width - Node39fontSize * 0.2;
- Node39lineStart = (Node39width - (ht.Default.getTextSize('标', 'bold '+ Node39fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39align === 'center') {
- Node39textStart = -3;
- Node39textWidth = Node39width;
- Node39lineStart = Node39width - ht.Default.getTextSize('标', 'bold '+ Node39fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39.setImage(GD.getTextJSON(Node39width, Node39height, true, false, false, 'bold '+ Node39fontSize + 'px "Arial"'))
- Node39.setPosition(35*ratio.ratioX, 138*ratio.ratioY);
- Node39.setWidth(Node39width);
- Node39.setHeight(Node39height);
- Node39._nodeType = 'text';
- Node39._disallowEvert = true;
- Node39.setRotation(0*Math.PI/180);
- Node39.a('node.width', Node39width);
- Node39.a('node.height', Node39height);
- Node39.a('node.rect', [0, 0, Node39width, Node39height]);
- Node39.a('node.bordercolor','rgba(255,255,255,1)');
- Node39.a('node.borderwidth', 0);
- Node39.a('node.background','' || 'rgba(0,0,0,0)');
- Node39.a('node.gradient','');
- Node39.a('node.gradientcolor','');
- Node39.a('node.text','标');
- Node39.a('node.textalign','left');
- Node39.a('node.textvAlign','middle');
- Node39.a('node.textrect', [Node39textStart, 0, Node39textWidth, Node39height]);
- Node39.a('node.color','rgba(255,255,255,1)');
- Node39.a('node.font','bold '+ Node39fontSize + 'px "Arial"');
- Node39.a('node.textvisible',true);
- Node39.a('node.linefeed',false);
- if (false) {
- Node39.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39.a('node.text') || '标';
- var color=Node39.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39width,Node39height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node39fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39.a('node.underlinepoints',[Node39lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node39fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node39fontSize + 'px "Arial"').width + 6, (Node39height - Node39fontSize) * 0.5*_ratio.ratioY + Node39fontSize + 2 ]);
- Node39.a('node.underlinevisible',false);
- Node39.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39);
- zoomNodeList.push({
- node: Node39,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node40;
- (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');
- Node40 = new ht.Node();
- Node40.setPosition(111*ratio.ratioX, 59*ratio.ratioY);
- Node40.setSize(155*ratioX, 45*ratioY);
- Node40.setImage('imgimage//喜欢的蓝色.png');
- Node40.setRotation(0*Math.PI/180);
- Node40._zoomBy = 'Default';
- Node40._nodeType = 'image';
- Node40._disallowEvert = true;
- dataModel.add(Node40);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.Node();
- var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 17.33329*_ratio.ratioY,Node41width = 143*_ratio.ratioX, Node41height = 49*_ratio.ratioY;
- (function () {
- if (Node41align === 'left') {
- Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9;
- Node41textWidth = Node41width;
- Node41lineStart = 1;
- } else if (Node41align === 'right') {
- Node41textStart = 0;
- Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2;
- Node41lineStart = (Node41width - (ht.Default.getTextSize('太旗卧牛山电场', ' '+ Node41fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node41align === 'center') {
- Node41textStart = -3;
- Node41textWidth = Node41width;
- Node41lineStart = Node41width - ht.Default.getTextSize('太旗卧牛山电场', ' '+ Node41fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, ' '+ Node41fontSize + 'px "Arial"'))
- Node41.setPosition(113*ratio.ratioX, 62*ratio.ratioY);
- Node41.setWidth(Node41width);
- Node41.setHeight(Node41height);
- Node41._nodeType = 'text';
- Node41._disallowEvert = true;
- Node41.setRotation(0*Math.PI/180);
- Node41.a('node.width', Node41width);
- Node41.a('node.height', Node41height);
- Node41.a('node.rect', [0, 0, Node41width, Node41height]);
- Node41.a('node.bordercolor','rgba(255,255,255,1)');
- Node41.a('node.borderwidth', 0);
- Node41.a('node.background','' || 'rgba(0,0,0,0)');
- Node41.a('node.gradient','');
- Node41.a('node.gradientcolor','');
- Node41.a('node.text','太旗卧牛山电场');
- Node41.a('node.textalign','left');
- Node41.a('node.textvAlign','middle');
- Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]);
- Node41.a('node.color','rgba(255,255,255,1)');
- Node41.a('node.font',' '+ Node41fontSize + 'px "Arial"');
- Node41.a('node.textvisible',true);
- Node41.a('node.linefeed',false);
- if (false) {
- Node41.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41.a('node.text') || '太旗卧牛山电场';
- var color=Node41.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node41width,Node41height,17.33329*_ratio.ratioY,"left",color,' '+ Node41fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node41.a('node.underlinepoints',[Node41lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('太旗卧牛山电场', ' '+ Node41fontSize + 'px "Arial"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]);
- Node41.a('node.underlinevisible',false);
- Node41.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41);
- zoomNodeList.push({
- node: Node41,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42type = 'rect';
- var Node42 = new ht.Node(),
- Node42BorderWidth = 1*2;
- if (Node42type === 'arc') {
- Node42BorderWidth *= 1;
- }
- Node42.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node42type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42.setPosition(252*ratio.ratioX, 97*ratio.ratioY);
- Node42.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node42.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42.a('node.width', 121*_ratio.ratioX);
- Node42.a('node.height', 24.33138*_ratio.ratioY);
- Node42.a('node.type', Node42type);
- Node42.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node42.a('node.background', 'rgba(240,240,240,1)');
- Node42.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node42.a('node.gradient', '');
- Node42.a('node.borderwidth', Node42BorderWidth);
- Node42.a('node.color', 'rgba(224,224,224,1)');
- Node42.a('node.fillrect', [0,0,0,0]);
- Node42.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42.a('node.fillgradient', '');
- if (Node42type !== 'rect') {
- Node42.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42.a('node.arcTo', parseFloat('@arcTo@'));
- Node42.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42type === 'arc') {
- Node42.a('node.arcOval', true);
- }
- Node42.setRotation(0*Math.PI/180);
- Node42.borderWidth = Node42BorderWidth;
- Node42.borderFillwidth = Node42BorderWidth;
- dataModel.add(Node42);
- Node42._nodename = 'Node42'
- Node42._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node42, Node42.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43type = 'rect';
- var Node43 = new ht.Node(),
- Node43BorderWidth = 1*2;
- if (Node43type === 'arc') {
- Node43BorderWidth *= 1;
- }
- Node43.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node43.setPosition(252*ratio.ratioX, 73*ratio.ratioY);
- Node43.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node43.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node43.a('node.width', 121*_ratio.ratioX);
- Node43.a('node.height', 24.33138*_ratio.ratioY);
- Node43.a('node.type', Node43type);
- Node43.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node43.a('node.background', 'rgba(240,240,240,1)');
- Node43.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node43.a('node.gradient', '');
- Node43.a('node.borderwidth', Node43BorderWidth);
- Node43.a('node.color', 'rgba(224,224,224,1)');
- Node43.a('node.fillrect', [0,0,0,0]);
- Node43.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node43.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node43.a('node.fillgradient', '');
- if (Node43type !== 'rect') {
- Node43.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node43.a('node.arcTo', parseFloat('@arcTo@'));
- Node43.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node43type === 'arc') {
- Node43.a('node.arcOval', true);
- }
- Node43.setRotation(0*Math.PI/180);
- Node43.borderWidth = Node43BorderWidth;
- Node43.borderFillwidth = Node43BorderWidth;
- dataModel.add(Node43);
- Node43._nodename = 'Node43'
- Node43._nodeType = 'rect';
- zoomNodeList.push({
- node: Node43,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node43, Node43.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44type = 'rect';
- var Node44 = new ht.Node(),
- Node44BorderWidth = 1*2;
- if (Node44type === 'arc') {
- Node44BorderWidth *= 1;
- }
- Node44.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(252*ratio.ratioX, 122*ratio.ratioY);
- Node44.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 121*_ratio.ratioX);
- Node44.a('node.height', 24.33136*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(240,240,240,1)');
- Node44.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node44.a('node.gradient', '');
- Node44.a('node.borderwidth', Node44BorderWidth);
- Node44.a('node.color', 'rgba(224,224,224,1)');
- Node44.a('node.fillrect', [0,0,0,0]);
- Node44.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradient', '');
- if (Node44type !== 'rect') {
- Node44.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44.a('node.arcTo', parseFloat('@arcTo@'));
- Node44.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44type === 'arc') {
- Node44.a('node.arcOval', true);
- }
- Node44.setRotation(0*Math.PI/180);
- Node44.borderWidth = Node44BorderWidth;
- Node44.borderFillwidth = Node44BorderWidth;
- dataModel.add(Node44);
- Node44._nodename = 'Node44'
- Node44._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node44, Node44.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45type = 'rect';
- var Node45 = new ht.Node(),
- Node45BorderWidth = 1*2;
- if (Node45type === 'arc') {
- Node45BorderWidth *= 1;
- }
- Node45.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node45.setPosition(252*ratio.ratioX, 49*ratio.ratioY);
- Node45.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node45.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node45.a('node.width', 121*_ratio.ratioX);
- Node45.a('node.height', 24.33136*_ratio.ratioY);
- Node45.a('node.type', Node45type);
- Node45.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node45.a('node.background', 'rgba(240,240,240,1)');
- Node45.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node45.a('node.gradient', '');
- Node45.a('node.borderwidth', Node45BorderWidth);
- Node45.a('node.color', 'rgba(224,224,224,1)');
- Node45.a('node.fillrect', [0,0,0,0]);
- Node45.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradient', '');
- if (Node45type !== 'rect') {
- Node45.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node45.a('node.arcTo', parseFloat('@arcTo@'));
- Node45.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node45type === 'arc') {
- Node45.a('node.arcOval', true);
- }
- Node45.setRotation(0*Math.PI/180);
- Node45.borderWidth = Node45BorderWidth;
- Node45.borderFillwidth = Node45BorderWidth;
- dataModel.add(Node45);
- Node45._nodename = 'Node45'
- Node45._nodeType = 'rect';
- zoomNodeList.push({
- node: Node45,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node45, Node45.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46type = 'rect';
- var Node46 = new ht.Node(),
- Node46BorderWidth = 1*2;
- if (Node46type === 'arc') {
- Node46BorderWidth *= 1;
- }
- Node46.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46.setPosition(252*ratio.ratioX, 146*ratio.ratioY);
- Node46.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46.a('node.width', 121*_ratio.ratioX);
- Node46.a('node.height', 24.33138*_ratio.ratioY);
- Node46.a('node.type', Node46type);
- Node46.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node46.a('node.background', 'rgba(240,240,240,1)');
- Node46.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node46.a('node.gradient', '');
- Node46.a('node.borderwidth', Node46BorderWidth);
- Node46.a('node.color', 'rgba(224,224,224,1)');
- Node46.a('node.fillrect', [0,0,0,0]);
- Node46.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradient', '');
- if (Node46type !== 'rect') {
- Node46.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46.a('node.arcTo', parseFloat('@arcTo@'));
- Node46.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46type === 'arc') {
- Node46.a('node.arcOval', true);
- }
- Node46.setRotation(0*Math.PI/180);
- Node46.borderWidth = Node46BorderWidth;
- Node46.borderFillwidth = Node46BorderWidth;
- dataModel.add(Node46);
- Node46._nodename = 'Node46'
- Node46._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node46, Node46.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.Node();
- var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 87*_ratio.ratioX, Node47height = 32*_ratio.ratioY;
- (function () {
- if (Node47align === 'left') {
- Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
- Node47textWidth = Node47width;
- Node47lineStart = 1;
- } else if (Node47align === 'right') {
- Node47textStart = 0;
- Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
- Node47lineStart = (Node47width - (ht.Default.getTextSize('上网电量', ' '+ Node47fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('上网电量', ' '+ Node47fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "微软雅黑"'))
- Node47.setPosition(236*ratio.ratioX, 147*ratio.ratioY);
- Node47.setWidth(Node47width);
- Node47.setHeight(Node47height);
- Node47._nodeType = 'text';
- Node47._disallowEvert = true;
- Node47.setRotation(0*Math.PI/180);
- Node47.a('node.width', Node47width);
- Node47.a('node.height', Node47height);
- Node47.a('node.rect', [0, 0, Node47width, Node47height]);
- Node47.a('node.bordercolor','rgba(0,0,0,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','');
- Node47.a('node.text','上网电量');
- Node47.a('node.textalign','left');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(0,0,0,1)');
- Node47.a('node.font',' '+ Node47fontSize + 'px "微软雅黑"');
- Node47.a('node.textvisible',true);
- Node47.a('node.linefeed',false);
- if (false) {
- Node47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47.a('node.text') || '上网电量';
- var color=Node47.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node47fontSize + 'px "微软雅黑"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
- Node47.a('node.underlinevisible',false);
- Node47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47);
- zoomNodeList.push({
- node: Node47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48 = new ht.Node();
- var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'center', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 113*_ratio.ratioX, Node48height = 32*_ratio.ratioY;
- (function () {
- if (Node48align === 'left') {
- Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9;
- Node48textWidth = Node48width;
- Node48lineStart = 1;
- } else if (Node48align === 'right') {
- Node48textStart = 0;
- Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2;
- Node48lineStart = (Node48width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node48fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node48align === 'center') {
- Node48textStart = -3;
- Node48textWidth = Node48width;
- Node48lineStart = Node48width - ht.Default.getTextSize('日性能损失电量', ' '+ Node48fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "微软雅黑"'))
- Node48.setPosition(538*ratio.ratioX, 148*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(64,64,64,1)');
- Node48.a('node.borderwidth', 0);
- Node48.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','rgba(255,255,255,0)');
- Node48.a('node.text','日性能损失电量');
- Node48.a('node.textalign','center');
- Node48.a('node.textvAlign','middle');
- Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]);
- Node48.a('node.color','rgba(64,64,64,1)');
- Node48.a('node.font',' '+ Node48fontSize + 'px "微软雅黑"');
- Node48.a('node.textvisible',true);
- Node48.a('node.linefeed',false);
- if (false) {
- Node48.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48.a('node.text') || '日性能损失电量';
- var color=Node48.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"center",color,' '+ Node48fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node48.a('node.underlinepoints',[Node48lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node48fontSize + 'px "微软雅黑"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]);
- Node48.a('node.underlinevisible',false);
- Node48.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48);
- zoomNodeList.push({
- node: Node48,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49 = new ht.Node();
- var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'center', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 110*_ratio.ratioX, Node49height = 32*_ratio.ratioY;
- (function () {
- if (Node49align === 'left') {
- Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
- Node49textWidth = Node49width;
- Node49lineStart = 1;
- } else if (Node49align === 'right') {
- Node49textStart = 0;
- Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
- Node49lineStart = (Node49width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node49fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('月性能损失电量', ' '+ Node49fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "微软雅黑"'))
- Node49.setPosition(817*ratio.ratioX, 148*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(0,0,0,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','');
- Node49.a('node.text','月性能损失电量');
- Node49.a('node.textalign','center');
- Node49.a('node.textvAlign','middle');
- Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
- Node49.a('node.color','rgba(0,0,0,1)');
- Node49.a('node.font',' '+ Node49fontSize + 'px "微软雅黑"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '月性能损失电量';
- var color=Node49.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"center",color,' '+ Node49fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node49fontSize + 'px "微软雅黑"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'center', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 110*_ratio.ratioX, Node50height = 32*_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 "微软雅黑"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('年性能损失电量', ' '+ Node50fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "微软雅黑"'))
- Node50.setPosition(1097*ratio.ratioX, 148*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(0,0,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','年性能损失电量');
- Node50.a('node.textalign','center');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(0,0,0,1)');
- Node50.a('node.font',' '+ Node50fontSize + 'px "微软雅黑"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '年性能损失电量';
- var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"center",color,' '+ Node50fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node50fontSize + 'px "微软雅黑"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51type = 'rect';
- var Node51 = new ht.Node(),
- Node51BorderWidth = 1*2;
- if (Node51type === 'arc') {
- Node51BorderWidth *= 1;
- }
- Node51.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node51type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node51.setPosition(1826*ratio.ratioX, 67*ratio.ratioY);
- Node51.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node51.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node51.a('node.width', 127*_ratio.ratioX);
- Node51.a('node.height', 60.81538*_ratio.ratioY);
- Node51.a('node.type', Node51type);
- Node51.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node51.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node51.a('node.gradientcolor', '');
- Node51.a('node.gradient', '');
- Node51.a('node.borderwidth', Node51BorderWidth);
- Node51.a('node.color', 'rgba(128,128,128,1)');
- Node51.a('node.fillrect', [0,0,0,0]);
- Node51.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradient', '');
- if (Node51type !== 'rect') {
- Node51.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node51.a('node.arcTo', parseFloat('@arcTo@'));
- Node51.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node51type === 'arc') {
- Node51.a('node.arcOval', true);
- }
- Node51.setRotation(0*Math.PI/180);
- Node51.borderWidth = Node51BorderWidth;
- Node51.borderFillwidth = Node51BorderWidth;
- dataModel.add(Node51);
- Node51._nodename = 'Node51'
- Node51._nodeType = 'rect';
- zoomNodeList.push({
- node: Node51,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node51, Node51.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52type = 'rect';
- var Node52 = new ht.Node(),
- Node52BorderWidth = 1*2;
- if (Node52type === 'arc') {
- Node52BorderWidth *= 1;
- }
- Node52.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52.setPosition(1826*ratio.ratioX, 128*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 Node53type = 'rect';
- var Node53 = new ht.Node(),
- Node53BorderWidth = 1*2;
- if (Node53type === 'arc') {
- Node53BorderWidth *= 1;
- }
- Node53.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node53type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node53.setPosition(1332*ratio.ratioX, 97*ratio.ratioY);
- Node53.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node53.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node53.a('node.width', 27*_ratio.ratioX);
- Node53.a('node.height', 121*_ratio.ratioY);
- Node53.a('node.type', Node53type);
- Node53.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node53.a('node.background', 'rgba(0,0,0,1)');
- Node53.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node53.a('node.gradient', '');
- Node53.a('node.borderwidth', Node53BorderWidth);
- Node53.a('node.color', 'rgba(0,0,255,1)');
- Node53.a('node.fillrect', [0,0,0,0]);
- Node53.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node53.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node53.a('node.fillgradient', '');
- if (Node53type !== 'rect') {
- Node53.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node53.a('node.arcTo', parseFloat('@arcTo@'));
- Node53.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node53type === 'arc') {
- Node53.a('node.arcOval', true);
- }
- Node53.setRotation(0*Math.PI/180);
- Node53.borderWidth = Node53BorderWidth;
- Node53.borderFillwidth = Node53BorderWidth;
- dataModel.add(Node53);
- Node53._nodename = 'Node53'
- Node53._nodeType = 'rect';
- zoomNodeList.push({
- node: Node53,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node53, Node53.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.Node();
- var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'left', Node54fontSize = 11.99997*_ratio.ratioY,Node54width = 53*_ratio.ratioX, Node54height = 20*_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('风', 'bold '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node54align === 'center') {
- Node54textStart = -3;
- Node54textWidth = Node54width;
- Node54lineStart = Node54width - ht.Default.getTextSize('风', 'bold '+ Node54fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, 'bold '+ Node54fontSize + 'px "Arial"'))
- Node54.setPosition(1349*ratio.ratioX, 63*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(255,255,255,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','风');
- Node54.a('node.textalign','left');
- Node54.a('node.textvAlign','middle');
- Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]);
- Node54.a('node.color','rgba(255,255,255,1)');
- Node54.a('node.font','bold '+ 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') || '风';
- var color=Node54.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node54width,Node54height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node54.a('node.underlinepoints',[Node54lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ 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 Node55type = 'rect';
- var Node55 = new ht.Node(),
- Node55BorderWidth = 1*2;
- if (Node55type === 'arc') {
- Node55BorderWidth *= 1;
- }
- Node55.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node55type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node55.setPosition(1411*ratio.ratioX, 97*ratio.ratioY);
- Node55.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node55.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node55.a('node.width', 130*_ratio.ratioX);
- Node55.a('node.height', 121*_ratio.ratioY);
- Node55.a('node.type', Node55type);
- Node55.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node55.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node55.a('node.gradientcolor', '');
- Node55.a('node.gradient', '');
- Node55.a('node.borderwidth', Node55BorderWidth);
- Node55.a('node.color', 'rgba(128,128,128,1)');
- Node55.a('node.fillrect', [0,0,0,0]);
- Node55.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node55.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node55.a('node.fillgradient', '');
- if (Node55type !== 'rect') {
- Node55.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node55.a('node.arcTo', parseFloat('@arcTo@'));
- Node55.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node55type === 'arc') {
- Node55.a('node.arcOval', true);
- }
- Node55.setRotation(0*Math.PI/180);
- Node55.borderWidth = Node55BorderWidth;
- Node55.borderFillwidth = Node55BorderWidth;
- dataModel.add(Node55);
- Node55._nodename = 'Node55'
- Node55._nodeType = 'rect';
- zoomNodeList.push({
- node: Node55,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node55, Node55.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 59*_ratio.ratioX, Node56height = 25*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('接入', ' '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('接入', ' '+ Node56fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "Arial"'))
- Node56.setPosition(1380*ratio.ratioX, 51*ratio.ratioY);
- Node56.setWidth(Node56width);
- Node56.setHeight(Node56height);
- Node56._nodeType = 'text';
- Node56._disallowEvert = true;
- Node56.setRotation(0*Math.PI/180);
- Node56.a('node.width', Node56width);
- Node56.a('node.height', Node56height);
- Node56.a('node.rect', [0, 0, Node56width, Node56height]);
- Node56.a('node.bordercolor','rgba(105,105,105,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','' || 'rgba(0,0,0,0)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','');
- Node56.a('node.text','接入');
- Node56.a('node.textalign','left');
- Node56.a('node.textvAlign','middle');
- Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
- Node56.a('node.color','rgba(105,105,105,1)');
- Node56.a('node.font',' '+ Node56fontSize + 'px "Arial"');
- Node56.a('node.textvisible',true);
- Node56.a('node.linefeed',false);
- if (false) {
- Node56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node56.a('node.text') || '接入';
- var color=Node56.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
- Node56.a('node.underlinevisible',false);
- Node56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node56);
- zoomNodeList.push({
- node: Node56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'center', Node57fontSize = 26.6666*_ratio.ratioY,Node57width = 87*_ratio.ratioX, Node57height = 36*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('0', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('0', ' '+ Node57fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"'))
- Node57.setPosition(1412*ratio.ratioX, 96*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(0,0,0,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','');
- Node57.a('node.text','0');
- Node57.a('node.textalign','center');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(0,0,0,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '0';
- var color=Node57.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node57width,Node57height,26.6666*_ratio.ratioY,"center",color,' '+ Node57fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'center', Node58fontSize = 14.66663*_ratio.ratioY,Node58width = 87*_ratio.ratioX, Node58height = 26*_ratio.ratioY;
- (function () {
- if (Node58align === 'left') {
- Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9;
- Node58textWidth = Node58width;
- Node58lineStart = 1;
- } else if (Node58align === 'right') {
- Node58textStart = 0;
- Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2;
- Node58lineStart = (Node58width - (ht.Default.getTextSize('台', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('台', ' '+ Node58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
- Node58.setPosition(1459*ratio.ratioX, 145*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(105,105,105,1)');
- Node58.a('node.borderwidth', 0);
- Node58.a('node.background','' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','');
- Node58.a('node.text','台');
- Node58.a('node.textalign','center');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node58.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node58width,Node58height,14.66663*_ratio.ratioY,"center",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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(1592*ratio.ratioX, 143*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_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node60 = new ht.Node();
- Node60.setPosition(1481*ratio.ratioX, 127*ratio.ratioY);
- Node60.setSize(9*ratioX, 60*ratioY);
- Node60.setImage('imgimage//page_list_box_left_orange.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(1550*ratio.ratioX, 128*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(1512*ratio.ratioX, 110*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(1513*ratio.ratioX, 142*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 Node64 = new ht.Node();
- var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'center', Node64fontSize = 14.66663*_ratio.ratioY,Node64width = 67*_ratio.ratioX, Node64height = 26*_ratio.ratioY;
- (function () {
- if (Node64align === 'left') {
- Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
- Node64textWidth = Node64width;
- Node64lineStart = 1;
- } else if (Node64align === 'right') {
- Node64textStart = 0;
- Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
- Node64lineStart = (Node64width - (ht.Default.getTextSize('台', ' '+ Node64fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node64align === 'center') {
- Node64textStart = -3;
- Node64textWidth = Node64width;
- Node64lineStart = Node64width - ht.Default.getTextSize('台', ' '+ Node64fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, ' '+ Node64fontSize + 'px "Arial"'))
- Node64.setPosition(1730*ratio.ratioX, 83*ratio.ratioY);
- Node64.setWidth(Node64width);
- Node64.setHeight(Node64height);
- Node64._nodeType = 'text';
- Node64._disallowEvert = true;
- Node64.setRotation(0*Math.PI/180);
- Node64.a('node.width', Node64width);
- Node64.a('node.height', Node64height);
- Node64.a('node.rect', [0, 0, Node64width, Node64height]);
- Node64.a('node.bordercolor','rgba(105,105,105,1)');
- Node64.a('node.borderwidth', 0);
- Node64.a('node.background','' || 'rgba(0,0,0,0)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','');
- Node64.a('node.text','台');
- Node64.a('node.textalign','center');
- Node64.a('node.textvAlign','middle');
- Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
- Node64.a('node.color','rgba(105,105,105,1)');
- Node64.a('node.font',' '+ Node64fontSize + 'px "Arial"');
- Node64.a('node.textvisible',true);
- Node64.a('node.linefeed',false);
- if (false) {
- Node64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node64.a('node.text') || '台';
- var color=Node64.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node64width,Node64height,14.66663*_ratio.ratioY,"center",color,' '+ Node64fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node64.a('node.underlinepoints',[Node64lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node64fontSize + 'px "Arial"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
- Node64.a('node.underlinevisible',false);
- Node64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node64);
- zoomNodeList.push({
- node: Node64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node65;
- (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');
- Node65 = new ht.Node();
- Node65.setPosition(1619*ratio.ratioX, 67*ratio.ratioY);
- Node65.setSize(9*ratioX, 60*ratioY);
- Node65.setImage('imgimage//page_list_box_left_green.jpg');
- Node65.setRotation(0*Math.PI/180);
- Node65._zoomBy = 'Default';
- Node65._nodeType = 'image';
- Node65._disallowEvert = true;
- dataModel.add(Node65);
- })();
- _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node66.setPosition(1688*ratio.ratioX, 67*ratio.ratioY);
- Node66.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node66.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node66.a('node.width', 127*_ratio.ratioX);
- Node66.a('node.height', 60.81538*_ratio.ratioY);
- Node66.a('node.type', Node66type);
- Node66.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node66.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node66.a('node.gradientcolor', '');
- Node66.a('node.gradient', '');
- Node66.a('node.borderwidth', Node66BorderWidth);
- Node66.a('node.color', 'rgba(128,128,128,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 Node67 = new ht.Node();
- var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'left', Node67fontSize = 15.99996*_ratio.ratioY,Node67width = 29*_ratio.ratioX, Node67height = 25*_ratio.ratioY;
- (function () {
- if (Node67align === 'left') {
- Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9;
- Node67textWidth = Node67width;
- Node67lineStart = 1;
- } else if (Node67align === 'right') {
- Node67textStart = 0;
- Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2;
- Node67lineStart = (Node67width - (ht.Default.getTextSize('0', ' '+ Node67fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node67align === 'center') {
- Node67textStart = -3;
- Node67textWidth = Node67width;
- Node67lineStart = Node67width - ht.Default.getTextSize('0', ' '+ Node67fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node67.setImage(GD.getTextJSON(Node67width, Node67height, true, false, false, ' '+ Node67fontSize + 'px "Arial"'))
- Node67.setPosition(1651*ratio.ratioX, 82*ratio.ratioY);
- Node67.setWidth(Node67width);
- Node67.setHeight(Node67height);
- Node67._nodeType = 'text';
- Node67._disallowEvert = true;
- Node67.setRotation(0*Math.PI/180);
- Node67.a('node.width', Node67width);
- Node67.a('node.height', Node67height);
- Node67.a('node.rect', [0, 0, Node67width, Node67height]);
- Node67.a('node.bordercolor','rgba(0,0,0,1)');
- Node67.a('node.borderwidth', 0);
- Node67.a('node.background','' || 'rgba(0,0,0,0)');
- Node67.a('node.gradient','');
- Node67.a('node.gradientcolor','');
- Node67.a('node.text','0');
- Node67.a('node.textalign','left');
- Node67.a('node.textvAlign','middle');
- Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]);
- Node67.a('node.color','rgba(0,0,0,1)');
- Node67.a('node.font',' '+ Node67fontSize + 'px "Arial"');
- Node67.a('node.textvisible',true);
- Node67.a('node.linefeed',false);
- if (false) {
- Node67.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node67.a('node.text') || '0';
- var color=Node67.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node67width,Node67height,15.99996*_ratio.ratioY,"left",color,' '+ Node67fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node67.a('node.underlinepoints',[Node67lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node67fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node67fontSize + 'px "Arial"').width + 6, (Node67height - Node67fontSize) * 0.5*_ratio.ratioY + Node67fontSize + 2 ]);
- Node67.a('node.underlinevisible',false);
- Node67.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node67);
- zoomNodeList.push({
- node: Node67,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68 = new ht.Node();
- var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'center', Node68fontSize = 14.66663*_ratio.ratioY,Node68width = 67*_ratio.ratioX, Node68height = 26*_ratio.ratioY;
- (function () {
- if (Node68align === 'left') {
- Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9;
- Node68textWidth = Node68width;
- Node68lineStart = 1;
- } else if (Node68align === 'right') {
- Node68textStart = 0;
- Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2;
- Node68lineStart = (Node68width - (ht.Default.getTextSize('台', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node68align === 'center') {
- Node68textStart = -3;
- Node68textWidth = Node68width;
- Node68lineStart = Node68width - ht.Default.getTextSize('台', ' '+ Node68fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"'))
- Node68.setPosition(1730*ratio.ratioX, 144*ratio.ratioY);
- Node68.setWidth(Node68width);
- Node68.setHeight(Node68height);
- Node68._nodeType = 'text';
- Node68._disallowEvert = true;
- Node68.setRotation(0*Math.PI/180);
- Node68.a('node.width', Node68width);
- Node68.a('node.height', Node68height);
- Node68.a('node.rect', [0, 0, Node68width, Node68height]);
- Node68.a('node.bordercolor','rgba(105,105,105,1)');
- Node68.a('node.borderwidth', 0);
- Node68.a('node.background','' || 'rgba(0,0,0,0)');
- Node68.a('node.gradient','');
- Node68.a('node.gradientcolor','');
- Node68.a('node.text','台');
- Node68.a('node.textalign','center');
- Node68.a('node.textvAlign','middle');
- Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]);
- Node68.a('node.color','rgba(105,105,105,1)');
- Node68.a('node.font',' '+ Node68fontSize + 'px "Arial"');
- Node68.a('node.textvisible',true);
- Node68.a('node.linefeed',false);
- if (false) {
- Node68.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node68.a('node.text') || '台';
- var color=Node68.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node68width,Node68height,14.66663*_ratio.ratioY,"center",color,' '+ Node68fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node68.a('node.underlinepoints',[Node68lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
- Node68.a('node.underlinevisible',false);
- Node68.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node68);
- zoomNodeList.push({
- node: Node68,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node69;
- (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');
- Node69 = new ht.Node();
- Node69.setPosition(1619*ratio.ratioX, 128*ratio.ratioY);
- Node69.setSize(9*ratioX, 60*ratioY);
- Node69.setImage('imgimage//page_list_box_left_pink.jpg');
- Node69.setRotation(0*Math.PI/180);
- Node69._zoomBy = 'Default';
- Node69._nodeType = 'image';
- Node69._disallowEvert = true;
- dataModel.add(Node69);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70type = 'rect';
- var Node70 = new ht.Node(),
- Node70BorderWidth = 1*2;
- if (Node70type === 'arc') {
- Node70BorderWidth *= 1;
- }
- Node70.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node70.setPosition(1688*ratio.ratioX, 128*ratio.ratioY);
- Node70.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node70.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node70.a('node.width', 127*_ratio.ratioX);
- Node70.a('node.height', 60.81538*_ratio.ratioY);
- Node70.a('node.type', Node70type);
- Node70.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node70.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node70.a('node.gradientcolor', '');
- Node70.a('node.gradient', '');
- Node70.a('node.borderwidth', Node70BorderWidth);
- Node70.a('node.color', 'rgba(128,128,128,1)');
- Node70.a('node.fillrect', [0,0,0,0]);
- Node70.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradient', '');
- if (Node70type !== 'rect') {
- Node70.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node70.a('node.arcTo', parseFloat('@arcTo@'));
- Node70.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node70type === 'arc') {
- Node70.a('node.arcOval', true);
- }
- Node70.setRotation(0*Math.PI/180);
- Node70.borderWidth = Node70BorderWidth;
- Node70.borderFillwidth = Node70BorderWidth;
- dataModel.add(Node70);
- Node70._nodename = 'Node70'
- Node70._nodeType = 'rect';
- zoomNodeList.push({
- node: Node70,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node70, Node70.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 47*_ratio.ratioX, Node71height = 38*_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('限电', 'bold '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('限电', 'bold '+ Node71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, 'bold '+ Node71fontSize + 'px "Arial"'))
- Node71.setPosition(1650*ratio.ratioX, 111*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','bold '+ Node71fontSize + 'px "Arial"');
- 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,'bold '+ Node71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node71fontSize + 'px "Arial"').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 Node72 = new ht.Node();
- var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 15.99996*_ratio.ratioY,Node72width = 29*_ratio.ratioX, Node72height = 25*_ratio.ratioY;
- (function () {
- if (Node72align === 'left') {
- Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9;
- Node72textWidth = Node72width;
- Node72lineStart = 1;
- } else if (Node72align === 'right') {
- Node72textStart = 0;
- Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2;
- Node72lineStart = (Node72width - (ht.Default.getTextSize('0', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node72align === 'center') {
- Node72textStart = -3;
- Node72textWidth = Node72width;
- Node72lineStart = Node72width - ht.Default.getTextSize('0', ' '+ Node72fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
- Node72.setPosition(1651*ratio.ratioX, 143*ratio.ratioY);
- Node72.setWidth(Node72width);
- Node72.setHeight(Node72height);
- Node72._nodeType = 'text';
- Node72._disallowEvert = true;
- Node72.setRotation(0*Math.PI/180);
- Node72.a('node.width', Node72width);
- Node72.a('node.height', Node72height);
- Node72.a('node.rect', [0, 0, Node72width, Node72height]);
- Node72.a('node.bordercolor','rgba(0,0,0,1)');
- Node72.a('node.borderwidth', 0);
- Node72.a('node.background','' || 'rgba(0,0,0,0)');
- Node72.a('node.gradient','');
- Node72.a('node.gradientcolor','');
- Node72.a('node.text','0');
- Node72.a('node.textalign','left');
- Node72.a('node.textvAlign','middle');
- Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
- Node72.a('node.color','rgba(0,0,0,1)');
- Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"');
- Node72.a('node.textvisible',true);
- Node72.a('node.linefeed',false);
- if (false) {
- Node72.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node72.a('node.text') || '0';
- var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node72width,Node72height,15.99996*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
- Node72.a('node.underlinevisible',false);
- Node72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node72);
- zoomNodeList.push({
- node: Node72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73 = new ht.Node();
- var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 61*_ratio.ratioX, Node73height = 26*_ratio.ratioY;
- (function () {
- if (Node73align === 'left') {
- Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9;
- Node73textWidth = Node73width;
- Node73lineStart = 1;
- } else if (Node73align === 'right') {
- Node73textStart = 0;
- Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2;
- Node73lineStart = (Node73width - (ht.Default.getTextSize('功率', ' '+ Node73fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node73align === 'center') {
- Node73textStart = -3;
- Node73textWidth = Node73width;
- Node73lineStart = Node73width - ht.Default.getTextSize('功率', ' '+ Node73fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, ' '+ Node73fontSize + 'px "微软雅黑"'))
- Node73.setPosition(226*ratio.ratioX, 75*ratio.ratioY);
- Node73.setWidth(Node73width);
- Node73.setHeight(Node73height);
- Node73._nodeType = 'text';
- Node73._disallowEvert = true;
- Node73.setRotation(0*Math.PI/180);
- Node73.a('node.width', Node73width);
- Node73.a('node.height', Node73height);
- Node73.a('node.rect', [0, 0, Node73width, Node73height]);
- Node73.a('node.bordercolor','rgba(0,0,0,1)');
- Node73.a('node.borderwidth', 0);
- Node73.a('node.background','' || 'rgba(0,0,0,0)');
- Node73.a('node.gradient','');
- Node73.a('node.gradientcolor','');
- Node73.a('node.text','功率');
- Node73.a('node.textalign','left');
- Node73.a('node.textvAlign','middle');
- Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]);
- Node73.a('node.color','rgba(0,0,0,1)');
- Node73.a('node.font',' '+ Node73fontSize + 'px "微软雅黑"');
- Node73.a('node.textvisible',true);
- Node73.a('node.linefeed',false);
- if (false) {
- Node73.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node73.a('node.text') || '功率';
- var color=Node73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,' '+ Node73fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node73.a('node.underlinepoints',[Node73lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node73fontSize + 'px "微软雅黑"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]);
- Node73.a('node.underlinevisible',false);
- Node73.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node73);
- zoomNodeList.push({
- node: Node73,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.Node();
- var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 61*_ratio.ratioX, Node74height = 26*_ratio.ratioY;
- (function () {
- if (Node74align === 'left') {
- Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
- Node74textWidth = Node74width;
- Node74lineStart = 1;
- } else if (Node74align === 'right') {
- Node74textStart = 0;
- Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
- Node74lineStart = (Node74width - (ht.Default.getTextSize('风速', ' '+ Node74fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('风速', ' '+ Node74fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, ' '+ Node74fontSize + 'px "微软雅黑"'))
- Node74.setPosition(226*ratio.ratioX, 99*ratio.ratioY);
- Node74.setWidth(Node74width);
- Node74.setHeight(Node74height);
- Node74._nodeType = 'text';
- Node74._disallowEvert = true;
- Node74.setRotation(0*Math.PI/180);
- Node74.a('node.width', Node74width);
- Node74.a('node.height', Node74height);
- Node74.a('node.rect', [0, 0, Node74width, Node74height]);
- Node74.a('node.bordercolor','rgba(0,0,0,1)');
- Node74.a('node.borderwidth', 0);
- Node74.a('node.background','' || 'rgba(0,0,0,0)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','');
- Node74.a('node.text','风速');
- Node74.a('node.textalign','left');
- Node74.a('node.textvAlign','middle');
- Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
- Node74.a('node.color','rgba(0,0,0,1)');
- Node74.a('node.font',' '+ Node74fontSize + 'px "微软雅黑"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '风速';
- var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"left",color,' '+ Node74fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node74fontSize + 'px "微软雅黑"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75 = new ht.Node();
- var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'left', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 77*_ratio.ratioX, Node75height = 26*_ratio.ratioY;
- (function () {
- if (Node75align === 'left') {
- Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9;
- Node75textWidth = Node75width;
- Node75lineStart = 1;
- } else if (Node75align === 'right') {
- Node75textStart = 0;
- Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2;
- Node75lineStart = (Node75width - (ht.Default.getTextSize('发电量', ' '+ Node75fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node75align === 'center') {
- Node75textStart = -3;
- Node75textWidth = Node75width;
- Node75lineStart = Node75width - ht.Default.getTextSize('发电量', ' '+ Node75fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, ' '+ Node75fontSize + 'px "微软雅黑"'))
- Node75.setPosition(232*ratio.ratioX, 124*ratio.ratioY);
- Node75.setWidth(Node75width);
- Node75.setHeight(Node75height);
- Node75._nodeType = 'text';
- Node75._disallowEvert = true;
- Node75.setRotation(0*Math.PI/180);
- Node75.a('node.width', Node75width);
- Node75.a('node.height', Node75height);
- Node75.a('node.rect', [0, 0, Node75width, Node75height]);
- Node75.a('node.bordercolor','rgba(0,0,0,1)');
- Node75.a('node.borderwidth', 0);
- Node75.a('node.background','' || 'rgba(0,0,0,0)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','');
- Node75.a('node.text','发电量');
- Node75.a('node.textalign','left');
- Node75.a('node.textvAlign','middle');
- Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]);
- Node75.a('node.color','rgba(0,0,0,1)');
- Node75.a('node.font',' '+ Node75fontSize + 'px "微软雅黑"');
- Node75.a('node.textvisible',true);
- Node75.a('node.linefeed',false);
- if (false) {
- Node75.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node75.a('node.text') || '发电量';
- var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"left",color,' '+ Node75fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node75.a('node.underlinepoints',[Node75lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node75fontSize + 'px "微软雅黑"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]);
- Node75.a('node.underlinevisible',false);
- Node75.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node75);
- zoomNodeList.push({
- node: Node75,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(536*ratio.ratioX, 97*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 Node77type = 'rect';
- var Node77 = new ht.Node(),
- Node77BorderWidth = 1*2;
- if (Node77type === 'arc') {
- Node77BorderWidth *= 1;
- }
- Node77.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node77type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node77.setPosition(536*ratio.ratioX, 73*ratio.ratioY);
- Node77.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node77.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node77.a('node.width', 121*_ratio.ratioX);
- Node77.a('node.height', 24.33138*_ratio.ratioY);
- Node77.a('node.type', Node77type);
- Node77.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node77.a('node.background', 'rgba(240,240,240,1)');
- Node77.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node77.a('node.gradient', '');
- Node77.a('node.borderwidth', Node77BorderWidth);
- Node77.a('node.color', 'rgba(224,224,224,1)');
- Node77.a('node.fillrect', [0,0,0,0]);
- Node77.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node77.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node77.a('node.fillgradient', '');
- if (Node77type !== 'rect') {
- Node77.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node77.a('node.arcTo', parseFloat('@arcTo@'));
- Node77.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node77type === 'arc') {
- Node77.a('node.arcOval', true);
- }
- Node77.setRotation(0*Math.PI/180);
- Node77.borderWidth = Node77BorderWidth;
- Node77.borderFillwidth = Node77BorderWidth;
- dataModel.add(Node77);
- Node77._nodename = 'Node77'
- Node77._nodeType = 'rect';
- zoomNodeList.push({
- node: Node77,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node77, Node77.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node78type = 'rect';
- var Node78 = new ht.Node(),
- Node78BorderWidth = 1*2;
- if (Node78type === 'arc') {
- Node78BorderWidth *= 1;
- }
- Node78.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node78.setPosition(536*ratio.ratioX, 122*ratio.ratioY);
- Node78.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node78.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node78.a('node.width', 121*_ratio.ratioX);
- Node78.a('node.height', 24.33136*_ratio.ratioY);
- Node78.a('node.type', Node78type);
- Node78.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node78.a('node.background', 'rgba(240,240,240,1)');
- Node78.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node78.a('node.gradient', '');
- Node78.a('node.borderwidth', Node78BorderWidth);
- Node78.a('node.color', 'rgba(224,224,224,1)');
- Node78.a('node.fillrect', [0,0,0,0]);
- Node78.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node78.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node78.a('node.fillgradient', '');
- if (Node78type !== 'rect') {
- Node78.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node78.a('node.arcTo', parseFloat('@arcTo@'));
- Node78.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node78type === 'arc') {
- Node78.a('node.arcOval', true);
- }
- Node78.setRotation(0*Math.PI/180);
- Node78.borderWidth = Node78BorderWidth;
- Node78.borderFillwidth = Node78BorderWidth;
- dataModel.add(Node78);
- Node78._nodename = 'Node78'
- Node78._nodeType = 'rect';
- zoomNodeList.push({
- node: Node78,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node78, Node78.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79type = 'rect';
- var Node79 = new ht.Node(),
- Node79BorderWidth = 1*2;
- if (Node79type === 'arc') {
- Node79BorderWidth *= 1;
- }
- Node79.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node79type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node79.setPosition(536*ratio.ratioX, 49*ratio.ratioY);
- Node79.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node79.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node79.a('node.width', 121*_ratio.ratioX);
- Node79.a('node.height', 24.33136*_ratio.ratioY);
- Node79.a('node.type', Node79type);
- Node79.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node79.a('node.background', 'rgba(240,240,240,1)');
- Node79.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node79.a('node.gradient', '');
- Node79.a('node.borderwidth', Node79BorderWidth);
- Node79.a('node.color', 'rgba(224,224,224,1)');
- Node79.a('node.fillrect', [0,0,0,0]);
- Node79.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node79.a('node.fillgradient', '');
- if (Node79type !== 'rect') {
- Node79.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node79.a('node.arcTo', parseFloat('@arcTo@'));
- Node79.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node79type === 'arc') {
- Node79.a('node.arcOval', true);
- }
- Node79.setRotation(0*Math.PI/180);
- Node79.borderWidth = Node79BorderWidth;
- Node79.borderFillwidth = Node79BorderWidth;
- dataModel.add(Node79);
- Node79._nodename = 'Node79'
- Node79._nodeType = 'rect';
- zoomNodeList.push({
- node: Node79,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node79, Node79.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80type = 'rect';
- var Node80 = new ht.Node(),
- Node80BorderWidth = 1*2;
- if (Node80type === 'arc') {
- Node80BorderWidth *= 1;
- }
- Node80.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node80type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node80.setPosition(536*ratio.ratioX, 146*ratio.ratioY);
- Node80.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node80.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node80.a('node.width', 121*_ratio.ratioX);
- Node80.a('node.height', 24.33138*_ratio.ratioY);
- Node80.a('node.type', Node80type);
- Node80.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node80.a('node.background', 'rgba(240,240,240,1)');
- Node80.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node80.a('node.gradient', '');
- Node80.a('node.borderwidth', Node80BorderWidth);
- Node80.a('node.color', 'rgba(224,224,224,1)');
- Node80.a('node.fillrect', [0,0,0,0]);
- Node80.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node80.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node80.a('node.fillgradient', '');
- if (Node80type !== 'rect') {
- Node80.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node80.a('node.arcTo', parseFloat('@arcTo@'));
- Node80.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node80type === 'arc') {
- Node80.a('node.arcOval', true);
- }
- Node80.setRotation(0*Math.PI/180);
- Node80.borderWidth = Node80BorderWidth;
- Node80.borderFillwidth = Node80BorderWidth;
- dataModel.add(Node80);
- Node80._nodename = 'Node80'
- Node80._nodeType = 'rect';
- zoomNodeList.push({
- node: Node80,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node80, Node80.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81 = new ht.Node();
- var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'center', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 113*_ratio.ratioX, Node81height = 26*_ratio.ratioY;
- (function () {
- if (Node81align === 'left') {
- Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
- Node81textWidth = Node81width;
- Node81lineStart = 1;
- } else if (Node81align === 'right') {
- Node81textStart = 0;
- Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
- Node81lineStart = (Node81width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node81align === 'center') {
- Node81textStart = -3;
- Node81textWidth = Node81width;
- Node81lineStart = Node81width - ht.Default.getTextSize('日维护损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "微软雅黑"'))
- Node81.setPosition(536*ratio.ratioX, 51*ratio.ratioY);
- Node81.setWidth(Node81width);
- Node81.setHeight(Node81height);
- Node81._nodeType = 'text';
- Node81._disallowEvert = true;
- Node81.setRotation(0*Math.PI/180);
- Node81.a('node.width', Node81width);
- Node81.a('node.height', Node81height);
- Node81.a('node.rect', [0, 0, Node81width, Node81height]);
- Node81.a('node.bordercolor','rgba(0,0,0,1)');
- Node81.a('node.borderwidth', 0);
- Node81.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','rgba(255,255,255,0)');
- Node81.a('node.text','日维护损失电量');
- Node81.a('node.textalign','center');
- Node81.a('node.textvAlign','middle');
- Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
- Node81.a('node.color','rgba(0,0,0,1)');
- Node81.a('node.font',' '+ Node81fontSize + 'px "微软雅黑"');
- Node81.a('node.textvisible',true);
- Node81.a('node.linefeed',false);
- if (false) {
- Node81.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node81.a('node.text') || '日维护损失电量';
- var color=Node81.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"center",color,' '+ Node81fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node81.a('node.underlinepoints',[Node81lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node81fontSize + 'px "微软雅黑"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]);
- Node81.a('node.underlinevisible',false);
- Node81.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node81);
- zoomNodeList.push({
- node: Node81,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82 = new ht.Node();
- var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'center', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 113*_ratio.ratioX, Node82height = 26*_ratio.ratioY;
- (function () {
- if (Node82align === 'left') {
- Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
- Node82textWidth = Node82width;
- Node82lineStart = 1;
- } else if (Node82align === 'right') {
- Node82textStart = 0;
- Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
- Node82lineStart = (Node82width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node82align === 'center') {
- Node82textStart = -3;
- Node82textWidth = Node82width;
- Node82lineStart = Node82width - ht.Default.getTextSize('日故障损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "微软雅黑"'))
- Node82.setPosition(537*ratio.ratioX, 75*ratio.ratioY);
- Node82.setWidth(Node82width);
- Node82.setHeight(Node82height);
- Node82._nodeType = 'text';
- Node82._disallowEvert = true;
- Node82.setRotation(0*Math.PI/180);
- Node82.a('node.width', Node82width);
- Node82.a('node.height', Node82height);
- Node82.a('node.rect', [0, 0, Node82width, Node82height]);
- Node82.a('node.bordercolor','rgba(0,0,0,1)');
- Node82.a('node.borderwidth', 0);
- Node82.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','rgba(255,255,255,0)');
- Node82.a('node.text','日故障损失电量');
- Node82.a('node.textalign','center');
- Node82.a('node.textvAlign','middle');
- Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
- Node82.a('node.color','rgba(0,0,0,1)');
- Node82.a('node.font',' '+ Node82fontSize + 'px "微软雅黑"');
- Node82.a('node.textvisible',true);
- Node82.a('node.linefeed',false);
- if (false) {
- Node82.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node82.a('node.text') || '日故障损失电量';
- var color=Node82.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"center",color,' '+ Node82fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node82.a('node.underlinepoints',[Node82lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node82fontSize + 'px "微软雅黑"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
- Node82.a('node.underlinevisible',false);
- Node82.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node82);
- zoomNodeList.push({
- node: Node82,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83 = new ht.Node();
- var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'center', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 113*_ratio.ratioX, Node83height = 26*_ratio.ratioY;
- (function () {
- if (Node83align === 'left') {
- Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9;
- Node83textWidth = Node83width;
- Node83lineStart = 1;
- } else if (Node83align === 'right') {
- Node83textStart = 0;
- Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2;
- Node83lineStart = (Node83width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node83fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node83align === 'center') {
- Node83textStart = -3;
- Node83textWidth = Node83width;
- Node83lineStart = Node83width - ht.Default.getTextSize('日限电损失电量', ' '+ Node83fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "微软雅黑"'))
- Node83.setPosition(537*ratio.ratioX, 100*ratio.ratioY);
- Node83.setWidth(Node83width);
- Node83.setHeight(Node83height);
- Node83._nodeType = 'text';
- Node83._disallowEvert = true;
- Node83.setRotation(0*Math.PI/180);
- Node83.a('node.width', Node83width);
- Node83.a('node.height', Node83height);
- Node83.a('node.rect', [0, 0, Node83width, Node83height]);
- Node83.a('node.bordercolor','rgba(0,0,0,1)');
- Node83.a('node.borderwidth', 0);
- Node83.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','rgba(255,255,255,0)');
- Node83.a('node.text','日限电损失电量');
- Node83.a('node.textalign','center');
- Node83.a('node.textvAlign','middle');
- Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]);
- Node83.a('node.color','rgba(0,0,0,1)');
- Node83.a('node.font',' '+ Node83fontSize + 'px "微软雅黑"');
- Node83.a('node.textvisible',true);
- Node83.a('node.linefeed',false);
- if (false) {
- Node83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node83.a('node.text') || '日限电损失电量';
- var color=Node83.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"center",color,' '+ Node83fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node83.a('node.underlinepoints',[Node83lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node83fontSize + 'px "微软雅黑"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
- Node83.a('node.underlinevisible',false);
- Node83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node83);
- zoomNodeList.push({
- node: Node83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84 = new ht.Node();
- var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'center', Node84fontSize = 13.3333*_ratio.ratioY,Node84width = 113*_ratio.ratioX, Node84height = 26*_ratio.ratioY;
- (function () {
- if (Node84align === 'left') {
- Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9;
- Node84textWidth = Node84width;
- Node84lineStart = 1;
- } else if (Node84align === 'right') {
- Node84textStart = 0;
- Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2;
- Node84lineStart = (Node84width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node84fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node84align === 'center') {
- Node84textStart = -3;
- Node84textWidth = Node84width;
- Node84lineStart = Node84width - ht.Default.getTextSize('日受累损失电量', ' '+ Node84fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "微软雅黑"'))
- Node84.setPosition(537*ratio.ratioX, 124*ratio.ratioY);
- Node84.setWidth(Node84width);
- Node84.setHeight(Node84height);
- Node84._nodeType = 'text';
- Node84._disallowEvert = true;
- Node84.setRotation(0*Math.PI/180);
- Node84.a('node.width', Node84width);
- Node84.a('node.height', Node84height);
- Node84.a('node.rect', [0, 0, Node84width, Node84height]);
- Node84.a('node.bordercolor','rgba(0,0,0,1)');
- Node84.a('node.borderwidth', 0);
- Node84.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','rgba(255,255,255,0)');
- Node84.a('node.text','日受累损失电量');
- Node84.a('node.textalign','center');
- Node84.a('node.textvAlign','middle');
- Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
- Node84.a('node.color','rgba(0,0,0,1)');
- Node84.a('node.font',' '+ Node84fontSize + 'px "微软雅黑"');
- Node84.a('node.textvisible',true);
- Node84.a('node.linefeed',false);
- if (false) {
- Node84.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node84.a('node.text') || '日受累损失电量';
- var color=Node84.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"center",color,' '+ Node84fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node84.a('node.underlinepoints',[Node84lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node84fontSize + 'px "微软雅黑"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]);
- Node84.a('node.underlinevisible',false);
- Node84.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node84);
- zoomNodeList.push({
- node: Node84,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(817*ratio.ratioX, 97*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 Node86type = 'rect';
- var Node86 = new ht.Node(),
- Node86BorderWidth = 1*2;
- if (Node86type === 'arc') {
- Node86BorderWidth *= 1;
- }
- Node86.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node86type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node86.setPosition(817*ratio.ratioX, 73*ratio.ratioY);
- Node86.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node86.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node86.a('node.width', 117*_ratio.ratioX);
- Node86.a('node.height', 24.33138*_ratio.ratioY);
- Node86.a('node.type', Node86type);
- Node86.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node86.a('node.background', 'rgba(240,240,240,1)');
- Node86.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node86.a('node.gradient', '');
- Node86.a('node.borderwidth', Node86BorderWidth);
- Node86.a('node.color', 'rgba(224,224,224,1)');
- Node86.a('node.fillrect', [0,0,0,0]);
- Node86.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradient', '');
- if (Node86type !== 'rect') {
- Node86.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node86.a('node.arcTo', parseFloat('@arcTo@'));
- Node86.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node86type === 'arc') {
- Node86.a('node.arcOval', true);
- }
- Node86.setRotation(0*Math.PI/180);
- Node86.borderWidth = Node86BorderWidth;
- Node86.borderFillwidth = Node86BorderWidth;
- dataModel.add(Node86);
- Node86._nodename = 'Node86'
- Node86._nodeType = 'rect';
- zoomNodeList.push({
- node: Node86,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node86, Node86.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87type = 'rect';
- var Node87 = new ht.Node(),
- Node87BorderWidth = 1*2;
- if (Node87type === 'arc') {
- Node87BorderWidth *= 1;
- }
- Node87.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node87.setPosition(817*ratio.ratioX, 122*ratio.ratioY);
- Node87.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node87.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node87.a('node.width', 117*_ratio.ratioX);
- Node87.a('node.height', 24.33136*_ratio.ratioY);
- Node87.a('node.type', Node87type);
- Node87.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node87.a('node.background', 'rgba(240,240,240,1)');
- Node87.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node87.a('node.gradient', '');
- Node87.a('node.borderwidth', Node87BorderWidth);
- Node87.a('node.color', 'rgba(224,224,224,1)');
- Node87.a('node.fillrect', [0,0,0,0]);
- Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradient', '');
- if (Node87type !== 'rect') {
- Node87.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node87.a('node.arcTo', parseFloat('@arcTo@'));
- Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node87type === 'arc') {
- Node87.a('node.arcOval', true);
- }
- Node87.setRotation(0*Math.PI/180);
- Node87.borderWidth = Node87BorderWidth;
- Node87.borderFillwidth = Node87BorderWidth;
- dataModel.add(Node87);
- Node87._nodename = 'Node87'
- Node87._nodeType = 'rect';
- zoomNodeList.push({
- node: Node87,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node87, Node87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88type = 'rect';
- var Node88 = new ht.Node(),
- Node88BorderWidth = 1*2;
- if (Node88type === 'arc') {
- Node88BorderWidth *= 1;
- }
- Node88.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node88type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node88.setPosition(817*ratio.ratioX, 49*ratio.ratioY);
- Node88.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node88.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node88.a('node.width', 117*_ratio.ratioX);
- Node88.a('node.height', 24.33136*_ratio.ratioY);
- Node88.a('node.type', Node88type);
- Node88.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node88.a('node.background', 'rgba(240,240,240,1)');
- Node88.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node88.a('node.gradient', '');
- Node88.a('node.borderwidth', Node88BorderWidth);
- Node88.a('node.color', 'rgba(224,224,224,1)');
- Node88.a('node.fillrect', [0,0,0,0]);
- Node88.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node88.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node88.a('node.fillgradient', '');
- if (Node88type !== 'rect') {
- Node88.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node88.a('node.arcTo', parseFloat('@arcTo@'));
- Node88.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node88type === 'arc') {
- Node88.a('node.arcOval', true);
- }
- Node88.setRotation(0*Math.PI/180);
- Node88.borderWidth = Node88BorderWidth;
- Node88.borderFillwidth = Node88BorderWidth;
- dataModel.add(Node88);
- Node88._nodename = 'Node88'
- Node88._nodeType = 'rect';
- zoomNodeList.push({
- node: Node88,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node88, Node88.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89type = 'rect';
- var Node89 = new ht.Node(),
- Node89BorderWidth = 1*2;
- if (Node89type === 'arc') {
- Node89BorderWidth *= 1;
- }
- Node89.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node89type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node89.setPosition(817*ratio.ratioX, 146*ratio.ratioY);
- Node89.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node89.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node89.a('node.width', 117*_ratio.ratioX);
- Node89.a('node.height', 24.33138*_ratio.ratioY);
- Node89.a('node.type', Node89type);
- Node89.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node89.a('node.background', 'rgba(240,240,240,1)');
- Node89.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node89.a('node.gradient', '');
- Node89.a('node.borderwidth', Node89BorderWidth);
- Node89.a('node.color', 'rgba(224,224,224,1)');
- Node89.a('node.fillrect', [0,0,0,0]);
- Node89.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node89.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node89.a('node.fillgradient', '');
- if (Node89type !== 'rect') {
- Node89.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node89.a('node.arcTo', parseFloat('@arcTo@'));
- Node89.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node89type === 'arc') {
- Node89.a('node.arcOval', true);
- }
- Node89.setRotation(0*Math.PI/180);
- Node89.borderWidth = Node89BorderWidth;
- Node89.borderFillwidth = Node89BorderWidth;
- dataModel.add(Node89);
- Node89._nodename = 'Node89'
- Node89._nodeType = 'rect';
- zoomNodeList.push({
- node: Node89,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node89, Node89.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'center', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 110*_ratio.ratioX, Node90height = 26*_ratio.ratioY;
- (function () {
- if (Node90align === 'left') {
- Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
- Node90textWidth = Node90width;
- Node90lineStart = 1;
- } else if (Node90align === 'right') {
- Node90textStart = 0;
- Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
- Node90lineStart = (Node90width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('月维护损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "微软雅黑"'))
- Node90.setPosition(817*ratio.ratioX, 51*ratio.ratioY);
- Node90.setWidth(Node90width);
- Node90.setHeight(Node90height);
- Node90._nodeType = 'text';
- Node90._disallowEvert = true;
- Node90.setRotation(0*Math.PI/180);
- Node90.a('node.width', Node90width);
- Node90.a('node.height', Node90height);
- Node90.a('node.rect', [0, 0, Node90width, Node90height]);
- Node90.a('node.bordercolor','rgba(0,0,0,1)');
- Node90.a('node.borderwidth', 0);
- Node90.a('node.background','' || 'rgba(0,0,0,0)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','');
- Node90.a('node.text','月维护损失电量');
- Node90.a('node.textalign','center');
- Node90.a('node.textvAlign','middle');
- Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
- Node90.a('node.color','rgba(0,0,0,1)');
- Node90.a('node.font',' '+ Node90fontSize + 'px "微软雅黑"');
- Node90.a('node.textvisible',true);
- Node90.a('node.linefeed',false);
- if (false) {
- Node90.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node90.a('node.text') || '月维护损失电量';
- var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"center",color,' '+ Node90fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node90.a('node.underlinepoints',[Node90lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'center', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 26*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('月故障损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "微软雅黑"'))
- Node91.setPosition(817*ratio.ratioX, 75*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(0,0,0,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','月故障损失电量');
- Node91.a('node.textalign','center');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "微软雅黑"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || '月故障损失电量';
- var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"center",color,' '+ Node91fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92 = new ht.Node();
- var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'center', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 110*_ratio.ratioX, Node92height = 26*_ratio.ratioY;
- (function () {
- if (Node92align === 'left') {
- Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
- Node92textWidth = Node92width;
- Node92lineStart = 1;
- } else if (Node92align === 'right') {
- Node92textStart = 0;
- Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
- Node92lineStart = (Node92width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node92fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('月限电损失电量', ' '+ Node92fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "微软雅黑"'))
- Node92.setPosition(817*ratio.ratioX, 100*ratio.ratioY);
- Node92.setWidth(Node92width);
- Node92.setHeight(Node92height);
- Node92._nodeType = 'text';
- Node92._disallowEvert = true;
- Node92.setRotation(0*Math.PI/180);
- Node92.a('node.width', Node92width);
- Node92.a('node.height', Node92height);
- Node92.a('node.rect', [0, 0, Node92width, Node92height]);
- Node92.a('node.bordercolor','rgba(0,0,0,1)');
- Node92.a('node.borderwidth', 0);
- Node92.a('node.background','' || 'rgba(0,0,0,0)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','');
- Node92.a('node.text','月限电损失电量');
- Node92.a('node.textalign','center');
- Node92.a('node.textvAlign','middle');
- Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
- Node92.a('node.color','rgba(0,0,0,1)');
- Node92.a('node.font',' '+ Node92fontSize + 'px "微软雅黑"');
- Node92.a('node.textvisible',true);
- Node92.a('node.linefeed',false);
- if (false) {
- Node92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node92.a('node.text') || '月限电损失电量';
- var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"center",color,' '+ Node92fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node92.a('node.underlinepoints',[Node92lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node92fontSize + 'px "微软雅黑"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
- Node92.a('node.underlinevisible',false);
- Node92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node92);
- zoomNodeList.push({
- node: Node92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'center', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 110*_ratio.ratioX, Node93height = 26*_ratio.ratioY;
- (function () {
- if (Node93align === 'left') {
- Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
- Node93textWidth = Node93width;
- Node93lineStart = 1;
- } else if (Node93align === 'right') {
- Node93textStart = 0;
- Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
- Node93lineStart = (Node93width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('月受累损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "微软雅黑"'))
- Node93.setPosition(817*ratio.ratioX, 124*ratio.ratioY);
- Node93.setWidth(Node93width);
- Node93.setHeight(Node93height);
- Node93._nodeType = 'text';
- Node93._disallowEvert = true;
- Node93.setRotation(0*Math.PI/180);
- Node93.a('node.width', Node93width);
- Node93.a('node.height', Node93height);
- Node93.a('node.rect', [0, 0, Node93width, Node93height]);
- Node93.a('node.bordercolor','rgba(0,0,0,1)');
- Node93.a('node.borderwidth', 0);
- Node93.a('node.background','' || 'rgba(0,0,0,0)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','');
- Node93.a('node.text','月受累损失电量');
- Node93.a('node.textalign','center');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(0,0,0,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "微软雅黑"');
- Node93.a('node.textvisible',true);
- Node93.a('node.linefeed',false);
- if (false) {
- Node93.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node93.a('node.text') || '月受累损失电量';
- var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"center",color,' '+ Node93fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
- Node93.a('node.underlinevisible',false);
- Node93.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node93);
- zoomNodeList.push({
- node: Node93,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94type = 'rect';
- var Node94 = new ht.Node(),
- Node94BorderWidth = 1*2;
- if (Node94type === 'arc') {
- Node94BorderWidth *= 1;
- }
- Node94.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node94.setPosition(923*ratio.ratioX, 49*ratio.ratioY);
- Node94.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node94.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node94.a('node.width', 95*_ratio.ratioX);
- Node94.a('node.height', 24.33136*_ratio.ratioY);
- Node94.a('node.type', Node94type);
- Node94.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node95.setPosition(923*ratio.ratioX, 73*ratio.ratioY);
- Node95.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node95.a('node.width', 95*_ratio.ratioX);
- Node95.a('node.height', 24.33138*_ratio.ratioY);
- Node95.a('node.type', Node95type);
- Node95.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node95.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node95.a('node.gradientcolor', '');
- Node95.a('node.gradient', '');
- Node95.a('node.borderwidth', Node95BorderWidth);
- Node95.a('node.color', 'rgba(224,224,224,1)');
- Node95.a('node.fillrect', [0,0,0,0]);
- Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradient', '');
- if (Node95type !== 'rect') {
- Node95.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node95.a('node.arcTo', parseFloat('@arcTo@'));
- Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node95type === 'arc') {
- Node95.a('node.arcOval', true);
- }
- Node95.setRotation(0*Math.PI/180);
- Node95.borderWidth = Node95BorderWidth;
- Node95.borderFillwidth = Node95BorderWidth;
- dataModel.add(Node95);
- Node95._nodename = 'Node95'
- Node95._nodeType = 'rect';
- zoomNodeList.push({
- node: Node95,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96type = 'rect';
- var Node96 = new ht.Node(),
- Node96BorderWidth = 1*2;
- if (Node96type === 'arc') {
- Node96BorderWidth *= 1;
- }
- Node96.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node96.setPosition(923*ratio.ratioX, 97*ratio.ratioY);
- Node96.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node96.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node96.a('node.width', 95*_ratio.ratioX);
- Node96.a('node.height', 24.33138*_ratio.ratioY);
- Node96.a('node.type', Node96type);
- Node96.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node96.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node96.a('node.gradientcolor', '');
- Node96.a('node.gradient', '');
- Node96.a('node.borderwidth', Node96BorderWidth);
- Node96.a('node.color', 'rgba(224,224,224,1)');
- Node96.a('node.fillrect', [0,0,0,0]);
- Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradient', '');
- if (Node96type !== 'rect') {
- Node96.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node96.a('node.arcTo', parseFloat('@arcTo@'));
- Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node96type === 'arc') {
- Node96.a('node.arcOval', true);
- }
- Node96.setRotation(0*Math.PI/180);
- Node96.borderWidth = Node96BorderWidth;
- Node96.borderFillwidth = Node96BorderWidth;
- dataModel.add(Node96);
- Node96._nodename = 'Node96'
- Node96._nodeType = 'rect';
- zoomNodeList.push({
- node: Node96,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97type = 'rect';
- var Node97 = new ht.Node(),
- Node97BorderWidth = 1*2;
- if (Node97type === 'arc') {
- Node97BorderWidth *= 1;
- }
- Node97.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node97.setPosition(923*ratio.ratioX, 122*ratio.ratioY);
- Node97.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node97.a('node.width', 95*_ratio.ratioX);
- Node97.a('node.height', 24.33136*_ratio.ratioY);
- Node97.a('node.type', Node97type);
- Node97.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node97.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node97.a('node.gradientcolor', '');
- Node97.a('node.gradient', '');
- Node97.a('node.borderwidth', Node97BorderWidth);
- Node97.a('node.color', 'rgba(224,224,224,1)');
- Node97.a('node.fillrect', [0,0,0,0]);
- Node97.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradient', '');
- if (Node97type !== 'rect') {
- Node97.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node97.a('node.arcTo', parseFloat('@arcTo@'));
- Node97.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node97type === 'arc') {
- Node97.a('node.arcOval', true);
- }
- Node97.setRotation(0*Math.PI/180);
- Node97.borderWidth = Node97BorderWidth;
- Node97.borderFillwidth = Node97BorderWidth;
- dataModel.add(Node97);
- Node97._nodename = 'Node97'
- Node97._nodeType = 'rect';
- zoomNodeList.push({
- node: Node97,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node97, Node97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98type = 'rect';
- var Node98 = new ht.Node(),
- Node98BorderWidth = 1*2;
- if (Node98type === 'arc') {
- Node98BorderWidth *= 1;
- }
- Node98.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node98.setPosition(923*ratio.ratioX, 146*ratio.ratioY);
- Node98.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node98.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node98.a('node.width', 95*_ratio.ratioX);
- Node98.a('node.height', 24.33138*_ratio.ratioY);
- Node98.a('node.type', Node98type);
- Node98.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node98.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node98.a('node.gradientcolor', '');
- Node98.a('node.gradient', '');
- Node98.a('node.borderwidth', Node98BorderWidth);
- Node98.a('node.color', 'rgba(224,224,224,1)');
- Node98.a('node.fillrect', [0,0,0,0]);
- Node98.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradient', '');
- if (Node98type !== 'rect') {
- Node98.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node98.a('node.arcTo', parseFloat('@arcTo@'));
- Node98.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node98type === 'arc') {
- Node98.a('node.arcOval', true);
- }
- Node98.setRotation(0*Math.PI/180);
- Node98.borderWidth = Node98BorderWidth;
- Node98.borderFillwidth = Node98BorderWidth;
- dataModel.add(Node98);
- Node98._nodename = 'Node98'
- Node98._nodeType = 'rect';
- zoomNodeList.push({
- node: Node98,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node98, Node98.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99type = 'rect';
- var Node99 = new ht.Node(),
- Node99BorderWidth = 1*2;
- if (Node99type === 'arc') {
- Node99BorderWidth *= 1;
- }
- Node99.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node99.setPosition(1003*ratio.ratioX, 49*ratio.ratioY);
- Node99.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node99.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node99.a('node.width', 65*_ratio.ratioX);
- Node99.a('node.height', 24.33136*_ratio.ratioY);
- Node99.a('node.type', Node99type);
- Node99.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node99.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node99.a('node.gradientcolor', '');
- Node99.a('node.gradient', '');
- Node99.a('node.borderwidth', Node99BorderWidth);
- Node99.a('node.color', 'rgba(224,224,224,1)');
- Node99.a('node.fillrect', [0,0,0,0]);
- Node99.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradient', '');
- if (Node99type !== 'rect') {
- Node99.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node99.a('node.arcTo', parseFloat('@arcTo@'));
- Node99.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node99type === 'arc') {
- Node99.a('node.arcOval', true);
- }
- Node99.setRotation(0*Math.PI/180);
- Node99.borderWidth = Node99BorderWidth;
- Node99.borderFillwidth = Node99BorderWidth;
- dataModel.add(Node99);
- Node99._nodename = 'Node99'
- Node99._nodeType = 'rect';
- zoomNodeList.push({
- node: Node99,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node99, Node99.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(923*ratio.ratioX, 51*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 Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'center', Node101fontSize = 14.66663*_ratio.ratioY,Node101width = 59*_ratio.ratioX, Node101height = 26*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(923*ratio.ratioX, 75*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(0,0,0,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','0');
- Node101.a('node.textalign','center');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(0,0,0,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '0';
- var color=Node101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node101width,Node101height,14.66663*_ratio.ratioY,"center",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'center', Node102fontSize = 14.66663*_ratio.ratioY,Node102width = 59*_ratio.ratioX, Node102height = 26*_ratio.ratioY;
- (function () {
- if (Node102align === 'left') {
- Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
- Node102textWidth = Node102width;
- Node102lineStart = 1;
- } else if (Node102align === 'right') {
- Node102textStart = 0;
- Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
- Node102lineStart = (Node102width - (ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
- Node102.setPosition(923*ratio.ratioX, 100*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(0,0,0,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','0');
- Node102.a('node.textalign','center');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(0,0,0,1)');
- Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
- Node102.a('node.textvisible',true);
- Node102.a('node.linefeed',false);
- if (false) {
- Node102.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node102.a('node.text') || '0';
- var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node102width,Node102height,14.66663*_ratio.ratioY,"center",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'center', Node103fontSize = 14.66663*_ratio.ratioY,Node103width = 59*_ratio.ratioX, Node103height = 26*_ratio.ratioY;
- (function () {
- if (Node103align === 'left') {
- Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
- Node103textWidth = Node103width;
- Node103lineStart = 1;
- } else if (Node103align === 'right') {
- Node103textStart = 0;
- Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
- Node103lineStart = (Node103width - (ht.Default.getTextSize('0', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('0', ' '+ Node103fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
- Node103.setPosition(923*ratio.ratioX, 123*ratio.ratioY);
- Node103.setWidth(Node103width);
- Node103.setHeight(Node103height);
- Node103._nodeType = 'text';
- Node103._disallowEvert = true;
- Node103.setRotation(0*Math.PI/180);
- Node103.a('node.width', Node103width);
- Node103.a('node.height', Node103height);
- Node103.a('node.rect', [0, 0, Node103width, Node103height]);
- Node103.a('node.bordercolor','rgba(0,0,0,1)');
- Node103.a('node.borderwidth', 0);
- Node103.a('node.background','' || 'rgba(0,0,0,0)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','');
- Node103.a('node.text','0');
- Node103.a('node.textalign','center');
- Node103.a('node.textvAlign','middle');
- Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
- Node103.a('node.color','rgba(0,0,0,1)');
- Node103.a('node.font',' '+ Node103fontSize + 'px "Arial"');
- Node103.a('node.textvisible',true);
- Node103.a('node.linefeed',false);
- if (false) {
- Node103.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node103.a('node.text') || '0';
- var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node103width,Node103height,14.66663*_ratio.ratioY,"center",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node103fontSize + 'px "Arial"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
- Node103.a('node.underlinevisible',false);
- Node103.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node103);
- zoomNodeList.push({
- node: Node103,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104 = new ht.Node();
- var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'center', Node104fontSize = 14.66663*_ratio.ratioY,Node104width = 59*_ratio.ratioX, Node104height = 26*_ratio.ratioY;
- (function () {
- if (Node104align === 'left') {
- Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
- Node104textWidth = Node104width;
- Node104lineStart = 1;
- } else if (Node104align === 'right') {
- Node104textStart = 0;
- Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
- Node104lineStart = (Node104width - (ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
- Node104.setPosition(923*ratio.ratioX, 147*ratio.ratioY);
- Node104.setWidth(Node104width);
- Node104.setHeight(Node104height);
- Node104._nodeType = 'text';
- Node104._disallowEvert = true;
- Node104.setRotation(0*Math.PI/180);
- Node104.a('node.width', Node104width);
- Node104.a('node.height', Node104height);
- Node104.a('node.rect', [0, 0, Node104width, Node104height]);
- Node104.a('node.bordercolor','rgba(0,0,0,1)');
- Node104.a('node.borderwidth', 0);
- Node104.a('node.background','' || 'rgba(0,0,0,0)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','');
- Node104.a('node.text','0');
- Node104.a('node.textalign','center');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(0,0,0,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || '0';
- var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node104width,Node104height,14.66663*_ratio.ratioY,"center",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
- Node104.a('node.underlinevisible',false);
- Node104.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node104);
- zoomNodeList.push({
- node: Node104,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105type = 'rect';
- var Node105 = new ht.Node(),
- Node105BorderWidth = 1*2;
- if (Node105type === 'arc') {
- Node105BorderWidth *= 1;
- }
- Node105.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node105type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node105.setPosition(1003*ratio.ratioX, 73*ratio.ratioY);
- Node105.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node105.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node105.a('node.width', 65*_ratio.ratioX);
- Node105.a('node.height', 24.33138*_ratio.ratioY);
- Node105.a('node.type', Node105type);
- Node105.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node105.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node105.a('node.gradientcolor', '');
- Node105.a('node.gradient', '');
- Node105.a('node.borderwidth', Node105BorderWidth);
- Node105.a('node.color', 'rgba(224,224,224,1)');
- Node105.a('node.fillrect', [0,0,0,0]);
- Node105.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradient', '');
- if (Node105type !== 'rect') {
- Node105.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node105.a('node.arcTo', parseFloat('@arcTo@'));
- Node105.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node105type === 'arc') {
- Node105.a('node.arcOval', true);
- }
- Node105.setRotation(0*Math.PI/180);
- Node105.borderWidth = Node105BorderWidth;
- Node105.borderFillwidth = Node105BorderWidth;
- dataModel.add(Node105);
- Node105._nodename = 'Node105'
- Node105._nodeType = 'rect';
- zoomNodeList.push({
- node: Node105,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node105, Node105.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106type = 'rect';
- var Node106 = new ht.Node(),
- Node106BorderWidth = 1*2;
- if (Node106type === 'arc') {
- Node106BorderWidth *= 1;
- }
- Node106.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node106type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node106.setPosition(1003*ratio.ratioX, 97*ratio.ratioY);
- Node106.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node106.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node106.a('node.width', 65*_ratio.ratioX);
- Node106.a('node.height', 24.33138*_ratio.ratioY);
- Node106.a('node.type', Node106type);
- Node106.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node106.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node106.a('node.gradientcolor', '');
- Node106.a('node.gradient', '');
- Node106.a('node.borderwidth', Node106BorderWidth);
- Node106.a('node.color', 'rgba(224,224,224,1)');
- Node106.a('node.fillrect', [0,0,0,0]);
- Node106.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradient', '');
- if (Node106type !== 'rect') {
- Node106.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node106.a('node.arcTo', parseFloat('@arcTo@'));
- Node106.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node106type === 'arc') {
- Node106.a('node.arcOval', true);
- }
- Node106.setRotation(0*Math.PI/180);
- Node106.borderWidth = Node106BorderWidth;
- Node106.borderFillwidth = Node106BorderWidth;
- dataModel.add(Node106);
- Node106._nodename = 'Node106'
- Node106._nodeType = 'rect';
- zoomNodeList.push({
- node: Node106,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node106, Node106.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107type = 'rect';
- var Node107 = new ht.Node(),
- Node107BorderWidth = 1*2;
- if (Node107type === 'arc') {
- Node107BorderWidth *= 1;
- }
- Node107.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node107type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node107.setPosition(1003*ratio.ratioX, 122*ratio.ratioY);
- Node107.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node107.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node107.a('node.width', 65*_ratio.ratioX);
- Node107.a('node.height', 24.33136*_ratio.ratioY);
- Node107.a('node.type', Node107type);
- Node107.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node107.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node107.a('node.gradientcolor', '');
- Node107.a('node.gradient', '');
- Node107.a('node.borderwidth', Node107BorderWidth);
- Node107.a('node.color', 'rgba(224,224,224,1)');
- Node107.a('node.fillrect', [0,0,0,0]);
- Node107.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node107.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node107.a('node.fillgradient', '');
- if (Node107type !== 'rect') {
- Node107.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node107.a('node.arcTo', parseFloat('@arcTo@'));
- Node107.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node107type === 'arc') {
- Node107.a('node.arcOval', true);
- }
- Node107.setRotation(0*Math.PI/180);
- Node107.borderWidth = Node107BorderWidth;
- Node107.borderFillwidth = Node107BorderWidth;
- dataModel.add(Node107);
- Node107._nodename = 'Node107'
- Node107._nodeType = 'rect';
- zoomNodeList.push({
- node: Node107,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node107, Node107.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108type = 'rect';
- var Node108 = new ht.Node(),
- Node108BorderWidth = 1*2;
- if (Node108type === 'arc') {
- Node108BorderWidth *= 1;
- }
- Node108.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node108type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node108.setPosition(1003*ratio.ratioX, 146*ratio.ratioY);
- Node108.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node108.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node108.a('node.width', 65*_ratio.ratioX);
- Node108.a('node.height', 24.33138*_ratio.ratioY);
- Node108.a('node.type', Node108type);
- Node108.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node108.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node108.a('node.gradientcolor', '');
- Node108.a('node.gradient', '');
- Node108.a('node.borderwidth', Node108BorderWidth);
- Node108.a('node.color', 'rgba(224,224,224,1)');
- Node108.a('node.fillrect', [0,0,0,0]);
- Node108.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node108.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node108.a('node.fillgradient', '');
- if (Node108type !== 'rect') {
- Node108.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node108.a('node.arcTo', parseFloat('@arcTo@'));
- Node108.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node108type === 'arc') {
- Node108.a('node.arcOval', true);
- }
- Node108.setRotation(0*Math.PI/180);
- Node108.borderWidth = Node108BorderWidth;
- Node108.borderFillwidth = Node108BorderWidth;
- dataModel.add(Node108);
- Node108._nodename = 'Node108'
- Node108._nodeType = 'rect';
- zoomNodeList.push({
- node: Node108,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node108, Node108.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'center', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 59*_ratio.ratioX, Node109height = 26*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
- Node109.setPosition(1004*ratio.ratioX, 51*ratio.ratioY);
- Node109.setWidth(Node109width);
- Node109.setHeight(Node109height);
- Node109._nodeType = 'text';
- Node109._disallowEvert = true;
- Node109.setRotation(0*Math.PI/180);
- Node109.a('node.width', Node109width);
- Node109.a('node.height', Node109height);
- Node109.a('node.rect', [0, 0, Node109width, Node109height]);
- Node109.a('node.bordercolor','rgba(128,128,128,1)');
- Node109.a('node.borderwidth', 0);
- Node109.a('node.background','' || 'rgba(0,0,0,0)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','');
- Node109.a('node.text','万kWh');
- Node109.a('node.textalign','center');
- Node109.a('node.textvAlign','middle');
- Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
- Node109.a('node.color','rgba(128,128,128,1)');
- Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"');
- Node109.a('node.textvisible',true);
- Node109.a('node.linefeed',false);
- if (false) {
- Node109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node109.a('node.text') || '万kWh';
- var color=Node109.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"center",color,' '+ Node109fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node109.a('node.underlinepoints',[Node109lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
- Node109.a('node.underlinevisible',false);
- Node109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node109);
- zoomNodeList.push({
- node: Node109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'center', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 59*_ratio.ratioX, Node110height = 26*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(1004*ratio.ratioX, 75*ratio.ratioY);
- Node110.setWidth(Node110width);
- Node110.setHeight(Node110height);
- Node110._nodeType = 'text';
- Node110._disallowEvert = true;
- Node110.setRotation(0*Math.PI/180);
- Node110.a('node.width', Node110width);
- Node110.a('node.height', Node110height);
- Node110.a('node.rect', [0, 0, Node110width, Node110height]);
- Node110.a('node.bordercolor','rgba(128,128,128,1)');
- Node110.a('node.borderwidth', 0);
- Node110.a('node.background','' || 'rgba(0,0,0,0)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','');
- Node110.a('node.text','万kWh');
- Node110.a('node.textalign','center');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(128,128,128,1)');
- Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '万kWh';
- var color=Node110.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"center",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'center', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 59*_ratio.ratioX, Node111height = 26*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(1004*ratio.ratioX, 98*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(128,128,128,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','万kWh');
- Node111.a('node.textalign','center');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(128,128,128,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '万kWh';
- var color=Node111.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"center",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112 = new ht.Node();
- var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'center', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 59*_ratio.ratioX, Node112height = 26*_ratio.ratioY;
- (function () {
- if (Node112align === 'left') {
- Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
- Node112textWidth = Node112width;
- Node112lineStart = 1;
- } else if (Node112align === 'right') {
- Node112textStart = 0;
- Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
- Node112lineStart = (Node112width - (ht.Default.getTextSize('万kWh', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('万kWh', ' '+ Node112fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
- Node112.setPosition(1004*ratio.ratioX, 124*ratio.ratioY);
- Node112.setWidth(Node112width);
- Node112.setHeight(Node112height);
- Node112._nodeType = 'text';
- Node112._disallowEvert = true;
- Node112.setRotation(0*Math.PI/180);
- Node112.a('node.width', Node112width);
- Node112.a('node.height', Node112height);
- Node112.a('node.rect', [0, 0, Node112width, Node112height]);
- Node112.a('node.bordercolor','rgba(128,128,128,1)');
- Node112.a('node.borderwidth', 0);
- Node112.a('node.background','' || 'rgba(0,0,0,0)');
- Node112.a('node.gradient','');
- Node112.a('node.gradientcolor','');
- Node112.a('node.text','万kWh');
- Node112.a('node.textalign','center');
- Node112.a('node.textvAlign','middle');
- Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
- Node112.a('node.color','rgba(128,128,128,1)');
- Node112.a('node.font',' '+ Node112fontSize + 'px "Arial"');
- Node112.a('node.textvisible',true);
- Node112.a('node.linefeed',false);
- if (false) {
- Node112.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node112.a('node.text') || '万kWh';
- var color=Node112.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"center",color,' '+ Node112fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node112.a('node.underlinepoints',[Node112lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node112fontSize + 'px "Arial"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]);
- Node112.a('node.underlinevisible',false);
- Node112.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node112);
- zoomNodeList.push({
- node: Node112,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.Node();
- var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'center', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 59*_ratio.ratioX, Node113height = 26*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('万kWh', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('万kWh', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(1004*ratio.ratioX, 148*ratio.ratioY);
- Node113.setWidth(Node113width);
- Node113.setHeight(Node113height);
- Node113._nodeType = 'text';
- Node113._disallowEvert = true;
- Node113.setRotation(0*Math.PI/180);
- Node113.a('node.width', Node113width);
- Node113.a('node.height', Node113height);
- Node113.a('node.rect', [0, 0, Node113width, Node113height]);
- Node113.a('node.bordercolor','rgba(128,128,128,1)');
- Node113.a('node.borderwidth', 0);
- Node113.a('node.background','' || 'rgba(0,0,0,0)');
- Node113.a('node.gradient','');
- Node113.a('node.gradientcolor','');
- Node113.a('node.text','万kWh');
- Node113.a('node.textalign','center');
- Node113.a('node.textvAlign','middle');
- Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
- Node113.a('node.color','rgba(128,128,128,1)');
- Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
- Node113.a('node.textvisible',true);
- Node113.a('node.linefeed',false);
- if (false) {
- Node113.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node113.a('node.text') || '万kWh';
- var color=Node113.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"center",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
- Node113.a('node.underlinevisible',false);
- Node113.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node113);
- zoomNodeList.push({
- node: Node113,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(1097*ratio.ratioX, 97*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 Node115type = 'rect';
- var Node115 = new ht.Node(),
- Node115BorderWidth = 1*2;
- if (Node115type === 'arc') {
- Node115BorderWidth *= 1;
- }
- Node115.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node115.setPosition(1097*ratio.ratioX, 73*ratio.ratioY);
- Node115.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node115.a('node.width', 117*_ratio.ratioX);
- Node115.a('node.height', 24.33138*_ratio.ratioY);
- Node115.a('node.type', Node115type);
- Node115.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node115.a('node.background', 'rgba(240,240,240,1)');
- Node115.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node115.a('node.gradient', '');
- Node115.a('node.borderwidth', Node115BorderWidth);
- Node115.a('node.color', 'rgba(224,224,224,1)');
- Node115.a('node.fillrect', [0,0,0,0]);
- Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradient', '');
- if (Node115type !== 'rect') {
- Node115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node115.a('node.arcTo', parseFloat('@arcTo@'));
- Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node115type === 'arc') {
- Node115.a('node.arcOval', true);
- }
- Node115.setRotation(0*Math.PI/180);
- Node115.borderWidth = Node115BorderWidth;
- Node115.borderFillwidth = Node115BorderWidth;
- dataModel.add(Node115);
- Node115._nodename = 'Node115'
- Node115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116type = 'rect';
- var Node116 = new ht.Node(),
- Node116BorderWidth = 1*2;
- if (Node116type === 'arc') {
- Node116BorderWidth *= 1;
- }
- Node116.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node116.setPosition(1097*ratio.ratioX, 122*ratio.ratioY);
- Node116.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node116.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node116.a('node.width', 117*_ratio.ratioX);
- Node116.a('node.height', 24.33136*_ratio.ratioY);
- Node116.a('node.type', Node116type);
- Node116.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node116.a('node.background', 'rgba(240,240,240,1)');
- Node116.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node116.a('node.gradient', '');
- Node116.a('node.borderwidth', Node116BorderWidth);
- Node116.a('node.color', 'rgba(224,224,224,1)');
- Node116.a('node.fillrect', [0,0,0,0]);
- Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradient', '');
- if (Node116type !== 'rect') {
- Node116.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node116.a('node.arcTo', parseFloat('@arcTo@'));
- Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node116type === 'arc') {
- Node116.a('node.arcOval', true);
- }
- Node116.setRotation(0*Math.PI/180);
- Node116.borderWidth = Node116BorderWidth;
- Node116.borderFillwidth = Node116BorderWidth;
- dataModel.add(Node116);
- Node116._nodename = 'Node116'
- Node116._nodeType = 'rect';
- zoomNodeList.push({
- node: Node116,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117type = 'rect';
- var Node117 = new ht.Node(),
- Node117BorderWidth = 1*2;
- if (Node117type === 'arc') {
- Node117BorderWidth *= 1;
- }
- Node117.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node117type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node117.setPosition(1097*ratio.ratioX, 49*ratio.ratioY);
- Node117.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node117.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node117.a('node.width', 117*_ratio.ratioX);
- Node117.a('node.height', 24.33136*_ratio.ratioY);
- Node117.a('node.type', Node117type);
- Node117.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node117.a('node.background', 'rgba(240,240,240,1)');
- Node117.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node117.a('node.gradient', '');
- Node117.a('node.borderwidth', Node117BorderWidth);
- Node117.a('node.color', 'rgba(224,224,224,1)');
- Node117.a('node.fillrect', [0,0,0,0]);
- Node117.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradient', '');
- if (Node117type !== 'rect') {
- Node117.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node117.a('node.arcTo', parseFloat('@arcTo@'));
- Node117.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node117type === 'arc') {
- Node117.a('node.arcOval', true);
- }
- Node117.setRotation(0*Math.PI/180);
- Node117.borderWidth = Node117BorderWidth;
- Node117.borderFillwidth = Node117BorderWidth;
- dataModel.add(Node117);
- Node117._nodename = 'Node117'
- Node117._nodeType = 'rect';
- zoomNodeList.push({
- node: Node117,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node117, Node117.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118type = 'rect';
- var Node118 = new ht.Node(),
- Node118BorderWidth = 1*2;
- if (Node118type === 'arc') {
- Node118BorderWidth *= 1;
- }
- Node118.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node118type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node118.setPosition(1097*ratio.ratioX, 146*ratio.ratioY);
- Node118.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node118.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node118.a('node.width', 117*_ratio.ratioX);
- Node118.a('node.height', 24.33138*_ratio.ratioY);
- Node118.a('node.type', Node118type);
- Node118.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node118.a('node.background', 'rgba(240,240,240,1)');
- Node118.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node118.a('node.gradient', '');
- Node118.a('node.borderwidth', Node118BorderWidth);
- Node118.a('node.color', 'rgba(224,224,224,1)');
- Node118.a('node.fillrect', [0,0,0,0]);
- Node118.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node118.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node118.a('node.fillgradient', '');
- if (Node118type !== 'rect') {
- Node118.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node118.a('node.arcTo', parseFloat('@arcTo@'));
- Node118.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node118type === 'arc') {
- Node118.a('node.arcOval', true);
- }
- Node118.setRotation(0*Math.PI/180);
- Node118.borderWidth = Node118BorderWidth;
- Node118.borderFillwidth = Node118BorderWidth;
- dataModel.add(Node118);
- Node118._nodename = 'Node118'
- Node118._nodeType = 'rect';
- zoomNodeList.push({
- node: Node118,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node118, Node118.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119 = new ht.Node();
- var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'center', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 110*_ratio.ratioX, Node119height = 26*_ratio.ratioY;
- (function () {
- if (Node119align === 'left') {
- Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9;
- Node119textWidth = Node119width;
- Node119lineStart = 1;
- } else if (Node119align === 'right') {
- Node119textStart = 0;
- Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2;
- Node119lineStart = (Node119width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('年维护损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "微软雅黑"'))
- Node119.setPosition(1097*ratio.ratioX, 51*ratio.ratioY);
- Node119.setWidth(Node119width);
- Node119.setHeight(Node119height);
- Node119._nodeType = 'text';
- Node119._disallowEvert = true;
- Node119.setRotation(0*Math.PI/180);
- Node119.a('node.width', Node119width);
- Node119.a('node.height', Node119height);
- Node119.a('node.rect', [0, 0, Node119width, Node119height]);
- Node119.a('node.bordercolor','rgba(0,0,0,1)');
- Node119.a('node.borderwidth', 0);
- Node119.a('node.background','' || 'rgba(0,0,0,0)');
- Node119.a('node.gradient','');
- Node119.a('node.gradientcolor','');
- Node119.a('node.text','年维护损失电量');
- Node119.a('node.textalign','center');
- Node119.a('node.textvAlign','middle');
- Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]);
- Node119.a('node.color','rgba(0,0,0,1)');
- Node119.a('node.font',' '+ Node119fontSize + 'px "微软雅黑"');
- Node119.a('node.textvisible',true);
- Node119.a('node.linefeed',false);
- if (false) {
- Node119.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node119.a('node.text') || '年维护损失电量';
- var color=Node119.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"center",color,' '+ Node119fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node119fontSize + 'px "微软雅黑"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]);
- Node119.a('node.underlinevisible',false);
- Node119.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node119);
- zoomNodeList.push({
- node: Node119,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.Node();
- var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'center', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 110*_ratio.ratioX, Node120height = 26*_ratio.ratioY;
- (function () {
- if (Node120align === 'left') {
- Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9;
- Node120textWidth = Node120width;
- Node120lineStart = 1;
- } else if (Node120align === 'right') {
- Node120textStart = 0;
- Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2;
- Node120lineStart = (Node120width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('年故障损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "微软雅黑"'))
- Node120.setPosition(1097*ratio.ratioX, 74*ratio.ratioY);
- Node120.setWidth(Node120width);
- Node120.setHeight(Node120height);
- Node120._nodeType = 'text';
- Node120._disallowEvert = true;
- Node120.setRotation(0*Math.PI/180);
- Node120.a('node.width', Node120width);
- Node120.a('node.height', Node120height);
- Node120.a('node.rect', [0, 0, Node120width, Node120height]);
- Node120.a('node.bordercolor','rgba(0,0,0,1)');
- Node120.a('node.borderwidth', 0);
- Node120.a('node.background','' || 'rgba(0,0,0,0)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','');
- Node120.a('node.text','年故障损失电量');
- Node120.a('node.textalign','center');
- Node120.a('node.textvAlign','middle');
- Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
- Node120.a('node.color','rgba(0,0,0,1)');
- Node120.a('node.font',' '+ Node120fontSize + 'px "微软雅黑"');
- Node120.a('node.textvisible',true);
- Node120.a('node.linefeed',false);
- if (false) {
- Node120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node120.a('node.text') || '年故障损失电量';
- var color=Node120.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"center",color,' '+ Node120fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node120fontSize + 'px "微软雅黑"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121 = new ht.Node();
- var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'center', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 110*_ratio.ratioX, Node121height = 26*_ratio.ratioY;
- (function () {
- if (Node121align === 'left') {
- Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
- Node121textWidth = Node121width;
- Node121lineStart = 1;
- } else if (Node121align === 'right') {
- Node121textStart = 0;
- Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
- Node121lineStart = (Node121width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node121fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('年限电损失电量', ' '+ Node121fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "微软雅黑"'))
- Node121.setPosition(1097*ratio.ratioX, 99*ratio.ratioY);
- Node121.setWidth(Node121width);
- Node121.setHeight(Node121height);
- Node121._nodeType = 'text';
- Node121._disallowEvert = true;
- Node121.setRotation(0*Math.PI/180);
- Node121.a('node.width', Node121width);
- Node121.a('node.height', Node121height);
- Node121.a('node.rect', [0, 0, Node121width, Node121height]);
- Node121.a('node.bordercolor','rgba(0,0,0,1)');
- Node121.a('node.borderwidth', 0);
- Node121.a('node.background','' || 'rgba(0,0,0,0)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','');
- Node121.a('node.text','年限电损失电量');
- Node121.a('node.textalign','center');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(0,0,0,1)');
- Node121.a('node.font',' '+ Node121fontSize + 'px "微软雅黑"');
- Node121.a('node.textvisible',true);
- Node121.a('node.linefeed',false);
- if (false) {
- Node121.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node121.a('node.text') || '年限电损失电量';
- var color=Node121.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"center",color,' '+ Node121fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node121fontSize + 'px "微软雅黑"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]);
- Node121.a('node.underlinevisible',false);
- Node121.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node121);
- zoomNodeList.push({
- node: Node121,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node122 = new ht.Node();
- var Node122textStart, Node122textWidth, Node122lineStart, Node122align = 'center', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 110*_ratio.ratioX, Node122height = 26*_ratio.ratioY;
- (function () {
- if (Node122align === 'left') {
- Node122textStart = Node122fontSize * 0.2 > 2 ? Node122fontSize * 0.2 - 4 : Node122fontSize * 0.2 - 9;
- Node122textWidth = Node122width;
- Node122lineStart = 1;
- } else if (Node122align === 'right') {
- Node122textStart = 0;
- Node122textWidth =Node122fontSize <= 8 ? Node122width + Node122fontSize * 0.2 + 6 : Node122width - Node122fontSize * 0.2;
- Node122lineStart = (Node122width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node122fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node122align === 'center') {
- Node122textStart = -3;
- Node122textWidth = Node122width;
- Node122lineStart = Node122width - ht.Default.getTextSize('年受累损失电量', ' '+ Node122fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, ' '+ Node122fontSize + 'px "微软雅黑"'))
- Node122.setPosition(1097*ratio.ratioX, 124*ratio.ratioY);
- Node122.setWidth(Node122width);
- Node122.setHeight(Node122height);
- Node122._nodeType = 'text';
- Node122._disallowEvert = true;
- Node122.setRotation(0*Math.PI/180);
- Node122.a('node.width', Node122width);
- Node122.a('node.height', Node122height);
- Node122.a('node.rect', [0, 0, Node122width, Node122height]);
- Node122.a('node.bordercolor','rgba(0,0,0,1)');
- Node122.a('node.borderwidth', 0);
- Node122.a('node.background','' || 'rgba(0,0,0,0)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','');
- Node122.a('node.text','年受累损失电量');
- Node122.a('node.textalign','center');
- Node122.a('node.textvAlign','middle');
- Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]);
- Node122.a('node.color','rgba(0,0,0,1)');
- Node122.a('node.font',' '+ Node122fontSize + 'px "微软雅黑"');
- Node122.a('node.textvisible',true);
- Node122.a('node.linefeed',false);
- if (false) {
- Node122.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node122.a('node.text') || '年受累损失电量';
- var color=Node122.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"center",color,' '+ Node122fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node122.a('node.underlinepoints',[Node122lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node122fontSize + 'px "微软雅黑"').width + 6, (Node122height - Node122fontSize) * 0.5*_ratio.ratioY + Node122fontSize + 2 ]);
- Node122.a('node.underlinevisible',false);
- Node122.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node122);
- zoomNodeList.push({
- node: Node122,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123type = 'rect';
- var Node123 = new ht.Node(),
- Node123BorderWidth = 1*2;
- if (Node123type === 'arc') {
- Node123BorderWidth *= 1;
- }
- Node123.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node123.setPosition(1203*ratio.ratioX, 49*ratio.ratioY);
- Node123.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node123.a('node.width', 95*_ratio.ratioX);
- Node123.a('node.height', 24.33136*_ratio.ratioY);
- Node123.a('node.type', Node123type);
- Node123.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node123.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node123.a('node.gradientcolor', '');
- Node123.a('node.gradient', '');
- Node123.a('node.borderwidth', Node123BorderWidth);
- Node123.a('node.color', 'rgba(224,224,224,1)');
- Node123.a('node.fillrect', [0,0,0,0]);
- Node123.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradient', '');
- if (Node123type !== 'rect') {
- Node123.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node123.a('node.arcTo', parseFloat('@arcTo@'));
- Node123.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node123type === 'arc') {
- Node123.a('node.arcOval', true);
- }
- Node123.setRotation(0*Math.PI/180);
- Node123.borderWidth = Node123BorderWidth;
- Node123.borderFillwidth = Node123BorderWidth;
- dataModel.add(Node123);
- Node123._nodename = 'Node123'
- Node123._nodeType = 'rect';
- zoomNodeList.push({
- node: Node123,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node123, Node123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124type = 'rect';
- var Node124 = new ht.Node(),
- Node124BorderWidth = 1*2;
- if (Node124type === 'arc') {
- Node124BorderWidth *= 1;
- }
- Node124.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node124.setPosition(1203*ratio.ratioX, 73*ratio.ratioY);
- Node124.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node124.a('node.width', 95*_ratio.ratioX);
- Node124.a('node.height', 24.33138*_ratio.ratioY);
- Node124.a('node.type', Node124type);
- Node124.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node124.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node124.a('node.gradientcolor', '');
- Node124.a('node.gradient', '');
- Node124.a('node.borderwidth', Node124BorderWidth);
- Node124.a('node.color', 'rgba(224,224,224,1)');
- Node124.a('node.fillrect', [0,0,0,0]);
- Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradient', '');
- if (Node124type !== 'rect') {
- Node124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node124.a('node.arcTo', parseFloat('@arcTo@'));
- Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node124type === 'arc') {
- Node124.a('node.arcOval', true);
- }
- Node124.setRotation(0*Math.PI/180);
- Node124.borderWidth = Node124BorderWidth;
- Node124.borderFillwidth = Node124BorderWidth;
- dataModel.add(Node124);
- Node124._nodename = 'Node124'
- Node124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125type = 'rect';
- var Node125 = new ht.Node(),
- Node125BorderWidth = 1*2;
- if (Node125type === 'arc') {
- Node125BorderWidth *= 1;
- }
- Node125.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node125type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node125.setPosition(1203*ratio.ratioX, 97*ratio.ratioY);
- Node125.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node125.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node125.a('node.width', 95*_ratio.ratioX);
- Node125.a('node.height', 24.33138*_ratio.ratioY);
- Node125.a('node.type', Node125type);
- Node125.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node125.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node125.a('node.gradientcolor', '');
- Node125.a('node.gradient', '');
- Node125.a('node.borderwidth', Node125BorderWidth);
- Node125.a('node.color', 'rgba(224,224,224,1)');
- Node125.a('node.fillrect', [0,0,0,0]);
- Node125.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradient', '');
- if (Node125type !== 'rect') {
- Node125.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node125.a('node.arcTo', parseFloat('@arcTo@'));
- Node125.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node125type === 'arc') {
- Node125.a('node.arcOval', true);
- }
- Node125.setRotation(0*Math.PI/180);
- Node125.borderWidth = Node125BorderWidth;
- Node125.borderFillwidth = Node125BorderWidth;
- dataModel.add(Node125);
- Node125._nodename = 'Node125'
- Node125._nodeType = 'rect';
- zoomNodeList.push({
- node: Node125,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node125, Node125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126type = 'rect';
- var Node126 = new ht.Node(),
- Node126BorderWidth = 1*2;
- if (Node126type === 'arc') {
- Node126BorderWidth *= 1;
- }
- Node126.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node126type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node126.setPosition(1203*ratio.ratioX, 122*ratio.ratioY);
- Node126.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node126.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node126.a('node.width', 95*_ratio.ratioX);
- Node126.a('node.height', 24.33136*_ratio.ratioY);
- Node126.a('node.type', Node126type);
- Node126.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node126.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node126.a('node.gradientcolor', '');
- Node126.a('node.gradient', '');
- Node126.a('node.borderwidth', Node126BorderWidth);
- Node126.a('node.color', 'rgba(224,224,224,1)');
- Node126.a('node.fillrect', [0,0,0,0]);
- Node126.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradient', '');
- if (Node126type !== 'rect') {
- Node126.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node126.a('node.arcTo', parseFloat('@arcTo@'));
- Node126.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node126type === 'arc') {
- Node126.a('node.arcOval', true);
- }
- Node126.setRotation(0*Math.PI/180);
- Node126.borderWidth = Node126BorderWidth;
- Node126.borderFillwidth = Node126BorderWidth;
- dataModel.add(Node126);
- Node126._nodename = 'Node126'
- Node126._nodeType = 'rect';
- zoomNodeList.push({
- node: Node126,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node126, Node126.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127type = 'rect';
- var Node127 = new ht.Node(),
- Node127BorderWidth = 1*2;
- if (Node127type === 'arc') {
- Node127BorderWidth *= 1;
- }
- Node127.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node127type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node127.setPosition(1203*ratio.ratioX, 146*ratio.ratioY);
- Node127.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node127.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node127.a('node.width', 95*_ratio.ratioX);
- Node127.a('node.height', 24.33138*_ratio.ratioY);
- Node127.a('node.type', Node127type);
- Node127.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node127.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node127.a('node.gradientcolor', '');
- Node127.a('node.gradient', '');
- Node127.a('node.borderwidth', Node127BorderWidth);
- Node127.a('node.color', 'rgba(224,224,224,1)');
- Node127.a('node.fillrect', [0,0,0,0]);
- Node127.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradient', '');
- if (Node127type !== 'rect') {
- Node127.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node127.a('node.arcTo', parseFloat('@arcTo@'));
- Node127.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node127type === 'arc') {
- Node127.a('node.arcOval', true);
- }
- Node127.setRotation(0*Math.PI/180);
- Node127.borderWidth = Node127BorderWidth;
- Node127.borderFillwidth = Node127BorderWidth;
- dataModel.add(Node127);
- Node127._nodename = 'Node127'
- Node127._nodeType = 'rect';
- zoomNodeList.push({
- node: Node127,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node127, Node127.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128type = 'rect';
- var Node128 = new ht.Node(),
- Node128BorderWidth = 1*2;
- if (Node128type === 'arc') {
- Node128BorderWidth *= 1;
- }
- Node128.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node128type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node128.setPosition(1283*ratio.ratioX, 49*ratio.ratioY);
- Node128.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node128.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node128.a('node.width', 65*_ratio.ratioX);
- Node128.a('node.height', 24.33136*_ratio.ratioY);
- Node128.a('node.type', Node128type);
- Node128.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node128.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node128.a('node.gradientcolor', '');
- Node128.a('node.gradient', '');
- Node128.a('node.borderwidth', Node128BorderWidth);
- Node128.a('node.color', 'rgba(224,224,224,1)');
- Node128.a('node.fillrect', [0,0,0,0]);
- Node128.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node128.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node128.a('node.fillgradient', '');
- if (Node128type !== 'rect') {
- Node128.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node128.a('node.arcTo', parseFloat('@arcTo@'));
- Node128.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node128type === 'arc') {
- Node128.a('node.arcOval', true);
- }
- Node128.setRotation(0*Math.PI/180);
- Node128.borderWidth = Node128BorderWidth;
- Node128.borderFillwidth = Node128BorderWidth;
- dataModel.add(Node128);
- Node128._nodename = 'Node128'
- Node128._nodeType = 'rect';
- zoomNodeList.push({
- node: Node128,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node128, Node128.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(1203*ratio.ratioX, 51*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 Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'center', Node130fontSize = 14.66663*_ratio.ratioY,Node130width = 59*_ratio.ratioX, Node130height = 26*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(1203*ratio.ratioX, 75*ratio.ratioY);
- Node130.setWidth(Node130width);
- Node130.setHeight(Node130height);
- Node130._nodeType = 'text';
- Node130._disallowEvert = true;
- Node130.setRotation(0*Math.PI/180);
- Node130.a('node.width', Node130width);
- Node130.a('node.height', Node130height);
- Node130.a('node.rect', [0, 0, Node130width, Node130height]);
- Node130.a('node.bordercolor','rgba(0,0,0,1)');
- Node130.a('node.borderwidth', 0);
- Node130.a('node.background','' || 'rgba(0,0,0,0)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','');
- Node130.a('node.text','0');
- Node130.a('node.textalign','center');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(0,0,0,1)');
- Node130.a('node.font',' '+ Node130fontSize + 'px "Arial"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || '0';
- var color=Node130.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node130width,Node130height,14.66663*_ratio.ratioY,"center",color,' '+ Node130fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'center', Node131fontSize = 14.66663*_ratio.ratioY,Node131width = 59*_ratio.ratioX, Node131height = 26*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"'))
- Node131.setPosition(1203*ratio.ratioX, 100*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(0,0,0,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','0');
- Node131.a('node.textalign','center');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(0,0,0,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '0';
- var color=Node131.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node131width,Node131height,14.66663*_ratio.ratioY,"center",color,' '+ Node131fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132 = new ht.Node();
- var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'center', Node132fontSize = 14.66663*_ratio.ratioY,Node132width = 59*_ratio.ratioX, Node132height = 26*_ratio.ratioY;
- (function () {
- if (Node132align === 'left') {
- Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9;
- Node132textWidth = Node132width;
- Node132lineStart = 1;
- } else if (Node132align === 'right') {
- Node132textStart = 0;
- Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2;
- Node132lineStart = (Node132width - (ht.Default.getTextSize('0', ' '+ Node132fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132align === 'center') {
- Node132textStart = -3;
- Node132textWidth = Node132width;
- Node132lineStart = Node132width - ht.Default.getTextSize('0', ' '+ Node132fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, ' '+ Node132fontSize + 'px "Arial"'))
- Node132.setPosition(1203*ratio.ratioX, 123*ratio.ratioY);
- Node132.setWidth(Node132width);
- Node132.setHeight(Node132height);
- Node132._nodeType = 'text';
- Node132._disallowEvert = true;
- Node132.setRotation(0*Math.PI/180);
- Node132.a('node.width', Node132width);
- Node132.a('node.height', Node132height);
- Node132.a('node.rect', [0, 0, Node132width, Node132height]);
- Node132.a('node.bordercolor','rgba(0,0,0,1)');
- Node132.a('node.borderwidth', 0);
- Node132.a('node.background','' || 'rgba(0,0,0,0)');
- Node132.a('node.gradient','');
- Node132.a('node.gradientcolor','');
- Node132.a('node.text','0');
- Node132.a('node.textalign','center');
- Node132.a('node.textvAlign','middle');
- Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]);
- Node132.a('node.color','rgba(0,0,0,1)');
- Node132.a('node.font',' '+ Node132fontSize + 'px "Arial"');
- Node132.a('node.textvisible',true);
- Node132.a('node.linefeed',false);
- if (false) {
- Node132.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132.a('node.text') || '0';
- var color=Node132.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node132width,Node132height,14.66663*_ratio.ratioY,"center",color,' '+ Node132fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node132.a('node.underlinepoints',[Node132lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node132fontSize + 'px "Arial"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]);
- Node132.a('node.underlinevisible',false);
- Node132.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132);
- zoomNodeList.push({
- node: Node132,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133 = new ht.Node();
- var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'center', Node133fontSize = 14.66663*_ratio.ratioY,Node133width = 59*_ratio.ratioX, Node133height = 26*_ratio.ratioY;
- (function () {
- if (Node133align === 'left') {
- Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9;
- Node133textWidth = Node133width;
- Node133lineStart = 1;
- } else if (Node133align === 'right') {
- Node133textStart = 0;
- Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2;
- Node133lineStart = (Node133width - (ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node133align === 'center') {
- Node133textStart = -3;
- Node133textWidth = Node133width;
- Node133lineStart = Node133width - ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"'))
- Node133.setPosition(1203*ratio.ratioX, 147*ratio.ratioY);
- Node133.setWidth(Node133width);
- Node133.setHeight(Node133height);
- Node133._nodeType = 'text';
- Node133._disallowEvert = true;
- Node133.setRotation(0*Math.PI/180);
- Node133.a('node.width', Node133width);
- Node133.a('node.height', Node133height);
- Node133.a('node.rect', [0, 0, Node133width, Node133height]);
- Node133.a('node.bordercolor','rgba(0,0,0,1)');
- Node133.a('node.borderwidth', 0);
- Node133.a('node.background','' || 'rgba(0,0,0,0)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','');
- Node133.a('node.text','0');
- Node133.a('node.textalign','center');
- Node133.a('node.textvAlign','middle');
- Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]);
- Node133.a('node.color','rgba(0,0,0,1)');
- Node133.a('node.font',' '+ Node133fontSize + 'px "Arial"');
- Node133.a('node.textvisible',true);
- Node133.a('node.linefeed',false);
- if (false) {
- Node133.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node133.a('node.text') || '0';
- var color=Node133.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node133width,Node133height,14.66663*_ratio.ratioY,"center",color,' '+ Node133fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node133.a('node.underlinepoints',[Node133lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "Arial"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
- Node133.a('node.underlinevisible',false);
- Node133.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node133);
- zoomNodeList.push({
- node: Node133,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134type = 'rect';
- var Node134 = new ht.Node(),
- Node134BorderWidth = 1*2;
- if (Node134type === 'arc') {
- Node134BorderWidth *= 1;
- }
- Node134.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node134type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node134.setPosition(1283*ratio.ratioX, 73*ratio.ratioY);
- Node134.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node134.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node134.a('node.width', 65*_ratio.ratioX);
- Node134.a('node.height', 24.33138*_ratio.ratioY);
- Node134.a('node.type', Node134type);
- Node134.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node134.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node134.a('node.gradientcolor', '');
- Node134.a('node.gradient', '');
- Node134.a('node.borderwidth', Node134BorderWidth);
- Node134.a('node.color', 'rgba(224,224,224,1)');
- Node134.a('node.fillrect', [0,0,0,0]);
- Node134.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradient', '');
- if (Node134type !== 'rect') {
- Node134.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node134.a('node.arcTo', parseFloat('@arcTo@'));
- Node134.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node134type === 'arc') {
- Node134.a('node.arcOval', true);
- }
- Node134.setRotation(0*Math.PI/180);
- Node134.borderWidth = Node134BorderWidth;
- Node134.borderFillwidth = Node134BorderWidth;
- dataModel.add(Node134);
- Node134._nodename = 'Node134'
- Node134._nodeType = 'rect';
- zoomNodeList.push({
- node: Node134,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node134, Node134.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135type = 'rect';
- var Node135 = new ht.Node(),
- Node135BorderWidth = 1*2;
- if (Node135type === 'arc') {
- Node135BorderWidth *= 1;
- }
- Node135.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node135type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node135.setPosition(1283*ratio.ratioX, 97*ratio.ratioY);
- Node135.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node135.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node135.a('node.width', 65*_ratio.ratioX);
- Node135.a('node.height', 24.33138*_ratio.ratioY);
- Node135.a('node.type', Node135type);
- Node135.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node135.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node135.a('node.gradientcolor', '');
- Node135.a('node.gradient', '');
- Node135.a('node.borderwidth', Node135BorderWidth);
- Node135.a('node.color', 'rgba(224,224,224,1)');
- Node135.a('node.fillrect', [0,0,0,0]);
- Node135.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradient', '');
- if (Node135type !== 'rect') {
- Node135.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node135.a('node.arcTo', parseFloat('@arcTo@'));
- Node135.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node135type === 'arc') {
- Node135.a('node.arcOval', true);
- }
- Node135.setRotation(0*Math.PI/180);
- Node135.borderWidth = Node135BorderWidth;
- Node135.borderFillwidth = Node135BorderWidth;
- dataModel.add(Node135);
- Node135._nodename = 'Node135'
- Node135._nodeType = 'rect';
- zoomNodeList.push({
- node: Node135,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node135, Node135.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136type = 'rect';
- var Node136 = new ht.Node(),
- Node136BorderWidth = 1*2;
- if (Node136type === 'arc') {
- Node136BorderWidth *= 1;
- }
- Node136.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node136type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node136.setPosition(1283*ratio.ratioX, 122*ratio.ratioY);
- Node136.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node136.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node136.a('node.width', 65*_ratio.ratioX);
- Node136.a('node.height', 24.33136*_ratio.ratioY);
- Node136.a('node.type', Node136type);
- Node136.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node136.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node136.a('node.gradientcolor', '');
- Node136.a('node.gradient', '');
- Node136.a('node.borderwidth', Node136BorderWidth);
- Node136.a('node.color', 'rgba(224,224,224,1)');
- Node136.a('node.fillrect', [0,0,0,0]);
- Node136.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node136.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node136.a('node.fillgradient', '');
- if (Node136type !== 'rect') {
- Node136.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node136.a('node.arcTo', parseFloat('@arcTo@'));
- Node136.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node136type === 'arc') {
- Node136.a('node.arcOval', true);
- }
- Node136.setRotation(0*Math.PI/180);
- Node136.borderWidth = Node136BorderWidth;
- Node136.borderFillwidth = Node136BorderWidth;
- dataModel.add(Node136);
- Node136._nodename = 'Node136'
- Node136._nodeType = 'rect';
- zoomNodeList.push({
- node: Node136,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node136, Node136.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137type = 'rect';
- var Node137 = new ht.Node(),
- Node137BorderWidth = 1*2;
- if (Node137type === 'arc') {
- Node137BorderWidth *= 1;
- }
- Node137.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node137type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node137.setPosition(1283*ratio.ratioX, 146*ratio.ratioY);
- Node137.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node137.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node137.a('node.width', 65*_ratio.ratioX);
- Node137.a('node.height', 24.33138*_ratio.ratioY);
- Node137.a('node.type', Node137type);
- Node137.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node137.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node137.a('node.gradientcolor', '');
- Node137.a('node.gradient', '');
- Node137.a('node.borderwidth', Node137BorderWidth);
- Node137.a('node.color', 'rgba(224,224,224,1)');
- Node137.a('node.fillrect', [0,0,0,0]);
- Node137.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node137.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node137.a('node.fillgradient', '');
- if (Node137type !== 'rect') {
- Node137.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node137.a('node.arcTo', parseFloat('@arcTo@'));
- Node137.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node137type === 'arc') {
- Node137.a('node.arcOval', true);
- }
- Node137.setRotation(0*Math.PI/180);
- Node137.borderWidth = Node137BorderWidth;
- Node137.borderFillwidth = Node137BorderWidth;
- dataModel.add(Node137);
- Node137._nodename = 'Node137'
- Node137._nodeType = 'rect';
- zoomNodeList.push({
- node: Node137,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node137, Node137.getImage());_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(1284*ratio.ratioX, 51*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 = 'center', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 59*_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('万kWh', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(1284*ratio.ratioX, 75*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(128,128,128,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','万kWh');
- Node139.a('node.textalign','center');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(128,128,128,1)');
- Node139.a('node.font',' '+ Node139fontSize + 'px "Arial"');
- Node139.a('node.textvisible',true);
- Node139.a('node.linefeed',false);
- if (false) {
- Node139.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139.a('node.text') || '万kWh';
- var color=Node139.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"center",color,' '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]);
- Node139.a('node.underlinevisible',false);
- Node139.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139);
- zoomNodeList.push({
- node: Node139,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140 = new ht.Node();
- var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'center', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 59*_ratio.ratioX, Node140height = 26*_ratio.ratioY;
- (function () {
- if (Node140align === 'left') {
- Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
- Node140textWidth = Node140width;
- Node140lineStart = 1;
- } else if (Node140align === 'right') {
- Node140textStart = 0;
- Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
- Node140lineStart = (Node140width - (ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(1284*ratio.ratioX, 98*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(128,128,128,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','万kWh');
- Node140.a('node.textalign','center');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(128,128,128,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || '万kWh';
- var color=Node140.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"center",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
- Node140.a('node.underlinevisible',false);
- Node140.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node140);
- zoomNodeList.push({
- node: Node140,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141 = new ht.Node();
- var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'center', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 59*_ratio.ratioX, Node141height = 26*_ratio.ratioY;
- (function () {
- if (Node141align === 'left') {
- Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9;
- Node141textWidth = Node141width;
- Node141lineStart = 1;
- } else if (Node141align === 'right') {
- Node141textStart = 0;
- Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2;
- Node141lineStart = (Node141width - (ht.Default.getTextSize('万kWh', ' '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('万kWh', ' '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(1284*ratio.ratioX, 124*ratio.ratioY);
- Node141.setWidth(Node141width);
- Node141.setHeight(Node141height);
- Node141._nodeType = 'text';
- Node141._disallowEvert = true;
- Node141.setRotation(0*Math.PI/180);
- Node141.a('node.width', Node141width);
- Node141.a('node.height', Node141height);
- Node141.a('node.rect', [0, 0, Node141width, Node141height]);
- Node141.a('node.bordercolor','rgba(128,128,128,1)');
- Node141.a('node.borderwidth', 0);
- Node141.a('node.background','' || 'rgba(0,0,0,0)');
- Node141.a('node.gradient','');
- Node141.a('node.gradientcolor','');
- Node141.a('node.text','万kWh');
- Node141.a('node.textalign','center');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(128,128,128,1)');
- Node141.a('node.font',' '+ Node141fontSize + 'px "Arial"');
- Node141.a('node.textvisible',true);
- Node141.a('node.linefeed',false);
- if (false) {
- Node141.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node141.a('node.text') || '万kWh';
- var color=Node141.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"center",color,' '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node141fontSize + 'px "Arial"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]);
- Node141.a('node.underlinevisible',false);
- Node141.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node141);
- zoomNodeList.push({
- node: Node141,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node142 = new ht.Node();
- var Node142textStart, Node142textWidth, Node142lineStart, Node142align = 'center', Node142fontSize = 13.3333*_ratio.ratioY,Node142width = 59*_ratio.ratioX, Node142height = 26*_ratio.ratioY;
- (function () {
- if (Node142align === 'left') {
- Node142textStart = Node142fontSize * 0.2 > 2 ? Node142fontSize * 0.2 - 4 : Node142fontSize * 0.2 - 9;
- Node142textWidth = Node142width;
- Node142lineStart = 1;
- } else if (Node142align === 'right') {
- Node142textStart = 0;
- Node142textWidth =Node142fontSize <= 8 ? Node142width + Node142fontSize * 0.2 + 6 : Node142width - Node142fontSize * 0.2;
- Node142lineStart = (Node142width - (ht.Default.getTextSize('万kWh', ' '+ Node142fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node142align === 'center') {
- Node142textStart = -3;
- Node142textWidth = Node142width;
- Node142lineStart = Node142width - ht.Default.getTextSize('万kWh', ' '+ Node142fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node142.setImage(GD.getTextJSON(Node142width, Node142height, true, false, false, ' '+ Node142fontSize + 'px "Arial"'))
- Node142.setPosition(1284*ratio.ratioX, 148*ratio.ratioY);
- Node142.setWidth(Node142width);
- Node142.setHeight(Node142height);
- Node142._nodeType = 'text';
- Node142._disallowEvert = true;
- Node142.setRotation(0*Math.PI/180);
- Node142.a('node.width', Node142width);
- Node142.a('node.height', Node142height);
- Node142.a('node.rect', [0, 0, Node142width, Node142height]);
- Node142.a('node.bordercolor','rgba(128,128,128,1)');
- Node142.a('node.borderwidth', 0);
- Node142.a('node.background','' || 'rgba(0,0,0,0)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','');
- Node142.a('node.text','万kWh');
- Node142.a('node.textalign','center');
- Node142.a('node.textvAlign','middle');
- Node142.a('node.textrect', [Node142textStart, 0, Node142textWidth, Node142height]);
- Node142.a('node.color','rgba(128,128,128,1)');
- Node142.a('node.font',' '+ Node142fontSize + 'px "Arial"');
- Node142.a('node.textvisible',true);
- Node142.a('node.linefeed',false);
- if (false) {
- Node142.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node142.a('node.text') || '万kWh';
- var color=Node142.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node142width,Node142height,13.3333*_ratio.ratioY,"center",color,' '+ Node142fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node142.a('node.underlinepoints',[Node142lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node142fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node142fontSize + 'px "Arial"').width + 6, (Node142height - Node142fontSize) * 0.5*_ratio.ratioY + Node142fontSize + 2 ]);
- Node142.a('node.underlinevisible',false);
- Node142.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node142);
- zoomNodeList.push({
- node: Node142,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143 = new ht.Node();
- var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'left', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 67*_ratio.ratioX, Node143height = 26*_ratio.ratioY;
- (function () {
- if (Node143align === 'left') {
- Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
- Node143textWidth = Node143width;
- Node143lineStart = 1;
- } else if (Node143align === 'right') {
- Node143textStart = 0;
- Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
- Node143lineStart = (Node143width - (ht.Default.getTextSize('装机容量', ' '+ Node143fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node143align === 'center') {
- Node143textStart = -3;
- Node143textWidth = Node143width;
- Node143lineStart = Node143width - ht.Default.getTextSize('装机容量', ' '+ Node143fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "微软雅黑"'))
- Node143.setPosition(229*ratio.ratioX, 50*ratio.ratioY);
- Node143.setWidth(Node143width);
- Node143.setHeight(Node143height);
- Node143._nodeType = 'text';
- Node143._disallowEvert = true;
- Node143.setRotation(0*Math.PI/180);
- Node143.a('node.width', Node143width);
- Node143.a('node.height', Node143height);
- Node143.a('node.rect', [0, 0, Node143width, Node143height]);
- Node143.a('node.bordercolor','rgba(0,0,0,1)');
- Node143.a('node.borderwidth', 0);
- Node143.a('node.background','' || 'rgba(0,0,0,0)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','');
- Node143.a('node.text','装机容量');
- Node143.a('node.textalign','left');
- Node143.a('node.textvAlign','middle');
- Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
- Node143.a('node.color','rgba(0,0,0,1)');
- Node143.a('node.font',' '+ Node143fontSize + 'px "微软雅黑"');
- Node143.a('node.textvisible',true);
- Node143.a('node.linefeed',false);
- if (false) {
- Node143.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node143.a('node.text') || '装机容量';
- var color=Node143.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"left",color,' '+ Node143fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node143.a('node.underlinepoints',[Node143lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node143fontSize + 'px "微软雅黑"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
- Node143.a('node.underlinevisible',false);
- Node143.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node143);
- zoomNodeList.push({
- node: Node143,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144type = 'rect';
- var Node144 = new ht.Node(),
- Node144BorderWidth = 1*2;
- if (Node144type === 'arc') {
- Node144BorderWidth *= 1;
- }
- Node144.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node144.setPosition(360*ratio.ratioX, 49*ratio.ratioY);
- Node144.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node144.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node144.a('node.width', 94*_ratio.ratioX);
- Node144.a('node.height', 24.33136*_ratio.ratioY);
- Node144.a('node.type', Node144type);
- Node144.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node144.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node144.a('node.gradientcolor', '');
- Node144.a('node.gradient', '');
- Node144.a('node.borderwidth', Node144BorderWidth);
- Node144.a('node.color', 'rgba(224,224,224,1)');
- Node144.a('node.fillrect', [0,0,0,0]);
- Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradient', '');
- if (Node144type !== 'rect') {
- Node144.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node144.a('node.arcTo', parseFloat('@arcTo@'));
- Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node144type === 'arc') {
- Node144.a('node.arcOval', true);
- }
- Node144.setRotation(0*Math.PI/180);
- Node144.borderWidth = Node144BorderWidth;
- Node144.borderFillwidth = Node144BorderWidth;
- dataModel.add(Node144);
- Node144._nodename = 'Node144'
- Node144._nodeType = 'rect';
- zoomNodeList.push({
- node: Node144,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145type = 'rect';
- var Node145 = new ht.Node(),
- Node145BorderWidth = 1*2;
- if (Node145type === 'arc') {
- Node145BorderWidth *= 1;
- }
- Node145.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node145.setPosition(360*ratio.ratioX, 73*ratio.ratioY);
- Node145.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node145.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node145.a('node.width', 94*_ratio.ratioX);
- Node145.a('node.height', 24.33138*_ratio.ratioY);
- Node145.a('node.type', Node145type);
- Node145.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node145.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node145.a('node.gradientcolor', '');
- Node145.a('node.gradient', '');
- Node145.a('node.borderwidth', Node145BorderWidth);
- Node145.a('node.color', 'rgba(224,224,224,1)');
- Node145.a('node.fillrect', [0,0,0,0]);
- Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradient', '');
- if (Node145type !== 'rect') {
- Node145.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node145.a('node.arcTo', parseFloat('@arcTo@'));
- Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node145type === 'arc') {
- Node145.a('node.arcOval', true);
- }
- Node145.setRotation(0*Math.PI/180);
- Node145.borderWidth = Node145BorderWidth;
- Node145.borderFillwidth = Node145BorderWidth;
- dataModel.add(Node145);
- Node145._nodename = 'Node145'
- Node145._nodeType = 'rect';
- zoomNodeList.push({
- node: Node145,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146type = 'rect';
- var Node146 = new ht.Node(),
- Node146BorderWidth = 1*2;
- if (Node146type === 'arc') {
- Node146BorderWidth *= 1;
- }
- Node146.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node146.setPosition(360*ratio.ratioX, 97*ratio.ratioY);
- Node146.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node146.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node146.a('node.width', 94*_ratio.ratioX);
- Node146.a('node.height', 24.33138*_ratio.ratioY);
- Node146.a('node.type', Node146type);
- Node146.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node146.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node146.a('node.gradientcolor', '');
- Node146.a('node.gradient', '');
- Node146.a('node.borderwidth', Node146BorderWidth);
- Node146.a('node.color', 'rgba(224,224,224,1)');
- Node146.a('node.fillrect', [0,0,0,0]);
- Node146.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node146.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node146.a('node.fillgradient', '');
- if (Node146type !== 'rect') {
- Node146.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node146.a('node.arcTo', parseFloat('@arcTo@'));
- Node146.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node146type === 'arc') {
- Node146.a('node.arcOval', true);
- }
- Node146.setRotation(0*Math.PI/180);
- Node146.borderWidth = Node146BorderWidth;
- Node146.borderFillwidth = Node146BorderWidth;
- dataModel.add(Node146);
- Node146._nodename = 'Node146'
- Node146._nodeType = 'rect';
- zoomNodeList.push({
- node: Node146,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node146, Node146.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147type = 'rect';
- var Node147 = new ht.Node(),
- Node147BorderWidth = 1*2;
- if (Node147type === 'arc') {
- Node147BorderWidth *= 1;
- }
- Node147.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node147type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node147.setPosition(360*ratio.ratioX, 122*ratio.ratioY);
- Node147.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node147.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node147.a('node.width', 94*_ratio.ratioX);
- Node147.a('node.height', 24.33136*_ratio.ratioY);
- Node147.a('node.type', Node147type);
- Node147.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node147.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node147.a('node.gradientcolor', '');
- Node147.a('node.gradient', '');
- Node147.a('node.borderwidth', Node147BorderWidth);
- Node147.a('node.color', 'rgba(224,224,224,1)');
- Node147.a('node.fillrect', [0,0,0,0]);
- Node147.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node147.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node147.a('node.fillgradient', '');
- if (Node147type !== 'rect') {
- Node147.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node147.a('node.arcTo', parseFloat('@arcTo@'));
- Node147.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node147type === 'arc') {
- Node147.a('node.arcOval', true);
- }
- Node147.setRotation(0*Math.PI/180);
- Node147.borderWidth = Node147BorderWidth;
- Node147.borderFillwidth = Node147BorderWidth;
- dataModel.add(Node147);
- Node147._nodename = 'Node147'
- Node147._nodeType = 'rect';
- zoomNodeList.push({
- node: Node147,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node147, Node147.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148type = 'rect';
- var Node148 = new ht.Node(),
- Node148BorderWidth = 1*2;
- if (Node148type === 'arc') {
- Node148BorderWidth *= 1;
- }
- Node148.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node148type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node148.setPosition(360*ratio.ratioX, 146*ratio.ratioY);
- Node148.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node148.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node148.a('node.width', 94*_ratio.ratioX);
- Node148.a('node.height', 24.33138*_ratio.ratioY);
- Node148.a('node.type', Node148type);
- Node148.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node148.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node148.a('node.gradientcolor', '');
- Node148.a('node.gradient', '');
- Node148.a('node.borderwidth', Node148BorderWidth);
- Node148.a('node.color', 'rgba(224,224,224,1)');
- Node148.a('node.fillrect', [0,0,0,0]);
- Node148.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node148.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node148.a('node.fillgradient', '');
- if (Node148type !== 'rect') {
- Node148.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node148.a('node.arcTo', parseFloat('@arcTo@'));
- Node148.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node148type === 'arc') {
- Node148.a('node.arcOval', true);
- }
- Node148.setRotation(0*Math.PI/180);
- Node148.borderWidth = Node148BorderWidth;
- Node148.borderFillwidth = Node148BorderWidth;
- dataModel.add(Node148);
- Node148._nodename = 'Node148'
- Node148._nodeType = 'rect';
- zoomNodeList.push({
- node: Node148,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node148, Node148.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(360*ratio.ratioX, 51*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 Node150 = new ht.Node();
- var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'center', Node150fontSize = 13.3333*_ratio.ratioY,Node150width = 58*_ratio.ratioX, Node150height = 26*_ratio.ratioY;
- (function () {
- if (Node150align === 'left') {
- Node150textStart = Node150fontSize * 0.2 > 2 ? Node150fontSize * 0.2 - 4 : Node150fontSize * 0.2 - 9;
- Node150textWidth = Node150width;
- Node150lineStart = 1;
- } else if (Node150align === 'right') {
- Node150textStart = 0;
- Node150textWidth =Node150fontSize <= 8 ? Node150width + Node150fontSize * 0.2 + 6 : Node150width - Node150fontSize * 0.2;
- Node150lineStart = (Node150width - (ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node150align === 'center') {
- Node150textStart = -3;
- Node150textWidth = Node150width;
- Node150lineStart = Node150width - ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "Arial"'))
- Node150.setPosition(360*ratio.ratioX, 75*ratio.ratioY);
- Node150.setWidth(Node150width);
- Node150.setHeight(Node150height);
- Node150._nodeType = 'text';
- Node150._disallowEvert = true;
- Node150.setRotation(0*Math.PI/180);
- Node150.a('node.width', Node150width);
- Node150.a('node.height', Node150height);
- Node150.a('node.rect', [0, 0, Node150width, Node150height]);
- Node150.a('node.bordercolor','rgba(0,0,0,1)');
- Node150.a('node.borderwidth', 0);
- Node150.a('node.background','' || 'rgba(0,0,0,0)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','');
- Node150.a('node.text','0');
- Node150.a('node.textalign','center');
- Node150.a('node.textvAlign','middle');
- Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]);
- Node150.a('node.color','rgba(0,0,0,1)');
- Node150.a('node.font',' '+ Node150fontSize + 'px "Arial"');
- Node150.a('node.textvisible',true);
- Node150.a('node.linefeed',false);
- if (false) {
- Node150.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node150.a('node.text') || '0';
- var color=Node150.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node150width,Node150height,13.3333*_ratio.ratioY,"center",color,' '+ Node150fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node150.a('node.underlinepoints',[Node150lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node150fontSize + 'px "Arial"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]);
- Node150.a('node.underlinevisible',false);
- Node150.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node150);
- zoomNodeList.push({
- node: Node150,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151 = new ht.Node();
- var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'center', Node151fontSize = 13.3333*_ratio.ratioY,Node151width = 58*_ratio.ratioX, Node151height = 26*_ratio.ratioY;
- (function () {
- if (Node151align === 'left') {
- Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9;
- Node151textWidth = Node151width;
- Node151lineStart = 1;
- } else if (Node151align === 'right') {
- Node151textStart = 0;
- Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2;
- Node151lineStart = (Node151width - (ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"'))
- Node151.setPosition(360*ratio.ratioX, 100*ratio.ratioY);
- Node151.setWidth(Node151width);
- Node151.setHeight(Node151height);
- Node151._nodeType = 'text';
- Node151._disallowEvert = true;
- Node151.setRotation(0*Math.PI/180);
- Node151.a('node.width', Node151width);
- Node151.a('node.height', Node151height);
- Node151.a('node.rect', [0, 0, Node151width, Node151height]);
- Node151.a('node.bordercolor','rgba(0,0,0,1)');
- Node151.a('node.borderwidth', 0);
- Node151.a('node.background','' || 'rgba(0,0,0,0)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','');
- Node151.a('node.text','0');
- Node151.a('node.textalign','center');
- Node151.a('node.textvAlign','middle');
- Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]);
- Node151.a('node.color','rgba(0,0,0,1)');
- Node151.a('node.font',' '+ Node151fontSize + 'px "Arial"');
- Node151.a('node.textvisible',true);
- Node151.a('node.linefeed',false);
- if (false) {
- Node151.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node151.a('node.text') || '0';
- var color=Node151.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151width,Node151height,13.3333*_ratio.ratioY,"center",color,' '+ Node151fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]);
- Node151.a('node.underlinevisible',false);
- Node151.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node151);
- zoomNodeList.push({
- node: Node151,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152 = new ht.Node();
- var Node152textStart, Node152textWidth, Node152lineStart, Node152align = 'center', Node152fontSize = 13.3333*_ratio.ratioY,Node152width = 58*_ratio.ratioX, Node152height = 26*_ratio.ratioY;
- (function () {
- if (Node152align === 'left') {
- Node152textStart = Node152fontSize * 0.2 > 2 ? Node152fontSize * 0.2 - 4 : Node152fontSize * 0.2 - 9;
- Node152textWidth = Node152width;
- Node152lineStart = 1;
- } else if (Node152align === 'right') {
- Node152textStart = 0;
- Node152textWidth =Node152fontSize <= 8 ? Node152width + Node152fontSize * 0.2 + 6 : Node152width - Node152fontSize * 0.2;
- Node152lineStart = (Node152width - (ht.Default.getTextSize('0', ' '+ Node152fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node152align === 'center') {
- Node152textStart = -3;
- Node152textWidth = Node152width;
- Node152lineStart = Node152width - ht.Default.getTextSize('0', ' '+ Node152fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node152.setImage(GD.getTextJSON(Node152width, Node152height, true, false, false, ' '+ Node152fontSize + 'px "Arial"'))
- Node152.setPosition(360*ratio.ratioX, 123*ratio.ratioY);
- Node152.setWidth(Node152width);
- Node152.setHeight(Node152height);
- Node152._nodeType = 'text';
- Node152._disallowEvert = true;
- Node152.setRotation(0*Math.PI/180);
- Node152.a('node.width', Node152width);
- Node152.a('node.height', Node152height);
- Node152.a('node.rect', [0, 0, Node152width, Node152height]);
- Node152.a('node.bordercolor','rgba(0,0,0,1)');
- Node152.a('node.borderwidth', 0);
- Node152.a('node.background','' || 'rgba(0,0,0,0)');
- Node152.a('node.gradient','');
- Node152.a('node.gradientcolor','');
- Node152.a('node.text','0');
- Node152.a('node.textalign','center');
- Node152.a('node.textvAlign','middle');
- Node152.a('node.textrect', [Node152textStart, 0, Node152textWidth, Node152height]);
- Node152.a('node.color','rgba(0,0,0,1)');
- Node152.a('node.font',' '+ Node152fontSize + 'px "Arial"');
- Node152.a('node.textvisible',true);
- Node152.a('node.linefeed',false);
- if (false) {
- Node152.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node152.a('node.text') || '0';
- var color=Node152.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node152width,Node152height,13.3333*_ratio.ratioY,"center",color,' '+ Node152fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node152.a('node.underlinepoints',[Node152lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node152fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node152fontSize + 'px "Arial"').width + 6, (Node152height - Node152fontSize) * 0.5*_ratio.ratioY + Node152fontSize + 2 ]);
- Node152.a('node.underlinevisible',false);
- Node152.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node152);
- zoomNodeList.push({
- node: Node152,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.Node();
- var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'center', Node153fontSize = 13.3333*_ratio.ratioY,Node153width = 58*_ratio.ratioX, Node153height = 26*_ratio.ratioY;
- (function () {
- if (Node153align === 'left') {
- Node153textStart = Node153fontSize * 0.2 > 2 ? Node153fontSize * 0.2 - 4 : Node153fontSize * 0.2 - 9;
- Node153textWidth = Node153width;
- Node153lineStart = 1;
- } else if (Node153align === 'right') {
- Node153textStart = 0;
- Node153textWidth =Node153fontSize <= 8 ? Node153width + Node153fontSize * 0.2 + 6 : Node153width - Node153fontSize * 0.2;
- Node153lineStart = (Node153width - (ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node153align === 'center') {
- Node153textStart = -3;
- Node153textWidth = Node153width;
- Node153lineStart = Node153width - ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, ' '+ Node153fontSize + 'px "Arial"'))
- Node153.setPosition(360*ratio.ratioX, 147*ratio.ratioY);
- Node153.setWidth(Node153width);
- Node153.setHeight(Node153height);
- Node153._nodeType = 'text';
- Node153._disallowEvert = true;
- Node153.setRotation(0*Math.PI/180);
- Node153.a('node.width', Node153width);
- Node153.a('node.height', Node153height);
- Node153.a('node.rect', [0, 0, Node153width, Node153height]);
- Node153.a('node.bordercolor','rgba(0,0,0,1)');
- Node153.a('node.borderwidth', 0);
- Node153.a('node.background','' || 'rgba(0,0,0,0)');
- Node153.a('node.gradient','');
- Node153.a('node.gradientcolor','');
- Node153.a('node.text','0');
- Node153.a('node.textalign','center');
- Node153.a('node.textvAlign','middle');
- Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]);
- Node153.a('node.color','rgba(0,0,0,1)');
- Node153.a('node.font',' '+ Node153fontSize + 'px "Arial"');
- Node153.a('node.textvisible',true);
- Node153.a('node.linefeed',false);
- if (false) {
- Node153.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node153.a('node.text') || '0';
- var color=Node153.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node153width,Node153height,13.3333*_ratio.ratioY,"center",color,' '+ Node153fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node153.a('node.underlinepoints',[Node153lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "Arial"').width + 6, (Node153height - Node153fontSize) * 0.5*_ratio.ratioY + Node153fontSize + 2 ]);
- Node153.a('node.underlinevisible',false);
- Node153.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node153);
- zoomNodeList.push({
- node: Node153,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154type = 'rect';
- var Node154 = new ht.Node(),
- Node154BorderWidth = 1*2;
- if (Node154type === 'arc') {
- Node154BorderWidth *= 1;
- }
- Node154.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node154type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node154.setPosition(439*ratio.ratioX, 49*ratio.ratioY);
- Node154.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node154.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node154.a('node.width', 65*_ratio.ratioX);
- Node154.a('node.height', 24.33136*_ratio.ratioY);
- Node154.a('node.type', Node154type);
- Node154.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_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 Node155type = 'rect';
- var Node155 = new ht.Node(),
- Node155BorderWidth = 1*2;
- if (Node155type === 'arc') {
- Node155BorderWidth *= 1;
- }
- Node155.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node155type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node155.setPosition(439*ratio.ratioX, 73*ratio.ratioY);
- Node155.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node155.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node155.a('node.width', 65*_ratio.ratioX);
- Node155.a('node.height', 24.33138*_ratio.ratioY);
- Node155.a('node.type', Node155type);
- Node155.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node155.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node155.a('node.gradientcolor', '');
- Node155.a('node.gradient', '');
- Node155.a('node.borderwidth', Node155BorderWidth);
- Node155.a('node.color', 'rgba(224,224,224,1)');
- Node155.a('node.fillrect', [0,0,0,0]);
- Node155.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node155.a('node.fillgradient', '');
- if (Node155type !== 'rect') {
- Node155.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node155.a('node.arcTo', parseFloat('@arcTo@'));
- Node155.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node155type === 'arc') {
- Node155.a('node.arcOval', true);
- }
- Node155.setRotation(0*Math.PI/180);
- Node155.borderWidth = Node155BorderWidth;
- Node155.borderFillwidth = Node155BorderWidth;
- dataModel.add(Node155);
- Node155._nodename = 'Node155'
- Node155._nodeType = 'rect';
- zoomNodeList.push({
- node: Node155,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node155, Node155.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156type = 'rect';
- var Node156 = new ht.Node(),
- Node156BorderWidth = 1*2;
- if (Node156type === 'arc') {
- Node156BorderWidth *= 1;
- }
- Node156.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node156type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node156.setPosition(439*ratio.ratioX, 97*ratio.ratioY);
- Node156.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node156.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node156.a('node.width', 65*_ratio.ratioX);
- Node156.a('node.height', 24.33138*_ratio.ratioY);
- Node156.a('node.type', Node156type);
- Node156.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node156.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node156.a('node.gradientcolor', '');
- Node156.a('node.gradient', '');
- Node156.a('node.borderwidth', Node156BorderWidth);
- Node156.a('node.color', 'rgba(224,224,224,1)');
- Node156.a('node.fillrect', [0,0,0,0]);
- Node156.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node156.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node156.a('node.fillgradient', '');
- if (Node156type !== 'rect') {
- Node156.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node156.a('node.arcTo', parseFloat('@arcTo@'));
- Node156.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node156type === 'arc') {
- Node156.a('node.arcOval', true);
- }
- Node156.setRotation(0*Math.PI/180);
- Node156.borderWidth = Node156BorderWidth;
- Node156.borderFillwidth = Node156BorderWidth;
- dataModel.add(Node156);
- Node156._nodename = 'Node156'
- Node156._nodeType = 'rect';
- zoomNodeList.push({
- node: Node156,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node156, Node156.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157type = 'rect';
- var Node157 = new ht.Node(),
- Node157BorderWidth = 1*2;
- if (Node157type === 'arc') {
- Node157BorderWidth *= 1;
- }
- Node157.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node157type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node157.setPosition(439*ratio.ratioX, 122*ratio.ratioY);
- Node157.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node157.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node157.a('node.width', 65*_ratio.ratioX);
- Node157.a('node.height', 24.33136*_ratio.ratioY);
- Node157.a('node.type', Node157type);
- Node157.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node157.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node157.a('node.gradientcolor', '');
- Node157.a('node.gradient', '');
- Node157.a('node.borderwidth', Node157BorderWidth);
- Node157.a('node.color', 'rgba(224,224,224,1)');
- Node157.a('node.fillrect', [0,0,0,0]);
- Node157.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node157.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node157.a('node.fillgradient', '');
- if (Node157type !== 'rect') {
- Node157.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node157.a('node.arcTo', parseFloat('@arcTo@'));
- Node157.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node157type === 'arc') {
- Node157.a('node.arcOval', true);
- }
- Node157.setRotation(0*Math.PI/180);
- Node157.borderWidth = Node157BorderWidth;
- Node157.borderFillwidth = Node157BorderWidth;
- dataModel.add(Node157);
- Node157._nodename = 'Node157'
- Node157._nodeType = 'rect';
- zoomNodeList.push({
- node: Node157,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node157, Node157.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158type = 'rect';
- var Node158 = new ht.Node(),
- Node158BorderWidth = 1*2;
- if (Node158type === 'arc') {
- Node158BorderWidth *= 1;
- }
- Node158.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node158type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node158.setPosition(439*ratio.ratioX, 146*ratio.ratioY);
- Node158.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node158.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node158.a('node.width', 65*_ratio.ratioX);
- Node158.a('node.height', 24.33138*_ratio.ratioY);
- Node158.a('node.type', Node158type);
- Node158.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node158.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node158.a('node.gradientcolor', '');
- Node158.a('node.gradient', '');
- Node158.a('node.borderwidth', Node158BorderWidth);
- Node158.a('node.color', 'rgba(224,224,224,1)');
- Node158.a('node.fillrect', [0,0,0,0]);
- Node158.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node158.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node158.a('node.fillgradient', '');
- if (Node158type !== 'rect') {
- Node158.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node158.a('node.arcTo', parseFloat('@arcTo@'));
- Node158.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node158type === 'arc') {
- Node158.a('node.arcOval', true);
- }
- Node158.setRotation(0*Math.PI/180);
- Node158.borderWidth = Node158BorderWidth;
- Node158.borderFillwidth = Node158BorderWidth;
- dataModel.add(Node158);
- Node158._nodename = 'Node158'
- Node158._nodeType = 'rect';
- zoomNodeList.push({
- node: Node158,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node158, Node158.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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('万kW', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('万kW', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(440*ratio.ratioX, 51*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','万kW');
- 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') || '万kW';
- 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('万kW', ' '+ 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 Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'center', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 59*_ratio.ratioX, Node160height = 26*_ratio.ratioY;
- (function () {
- if (Node160align === 'left') {
- Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9;
- Node160textWidth = Node160width;
- Node160lineStart = 1;
- } else if (Node160align === 'right') {
- Node160textStart = 0;
- Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2;
- Node160lineStart = (Node160width - (ht.Default.getTextSize('MW', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('MW', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(440*ratio.ratioX, 75*ratio.ratioY);
- Node160.setWidth(Node160width);
- Node160.setHeight(Node160height);
- Node160._nodeType = 'text';
- Node160._disallowEvert = true;
- Node160.setRotation(0*Math.PI/180);
- Node160.a('node.width', Node160width);
- Node160.a('node.height', Node160height);
- Node160.a('node.rect', [0, 0, Node160width, Node160height]);
- Node160.a('node.bordercolor','rgba(128,128,128,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','MW');
- Node160.a('node.textalign','center');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(128,128,128,1)');
- Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || 'MW';
- var color=Node160.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"center",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
- Node160.a('node.underlinevisible',false);
- Node160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node160);
- zoomNodeList.push({
- node: Node160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161 = new ht.Node();
- var Node161textStart, Node161textWidth, Node161lineStart, Node161align = 'center', Node161fontSize = 13.3333*_ratio.ratioY,Node161width = 59*_ratio.ratioX, Node161height = 26*_ratio.ratioY;
- (function () {
- if (Node161align === 'left') {
- Node161textStart = Node161fontSize * 0.2 > 2 ? Node161fontSize * 0.2 - 4 : Node161fontSize * 0.2 - 9;
- Node161textWidth = Node161width;
- Node161lineStart = 1;
- } else if (Node161align === 'right') {
- Node161textStart = 0;
- Node161textWidth =Node161fontSize <= 8 ? Node161width + Node161fontSize * 0.2 + 6 : Node161width - Node161fontSize * 0.2;
- Node161lineStart = (Node161width - (ht.Default.getTextSize('m/s', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161align === 'center') {
- Node161textStart = -3;
- Node161textWidth = Node161width;
- Node161lineStart = Node161width - ht.Default.getTextSize('m/s', ' '+ Node161fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"'))
- Node161.setPosition(440*ratio.ratioX, 98*ratio.ratioY);
- Node161.setWidth(Node161width);
- Node161.setHeight(Node161height);
- Node161._nodeType = 'text';
- Node161._disallowEvert = true;
- Node161.setRotation(0*Math.PI/180);
- Node161.a('node.width', Node161width);
- Node161.a('node.height', Node161height);
- Node161.a('node.rect', [0, 0, Node161width, Node161height]);
- Node161.a('node.bordercolor','rgba(128,128,128,1)');
- Node161.a('node.borderwidth', 0);
- Node161.a('node.background','' || 'rgba(0,0,0,0)');
- Node161.a('node.gradient','');
- Node161.a('node.gradientcolor','');
- Node161.a('node.text','m/s');
- Node161.a('node.textalign','center');
- Node161.a('node.textvAlign','middle');
- Node161.a('node.textrect', [Node161textStart, 0, Node161textWidth, Node161height]);
- Node161.a('node.color','rgba(128,128,128,1)');
- Node161.a('node.font',' '+ Node161fontSize + 'px "Arial"');
- Node161.a('node.textvisible',true);
- Node161.a('node.linefeed',false);
- if (false) {
- Node161.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node161.a('node.text') || 'm/s';
- var color=Node161.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node161width,Node161height,13.3333*_ratio.ratioY,"center",color,' '+ Node161fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node161.a('node.underlinepoints',[Node161lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node161fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node161fontSize + 'px "Arial"').width + 6, (Node161height - Node161fontSize) * 0.5*_ratio.ratioY + Node161fontSize + 2 ]);
- Node161.a('node.underlinevisible',false);
- Node161.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node161);
- zoomNodeList.push({
- node: Node161,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162 = new ht.Node();
- var Node162textStart, Node162textWidth, Node162lineStart, Node162align = 'center', Node162fontSize = 13.3333*_ratio.ratioY,Node162width = 59*_ratio.ratioX, Node162height = 26*_ratio.ratioY;
- (function () {
- if (Node162align === 'left') {
- Node162textStart = Node162fontSize * 0.2 > 2 ? Node162fontSize * 0.2 - 4 : Node162fontSize * 0.2 - 9;
- Node162textWidth = Node162width;
- Node162lineStart = 1;
- } else if (Node162align === 'right') {
- Node162textStart = 0;
- Node162textWidth =Node162fontSize <= 8 ? Node162width + Node162fontSize * 0.2 + 6 : Node162width - Node162fontSize * 0.2;
- Node162lineStart = (Node162width - (ht.Default.getTextSize('万kWh', ' '+ Node162fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('万kWh', ' '+ Node162fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, ' '+ Node162fontSize + 'px "Arial"'))
- Node162.setPosition(440*ratio.ratioX, 124*ratio.ratioY);
- Node162.setWidth(Node162width);
- Node162.setHeight(Node162height);
- Node162._nodeType = 'text';
- Node162._disallowEvert = true;
- Node162.setRotation(0*Math.PI/180);
- Node162.a('node.width', Node162width);
- Node162.a('node.height', Node162height);
- Node162.a('node.rect', [0, 0, Node162width, Node162height]);
- Node162.a('node.bordercolor','rgba(128,128,128,1)');
- Node162.a('node.borderwidth', 0);
- Node162.a('node.background','' || 'rgba(0,0,0,0)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','');
- Node162.a('node.text','万kWh');
- Node162.a('node.textalign','center');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(128,128,128,1)');
- Node162.a('node.font',' '+ Node162fontSize + 'px "Arial"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || '万kWh';
- var color=Node162.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node162width,Node162height,13.3333*_ratio.ratioY,"center",color,' '+ Node162fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node162fontSize + 'px "Arial"').width + 6, (Node162height - Node162fontSize) * 0.5*_ratio.ratioY + Node162fontSize + 2 ]);
- Node162.a('node.underlinevisible',false);
- Node162.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node162);
- zoomNodeList.push({
- node: Node162,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163 = new ht.Node();
- var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'center', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 59*_ratio.ratioX, Node163height = 26*_ratio.ratioY;
- (function () {
- if (Node163align === 'left') {
- Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9;
- Node163textWidth = Node163width;
- Node163lineStart = 1;
- } else if (Node163align === 'right') {
- Node163textStart = 0;
- Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2;
- Node163lineStart = (Node163width - (ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
- Node163.setPosition(440*ratio.ratioX, 148*ratio.ratioY);
- Node163.setWidth(Node163width);
- Node163.setHeight(Node163height);
- Node163._nodeType = 'text';
- Node163._disallowEvert = true;
- Node163.setRotation(0*Math.PI/180);
- Node163.a('node.width', Node163width);
- Node163.a('node.height', Node163height);
- Node163.a('node.rect', [0, 0, Node163width, Node163height]);
- Node163.a('node.bordercolor','rgba(128,128,128,1)');
- Node163.a('node.borderwidth', 0);
- Node163.a('node.background','' || 'rgba(0,0,0,0)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','');
- Node163.a('node.text','万kWh');
- Node163.a('node.textalign','center');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(128,128,128,1)');
- Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"');
- Node163.a('node.textvisible',true);
- Node163.a('node.linefeed',false);
- if (false) {
- Node163.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node163.a('node.text') || '万kWh';
- var color=Node163.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"center",color,' '+ Node163fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node163.a('node.underlinepoints',[Node163lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]);
- Node163.a('node.underlinevisible',false);
- Node163.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node163);
- zoomNodeList.push({
- node: Node163,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164type = 'rect';
- var Node164 = new ht.Node(),
- Node164BorderWidth = 1*2;
- if (Node164type === 'arc') {
- Node164BorderWidth *= 1;
- }
- Node164.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node164type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node164.setPosition(644*ratio.ratioX, 49*ratio.ratioY);
- Node164.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node164.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node164.a('node.width', 94*_ratio.ratioX);
- Node164.a('node.height', 24.33136*_ratio.ratioY);
- Node164.a('node.type', Node164type);
- Node164.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_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 Node165type = 'rect';
- var Node165 = new ht.Node(),
- Node165BorderWidth = 1*2;
- if (Node165type === 'arc') {
- Node165BorderWidth *= 1;
- }
- Node165.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node165type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node165.setPosition(644*ratio.ratioX, 73*ratio.ratioY);
- Node165.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node165.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node165.a('node.width', 94*_ratio.ratioX);
- Node165.a('node.height', 24.33138*_ratio.ratioY);
- Node165.a('node.type', Node165type);
- Node165.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node165.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node165.a('node.gradientcolor', '');
- Node165.a('node.gradient', '');
- Node165.a('node.borderwidth', Node165BorderWidth);
- Node165.a('node.color', 'rgba(224,224,224,1)');
- Node165.a('node.fillrect', [0,0,0,0]);
- Node165.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node165.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node165.a('node.fillgradient', '');
- if (Node165type !== 'rect') {
- Node165.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node165.a('node.arcTo', parseFloat('@arcTo@'));
- Node165.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node165type === 'arc') {
- Node165.a('node.arcOval', true);
- }
- Node165.setRotation(0*Math.PI/180);
- Node165.borderWidth = Node165BorderWidth;
- Node165.borderFillwidth = Node165BorderWidth;
- dataModel.add(Node165);
- Node165._nodename = 'Node165'
- Node165._nodeType = 'rect';
- zoomNodeList.push({
- node: Node165,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node165, Node165.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166type = 'rect';
- var Node166 = new ht.Node(),
- Node166BorderWidth = 1*2;
- if (Node166type === 'arc') {
- Node166BorderWidth *= 1;
- }
- Node166.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node166.setPosition(644*ratio.ratioX, 97*ratio.ratioY);
- Node166.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node166.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node166.a('node.width', 94*_ratio.ratioX);
- Node166.a('node.height', 24.33138*_ratio.ratioY);
- Node166.a('node.type', Node166type);
- Node166.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node166.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node166.a('node.gradientcolor', '');
- Node166.a('node.gradient', '');
- Node166.a('node.borderwidth', Node166BorderWidth);
- Node166.a('node.color', 'rgba(224,224,224,1)');
- Node166.a('node.fillrect', [0,0,0,0]);
- Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradient', '');
- if (Node166type !== 'rect') {
- Node166.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node166.a('node.arcTo', parseFloat('@arcTo@'));
- Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node166type === 'arc') {
- Node166.a('node.arcOval', true);
- }
- Node166.setRotation(0*Math.PI/180);
- Node166.borderWidth = Node166BorderWidth;
- Node166.borderFillwidth = Node166BorderWidth;
- dataModel.add(Node166);
- Node166._nodename = 'Node166'
- Node166._nodeType = 'rect';
- zoomNodeList.push({
- node: Node166,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node166, Node166.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167type = 'rect';
- var Node167 = new ht.Node(),
- Node167BorderWidth = 1*2;
- if (Node167type === 'arc') {
- Node167BorderWidth *= 1;
- }
- Node167.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node167type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node167.setPosition(644*ratio.ratioX, 122*ratio.ratioY);
- Node167.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node167.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node167.a('node.width', 94*_ratio.ratioX);
- Node167.a('node.height', 24.33136*_ratio.ratioY);
- Node167.a('node.type', Node167type);
- Node167.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node167.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node167.a('node.gradientcolor', '');
- Node167.a('node.gradient', '');
- Node167.a('node.borderwidth', Node167BorderWidth);
- Node167.a('node.color', 'rgba(224,224,224,1)');
- Node167.a('node.fillrect', [0,0,0,0]);
- Node167.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node167.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node167.a('node.fillgradient', '');
- if (Node167type !== 'rect') {
- Node167.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node167.a('node.arcTo', parseFloat('@arcTo@'));
- Node167.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node167type === 'arc') {
- Node167.a('node.arcOval', true);
- }
- Node167.setRotation(0*Math.PI/180);
- Node167.borderWidth = Node167BorderWidth;
- Node167.borderFillwidth = Node167BorderWidth;
- dataModel.add(Node167);
- Node167._nodename = 'Node167'
- Node167._nodeType = 'rect';
- zoomNodeList.push({
- node: Node167,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node167, Node167.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168type = 'rect';
- var Node168 = new ht.Node(),
- Node168BorderWidth = 1*2;
- if (Node168type === 'arc') {
- Node168BorderWidth *= 1;
- }
- Node168.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node168type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node168.setPosition(644*ratio.ratioX, 146*ratio.ratioY);
- Node168.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node168.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node168.a('node.width', 94*_ratio.ratioX);
- Node168.a('node.height', 24.33138*_ratio.ratioY);
- Node168.a('node.type', Node168type);
- Node168.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node168.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node168.a('node.gradientcolor', '');
- Node168.a('node.gradient', '');
- Node168.a('node.borderwidth', Node168BorderWidth);
- Node168.a('node.color', 'rgba(224,224,224,1)');
- Node168.a('node.fillrect', [0,0,0,0]);
- Node168.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node168.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node168.a('node.fillgradient', '');
- if (Node168type !== 'rect') {
- Node168.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node168.a('node.arcTo', parseFloat('@arcTo@'));
- Node168.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node168type === 'arc') {
- Node168.a('node.arcOval', true);
- }
- Node168.setRotation(0*Math.PI/180);
- Node168.borderWidth = Node168BorderWidth;
- Node168.borderFillwidth = Node168BorderWidth;
- dataModel.add(Node168);
- Node168._nodename = 'Node168'
- Node168._nodeType = 'rect';
- zoomNodeList.push({
- node: Node168,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node168, Node168.getImage());_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(644*ratio.ratioX, 51*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 Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'center', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 58*_ratio.ratioX, Node170height = 26*_ratio.ratioY;
- (function () {
- if (Node170align === 'left') {
- Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
- Node170textWidth = Node170width;
- Node170lineStart = 1;
- } else if (Node170align === 'right') {
- Node170textStart = 0;
- Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
- Node170lineStart = (Node170width - (ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(644*ratio.ratioX, 75*ratio.ratioY);
- Node170.setWidth(Node170width);
- Node170.setHeight(Node170height);
- Node170._nodeType = 'text';
- Node170._disallowEvert = true;
- Node170.setRotation(0*Math.PI/180);
- Node170.a('node.width', Node170width);
- Node170.a('node.height', Node170height);
- Node170.a('node.rect', [0, 0, Node170width, Node170height]);
- Node170.a('node.bordercolor','rgba(0,0,0,1)');
- Node170.a('node.borderwidth', 0);
- Node170.a('node.background','' || 'rgba(0,0,0,0)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','');
- Node170.a('node.text','0');
- Node170.a('node.textalign','center');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(0,0,0,1)');
- Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"');
- Node170.a('node.textvisible',true);
- Node170.a('node.linefeed',false);
- if (false) {
- Node170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node170.a('node.text') || '0';
- var color=Node170.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"center",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.Node();
- var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'center', Node171fontSize = 13.3333*_ratio.ratioY,Node171width = 58*_ratio.ratioX, Node171height = 26*_ratio.ratioY;
- (function () {
- if (Node171align === 'left') {
- Node171textStart = Node171fontSize * 0.2 > 2 ? Node171fontSize * 0.2 - 4 : Node171fontSize * 0.2 - 9;
- Node171textWidth = Node171width;
- Node171lineStart = 1;
- } else if (Node171align === 'right') {
- Node171textStart = 0;
- Node171textWidth =Node171fontSize <= 8 ? Node171width + Node171fontSize * 0.2 + 6 : Node171width - Node171fontSize * 0.2;
- Node171lineStart = (Node171width - (ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(644*ratio.ratioX, 100*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(0,0,0,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','0');
- Node171.a('node.textalign','center');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(0,0,0,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"');
- Node171.a('node.textvisible',true);
- Node171.a('node.linefeed',false);
- if (false) {
- Node171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node171.a('node.text') || '0';
- var color=Node171.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"center",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]);
- Node171.a('node.underlinevisible',false);
- Node171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node171);
- zoomNodeList.push({
- node: Node171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172 = new ht.Node();
- var Node172textStart, Node172textWidth, Node172lineStart, Node172align = 'center', Node172fontSize = 13.3333*_ratio.ratioY,Node172width = 58*_ratio.ratioX, Node172height = 26*_ratio.ratioY;
- (function () {
- if (Node172align === 'left') {
- Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9;
- Node172textWidth = Node172width;
- Node172lineStart = 1;
- } else if (Node172align === 'right') {
- Node172textStart = 0;
- Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2;
- Node172lineStart = (Node172width - (ht.Default.getTextSize('0', ' '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('0', ' '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, ' '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(644*ratio.ratioX, 123*ratio.ratioY);
- Node172.setWidth(Node172width);
- Node172.setHeight(Node172height);
- Node172._nodeType = 'text';
- Node172._disallowEvert = true;
- Node172.setRotation(0*Math.PI/180);
- Node172.a('node.width', Node172width);
- Node172.a('node.height', Node172height);
- Node172.a('node.rect', [0, 0, Node172width, Node172height]);
- Node172.a('node.bordercolor','rgba(0,0,0,1)');
- Node172.a('node.borderwidth', 0);
- Node172.a('node.background','' || 'rgba(0,0,0,0)');
- Node172.a('node.gradient','');
- Node172.a('node.gradientcolor','');
- Node172.a('node.text','0');
- Node172.a('node.textalign','center');
- Node172.a('node.textvAlign','middle');
- Node172.a('node.textrect', [Node172textStart, 0, Node172textWidth, Node172height]);
- Node172.a('node.color','rgba(0,0,0,1)');
- Node172.a('node.font',' '+ Node172fontSize + 'px "Arial"');
- Node172.a('node.textvisible',true);
- Node172.a('node.linefeed',false);
- if (false) {
- Node172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node172.a('node.text') || '0';
- var color=Node172.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node172width,Node172height,13.3333*_ratio.ratioY,"center",color,' '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]);
- Node172.a('node.underlinevisible',false);
- Node172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node172);
- zoomNodeList.push({
- node: Node172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.Node();
- var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'center', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 58*_ratio.ratioX, Node173height = 26*_ratio.ratioY;
- (function () {
- if (Node173align === 'left') {
- Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9;
- Node173textWidth = Node173width;
- Node173lineStart = 1;
- } else if (Node173align === 'right') {
- Node173textStart = 0;
- Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2;
- Node173lineStart = (Node173width - (ht.Default.getTextSize('0', ' '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node173align === 'center') {
- Node173textStart = -3;
- Node173textWidth = Node173width;
- Node173lineStart = Node173width - ht.Default.getTextSize('0', ' '+ Node173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, ' '+ Node173fontSize + 'px "Arial"'))
- Node173.setPosition(644*ratio.ratioX, 147*ratio.ratioY);
- Node173.setWidth(Node173width);
- Node173.setHeight(Node173height);
- Node173._nodeType = 'text';
- Node173._disallowEvert = true;
- Node173.setRotation(0*Math.PI/180);
- Node173.a('node.width', Node173width);
- Node173.a('node.height', Node173height);
- Node173.a('node.rect', [0, 0, Node173width, Node173height]);
- Node173.a('node.bordercolor','rgba(0,0,0,1)');
- Node173.a('node.borderwidth', 0);
- Node173.a('node.background','' || 'rgba(0,0,0,0)');
- Node173.a('node.gradient','');
- Node173.a('node.gradientcolor','');
- Node173.a('node.text','0');
- Node173.a('node.textalign','center');
- Node173.a('node.textvAlign','middle');
- Node173.a('node.textrect', [Node173textStart, 0, Node173textWidth, Node173height]);
- Node173.a('node.color','rgba(0,0,0,1)');
- Node173.a('node.font',' '+ Node173fontSize + 'px "Arial"');
- Node173.a('node.textvisible',true);
- Node173.a('node.linefeed',false);
- if (false) {
- Node173.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node173.a('node.text') || '0';
- var color=Node173.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node173width,Node173height,13.3333*_ratio.ratioY,"center",color,' '+ Node173fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node173.a('node.underlinepoints',[Node173lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]);
- Node173.a('node.underlinevisible',false);
- Node173.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node173);
- zoomNodeList.push({
- node: Node173,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174type = 'rect';
- var Node174 = new ht.Node(),
- Node174BorderWidth = 1*2;
- if (Node174type === 'arc') {
- Node174BorderWidth *= 1;
- }
- Node174.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node174type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node174.setPosition(723*ratio.ratioX, 49*ratio.ratioY);
- Node174.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node174.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node174.a('node.width', 65*_ratio.ratioX);
- Node174.a('node.height', 24.33136*_ratio.ratioY);
- Node174.a('node.type', Node174type);
- Node174.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_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 Node175type = 'rect';
- var Node175 = new ht.Node(),
- Node175BorderWidth = 1*2;
- if (Node175type === 'arc') {
- Node175BorderWidth *= 1;
- }
- Node175.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node175type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node175.setPosition(723*ratio.ratioX, 73*ratio.ratioY);
- Node175.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node175.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node175.a('node.width', 65*_ratio.ratioX);
- Node175.a('node.height', 24.33138*_ratio.ratioY);
- Node175.a('node.type', Node175type);
- Node175.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node175.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node175.a('node.gradientcolor', '');
- Node175.a('node.gradient', '');
- Node175.a('node.borderwidth', Node175BorderWidth);
- Node175.a('node.color', 'rgba(224,224,224,1)');
- Node175.a('node.fillrect', [0,0,0,0]);
- Node175.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node175.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node175.a('node.fillgradient', '');
- if (Node175type !== 'rect') {
- Node175.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node175.a('node.arcTo', parseFloat('@arcTo@'));
- Node175.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node175type === 'arc') {
- Node175.a('node.arcOval', true);
- }
- Node175.setRotation(0*Math.PI/180);
- Node175.borderWidth = Node175BorderWidth;
- Node175.borderFillwidth = Node175BorderWidth;
- dataModel.add(Node175);
- Node175._nodename = 'Node175'
- Node175._nodeType = 'rect';
- zoomNodeList.push({
- node: Node175,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node175, Node175.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176type = 'rect';
- var Node176 = new ht.Node(),
- Node176BorderWidth = 1*2;
- if (Node176type === 'arc') {
- Node176BorderWidth *= 1;
- }
- Node176.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node176type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node176.setPosition(723*ratio.ratioX, 97*ratio.ratioY);
- Node176.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node176.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node176.a('node.width', 65*_ratio.ratioX);
- Node176.a('node.height', 24.33138*_ratio.ratioY);
- Node176.a('node.type', Node176type);
- Node176.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node176.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node176.a('node.gradientcolor', '');
- Node176.a('node.gradient', '');
- Node176.a('node.borderwidth', Node176BorderWidth);
- Node176.a('node.color', 'rgba(224,224,224,1)');
- Node176.a('node.fillrect', [0,0,0,0]);
- Node176.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node176.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node176.a('node.fillgradient', '');
- if (Node176type !== 'rect') {
- Node176.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node176.a('node.arcTo', parseFloat('@arcTo@'));
- Node176.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node176type === 'arc') {
- Node176.a('node.arcOval', true);
- }
- Node176.setRotation(0*Math.PI/180);
- Node176.borderWidth = Node176BorderWidth;
- Node176.borderFillwidth = Node176BorderWidth;
- dataModel.add(Node176);
- Node176._nodename = 'Node176'
- Node176._nodeType = 'rect';
- zoomNodeList.push({
- node: Node176,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node176, Node176.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177type = 'rect';
- var Node177 = new ht.Node(),
- Node177BorderWidth = 1*2;
- if (Node177type === 'arc') {
- Node177BorderWidth *= 1;
- }
- Node177.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node177type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node177.setPosition(723*ratio.ratioX, 122*ratio.ratioY);
- Node177.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node177.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node177.a('node.width', 65*_ratio.ratioX);
- Node177.a('node.height', 24.33136*_ratio.ratioY);
- Node177.a('node.type', Node177type);
- Node177.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node177.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node177.a('node.gradientcolor', '');
- Node177.a('node.gradient', '');
- Node177.a('node.borderwidth', Node177BorderWidth);
- Node177.a('node.color', 'rgba(224,224,224,1)');
- Node177.a('node.fillrect', [0,0,0,0]);
- Node177.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node177.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node177.a('node.fillgradient', '');
- if (Node177type !== 'rect') {
- Node177.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node177.a('node.arcTo', parseFloat('@arcTo@'));
- Node177.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node177type === 'arc') {
- Node177.a('node.arcOval', true);
- }
- Node177.setRotation(0*Math.PI/180);
- Node177.borderWidth = Node177BorderWidth;
- Node177.borderFillwidth = Node177BorderWidth;
- dataModel.add(Node177);
- Node177._nodename = 'Node177'
- Node177._nodeType = 'rect';
- zoomNodeList.push({
- node: Node177,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node177, Node177.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178type = 'rect';
- var Node178 = new ht.Node(),
- Node178BorderWidth = 1*2;
- if (Node178type === 'arc') {
- Node178BorderWidth *= 1;
- }
- Node178.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node178type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node178.setPosition(723*ratio.ratioX, 146*ratio.ratioY);
- Node178.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node178.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node178.a('node.width', 65*_ratio.ratioX);
- Node178.a('node.height', 24.33138*_ratio.ratioY);
- Node178.a('node.type', Node178type);
- Node178.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node178.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node178.a('node.gradientcolor', '');
- Node178.a('node.gradient', '');
- Node178.a('node.borderwidth', Node178BorderWidth);
- Node178.a('node.color', 'rgba(224,224,224,1)');
- Node178.a('node.fillrect', [0,0,0,0]);
- Node178.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node178.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node178.a('node.fillgradient', '');
- if (Node178type !== 'rect') {
- Node178.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node178.a('node.arcTo', parseFloat('@arcTo@'));
- Node178.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node178type === 'arc') {
- Node178.a('node.arcOval', true);
- }
- Node178.setRotation(0*Math.PI/180);
- Node178.borderWidth = Node178BorderWidth;
- Node178.borderFillwidth = Node178BorderWidth;
- dataModel.add(Node178);
- Node178._nodename = 'Node178'
- Node178._nodeType = 'rect';
- zoomNodeList.push({
- node: Node178,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node178, Node178.getImage());_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(724*ratio.ratioX, 51*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 = 'center', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 59*_ratio.ratioX, Node180height = 26*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(724*ratio.ratioX, 75*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(128,128,128,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','万kWh');
- Node180.a('node.textalign','center');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(128,128,128,1)');
- Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '万kWh';
- var color=Node180.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"center",color,' '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'center', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 59*_ratio.ratioX, Node181height = 26*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('万kWh', ' '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(724*ratio.ratioX, 98*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(128,128,128,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','万kWh');
- Node181.a('node.textalign','center');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(128,128,128,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "Arial"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || '万kWh';
- var color=Node181.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 59*_ratio.ratioX, Node182height = 26*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('万kWh', ' '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('万kWh', ' '+ Node182fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "Arial"'))
- Node182.setPosition(724*ratio.ratioX, 124*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(128,128,128,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','万kWh');
- Node182.a('node.textalign','center');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(128,128,128,1)');
- Node182.a('node.font',' '+ 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') || '万kWh';
- var color=Node182.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"center",color,' '+ Node182fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 13.3333*_ratio.ratioY,Node183width = 59*_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('万kWh', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('万kWh', ' '+ Node183fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"'))
- Node183.setPosition(724*ratio.ratioX, 148*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(128,128,128,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','万kWh');
- Node183.a('node.textalign','center');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node183.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"center",color,' '+ Node183fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 11.99997*_ratio.ratioY,Node184width = 53*_ratio.ratioX, Node184height = 20*_ratio.ratioY;
- (function () {
- if (Node184align === 'left') {
- Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
- Node184textWidth = Node184width;
- Node184lineStart = 1;
- } else if (Node184align === 'right') {
- Node184textStart = 0;
- Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
- Node184lineStart = (Node184width - (ht.Default.getTextSize('机', 'bold '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('机', 'bold '+ Node184fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, 'bold '+ Node184fontSize + 'px "Arial"'))
- Node184.setPosition(1349*ratio.ratioX, 85*ratio.ratioY);
- Node184.setWidth(Node184width);
- Node184.setHeight(Node184height);
- Node184._nodeType = 'text';
- Node184._disallowEvert = true;
- Node184.setRotation(0*Math.PI/180);
- Node184.a('node.width', Node184width);
- Node184.a('node.height', Node184height);
- Node184.a('node.rect', [0, 0, Node184width, Node184height]);
- Node184.a('node.bordercolor','rgba(255,255,255,1)');
- Node184.a('node.borderwidth', 0);
- Node184.a('node.background','' || 'rgba(0,0,0,0)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','');
- Node184.a('node.text','机');
- Node184.a('node.textalign','left');
- Node184.a('node.textvAlign','middle');
- Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
- Node184.a('node.color','rgba(255,255,255,1)');
- Node184.a('node.font','bold '+ Node184fontSize + 'px "Arial"');
- Node184.a('node.textvisible',true);
- Node184.a('node.linefeed',false);
- if (false) {
- Node184.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node184.a('node.text') || '机';
- var color=Node184.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node184width,Node184height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node184fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
- Node184.a('node.underlinevisible',false);
- Node184.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node184);
- zoomNodeList.push({
- node: Node184,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.Node();
- var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 11.99997*_ratio.ratioY,Node185width = 53*_ratio.ratioX, Node185height = 20*_ratio.ratioY;
- (function () {
- if (Node185align === 'left') {
- Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9;
- Node185textWidth = Node185width;
- Node185lineStart = 1;
- } else if (Node185align === 'right') {
- Node185textStart = 0;
- Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2;
- Node185lineStart = (Node185width - (ht.Default.getTextSize('状', 'bold '+ Node185fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node185align === 'center') {
- Node185textStart = -3;
- Node185textWidth = Node185width;
- Node185lineStart = Node185width - ht.Default.getTextSize('状', 'bold '+ Node185fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, 'bold '+ Node185fontSize + 'px "Arial"'))
- Node185.setPosition(1349*ratio.ratioX, 108*ratio.ratioY);
- Node185.setWidth(Node185width);
- Node185.setHeight(Node185height);
- Node185._nodeType = 'text';
- Node185._disallowEvert = true;
- Node185.setRotation(0*Math.PI/180);
- Node185.a('node.width', Node185width);
- Node185.a('node.height', Node185height);
- Node185.a('node.rect', [0, 0, Node185width, Node185height]);
- Node185.a('node.bordercolor','rgba(255,255,255,1)');
- Node185.a('node.borderwidth', 0);
- Node185.a('node.background','' || 'rgba(0,0,0,0)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','');
- Node185.a('node.text','状');
- Node185.a('node.textalign','left');
- Node185.a('node.textvAlign','middle');
- Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]);
- Node185.a('node.color','rgba(255,255,255,1)');
- Node185.a('node.font','bold '+ Node185fontSize + 'px "Arial"');
- Node185.a('node.textvisible',true);
- Node185.a('node.linefeed',false);
- if (false) {
- Node185.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node185.a('node.text') || '状';
- var color=Node185.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node185width,Node185height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node185fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node185.a('node.underlinepoints',[Node185lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node185fontSize + 'px "Arial"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]);
- Node185.a('node.underlinevisible',false);
- Node185.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node185);
- zoomNodeList.push({
- node: Node185,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 11.99997*_ratio.ratioY,Node186width = 53*_ratio.ratioX, Node186height = 20*_ratio.ratioY;
- (function () {
- if (Node186align === 'left') {
- Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
- Node186textWidth = Node186width;
- Node186lineStart = 1;
- } else if (Node186align === 'right') {
- Node186textStart = 0;
- Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
- Node186lineStart = (Node186width - (ht.Default.getTextSize('态', 'bold '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('态', 'bold '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, 'bold '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(1349*ratio.ratioX, 130*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(255,255,255,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','态');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(255,255,255,1)');
- Node186.a('node.font','bold '+ Node186fontSize + 'px "Arial"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '态';
- var color=Node186.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node186width,Node186height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node186fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
- Node186.a('node.underlinevisible',false);
- Node186.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node186);
- zoomNodeList.push({
- node: Node186,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187 = new ht.Node();
- var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'center', Node187fontSize = 14.66663*_ratio.ratioY,Node187width = 67*_ratio.ratioX, Node187height = 26*_ratio.ratioY;
- (function () {
- if (Node187align === 'left') {
- Node187textStart = Node187fontSize * 0.2 > 2 ? Node187fontSize * 0.2 - 4 : Node187fontSize * 0.2 - 9;
- Node187textWidth = Node187width;
- Node187lineStart = 1;
- } else if (Node187align === 'right') {
- Node187textStart = 0;
- Node187textWidth =Node187fontSize <= 8 ? Node187width + Node187fontSize * 0.2 + 6 : Node187width - Node187fontSize * 0.2;
- Node187lineStart = (Node187width - (ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"'))
- Node187.setPosition(1592*ratio.ratioX, 83*ratio.ratioY);
- Node187.setWidth(Node187width);
- Node187.setHeight(Node187height);
- Node187._nodeType = 'text';
- Node187._disallowEvert = true;
- Node187.setRotation(0*Math.PI/180);
- Node187.a('node.width', Node187width);
- Node187.a('node.height', Node187height);
- Node187.a('node.rect', [0, 0, Node187width, Node187height]);
- Node187.a('node.bordercolor','rgba(105,105,105,1)');
- Node187.a('node.borderwidth', 0);
- Node187.a('node.background','' || 'rgba(0,0,0,0)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','');
- Node187.a('node.text','台');
- Node187.a('node.textalign','center');
- Node187.a('node.textvAlign','middle');
- Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
- Node187.a('node.color','rgba(105,105,105,1)');
- Node187.a('node.font',' '+ Node187fontSize + 'px "Arial"');
- Node187.a('node.textvisible',true);
- Node187.a('node.linefeed',false);
- if (false) {
- Node187.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node187.a('node.text') || '台';
- var color=Node187.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node187width,Node187height,14.66663*_ratio.ratioY,"center",color,' '+ Node187fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node187.a('node.underlinepoints',[Node187lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "Arial"').width + 6, (Node187height - Node187fontSize) * 0.5*_ratio.ratioY + Node187fontSize + 2 ]);
- Node187.a('node.underlinevisible',false);
- Node187.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node187);
- zoomNodeList.push({
- node: Node187,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node188;
- (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');
- Node188 = new ht.Node();
- Node188.setPosition(1481*ratio.ratioX, 67*ratio.ratioY);
- Node188.setSize(9*ratioX, 60*ratioY);
- Node188.setImage('imgimage//page_list_box_left_blue.jpg');
- Node188.setRotation(0*Math.PI/180);
- Node188._zoomBy = 'Default';
- Node188._nodeType = 'image';
- Node188._disallowEvert = true;
- dataModel.add(Node188);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189type = 'rect';
- var Node189 = new ht.Node(),
- Node189BorderWidth = 1*2;
- if (Node189type === 'arc') {
- Node189BorderWidth *= 1;
- }
- Node189.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node189type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node189.setPosition(1550*ratio.ratioX, 67*ratio.ratioY);
- Node189.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node189.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node189.a('node.width', 127*_ratio.ratioX);
- Node189.a('node.height', 60.81538*_ratio.ratioY);
- Node189.a('node.type', Node189type);
- Node189.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node189.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node189.a('node.gradientcolor', '');
- Node189.a('node.gradient', '');
- Node189.a('node.borderwidth', Node189BorderWidth);
- Node189.a('node.color', 'rgba(128,128,128,1)');
- Node189.a('node.fillrect', [0,0,0,0]);
- Node189.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node189.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node189.a('node.fillgradient', '');
- if (Node189type !== 'rect') {
- Node189.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node189.a('node.arcTo', parseFloat('@arcTo@'));
- Node189.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node189type === 'arc') {
- Node189.a('node.arcOval', true);
- }
- Node189.setRotation(0*Math.PI/180);
- Node189.borderWidth = Node189BorderWidth;
- Node189.borderFillwidth = Node189BorderWidth;
- dataModel.add(Node189);
- Node189._nodename = 'Node189'
- Node189._nodeType = 'rect';
- zoomNodeList.push({
- node: Node189,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node189, Node189.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190 = new ht.Node();
- var Node190textStart, Node190textWidth, Node190lineStart, Node190align = 'left', Node190fontSize = 15.99996*_ratio.ratioY,Node190width = 29*_ratio.ratioX, Node190height = 25*_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('0', ' '+ Node190fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node190align === 'center') {
- Node190textStart = -3;
- Node190textWidth = Node190width;
- Node190lineStart = Node190width - ht.Default.getTextSize('0', ' '+ Node190fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node190.setImage(GD.getTextJSON(Node190width, Node190height, true, false, false, ' '+ Node190fontSize + 'px "Arial"'))
- Node190.setPosition(1513*ratio.ratioX, 82*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','0');
- 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',' '+ 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') || '0';
- var color=Node190.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node190width,Node190height,15.99996*_ratio.ratioY,"left",color,' '+ Node190fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node190.a('node.underlinepoints',[Node190lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node190fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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'
- }); var Node191;
- (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');
- Node191 = new ht.Node();
- Node191.setPosition(1757*ratio.ratioX, 67*ratio.ratioY);
- Node191.setSize(9*ratioX, 60*ratioY);
- Node191.setImage('imgimage//page_list_box_left_red.jpg');
- Node191.setRotation(0*Math.PI/180);
- Node191._zoomBy = 'Default';
- Node191._nodeType = 'image';
- Node191._disallowEvert = true;
- dataModel.add(Node191);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192 = new ht.Node();
- var Node192textStart, Node192textWidth, Node192lineStart, Node192align = 'left', Node192fontSize = 15.99996*_ratio.ratioY,Node192width = 29*_ratio.ratioX, Node192height = 25*_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('0', ' '+ Node192fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node192align === 'center') {
- Node192textStart = -3;
- Node192textWidth = Node192width;
- Node192lineStart = Node192width - ht.Default.getTextSize('0', ' '+ Node192fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node192.setImage(GD.getTextJSON(Node192width, Node192height, true, false, false, ' '+ Node192fontSize + 'px "Arial"'))
- Node192.setPosition(1789*ratio.ratioX, 82*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','0');
- 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 "Arial"');
- 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') || '0';
- var color=Node192.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node192width,Node192height,15.99996*_ratio.ratioY,"left",color,' '+ Node192fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node192.a('node.underlinepoints',[Node192lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node192fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node192fontSize + 'px "Arial"').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'
- }); var Node193;
- (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');
- Node193 = new ht.Node();
- Node193.setPosition(1757*ratio.ratioX, 128*ratio.ratioY);
- Node193.setSize(9*ratioX, 60*ratioY);
- Node193.setImage('imgimage//page_list_box_left_black.jpg');
- Node193.setRotation(0*Math.PI/180);
- Node193._zoomBy = 'Default';
- Node193._nodeType = 'image';
- Node193._disallowEvert = true;
- dataModel.add(Node193);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.Node();
- var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 47*_ratio.ratioX, Node194height = 38*_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('离线', 'bold '+ Node194fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node194align === 'center') {
- Node194textStart = -3;
- Node194textWidth = Node194width;
- Node194lineStart = Node194width - ht.Default.getTextSize('离线', 'bold '+ Node194fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, 'bold '+ Node194fontSize + 'px "Arial"'))
- Node194.setPosition(1788*ratio.ratioX, 111*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','left');
- 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','bold '+ Node194fontSize + 'px "Arial"');
- 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,"left",color,'bold '+ Node194fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node194.a('node.underlinepoints',[Node194lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node194fontSize + 'px "Arial"').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 = 'left', Node195fontSize = 15.99996*_ratio.ratioY,Node195width = 29*_ratio.ratioX, Node195height = 25*_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('0', ' '+ Node195fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195align === 'center') {
- Node195textStart = -3;
- Node195textWidth = Node195width;
- Node195lineStart = Node195width - ht.Default.getTextSize('0', ' '+ Node195fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, ' '+ Node195fontSize + 'px "Arial"'))
- Node195.setPosition(1789*ratio.ratioX, 143*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','0');
- Node195.a('node.textalign','left');
- 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 "Arial"');
- 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') || '0';
- var color=Node195.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node195width,Node195height,15.99996*_ratio.ratioY,"left",color,' '+ Node195fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195.a('node.underlinepoints',[Node195lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node195fontSize + 'px "Arial"').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 = 'center', Node196fontSize = 13.3333*_ratio.ratioY,Node196width = 110*_ratio.ratioX, Node196height = 26*_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('年性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node196align === 'center') {
- Node196textStart = -3;
- Node196textWidth = Node196width;
- Node196lineStart = Node196width - ht.Default.getTextSize('年性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node196.setImage(GD.getTextJSON(Node196width, Node196height, true, false, false, ' '+ Node196fontSize + 'px "微软雅黑"'))
- Node196.setPosition(1098*ratio.ratioX, 147*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','center');
- 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',' '+ Node196fontSize + 'px "微软雅黑"');
- 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,"center",color,' '+ Node196fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node196.a('node.underlinepoints',[Node196lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node196fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node196fontSize + 'px "微软雅黑"').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 = 'center', Node197fontSize = 13.3333*_ratio.ratioY,Node197width = 110*_ratio.ratioX, Node197height = 26*_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('月性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('月性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "微软雅黑"'))
- Node197.setPosition(817*ratio.ratioX, 147*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','center');
- 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',' '+ Node197fontSize + 'px "微软雅黑"');
- 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,"center",color,' '+ Node197fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node197fontSize + 'px "微软雅黑"').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 = 'center', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 113*_ratio.ratioX, Node198height = 26*_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('日性能损失电量', ' '+ Node198fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('日性能损失电量', ' '+ Node198fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "微软雅黑"'))
- Node198.setPosition(537*ratio.ratioX, 147*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','rgba(255,255,255,0)');
- Node198.a('node.text','日性能损失电量');
- Node198.a('node.textalign','center');
- 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',' '+ Node198fontSize + 'px "微软雅黑"');
- 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,"center",color,' '+ Node198fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node198fontSize + 'px "微软雅黑"').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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.Node();
- var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'left', Node199fontSize = 13.3333*_ratio.ratioY,Node199width = 47*_ratio.ratioX, Node199height = 38*_ratio.ratioY;
- (function () {
- if (Node199align === 'left') {
- Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9;
- Node199textWidth = Node199width;
- Node199lineStart = 1;
- } else if (Node199align === 'right') {
- Node199textStart = 0;
- Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2;
- Node199lineStart = (Node199width - (ht.Default.getTextSize('运行', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node199align === 'center') {
- Node199textStart = -3;
- Node199textWidth = Node199width;
- Node199lineStart = Node199width - ht.Default.getTextSize('运行', 'bold '+ Node199fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"'))
- Node199.setPosition(1512*ratio.ratioX, 51*ratio.ratioY);
- Node199.setWidth(Node199width);
- Node199.setHeight(Node199height);
- Node199._nodeType = 'text';
- Node199._disallowEvert = true;
- Node199.setRotation(0*Math.PI/180);
- Node199.a('node.width', Node199width);
- Node199.a('node.height', Node199height);
- Node199.a('node.rect', [0, 0, Node199width, Node199height]);
- Node199.a('node.bordercolor','rgba(0,0,0,1)');
- Node199.a('node.borderwidth', 0);
- Node199.a('node.background','' || 'rgba(0,0,0,0)');
- Node199.a('node.gradient','');
- Node199.a('node.gradientcolor','');
- Node199.a('node.text','运行');
- Node199.a('node.textalign','left');
- Node199.a('node.textvAlign','middle');
- Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]);
- Node199.a('node.color','rgba(0,0,0,1)');
- Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"');
- Node199.a('node.textvisible',true);
- Node199.a('node.linefeed',false);
- if (false) {
- Node199.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node199.a('node.text') || '运行';
- var color=Node199.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node199width,Node199height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node199.a('node.underlinepoints',[Node199lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
- Node199.a('node.underlinevisible',false);
- Node199.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node199);
- zoomNodeList.push({
- node: Node199,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.Node();
- var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 13.3333*_ratio.ratioY,Node200width = 47*_ratio.ratioX, Node200height = 38*_ratio.ratioY;
- (function () {
- if (Node200align === 'left') {
- Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9;
- Node200textWidth = Node200width;
- Node200lineStart = 1;
- } else if (Node200align === 'right') {
- Node200textStart = 0;
- Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2;
- Node200lineStart = (Node200width - (ht.Default.getTextSize('待机', 'bold '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node200align === 'center') {
- Node200textStart = -3;
- Node200textWidth = Node200width;
- Node200lineStart = Node200width - ht.Default.getTextSize('待机', 'bold '+ Node200fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, 'bold '+ Node200fontSize + 'px "Arial"'))
- Node200.setPosition(1650*ratio.ratioX, 51*ratio.ratioY);
- Node200.setWidth(Node200width);
- Node200.setHeight(Node200height);
- Node200._nodeType = 'text';
- Node200._disallowEvert = true;
- Node200.setRotation(0*Math.PI/180);
- Node200.a('node.width', Node200width);
- Node200.a('node.height', Node200height);
- Node200.a('node.rect', [0, 0, Node200width, Node200height]);
- Node200.a('node.bordercolor','rgba(0,0,0,1)');
- Node200.a('node.borderwidth', 0);
- Node200.a('node.background','' || 'rgba(0,0,0,0)');
- Node200.a('node.gradient','');
- Node200.a('node.gradientcolor','');
- Node200.a('node.text','待机');
- Node200.a('node.textalign','left');
- Node200.a('node.textvAlign','middle');
- Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]);
- Node200.a('node.color','rgba(0,0,0,1)');
- Node200.a('node.font','bold '+ Node200fontSize + 'px "Arial"');
- Node200.a('node.textvisible',true);
- Node200.a('node.linefeed',false);
- if (false) {
- Node200.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node200.a('node.text') || '待机';
- var color=Node200.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node200width,Node200height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node200fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node200.a('node.underlinepoints',[Node200lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]);
- Node200.a('node.underlinevisible',false);
- Node200.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node200);
- zoomNodeList.push({
- node: Node200,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node201 = new ht.Node();
- var Node201textStart, Node201textWidth, Node201lineStart, Node201align = 'left', Node201fontSize = 13.3333*_ratio.ratioY,Node201width = 47*_ratio.ratioX, Node201height = 38*_ratio.ratioY;
- (function () {
- if (Node201align === 'left') {
- Node201textStart = Node201fontSize * 0.2 > 2 ? Node201fontSize * 0.2 - 4 : Node201fontSize * 0.2 - 9;
- Node201textWidth = Node201width;
- Node201lineStart = 1;
- } else if (Node201align === 'right') {
- Node201textStart = 0;
- Node201textWidth =Node201fontSize <= 8 ? Node201width + Node201fontSize * 0.2 + 6 : Node201width - Node201fontSize * 0.2;
- Node201lineStart = (Node201width - (ht.Default.getTextSize('故障', 'bold '+ Node201fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node201align === 'center') {
- Node201textStart = -3;
- Node201textWidth = Node201width;
- Node201lineStart = Node201width - ht.Default.getTextSize('故障', 'bold '+ Node201fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node201.setImage(GD.getTextJSON(Node201width, Node201height, true, false, false, 'bold '+ Node201fontSize + 'px "Arial"'))
- Node201.setPosition(1788*ratio.ratioX, 51*ratio.ratioY);
- Node201.setWidth(Node201width);
- Node201.setHeight(Node201height);
- Node201._nodeType = 'text';
- Node201._disallowEvert = true;
- Node201.setRotation(0*Math.PI/180);
- Node201.a('node.width', Node201width);
- Node201.a('node.height', Node201height);
- Node201.a('node.rect', [0, 0, Node201width, Node201height]);
- Node201.a('node.bordercolor','rgba(0,0,0,1)');
- Node201.a('node.borderwidth', 0);
- Node201.a('node.background','' || 'rgba(0,0,0,0)');
- Node201.a('node.gradient','');
- Node201.a('node.gradientcolor','');
- Node201.a('node.text','故障');
- Node201.a('node.textalign','left');
- Node201.a('node.textvAlign','middle');
- Node201.a('node.textrect', [Node201textStart, 0, Node201textWidth, Node201height]);
- Node201.a('node.color','rgba(0,0,0,1)');
- Node201.a('node.font','bold '+ Node201fontSize + 'px "Arial"');
- Node201.a('node.textvisible',true);
- Node201.a('node.linefeed',false);
- if (false) {
- Node201.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node201.a('node.text') || '故障';
- var color=Node201.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node201width,Node201height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node201fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node201.a('node.underlinepoints',[Node201lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node201fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node201fontSize + 'px "Arial"').width + 6, (Node201height - Node201fontSize) * 0.5*_ratio.ratioY + Node201fontSize + 2 ]);
- Node201.a('node.underlinevisible',false);
- Node201.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node201);
- zoomNodeList.push({
- node: Node201,
- 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((0 )){Node13.s('2d.visible',true);}else{Node13.s('2d.visible',false);}
- if((0 )){Node15.s('2d.visible',true);}else{Node15.s('2d.visible',false);}
- if((0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}
- if((0 )){Node19.s('2d.visible',true);}else{Node19.s('2d.visible',false);}
- if((0 )){Node21.s('2d.visible',true);}else{Node21.s('2d.visible',false);}
- if((0 )){Node23.s('2d.visible',true);}else{Node23.s('2d.visible',false);}
- if((0 )){Node25.s('2d.visible',true);}else{Node25.s('2d.visible',false);}
- if((0 )){Node27.s('2d.visible',true);}else{Node27.s('2d.visible',false);}
- if(typeof(Node29.borderWidth)!="undefined"){setDashStyle(Node29,"Node29",'NoDash',Node29.borderWidth);}
- if(typeof(Node31.borderWidth)!="undefined"){setDashStyle(Node31,"Node31",'NoDash',Node31.borderWidth);}
- if(typeof(Node33.borderWidth)!="undefined"){setDashStyle(Node33,"Node33",'NoDash',Node33.borderWidth);}
- if(typeof(Node35.borderWidth)!="undefined"){setDashStyle(Node35,"Node35",'NoDash',Node35.borderWidth);}
- /*@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++;
- Node57.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0004') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0009') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0129') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0130') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0131') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0171') ),-1));
- Node63.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0130') ),-1));
- Node67.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0004') ),-1));
- Node72.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0131') ),-1));
- Node100.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0144') ),-1));
- Node101.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0140') ),-1));
- Node102.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0168') ),-1));
- Node103.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0160') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0164') ),-1));
- Node104.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0196') ),-1));
- Node129.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0038') ),-1));
- Node130.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0034') ),-1));
- Node131.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0065') ),-1));
- Node132.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0061WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0054') ),-1));
- Node133.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0188') ),-1));
- Node149.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_WNS_JS_XX_XX_XXX_CI0002') ),-1));
- Node150.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0125') ),-1));
- Node151.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0124') ),-1));
- Node152.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0077') ),-1));
- Node153.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0126') ),-1));
- Node169.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0089') ),-1));
- Node170.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0085') ),-1));
- Node171.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0116') ),-1));
- Node172.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0112') + getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0108') ),-1));
- Node173.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0192') ),-1));
- Node190.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0171') ),-1));
- Node192.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0009') ),-1));
- Node195.a('node.text',GetDital((getVarValue('WNS_FC_JSD.SX_GD_WNSF_JS_XX_XX_XXX__CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((A==0)>0 )){Node1_0.s('2d.visible',true);}else{Node1_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node1_1.s('2d.visible',true);}else{Node1_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node2_0.s('2d.visible',true);}else{Node2_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node2_1.s('2d.visible',true);}else{Node2_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node3_0.s('2d.visible',true);}else{Node3_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node3_1.s('2d.visible',true);}else{Node3_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node4_0.s('2d.visible',true);}else{Node4_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node4_1.s('2d.visible',true);}else{Node4_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node5_0.s('2d.visible',true);}else{Node5_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node5_1.s('2d.visible',true);}else{Node5_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node6_0.s('2d.visible',true);}else{Node6_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node6_1.s('2d.visible',true);}else{Node6_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node7_0.s('2d.visible',true);}else{Node7_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node7_1.s('2d.visible',true);}else{Node7_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node8_0.s('2d.visible',true);}else{Node8_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node8_1.s('2d.visible',true);}else{Node8_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node9_0.s('2d.visible',true);}else{Node9_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node9_1.s('2d.visible',true);}else{Node9_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node10_0.s('2d.visible',true);}else{Node10_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node10_1.s('2d.visible',true);}else{Node10_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node11_0.s('2d.visible',true);}else{Node11_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node11_1.s('2d.visible',true);}else{Node11_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node12_0.s('2d.visible',true);}else{Node12_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node12_1.s('2d.visible',true);}else{Node12_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==1)>0 )){Node13.s('2d.visible',true);}else{Node13.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node14.s('2d.visible',true);}else{Node14.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node15.s('2d.visible',true);}else{Node15.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node16.s('2d.visible',true);}else{Node16.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node17.s('2d.visible',true);}else{Node17.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node18.s('2d.visible',true);}else{Node18.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node19.s('2d.visible',true);}else{Node19.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node20.s('2d.visible',true);}else{Node20.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node21.s('2d.visible',true);}else{Node21.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node22.s('2d.visible',true);}else{Node22.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node23.s('2d.visible',true);}else{Node23.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node24.s('2d.visible',true);}else{Node24.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node25.s('2d.visible',true);}else{Node25.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node26.s('2d.visible',true);}else{Node26.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node27.s('2d.visible',true);}else{Node27.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node28.s('2d.visible',true);}else{Node28.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 === Node4_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node4_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node5_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node5_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node7_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node7_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node8_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node8_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node9_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node9_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node12_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node12_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_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node15){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 === Node17){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node19){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 === Node21){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 === Node23){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node4_0&& objMouseOn===Node4_0){D=0; }
- if(data !== Node4_1&& objMouseOn===Node4_1){D=0; }
- if(data !== Node5_0&& objMouseOn===Node5_0){E=0; }
- if(data !== Node5_1&& objMouseOn===Node5_1){E=0; }
- if(data !== Node7_0&& objMouseOn===Node7_0){A=0; }
- if(data !== Node7_1&& objMouseOn===Node7_1){A=0; }
- if(data !== Node8_0&& objMouseOn===Node8_0){B=0; }
- if(data !== Node8_1&& objMouseOn===Node8_1){B=0; }
- if(data !== Node9_0&& objMouseOn===Node9_0){C=0; }
- if(data !== Node9_1&& objMouseOn===Node9_1){C=0; }
- if(data !== Node12_0&& objMouseOn===Node12_0){F=0; }
- if(data !== Node12_1&& objMouseOn===Node12_1){F=0; }
- if(data !== Node13&& objMouseOn===Node13){sxxny=0; }
- if(data !== Node15&& objMouseOn===Node15){yygjb=0; }
- if(data !== Node17&& objMouseOn===Node17){plhts=0; }
- if(data !== Node19&& objMouseOn===Node19){tqwns=0; }
- if(data !== Node21&& objMouseOn===Node21){gljf=0; }
- if(data !== Node23&& objMouseOn===Node23){hyfy=0; }
- if(data !== Node25&& objMouseOn===Node25){llbts=0; }
- if(data !== Node27&& objMouseOn===Node27){ygcls=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node1_0){A=1; }
- if(data === Node1_1){A=1; }
- if(data === Node2_0){B=1; }
- if(data === Node2_1){B=1; }
- if(data === Node3_0){C=1; }
- if(data === Node3_1){C=1; }
- if(data === Node6_0){F=1; }
- if(data === Node6_1){F=1; }
- if(data === Node10_0){D=1; }
- if(data === Node10_1){D=1; }
- if(data === Node11_0){E=1; }
- if(data === Node11_1){E=1; }
- if(data === Node14){sxxny=1; }
- if(data === Node16){yygjb=1; }
- if(data === Node18){plhts=1; }
- if(data === Node20){tqwns=1; }
- if(data === Node22){gljf=1; }
- if(data === Node24){hyfy=1; }
- if(data === Node26){llbts=1; }
- if(data === Node28){ygcls=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|