12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012 |
- /*@WebApiFunc@*/
- var varList = ['HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0126','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0192','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0188','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0196','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0004','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0009','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0129','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0130','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0131','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0171','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0144','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0140','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0168','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0160','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0164','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0038','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0034','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0065','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0054','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0061','GS_JCD.LN_GD_HY_JS_XX_XX_XXX_CI0006','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0125','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0124','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0077','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0089','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0085','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0116','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0108','HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0112'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
-
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 29 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(245,245,245,1)';
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 944*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(245,245,245,1)');
- PageBackground.a('node.gradientcolor', 'rgba(245,245,245,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});var Node0_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//cefeng_bg_a0.png', PAGEROOTDIR + 'image//cefeng_bg_a0.png');
- Node0_0 = new ht.Node();
- Node0_0.setPosition(770*ratio.ratioX, 513*ratio.ratioY);
- Node0_0.setSize(1455*ratioX, 691*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(781*ratio.ratioX, 516*ratio.ratioY);
- Node0_1.setSize(757*ratioX, 680*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(1536*ratio.ratioX, 194*ratio.ratioY);
- Node0_2.setSize(76*ratioX, 55*ratioY);
- Node0_2.setImage('imgimage//page_cft_icon10.png');
- Node0_2.setRotation(0*Math.PI/180);
- Node0_2._zoomBy = 'Default';
- Node0_2._nodeType = 'image';
- Node0_2._disallowEvert = true;
- dataModel.add(Node0_2);
- })();
- var Node0_3;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_cft_icon20.png', PAGEROOTDIR + 'image//page_cft_icon20.png');
- Node0_3 = new ht.Node();
- Node0_3.setPosition(1536*ratio.ratioX, 252*ratio.ratioY);
- Node0_3.setSize(76*ratioX, 55*ratioY);
- Node0_3.setImage('imgimage//page_cft_icon20.png');
- Node0_3.setRotation(0*Math.PI/180);
- Node0_3._zoomBy = 'Default';
- Node0_3._nodeType = 'image';
- Node0_3._disallowEvert = true;
- dataModel.add(Node0_3);
- })();
- var Node0_4;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_cft_icon30.png', PAGEROOTDIR + 'image//page_cft_icon30.png');
- Node0_4 = new ht.Node();
- Node0_4.setPosition(1537*ratio.ratioX, 309*ratio.ratioY);
- Node0_4.setSize(76*ratioX, 55*ratioY);
- Node0_4.setImage('imgimage//page_cft_icon30.png');
- Node0_4.setRotation(0*Math.PI/180);
- Node0_4._zoomBy = 'Default';
- Node0_4._nodeType = 'image';
- Node0_4._disallowEvert = true;
- dataModel.add(Node0_4);
- })();
- var Node0_5;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_cft10.png', PAGEROOTDIR + 'image//page_cft10.png');
- Node0_5 = new ht.Node();
- Node0_5.setPosition(1713*ratio.ratioX, 468*ratio.ratioY);
- Node0_5.setSize(350*ratioX, 259*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(1518*ratio.ratioX, 468*ratio.ratioY);
- Node0_6.setSize(39*ratioX, 259*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(390.6577*_ratio.ratioX, 56.81805*_ratio.ratioY, Node0_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_7.setPosition(1693*ratio.ratioX, 194*ratio.ratioY);
- Node0_7.setSize(390.6577*_ratio.ratioX, 56.81805*_ratio.ratioY);
- Node0_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_7.a('node.width', 390.6577*_ratio.ratioX);
- Node0_7.a('node.height', 56.81805*_ratio.ratioY);
- Node0_7.a('node.type', Node0_7type);
- Node0_7.a('node.rect', [0, 0, 390.6577*_ratio.ratioX, 56.81805*_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(390.6577*_ratio.ratioX, 56.81807*_ratio.ratioY, Node0_8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_8.setPosition(1693*ratio.ratioX, 252*ratio.ratioY);
- Node0_8.setSize(390.6577*_ratio.ratioX, 56.81807*_ratio.ratioY);
- Node0_8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_8.a('node.width', 390.6577*_ratio.ratioX);
- Node0_8.a('node.height', 56.81807*_ratio.ratioY);
- Node0_8.a('node.type', Node0_8type);
- Node0_8.a('node.rect', [0, 0, 390.6577*_ratio.ratioX, 56.81807*_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(390.6577*_ratio.ratioX, 56.81805*_ratio.ratioY, Node0_9type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_9.setPosition(1693*ratio.ratioX, 309*ratio.ratioY);
- Node0_9.setSize(390.6577*_ratio.ratioX, 56.81805*_ratio.ratioY);
- Node0_9.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_9.a('node.width', 390.6577*_ratio.ratioX);
- Node0_9.a('node.height', 56.81805*_ratio.ratioY);
- Node0_9.a('node.type', Node0_9type);
- Node0_9.a('node.rect', [0, 0, 390.6577*_ratio.ratioX, 56.81805*_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(1623*ratio.ratioX, 198*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(1625*ratio.ratioX, 255*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 = 24*_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(1625*ratio.ratioX, 313*ratio.ratioY);
- Node0_12.setWidth(Node0_12width);
- Node0_12.setHeight(Node0_12height);
- Node0_12._nodeType = 'text';
- Node0_12._disallowEvert = true;
- Node0_12.setRotation(0*Math.PI/180);
- Node0_12.a('node.width', Node0_12width);
- Node0_12.a('node.height', Node0_12height);
- Node0_12.a('node.rect', [0, 0, Node0_12width, Node0_12height]);
- Node0_12.a('node.bordercolor','rgba(128,0,128,1)');
- Node0_12.a('node.borderwidth', 0);
- Node0_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_12.a('node.gradient','');
- Node0_12.a('node.gradientcolor','');
- Node0_12.a('node.text','湿度');
- Node0_12.a('node.textalign','left');
- Node0_12.a('node.textvAlign','middle');
- Node0_12.a('node.textrect', [Node0_12textStart, 0, Node0_12textWidth, Node0_12height]);
- Node0_12.a('node.color','rgba(128,0,128,1)');
- Node0_12.a('node.font',' '+ Node0_12fontSize + 'px "Arial"');
- Node0_12.a('node.textvisible',true);
- Node0_12.a('node.linefeed',false);
- if (false) {
- Node0_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_12.a('node.text') || '湿度';
- var color=Node0_12.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node0_12width,Node0_12height,18.66662*_ratio.ratioY,"left",color,' '+ Node0_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_12.a('node.underlinepoints',[Node0_12lineStart, (24 - 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=[1906, 160,1906, 160],
- Node0_13rect=ht.Default.unionPoint([{x:1906,y:160},{x:1906,y:160}]),
- 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(1518*ratio.ratioX, 728*ratio.ratioY);
- Node0_14.setSize(39*ratioX, 259*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(1713*ratio.ratioX, 726*ratio.ratioY);
- Node0_15.setSize(350*ratioX, 259*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(390.6577*_ratio.ratioX, 259.5997*_ratio.ratioY, Node0_16type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_16.setPosition(1694*ratio.ratioX, 469*ratio.ratioY);
- Node0_16.setSize(390.6577*_ratio.ratioX, 259.5997*_ratio.ratioY);
- Node0_16.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_16.a('node.width', 390.6577*_ratio.ratioX);
- Node0_16.a('node.height', 259.5997*_ratio.ratioY);
- Node0_16.a('node.type', Node0_16type);
- Node0_16.a('node.rect', [0, 0, 390.6577*_ratio.ratioX, 259.5997*_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(390.6577*_ratio.ratioX, 259.5997*_ratio.ratioY, Node0_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_17.setPosition(1694*ratio.ratioX, 729*ratio.ratioY);
- Node0_17.setSize(390.6577*_ratio.ratioX, 259.5997*_ratio.ratioY);
- Node0_17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_17.a('node.width', 390.6577*_ratio.ratioX);
- Node0_17.a('node.height', 259.5997*_ratio.ratioY);
- Node0_17.a('node.type', Node0_17type);
- Node0_17.a('node.rect', [0, 0, 390.6577*_ratio.ratioX, 259.5997*_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 = 200*_ratio.ratioX, Node0_18height = 555*_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(1607*ratio.ratioX, 466*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, (555 - 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 = 288*_ratio.ratioX, Node0_19height = 800*_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(1651*ratio.ratioX, 721*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, (800 - 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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_20_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_0.setPosition(573*ratio.ratioX, 233*ratio.ratioY);
- Node0_20_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_20_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_20_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_20_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_20_0.a('node.type', Node0_20_0type);
- Node0_20_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_20_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_20_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_20_0.a('node.gradient', '');
- Node0_20_0.a('node.borderwidth', Node0_20_0BorderWidth);
- Node0_20_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_20_0.a('node.fillrect', [0,0,0,0]);
- Node0_20_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_20_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_20_0.a('node.fillgradient', '');
- if (Node0_20_0type !== 'rect') {
- Node0_20_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_20_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_20_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_20_0type === 'arc') {
- Node0_20_0.a('node.arcOval', true);
- }
- Node0_20_0.setRotation(0*Math.PI/180);
- Node0_20_0.borderWidth = Node0_20_0BorderWidth;
- Node0_20_0.borderFillwidth = Node0_20_0BorderWidth;
- dataModel.add(Node0_20_0);
- Node0_20_0._nodename = 'Node0_20_0'
- Node0_20_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_20_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_20_0, Node0_20_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_20_1type = 'rect';
- var Node0_20_1 = new ht.Node(),
- Node0_20_1BorderWidth = 1*2;
- if (Node0_20_1type === 'arc') {
- Node0_20_1BorderWidth *= 1;
- }
- Node0_20_1.setImage(GD.getRectJSON(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_20_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_20_1.setPosition(653*ratio.ratioX, 233*ratio.ratioY);
- Node0_20_1.setSize(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_20_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_20_1.a('node.width', 87.67871*_ratio.ratioX);
- Node0_20_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_20_1.a('node.type', Node0_20_1type);
- Node0_20_1.a('node.rect', [0, 0, 87.67871*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_21_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_0.setPosition(573*ratio.ratioX, 463*ratio.ratioY);
- Node0_21_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_21_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_21_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_21_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_21_0.a('node.type', Node0_21_0type);
- Node0_21_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_21_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_21_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_21_0.a('node.gradient', '');
- Node0_21_0.a('node.borderwidth', Node0_21_0BorderWidth);
- Node0_21_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_21_0.a('node.fillrect', [0,0,0,0]);
- Node0_21_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_21_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_21_0.a('node.fillgradient', '');
- if (Node0_21_0type !== 'rect') {
- Node0_21_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_21_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_21_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_21_0type === 'arc') {
- Node0_21_0.a('node.arcOval', true);
- }
- Node0_21_0.setRotation(0*Math.PI/180);
- Node0_21_0.borderWidth = Node0_21_0BorderWidth;
- Node0_21_0.borderFillwidth = Node0_21_0BorderWidth;
- dataModel.add(Node0_21_0);
- Node0_21_0._nodename = 'Node0_21_0'
- Node0_21_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_21_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_21_0, Node0_21_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_21_1type = 'rect';
- var Node0_21_1 = new ht.Node(),
- Node0_21_1BorderWidth = 1*2;
- if (Node0_21_1type === 'arc') {
- Node0_21_1BorderWidth *= 1;
- }
- Node0_21_1.setImage(GD.getRectJSON(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_21_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_21_1.setPosition(653*ratio.ratioX, 463*ratio.ratioY);
- Node0_21_1.setSize(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_21_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_21_1.a('node.width', 87.67871*_ratio.ratioX);
- Node0_21_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_21_1.a('node.type', Node0_21_1type);
- Node0_21_1.a('node.rect', [0, 0, 87.67871*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_22_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_0.setPosition(573*ratio.ratioX, 387*ratio.ratioY);
- Node0_22_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_22_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_22_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_22_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_22_0.a('node.type', Node0_22_0type);
- Node0_22_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_22_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_22_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_22_0.a('node.gradient', '');
- Node0_22_0.a('node.borderwidth', Node0_22_0BorderWidth);
- Node0_22_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_22_0.a('node.fillrect', [0,0,0,0]);
- Node0_22_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_22_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_22_0.a('node.fillgradient', '');
- if (Node0_22_0type !== 'rect') {
- Node0_22_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_22_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_22_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_22_0type === 'arc') {
- Node0_22_0.a('node.arcOval', true);
- }
- Node0_22_0.setRotation(0*Math.PI/180);
- Node0_22_0.borderWidth = Node0_22_0BorderWidth;
- Node0_22_0.borderFillwidth = Node0_22_0BorderWidth;
- dataModel.add(Node0_22_0);
- Node0_22_0._nodename = 'Node0_22_0'
- Node0_22_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_22_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_22_0, Node0_22_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_22_1type = 'rect';
- var Node0_22_1 = new ht.Node(),
- Node0_22_1BorderWidth = 1*2;
- if (Node0_22_1type === 'arc') {
- Node0_22_1BorderWidth *= 1;
- }
- Node0_22_1.setImage(GD.getRectJSON(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_22_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_22_1.setPosition(653*ratio.ratioX, 387*ratio.ratioY);
- Node0_22_1.setSize(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_22_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_22_1.a('node.width', 87.67871*_ratio.ratioX);
- Node0_22_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_22_1.a('node.type', Node0_22_1type);
- Node0_22_1.a('node.rect', [0, 0, 87.67871*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_23_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_0.setPosition(576*ratio.ratioX, 540*ratio.ratioY);
- Node0_23_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_23_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_23_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_23_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_23_0.a('node.type', Node0_23_0type);
- Node0_23_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_23_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_23_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_23_0.a('node.gradient', '');
- Node0_23_0.a('node.borderwidth', Node0_23_0BorderWidth);
- Node0_23_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_23_0.a('node.fillrect', [0,0,0,0]);
- Node0_23_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_23_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_23_0.a('node.fillgradient', '');
- if (Node0_23_0type !== 'rect') {
- Node0_23_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_23_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_23_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_23_0type === 'arc') {
- Node0_23_0.a('node.arcOval', true);
- }
- Node0_23_0.setRotation(0*Math.PI/180);
- Node0_23_0.borderWidth = Node0_23_0BorderWidth;
- Node0_23_0.borderFillwidth = Node0_23_0BorderWidth;
- dataModel.add(Node0_23_0);
- Node0_23_0._nodename = 'Node0_23_0'
- Node0_23_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_23_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_23_0, Node0_23_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_23_1type = 'rect';
- var Node0_23_1 = new ht.Node(),
- Node0_23_1BorderWidth = 1*2;
- if (Node0_23_1type === 'arc') {
- Node0_23_1BorderWidth *= 1;
- }
- Node0_23_1.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_23_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_23_1.setPosition(656*ratio.ratioX, 540*ratio.ratioY);
- Node0_23_1.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_23_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_23_1.a('node.width', 87.67877*_ratio.ratioX);
- Node0_23_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_23_1.a('node.type', Node0_23_1type);
- Node0_23_1.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_24_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_0.setPosition(576*ratio.ratioX, 616*ratio.ratioY);
- Node0_24_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_24_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_24_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_24_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_24_0.a('node.type', Node0_24_0type);
- Node0_24_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_24_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_24_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_24_0.a('node.gradient', '');
- Node0_24_0.a('node.borderwidth', Node0_24_0BorderWidth);
- Node0_24_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_24_0.a('node.fillrect', [0,0,0,0]);
- Node0_24_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_24_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_24_0.a('node.fillgradient', '');
- if (Node0_24_0type !== 'rect') {
- Node0_24_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_24_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_24_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_24_0type === 'arc') {
- Node0_24_0.a('node.arcOval', true);
- }
- Node0_24_0.setRotation(0*Math.PI/180);
- Node0_24_0.borderWidth = Node0_24_0BorderWidth;
- Node0_24_0.borderFillwidth = Node0_24_0BorderWidth;
- dataModel.add(Node0_24_0);
- Node0_24_0._nodename = 'Node0_24_0'
- Node0_24_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_24_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_24_0, Node0_24_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_24_1type = 'rect';
- var Node0_24_1 = new ht.Node(),
- Node0_24_1BorderWidth = 1*2;
- if (Node0_24_1type === 'arc') {
- Node0_24_1BorderWidth *= 1;
- }
- Node0_24_1.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_24_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_24_1.setPosition(656*ratio.ratioX, 616*ratio.ratioY);
- Node0_24_1.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_24_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_24_1.a('node.width', 87.67877*_ratio.ratioX);
- Node0_24_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_24_1.a('node.type', Node0_24_1type);
- Node0_24_1.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_25_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_0.setPosition(576*ratio.ratioX, 693*ratio.ratioY);
- Node0_25_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_25_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_25_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_25_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_25_0.a('node.type', Node0_25_0type);
- Node0_25_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_25_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_25_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_25_0.a('node.gradient', '');
- Node0_25_0.a('node.borderwidth', Node0_25_0BorderWidth);
- Node0_25_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_25_0.a('node.fillrect', [0,0,0,0]);
- Node0_25_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_25_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_25_0.a('node.fillgradient', '');
- if (Node0_25_0type !== 'rect') {
- Node0_25_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_25_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_25_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_25_0type === 'arc') {
- Node0_25_0.a('node.arcOval', true);
- }
- Node0_25_0.setRotation(0*Math.PI/180);
- Node0_25_0.borderWidth = Node0_25_0BorderWidth;
- Node0_25_0.borderFillwidth = Node0_25_0BorderWidth;
- dataModel.add(Node0_25_0);
- Node0_25_0._nodename = 'Node0_25_0'
- Node0_25_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_25_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_25_0, Node0_25_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_25_1type = 'rect';
- var Node0_25_1 = new ht.Node(),
- Node0_25_1BorderWidth = 1*2;
- if (Node0_25_1type === 'arc') {
- Node0_25_1BorderWidth *= 1;
- }
- Node0_25_1.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_25_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_25_1.setPosition(656*ratio.ratioX, 693*ratio.ratioY);
- Node0_25_1.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_25_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_25_1.a('node.width', 87.67877*_ratio.ratioX);
- Node0_25_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_25_1.a('node.type', Node0_25_1type);
- Node0_25_1.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_26_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_0.setPosition(576*ratio.ratioX, 768*ratio.ratioY);
- Node0_26_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_26_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_26_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_26_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_26_0.a('node.type', Node0_26_0type);
- Node0_26_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_26_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_26_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_26_0.a('node.gradient', '');
- Node0_26_0.a('node.borderwidth', Node0_26_0BorderWidth);
- Node0_26_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_26_0.a('node.fillrect', [0,0,0,0]);
- Node0_26_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_26_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_26_0.a('node.fillgradient', '');
- if (Node0_26_0type !== 'rect') {
- Node0_26_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_26_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_26_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_26_0type === 'arc') {
- Node0_26_0.a('node.arcOval', true);
- }
- Node0_26_0.setRotation(0*Math.PI/180);
- Node0_26_0.borderWidth = Node0_26_0BorderWidth;
- Node0_26_0.borderFillwidth = Node0_26_0BorderWidth;
- dataModel.add(Node0_26_0);
- Node0_26_0._nodename = 'Node0_26_0'
- Node0_26_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_26_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_26_0, Node0_26_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_26_1type = 'rect';
- var Node0_26_1 = new ht.Node(),
- Node0_26_1BorderWidth = 1*2;
- if (Node0_26_1type === 'arc') {
- Node0_26_1BorderWidth *= 1;
- }
- Node0_26_1.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_26_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_26_1.setPosition(656*ratio.ratioX, 768*ratio.ratioY);
- Node0_26_1.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_26_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_26_1.a('node.width', 87.67877*_ratio.ratioX);
- Node0_26_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_26_1.a('node.type', Node0_26_1type);
- Node0_26_1.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_27_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_0.setPosition(573*ratio.ratioX, 311*ratio.ratioY);
- Node0_27_0.setSize(73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_27_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_27_0.a('node.width', 73.06567*_ratio.ratioX);
- Node0_27_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_27_0.a('node.type', Node0_27_0type);
- Node0_27_0.a('node.rect', [0, 0, 73.06567*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_27_0.a('node.background', 'rgba(7,83,187,1)');
- Node0_27_0.a('node.gradientcolor', 'rgba(7,83,187,1)');
- Node0_27_0.a('node.gradient', '');
- Node0_27_0.a('node.borderwidth', Node0_27_0BorderWidth);
- Node0_27_0.a('node.color', 'rgba(0,0,192,1)');
- Node0_27_0.a('node.fillrect', [0,0,0,0]);
- Node0_27_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_27_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_27_0.a('node.fillgradient', '');
- if (Node0_27_0type !== 'rect') {
- Node0_27_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_27_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_27_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_27_0type === 'arc') {
- Node0_27_0.a('node.arcOval', true);
- }
- Node0_27_0.setRotation(0*Math.PI/180);
- Node0_27_0.borderWidth = Node0_27_0BorderWidth;
- Node0_27_0.borderFillwidth = Node0_27_0BorderWidth;
- dataModel.add(Node0_27_0);
- Node0_27_0._nodename = 'Node0_27_0'
- Node0_27_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_27_0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_27_0, Node0_27_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_27_1type = 'rect';
- var Node0_27_1 = new ht.Node(),
- Node0_27_1BorderWidth = 1*2;
- if (Node0_27_1type === 'arc') {
- Node0_27_1BorderWidth *= 1;
- }
- Node0_27_1.setImage(GD.getRectJSON(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_27_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_27_1.setPosition(653*ratio.ratioX, 311*ratio.ratioY);
- Node0_27_1.setSize(87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_27_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_27_1.a('node.width', 87.67871*_ratio.ratioX);
- Node0_27_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_27_1.a('node.type', Node0_27_1type);
- Node0_27_1.a('node.rect', [0, 0, 87.67871*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_27_1.a('node.background', 'rgba(73,129,209,1)');
- Node0_27_1.a('node.gradientcolor', 'rgba(73,129,209,1)');
- Node0_27_1.a('node.gradient', '');
- Node0_27_1.a('node.borderwidth', Node0_27_1BorderWidth);
- Node0_27_1.a('node.color', 'rgba(0,0,255,1)');
- Node0_27_1.a('node.fillrect', [0,0,0,0]);
- Node0_27_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_27_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_27_1.a('node.fillgradient', '');
- if (Node0_27_1type !== 'rect') {
- Node0_27_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_27_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_27_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_27_1type === 'arc') {
- Node0_27_1.a('node.arcOval', true);
- }
- Node0_27_1.setRotation(0*Math.PI/180);
- Node0_27_1.borderWidth = Node0_27_1BorderWidth;
- Node0_27_1.borderFillwidth = Node0_27_1BorderWidth;
- dataModel.add(Node0_27_1);
- Node0_27_1._nodename = 'Node0_27_1'
- Node0_27_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_27_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_27_1, Node0_27_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_28_0type = 'rect';
- var Node0_28_0 = new ht.Node(),
- Node0_28_0BorderWidth = 1*2;
- if (Node0_28_0type === 'arc') {
- Node0_28_0BorderWidth *= 1;
- }
- Node0_28_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_28_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_0.setPosition(894*ratio.ratioX, 233*ratio.ratioY);
- Node0_28_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_28_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_28_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_28_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_28_0.a('node.type', Node0_28_0type);
- Node0_28_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_28_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_28_1.setPosition(973*ratio.ratioX, 233*ratio.ratioY);
- Node0_28_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_28_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_28_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_28_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_28_1.a('node.type', Node0_28_1type);
- Node0_28_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_28_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_28_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_28_1.a('node.gradient', '');
- Node0_28_1.a('node.borderwidth', Node0_28_1BorderWidth);
- Node0_28_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_28_1.a('node.fillrect', [0,0,0,0]);
- Node0_28_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_28_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_28_1.a('node.fillgradient', '');
- if (Node0_28_1type !== 'rect') {
- Node0_28_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_28_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_28_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_28_1type === 'arc') {
- Node0_28_1.a('node.arcOval', true);
- }
- Node0_28_1.setRotation(0*Math.PI/180);
- Node0_28_1.borderWidth = Node0_28_1BorderWidth;
- Node0_28_1.borderFillwidth = Node0_28_1BorderWidth;
- dataModel.add(Node0_28_1);
- Node0_28_1._nodename = 'Node0_28_1'
- Node0_28_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_28_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_28_1, Node0_28_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_29_0type = 'rect';
- var Node0_29_0 = new ht.Node(),
- Node0_29_0BorderWidth = 1*2;
- if (Node0_29_0type === 'arc') {
- Node0_29_0BorderWidth *= 1;
- }
- Node0_29_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_29_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_0.setPosition(894*ratio.ratioX, 616*ratio.ratioY);
- Node0_29_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_29_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_29_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_29_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_29_0.a('node.type', Node0_29_0type);
- Node0_29_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_29_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_29_1.setPosition(973*ratio.ratioX, 616*ratio.ratioY);
- Node0_29_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_29_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_29_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_29_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_29_1.a('node.type', Node0_29_1type);
- Node0_29_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_29_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_29_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_29_1.a('node.gradient', '');
- Node0_29_1.a('node.borderwidth', Node0_29_1BorderWidth);
- Node0_29_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_29_1.a('node.fillrect', [0,0,0,0]);
- Node0_29_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_29_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_29_1.a('node.fillgradient', '');
- if (Node0_29_1type !== 'rect') {
- Node0_29_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_29_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_29_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_29_1type === 'arc') {
- Node0_29_1.a('node.arcOval', true);
- }
- Node0_29_1.setRotation(0*Math.PI/180);
- Node0_29_1.borderWidth = Node0_29_1BorderWidth;
- Node0_29_1.borderFillwidth = Node0_29_1BorderWidth;
- dataModel.add(Node0_29_1);
- Node0_29_1._nodename = 'Node0_29_1'
- Node0_29_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_29_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_29_1, Node0_29_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_30_0type = 'rect';
- var Node0_30_0 = new ht.Node(),
- Node0_30_0BorderWidth = 1*2;
- if (Node0_30_0type === 'arc') {
- Node0_30_0BorderWidth *= 1;
- }
- Node0_30_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_30_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_0.setPosition(894*ratio.ratioX, 463*ratio.ratioY);
- Node0_30_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_30_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_30_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_30_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_30_0.a('node.type', Node0_30_0type);
- Node0_30_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_30_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_30_1.setPosition(973*ratio.ratioX, 463*ratio.ratioY);
- Node0_30_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_30_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_30_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_30_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_30_1.a('node.type', Node0_30_1type);
- Node0_30_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_30_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_30_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_30_1.a('node.gradient', '');
- Node0_30_1.a('node.borderwidth', Node0_30_1BorderWidth);
- Node0_30_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_30_1.a('node.fillrect', [0,0,0,0]);
- Node0_30_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_30_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_30_1.a('node.fillgradient', '');
- if (Node0_30_1type !== 'rect') {
- Node0_30_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_30_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_30_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_30_1type === 'arc') {
- Node0_30_1.a('node.arcOval', true);
- }
- Node0_30_1.setRotation(0*Math.PI/180);
- Node0_30_1.borderWidth = Node0_30_1BorderWidth;
- Node0_30_1.borderFillwidth = Node0_30_1BorderWidth;
- dataModel.add(Node0_30_1);
- Node0_30_1._nodename = 'Node0_30_1'
- Node0_30_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_30_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_30_1, Node0_30_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_31_0type = 'rect';
- var Node0_31_0 = new ht.Node(),
- Node0_31_0BorderWidth = 1*2;
- if (Node0_31_0type === 'arc') {
- Node0_31_0BorderWidth *= 1;
- }
- Node0_31_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_31_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_0.setPosition(894*ratio.ratioX, 387*ratio.ratioY);
- Node0_31_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_31_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_31_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_31_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_31_0.a('node.type', Node0_31_0type);
- Node0_31_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_31_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_31_1.setPosition(973*ratio.ratioX, 387*ratio.ratioY);
- Node0_31_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_31_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_31_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_31_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_31_1.a('node.type', Node0_31_1type);
- Node0_31_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_31_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_31_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_31_1.a('node.gradient', '');
- Node0_31_1.a('node.borderwidth', Node0_31_1BorderWidth);
- Node0_31_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_31_1.a('node.fillrect', [0,0,0,0]);
- Node0_31_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_31_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_31_1.a('node.fillgradient', '');
- if (Node0_31_1type !== 'rect') {
- Node0_31_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_31_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_31_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_31_1type === 'arc') {
- Node0_31_1.a('node.arcOval', true);
- }
- Node0_31_1.setRotation(0*Math.PI/180);
- Node0_31_1.borderWidth = Node0_31_1BorderWidth;
- Node0_31_1.borderFillwidth = Node0_31_1BorderWidth;
- dataModel.add(Node0_31_1);
- Node0_31_1._nodename = 'Node0_31_1'
- Node0_31_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_31_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_31_1, Node0_31_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_32_0type = 'rect';
- var Node0_32_0 = new ht.Node(),
- Node0_32_0BorderWidth = 1*2;
- if (Node0_32_0type === 'arc') {
- Node0_32_0BorderWidth *= 1;
- }
- Node0_32_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_32_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_0.setPosition(894*ratio.ratioX, 693*ratio.ratioY);
- Node0_32_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_32_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_32_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_32_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_32_0.a('node.type', Node0_32_0type);
- Node0_32_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_32_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_32_1.setPosition(973*ratio.ratioX, 693*ratio.ratioY);
- Node0_32_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_32_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_32_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_32_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_32_1.a('node.type', Node0_32_1type);
- Node0_32_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_32_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_32_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_32_1.a('node.gradient', '');
- Node0_32_1.a('node.borderwidth', Node0_32_1BorderWidth);
- Node0_32_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_32_1.a('node.fillrect', [0,0,0,0]);
- Node0_32_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_32_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_32_1.a('node.fillgradient', '');
- if (Node0_32_1type !== 'rect') {
- Node0_32_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_32_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_32_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_32_1type === 'arc') {
- Node0_32_1.a('node.arcOval', true);
- }
- Node0_32_1.setRotation(0*Math.PI/180);
- Node0_32_1.borderWidth = Node0_32_1BorderWidth;
- Node0_32_1.borderFillwidth = Node0_32_1BorderWidth;
- dataModel.add(Node0_32_1);
- Node0_32_1._nodename = 'Node0_32_1'
- Node0_32_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_32_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_32_1, Node0_32_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_33_0type = 'rect';
- var Node0_33_0 = new ht.Node(),
- Node0_33_0BorderWidth = 1*2;
- if (Node0_33_0type === 'arc') {
- Node0_33_0BorderWidth *= 1;
- }
- Node0_33_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_33_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_0.setPosition(894*ratio.ratioX, 768*ratio.ratioY);
- Node0_33_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_33_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_33_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_33_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_33_0.a('node.type', Node0_33_0type);
- Node0_33_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_33_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_33_1.setPosition(973*ratio.ratioX, 768*ratio.ratioY);
- Node0_33_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_33_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_33_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_33_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_33_1.a('node.type', Node0_33_1type);
- Node0_33_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_33_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_33_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_33_1.a('node.gradient', '');
- Node0_33_1.a('node.borderwidth', Node0_33_1BorderWidth);
- Node0_33_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_33_1.a('node.fillrect', [0,0,0,0]);
- Node0_33_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_33_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_33_1.a('node.fillgradient', '');
- if (Node0_33_1type !== 'rect') {
- Node0_33_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_33_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_33_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_33_1type === 'arc') {
- Node0_33_1.a('node.arcOval', true);
- }
- Node0_33_1.setRotation(0*Math.PI/180);
- Node0_33_1.borderWidth = Node0_33_1BorderWidth;
- Node0_33_1.borderFillwidth = Node0_33_1BorderWidth;
- dataModel.add(Node0_33_1);
- Node0_33_1._nodename = 'Node0_33_1'
- Node0_33_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_33_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_33_1, Node0_33_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_34_0type = 'rect';
- var Node0_34_0 = new ht.Node(),
- Node0_34_0BorderWidth = 1*2;
- if (Node0_34_0type === 'arc') {
- Node0_34_0BorderWidth *= 1;
- }
- Node0_34_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_34_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_0.setPosition(894*ratio.ratioX, 538*ratio.ratioY);
- Node0_34_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_34_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_34_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_34_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_34_0.a('node.type', Node0_34_0type);
- Node0_34_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_34_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_34_1.setPosition(973*ratio.ratioX, 538*ratio.ratioY);
- Node0_34_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_34_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_34_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_34_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_34_1.a('node.type', Node0_34_1type);
- Node0_34_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY]);
- Node0_34_1.a('node.background', 'rgba(41,209,159,1)');
- Node0_34_1.a('node.gradientcolor', 'rgba(41,209,159,1)');
- Node0_34_1.a('node.gradient', '');
- Node0_34_1.a('node.borderwidth', Node0_34_1BorderWidth);
- Node0_34_1.a('node.color', 'rgba(41,209,150,1)');
- Node0_34_1.a('node.fillrect', [0,0,0,0]);
- Node0_34_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0_34_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0_34_1.a('node.fillgradient', '');
- if (Node0_34_1type !== 'rect') {
- Node0_34_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0_34_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node0_34_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0_34_1type === 'arc') {
- Node0_34_1.a('node.arcOval', true);
- }
- Node0_34_1.setRotation(0*Math.PI/180);
- Node0_34_1.borderWidth = Node0_34_1BorderWidth;
- Node0_34_1.borderFillwidth = Node0_34_1BorderWidth;
- dataModel.add(Node0_34_1);
- Node0_34_1._nodename = 'Node0_34_1'
- Node0_34_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0_34_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0_34_1, Node0_34_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_35_0type = 'rect';
- var Node0_35_0 = new ht.Node(),
- Node0_35_0BorderWidth = 1*2;
- if (Node0_35_0type === 'arc') {
- Node0_35_0BorderWidth *= 1;
- }
- Node0_35_0.setImage(GD.getRectJSON(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_35_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_0.setPosition(894*ratio.ratioX, 311*ratio.ratioY);
- Node0_35_0.setSize(87.67877*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_35_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_35_0.a('node.width', 87.67877*_ratio.ratioX);
- Node0_35_0.a('node.height', 24.49054*_ratio.ratioY);
- Node0_35_0.a('node.type', Node0_35_0type);
- Node0_35_0.a('node.rect', [0, 0, 87.67877*_ratio.ratioX, 24.49054*_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(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY, Node0_35_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0_35_1.setPosition(973*ratio.ratioX, 311*ratio.ratioY);
- Node0_35_1.setSize(73.06561*_ratio.ratioX, 24.49054*_ratio.ratioY);
- Node0_35_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0_35_1.a('node.width', 73.06561*_ratio.ratioX);
- Node0_35_1.a('node.height', 24.49054*_ratio.ratioY);
- Node0_35_1.a('node.type', Node0_35_1type);
- Node0_35_1.a('node.rect', [0, 0, 73.06561*_ratio.ratioX, 24.49054*_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 = 95*_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(660*ratio.ratioX, 236*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 = 29*_ratio.ratioX, Node0_37height = 19*_ratio.ratioY;
- (function () {
- if (Node0_37align === 'left') {
- Node0_37textStart = Node0_37fontSize * 0.2 > 2 ? Node0_37fontSize * 0.2 - 4 : Node0_37fontSize * 0.2 - 9;
- Node0_37textWidth = Node0_37width;
- Node0_37lineStart = 1;
- } else if (Node0_37align === 'right') {
- Node0_37textStart = 0;
- Node0_37textWidth =Node0_37fontSize <= 8 ? Node0_37width + Node0_37fontSize * 0.2 + 6 : Node0_37width - Node0_37fontSize * 0.2;
- Node0_37lineStart = (Node0_37width - (ht.Default.getTextSize('9.5', ' '+ Node0_37fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_37align === 'center') {
- Node0_37textStart = -3;
- Node0_37textWidth = Node0_37width;
- Node0_37lineStart = Node0_37width - ht.Default.getTextSize('9.5', ' '+ Node0_37fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_37.setImage(GD.getTextJSON(Node0_37width, Node0_37height, true, false, false, ' '+ Node0_37fontSize + 'px "Arial"'))
- Node0_37.setPosition(573*ratio.ratioX, 235*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 = 76*_ratio.ratioX, Node0_38height = 19*_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(650*ratio.ratioX, 313*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, (19 - 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 = 95*_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(665*ratio.ratioX, 391*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 = 76*_ratio.ratioX, Node0_40height = 19*_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(655*ratio.ratioX, 544*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, (19 - 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 = 76*_ratio.ratioX, Node0_41height = 19*_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(655*ratio.ratioX, 698*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, (19 - 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 = 76*_ratio.ratioX, Node0_42height = 19*_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(655*ratio.ratioX, 465*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, (19 - 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 = 95*_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(665*ratio.ratioX, 620*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 = 76*_ratio.ratioX, Node0_44height = 19*_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(655*ratio.ratioX, 771*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, (19 - 14.66663) * 0.5 * _ratio.ratioY + Node0_44fontSize + 2 , ht.Default.getTextSize('10米风速', ' '+ Node0_44fontSize + 'px "Arial"').width + 6, (Node0_44height - Node0_44fontSize) * 0.5*_ratio.ratioY + Node0_44fontSize + 2 ]);
- Node0_44.a('node.underlinevisible',false);
- Node0_44.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_44);
- zoomNodeList.push({
- node: Node0_44,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_45 = new ht.Node();
- var Node0_45textStart, Node0_45textWidth, Node0_45lineStart, Node0_45align = 'left', Node0_45fontSize = 14.66663*_ratio.ratioY,Node0_45width = 57*_ratio.ratioX, Node0_45height = 24*_ratio.ratioY;
- (function () {
- if (Node0_45align === 'left') {
- Node0_45textStart = Node0_45fontSize * 0.2 > 2 ? Node0_45fontSize * 0.2 - 4 : Node0_45fontSize * 0.2 - 9;
- Node0_45textWidth = Node0_45width;
- Node0_45lineStart = 1;
- } else if (Node0_45align === 'right') {
- Node0_45textStart = 0;
- Node0_45textWidth =Node0_45fontSize <= 8 ? Node0_45width + Node0_45fontSize * 0.2 + 6 : Node0_45width - Node0_45fontSize * 0.2;
- Node0_45lineStart = (Node0_45width - (ht.Default.getTextSize('8.7', ' '+ Node0_45fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_45align === 'center') {
- Node0_45textStart = -3;
- Node0_45textWidth = Node0_45width;
- Node0_45lineStart = Node0_45width - ht.Default.getTextSize('8.7', ' '+ Node0_45fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_45.setImage(GD.getTextJSON(Node0_45width, Node0_45height, true, false, false, ' '+ Node0_45fontSize + 'px "Arial"'))
- Node0_45.setPosition(588*ratio.ratioX, 314*ratio.ratioY);
- Node0_45.setWidth(Node0_45width);
- Node0_45.setHeight(Node0_45height);
- Node0_45._nodeType = 'text';
- Node0_45._disallowEvert = true;
- Node0_45.setRotation(0*Math.PI/180);
- Node0_45.a('node.width', Node0_45width);
- Node0_45.a('node.height', Node0_45height);
- Node0_45.a('node.rect', [0, 0, Node0_45width, Node0_45height]);
- Node0_45.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_45.a('node.borderwidth', 0);
- Node0_45.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_45.a('node.gradient','');
- Node0_45.a('node.gradientcolor','');
- Node0_45.a('node.text','8.7');
- Node0_45.a('node.textalign','left');
- Node0_45.a('node.textvAlign','middle');
- Node0_45.a('node.textrect', [Node0_45textStart, 0, Node0_45textWidth, Node0_45height]);
- Node0_45.a('node.color','rgba(255,255,255,1)');
- Node0_45.a('node.font',' '+ Node0_45fontSize + 'px "Arial"');
- Node0_45.a('node.textvisible',true);
- Node0_45.a('node.linefeed',false);
- if (false) {
- Node0_45.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_45.a('node.text') || '8.7';
- var color=Node0_45.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_45width,Node0_45height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_45fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_45.a('node.underlinepoints',[Node0_45lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_45fontSize + 2 , ht.Default.getTextSize('8.7', ' '+ Node0_45fontSize + 'px "Arial"').width + 6, (Node0_45height - Node0_45fontSize) * 0.5*_ratio.ratioY + Node0_45fontSize + 2 ]);
- Node0_45.a('node.underlinevisible',false);
- Node0_45.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_45);
- zoomNodeList.push({
- node: Node0_45,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_46 = new ht.Node();
- var Node0_46textStart, Node0_46textWidth, Node0_46lineStart, Node0_46align = 'left', Node0_46fontSize = 14.66663*_ratio.ratioY,Node0_46width = 57*_ratio.ratioX, Node0_46height = 24*_ratio.ratioY;
- (function () {
- if (Node0_46align === 'left') {
- Node0_46textStart = Node0_46fontSize * 0.2 > 2 ? Node0_46fontSize * 0.2 - 4 : Node0_46fontSize * 0.2 - 9;
- Node0_46textWidth = Node0_46width;
- Node0_46lineStart = 1;
- } else if (Node0_46align === 'right') {
- Node0_46textStart = 0;
- Node0_46textWidth =Node0_46fontSize <= 8 ? Node0_46width + Node0_46fontSize * 0.2 + 6 : Node0_46width - Node0_46fontSize * 0.2;
- Node0_46lineStart = (Node0_46width - (ht.Default.getTextSize('8.3', ' '+ Node0_46fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_46align === 'center') {
- Node0_46textStart = -3;
- Node0_46textWidth = Node0_46width;
- Node0_46lineStart = Node0_46width - ht.Default.getTextSize('8.3', ' '+ Node0_46fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_46.setImage(GD.getTextJSON(Node0_46width, Node0_46height, true, false, false, ' '+ Node0_46fontSize + 'px "Arial"'))
- Node0_46.setPosition(588*ratio.ratioX, 389*ratio.ratioY);
- Node0_46.setWidth(Node0_46width);
- Node0_46.setHeight(Node0_46height);
- Node0_46._nodeType = 'text';
- Node0_46._disallowEvert = true;
- Node0_46.setRotation(0*Math.PI/180);
- Node0_46.a('node.width', Node0_46width);
- Node0_46.a('node.height', Node0_46height);
- Node0_46.a('node.rect', [0, 0, Node0_46width, Node0_46height]);
- Node0_46.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_46.a('node.borderwidth', 0);
- Node0_46.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_46.a('node.gradient','');
- Node0_46.a('node.gradientcolor','');
- Node0_46.a('node.text','8.3');
- Node0_46.a('node.textalign','left');
- Node0_46.a('node.textvAlign','middle');
- Node0_46.a('node.textrect', [Node0_46textStart, 0, Node0_46textWidth, Node0_46height]);
- Node0_46.a('node.color','rgba(255,255,255,1)');
- Node0_46.a('node.font',' '+ Node0_46fontSize + 'px "Arial"');
- Node0_46.a('node.textvisible',true);
- Node0_46.a('node.linefeed',false);
- if (false) {
- Node0_46.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_46.a('node.text') || '8.3';
- var color=Node0_46.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_46width,Node0_46height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_46fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_46.a('node.underlinepoints',[Node0_46lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_46fontSize + 2 , ht.Default.getTextSize('8.3', ' '+ Node0_46fontSize + 'px "Arial"').width + 6, (Node0_46height - Node0_46fontSize) * 0.5*_ratio.ratioY + Node0_46fontSize + 2 ]);
- Node0_46.a('node.underlinevisible',false);
- Node0_46.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_46);
- zoomNodeList.push({
- node: Node0_46,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_47 = new ht.Node();
- var Node0_47textStart, Node0_47textWidth, Node0_47lineStart, Node0_47align = 'left', Node0_47fontSize = 14.66663*_ratio.ratioY,Node0_47width = 29*_ratio.ratioX, Node0_47height = 19*_ratio.ratioY;
- (function () {
- if (Node0_47align === 'left') {
- Node0_47textStart = Node0_47fontSize * 0.2 > 2 ? Node0_47fontSize * 0.2 - 4 : Node0_47fontSize * 0.2 - 9;
- Node0_47textWidth = Node0_47width;
- Node0_47lineStart = 1;
- } else if (Node0_47align === 'right') {
- Node0_47textStart = 0;
- Node0_47textWidth =Node0_47fontSize <= 8 ? Node0_47width + Node0_47fontSize * 0.2 + 6 : Node0_47width - Node0_47fontSize * 0.2;
- Node0_47lineStart = (Node0_47width - (ht.Default.getTextSize('7.6', ' '+ Node0_47fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_47align === 'center') {
- Node0_47textStart = -3;
- Node0_47textWidth = Node0_47width;
- Node0_47lineStart = Node0_47width - ht.Default.getTextSize('7.6', ' '+ Node0_47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_47.setImage(GD.getTextJSON(Node0_47width, Node0_47height, true, false, false, ' '+ Node0_47fontSize + 'px "Arial"'))
- Node0_47.setPosition(573*ratio.ratioX, 463*ratio.ratioY);
- Node0_47.setWidth(Node0_47width);
- Node0_47.setHeight(Node0_47height);
- Node0_47._nodeType = 'text';
- Node0_47._disallowEvert = true;
- Node0_47.setRotation(0*Math.PI/180);
- Node0_47.a('node.width', Node0_47width);
- Node0_47.a('node.height', Node0_47height);
- Node0_47.a('node.rect', [0, 0, Node0_47width, Node0_47height]);
- Node0_47.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_47.a('node.borderwidth', 0);
- Node0_47.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_47.a('node.gradient','');
- Node0_47.a('node.gradientcolor','');
- Node0_47.a('node.text','7.6');
- Node0_47.a('node.textalign','left');
- Node0_47.a('node.textvAlign','middle');
- Node0_47.a('node.textrect', [Node0_47textStart, 0, Node0_47textWidth, Node0_47height]);
- Node0_47.a('node.color','rgba(255,255,255,1)');
- Node0_47.a('node.font',' '+ Node0_47fontSize + 'px "Arial"');
- Node0_47.a('node.textvisible',true);
- Node0_47.a('node.linefeed',false);
- if (false) {
- Node0_47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_47.a('node.text') || '7.6';
- var color=Node0_47.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_47width,Node0_47height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_47.a('node.underlinepoints',[Node0_47lineStart, (19 - 14.66663) * 0.5 * _ratio.ratioY + Node0_47fontSize + 2 , ht.Default.getTextSize('7.6', ' '+ Node0_47fontSize + 'px "Arial"').width + 6, (Node0_47height - Node0_47fontSize) * 0.5*_ratio.ratioY + Node0_47fontSize + 2 ]);
- Node0_47.a('node.underlinevisible',false);
- Node0_47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_47);
- zoomNodeList.push({
- node: Node0_47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_48 = new ht.Node();
- var Node0_48textStart, Node0_48textWidth, Node0_48lineStart, Node0_48align = 'left', Node0_48fontSize = 14.66663*_ratio.ratioY,Node0_48width = 29*_ratio.ratioX, Node0_48height = 19*_ratio.ratioY;
- (function () {
- if (Node0_48align === 'left') {
- Node0_48textStart = Node0_48fontSize * 0.2 > 2 ? Node0_48fontSize * 0.2 - 4 : Node0_48fontSize * 0.2 - 9;
- Node0_48textWidth = Node0_48width;
- Node0_48lineStart = 1;
- } else if (Node0_48align === 'right') {
- Node0_48textStart = 0;
- Node0_48textWidth =Node0_48fontSize <= 8 ? Node0_48width + Node0_48fontSize * 0.2 + 6 : Node0_48width - Node0_48fontSize * 0.2;
- Node0_48lineStart = (Node0_48width - (ht.Default.getTextSize('7.2', ' '+ Node0_48fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_48align === 'center') {
- Node0_48textStart = -3;
- Node0_48textWidth = Node0_48width;
- Node0_48lineStart = Node0_48width - ht.Default.getTextSize('7.2', ' '+ Node0_48fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_48.setImage(GD.getTextJSON(Node0_48width, Node0_48height, true, false, false, ' '+ Node0_48fontSize + 'px "Arial"'))
- Node0_48.setPosition(573*ratio.ratioX, 541*ratio.ratioY);
- Node0_48.setWidth(Node0_48width);
- Node0_48.setHeight(Node0_48height);
- Node0_48._nodeType = 'text';
- Node0_48._disallowEvert = true;
- Node0_48.setRotation(0*Math.PI/180);
- Node0_48.a('node.width', Node0_48width);
- Node0_48.a('node.height', Node0_48height);
- Node0_48.a('node.rect', [0, 0, Node0_48width, Node0_48height]);
- Node0_48.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_48.a('node.borderwidth', 0);
- Node0_48.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_48.a('node.gradient','');
- Node0_48.a('node.gradientcolor','');
- Node0_48.a('node.text','7.2');
- Node0_48.a('node.textalign','left');
- Node0_48.a('node.textvAlign','middle');
- Node0_48.a('node.textrect', [Node0_48textStart, 0, Node0_48textWidth, Node0_48height]);
- Node0_48.a('node.color','rgba(255,255,255,1)');
- Node0_48.a('node.font',' '+ Node0_48fontSize + 'px "Arial"');
- Node0_48.a('node.textvisible',true);
- Node0_48.a('node.linefeed',false);
- if (false) {
- Node0_48.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_48.a('node.text') || '7.2';
- var color=Node0_48.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_48width,Node0_48height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_48fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_48.a('node.underlinepoints',[Node0_48lineStart, (19 - 14.66663) * 0.5 * _ratio.ratioY + Node0_48fontSize + 2 , ht.Default.getTextSize('7.2', ' '+ Node0_48fontSize + 'px "Arial"').width + 6, (Node0_48height - Node0_48fontSize) * 0.5*_ratio.ratioY + Node0_48fontSize + 2 ]);
- Node0_48.a('node.underlinevisible',false);
- Node0_48.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_48);
- zoomNodeList.push({
- node: Node0_48,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_49 = new ht.Node();
- var Node0_49textStart, Node0_49textWidth, Node0_49lineStart, Node0_49align = 'left', Node0_49fontSize = 14.66663*_ratio.ratioY,Node0_49width = 57*_ratio.ratioX, Node0_49height = 24*_ratio.ratioY;
- (function () {
- if (Node0_49align === 'left') {
- Node0_49textStart = Node0_49fontSize * 0.2 > 2 ? Node0_49fontSize * 0.2 - 4 : Node0_49fontSize * 0.2 - 9;
- Node0_49textWidth = Node0_49width;
- Node0_49lineStart = 1;
- } else if (Node0_49align === 'right') {
- Node0_49textStart = 0;
- Node0_49textWidth =Node0_49fontSize <= 8 ? Node0_49width + Node0_49fontSize * 0.2 + 6 : Node0_49width - Node0_49fontSize * 0.2;
- Node0_49lineStart = (Node0_49width - (ht.Default.getTextSize('6.9', ' '+ Node0_49fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_49align === 'center') {
- Node0_49textStart = -3;
- Node0_49textWidth = Node0_49width;
- Node0_49lineStart = Node0_49width - ht.Default.getTextSize('6.9', ' '+ Node0_49fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_49.setImage(GD.getTextJSON(Node0_49width, Node0_49height, true, false, false, ' '+ Node0_49fontSize + 'px "Arial"'))
- Node0_49.setPosition(588*ratio.ratioX, 696*ratio.ratioY);
- Node0_49.setWidth(Node0_49width);
- Node0_49.setHeight(Node0_49height);
- Node0_49._nodeType = 'text';
- Node0_49._disallowEvert = true;
- Node0_49.setRotation(0*Math.PI/180);
- Node0_49.a('node.width', Node0_49width);
- Node0_49.a('node.height', Node0_49height);
- Node0_49.a('node.rect', [0, 0, Node0_49width, Node0_49height]);
- Node0_49.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_49.a('node.borderwidth', 0);
- Node0_49.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_49.a('node.gradient','');
- Node0_49.a('node.gradientcolor','');
- Node0_49.a('node.text','6.9');
- Node0_49.a('node.textalign','left');
- Node0_49.a('node.textvAlign','middle');
- Node0_49.a('node.textrect', [Node0_49textStart, 0, Node0_49textWidth, Node0_49height]);
- Node0_49.a('node.color','rgba(255,255,255,1)');
- Node0_49.a('node.font',' '+ Node0_49fontSize + 'px "Arial"');
- Node0_49.a('node.textvisible',true);
- Node0_49.a('node.linefeed',false);
- if (false) {
- Node0_49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_49.a('node.text') || '6.9';
- var color=Node0_49.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_49width,Node0_49height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_49fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_49.a('node.underlinepoints',[Node0_49lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_49fontSize + 2 , ht.Default.getTextSize('6.9', ' '+ Node0_49fontSize + 'px "Arial"').width + 6, (Node0_49height - Node0_49fontSize) * 0.5*_ratio.ratioY + Node0_49fontSize + 2 ]);
- Node0_49.a('node.underlinevisible',false);
- Node0_49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_49);
- zoomNodeList.push({
- node: Node0_49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_50 = new ht.Node();
- var Node0_50textStart, Node0_50textWidth, Node0_50lineStart, Node0_50align = 'left', Node0_50fontSize = 14.66663*_ratio.ratioY,Node0_50width = 84*_ratio.ratioX, Node0_50height = 35*_ratio.ratioY;
- (function () {
- if (Node0_50align === 'left') {
- Node0_50textStart = Node0_50fontSize * 0.2 > 2 ? Node0_50fontSize * 0.2 - 4 : Node0_50fontSize * 0.2 - 9;
- Node0_50textWidth = Node0_50width;
- Node0_50lineStart = 1;
- } else if (Node0_50align === 'right') {
- Node0_50textStart = 0;
- Node0_50textWidth =Node0_50fontSize <= 8 ? Node0_50width + Node0_50fontSize * 0.2 + 6 : Node0_50width - Node0_50fontSize * 0.2;
- Node0_50lineStart = (Node0_50width - (ht.Default.getTextSize('7.0', ' '+ Node0_50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_50align === 'center') {
- Node0_50textStart = -3;
- Node0_50textWidth = Node0_50width;
- Node0_50lineStart = Node0_50width - ht.Default.getTextSize('7.0', ' '+ Node0_50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_50.setImage(GD.getTextJSON(Node0_50width, Node0_50height, true, false, false, ' '+ Node0_50fontSize + 'px "Arial"'))
- Node0_50.setPosition(601*ratio.ratioX, 618*ratio.ratioY);
- Node0_50.setWidth(Node0_50width);
- Node0_50.setHeight(Node0_50height);
- Node0_50._nodeType = 'text';
- Node0_50._disallowEvert = true;
- Node0_50.setRotation(0*Math.PI/180);
- Node0_50.a('node.width', Node0_50width);
- Node0_50.a('node.height', Node0_50height);
- Node0_50.a('node.rect', [0, 0, Node0_50width, Node0_50height]);
- Node0_50.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_50.a('node.borderwidth', 0);
- Node0_50.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_50.a('node.gradient','');
- Node0_50.a('node.gradientcolor','');
- Node0_50.a('node.text','7.0');
- Node0_50.a('node.textalign','left');
- Node0_50.a('node.textvAlign','middle');
- Node0_50.a('node.textrect', [Node0_50textStart, 0, Node0_50textWidth, Node0_50height]);
- Node0_50.a('node.color','rgba(255,255,255,1)');
- Node0_50.a('node.font',' '+ Node0_50fontSize + 'px "Arial"');
- Node0_50.a('node.textvisible',true);
- Node0_50.a('node.linefeed',false);
- if (false) {
- Node0_50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_50.a('node.text') || '7.0';
- var color=Node0_50.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_50width,Node0_50height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_50.a('node.underlinepoints',[Node0_50lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_50fontSize + 2 , ht.Default.getTextSize('7.0', ' '+ Node0_50fontSize + 'px "Arial"').width + 6, (Node0_50height - Node0_50fontSize) * 0.5*_ratio.ratioY + Node0_50fontSize + 2 ]);
- Node0_50.a('node.underlinevisible',false);
- Node0_50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_50);
- zoomNodeList.push({
- node: Node0_50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_51 = new ht.Node();
- var Node0_51textStart, Node0_51textWidth, Node0_51lineStart, Node0_51align = 'left', Node0_51fontSize = 14.66663*_ratio.ratioY,Node0_51width = 64*_ratio.ratioX, Node0_51height = 24*_ratio.ratioY;
- (function () {
- if (Node0_51align === 'left') {
- Node0_51textStart = Node0_51fontSize * 0.2 > 2 ? Node0_51fontSize * 0.2 - 4 : Node0_51fontSize * 0.2 - 9;
- Node0_51textWidth = Node0_51width;
- Node0_51lineStart = 1;
- } else if (Node0_51align === 'right') {
- Node0_51textStart = 0;
- Node0_51textWidth =Node0_51fontSize <= 8 ? Node0_51width + Node0_51fontSize * 0.2 + 6 : Node0_51width - Node0_51fontSize * 0.2;
- Node0_51lineStart = (Node0_51width - (ht.Default.getTextSize('327.3°', ' '+ Node0_51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_51align === 'center') {
- Node0_51textStart = -3;
- Node0_51textWidth = Node0_51width;
- Node0_51lineStart = Node0_51width - ht.Default.getTextSize('327.3°', ' '+ Node0_51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_51.setImage(GD.getTextJSON(Node0_51width, Node0_51height, true, false, false, ' '+ Node0_51fontSize + 'px "Arial"'))
- Node0_51.setPosition(585*ratio.ratioX, 770*ratio.ratioY);
- Node0_51.setWidth(Node0_51width);
- Node0_51.setHeight(Node0_51height);
- Node0_51._nodeType = 'text';
- Node0_51._disallowEvert = true;
- Node0_51.setRotation(0*Math.PI/180);
- Node0_51.a('node.width', Node0_51width);
- Node0_51.a('node.height', Node0_51height);
- Node0_51.a('node.rect', [0, 0, Node0_51width, Node0_51height]);
- Node0_51.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_51.a('node.borderwidth', 0);
- Node0_51.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_51.a('node.gradient','');
- Node0_51.a('node.gradientcolor','');
- Node0_51.a('node.text','327.3°');
- Node0_51.a('node.textalign','left');
- Node0_51.a('node.textvAlign','middle');
- Node0_51.a('node.textrect', [Node0_51textStart, 0, Node0_51textWidth, Node0_51height]);
- Node0_51.a('node.color','rgba(255,255,255,1)');
- Node0_51.a('node.font',' '+ Node0_51fontSize + 'px "Arial"');
- Node0_51.a('node.textvisible',true);
- Node0_51.a('node.linefeed',false);
- if (false) {
- Node0_51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_51.a('node.text') || '327.3°';
- var color=Node0_51.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_51width,Node0_51height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_51.a('node.underlinepoints',[Node0_51lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_51fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_51fontSize + 'px "Arial"').width + 6, (Node0_51height - Node0_51fontSize) * 0.5*_ratio.ratioY + Node0_51fontSize + 2 ]);
- Node0_51.a('node.underlinevisible',false);
- Node0_51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_51);
- zoomNodeList.push({
- node: Node0_51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_52 = new ht.Node();
- var Node0_52textStart, Node0_52textWidth, Node0_52lineStart, Node0_52align = 'left', Node0_52fontSize = 14.66663*_ratio.ratioY,Node0_52width = 90*_ratio.ratioX, Node0_52height = 36*_ratio.ratioY;
- (function () {
- if (Node0_52align === 'left') {
- Node0_52textStart = Node0_52fontSize * 0.2 > 2 ? Node0_52fontSize * 0.2 - 4 : Node0_52fontSize * 0.2 - 9;
- Node0_52textWidth = Node0_52width;
- Node0_52lineStart = 1;
- } else if (Node0_52align === 'right') {
- Node0_52textStart = 0;
- Node0_52textWidth =Node0_52fontSize <= 8 ? Node0_52width + Node0_52fontSize * 0.2 + 6 : Node0_52width - Node0_52fontSize * 0.2;
- Node0_52lineStart = (Node0_52width - (ht.Default.getTextSize('80米风向', ' '+ Node0_52fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_52align === 'center') {
- Node0_52textStart = -3;
- Node0_52textWidth = Node0_52width;
- Node0_52lineStart = Node0_52width - ht.Default.getTextSize('80米风向', ' '+ Node0_52fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_52.setImage(GD.getTextJSON(Node0_52width, Node0_52height, true, false, false, ' '+ Node0_52fontSize + 'px "Arial"'))
- Node0_52.setPosition(900*ratio.ratioX, 238*ratio.ratioY);
- Node0_52.setWidth(Node0_52width);
- Node0_52.setHeight(Node0_52height);
- Node0_52._nodeType = 'text';
- Node0_52._disallowEvert = true;
- Node0_52.setRotation(0*Math.PI/180);
- Node0_52.a('node.width', Node0_52width);
- Node0_52.a('node.height', Node0_52height);
- Node0_52.a('node.rect', [0, 0, Node0_52width, Node0_52height]);
- Node0_52.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_52.a('node.borderwidth', 0);
- Node0_52.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_52.a('node.gradient','');
- Node0_52.a('node.gradientcolor','');
- Node0_52.a('node.text','80米风向');
- Node0_52.a('node.textalign','left');
- Node0_52.a('node.textvAlign','middle');
- Node0_52.a('node.textrect', [Node0_52textStart, 0, Node0_52textWidth, Node0_52height]);
- Node0_52.a('node.color','rgba(255,255,255,1)');
- Node0_52.a('node.font',' '+ Node0_52fontSize + 'px "Arial"');
- Node0_52.a('node.textvisible',true);
- Node0_52.a('node.linefeed',false);
- if (false) {
- Node0_52.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_52.a('node.text') || '80米风向';
- var color=Node0_52.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_52width,Node0_52height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_52fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_52.a('node.underlinepoints',[Node0_52lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_52fontSize + 2 , ht.Default.getTextSize('80米风向', ' '+ Node0_52fontSize + 'px "Arial"').width + 6, (Node0_52height - Node0_52fontSize) * 0.5*_ratio.ratioY + Node0_52fontSize + 2 ]);
- Node0_52.a('node.underlinevisible',false);
- Node0_52.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_52);
- zoomNodeList.push({
- node: Node0_52,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_53 = new ht.Node();
- var Node0_53textStart, Node0_53textWidth, Node0_53lineStart, Node0_53align = 'left', Node0_53fontSize = 14.66663*_ratio.ratioY,Node0_53width = 95*_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(903*ratio.ratioX, 315*ratio.ratioY);
- Node0_53.setWidth(Node0_53width);
- Node0_53.setHeight(Node0_53height);
- Node0_53._nodeType = 'text';
- Node0_53._disallowEvert = true;
- Node0_53.setRotation(0*Math.PI/180);
- Node0_53.a('node.width', Node0_53width);
- Node0_53.a('node.height', Node0_53height);
- Node0_53.a('node.rect', [0, 0, Node0_53width, Node0_53height]);
- Node0_53.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_53.a('node.borderwidth', 0);
- Node0_53.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_53.a('node.gradient','');
- Node0_53.a('node.gradientcolor','');
- Node0_53.a('node.text','70米风向');
- Node0_53.a('node.textalign','left');
- Node0_53.a('node.textvAlign','middle');
- Node0_53.a('node.textrect', [Node0_53textStart, 0, Node0_53textWidth, Node0_53height]);
- Node0_53.a('node.color','rgba(255,255,255,1)');
- Node0_53.a('node.font',' '+ Node0_53fontSize + 'px "Arial"');
- Node0_53.a('node.textvisible',true);
- Node0_53.a('node.linefeed',false);
- if (false) {
- Node0_53.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_53.a('node.text') || '70米风向';
- var color=Node0_53.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_53width,Node0_53height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_53.a('node.underlinepoints',[Node0_53lineStart, (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 = 95*_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(903*ratio.ratioX, 392*ratio.ratioY);
- Node0_54.setWidth(Node0_54width);
- Node0_54.setHeight(Node0_54height);
- Node0_54._nodeType = 'text';
- Node0_54._disallowEvert = true;
- Node0_54.setRotation(0*Math.PI/180);
- Node0_54.a('node.width', Node0_54width);
- Node0_54.a('node.height', Node0_54height);
- Node0_54.a('node.rect', [0, 0, Node0_54width, Node0_54height]);
- Node0_54.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_54.a('node.borderwidth', 0);
- Node0_54.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_54.a('node.gradient','');
- Node0_54.a('node.gradientcolor','');
- Node0_54.a('node.text','60米风向');
- Node0_54.a('node.textalign','left');
- Node0_54.a('node.textvAlign','middle');
- Node0_54.a('node.textrect', [Node0_54textStart, 0, Node0_54textWidth, Node0_54height]);
- Node0_54.a('node.color','rgba(255,255,255,1)');
- Node0_54.a('node.font',' '+ Node0_54fontSize + 'px "Arial"');
- Node0_54.a('node.textvisible',true);
- Node0_54.a('node.linefeed',false);
- if (false) {
- Node0_54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_54.a('node.text') || '60米风向';
- var color=Node0_54.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_54width,Node0_54height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_54.a('node.underlinepoints',[Node0_54lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node0_54fontSize + 2 , ht.Default.getTextSize('60米风向', ' '+ Node0_54fontSize + 'px "Arial"').width + 6, (Node0_54height - Node0_54fontSize) * 0.5*_ratio.ratioY + Node0_54fontSize + 2 ]);
- Node0_54.a('node.underlinevisible',false);
- Node0_54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_54);
- zoomNodeList.push({
- node: Node0_54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_55 = new ht.Node();
- var Node0_55textStart, Node0_55textWidth, Node0_55lineStart, Node0_55align = 'left', Node0_55fontSize = 14.66663*_ratio.ratioY,Node0_55width = 82*_ratio.ratioX, Node0_55height = 49*_ratio.ratioY;
- (function () {
- if (Node0_55align === 'left') {
- Node0_55textStart = Node0_55fontSize * 0.2 > 2 ? Node0_55fontSize * 0.2 - 4 : Node0_55fontSize * 0.2 - 9;
- Node0_55textWidth = Node0_55width;
- Node0_55lineStart = 1;
- } else if (Node0_55align === 'right') {
- Node0_55textStart = 0;
- Node0_55textWidth =Node0_55fontSize <= 8 ? Node0_55width + Node0_55fontSize * 0.2 + 6 : Node0_55width - Node0_55fontSize * 0.2;
- Node0_55lineStart = (Node0_55width - (ht.Default.getTextSize('50米风向', ' '+ Node0_55fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_55align === 'center') {
- Node0_55textStart = -3;
- Node0_55textWidth = Node0_55width;
- Node0_55lineStart = Node0_55width - ht.Default.getTextSize('50米风向', ' '+ Node0_55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_55.setImage(GD.getTextJSON(Node0_55width, Node0_55height, true, false, false, ' '+ Node0_55fontSize + 'px "Arial"'))
- Node0_55.setPosition(896*ratio.ratioX, 467*ratio.ratioY);
- Node0_55.setWidth(Node0_55width);
- Node0_55.setHeight(Node0_55height);
- Node0_55._nodeType = 'text';
- Node0_55._disallowEvert = true;
- Node0_55.setRotation(0*Math.PI/180);
- Node0_55.a('node.width', Node0_55width);
- Node0_55.a('node.height', Node0_55height);
- Node0_55.a('node.rect', [0, 0, Node0_55width, Node0_55height]);
- Node0_55.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_55.a('node.borderwidth', 0);
- Node0_55.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_55.a('node.gradient','');
- Node0_55.a('node.gradientcolor','');
- Node0_55.a('node.text','50米风向');
- Node0_55.a('node.textalign','left');
- Node0_55.a('node.textvAlign','middle');
- Node0_55.a('node.textrect', [Node0_55textStart, 0, Node0_55textWidth, Node0_55height]);
- Node0_55.a('node.color','rgba(255,255,255,1)');
- Node0_55.a('node.font',' '+ Node0_55fontSize + 'px "Arial"');
- Node0_55.a('node.textvisible',true);
- Node0_55.a('node.linefeed',false);
- if (false) {
- Node0_55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_55.a('node.text') || '50米风向';
- var color=Node0_55.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_55width,Node0_55height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_55.a('node.underlinepoints',[Node0_55lineStart, (49 - 14.66663) * 0.5 * _ratio.ratioY + Node0_55fontSize + 2 , ht.Default.getTextSize('50米风向', ' '+ Node0_55fontSize + 'px "Arial"').width + 6, (Node0_55height - Node0_55fontSize) * 0.5*_ratio.ratioY + Node0_55fontSize + 2 ]);
- Node0_55.a('node.underlinevisible',false);
- Node0_55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_55);
- zoomNodeList.push({
- node: Node0_55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_56 = new ht.Node();
- var Node0_56textStart, Node0_56textWidth, Node0_56lineStart, Node0_56align = 'left', Node0_56fontSize = 14.66663*_ratio.ratioY,Node0_56width = 95*_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(903*ratio.ratioX, 772*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 = 95*_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(903*ratio.ratioX, 696*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 = 139*_ratio.ratioX, Node0_58height = 36*_ratio.ratioY;
- (function () {
- if (Node0_58align === 'left') {
- Node0_58textStart = Node0_58fontSize * 0.2 > 2 ? Node0_58fontSize * 0.2 - 4 : Node0_58fontSize * 0.2 - 9;
- Node0_58textWidth = Node0_58width;
- Node0_58lineStart = 1;
- } else if (Node0_58align === 'right') {
- Node0_58textStart = 0;
- Node0_58textWidth =Node0_58fontSize <= 8 ? Node0_58width + Node0_58fontSize * 0.2 + 6 : Node0_58width - Node0_58fontSize * 0.2;
- Node0_58lineStart = (Node0_58width - (ht.Default.getTextSize('40米风向', ' '+ Node0_58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_58align === 'center') {
- Node0_58textStart = -3;
- Node0_58textWidth = Node0_58width;
- Node0_58lineStart = Node0_58width - ht.Default.getTextSize('40米风向', ' '+ Node0_58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_58.setImage(GD.getTextJSON(Node0_58width, Node0_58height, true, false, false, ' '+ Node0_58fontSize + 'px "Arial"'))
- Node0_58.setPosition(925*ratio.ratioX, 542*ratio.ratioY);
- Node0_58.setWidth(Node0_58width);
- Node0_58.setHeight(Node0_58height);
- Node0_58._nodeType = 'text';
- Node0_58._disallowEvert = true;
- Node0_58.setRotation(0*Math.PI/180);
- Node0_58.a('node.width', Node0_58width);
- Node0_58.a('node.height', Node0_58height);
- Node0_58.a('node.rect', [0, 0, Node0_58width, Node0_58height]);
- Node0_58.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_58.a('node.borderwidth', 0);
- Node0_58.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_58.a('node.gradient','');
- Node0_58.a('node.gradientcolor','');
- Node0_58.a('node.text','40米风向');
- Node0_58.a('node.textalign','left');
- Node0_58.a('node.textvAlign','middle');
- Node0_58.a('node.textrect', [Node0_58textStart, 0, Node0_58textWidth, Node0_58height]);
- Node0_58.a('node.color','rgba(255,255,255,1)');
- Node0_58.a('node.font',' '+ Node0_58fontSize + 'px "Arial"');
- Node0_58.a('node.textvisible',true);
- Node0_58.a('node.linefeed',false);
- if (false) {
- Node0_58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_58.a('node.text') || '40米风向';
- var color=Node0_58.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_58width,Node0_58height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_58.a('node.underlinepoints',[Node0_58lineStart, (36 - 14.66663) * 0.5 * _ratio.ratioY + Node0_58fontSize + 2 , ht.Default.getTextSize('40米风向', ' '+ Node0_58fontSize + 'px "Arial"').width + 6, (Node0_58height - Node0_58fontSize) * 0.5*_ratio.ratioY + Node0_58fontSize + 2 ]);
- Node0_58.a('node.underlinevisible',false);
- Node0_58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_58);
- zoomNodeList.push({
- node: Node0_58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_59 = new ht.Node();
- var Node0_59textStart, Node0_59textWidth, Node0_59lineStart, Node0_59align = 'left', Node0_59fontSize = 14.66663*_ratio.ratioY,Node0_59width = 95*_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(903*ratio.ratioX, 620*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 = 94*_ratio.ratioX, Node0_60height = 35*_ratio.ratioY;
- (function () {
- if (Node0_60align === 'left') {
- Node0_60textStart = Node0_60fontSize * 0.2 > 2 ? Node0_60fontSize * 0.2 - 4 : Node0_60fontSize * 0.2 - 9;
- Node0_60textWidth = Node0_60width;
- Node0_60lineStart = 1;
- } else if (Node0_60align === 'right') {
- Node0_60textStart = 0;
- Node0_60textWidth =Node0_60fontSize <= 8 ? Node0_60width + Node0_60fontSize * 0.2 + 6 : Node0_60width - Node0_60fontSize * 0.2;
- Node0_60lineStart = (Node0_60width - (ht.Default.getTextSize('327.3°', ' '+ Node0_60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_60align === 'center') {
- Node0_60textStart = -3;
- Node0_60textWidth = Node0_60width;
- Node0_60lineStart = Node0_60width - ht.Default.getTextSize('327.3°', ' '+ Node0_60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_60.setImage(GD.getTextJSON(Node0_60width, Node0_60height, true, false, false, ' '+ Node0_60fontSize + 'px "Arial"'))
- Node0_60.setPosition(994*ratio.ratioX, 236*ratio.ratioY);
- Node0_60.setWidth(Node0_60width);
- Node0_60.setHeight(Node0_60height);
- Node0_60._nodeType = 'text';
- Node0_60._disallowEvert = true;
- Node0_60.setRotation(0*Math.PI/180);
- Node0_60.a('node.width', Node0_60width);
- Node0_60.a('node.height', Node0_60height);
- Node0_60.a('node.rect', [0, 0, Node0_60width, Node0_60height]);
- Node0_60.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_60.a('node.borderwidth', 0);
- Node0_60.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_60.a('node.gradient','');
- Node0_60.a('node.gradientcolor','');
- Node0_60.a('node.text','327.3°');
- Node0_60.a('node.textalign','left');
- Node0_60.a('node.textvAlign','middle');
- Node0_60.a('node.textrect', [Node0_60textStart, 0, Node0_60textWidth, Node0_60height]);
- Node0_60.a('node.color','rgba(255,255,255,1)');
- Node0_60.a('node.font',' '+ Node0_60fontSize + 'px "Arial"');
- Node0_60.a('node.textvisible',true);
- Node0_60.a('node.linefeed',false);
- if (false) {
- Node0_60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_60.a('node.text') || '327.3°';
- var color=Node0_60.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_60width,Node0_60height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_60.a('node.underlinepoints',[Node0_60lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_60fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_60fontSize + 'px "Arial"').width + 6, (Node0_60height - Node0_60fontSize) * 0.5*_ratio.ratioY + Node0_60fontSize + 2 ]);
- Node0_60.a('node.underlinevisible',false);
- Node0_60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_60);
- zoomNodeList.push({
- node: Node0_60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_61 = new ht.Node();
- var Node0_61textStart, Node0_61textWidth, Node0_61lineStart, Node0_61align = 'left', Node0_61fontSize = 14.66663*_ratio.ratioY,Node0_61width = 94*_ratio.ratioX, Node0_61height = 35*_ratio.ratioY;
- (function () {
- if (Node0_61align === 'left') {
- Node0_61textStart = Node0_61fontSize * 0.2 > 2 ? Node0_61fontSize * 0.2 - 4 : Node0_61fontSize * 0.2 - 9;
- Node0_61textWidth = Node0_61width;
- Node0_61lineStart = 1;
- } else if (Node0_61align === 'right') {
- Node0_61textStart = 0;
- Node0_61textWidth =Node0_61fontSize <= 8 ? Node0_61width + Node0_61fontSize * 0.2 + 6 : Node0_61width - Node0_61fontSize * 0.2;
- Node0_61lineStart = (Node0_61width - (ht.Default.getTextSize('327.3°', ' '+ Node0_61fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_61align === 'center') {
- Node0_61textStart = -3;
- Node0_61textWidth = Node0_61width;
- Node0_61lineStart = Node0_61width - ht.Default.getTextSize('327.3°', ' '+ Node0_61fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_61.setImage(GD.getTextJSON(Node0_61width, Node0_61height, true, false, false, ' '+ Node0_61fontSize + 'px "Arial"'))
- Node0_61.setPosition(994*ratio.ratioX, 314*ratio.ratioY);
- Node0_61.setWidth(Node0_61width);
- Node0_61.setHeight(Node0_61height);
- Node0_61._nodeType = 'text';
- Node0_61._disallowEvert = true;
- Node0_61.setRotation(0*Math.PI/180);
- Node0_61.a('node.width', Node0_61width);
- Node0_61.a('node.height', Node0_61height);
- Node0_61.a('node.rect', [0, 0, Node0_61width, Node0_61height]);
- Node0_61.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_61.a('node.borderwidth', 0);
- Node0_61.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_61.a('node.gradient','');
- Node0_61.a('node.gradientcolor','');
- Node0_61.a('node.text','327.3°');
- Node0_61.a('node.textalign','left');
- Node0_61.a('node.textvAlign','middle');
- Node0_61.a('node.textrect', [Node0_61textStart, 0, Node0_61textWidth, Node0_61height]);
- Node0_61.a('node.color','rgba(255,255,255,1)');
- Node0_61.a('node.font',' '+ Node0_61fontSize + 'px "Arial"');
- Node0_61.a('node.textvisible',true);
- Node0_61.a('node.linefeed',false);
- if (false) {
- Node0_61.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_61.a('node.text') || '327.3°';
- var color=Node0_61.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_61width,Node0_61height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_61fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_61.a('node.underlinepoints',[Node0_61lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_61fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_61fontSize + 'px "Arial"').width + 6, (Node0_61height - Node0_61fontSize) * 0.5*_ratio.ratioY + Node0_61fontSize + 2 ]);
- Node0_61.a('node.underlinevisible',false);
- Node0_61.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_61);
- zoomNodeList.push({
- node: Node0_61,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_62 = new ht.Node();
- var Node0_62textStart, Node0_62textWidth, Node0_62lineStart, Node0_62align = 'left', Node0_62fontSize = 14.66663*_ratio.ratioY,Node0_62width = 94*_ratio.ratioX, Node0_62height = 35*_ratio.ratioY;
- (function () {
- if (Node0_62align === 'left') {
- Node0_62textStart = Node0_62fontSize * 0.2 > 2 ? Node0_62fontSize * 0.2 - 4 : Node0_62fontSize * 0.2 - 9;
- Node0_62textWidth = Node0_62width;
- Node0_62lineStart = 1;
- } else if (Node0_62align === 'right') {
- Node0_62textStart = 0;
- Node0_62textWidth =Node0_62fontSize <= 8 ? Node0_62width + Node0_62fontSize * 0.2 + 6 : Node0_62width - Node0_62fontSize * 0.2;
- Node0_62lineStart = (Node0_62width - (ht.Default.getTextSize('327.3°', ' '+ Node0_62fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_62align === 'center') {
- Node0_62textStart = -3;
- Node0_62textWidth = Node0_62width;
- Node0_62lineStart = Node0_62width - ht.Default.getTextSize('327.3°', ' '+ Node0_62fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_62.setImage(GD.getTextJSON(Node0_62width, Node0_62height, true, false, false, ' '+ Node0_62fontSize + 'px "Arial"'))
- Node0_62.setPosition(994*ratio.ratioX, 390*ratio.ratioY);
- Node0_62.setWidth(Node0_62width);
- Node0_62.setHeight(Node0_62height);
- Node0_62._nodeType = 'text';
- Node0_62._disallowEvert = true;
- Node0_62.setRotation(0*Math.PI/180);
- Node0_62.a('node.width', Node0_62width);
- Node0_62.a('node.height', Node0_62height);
- Node0_62.a('node.rect', [0, 0, Node0_62width, Node0_62height]);
- Node0_62.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_62.a('node.borderwidth', 0);
- Node0_62.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_62.a('node.gradient','');
- Node0_62.a('node.gradientcolor','');
- Node0_62.a('node.text','327.3°');
- Node0_62.a('node.textalign','left');
- Node0_62.a('node.textvAlign','middle');
- Node0_62.a('node.textrect', [Node0_62textStart, 0, Node0_62textWidth, Node0_62height]);
- Node0_62.a('node.color','rgba(255,255,255,1)');
- Node0_62.a('node.font',' '+ Node0_62fontSize + 'px "Arial"');
- Node0_62.a('node.textvisible',true);
- Node0_62.a('node.linefeed',false);
- if (false) {
- Node0_62.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_62.a('node.text') || '327.3°';
- var color=Node0_62.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_62width,Node0_62height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_62fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_62.a('node.underlinepoints',[Node0_62lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_62fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_62fontSize + 'px "Arial"').width + 6, (Node0_62height - Node0_62fontSize) * 0.5*_ratio.ratioY + Node0_62fontSize + 2 ]);
- Node0_62.a('node.underlinevisible',false);
- Node0_62.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_62);
- zoomNodeList.push({
- node: Node0_62,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_63 = new ht.Node();
- var Node0_63textStart, Node0_63textWidth, Node0_63lineStart, Node0_63align = 'left', Node0_63fontSize = 14.66663*_ratio.ratioY,Node0_63width = 94*_ratio.ratioX, Node0_63height = 35*_ratio.ratioY;
- (function () {
- if (Node0_63align === 'left') {
- Node0_63textStart = Node0_63fontSize * 0.2 > 2 ? Node0_63fontSize * 0.2 - 4 : Node0_63fontSize * 0.2 - 9;
- Node0_63textWidth = Node0_63width;
- Node0_63lineStart = 1;
- } else if (Node0_63align === 'right') {
- Node0_63textStart = 0;
- Node0_63textWidth =Node0_63fontSize <= 8 ? Node0_63width + Node0_63fontSize * 0.2 + 6 : Node0_63width - Node0_63fontSize * 0.2;
- Node0_63lineStart = (Node0_63width - (ht.Default.getTextSize('327.3°', ' '+ Node0_63fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_63align === 'center') {
- Node0_63textStart = -3;
- Node0_63textWidth = Node0_63width;
- Node0_63lineStart = Node0_63width - ht.Default.getTextSize('327.3°', ' '+ Node0_63fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_63.setImage(GD.getTextJSON(Node0_63width, Node0_63height, true, false, false, ' '+ Node0_63fontSize + 'px "Arial"'))
- Node0_63.setPosition(994*ratio.ratioX, 466*ratio.ratioY);
- Node0_63.setWidth(Node0_63width);
- Node0_63.setHeight(Node0_63height);
- Node0_63._nodeType = 'text';
- Node0_63._disallowEvert = true;
- Node0_63.setRotation(0*Math.PI/180);
- Node0_63.a('node.width', Node0_63width);
- Node0_63.a('node.height', Node0_63height);
- Node0_63.a('node.rect', [0, 0, Node0_63width, Node0_63height]);
- Node0_63.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_63.a('node.borderwidth', 0);
- Node0_63.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_63.a('node.gradient','');
- Node0_63.a('node.gradientcolor','');
- Node0_63.a('node.text','327.3°');
- Node0_63.a('node.textalign','left');
- Node0_63.a('node.textvAlign','middle');
- Node0_63.a('node.textrect', [Node0_63textStart, 0, Node0_63textWidth, Node0_63height]);
- Node0_63.a('node.color','rgba(255,255,255,1)');
- Node0_63.a('node.font',' '+ Node0_63fontSize + 'px "Arial"');
- Node0_63.a('node.textvisible',true);
- Node0_63.a('node.linefeed',false);
- if (false) {
- Node0_63.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_63.a('node.text') || '327.3°';
- var color=Node0_63.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_63width,Node0_63height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_63fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_63.a('node.underlinepoints',[Node0_63lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_63fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_63fontSize + 'px "Arial"').width + 6, (Node0_63height - Node0_63fontSize) * 0.5*_ratio.ratioY + Node0_63fontSize + 2 ]);
- Node0_63.a('node.underlinevisible',false);
- Node0_63.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_63);
- zoomNodeList.push({
- node: Node0_63,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_64 = new ht.Node();
- var Node0_64textStart, Node0_64textWidth, Node0_64lineStart, Node0_64align = 'left', Node0_64fontSize = 14.66663*_ratio.ratioY,Node0_64width = 94*_ratio.ratioX, Node0_64height = 35*_ratio.ratioY;
- (function () {
- if (Node0_64align === 'left') {
- Node0_64textStart = Node0_64fontSize * 0.2 > 2 ? Node0_64fontSize * 0.2 - 4 : Node0_64fontSize * 0.2 - 9;
- Node0_64textWidth = Node0_64width;
- Node0_64lineStart = 1;
- } else if (Node0_64align === 'right') {
- Node0_64textStart = 0;
- Node0_64textWidth =Node0_64fontSize <= 8 ? Node0_64width + Node0_64fontSize * 0.2 + 6 : Node0_64width - Node0_64fontSize * 0.2;
- Node0_64lineStart = (Node0_64width - (ht.Default.getTextSize('327.3°', ' '+ Node0_64fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_64align === 'center') {
- Node0_64textStart = -3;
- Node0_64textWidth = Node0_64width;
- Node0_64lineStart = Node0_64width - ht.Default.getTextSize('327.3°', ' '+ Node0_64fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_64.setImage(GD.getTextJSON(Node0_64width, Node0_64height, true, false, false, ' '+ Node0_64fontSize + 'px "Arial"'))
- Node0_64.setPosition(994*ratio.ratioX, 542*ratio.ratioY);
- Node0_64.setWidth(Node0_64width);
- Node0_64.setHeight(Node0_64height);
- Node0_64._nodeType = 'text';
- Node0_64._disallowEvert = true;
- Node0_64.setRotation(0*Math.PI/180);
- Node0_64.a('node.width', Node0_64width);
- Node0_64.a('node.height', Node0_64height);
- Node0_64.a('node.rect', [0, 0, Node0_64width, Node0_64height]);
- Node0_64.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_64.a('node.borderwidth', 0);
- Node0_64.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_64.a('node.gradient','');
- Node0_64.a('node.gradientcolor','');
- Node0_64.a('node.text','327.3°');
- Node0_64.a('node.textalign','left');
- Node0_64.a('node.textvAlign','middle');
- Node0_64.a('node.textrect', [Node0_64textStart, 0, Node0_64textWidth, Node0_64height]);
- Node0_64.a('node.color','rgba(255,255,255,1)');
- Node0_64.a('node.font',' '+ Node0_64fontSize + 'px "Arial"');
- Node0_64.a('node.textvisible',true);
- Node0_64.a('node.linefeed',false);
- if (false) {
- Node0_64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_64.a('node.text') || '327.3°';
- var color=Node0_64.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_64width,Node0_64height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_64fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_64.a('node.underlinepoints',[Node0_64lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_64fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_64fontSize + 'px "Arial"').width + 6, (Node0_64height - Node0_64fontSize) * 0.5*_ratio.ratioY + Node0_64fontSize + 2 ]);
- Node0_64.a('node.underlinevisible',false);
- Node0_64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_64);
- zoomNodeList.push({
- node: Node0_64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_65 = new ht.Node();
- var Node0_65textStart, Node0_65textWidth, Node0_65lineStart, Node0_65align = 'left', Node0_65fontSize = 14.66663*_ratio.ratioY,Node0_65width = 94*_ratio.ratioX, Node0_65height = 35*_ratio.ratioY;
- (function () {
- if (Node0_65align === 'left') {
- Node0_65textStart = Node0_65fontSize * 0.2 > 2 ? Node0_65fontSize * 0.2 - 4 : Node0_65fontSize * 0.2 - 9;
- Node0_65textWidth = Node0_65width;
- Node0_65lineStart = 1;
- } else if (Node0_65align === 'right') {
- Node0_65textStart = 0;
- Node0_65textWidth =Node0_65fontSize <= 8 ? Node0_65width + Node0_65fontSize * 0.2 + 6 : Node0_65width - Node0_65fontSize * 0.2;
- Node0_65lineStart = (Node0_65width - (ht.Default.getTextSize('327.3°', ' '+ Node0_65fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_65align === 'center') {
- Node0_65textStart = -3;
- Node0_65textWidth = Node0_65width;
- Node0_65lineStart = Node0_65width - ht.Default.getTextSize('327.3°', ' '+ Node0_65fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_65.setImage(GD.getTextJSON(Node0_65width, Node0_65height, true, false, false, ' '+ Node0_65fontSize + 'px "Arial"'))
- Node0_65.setPosition(994*ratio.ratioX, 619*ratio.ratioY);
- Node0_65.setWidth(Node0_65width);
- Node0_65.setHeight(Node0_65height);
- Node0_65._nodeType = 'text';
- Node0_65._disallowEvert = true;
- Node0_65.setRotation(0*Math.PI/180);
- Node0_65.a('node.width', Node0_65width);
- Node0_65.a('node.height', Node0_65height);
- Node0_65.a('node.rect', [0, 0, Node0_65width, Node0_65height]);
- Node0_65.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_65.a('node.borderwidth', 0);
- Node0_65.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_65.a('node.gradient','');
- Node0_65.a('node.gradientcolor','');
- Node0_65.a('node.text','327.3°');
- Node0_65.a('node.textalign','left');
- Node0_65.a('node.textvAlign','middle');
- Node0_65.a('node.textrect', [Node0_65textStart, 0, Node0_65textWidth, Node0_65height]);
- Node0_65.a('node.color','rgba(255,255,255,1)');
- Node0_65.a('node.font',' '+ Node0_65fontSize + 'px "Arial"');
- Node0_65.a('node.textvisible',true);
- Node0_65.a('node.linefeed',false);
- if (false) {
- Node0_65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_65.a('node.text') || '327.3°';
- var color=Node0_65.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_65width,Node0_65height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_65fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_65.a('node.underlinepoints',[Node0_65lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_65fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_65fontSize + 'px "Arial"').width + 6, (Node0_65height - Node0_65fontSize) * 0.5*_ratio.ratioY + Node0_65fontSize + 2 ]);
- Node0_65.a('node.underlinevisible',false);
- Node0_65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_65);
- zoomNodeList.push({
- node: Node0_65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_66 = new ht.Node();
- var Node0_66textStart, Node0_66textWidth, Node0_66lineStart, Node0_66align = 'left', Node0_66fontSize = 14.66663*_ratio.ratioY,Node0_66width = 94*_ratio.ratioX, Node0_66height = 35*_ratio.ratioY;
- (function () {
- if (Node0_66align === 'left') {
- Node0_66textStart = Node0_66fontSize * 0.2 > 2 ? Node0_66fontSize * 0.2 - 4 : Node0_66fontSize * 0.2 - 9;
- Node0_66textWidth = Node0_66width;
- Node0_66lineStart = 1;
- } else if (Node0_66align === 'right') {
- Node0_66textStart = 0;
- Node0_66textWidth =Node0_66fontSize <= 8 ? Node0_66width + Node0_66fontSize * 0.2 + 6 : Node0_66width - Node0_66fontSize * 0.2;
- Node0_66lineStart = (Node0_66width - (ht.Default.getTextSize('327.3°', ' '+ Node0_66fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_66align === 'center') {
- Node0_66textStart = -3;
- Node0_66textWidth = Node0_66width;
- Node0_66lineStart = Node0_66width - ht.Default.getTextSize('327.3°', ' '+ Node0_66fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_66.setImage(GD.getTextJSON(Node0_66width, Node0_66height, true, false, false, ' '+ Node0_66fontSize + 'px "Arial"'))
- Node0_66.setPosition(994*ratio.ratioX, 695*ratio.ratioY);
- Node0_66.setWidth(Node0_66width);
- Node0_66.setHeight(Node0_66height);
- Node0_66._nodeType = 'text';
- Node0_66._disallowEvert = true;
- Node0_66.setRotation(0*Math.PI/180);
- Node0_66.a('node.width', Node0_66width);
- Node0_66.a('node.height', Node0_66height);
- Node0_66.a('node.rect', [0, 0, Node0_66width, Node0_66height]);
- Node0_66.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_66.a('node.borderwidth', 0);
- Node0_66.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_66.a('node.gradient','');
- Node0_66.a('node.gradientcolor','');
- Node0_66.a('node.text','327.3°');
- Node0_66.a('node.textalign','left');
- Node0_66.a('node.textvAlign','middle');
- Node0_66.a('node.textrect', [Node0_66textStart, 0, Node0_66textWidth, Node0_66height]);
- Node0_66.a('node.color','rgba(255,255,255,1)');
- Node0_66.a('node.font',' '+ Node0_66fontSize + 'px "Arial"');
- Node0_66.a('node.textvisible',true);
- Node0_66.a('node.linefeed',false);
- if (false) {
- Node0_66.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_66.a('node.text') || '327.3°';
- var color=Node0_66.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_66width,Node0_66height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_66fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_66.a('node.underlinepoints',[Node0_66lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_66fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_66fontSize + 'px "Arial"').width + 6, (Node0_66height - Node0_66fontSize) * 0.5*_ratio.ratioY + Node0_66fontSize + 2 ]);
- Node0_66.a('node.underlinevisible',false);
- Node0_66.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_66);
- zoomNodeList.push({
- node: Node0_66,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_67 = new ht.Node();
- var Node0_67textStart, Node0_67textWidth, Node0_67lineStart, Node0_67align = 'left', Node0_67fontSize = 14.66663*_ratio.ratioY,Node0_67width = 94*_ratio.ratioX, Node0_67height = 35*_ratio.ratioY;
- (function () {
- if (Node0_67align === 'left') {
- Node0_67textStart = Node0_67fontSize * 0.2 > 2 ? Node0_67fontSize * 0.2 - 4 : Node0_67fontSize * 0.2 - 9;
- Node0_67textWidth = Node0_67width;
- Node0_67lineStart = 1;
- } else if (Node0_67align === 'right') {
- Node0_67textStart = 0;
- Node0_67textWidth =Node0_67fontSize <= 8 ? Node0_67width + Node0_67fontSize * 0.2 + 6 : Node0_67width - Node0_67fontSize * 0.2;
- Node0_67lineStart = (Node0_67width - (ht.Default.getTextSize('327.3°', ' '+ Node0_67fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_67align === 'center') {
- Node0_67textStart = -3;
- Node0_67textWidth = Node0_67width;
- Node0_67lineStart = Node0_67width - ht.Default.getTextSize('327.3°', ' '+ Node0_67fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_67.setImage(GD.getTextJSON(Node0_67width, Node0_67height, true, false, false, ' '+ Node0_67fontSize + 'px "Arial"'))
- Node0_67.setPosition(994*ratio.ratioX, 771*ratio.ratioY);
- Node0_67.setWidth(Node0_67width);
- Node0_67.setHeight(Node0_67height);
- Node0_67._nodeType = 'text';
- Node0_67._disallowEvert = true;
- Node0_67.setRotation(0*Math.PI/180);
- Node0_67.a('node.width', Node0_67width);
- Node0_67.a('node.height', Node0_67height);
- Node0_67.a('node.rect', [0, 0, Node0_67width, Node0_67height]);
- Node0_67.a('node.bordercolor','rgba(255,255,255,1)');
- Node0_67.a('node.borderwidth', 0);
- Node0_67.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_67.a('node.gradient','');
- Node0_67.a('node.gradientcolor','');
- Node0_67.a('node.text','327.3°');
- Node0_67.a('node.textalign','left');
- Node0_67.a('node.textvAlign','middle');
- Node0_67.a('node.textrect', [Node0_67textStart, 0, Node0_67textWidth, Node0_67height]);
- Node0_67.a('node.color','rgba(255,255,255,1)');
- Node0_67.a('node.font',' '+ Node0_67fontSize + 'px "Arial"');
- Node0_67.a('node.textvisible',true);
- Node0_67.a('node.linefeed',false);
- if (false) {
- Node0_67.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_67.a('node.text') || '327.3°';
- var color=Node0_67.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0_67width,Node0_67height,14.66663*_ratio.ratioY,"left",color,' '+ Node0_67fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_67.a('node.underlinepoints',[Node0_67lineStart, (35 - 14.66663) * 0.5 * _ratio.ratioY + Node0_67fontSize + 2 , ht.Default.getTextSize('327.3°', ' '+ Node0_67fontSize + 'px "Arial"').width + 6, (Node0_67height - Node0_67fontSize) * 0.5*_ratio.ratioY + Node0_67fontSize + 2 ]);
- Node0_67.a('node.underlinevisible',false);
- Node0_67.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_67);
- zoomNodeList.push({
- node: Node0_67,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node0_68points=[1498, 165,43, 165],
- Node0_68rect=ht.Default.unionPoint([{x:1498,y:165},{x:43,y:165}]),
- 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 = 115*_ratio.ratioX, Node0_69height = 48*_ratio.ratioY;
- (function () {
- if (Node0_69align === 'left') {
- Node0_69textStart = Node0_69fontSize * 0.2 > 2 ? Node0_69fontSize * 0.2 - 4 : Node0_69fontSize * 0.2 - 9;
- Node0_69textWidth = Node0_69width;
- Node0_69lineStart = 1;
- } else if (Node0_69align === 'right') {
- Node0_69textStart = 0;
- Node0_69textWidth =Node0_69fontSize <= 8 ? Node0_69width + Node0_69fontSize * 0.2 + 6 : Node0_69width - Node0_69fontSize * 0.2;
- Node0_69lineStart = (Node0_69width - (ht.Default.getTextSize('Pa', ' '+ Node0_69fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_69align === 'center') {
- Node0_69textStart = -3;
- Node0_69textWidth = Node0_69width;
- Node0_69lineStart = Node0_69width - ht.Default.getTextSize('Pa', ' '+ Node0_69fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_69.setImage(GD.getTextJSON(Node0_69width, Node0_69height, true, false, false, ' '+ Node0_69fontSize + 'px "Arial"'))
- Node0_69.setPosition(1873*ratio.ratioX, 197*ratio.ratioY);
- Node0_69.setWidth(Node0_69width);
- Node0_69.setHeight(Node0_69height);
- Node0_69._nodeType = 'text';
- Node0_69._disallowEvert = true;
- Node0_69.setRotation(0*Math.PI/180);
- Node0_69.a('node.width', Node0_69width);
- Node0_69.a('node.height', Node0_69height);
- Node0_69.a('node.rect', [0, 0, Node0_69width, Node0_69height]);
- Node0_69.a('node.bordercolor','rgba(192,0,0,1)');
- Node0_69.a('node.borderwidth', 0);
- Node0_69.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_69.a('node.gradient','');
- Node0_69.a('node.gradientcolor','');
- Node0_69.a('node.text','Pa');
- Node0_69.a('node.textalign','left');
- Node0_69.a('node.textvAlign','middle');
- Node0_69.a('node.textrect', [Node0_69textStart, 0, Node0_69textWidth, Node0_69height]);
- Node0_69.a('node.color','rgba(192,0,0,1)');
- Node0_69.a('node.font',' '+ Node0_69fontSize + 'px "Arial"');
- Node0_69.a('node.textvisible',true);
- Node0_69.a('node.linefeed',false);
- if (false) {
- Node0_69.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_69.a('node.text') || 'Pa';
- var color=Node0_69.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_69width,Node0_69height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_69fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_69.a('node.underlinepoints',[Node0_69lineStart, (48 - 17.33329) * 0.5 * _ratio.ratioY + Node0_69fontSize + 2 , ht.Default.getTextSize('Pa', ' '+ Node0_69fontSize + 'px "Arial"').width + 6, (Node0_69height - Node0_69fontSize) * 0.5*_ratio.ratioY + Node0_69fontSize + 2 ]);
- Node0_69.a('node.underlinevisible',false);
- Node0_69.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_69);
- zoomNodeList.push({
- node: Node0_69,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_70 = new ht.Node();
- var Node0_70textStart, Node0_70textWidth, Node0_70lineStart, Node0_70align = 'left', Node0_70fontSize = 17.33329*_ratio.ratioY,Node0_70width = 84*_ratio.ratioX, Node0_70height = 36*_ratio.ratioY;
- (function () {
- if (Node0_70align === 'left') {
- Node0_70textStart = Node0_70fontSize * 0.2 > 2 ? Node0_70fontSize * 0.2 - 4 : Node0_70fontSize * 0.2 - 9;
- Node0_70textWidth = Node0_70width;
- Node0_70lineStart = 1;
- } else if (Node0_70align === 'right') {
- Node0_70textStart = 0;
- Node0_70textWidth =Node0_70fontSize <= 8 ? Node0_70width + Node0_70fontSize * 0.2 + 6 : Node0_70width - Node0_70fontSize * 0.2;
- Node0_70lineStart = (Node0_70width - (ht.Default.getTextSize('℃', ' '+ Node0_70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_70align === 'center') {
- Node0_70textStart = -3;
- Node0_70textWidth = Node0_70width;
- Node0_70lineStart = Node0_70width - ht.Default.getTextSize('℃', ' '+ Node0_70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_70.setImage(GD.getTextJSON(Node0_70width, Node0_70height, true, false, false, ' '+ Node0_70fontSize + 'px "Arial"'))
- Node0_70.setPosition(1858*ratio.ratioX, 257*ratio.ratioY);
- Node0_70.setWidth(Node0_70width);
- Node0_70.setHeight(Node0_70height);
- Node0_70._nodeType = 'text';
- Node0_70._disallowEvert = true;
- Node0_70.setRotation(0*Math.PI/180);
- Node0_70.a('node.width', Node0_70width);
- Node0_70.a('node.height', Node0_70height);
- Node0_70.a('node.rect', [0, 0, Node0_70width, Node0_70height]);
- Node0_70.a('node.bordercolor','rgba(0,128,128,1)');
- Node0_70.a('node.borderwidth', 0);
- Node0_70.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_70.a('node.gradient','');
- Node0_70.a('node.gradientcolor','');
- Node0_70.a('node.text','℃');
- Node0_70.a('node.textalign','left');
- Node0_70.a('node.textvAlign','middle');
- Node0_70.a('node.textrect', [Node0_70textStart, 0, Node0_70textWidth, Node0_70height]);
- Node0_70.a('node.color','rgba(0,128,128,1)');
- Node0_70.a('node.font',' '+ Node0_70fontSize + 'px "Arial"');
- Node0_70.a('node.textvisible',true);
- Node0_70.a('node.linefeed',false);
- if (false) {
- Node0_70.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_70.a('node.text') || '℃';
- var color=Node0_70.a('node.color') || 'rgba(0,128,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_70width,Node0_70height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_70fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_70.a('node.underlinepoints',[Node0_70lineStart, (36 - 17.33329) * 0.5 * _ratio.ratioY + Node0_70fontSize + 2 , ht.Default.getTextSize('℃', ' '+ Node0_70fontSize + 'px "Arial"').width + 6, (Node0_70height - Node0_70fontSize) * 0.5*_ratio.ratioY + Node0_70fontSize + 2 ]);
- Node0_70.a('node.underlinevisible',false);
- Node0_70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_70);
- zoomNodeList.push({
- node: Node0_70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_71 = new ht.Node();
- var Node0_71textStart, Node0_71textWidth, Node0_71lineStart, Node0_71align = 'left', Node0_71fontSize = 17.33329*_ratio.ratioY,Node0_71width = 53*_ratio.ratioX, Node0_71height = 23*_ratio.ratioY;
- (function () {
- if (Node0_71align === 'left') {
- Node0_71textStart = Node0_71fontSize * 0.2 > 2 ? Node0_71fontSize * 0.2 - 4 : Node0_71fontSize * 0.2 - 9;
- Node0_71textWidth = Node0_71width;
- Node0_71lineStart = 1;
- } else if (Node0_71align === 'right') {
- Node0_71textStart = 0;
- Node0_71textWidth =Node0_71fontSize <= 8 ? Node0_71width + Node0_71fontSize * 0.2 + 6 : Node0_71width - Node0_71fontSize * 0.2;
- Node0_71lineStart = (Node0_71width - (ht.Default.getTextSize('%RH', ' '+ Node0_71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0_71align === 'center') {
- Node0_71textStart = -3;
- Node0_71textWidth = Node0_71width;
- Node0_71lineStart = Node0_71width - ht.Default.getTextSize('%RH', ' '+ Node0_71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0_71.setImage(GD.getTextJSON(Node0_71width, Node0_71height, true, false, false, ' '+ Node0_71fontSize + 'px "Arial"'))
- Node0_71.setPosition(1842*ratio.ratioX, 308*ratio.ratioY);
- Node0_71.setWidth(Node0_71width);
- Node0_71.setHeight(Node0_71height);
- Node0_71._nodeType = 'text';
- Node0_71._disallowEvert = true;
- Node0_71.setRotation(0*Math.PI/180);
- Node0_71.a('node.width', Node0_71width);
- Node0_71.a('node.height', Node0_71height);
- Node0_71.a('node.rect', [0, 0, Node0_71width, Node0_71height]);
- Node0_71.a('node.bordercolor','rgba(128,0,128,1)');
- Node0_71.a('node.borderwidth', 0);
- Node0_71.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_71.a('node.gradient','');
- Node0_71.a('node.gradientcolor','');
- Node0_71.a('node.text','%RH');
- Node0_71.a('node.textalign','left');
- Node0_71.a('node.textvAlign','middle');
- Node0_71.a('node.textrect', [Node0_71textStart, 0, Node0_71textWidth, Node0_71height]);
- Node0_71.a('node.color','rgba(128,0,128,1)');
- Node0_71.a('node.font',' '+ Node0_71fontSize + 'px "Arial"');
- Node0_71.a('node.textvisible',true);
- Node0_71.a('node.linefeed',false);
- if (false) {
- Node0_71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_71.a('node.text') || '%RH';
- var color=Node0_71.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node0_71width,Node0_71height,17.33329*_ratio.ratioY,"left",color,' '+ Node0_71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0_71.a('node.underlinepoints',[Node0_71lineStart, (23 - 17.33329) * 0.5 * _ratio.ratioY + Node0_71fontSize + 2 , ht.Default.getTextSize('%RH', ' '+ Node0_71fontSize + 'px "Arial"').width + 6, (Node0_71height - Node0_71fontSize) * 0.5*_ratio.ratioY + Node0_71fontSize + 2 ]);
- Node0_71.a('node.underlinevisible',false);
- Node0_71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_71);
- zoomNodeList.push({
- node: Node0_71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_72 = new ht.Node();
- var Node0_72textStart, Node0_72textWidth, Node0_72lineStart, Node0_72align = 'left', Node0_72fontSize = 25.33327*_ratio.ratioY,Node0_72width = 133*_ratio.ratioX, Node0_72height = 38*_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(1732*ratio.ratioX, 198*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, (38 - 25.33327) * 0.5 * _ratio.ratioY + Node0_72fontSize + 2 , ht.Default.getTextSize('10000.00', ' '+ Node0_72fontSize + 'px "DS-Digital"').width + 6, (Node0_72height - Node0_72fontSize) * 0.5*_ratio.ratioY + Node0_72fontSize + 2 ]);
- Node0_72.a('node.underlinevisible',false);
- Node0_72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_72);
- zoomNodeList.push({
- node: Node0_72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0_73 = new ht.Node();
- var Node0_73textStart, Node0_73textWidth, Node0_73lineStart, Node0_73align = 'left', Node0_73fontSize = 25.33327*_ratio.ratioY,Node0_73width = 102*_ratio.ratioX, Node0_73height = 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(1717*ratio.ratioX, 258*ratio.ratioY);
- Node0_73.setWidth(Node0_73width);
- Node0_73.setHeight(Node0_73height);
- Node0_73._nodeType = 'text';
- Node0_73._disallowEvert = true;
- Node0_73.setRotation(0*Math.PI/180);
- Node0_73.a('node.width', Node0_73width);
- Node0_73.a('node.height', Node0_73height);
- Node0_73.a('node.rect', [0, 0, Node0_73width, Node0_73height]);
- Node0_73.a('node.bordercolor','rgba(0,0,0,1)');
- Node0_73.a('node.borderwidth', 0);
- Node0_73.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_73.a('node.gradient','');
- Node0_73.a('node.gradientcolor','');
- Node0_73.a('node.text','10000.00');
- Node0_73.a('node.textalign','left');
- Node0_73.a('node.textvAlign','middle');
- Node0_73.a('node.textrect', [Node0_73textStart, 0, Node0_73textWidth, Node0_73height]);
- Node0_73.a('node.color','rgba(0,0,0,1)');
- Node0_73.a('node.font',' '+ Node0_73fontSize + 'px "DS-Digital"');
- Node0_73.a('node.textvisible',true);
- Node0_73.a('node.linefeed',false);
- if (false) {
- Node0_73.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_73.a('node.text') || '10000.00';
- var color=Node0_73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,25.33327*0.5*_ratio.ratioY,Node0_73width,Node0_73height,25.33327*_ratio.ratioY,"left",color,' '+ Node0_73fontSize + 'px "DS-Digital"', 0,g);
- });
- }
- if (false) {
- Node0_73.a('node.underlinepoints',[Node0_73lineStart, (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 = 102*_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(1717*ratio.ratioX, 317*ratio.ratioY);
- Node0_74.setWidth(Node0_74width);
- Node0_74.setHeight(Node0_74height);
- Node0_74._nodeType = 'text';
- Node0_74._disallowEvert = true;
- Node0_74.setRotation(0*Math.PI/180);
- Node0_74.a('node.width', Node0_74width);
- Node0_74.a('node.height', Node0_74height);
- Node0_74.a('node.rect', [0, 0, Node0_74width, Node0_74height]);
- Node0_74.a('node.bordercolor','rgba(0,0,0,1)');
- Node0_74.a('node.borderwidth', 0);
- Node0_74.a('node.background','' || 'rgba(0,0,0,0)');
- Node0_74.a('node.gradient','');
- Node0_74.a('node.gradientcolor','');
- Node0_74.a('node.text','10000.00');
- Node0_74.a('node.textalign','left');
- Node0_74.a('node.textvAlign','middle');
- Node0_74.a('node.textrect', [Node0_74textStart, 0, Node0_74textWidth, Node0_74height]);
- Node0_74.a('node.color','rgba(0,0,0,1)');
- Node0_74.a('node.font',' '+ Node0_74fontSize + 'px "DS-Digital"');
- Node0_74.a('node.textvisible',true);
- Node0_74.a('node.linefeed',false);
- if (false) {
- Node0_74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0_74.a('node.text') || '10000.00';
- var color=Node0_74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,25.33327*0.5*_ratio.ratioY,Node0_74width,Node0_74height,25.33327*_ratio.ratioY,"left",color,' '+ Node0_74fontSize + 'px "DS-Digital"', 0,g);
- });
- }
- if (false) {
- Node0_74.a('node.underlinepoints',[Node0_74lineStart, (29 - 25.33327) * 0.5 * _ratio.ratioY + Node0_74fontSize + 2 , ht.Default.getTextSize('10000.00', ' '+ Node0_74fontSize + 'px "DS-Digital"').width + 6, (Node0_74height - Node0_74fontSize) * 0.5*_ratio.ratioY + Node0_74fontSize + 2 ]);
- Node0_74.a('node.underlinevisible',false);
- Node0_74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0_74);
- zoomNodeList.push({
- node: Node0_74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1type = 'rect';
- var Node1 = new ht.Node(),
- Node1BorderWidth = 0*2;
- if (Node1type === 'arc') {
- Node1BorderWidth *= 0;
- }
- Node1.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node1.setPosition(18*ratio.ratioX, 98*ratio.ratioY);
- Node1.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node1.a('node.width', 27*_ratio.ratioX);
- Node1.a('node.height', 121*_ratio.ratioY);
- Node1.a('node.type', Node1type);
- Node1.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node1.a('node.background', 'rgba(0,132,216,1)');
- Node1.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node1.a('node.gradient', '');
- Node1.a('node.borderwidth', Node1BorderWidth);
- Node1.a('node.color', 'rgba(0,0,255,0)');
- Node1.a('node.fillrect', [0,0,0,0]);
- Node1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node1.a('node.fillgradient', '');
- if (Node1type !== 'rect') {
- Node1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node1.a('node.arcTo', parseFloat('@arcTo@'));
- Node1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node1type === 'arc') {
- Node1.a('node.arcOval', true);
- }
- Node1.setRotation(0*Math.PI/180);
- Node1.borderWidth = Node1BorderWidth;
- Node1.borderFillwidth = Node1BorderWidth;
- dataModel.add(Node1);
- Node1._nodename = 'Node1'
- Node1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node1, Node1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2 = new ht.Node();
- var Node2textStart, Node2textWidth, Node2lineStart, Node2align = 'left', Node2fontSize = 13.3333*_ratio.ratioY,Node2width = 53*_ratio.ratioX, Node2height = 30*_ratio.ratioY;
- (function () {
- if (Node2align === 'left') {
- Node2textStart = Node2fontSize * 0.2 > 2 ? Node2fontSize * 0.2 - 4 : Node2fontSize * 0.2 - 9;
- Node2textWidth = Node2width;
- Node2lineStart = 1;
- } else if (Node2align === 'right') {
- Node2textStart = 0;
- Node2textWidth =Node2fontSize <= 8 ? Node2width + Node2fontSize * 0.2 + 6 : Node2width - Node2fontSize * 0.2;
- Node2lineStart = (Node2width - (ht.Default.getTextSize('综', 'bold '+ Node2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node2align === 'center') {
- Node2textStart = -3;
- Node2textWidth = Node2width;
- Node2lineStart = Node2width - ht.Default.getTextSize('综', 'bold '+ Node2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node2.setImage(GD.getTextJSON(Node2width, Node2height, true, false, false, 'bold '+ Node2fontSize + 'px "Arial"'))
- Node2.setPosition(34*ratio.ratioX, 55*ratio.ratioY);
- Node2.setWidth(Node2width);
- Node2.setHeight(Node2height);
- Node2._nodeType = 'text';
- Node2._disallowEvert = true;
- Node2.setRotation(0*Math.PI/180);
- Node2.a('node.width', Node2width);
- Node2.a('node.height', Node2height);
- Node2.a('node.rect', [0, 0, Node2width, Node2height]);
- Node2.a('node.bordercolor','rgba(255,255,255,1)');
- Node2.a('node.borderwidth', 0);
- Node2.a('node.background','' || 'rgba(0,0,0,0)');
- Node2.a('node.gradient','');
- Node2.a('node.gradientcolor','');
- Node2.a('node.text','综');
- Node2.a('node.textalign','left');
- Node2.a('node.textvAlign','middle');
- Node2.a('node.textrect', [Node2textStart, 0, Node2textWidth, Node2height]);
- Node2.a('node.color','rgba(255,255,255,1)');
- Node2.a('node.font','bold '+ Node2fontSize + 'px "Arial"');
- Node2.a('node.textvisible',true);
- Node2.a('node.linefeed',false);
- if (false) {
- Node2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node2.a('node.text') || '综';
- var color=Node2.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node2width,Node2height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node2.a('node.underlinepoints',[Node2lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node2fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node2fontSize + 'px "Arial"').width + 6, (Node2height - Node2fontSize) * 0.5*_ratio.ratioY + Node2fontSize + 2 ]);
- Node2.a('node.underlinevisible',false);
- Node2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node2);
- zoomNodeList.push({
- node: Node2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node3type = 'rect';
- var Node3 = new ht.Node(),
- Node3BorderWidth = 0*2;
- if (Node3type === 'arc') {
- Node3BorderWidth *= 0;
- }
- Node3.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node3.setPosition(111*ratio.ratioX, 101*ratio.ratioY);
- Node3.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node3.a('node.width', 156*_ratio.ratioX);
- Node3.a('node.height', 30*_ratio.ratioY);
- Node3.a('node.type', Node3type);
- Node3.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node3.a('node.background', 'rgba(73,192,209,1)');
- Node3.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node3.a('node.gradient', '');
- Node3.a('node.borderwidth', Node3BorderWidth);
- Node3.a('node.color', 'rgba(0,0,0,0)');
- Node3.a('node.fillrect', [0,0,0,0]);
- Node3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node3.a('node.fillgradient', '');
- if (Node3type !== 'rect') {
- Node3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node3.a('node.arcTo', parseFloat('@arcTo@'));
- Node3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node3type === 'arc') {
- Node3.a('node.arcOval', true);
- }
- Node3.setRotation(0*Math.PI/180);
- Node3.borderWidth = Node3BorderWidth;
- Node3.borderFillwidth = Node3BorderWidth;
- dataModel.add(Node3);
- Node3._nodename = 'Node3'
- Node3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node3, Node3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node4 = new ht.Node();
- var Node4textStart, Node4textWidth, Node4lineStart, Node4align = 'left', Node4fontSize = 14.66663*_ratio.ratioY,Node4width = 157*_ratio.ratioX, Node4height = 24*_ratio.ratioY;
- (function () {
- if (Node4align === 'left') {
- Node4textStart = Node4fontSize * 0.2 > 2 ? Node4fontSize * 0.2 - 4 : Node4fontSize * 0.2 - 9;
- Node4textWidth = Node4width;
- Node4lineStart = 1;
- } else if (Node4align === 'right') {
- Node4textStart = 0;
- Node4textWidth =Node4fontSize <= 8 ? Node4width + Node4fontSize * 0.2 + 6 : Node4width - Node4fontSize * 0.2;
- Node4lineStart = (Node4width - (ht.Default.getTextSize('安全天数', 'bold '+ Node4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node4align === 'center') {
- Node4textStart = -3;
- Node4textWidth = Node4width;
- Node4lineStart = Node4width - ht.Default.getTextSize('安全天数', 'bold '+ Node4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node4.setImage(GD.getTextJSON(Node4width, Node4height, true, false, false, 'bold '+ Node4fontSize + 'px "Arial"'))
- Node4.setPosition(151*ratio.ratioX, 101*ratio.ratioY);
- Node4.setWidth(Node4width);
- Node4.setHeight(Node4height);
- Node4._nodeType = 'text';
- Node4._disallowEvert = true;
- Node4.setRotation(0*Math.PI/180);
- Node4.a('node.width', Node4width);
- Node4.a('node.height', Node4height);
- Node4.a('node.rect', [0, 0, Node4width, Node4height]);
- Node4.a('node.bordercolor','rgba(255,255,255,1)');
- Node4.a('node.borderwidth', 0);
- Node4.a('node.background','' || 'rgba(0,0,0,0)');
- Node4.a('node.gradient','');
- Node4.a('node.gradientcolor','');
- Node4.a('node.text','安全天数');
- Node4.a('node.textalign','left');
- Node4.a('node.textvAlign','middle');
- Node4.a('node.textrect', [Node4textStart, 0, Node4textWidth, Node4height]);
- Node4.a('node.color','rgba(255,255,255,1)');
- Node4.a('node.font','bold '+ Node4fontSize + 'px "Arial"');
- Node4.a('node.textvisible',true);
- Node4.a('node.linefeed',false);
- if (false) {
- Node4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node4.a('node.text') || '安全天数';
- var color=Node4.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node4width,Node4height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node4.a('node.underlinepoints',[Node4lineStart, (24 - 14.66663) * 0.5 * _ratio.ratioY + Node4fontSize + 2 , ht.Default.getTextSize('安全天数', 'bold '+ Node4fontSize + 'px "Arial"').width + 6, (Node4height - Node4fontSize) * 0.5*_ratio.ratioY + Node4fontSize + 2 ]);
- Node4.a('node.underlinevisible',false);
- Node4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node4);
- zoomNodeList.push({
- node: Node4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5type = 'rect';
- var Node5 = new ht.Node(),
- Node5BorderWidth = 0*2;
- if (Node5type === 'arc') {
- Node5BorderWidth *= 0;
- }
- Node5.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node5.setPosition(87*ratio.ratioX, 138*ratio.ratioY);
- Node5.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node5.a('node.width', 105*_ratio.ratioX);
- Node5.a('node.height', 48*_ratio.ratioY);
- Node5.a('node.type', Node5type);
- Node5.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node5.a('node.gradientcolor', '');
- Node5.a('node.gradient', '');
- Node5.a('node.borderwidth', Node5BorderWidth);
- Node5.a('node.color', 'rgba(0,0,0,0)');
- Node5.a('node.fillrect', [0,0,0,0]);
- Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradient', '');
- if (Node5type !== 'rect') {
- Node5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node5.a('node.arcTo', parseFloat('@arcTo@'));
- Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node5type === 'arc') {
- Node5.a('node.arcOval', true);
- }
- Node5.setRotation(0*Math.PI/180);
- Node5.borderWidth = Node5BorderWidth;
- Node5.borderFillwidth = Node5BorderWidth;
- dataModel.add(Node5);
- Node5._nodename = 'Node5'
- Node5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6 = new ht.Node();
- var Node6textStart, Node6textWidth, Node6lineStart, Node6align = 'right', Node6fontSize = 19.99995*_ratio.ratioY,Node6width = 59*_ratio.ratioX, Node6height = 24*_ratio.ratioY;
- (function () {
- if (Node6align === 'left') {
- Node6textStart = Node6fontSize * 0.2 > 2 ? Node6fontSize * 0.2 - 4 : Node6fontSize * 0.2 - 9;
- Node6textWidth = Node6width;
- Node6lineStart = 1;
- } else if (Node6align === 'right') {
- Node6textStart = 0;
- Node6textWidth =Node6fontSize <= 8 ? Node6width + Node6fontSize * 0.2 + 6 : Node6width - Node6fontSize * 0.2;
- Node6lineStart = (Node6width - (ht.Default.getTextSize('0', ' '+ Node6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node6align === 'center') {
- Node6textStart = -3;
- Node6textWidth = Node6width;
- Node6lineStart = Node6width - ht.Default.getTextSize('0', ' '+ Node6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node6.setImage(GD.getTextJSON(Node6width, Node6height, true, false, false, ' '+ Node6fontSize + 'px "Arial"'))
- Node6.setPosition(82*ratio.ratioX, 146*ratio.ratioY);
- Node6.setWidth(Node6width);
- Node6.setHeight(Node6height);
- Node6._nodeType = 'text';
- Node6._disallowEvert = true;
- Node6.setRotation(0*Math.PI/180);
- Node6.a('node.width', Node6width);
- Node6.a('node.height', Node6height);
- Node6.a('node.rect', [0, 0, Node6width, Node6height]);
- Node6.a('node.bordercolor','rgba(0,0,0,1)');
- Node6.a('node.borderwidth', 0);
- Node6.a('node.background','' || 'rgba(0,0,0,0)');
- Node6.a('node.gradient','');
- Node6.a('node.gradientcolor','');
- Node6.a('node.text','0');
- Node6.a('node.textalign','right');
- Node6.a('node.textvAlign','middle');
- Node6.a('node.textrect', [Node6textStart, 0, Node6textWidth, Node6height]);
- Node6.a('node.color','rgba(0,0,0,1)');
- Node6.a('node.font',' '+ Node6fontSize + 'px "Arial"');
- Node6.a('node.textvisible',true);
- Node6.a('node.linefeed',false);
- if (false) {
- Node6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node6.a('node.text') || '0';
- var color=Node6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node6width,Node6height,19.99995*_ratio.ratioY,"right",color,' '+ Node6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node6.a('node.underlinepoints',[Node6lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node6fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node6fontSize + 'px "Arial"').width + 6, (Node6height - Node6fontSize) * 0.5*_ratio.ratioY + Node6fontSize + 2 ]);
- Node6.a('node.underlinevisible',false);
- Node6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node6);
- zoomNodeList.push({
- node: Node6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7type = 'rect';
- var Node7 = new ht.Node(),
- Node7BorderWidth = 0*2;
- if (Node7type === 'arc') {
- Node7BorderWidth *= 0;
- }
- Node7.setImage(GD.getRectJSON(31*_ratio.ratioX, 31*_ratio.ratioY, Node7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node7.setPosition(170*ratio.ratioX, 143*ratio.ratioY);
- Node7.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node7.a('node.width', 31*_ratio.ratioX);
- Node7.a('node.height', 31*_ratio.ratioY);
- Node7.a('node.type', Node7type);
- Node7.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node7.a('node.background', 'rgba(225,102,38,1)');
- Node7.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node7.a('node.gradient', '');
- Node7.a('node.borderwidth', Node7BorderWidth);
- Node7.a('node.color', 'rgba(0,0,0,0)');
- Node7.a('node.fillrect', [0,0,0,0]);
- Node7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node7.a('node.fillgradient', '');
- if (Node7type !== 'rect') {
- Node7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node7.a('node.arcTo', parseFloat('@arcTo@'));
- Node7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node7type === 'arc') {
- Node7.a('node.arcOval', true);
- }
- Node7.setRotation(0*Math.PI/180);
- Node7.borderWidth = Node7BorderWidth;
- Node7.borderFillwidth = Node7BorderWidth;
- dataModel.add(Node7);
- Node7._nodename = 'Node7'
- Node7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node7,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node7, Node7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8 = new ht.Node();
- var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'left', Node8fontSize = 13.3333*_ratio.ratioY,Node8width = 27*_ratio.ratioX, Node8height = 16*_ratio.ratioY;
- (function () {
- if (Node8align === 'left') {
- Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9;
- Node8textWidth = Node8width;
- Node8lineStart = 1;
- } else if (Node8align === 'right') {
- Node8textStart = 0;
- Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2;
- Node8lineStart = (Node8width - (ht.Default.getTextSize('天', 'bold '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node8align === 'center') {
- Node8textStart = -3;
- Node8textWidth = Node8width;
- Node8lineStart = Node8width - ht.Default.getTextSize('天', 'bold '+ Node8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, 'bold '+ Node8fontSize + 'px "Arial"'))
- Node8.setPosition(174*ratio.ratioX, 145*ratio.ratioY);
- Node8.setWidth(Node8width);
- Node8.setHeight(Node8height);
- Node8._nodeType = 'text';
- Node8._disallowEvert = true;
- Node8.setRotation(0*Math.PI/180);
- Node8.a('node.width', Node8width);
- Node8.a('node.height', Node8height);
- Node8.a('node.rect', [0, 0, Node8width, Node8height]);
- Node8.a('node.bordercolor','rgba(255,255,255,1)');
- Node8.a('node.borderwidth', 0);
- Node8.a('node.background','' || 'rgba(0,0,0,0)');
- Node8.a('node.gradient','');
- Node8.a('node.gradientcolor','');
- Node8.a('node.text','天');
- Node8.a('node.textalign','left');
- Node8.a('node.textvAlign','middle');
- Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]);
- Node8.a('node.color','rgba(255,255,255,1)');
- Node8.a('node.font','bold '+ Node8fontSize + 'px "Arial"');
- Node8.a('node.textvisible',true);
- Node8.a('node.linefeed',false);
- if (false) {
- Node8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node8.a('node.text') || '天';
- var color=Node8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node8width,Node8height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node8.a('node.underlinepoints',[Node8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]);
- Node8.a('node.underlinevisible',false);
- Node8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node8);
- zoomNodeList.push({
- node: Node8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 53*_ratio.ratioX, Node9height = 30*_ratio.ratioY;
- (function () {
- if (Node9align === 'left') {
- Node9textStart = Node9fontSize * 0.2 > 2 ? Node9fontSize * 0.2 - 4 : Node9fontSize * 0.2 - 9;
- Node9textWidth = Node9width;
- Node9lineStart = 1;
- } else if (Node9align === 'right') {
- Node9textStart = 0;
- Node9textWidth =Node9fontSize <= 8 ? Node9width + Node9fontSize * 0.2 + 6 : Node9width - Node9fontSize * 0.2;
- Node9lineStart = (Node9width - (ht.Default.getTextSize('合', 'bold '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9align === 'center') {
- Node9textStart = -3;
- Node9textWidth = Node9width;
- Node9lineStart = Node9width - ht.Default.getTextSize('合', 'bold '+ Node9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, 'bold '+ Node9fontSize + 'px "Arial"'))
- Node9.setPosition(35*ratio.ratioX, 83*ratio.ratioY);
- Node9.setWidth(Node9width);
- Node9.setHeight(Node9height);
- Node9._nodeType = 'text';
- Node9._disallowEvert = true;
- Node9.setRotation(0*Math.PI/180);
- Node9.a('node.width', Node9width);
- Node9.a('node.height', Node9height);
- Node9.a('node.rect', [0, 0, Node9width, Node9height]);
- Node9.a('node.bordercolor','rgba(255,255,255,1)');
- Node9.a('node.borderwidth', 0);
- Node9.a('node.background','' || 'rgba(0,0,0,0)');
- Node9.a('node.gradient','');
- Node9.a('node.gradientcolor','');
- Node9.a('node.text','合');
- Node9.a('node.textalign','left');
- Node9.a('node.textvAlign','middle');
- Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
- Node9.a('node.color','rgba(255,255,255,1)');
- Node9.a('node.font','bold '+ Node9fontSize + 'px "Arial"');
- Node9.a('node.textvisible',true);
- Node9.a('node.linefeed',false);
- if (false) {
- Node9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node9.a('node.text') || '合';
- var color=Node9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node9width,Node9height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9.a('node.underlinepoints',[Node9lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node9fontSize + 'px "Arial"').width + 6, (Node9height - Node9fontSize) * 0.5*_ratio.ratioY + Node9fontSize + 2 ]);
- Node9.a('node.underlinevisible',false);
- Node9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node9);
- zoomNodeList.push({
- node: Node9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node10 = new ht.Node();
- var Node10textStart, Node10textWidth, Node10lineStart, Node10align = 'left', Node10fontSize = 13.3333*_ratio.ratioY,Node10width = 53*_ratio.ratioX, Node10height = 30*_ratio.ratioY;
- (function () {
- if (Node10align === 'left') {
- Node10textStart = Node10fontSize * 0.2 > 2 ? Node10fontSize * 0.2 - 4 : Node10fontSize * 0.2 - 9;
- Node10textWidth = Node10width;
- Node10lineStart = 1;
- } else if (Node10align === 'right') {
- Node10textStart = 0;
- Node10textWidth =Node10fontSize <= 8 ? Node10width + Node10fontSize * 0.2 + 6 : Node10width - Node10fontSize * 0.2;
- Node10lineStart = (Node10width - (ht.Default.getTextSize('指', 'bold '+ Node10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node10align === 'center') {
- Node10textStart = -3;
- Node10textWidth = Node10width;
- Node10lineStart = Node10width - ht.Default.getTextSize('指', 'bold '+ Node10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node10.setImage(GD.getTextJSON(Node10width, Node10height, true, false, false, 'bold '+ Node10fontSize + 'px "Arial"'))
- Node10.setPosition(35*ratio.ratioX, 110*ratio.ratioY);
- Node10.setWidth(Node10width);
- Node10.setHeight(Node10height);
- Node10._nodeType = 'text';
- Node10._disallowEvert = true;
- Node10.setRotation(0*Math.PI/180);
- Node10.a('node.width', Node10width);
- Node10.a('node.height', Node10height);
- Node10.a('node.rect', [0, 0, Node10width, Node10height]);
- Node10.a('node.bordercolor','rgba(255,255,255,1)');
- Node10.a('node.borderwidth', 0);
- Node10.a('node.background','' || 'rgba(0,0,0,0)');
- Node10.a('node.gradient','');
- Node10.a('node.gradientcolor','');
- Node10.a('node.text','指');
- Node10.a('node.textalign','left');
- Node10.a('node.textvAlign','middle');
- Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
- Node10.a('node.color','rgba(255,255,255,1)');
- Node10.a('node.font','bold '+ Node10fontSize + 'px "Arial"');
- Node10.a('node.textvisible',true);
- Node10.a('node.linefeed',false);
- if (false) {
- Node10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node10.a('node.text') || '指';
- var color=Node10.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node10width,Node10height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10.a('node.underlinepoints',[Node10lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node10fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node10fontSize + 'px "Arial"').width + 6, (Node10height - Node10fontSize) * 0.5*_ratio.ratioY + Node10fontSize + 2 ]);
- Node10.a('node.underlinevisible',false);
- Node10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node10);
- zoomNodeList.push({
- node: Node10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11 = new ht.Node();
- var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 53*_ratio.ratioX, Node11height = 30*_ratio.ratioY;
- (function () {
- if (Node11align === 'left') {
- Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
- Node11textWidth = Node11width;
- Node11lineStart = 1;
- } else if (Node11align === 'right') {
- Node11textStart = 0;
- Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
- Node11lineStart = (Node11width - (ht.Default.getTextSize('标', 'bold '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node11align === 'center') {
- Node11textStart = -3;
- Node11textWidth = Node11width;
- Node11lineStart = Node11width - ht.Default.getTextSize('标', 'bold '+ Node11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, 'bold '+ Node11fontSize + 'px "Arial"'))
- Node11.setPosition(35*ratio.ratioX, 140*ratio.ratioY);
- Node11.setWidth(Node11width);
- Node11.setHeight(Node11height);
- Node11._nodeType = 'text';
- Node11._disallowEvert = true;
- Node11.setRotation(0*Math.PI/180);
- Node11.a('node.width', Node11width);
- Node11.a('node.height', Node11height);
- Node11.a('node.rect', [0, 0, Node11width, Node11height]);
- Node11.a('node.bordercolor','rgba(255,255,255,1)');
- Node11.a('node.borderwidth', 0);
- Node11.a('node.background','' || 'rgba(0,0,0,0)');
- Node11.a('node.gradient','');
- Node11.a('node.gradientcolor','');
- Node11.a('node.text','标');
- Node11.a('node.textalign','left');
- Node11.a('node.textvAlign','middle');
- Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
- Node11.a('node.color','rgba(255,255,255,1)');
- Node11.a('node.font','bold '+ Node11fontSize + 'px "Arial"');
- Node11.a('node.textvisible',true);
- Node11.a('node.linefeed',false);
- if (false) {
- Node11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node11.a('node.text') || '标';
- var color=Node11.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node11.a('node.underlinepoints',[Node11lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
- Node11.a('node.underlinevisible',false);
- Node11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11);
- zoomNodeList.push({
- node: Node11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node12;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node12 = new ht.Node();
- Node12.setPosition(110*ratio.ratioX, 61*ratio.ratioY);
- Node12.setSize(155*ratioX, 45*ratioY);
- Node12.setImage('imgimage//喜欢的蓝色.png');
- Node12.setRotation(0*Math.PI/180);
- Node12._zoomBy = 'Default';
- Node12._nodeType = 'image';
- Node12._disallowEvert = true;
- dataModel.add(Node12);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13 = new ht.Node();
- var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 17.33329*_ratio.ratioY,Node13width = 143*_ratio.ratioX, Node13height = 49*_ratio.ratioY;
- (function () {
- if (Node13align === 'left') {
- Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
- Node13textWidth = Node13width;
- Node13lineStart = 1;
- } else if (Node13align === 'right') {
- Node13textStart = 0;
- Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
- Node13lineStart = (Node13width - (ht.Default.getTextSize('浑源峰岳电场', ' '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node13align === 'center') {
- Node13textStart = -3;
- Node13textWidth = Node13width;
- Node13lineStart = Node13width - ht.Default.getTextSize('浑源峰岳电场', ' '+ Node13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, ' '+ Node13fontSize + 'px "Arial"'))
- Node13.setPosition(121*ratio.ratioX, 63*ratio.ratioY);
- Node13.setWidth(Node13width);
- Node13.setHeight(Node13height);
- Node13._nodeType = 'text';
- Node13._disallowEvert = true;
- Node13.setRotation(0*Math.PI/180);
- Node13.a('node.width', Node13width);
- Node13.a('node.height', Node13height);
- Node13.a('node.rect', [0, 0, Node13width, Node13height]);
- Node13.a('node.bordercolor','rgba(255,255,255,1)');
- Node13.a('node.borderwidth', 0);
- Node13.a('node.background','' || 'rgba(0,0,0,0)');
- Node13.a('node.gradient','');
- Node13.a('node.gradientcolor','');
- Node13.a('node.text','浑源峰岳电场');
- Node13.a('node.textalign','left');
- Node13.a('node.textvAlign','middle');
- Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
- Node13.a('node.color','rgba(255,255,255,1)');
- Node13.a('node.font',' '+ Node13fontSize + 'px "Arial"');
- Node13.a('node.textvisible',true);
- Node13.a('node.linefeed',false);
- if (false) {
- Node13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node13.a('node.text') || '浑源峰岳电场';
- var color=Node13.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node13width,Node13height,17.33329*_ratio.ratioY,"left",color,' '+ Node13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node13.a('node.underlinepoints',[Node13lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('浑源峰岳电场', ' '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
- Node13.a('node.underlinevisible',false);
- Node13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node13);
- zoomNodeList.push({
- node: Node13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node14_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node14_0 = new ht.Node();
- Node14_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node14_0.setSize(27*ratioX, 101*ratioY);
- Node14_0.setImage('imgimage//left_menu_over0.png');
- Node14_0.setRotation(0*Math.PI/180);
- Node14_0._zoomBy = 'Default';
- Node14_0._nodeType = 'image';
- Node14_0._disallowEvert = true;
- dataModel.add(Node14_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14_1 = new ht.Node();
- var Node14_1textStart, Node14_1textWidth, Node14_1lineStart, Node14_1align = 'left', Node14_1fontSize = 19.99995*_ratio.ratioY,Node14_1width = 23*_ratio.ratioX, Node14_1height = 76*_ratio.ratioY;
- (function () {
- if (Node14_1align === 'left') {
- Node14_1textStart = Node14_1fontSize * 0.2 > 2 ? Node14_1fontSize * 0.2 - 4 : Node14_1fontSize * 0.2 - 9;
- Node14_1textWidth = Node14_1width;
- Node14_1lineStart = 1;
- } else if (Node14_1align === 'right') {
- Node14_1textStart = 0;
- Node14_1textWidth =Node14_1fontSize <= 8 ? Node14_1width + Node14_1fontSize * 0.2 + 6 : Node14_1width - Node14_1fontSize * 0.2;
- Node14_1lineStart = (Node14_1width - (ht.Default.getTextSize('排布图', ' '+ Node14_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node14_1align === 'center') {
- Node14_1textStart = -3;
- Node14_1textWidth = Node14_1width;
- Node14_1lineStart = Node14_1width - ht.Default.getTextSize('排布图', ' '+ Node14_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node14_1.setImage(GD.getTextJSON(Node14_1width, Node14_1height, false, true, false, ' '+ Node14_1fontSize + 'px "Arial"'))
- Node14_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
- Node14_1.setWidth(Node14_1width);
- Node14_1.setHeight(Node14_1height);
- Node14_1._nodeType = 'text';
- Node14_1._disallowEvert = true;
- Node14_1.setRotation(0*Math.PI/180);
- Node14_1.a('node.width', Node14_1width);
- Node14_1.a('node.height', Node14_1height);
- Node14_1.a('node.rect', [0, 0, Node14_1width, Node14_1height]);
- Node14_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node14_1.a('node.borderwidth', 0);
- Node14_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node14_1.a('node.gradient','');
- Node14_1.a('node.gradientcolor','');
- Node14_1.a('node.text','排布图');
- Node14_1.a('node.textalign','left');
- Node14_1.a('node.textvAlign','middle');
- Node14_1.a('node.textrect', [Node14_1textStart, 0, Node14_1textWidth, Node14_1height]);
- Node14_1.a('node.color','rgba(0,0,0,1)');
- Node14_1.a('node.font',' '+ Node14_1fontSize + 'px "Arial"');
- Node14_1.a('node.textvisible',false);
- Node14_1.a('node.linefeed',true);
- if (true) {
- Node14_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node14_1.a('node.text') || '排布图';
- var color=Node14_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node14_1width,Node14_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node14_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node14_1.a('node.underlinepoints',[Node14_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node14_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node14_1fontSize + 'px "Arial"').width + 6, (Node14_1height - Node14_1fontSize) * 0.5*_ratio.ratioY + Node14_1fontSize + 2 ]);
- Node14_1.a('node.underlinevisible',false);
- Node14_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node14_1);
- zoomNodeList.push({
- node: Node14_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node15_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node15_0 = new ht.Node();
- Node15_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node15_0.setSize(27*ratioX, 101*ratioY);
- Node15_0.setImage('imgimage//left_menu_over0.png');
- Node15_0.setRotation(0*Math.PI/180);
- Node15_0._zoomBy = 'Default';
- Node15_0._nodeType = 'image';
- Node15_0._disallowEvert = true;
- dataModel.add(Node15_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15_1 = new ht.Node();
- var Node15_1textStart, Node15_1textWidth, Node15_1lineStart, Node15_1align = 'left', Node15_1fontSize = 18.66662*_ratio.ratioY,Node15_1width = 23*_ratio.ratioX, Node15_1height = 76*_ratio.ratioY;
- (function () {
- if (Node15_1align === 'left') {
- Node15_1textStart = Node15_1fontSize * 0.2 > 2 ? Node15_1fontSize * 0.2 - 4 : Node15_1fontSize * 0.2 - 9;
- Node15_1textWidth = Node15_1width;
- Node15_1lineStart = 1;
- } else if (Node15_1align === 'right') {
- Node15_1textStart = 0;
- Node15_1textWidth =Node15_1fontSize <= 8 ? Node15_1width + Node15_1fontSize * 0.2 + 6 : Node15_1width - Node15_1fontSize * 0.2;
- Node15_1lineStart = (Node15_1width - (ht.Default.getTextSize('总貌图', ' '+ Node15_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node15_1align === 'center') {
- Node15_1textStart = -3;
- Node15_1textWidth = Node15_1width;
- Node15_1lineStart = Node15_1width - ht.Default.getTextSize('总貌图', ' '+ Node15_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node15_1.setImage(GD.getTextJSON(Node15_1width, Node15_1height, false, true, false, ' '+ Node15_1fontSize + 'px "Arial"'))
- Node15_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node15_1.setWidth(Node15_1width);
- Node15_1.setHeight(Node15_1height);
- Node15_1._nodeType = 'text';
- Node15_1._disallowEvert = true;
- Node15_1.setRotation(0*Math.PI/180);
- Node15_1.a('node.width', Node15_1width);
- Node15_1.a('node.height', Node15_1height);
- Node15_1.a('node.rect', [0, 0, Node15_1width, Node15_1height]);
- Node15_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node15_1.a('node.borderwidth', 0);
- Node15_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node15_1.a('node.gradient','');
- Node15_1.a('node.gradientcolor','');
- Node15_1.a('node.text','总貌图');
- Node15_1.a('node.textalign','left');
- Node15_1.a('node.textvAlign','middle');
- Node15_1.a('node.textrect', [Node15_1textStart, 0, Node15_1textWidth, Node15_1height]);
- Node15_1.a('node.color','rgba(0,0,0,1)');
- Node15_1.a('node.font',' '+ Node15_1fontSize + 'px "Arial"');
- Node15_1.a('node.textvisible',false);
- Node15_1.a('node.linefeed',true);
- if (true) {
- Node15_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node15_1.a('node.text') || '总貌图';
- var color=Node15_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node15_1width,Node15_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node15_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node15_1.a('node.underlinepoints',[Node15_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node15_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node15_1fontSize + 'px "Arial"').width + 6, (Node15_1height - Node15_1fontSize) * 0.5*_ratio.ratioY + Node15_1fontSize + 2 ]);
- Node15_1.a('node.underlinevisible',false);
- Node15_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node15_1);
- zoomNodeList.push({
- node: Node15_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node16_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node16_0 = new ht.Node();
- Node16_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node16_0.setSize(27*ratioX, 101*ratioY);
- Node16_0.setImage('imgimage//left_menu_over0.png');
- Node16_0.setRotation(0*Math.PI/180);
- Node16_0._zoomBy = 'Default';
- Node16_0._nodeType = 'image';
- Node16_0._disallowEvert = true;
- dataModel.add(Node16_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16_1 = new ht.Node();
- var Node16_1textStart, Node16_1textWidth, Node16_1lineStart, Node16_1align = 'left', Node16_1fontSize = 18.66662*_ratio.ratioY,Node16_1width = 23*_ratio.ratioX, Node16_1height = 76*_ratio.ratioY;
- (function () {
- if (Node16_1align === 'left') {
- Node16_1textStart = Node16_1fontSize * 0.2 > 2 ? Node16_1fontSize * 0.2 - 4 : Node16_1fontSize * 0.2 - 9;
- Node16_1textWidth = Node16_1width;
- Node16_1lineStart = 1;
- } else if (Node16_1align === 'right') {
- Node16_1textStart = 0;
- Node16_1textWidth =Node16_1fontSize <= 8 ? Node16_1width + Node16_1fontSize * 0.2 + 6 : Node16_1width - Node16_1fontSize * 0.2;
- Node16_1lineStart = (Node16_1width - (ht.Default.getTextSize('升压站', ' '+ Node16_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16_1align === 'center') {
- Node16_1textStart = -3;
- Node16_1textWidth = Node16_1width;
- Node16_1lineStart = Node16_1width - ht.Default.getTextSize('升压站', ' '+ Node16_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16_1.setImage(GD.getTextJSON(Node16_1width, Node16_1height, false, true, false, ' '+ Node16_1fontSize + 'px "Arial"'))
- Node16_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node16_1.setWidth(Node16_1width);
- Node16_1.setHeight(Node16_1height);
- Node16_1._nodeType = 'text';
- Node16_1._disallowEvert = true;
- Node16_1.setRotation(0*Math.PI/180);
- Node16_1.a('node.width', Node16_1width);
- Node16_1.a('node.height', Node16_1height);
- Node16_1.a('node.rect', [0, 0, Node16_1width, Node16_1height]);
- Node16_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node16_1.a('node.borderwidth', 0);
- Node16_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node16_1.a('node.gradient','');
- Node16_1.a('node.gradientcolor','');
- Node16_1.a('node.text','升压站');
- Node16_1.a('node.textalign','left');
- Node16_1.a('node.textvAlign','middle');
- Node16_1.a('node.textrect', [Node16_1textStart, 0, Node16_1textWidth, Node16_1height]);
- Node16_1.a('node.color','rgba(0,0,0,1)');
- Node16_1.a('node.font',' '+ Node16_1fontSize + 'px "Arial"');
- Node16_1.a('node.textvisible',false);
- Node16_1.a('node.linefeed',true);
- if (true) {
- Node16_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node16_1.a('node.text') || '升压站';
- var color=Node16_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node16_1width,Node16_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node16_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16_1.a('node.underlinepoints',[Node16_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node16_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node16_1fontSize + 'px "Arial"').width + 6, (Node16_1height - Node16_1fontSize) * 0.5*_ratio.ratioY + Node16_1fontSize + 2 ]);
- Node16_1.a('node.underlinevisible',false);
- Node16_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node16_1);
- zoomNodeList.push({
- node: Node16_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node17_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node17_0 = new ht.Node();
- Node17_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node17_0.setSize(27*ratioX, 101*ratioY);
- Node17_0.setImage('imgimage//left_menu_over0.png');
- Node17_0.setRotation(0*Math.PI/180);
- Node17_0._zoomBy = 'Default';
- Node17_0._nodeType = 'image';
- Node17_0._disallowEvert = true;
- dataModel.add(Node17_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17_1 = new ht.Node();
- var Node17_1textStart, Node17_1textWidth, Node17_1lineStart, Node17_1align = 'left', Node17_1fontSize = 18.66662*_ratio.ratioY,Node17_1width = 23*_ratio.ratioX, Node17_1height = 76*_ratio.ratioY;
- (function () {
- if (Node17_1align === 'left') {
- Node17_1textStart = Node17_1fontSize * 0.2 > 2 ? Node17_1fontSize * 0.2 - 4 : Node17_1fontSize * 0.2 - 9;
- Node17_1textWidth = Node17_1width;
- Node17_1lineStart = 1;
- } else if (Node17_1align === 'right') {
- Node17_1textStart = 0;
- Node17_1textWidth =Node17_1fontSize <= 8 ? Node17_1width + Node17_1fontSize * 0.2 + 6 : Node17_1width - Node17_1fontSize * 0.2;
- Node17_1lineStart = (Node17_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node17_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node17_1align === 'center') {
- Node17_1textStart = -3;
- Node17_1textWidth = Node17_1width;
- Node17_1lineStart = Node17_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node17_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node17_1.setImage(GD.getTextJSON(Node17_1width, Node17_1height, false, true, false, ' '+ Node17_1fontSize + 'px "Arial"'))
- Node17_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node17_1.setWidth(Node17_1width);
- Node17_1.setHeight(Node17_1height);
- Node17_1._nodeType = 'text';
- Node17_1._disallowEvert = true;
- Node17_1.setRotation(0*Math.PI/180);
- Node17_1.a('node.width', Node17_1width);
- Node17_1.a('node.height', Node17_1height);
- Node17_1.a('node.rect', [0, 0, Node17_1width, Node17_1height]);
- Node17_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node17_1.a('node.borderwidth', 0);
- Node17_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node17_1.a('node.gradient','');
- Node17_1.a('node.gradientcolor','');
- Node17_1.a('node.text','风机矩阵');
- Node17_1.a('node.textalign','left');
- Node17_1.a('node.textvAlign','middle');
- Node17_1.a('node.textrect', [Node17_1textStart, 0, Node17_1textWidth, Node17_1height]);
- Node17_1.a('node.color','rgba(0,0,0,1)');
- Node17_1.a('node.font',' '+ Node17_1fontSize + 'px "Arial"');
- Node17_1.a('node.textvisible',false);
- Node17_1.a('node.linefeed',true);
- if (true) {
- Node17_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node17_1.a('node.text') || '风机矩阵';
- var color=Node17_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node17_1width,Node17_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node17_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node17_1.a('node.underlinepoints',[Node17_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node17_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node17_1fontSize + 'px "Arial"').width + 6, (Node17_1height - Node17_1fontSize) * 0.5*_ratio.ratioY + Node17_1fontSize + 2 ]);
- Node17_1.a('node.underlinevisible',false);
- Node17_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node17_1);
- zoomNodeList.push({
- node: Node17_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node18_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node18_0 = new ht.Node();
- Node18_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node18_0.setSize(27*ratioX, 101*ratioY);
- Node18_0.setImage('imgimage//left_menu_over0.png');
- Node18_0.setRotation(0*Math.PI/180);
- Node18_0._zoomBy = 'Default';
- Node18_0._nodeType = 'image';
- Node18_0._disallowEvert = true;
- dataModel.add(Node18_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18_1 = new ht.Node();
- var Node18_1textStart, Node18_1textWidth, Node18_1lineStart, Node18_1align = 'left', Node18_1fontSize = 18.66662*_ratio.ratioY,Node18_1width = 23*_ratio.ratioX, Node18_1height = 76*_ratio.ratioY;
- (function () {
- if (Node18_1align === 'left') {
- Node18_1textStart = Node18_1fontSize * 0.2 > 2 ? Node18_1fontSize * 0.2 - 4 : Node18_1fontSize * 0.2 - 9;
- Node18_1textWidth = Node18_1width;
- Node18_1lineStart = 1;
- } else if (Node18_1align === 'right') {
- Node18_1textStart = 0;
- Node18_1textWidth =Node18_1fontSize <= 8 ? Node18_1width + Node18_1fontSize * 0.2 + 6 : Node18_1width - Node18_1fontSize * 0.2;
- Node18_1lineStart = (Node18_1width - (ht.Default.getTextSize('风机信息', ' '+ Node18_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node18_1align === 'center') {
- Node18_1textStart = -3;
- Node18_1textWidth = Node18_1width;
- Node18_1lineStart = Node18_1width - ht.Default.getTextSize('风机信息', ' '+ Node18_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node18_1.setImage(GD.getTextJSON(Node18_1width, Node18_1height, false, true, false, ' '+ Node18_1fontSize + 'px "Arial"'))
- Node18_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node18_1.setWidth(Node18_1width);
- Node18_1.setHeight(Node18_1height);
- Node18_1._nodeType = 'text';
- Node18_1._disallowEvert = true;
- Node18_1.setRotation(0*Math.PI/180);
- Node18_1.a('node.width', Node18_1width);
- Node18_1.a('node.height', Node18_1height);
- Node18_1.a('node.rect', [0, 0, Node18_1width, Node18_1height]);
- Node18_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node18_1.a('node.borderwidth', 0);
- Node18_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node18_1.a('node.gradient','');
- Node18_1.a('node.gradientcolor','');
- Node18_1.a('node.text','风机信息');
- Node18_1.a('node.textalign','left');
- Node18_1.a('node.textvAlign','middle');
- Node18_1.a('node.textrect', [Node18_1textStart, 0, Node18_1textWidth, Node18_1height]);
- Node18_1.a('node.color','rgba(0,0,0,1)');
- Node18_1.a('node.font',' '+ Node18_1fontSize + 'px "Arial"');
- Node18_1.a('node.textvisible',false);
- Node18_1.a('node.linefeed',true);
- if (true) {
- Node18_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node18_1.a('node.text') || '风机信息';
- var color=Node18_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node18_1width,Node18_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node18_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18_1.a('node.underlinepoints',[Node18_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node18_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node18_1fontSize + 'px "Arial"').width + 6, (Node18_1height - Node18_1fontSize) * 0.5*_ratio.ratioY + Node18_1fontSize + 2 ]);
- Node18_1.a('node.underlinevisible',false);
- Node18_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node18_1);
- zoomNodeList.push({
- node: Node18_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node19_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node19_0 = new ht.Node();
- Node19_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node19_0.setSize(27*ratioX, 101*ratioY);
- Node19_0.setImage('imgimage//left_menu_over0.png');
- Node19_0.setRotation(0*Math.PI/180);
- Node19_0._zoomBy = 'Default';
- Node19_0._nodeType = 'image';
- Node19_0._disallowEvert = true;
- dataModel.add(Node19_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node19_1 = new ht.Node();
- var Node19_1textStart, Node19_1textWidth, Node19_1lineStart, Node19_1align = 'left', Node19_1fontSize = 18.66662*_ratio.ratioY,Node19_1width = 23*_ratio.ratioX, Node19_1height = 76*_ratio.ratioY;
- (function () {
- if (Node19_1align === 'left') {
- Node19_1textStart = Node19_1fontSize * 0.2 > 2 ? Node19_1fontSize * 0.2 - 4 : Node19_1fontSize * 0.2 - 9;
- Node19_1textWidth = Node19_1width;
- Node19_1lineStart = 1;
- } else if (Node19_1align === 'right') {
- Node19_1textStart = 0;
- Node19_1textWidth =Node19_1fontSize <= 8 ? Node19_1width + Node19_1fontSize * 0.2 + 6 : Node19_1width - Node19_1fontSize * 0.2;
- Node19_1lineStart = (Node19_1width - (ht.Default.getTextSize('测风塔', ' '+ Node19_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node19_1align === 'center') {
- Node19_1textStart = -3;
- Node19_1textWidth = Node19_1width;
- Node19_1lineStart = Node19_1width - ht.Default.getTextSize('测风塔', ' '+ Node19_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node19_1.setImage(GD.getTextJSON(Node19_1width, Node19_1height, false, true, false, ' '+ Node19_1fontSize + 'px "Arial"'))
- Node19_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node19_1.setWidth(Node19_1width);
- Node19_1.setHeight(Node19_1height);
- Node19_1._nodeType = 'text';
- Node19_1._disallowEvert = true;
- Node19_1.setRotation(0*Math.PI/180);
- Node19_1.a('node.width', Node19_1width);
- Node19_1.a('node.height', Node19_1height);
- Node19_1.a('node.rect', [0, 0, Node19_1width, Node19_1height]);
- Node19_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node19_1.a('node.borderwidth', 0);
- Node19_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node19_1.a('node.gradient','');
- Node19_1.a('node.gradientcolor','');
- Node19_1.a('node.text','测风塔');
- Node19_1.a('node.textalign','left');
- Node19_1.a('node.textvAlign','middle');
- Node19_1.a('node.textrect', [Node19_1textStart, 0, Node19_1textWidth, Node19_1height]);
- Node19_1.a('node.color','rgba(0,0,0,1)');
- Node19_1.a('node.font',' '+ Node19_1fontSize + 'px "Arial"');
- Node19_1.a('node.textvisible',false);
- Node19_1.a('node.linefeed',true);
- if (true) {
- Node19_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node19_1.a('node.text') || '测风塔';
- var color=Node19_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node19_1width,Node19_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node19_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19_1.a('node.underlinepoints',[Node19_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node19_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node19_1fontSize + 'px "Arial"').width + 6, (Node19_1height - Node19_1fontSize) * 0.5*_ratio.ratioY + Node19_1fontSize + 2 ]);
- Node19_1.a('node.underlinevisible',false);
- Node19_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node19_1);
- zoomNodeList.push({
- node: Node19_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node20_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node20_0 = new ht.Node();
- Node20_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node20_0.setSize(27*ratioX, 101*ratioY);
- Node20_0.setImage('imgimage//left_menu_out0.png');
- Node20_0.setRotation(0*Math.PI/180);
- Node20_0._zoomBy = 'Default';
- Node20_0._nodeType = 'image';
- Node20_0._disallowEvert = true;
- dataModel.add(Node20_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20_1 = new ht.Node();
- var Node20_1textStart, Node20_1textWidth, Node20_1lineStart, Node20_1align = 'left', Node20_1fontSize = 19.99995*_ratio.ratioY,Node20_1width = 23*_ratio.ratioX, Node20_1height = 76*_ratio.ratioY;
- (function () {
- if (Node20_1align === 'left') {
- Node20_1textStart = Node20_1fontSize * 0.2 > 2 ? Node20_1fontSize * 0.2 - 4 : Node20_1fontSize * 0.2 - 9;
- Node20_1textWidth = Node20_1width;
- Node20_1lineStart = 1;
- } else if (Node20_1align === 'right') {
- Node20_1textStart = 0;
- Node20_1textWidth =Node20_1fontSize <= 8 ? Node20_1width + Node20_1fontSize * 0.2 + 6 : Node20_1width - Node20_1fontSize * 0.2;
- Node20_1lineStart = (Node20_1width - (ht.Default.getTextSize('排布图', ' '+ Node20_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node20_1align === 'center') {
- Node20_1textStart = -3;
- Node20_1textWidth = Node20_1width;
- Node20_1lineStart = Node20_1width - ht.Default.getTextSize('排布图', ' '+ Node20_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node20_1.setImage(GD.getTextJSON(Node20_1width, Node20_1height, false, true, false, ' '+ Node20_1fontSize + 'px "Arial"'))
- Node20_1.setPosition(12*ratio.ratioX, 217*ratio.ratioY);
- Node20_1.setWidth(Node20_1width);
- Node20_1.setHeight(Node20_1height);
- Node20_1._nodeType = 'text';
- Node20_1._disallowEvert = true;
- Node20_1.setRotation(0*Math.PI/180);
- Node20_1.a('node.width', Node20_1width);
- Node20_1.a('node.height', Node20_1height);
- Node20_1.a('node.rect', [0, 0, Node20_1width, Node20_1height]);
- Node20_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node20_1.a('node.borderwidth', 0);
- Node20_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node20_1.a('node.gradient','');
- Node20_1.a('node.gradientcolor','');
- Node20_1.a('node.text','排布图');
- Node20_1.a('node.textalign','left');
- Node20_1.a('node.textvAlign','middle');
- Node20_1.a('node.textrect', [Node20_1textStart, 0, Node20_1textWidth, Node20_1height]);
- Node20_1.a('node.color','rgba(0,0,0,1)');
- Node20_1.a('node.font',' '+ Node20_1fontSize + 'px "Arial"');
- Node20_1.a('node.textvisible',false);
- Node20_1.a('node.linefeed',true);
- if (true) {
- Node20_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node20_1.a('node.text') || '排布图';
- var color=Node20_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node20_1width,Node20_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node20_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20_1.a('node.underlinepoints',[Node20_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node20_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node20_1fontSize + 'px "Arial"').width + 6, (Node20_1height - Node20_1fontSize) * 0.5*_ratio.ratioY + Node20_1fontSize + 2 ]);
- Node20_1.a('node.underlinevisible',false);
- Node20_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node20_1);
- zoomNodeList.push({
- node: Node20_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node21_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node21_0 = new ht.Node();
- Node21_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node21_0.setSize(27*ratioX, 101*ratioY);
- Node21_0.setImage('imgimage//left_menu_out0.png');
- Node21_0.setRotation(0*Math.PI/180);
- Node21_0._zoomBy = 'Default';
- Node21_0._nodeType = 'image';
- Node21_0._disallowEvert = true;
- dataModel.add(Node21_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node21_1 = new ht.Node();
- var Node21_1textStart, Node21_1textWidth, Node21_1lineStart, Node21_1align = 'left', Node21_1fontSize = 18.66662*_ratio.ratioY,Node21_1width = 23*_ratio.ratioX, Node21_1height = 76*_ratio.ratioY;
- (function () {
- if (Node21_1align === 'left') {
- Node21_1textStart = Node21_1fontSize * 0.2 > 2 ? Node21_1fontSize * 0.2 - 4 : Node21_1fontSize * 0.2 - 9;
- Node21_1textWidth = Node21_1width;
- Node21_1lineStart = 1;
- } else if (Node21_1align === 'right') {
- Node21_1textStart = 0;
- Node21_1textWidth =Node21_1fontSize <= 8 ? Node21_1width + Node21_1fontSize * 0.2 + 6 : Node21_1width - Node21_1fontSize * 0.2;
- Node21_1lineStart = (Node21_1width - (ht.Default.getTextSize('总貌图', ' '+ Node21_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21_1align === 'center') {
- Node21_1textStart = -3;
- Node21_1textWidth = Node21_1width;
- Node21_1lineStart = Node21_1width - ht.Default.getTextSize('总貌图', ' '+ Node21_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21_1.setImage(GD.getTextJSON(Node21_1width, Node21_1height, false, true, false, ' '+ Node21_1fontSize + 'px "Arial"'))
- Node21_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node21_1.setWidth(Node21_1width);
- Node21_1.setHeight(Node21_1height);
- Node21_1._nodeType = 'text';
- Node21_1._disallowEvert = true;
- Node21_1.setRotation(0*Math.PI/180);
- Node21_1.a('node.width', Node21_1width);
- Node21_1.a('node.height', Node21_1height);
- Node21_1.a('node.rect', [0, 0, Node21_1width, Node21_1height]);
- Node21_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node21_1.a('node.borderwidth', 0);
- Node21_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node21_1.a('node.gradient','');
- Node21_1.a('node.gradientcolor','');
- Node21_1.a('node.text','总貌图');
- Node21_1.a('node.textalign','left');
- Node21_1.a('node.textvAlign','middle');
- Node21_1.a('node.textrect', [Node21_1textStart, 0, Node21_1textWidth, Node21_1height]);
- Node21_1.a('node.color','rgba(0,0,0,1)');
- Node21_1.a('node.font',' '+ Node21_1fontSize + 'px "Arial"');
- Node21_1.a('node.textvisible',false);
- Node21_1.a('node.linefeed',true);
- if (true) {
- Node21_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node21_1.a('node.text') || '总貌图';
- var color=Node21_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node21_1width,Node21_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node21_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21_1.a('node.underlinepoints',[Node21_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node21_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node21_1fontSize + 'px "Arial"').width + 6, (Node21_1height - Node21_1fontSize) * 0.5*_ratio.ratioY + Node21_1fontSize + 2 ]);
- Node21_1.a('node.underlinevisible',false);
- Node21_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node21_1);
- zoomNodeList.push({
- node: Node21_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node22_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node22_0 = new ht.Node();
- Node22_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node22_0.setSize(27*ratioX, 101*ratioY);
- Node22_0.setImage('imgimage//left_menu_out0.png');
- Node22_0.setRotation(0*Math.PI/180);
- Node22_0._zoomBy = 'Default';
- Node22_0._nodeType = 'image';
- Node22_0._disallowEvert = true;
- dataModel.add(Node22_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node22_1 = new ht.Node();
- var Node22_1textStart, Node22_1textWidth, Node22_1lineStart, Node22_1align = 'left', Node22_1fontSize = 18.66662*_ratio.ratioY,Node22_1width = 23*_ratio.ratioX, Node22_1height = 76*_ratio.ratioY;
- (function () {
- if (Node22_1align === 'left') {
- Node22_1textStart = Node22_1fontSize * 0.2 > 2 ? Node22_1fontSize * 0.2 - 4 : Node22_1fontSize * 0.2 - 9;
- Node22_1textWidth = Node22_1width;
- Node22_1lineStart = 1;
- } else if (Node22_1align === 'right') {
- Node22_1textStart = 0;
- Node22_1textWidth =Node22_1fontSize <= 8 ? Node22_1width + Node22_1fontSize * 0.2 + 6 : Node22_1width - Node22_1fontSize * 0.2;
- Node22_1lineStart = (Node22_1width - (ht.Default.getTextSize('升压站', ' '+ Node22_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22_1align === 'center') {
- Node22_1textStart = -3;
- Node22_1textWidth = Node22_1width;
- Node22_1lineStart = Node22_1width - ht.Default.getTextSize('升压站', ' '+ Node22_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22_1.setImage(GD.getTextJSON(Node22_1width, Node22_1height, false, true, false, ' '+ Node22_1fontSize + 'px "Arial"'))
- Node22_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node22_1.setWidth(Node22_1width);
- Node22_1.setHeight(Node22_1height);
- Node22_1._nodeType = 'text';
- Node22_1._disallowEvert = true;
- Node22_1.setRotation(0*Math.PI/180);
- Node22_1.a('node.width', Node22_1width);
- Node22_1.a('node.height', Node22_1height);
- Node22_1.a('node.rect', [0, 0, Node22_1width, Node22_1height]);
- Node22_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node22_1.a('node.borderwidth', 0);
- Node22_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node22_1.a('node.gradient','');
- Node22_1.a('node.gradientcolor','');
- Node22_1.a('node.text','升压站');
- Node22_1.a('node.textalign','left');
- Node22_1.a('node.textvAlign','middle');
- Node22_1.a('node.textrect', [Node22_1textStart, 0, Node22_1textWidth, Node22_1height]);
- Node22_1.a('node.color','rgba(0,0,0,1)');
- Node22_1.a('node.font',' '+ Node22_1fontSize + 'px "Arial"');
- Node22_1.a('node.textvisible',false);
- Node22_1.a('node.linefeed',true);
- if (true) {
- Node22_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node22_1.a('node.text') || '升压站';
- var color=Node22_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node22_1width,Node22_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node22_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22_1.a('node.underlinepoints',[Node22_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node22_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node22_1fontSize + 'px "Arial"').width + 6, (Node22_1height - Node22_1fontSize) * 0.5*_ratio.ratioY + Node22_1fontSize + 2 ]);
- Node22_1.a('node.underlinevisible',false);
- Node22_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node22_1);
- zoomNodeList.push({
- node: Node22_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node23_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node23_0 = new ht.Node();
- Node23_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node23_0.setSize(27*ratioX, 101*ratioY);
- Node23_0.setImage('imgimage//left_menu_out0.png');
- Node23_0.setRotation(0*Math.PI/180);
- Node23_0._zoomBy = 'Default';
- Node23_0._nodeType = 'image';
- Node23_0._disallowEvert = true;
- dataModel.add(Node23_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node23_1 = new ht.Node();
- var Node23_1textStart, Node23_1textWidth, Node23_1lineStart, Node23_1align = 'left', Node23_1fontSize = 18.66662*_ratio.ratioY,Node23_1width = 23*_ratio.ratioX, Node23_1height = 76*_ratio.ratioY;
- (function () {
- if (Node23_1align === 'left') {
- Node23_1textStart = Node23_1fontSize * 0.2 > 2 ? Node23_1fontSize * 0.2 - 4 : Node23_1fontSize * 0.2 - 9;
- Node23_1textWidth = Node23_1width;
- Node23_1lineStart = 1;
- } else if (Node23_1align === 'right') {
- Node23_1textStart = 0;
- Node23_1textWidth =Node23_1fontSize <= 8 ? Node23_1width + Node23_1fontSize * 0.2 + 6 : Node23_1width - Node23_1fontSize * 0.2;
- Node23_1lineStart = (Node23_1width - (ht.Default.getTextSize('风机信息', ' '+ Node23_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23_1align === 'center') {
- Node23_1textStart = -3;
- Node23_1textWidth = Node23_1width;
- Node23_1lineStart = Node23_1width - ht.Default.getTextSize('风机信息', ' '+ Node23_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23_1.setImage(GD.getTextJSON(Node23_1width, Node23_1height, false, true, false, ' '+ Node23_1fontSize + 'px "Arial"'))
- Node23_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node23_1.setWidth(Node23_1width);
- Node23_1.setHeight(Node23_1height);
- Node23_1._nodeType = 'text';
- Node23_1._disallowEvert = true;
- Node23_1.setRotation(0*Math.PI/180);
- Node23_1.a('node.width', Node23_1width);
- Node23_1.a('node.height', Node23_1height);
- Node23_1.a('node.rect', [0, 0, Node23_1width, Node23_1height]);
- Node23_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node23_1.a('node.borderwidth', 0);
- Node23_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node23_1.a('node.gradient','');
- Node23_1.a('node.gradientcolor','');
- Node23_1.a('node.text','风机信息');
- Node23_1.a('node.textalign','left');
- Node23_1.a('node.textvAlign','middle');
- Node23_1.a('node.textrect', [Node23_1textStart, 0, Node23_1textWidth, Node23_1height]);
- Node23_1.a('node.color','rgba(0,0,0,1)');
- Node23_1.a('node.font',' '+ Node23_1fontSize + 'px "Arial"');
- Node23_1.a('node.textvisible',false);
- Node23_1.a('node.linefeed',true);
- if (true) {
- Node23_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node23_1.a('node.text') || '风机信息';
- var color=Node23_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node23_1width,Node23_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node23_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23_1.a('node.underlinepoints',[Node23_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node23_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node23_1fontSize + 'px "Arial"').width + 6, (Node23_1height - Node23_1fontSize) * 0.5*_ratio.ratioY + Node23_1fontSize + 2 ]);
- Node23_1.a('node.underlinevisible',false);
- Node23_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node23_1);
- zoomNodeList.push({
- node: Node23_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node24_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node24_0 = new ht.Node();
- Node24_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node24_0.setSize(27*ratioX, 101*ratioY);
- Node24_0.setImage('imgimage//left_menu_out0.png');
- Node24_0.setRotation(0*Math.PI/180);
- Node24_0._zoomBy = 'Default';
- Node24_0._nodeType = 'image';
- Node24_0._disallowEvert = true;
- dataModel.add(Node24_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node24_1 = new ht.Node();
- var Node24_1textStart, Node24_1textWidth, Node24_1lineStart, Node24_1align = 'left', Node24_1fontSize = 18.66662*_ratio.ratioY,Node24_1width = 23*_ratio.ratioX, Node24_1height = 76*_ratio.ratioY;
- (function () {
- if (Node24_1align === 'left') {
- Node24_1textStart = Node24_1fontSize * 0.2 > 2 ? Node24_1fontSize * 0.2 - 4 : Node24_1fontSize * 0.2 - 9;
- Node24_1textWidth = Node24_1width;
- Node24_1lineStart = 1;
- } else if (Node24_1align === 'right') {
- Node24_1textStart = 0;
- Node24_1textWidth =Node24_1fontSize <= 8 ? Node24_1width + Node24_1fontSize * 0.2 + 6 : Node24_1width - Node24_1fontSize * 0.2;
- Node24_1lineStart = (Node24_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node24_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24_1align === 'center') {
- Node24_1textStart = -3;
- Node24_1textWidth = Node24_1width;
- Node24_1lineStart = Node24_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node24_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24_1.setImage(GD.getTextJSON(Node24_1width, Node24_1height, false, true, false, ' '+ Node24_1fontSize + 'px "Arial"'))
- Node24_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node24_1.setWidth(Node24_1width);
- Node24_1.setHeight(Node24_1height);
- Node24_1._nodeType = 'text';
- Node24_1._disallowEvert = true;
- Node24_1.setRotation(0*Math.PI/180);
- Node24_1.a('node.width', Node24_1width);
- Node24_1.a('node.height', Node24_1height);
- Node24_1.a('node.rect', [0, 0, Node24_1width, Node24_1height]);
- Node24_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node24_1.a('node.borderwidth', 0);
- Node24_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node24_1.a('node.gradient','');
- Node24_1.a('node.gradientcolor','');
- Node24_1.a('node.text','风机矩阵');
- Node24_1.a('node.textalign','left');
- Node24_1.a('node.textvAlign','middle');
- Node24_1.a('node.textrect', [Node24_1textStart, 0, Node24_1textWidth, Node24_1height]);
- Node24_1.a('node.color','rgba(0,0,0,1)');
- Node24_1.a('node.font',' '+ Node24_1fontSize + 'px "Arial"');
- Node24_1.a('node.textvisible',false);
- Node24_1.a('node.linefeed',true);
- if (true) {
- Node24_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node24_1.a('node.text') || '风机矩阵';
- var color=Node24_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node24_1width,Node24_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node24_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24_1.a('node.underlinepoints',[Node24_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node24_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node24_1fontSize + 'px "Arial"').width + 6, (Node24_1height - Node24_1fontSize) * 0.5*_ratio.ratioY + Node24_1fontSize + 2 ]);
- Node24_1.a('node.underlinevisible',false);
- Node24_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node24_1);
- zoomNodeList.push({
- node: Node24_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node25_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node25_0 = new ht.Node();
- Node25_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node25_0.setSize(27*ratioX, 101*ratioY);
- Node25_0.setImage('imgimage//left_menu_out0.png');
- Node25_0.setRotation(0*Math.PI/180);
- Node25_0._zoomBy = 'Default';
- Node25_0._nodeType = 'image';
- Node25_0._disallowEvert = true;
- dataModel.add(Node25_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25_1 = new ht.Node();
- var Node25_1textStart, Node25_1textWidth, Node25_1lineStart, Node25_1align = 'left', Node25_1fontSize = 18.66662*_ratio.ratioY,Node25_1width = 23*_ratio.ratioX, Node25_1height = 76*_ratio.ratioY;
- (function () {
- if (Node25_1align === 'left') {
- Node25_1textStart = Node25_1fontSize * 0.2 > 2 ? Node25_1fontSize * 0.2 - 4 : Node25_1fontSize * 0.2 - 9;
- Node25_1textWidth = Node25_1width;
- Node25_1lineStart = 1;
- } else if (Node25_1align === 'right') {
- Node25_1textStart = 0;
- Node25_1textWidth =Node25_1fontSize <= 8 ? Node25_1width + Node25_1fontSize * 0.2 + 6 : Node25_1width - Node25_1fontSize * 0.2;
- Node25_1lineStart = (Node25_1width - (ht.Default.getTextSize('测风塔', ' '+ Node25_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node25_1align === 'center') {
- Node25_1textStart = -3;
- Node25_1textWidth = Node25_1width;
- Node25_1lineStart = Node25_1width - ht.Default.getTextSize('测风塔', ' '+ Node25_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node25_1.setImage(GD.getTextJSON(Node25_1width, Node25_1height, false, true, false, ' '+ Node25_1fontSize + 'px "Arial"'))
- Node25_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node25_1.setWidth(Node25_1width);
- Node25_1.setHeight(Node25_1height);
- Node25_1._nodeType = 'text';
- Node25_1._disallowEvert = true;
- Node25_1.setRotation(0*Math.PI/180);
- Node25_1.a('node.width', Node25_1width);
- Node25_1.a('node.height', Node25_1height);
- Node25_1.a('node.rect', [0, 0, Node25_1width, Node25_1height]);
- Node25_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node25_1.a('node.borderwidth', 0);
- Node25_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node25_1.a('node.gradient','');
- Node25_1.a('node.gradientcolor','');
- Node25_1.a('node.text','测风塔');
- Node25_1.a('node.textalign','left');
- Node25_1.a('node.textvAlign','middle');
- Node25_1.a('node.textrect', [Node25_1textStart, 0, Node25_1textWidth, Node25_1height]);
- Node25_1.a('node.color','rgba(0,0,0,1)');
- Node25_1.a('node.font',' '+ Node25_1fontSize + 'px "Arial"');
- Node25_1.a('node.textvisible',false);
- Node25_1.a('node.linefeed',true);
- if (true) {
- Node25_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node25_1.a('node.text') || '测风塔';
- var color=Node25_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node25_1width,Node25_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node25_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node25_1.a('node.underlinepoints',[Node25_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node25_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node25_1fontSize + 'px "Arial"').width + 6, (Node25_1height - Node25_1fontSize) * 0.5*_ratio.ratioY + Node25_1fontSize + 2 ]);
- Node25_1.a('node.underlinevisible',false);
- Node25_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node25_1);
- zoomNodeList.push({
- node: Node25_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node26_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node26_0 = new ht.Node();
- Node26_0.setPosition(13*ratio.ratioX, 219*ratio.ratioY);
- Node26_0.setSize(27*ratioX, 101*ratioY);
- Node26_0.setImage('imgimage//left_menu_over0.png');
- Node26_0.setRotation(0*Math.PI/180);
- Node26_0._zoomBy = 'Default';
- Node26_0._nodeType = 'image';
- Node26_0._disallowEvert = true;
- dataModel.add(Node26_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26_1 = new ht.Node();
- var Node26_1textStart, Node26_1textWidth, Node26_1lineStart, Node26_1align = 'left', Node26_1fontSize = 19.99995*_ratio.ratioY,Node26_1width = 23*_ratio.ratioX, Node26_1height = 76*_ratio.ratioY;
- (function () {
- if (Node26_1align === 'left') {
- Node26_1textStart = Node26_1fontSize * 0.2 > 2 ? Node26_1fontSize * 0.2 - 4 : Node26_1fontSize * 0.2 - 9;
- Node26_1textWidth = Node26_1width;
- Node26_1lineStart = 1;
- } else if (Node26_1align === 'right') {
- Node26_1textStart = 0;
- Node26_1textWidth =Node26_1fontSize <= 8 ? Node26_1width + Node26_1fontSize * 0.2 + 6 : Node26_1width - Node26_1fontSize * 0.2;
- Node26_1lineStart = (Node26_1width - (ht.Default.getTextSize('排布图', ' '+ Node26_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26_1align === 'center') {
- Node26_1textStart = -3;
- Node26_1textWidth = Node26_1width;
- Node26_1lineStart = Node26_1width - ht.Default.getTextSize('排布图', ' '+ Node26_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26_1.setImage(GD.getTextJSON(Node26_1width, Node26_1height, false, true, false, ' '+ Node26_1fontSize + 'px "Arial"'))
- Node26_1.setPosition(11*ratio.ratioX, 217*ratio.ratioY);
- Node26_1.setWidth(Node26_1width);
- Node26_1.setHeight(Node26_1height);
- Node26_1._nodeType = 'text';
- Node26_1._disallowEvert = true;
- Node26_1.setRotation(0*Math.PI/180);
- Node26_1.a('node.width', Node26_1width);
- Node26_1.a('node.height', Node26_1height);
- Node26_1.a('node.rect', [0, 0, Node26_1width, Node26_1height]);
- Node26_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node26_1.a('node.borderwidth', 0);
- Node26_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node26_1.a('node.gradient','');
- Node26_1.a('node.gradientcolor','');
- Node26_1.a('node.text','排布图');
- Node26_1.a('node.textalign','left');
- Node26_1.a('node.textvAlign','middle');
- Node26_1.a('node.textrect', [Node26_1textStart, 0, Node26_1textWidth, Node26_1height]);
- Node26_1.a('node.color','rgba(0,0,0,1)');
- Node26_1.a('node.font',' '+ Node26_1fontSize + 'px "Arial"');
- Node26_1.a('node.textvisible',false);
- Node26_1.a('node.linefeed',true);
- if (true) {
- Node26_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node26_1.a('node.text') || '排布图';
- var color=Node26_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node26_1width,Node26_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node26_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26_1.a('node.underlinepoints',[Node26_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node26_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node26_1fontSize + 'px "Arial"').width + 6, (Node26_1height - Node26_1fontSize) * 0.5*_ratio.ratioY + Node26_1fontSize + 2 ]);
- Node26_1.a('node.underlinevisible',false);
- Node26_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node26_1);
- zoomNodeList.push({
- node: Node26_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node27_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node27_0 = new ht.Node();
- Node27_0.setPosition(13*ratio.ratioX, 319*ratio.ratioY);
- Node27_0.setSize(27*ratioX, 101*ratioY);
- Node27_0.setImage('imgimage//left_menu_over0.png');
- Node27_0.setRotation(0*Math.PI/180);
- Node27_0._zoomBy = 'Default';
- Node27_0._nodeType = 'image';
- Node27_0._disallowEvert = true;
- dataModel.add(Node27_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_1 = new ht.Node();
- var Node27_1textStart, Node27_1textWidth, Node27_1lineStart, Node27_1align = 'left', Node27_1fontSize = 18.66662*_ratio.ratioY,Node27_1width = 23*_ratio.ratioX, Node27_1height = 76*_ratio.ratioY;
- (function () {
- if (Node27_1align === 'left') {
- Node27_1textStart = Node27_1fontSize * 0.2 > 2 ? Node27_1fontSize * 0.2 - 4 : Node27_1fontSize * 0.2 - 9;
- Node27_1textWidth = Node27_1width;
- Node27_1lineStart = 1;
- } else if (Node27_1align === 'right') {
- Node27_1textStart = 0;
- Node27_1textWidth =Node27_1fontSize <= 8 ? Node27_1width + Node27_1fontSize * 0.2 + 6 : Node27_1width - Node27_1fontSize * 0.2;
- Node27_1lineStart = (Node27_1width - (ht.Default.getTextSize('总貌图', ' '+ Node27_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27_1align === 'center') {
- Node27_1textStart = -3;
- Node27_1textWidth = Node27_1width;
- Node27_1lineStart = Node27_1width - ht.Default.getTextSize('总貌图', ' '+ Node27_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27_1.setImage(GD.getTextJSON(Node27_1width, Node27_1height, false, true, false, ' '+ Node27_1fontSize + 'px "Arial"'))
- Node27_1.setPosition(12*ratio.ratioX, 317*ratio.ratioY);
- Node27_1.setWidth(Node27_1width);
- Node27_1.setHeight(Node27_1height);
- Node27_1._nodeType = 'text';
- Node27_1._disallowEvert = true;
- Node27_1.setRotation(0*Math.PI/180);
- Node27_1.a('node.width', Node27_1width);
- Node27_1.a('node.height', Node27_1height);
- Node27_1.a('node.rect', [0, 0, Node27_1width, Node27_1height]);
- Node27_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node27_1.a('node.borderwidth', 0);
- Node27_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_1.a('node.gradient','');
- Node27_1.a('node.gradientcolor','');
- Node27_1.a('node.text','总貌图');
- Node27_1.a('node.textalign','left');
- Node27_1.a('node.textvAlign','middle');
- Node27_1.a('node.textrect', [Node27_1textStart, 0, Node27_1textWidth, Node27_1height]);
- Node27_1.a('node.color','rgba(0,0,0,1)');
- Node27_1.a('node.font',' '+ Node27_1fontSize + 'px "Arial"');
- Node27_1.a('node.textvisible',false);
- Node27_1.a('node.linefeed',true);
- if (true) {
- Node27_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_1.a('node.text') || '总貌图';
- var color=Node27_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node27_1width,Node27_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node27_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27_1.a('node.underlinepoints',[Node27_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node27_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node27_1fontSize + 'px "Arial"').width + 6, (Node27_1height - Node27_1fontSize) * 0.5*_ratio.ratioY + Node27_1fontSize + 2 ]);
- Node27_1.a('node.underlinevisible',false);
- Node27_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_1);
- zoomNodeList.push({
- node: Node27_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node28_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node28_0 = new ht.Node();
- Node28_0.setPosition(13*ratio.ratioX, 419*ratio.ratioY);
- Node28_0.setSize(27*ratioX, 101*ratioY);
- Node28_0.setImage('imgimage//left_menu_over0.png');
- Node28_0.setRotation(0*Math.PI/180);
- Node28_0._zoomBy = 'Default';
- Node28_0._nodeType = 'image';
- Node28_0._disallowEvert = true;
- dataModel.add(Node28_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_1 = new ht.Node();
- var Node28_1textStart, Node28_1textWidth, Node28_1lineStart, Node28_1align = 'left', Node28_1fontSize = 18.66662*_ratio.ratioY,Node28_1width = 23*_ratio.ratioX, Node28_1height = 76*_ratio.ratioY;
- (function () {
- if (Node28_1align === 'left') {
- Node28_1textStart = Node28_1fontSize * 0.2 > 2 ? Node28_1fontSize * 0.2 - 4 : Node28_1fontSize * 0.2 - 9;
- Node28_1textWidth = Node28_1width;
- Node28_1lineStart = 1;
- } else if (Node28_1align === 'right') {
- Node28_1textStart = 0;
- Node28_1textWidth =Node28_1fontSize <= 8 ? Node28_1width + Node28_1fontSize * 0.2 + 6 : Node28_1width - Node28_1fontSize * 0.2;
- Node28_1lineStart = (Node28_1width - (ht.Default.getTextSize('升压站', ' '+ Node28_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28_1align === 'center') {
- Node28_1textStart = -3;
- Node28_1textWidth = Node28_1width;
- Node28_1lineStart = Node28_1width - ht.Default.getTextSize('升压站', ' '+ Node28_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28_1.setImage(GD.getTextJSON(Node28_1width, Node28_1height, false, true, false, ' '+ Node28_1fontSize + 'px "Arial"'))
- Node28_1.setPosition(12*ratio.ratioX, 417*ratio.ratioY);
- Node28_1.setWidth(Node28_1width);
- Node28_1.setHeight(Node28_1height);
- Node28_1._nodeType = 'text';
- Node28_1._disallowEvert = true;
- Node28_1.setRotation(0*Math.PI/180);
- Node28_1.a('node.width', Node28_1width);
- Node28_1.a('node.height', Node28_1height);
- Node28_1.a('node.rect', [0, 0, Node28_1width, Node28_1height]);
- Node28_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_1.a('node.borderwidth', 0);
- Node28_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_1.a('node.gradient','');
- Node28_1.a('node.gradientcolor','');
- Node28_1.a('node.text','升压站');
- Node28_1.a('node.textalign','left');
- Node28_1.a('node.textvAlign','middle');
- Node28_1.a('node.textrect', [Node28_1textStart, 0, Node28_1textWidth, Node28_1height]);
- Node28_1.a('node.color','rgba(0,0,0,1)');
- Node28_1.a('node.font',' '+ Node28_1fontSize + 'px "Arial"');
- Node28_1.a('node.textvisible',false);
- Node28_1.a('node.linefeed',true);
- if (true) {
- Node28_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_1.a('node.text') || '升压站';
- var color=Node28_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node28_1width,Node28_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node28_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node28_1.a('node.underlinepoints',[Node28_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node28_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node28_1fontSize + 'px "Arial"').width + 6, (Node28_1height - Node28_1fontSize) * 0.5*_ratio.ratioY + Node28_1fontSize + 2 ]);
- Node28_1.a('node.underlinevisible',false);
- Node28_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_1);
- zoomNodeList.push({
- node: Node28_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node29_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node29_0 = new ht.Node();
- Node29_0.setPosition(13*ratio.ratioX, 719*ratio.ratioY);
- Node29_0.setSize(27*ratioX, 101*ratioY);
- Node29_0.setImage('imgimage//left_menu_over0.png');
- Node29_0.setRotation(0*Math.PI/180);
- Node29_0._zoomBy = 'Default';
- Node29_0._nodeType = 'image';
- Node29_0._disallowEvert = true;
- dataModel.add(Node29_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_1 = new ht.Node();
- var Node29_1textStart, Node29_1textWidth, Node29_1lineStart, Node29_1align = 'left', Node29_1fontSize = 18.66662*_ratio.ratioY,Node29_1width = 23*_ratio.ratioX, Node29_1height = 76*_ratio.ratioY;
- (function () {
- if (Node29_1align === 'left') {
- Node29_1textStart = Node29_1fontSize * 0.2 > 2 ? Node29_1fontSize * 0.2 - 4 : Node29_1fontSize * 0.2 - 9;
- Node29_1textWidth = Node29_1width;
- Node29_1lineStart = 1;
- } else if (Node29_1align === 'right') {
- Node29_1textStart = 0;
- Node29_1textWidth =Node29_1fontSize <= 8 ? Node29_1width + Node29_1fontSize * 0.2 + 6 : Node29_1width - Node29_1fontSize * 0.2;
- Node29_1lineStart = (Node29_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node29_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node29_1align === 'center') {
- Node29_1textStart = -3;
- Node29_1textWidth = Node29_1width;
- Node29_1lineStart = Node29_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node29_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node29_1.setImage(GD.getTextJSON(Node29_1width, Node29_1height, false, true, false, ' '+ Node29_1fontSize + 'px "Arial"'))
- Node29_1.setPosition(12*ratio.ratioX, 717*ratio.ratioY);
- Node29_1.setWidth(Node29_1width);
- Node29_1.setHeight(Node29_1height);
- Node29_1._nodeType = 'text';
- Node29_1._disallowEvert = true;
- Node29_1.setRotation(0*Math.PI/180);
- Node29_1.a('node.width', Node29_1width);
- Node29_1.a('node.height', Node29_1height);
- Node29_1.a('node.rect', [0, 0, Node29_1width, Node29_1height]);
- Node29_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_1.a('node.borderwidth', 0);
- Node29_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_1.a('node.gradient','');
- Node29_1.a('node.gradientcolor','');
- Node29_1.a('node.text','风机矩阵');
- Node29_1.a('node.textalign','left');
- Node29_1.a('node.textvAlign','middle');
- Node29_1.a('node.textrect', [Node29_1textStart, 0, Node29_1textWidth, Node29_1height]);
- Node29_1.a('node.color','rgba(0,0,0,1)');
- Node29_1.a('node.font',' '+ Node29_1fontSize + 'px "Arial"');
- Node29_1.a('node.textvisible',false);
- Node29_1.a('node.linefeed',true);
- if (true) {
- Node29_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_1.a('node.text') || '风机矩阵';
- var color=Node29_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node29_1width,Node29_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node29_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node29_1.a('node.underlinepoints',[Node29_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node29_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node29_1fontSize + 'px "Arial"').width + 6, (Node29_1height - Node29_1fontSize) * 0.5*_ratio.ratioY + Node29_1fontSize + 2 ]);
- Node29_1.a('node.underlinevisible',false);
- Node29_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_1);
- zoomNodeList.push({
- node: Node29_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node30_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node30_0 = new ht.Node();
- Node30_0.setPosition(13*ratio.ratioX, 619*ratio.ratioY);
- Node30_0.setSize(27*ratioX, 101*ratioY);
- Node30_0.setImage('imgimage//left_menu_over0.png');
- Node30_0.setRotation(0*Math.PI/180);
- Node30_0._zoomBy = 'Default';
- Node30_0._nodeType = 'image';
- Node30_0._disallowEvert = true;
- dataModel.add(Node30_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_1 = new ht.Node();
- var Node30_1textStart, Node30_1textWidth, Node30_1lineStart, Node30_1align = 'left', Node30_1fontSize = 18.66662*_ratio.ratioY,Node30_1width = 23*_ratio.ratioX, Node30_1height = 76*_ratio.ratioY;
- (function () {
- if (Node30_1align === 'left') {
- Node30_1textStart = Node30_1fontSize * 0.2 > 2 ? Node30_1fontSize * 0.2 - 4 : Node30_1fontSize * 0.2 - 9;
- Node30_1textWidth = Node30_1width;
- Node30_1lineStart = 1;
- } else if (Node30_1align === 'right') {
- Node30_1textStart = 0;
- Node30_1textWidth =Node30_1fontSize <= 8 ? Node30_1width + Node30_1fontSize * 0.2 + 6 : Node30_1width - Node30_1fontSize * 0.2;
- Node30_1lineStart = (Node30_1width - (ht.Default.getTextSize('风机信息', ' '+ Node30_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30_1align === 'center') {
- Node30_1textStart = -3;
- Node30_1textWidth = Node30_1width;
- Node30_1lineStart = Node30_1width - ht.Default.getTextSize('风机信息', ' '+ Node30_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30_1.setImage(GD.getTextJSON(Node30_1width, Node30_1height, false, true, false, ' '+ Node30_1fontSize + 'px "Arial"'))
- Node30_1.setPosition(12*ratio.ratioX, 617*ratio.ratioY);
- Node30_1.setWidth(Node30_1width);
- Node30_1.setHeight(Node30_1height);
- Node30_1._nodeType = 'text';
- Node30_1._disallowEvert = true;
- Node30_1.setRotation(0*Math.PI/180);
- Node30_1.a('node.width', Node30_1width);
- Node30_1.a('node.height', Node30_1height);
- Node30_1.a('node.rect', [0, 0, Node30_1width, Node30_1height]);
- Node30_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_1.a('node.borderwidth', 0);
- Node30_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_1.a('node.gradient','');
- Node30_1.a('node.gradientcolor','');
- Node30_1.a('node.text','风机信息');
- Node30_1.a('node.textalign','left');
- Node30_1.a('node.textvAlign','middle');
- Node30_1.a('node.textrect', [Node30_1textStart, 0, Node30_1textWidth, Node30_1height]);
- Node30_1.a('node.color','rgba(0,0,0,1)');
- Node30_1.a('node.font',' '+ Node30_1fontSize + 'px "Arial"');
- Node30_1.a('node.textvisible',false);
- Node30_1.a('node.linefeed',true);
- if (true) {
- Node30_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_1.a('node.text') || '风机信息';
- var color=Node30_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node30_1width,Node30_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node30_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30_1.a('node.underlinepoints',[Node30_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node30_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node30_1fontSize + 'px "Arial"').width + 6, (Node30_1height - Node30_1fontSize) * 0.5*_ratio.ratioY + Node30_1fontSize + 2 ]);
- Node30_1.a('node.underlinevisible',false);
- Node30_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_1);
- zoomNodeList.push({
- node: Node30_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node31_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node31_0 = new ht.Node();
- Node31_0.setPosition(13*ratio.ratioX, 519*ratio.ratioY);
- Node31_0.setSize(27*ratioX, 101*ratioY);
- Node31_0.setImage('imgimage//left_menu_over0.png');
- Node31_0.setRotation(0*Math.PI/180);
- Node31_0._zoomBy = 'Default';
- Node31_0._nodeType = 'image';
- Node31_0._disallowEvert = true;
- dataModel.add(Node31_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31_1 = new ht.Node();
- var Node31_1textStart, Node31_1textWidth, Node31_1lineStart, Node31_1align = 'left', Node31_1fontSize = 18.66662*_ratio.ratioY,Node31_1width = 23*_ratio.ratioX, Node31_1height = 76*_ratio.ratioY;
- (function () {
- if (Node31_1align === 'left') {
- Node31_1textStart = Node31_1fontSize * 0.2 > 2 ? Node31_1fontSize * 0.2 - 4 : Node31_1fontSize * 0.2 - 9;
- Node31_1textWidth = Node31_1width;
- Node31_1lineStart = 1;
- } else if (Node31_1align === 'right') {
- Node31_1textStart = 0;
- Node31_1textWidth =Node31_1fontSize <= 8 ? Node31_1width + Node31_1fontSize * 0.2 + 6 : Node31_1width - Node31_1fontSize * 0.2;
- Node31_1lineStart = (Node31_1width - (ht.Default.getTextSize('测风塔', ' '+ Node31_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node31_1align === 'center') {
- Node31_1textStart = -3;
- Node31_1textWidth = Node31_1width;
- Node31_1lineStart = Node31_1width - ht.Default.getTextSize('测风塔', ' '+ Node31_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node31_1.setImage(GD.getTextJSON(Node31_1width, Node31_1height, false, true, false, ' '+ Node31_1fontSize + 'px "Arial"'))
- Node31_1.setPosition(12*ratio.ratioX, 517*ratio.ratioY);
- Node31_1.setWidth(Node31_1width);
- Node31_1.setHeight(Node31_1height);
- Node31_1._nodeType = 'text';
- Node31_1._disallowEvert = true;
- Node31_1.setRotation(0*Math.PI/180);
- Node31_1.a('node.width', Node31_1width);
- Node31_1.a('node.height', Node31_1height);
- Node31_1.a('node.rect', [0, 0, Node31_1width, Node31_1height]);
- Node31_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node31_1.a('node.borderwidth', 0);
- Node31_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node31_1.a('node.gradient','');
- Node31_1.a('node.gradientcolor','');
- Node31_1.a('node.text','测风塔');
- Node31_1.a('node.textalign','left');
- Node31_1.a('node.textvAlign','middle');
- Node31_1.a('node.textrect', [Node31_1textStart, 0, Node31_1textWidth, Node31_1height]);
- Node31_1.a('node.color','rgba(0,0,0,1)');
- Node31_1.a('node.font',' '+ Node31_1fontSize + 'px "Arial"');
- Node31_1.a('node.textvisible',false);
- Node31_1.a('node.linefeed',true);
- if (true) {
- Node31_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node31_1.a('node.text') || '测风塔';
- var color=Node31_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node31_1width,Node31_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node31_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31_1.a('node.underlinepoints',[Node31_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node31_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node31_1fontSize + 'px "Arial"').width + 6, (Node31_1height - Node31_1fontSize) * 0.5*_ratio.ratioY + Node31_1fontSize + 2 ]);
- Node31_1.a('node.underlinevisible',false);
- Node31_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node31_1);
- zoomNodeList.push({
- node: Node31_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32type = 'rect';
- var Node32 = new ht.Node(),
- Node32BorderWidth = 1*2;
- if (Node32type === 'arc') {
- Node32BorderWidth *= 1;
- }
- Node32.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node32type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node32.setPosition(1825*ratio.ratioX, 130*ratio.ratioY);
- Node32.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node32.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node32.a('node.width', 127*_ratio.ratioX);
- Node32.a('node.height', 60.81538*_ratio.ratioY);
- Node32.a('node.type', Node32type);
- Node32.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node32.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node32.a('node.gradientcolor', '');
- Node32.a('node.gradient', '');
- Node32.a('node.borderwidth', Node32BorderWidth);
- Node32.a('node.color', 'rgba(128,128,128,1)');
- Node32.a('node.fillrect', [0,0,0,0]);
- Node32.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node32.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node32.a('node.fillgradient', '');
- if (Node32type !== 'rect') {
- Node32.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node32.a('node.arcTo', parseFloat('@arcTo@'));
- Node32.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node32type === 'arc') {
- Node32.a('node.arcOval', true);
- }
- Node32.setRotation(0*Math.PI/180);
- Node32.borderWidth = Node32BorderWidth;
- Node32.borderFillwidth = Node32BorderWidth;
- dataModel.add(Node32);
- Node32._nodename = 'Node32'
- Node32._nodeType = 'rect';
- zoomNodeList.push({
- node: Node32,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node32, Node32.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33type = 'rect';
- var Node33 = new ht.Node(),
- Node33BorderWidth = 1*2;
- if (Node33type === 'arc') {
- Node33BorderWidth *= 1;
- }
- Node33.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node33type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node33.setPosition(1331*ratio.ratioX, 99*ratio.ratioY);
- Node33.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node33.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node33.a('node.width', 27*_ratio.ratioX);
- Node33.a('node.height', 121*_ratio.ratioY);
- Node33.a('node.type', Node33type);
- Node33.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node33.a('node.background', 'rgba(0,0,0,1)');
- Node33.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node33.a('node.gradient', '');
- Node33.a('node.borderwidth', Node33BorderWidth);
- Node33.a('node.color', 'rgba(0,0,255,1)');
- Node33.a('node.fillrect', [0,0,0,0]);
- Node33.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradient', '');
- if (Node33type !== 'rect') {
- Node33.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node33.a('node.arcTo', parseFloat('@arcTo@'));
- Node33.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node33type === 'arc') {
- Node33.a('node.arcOval', true);
- }
- Node33.setRotation(0*Math.PI/180);
- Node33.borderWidth = Node33BorderWidth;
- Node33.borderFillwidth = Node33BorderWidth;
- dataModel.add(Node33);
- Node33._nodename = 'Node33'
- Node33._nodeType = 'rect';
- zoomNodeList.push({
- node: Node33,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node33, Node33.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34type = 'rect';
- var Node34 = new ht.Node(),
- Node34BorderWidth = 1*2;
- if (Node34type === 'arc') {
- Node34BorderWidth *= 1;
- }
- Node34.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node34type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34.setPosition(1410*ratio.ratioX, 99*ratio.ratioY);
- Node34.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node34.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34.a('node.width', 130*_ratio.ratioX);
- Node34.a('node.height', 121*_ratio.ratioY);
- Node34.a('node.type', Node34type);
- Node34.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node34.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node34.a('node.gradientcolor', '');
- Node34.a('node.gradient', '');
- Node34.a('node.borderwidth', Node34BorderWidth);
- Node34.a('node.color', 'rgba(128,128,128,1)');
- Node34.a('node.fillrect', [0,0,0,0]);
- Node34.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34.a('node.fillgradient', '');
- if (Node34type !== 'rect') {
- Node34.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34.a('node.arcTo', parseFloat('@arcTo@'));
- Node34.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34type === 'arc') {
- Node34.a('node.arcOval', true);
- }
- Node34.setRotation(0*Math.PI/180);
- Node34.borderWidth = Node34BorderWidth;
- Node34.borderFillwidth = Node34BorderWidth;
- dataModel.add(Node34);
- Node34._nodename = 'Node34'
- Node34._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node34, Node34.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35 = new ht.Node();
- var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'center', Node35fontSize = 14.66663*_ratio.ratioY,Node35width = 87*_ratio.ratioX, Node35height = 26*_ratio.ratioY;
- (function () {
- if (Node35align === 'left') {
- Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9;
- Node35textWidth = Node35width;
- Node35lineStart = 1;
- } else if (Node35align === 'right') {
- Node35textStart = 0;
- Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2;
- Node35lineStart = (Node35width - (ht.Default.getTextSize('台', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35align === 'center') {
- Node35textStart = -3;
- Node35textWidth = Node35width;
- Node35lineStart = Node35width - ht.Default.getTextSize('台', ' '+ Node35fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"'))
- Node35.setPosition(1458*ratio.ratioX, 147*ratio.ratioY);
- Node35.setWidth(Node35width);
- Node35.setHeight(Node35height);
- Node35._nodeType = 'text';
- Node35._disallowEvert = true;
- Node35.setRotation(0*Math.PI/180);
- Node35.a('node.width', Node35width);
- Node35.a('node.height', Node35height);
- Node35.a('node.rect', [0, 0, Node35width, Node35height]);
- Node35.a('node.bordercolor','rgba(105,105,105,1)');
- Node35.a('node.borderwidth', 0);
- Node35.a('node.background','' || 'rgba(0,0,0,0)');
- Node35.a('node.gradient','');
- Node35.a('node.gradientcolor','');
- Node35.a('node.text','台');
- Node35.a('node.textalign','center');
- Node35.a('node.textvAlign','middle');
- Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]);
- Node35.a('node.color','rgba(105,105,105,1)');
- Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"');
- Node35.a('node.textvisible',true);
- Node35.a('node.linefeed',false);
- if (false) {
- Node35.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node35.a('node.text') || '台';
- var color=Node35.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node35width,Node35height,14.66663*_ratio.ratioY,"center",color,' '+ Node35fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35.a('node.underlinepoints',[Node35lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]);
- Node35.a('node.underlinevisible',false);
- Node35.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node35);
- zoomNodeList.push({
- node: Node35,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node36;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node36 = new ht.Node();
- Node36.setPosition(1480*ratio.ratioX, 129*ratio.ratioY);
- Node36.setSize(9*ratioX, 60*ratioY);
- Node36.setImage('imgimage//page_list_box_left_orange.jpg');
- Node36.setRotation(0*Math.PI/180);
- Node36._zoomBy = 'Default';
- Node36._nodeType = 'image';
- Node36._disallowEvert = true;
- dataModel.add(Node36);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37type = 'rect';
- var Node37 = new ht.Node(),
- Node37BorderWidth = 1*2;
- if (Node37type === 'arc') {
- Node37BorderWidth *= 1;
- }
- Node37.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node37type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node37.setPosition(1549*ratio.ratioX, 130*ratio.ratioY);
- Node37.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node37.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node37.a('node.width', 127*_ratio.ratioX);
- Node37.a('node.height', 60.81538*_ratio.ratioY);
- Node37.a('node.type', Node37type);
- Node37.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node37.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node37.a('node.gradientcolor', '');
- Node37.a('node.gradient', '');
- Node37.a('node.borderwidth', Node37BorderWidth);
- Node37.a('node.color', 'rgba(128,128,128,1)');
- Node37.a('node.fillrect', [0,0,0,0]);
- Node37.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node37.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node37.a('node.fillgradient', '');
- if (Node37type !== 'rect') {
- Node37.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node37.a('node.arcTo', parseFloat('@arcTo@'));
- Node37.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node37type === 'arc') {
- Node37.a('node.arcOval', true);
- }
- Node37.setRotation(0*Math.PI/180);
- Node37.borderWidth = Node37BorderWidth;
- Node37.borderFillwidth = Node37BorderWidth;
- dataModel.add(Node37);
- Node37._nodename = 'Node37'
- Node37._nodeType = 'rect';
- zoomNodeList.push({
- node: Node37,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node37, Node37.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.Node();
- var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'center', Node38fontSize = 14.66663*_ratio.ratioY,Node38width = 67*_ratio.ratioX, Node38height = 26*_ratio.ratioY;
- (function () {
- if (Node38align === 'left') {
- Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
- Node38textWidth = Node38width;
- Node38lineStart = 1;
- } else if (Node38align === 'right') {
- Node38textStart = 0;
- Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
- Node38lineStart = (Node38width - (ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38align === 'center') {
- Node38textStart = -3;
- Node38textWidth = Node38width;
- Node38lineStart = Node38width - ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
- Node38.setPosition(1729*ratio.ratioX, 146*ratio.ratioY);
- Node38.setWidth(Node38width);
- Node38.setHeight(Node38height);
- Node38._nodeType = 'text';
- Node38._disallowEvert = true;
- Node38.setRotation(0*Math.PI/180);
- Node38.a('node.width', Node38width);
- Node38.a('node.height', Node38height);
- Node38.a('node.rect', [0, 0, Node38width, Node38height]);
- Node38.a('node.bordercolor','rgba(105,105,105,1)');
- Node38.a('node.borderwidth', 0);
- Node38.a('node.background','' || 'rgba(0,0,0,0)');
- Node38.a('node.gradient','');
- Node38.a('node.gradientcolor','');
- Node38.a('node.text','台');
- Node38.a('node.textalign','center');
- Node38.a('node.textvAlign','middle');
- Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
- Node38.a('node.color','rgba(105,105,105,1)');
- Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
- Node38.a('node.textvisible',true);
- Node38.a('node.linefeed',false);
- if (false) {
- Node38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38.a('node.text') || '台';
- var color=Node38.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node38width,Node38height,14.66663*_ratio.ratioY,"center",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38.a('node.underlinepoints',[Node38lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
- Node38.a('node.underlinevisible',false);
- Node38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38);
- zoomNodeList.push({
- node: Node38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node39;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node39 = new ht.Node();
- Node39.setPosition(1618*ratio.ratioX, 130*ratio.ratioY);
- Node39.setSize(9*ratioX, 60*ratioY);
- Node39.setImage('imgimage//page_list_box_left_pink.jpg');
- Node39.setRotation(0*Math.PI/180);
- Node39._zoomBy = 'Default';
- Node39._nodeType = 'image';
- Node39._disallowEvert = true;
- dataModel.add(Node39);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40type = 'rect';
- var Node40 = new ht.Node(),
- Node40BorderWidth = 1*2;
- if (Node40type === 'arc') {
- Node40BorderWidth *= 1;
- }
- Node40.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node40type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40.setPosition(1687*ratio.ratioX, 130*ratio.ratioY);
- Node40.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node40.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40.a('node.width', 127*_ratio.ratioX);
- Node40.a('node.height', 60.81538*_ratio.ratioY);
- Node40.a('node.type', Node40type);
- Node40.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node40.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40.a('node.gradientcolor', '');
- Node40.a('node.gradient', '');
- Node40.a('node.borderwidth', Node40BorderWidth);
- Node40.a('node.color', 'rgba(128,128,128,1)');
- Node40.a('node.fillrect', [0,0,0,0]);
- Node40.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradient', '');
- if (Node40type !== 'rect') {
- Node40.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40.a('node.arcTo', parseFloat('@arcTo@'));
- Node40.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40type === 'arc') {
- Node40.a('node.arcOval', true);
- }
- Node40.setRotation(0*Math.PI/180);
- Node40.borderWidth = Node40BorderWidth;
- Node40.borderFillwidth = Node40BorderWidth;
- dataModel.add(Node40);
- Node40._nodename = 'Node40'
- Node40._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node40, Node40.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41type = 'rect';
- var Node41 = new ht.Node(),
- Node41BorderWidth = 1*2;
- if (Node41type === 'arc') {
- Node41BorderWidth *= 1;
- }
- Node41.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node41type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node41.setPosition(251*ratio.ratioX, 148*ratio.ratioY);
- Node41.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node41.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node41.a('node.width', 121*_ratio.ratioX);
- Node41.a('node.height', 24.33138*_ratio.ratioY);
- Node41.a('node.type', Node41type);
- Node41.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node41.a('node.background', 'rgba(240,240,240,1)');
- Node41.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node41.a('node.gradient', '');
- Node41.a('node.borderwidth', Node41BorderWidth);
- Node41.a('node.color', 'rgba(224,224,224,1)');
- Node41.a('node.fillrect', [0,0,0,0]);
- Node41.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node41.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node41.a('node.fillgradient', '');
- if (Node41type !== 'rect') {
- Node41.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node41.a('node.arcTo', parseFloat('@arcTo@'));
- Node41.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node41type === 'arc') {
- Node41.a('node.arcOval', true);
- }
- Node41.setRotation(0*Math.PI/180);
- Node41.borderWidth = Node41BorderWidth;
- Node41.borderFillwidth = Node41BorderWidth;
- dataModel.add(Node41);
- Node41._nodename = 'Node41'
- Node41._nodeType = 'rect';
- zoomNodeList.push({
- node: Node41,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node41, Node41.getImage());_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(535*ratio.ratioX, 148*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(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node43.setPosition(816*ratio.ratioX, 148*ratio.ratioY);
- Node43.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node43.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node43.a('node.width', 117*_ratio.ratioX);
- Node43.a('node.height', 24.33138*_ratio.ratioY);
- Node43.a('node.type', Node43type);
- Node43.a('node.rect', [0, 0, 117*_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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(922*ratio.ratioX, 148*ratio.ratioY);
- Node44.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 95*_ratio.ratioX);
- Node44.a('node.height', 24.33138*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44.a('node.gradientcolor', '');
- 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(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node45.setPosition(1002*ratio.ratioX, 148*ratio.ratioY);
- Node45.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node45.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node45.a('node.width', 65*_ratio.ratioX);
- Node45.a('node.height', 24.33138*_ratio.ratioY);
- Node45.a('node.type', Node45type);
- Node45.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node45.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node45.a('node.gradientcolor', '');
- Node45.a('node.gradient', '');
- Node45.a('node.borderwidth', Node45BorderWidth);
- Node45.a('node.color', 'rgba(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(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46.setPosition(1096*ratio.ratioX, 148*ratio.ratioY);
- Node46.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46.a('node.width', 117*_ratio.ratioX);
- Node46.a('node.height', 24.33138*_ratio.ratioY);
- Node46.a('node.type', Node46type);
- Node46.a('node.rect', [0, 0, 117*_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 Node47type = 'rect';
- var Node47 = new ht.Node(),
- Node47BorderWidth = 1*2;
- if (Node47type === 'arc') {
- Node47BorderWidth *= 1;
- }
- Node47.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node47type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node47.setPosition(1202*ratio.ratioX, 148*ratio.ratioY);
- Node47.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node47.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node47.a('node.width', 95*_ratio.ratioX);
- Node47.a('node.height', 24.33138*_ratio.ratioY);
- Node47.a('node.type', Node47type);
- Node47.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node47.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node47.a('node.gradientcolor', '');
- Node47.a('node.gradient', '');
- Node47.a('node.borderwidth', Node47BorderWidth);
- Node47.a('node.color', 'rgba(224,224,224,1)');
- Node47.a('node.fillrect', [0,0,0,0]);
- Node47.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node47.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node47.a('node.fillgradient', '');
- if (Node47type !== 'rect') {
- Node47.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node47.a('node.arcTo', parseFloat('@arcTo@'));
- Node47.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node47type === 'arc') {
- Node47.a('node.arcOval', true);
- }
- Node47.setRotation(0*Math.PI/180);
- Node47.borderWidth = Node47BorderWidth;
- Node47.borderFillwidth = Node47BorderWidth;
- dataModel.add(Node47);
- Node47._nodename = 'Node47'
- Node47._nodeType = 'rect';
- zoomNodeList.push({
- node: Node47,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node47, Node47.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48type = 'rect';
- var Node48 = new ht.Node(),
- Node48BorderWidth = 1*2;
- if (Node48type === 'arc') {
- Node48BorderWidth *= 1;
- }
- Node48.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node48type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48.setPosition(1282*ratio.ratioX, 148*ratio.ratioY);
- Node48.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node48.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48.a('node.width', 65*_ratio.ratioX);
- Node48.a('node.height', 24.33138*_ratio.ratioY);
- Node48.a('node.type', Node48type);
- Node48.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node48.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node48.a('node.gradientcolor', '');
- Node48.a('node.gradient', '');
- Node48.a('node.borderwidth', Node48BorderWidth);
- Node48.a('node.color', 'rgba(224,224,224,1)');
- Node48.a('node.fillrect', [0,0,0,0]);
- Node48.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48.a('node.fillgradient', '');
- if (Node48type !== 'rect') {
- Node48.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48.a('node.arcTo', parseFloat('@arcTo@'));
- Node48.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48type === 'arc') {
- Node48.a('node.arcOval', true);
- }
- Node48.setRotation(0*Math.PI/180);
- Node48.borderWidth = Node48BorderWidth;
- Node48.borderFillwidth = Node48BorderWidth;
- dataModel.add(Node48);
- Node48._nodename = 'Node48'
- Node48._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node48, Node48.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49type = 'rect';
- var Node49 = new ht.Node(),
- Node49BorderWidth = 1*2;
- if (Node49type === 'arc') {
- Node49BorderWidth *= 1;
- }
- Node49.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node49type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node49.setPosition(359*ratio.ratioX, 148*ratio.ratioY);
- Node49.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node49.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node49.a('node.width', 94*_ratio.ratioX);
- Node49.a('node.height', 24.33138*_ratio.ratioY);
- Node49.a('node.type', Node49type);
- Node49.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node49.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node49.a('node.gradientcolor', '');
- Node49.a('node.gradient', '');
- Node49.a('node.borderwidth', Node49BorderWidth);
- Node49.a('node.color', 'rgba(224,224,224,1)');
- Node49.a('node.fillrect', [0,0,0,0]);
- Node49.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node49.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node49.a('node.fillgradient', '');
- if (Node49type !== 'rect') {
- Node49.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node49.a('node.arcTo', parseFloat('@arcTo@'));
- Node49.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node49type === 'arc') {
- Node49.a('node.arcOval', true);
- }
- Node49.setRotation(0*Math.PI/180);
- Node49.borderWidth = Node49BorderWidth;
- Node49.borderFillwidth = Node49BorderWidth;
- dataModel.add(Node49);
- Node49._nodename = 'Node49'
- Node49._nodeType = 'rect';
- zoomNodeList.push({
- node: Node49,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node49, Node49.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50type = 'rect';
- var Node50 = new ht.Node(),
- Node50BorderWidth = 1*2;
- if (Node50type === 'arc') {
- Node50BorderWidth *= 1;
- }
- Node50.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node50type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50.setPosition(438*ratio.ratioX, 148*ratio.ratioY);
- Node50.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node50.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50.a('node.width', 65*_ratio.ratioX);
- Node50.a('node.height', 24.33138*_ratio.ratioY);
- Node50.a('node.type', Node50type);
- Node50.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node50.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node50.a('node.gradientcolor', '');
- Node50.a('node.gradient', '');
- Node50.a('node.borderwidth', Node50BorderWidth);
- Node50.a('node.color', 'rgba(224,224,224,1)');
- Node50.a('node.fillrect', [0,0,0,0]);
- Node50.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50.a('node.fillgradient', '');
- if (Node50type !== 'rect') {
- Node50.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50.a('node.arcTo', parseFloat('@arcTo@'));
- Node50.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50type === 'arc') {
- Node50.a('node.arcOval', true);
- }
- Node50.setRotation(0*Math.PI/180);
- Node50.borderWidth = Node50BorderWidth;
- Node50.borderFillwidth = Node50BorderWidth;
- dataModel.add(Node50);
- Node50._nodename = 'Node50'
- Node50._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node50, Node50.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51type = 'rect';
- var Node51 = new ht.Node(),
- Node51BorderWidth = 1*2;
- if (Node51type === 'arc') {
- Node51BorderWidth *= 1;
- }
- Node51.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node51type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node51.setPosition(643*ratio.ratioX, 148*ratio.ratioY);
- Node51.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node51.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node51.a('node.width', 94*_ratio.ratioX);
- Node51.a('node.height', 24.33138*_ratio.ratioY);
- Node51.a('node.type', Node51type);
- Node51.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_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(224,224,224,1)');
- Node51.a('node.fillrect', [0,0,0,0]);
- Node51.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node51.a('node.fillgradient', '');
- if (Node51type !== 'rect') {
- Node51.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node51.a('node.arcTo', parseFloat('@arcTo@'));
- Node51.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node51type === 'arc') {
- Node51.a('node.arcOval', true);
- }
- Node51.setRotation(0*Math.PI/180);
- Node51.borderWidth = Node51BorderWidth;
- Node51.borderFillwidth = Node51BorderWidth;
- dataModel.add(Node51);
- Node51._nodename = 'Node51'
- Node51._nodeType = 'rect';
- zoomNodeList.push({
- node: Node51,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node51, Node51.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52type = 'rect';
- var Node52 = new ht.Node(),
- Node52BorderWidth = 1*2;
- if (Node52type === 'arc') {
- Node52BorderWidth *= 1;
- }
- Node52.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52.setPosition(722*ratio.ratioX, 148*ratio.ratioY);
- Node52.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node52.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node52.a('node.width', 65*_ratio.ratioX);
- Node52.a('node.height', 24.33138*_ratio.ratioY);
- Node52.a('node.type', Node52type);
- Node52.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_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(224,224,224,1)');
- Node52.a('node.fillrect', [0,0,0,0]);
- Node52.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node52.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node52.a('node.fillgradient', '');
- if (Node52type !== 'rect') {
- Node52.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node52.a('node.arcTo', parseFloat('@arcTo@'));
- Node52.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node52type === 'arc') {
- Node52.a('node.arcOval', true);
- }
- Node52.setRotation(0*Math.PI/180);
- Node52.borderWidth = Node52BorderWidth;
- Node52.borderFillwidth = Node52BorderWidth;
- dataModel.add(Node52);
- Node52._nodename = 'Node52'
- Node52._nodeType = 'rect';
- zoomNodeList.push({
- node: Node52,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node52, Node52.getImage());var Node53;
- (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');
- Node53 = new ht.Node();
- Node53.setPosition(1756*ratio.ratioX, 130*ratio.ratioY);
- Node53.setSize(9*ratioX, 60*ratioY);
- Node53.setImage('imgimage//page_list_box_left_black.jpg');
- Node53.setRotation(0*Math.PI/180);
- Node53._zoomBy = 'Default';
- Node53._nodeType = 'image';
- Node53._disallowEvert = true;
- dataModel.add(Node53);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.Node();
- var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'center', Node54fontSize = 13.3333*_ratio.ratioY,Node54width = 58*_ratio.ratioX, Node54height = 26*_ratio.ratioY;
- (function () {
- if (Node54align === 'left') {
- Node54textStart = Node54fontSize * 0.2 > 2 ? Node54fontSize * 0.2 - 4 : Node54fontSize * 0.2 - 9;
- Node54textWidth = Node54width;
- Node54lineStart = 1;
- } else if (Node54align === 'right') {
- Node54textStart = 0;
- Node54textWidth =Node54fontSize <= 8 ? Node54width + Node54fontSize * 0.2 + 6 : Node54width - Node54fontSize * 0.2;
- Node54lineStart = (Node54width - (ht.Default.getTextSize('0', ' '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node54align === 'center') {
- Node54textStart = -3;
- Node54textWidth = Node54width;
- Node54lineStart = Node54width - ht.Default.getTextSize('0', ' '+ Node54fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, ' '+ Node54fontSize + 'px "Arial"'))
- Node54.setPosition(359*ratio.ratioX, 150*ratio.ratioY);
- Node54.setWidth(Node54width);
- Node54.setHeight(Node54height);
- Node54._nodeType = 'text';
- Node54._disallowEvert = true;
- Node54.setRotation(0*Math.PI/180);
- Node54.a('node.width', Node54width);
- Node54.a('node.height', Node54height);
- Node54.a('node.rect', [0, 0, Node54width, Node54height]);
- Node54.a('node.bordercolor','rgba(0,0,0,1)');
- Node54.a('node.borderwidth', 0);
- Node54.a('node.background','' || 'rgba(0,0,0,0)');
- Node54.a('node.gradient','');
- Node54.a('node.gradientcolor','');
- Node54.a('node.text','0');
- Node54.a('node.textalign','center');
- Node54.a('node.textvAlign','middle');
- Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]);
- Node54.a('node.color','rgba(0,0,0,1)');
- Node54.a('node.font',' '+ Node54fontSize + 'px "Arial"');
- Node54.a('node.textvisible',true);
- Node54.a('node.linefeed',false);
- if (false) {
- Node54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node54.a('node.text') || '0';
- var color=Node54.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node54width,Node54height,13.3333*_ratio.ratioY,"center",color,' '+ Node54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node54.a('node.underlinepoints',[Node54lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node54fontSize + 'px "Arial"').width + 6, (Node54height - Node54fontSize) * 0.5*_ratio.ratioY + Node54fontSize + 2 ]);
- Node54.a('node.underlinevisible',false);
- Node54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node54);
- zoomNodeList.push({
- node: Node54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'center', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 59*_ratio.ratioX, Node55height = 26*_ratio.ratioY;
- (function () {
- if (Node55align === 'left') {
- Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
- Node55textWidth = Node55width;
- Node55lineStart = 1;
- } else if (Node55align === 'right') {
- Node55textStart = 0;
- Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
- Node55lineStart = (Node55width - (ht.Default.getTextSize('万kWh', ' '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('万kWh', ' '+ Node55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "Arial"'))
- Node55.setPosition(439*ratio.ratioX, 151*ratio.ratioY);
- Node55.setWidth(Node55width);
- Node55.setHeight(Node55height);
- Node55._nodeType = 'text';
- Node55._disallowEvert = true;
- Node55.setRotation(0*Math.PI/180);
- Node55.a('node.width', Node55width);
- Node55.a('node.height', Node55height);
- Node55.a('node.rect', [0, 0, Node55width, Node55height]);
- Node55.a('node.bordercolor','rgba(128,128,128,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','');
- Node55.a('node.text','万kWh');
- Node55.a('node.textalign','center');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(128,128,128,1)');
- Node55.a('node.font',' '+ Node55fontSize + 'px "Arial"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '万kWh';
- var color=Node55.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"center",color,' '+ Node55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 77*_ratio.ratioX, Node56height = 26*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('上网电量', ' '+ Node56fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('上网电量', ' '+ Node56fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "微软雅黑"'))
- Node56.setPosition(229*ratio.ratioX, 150*ratio.ratioY);
- Node56.setWidth(Node56width);
- Node56.setHeight(Node56height);
- Node56._nodeType = 'text';
- Node56._disallowEvert = true;
- Node56.setRotation(0*Math.PI/180);
- Node56.a('node.width', Node56width);
- Node56.a('node.height', Node56height);
- Node56.a('node.rect', [0, 0, Node56width, Node56height]);
- Node56.a('node.bordercolor','rgba(0,0,0,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','' || 'rgba(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(0,0,0,1)');
- Node56.a('node.font',' '+ Node56fontSize + 'px "微软雅黑"');
- Node56.a('node.textvisible',true);
- Node56.a('node.linefeed',false);
- if (false) {
- Node56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node56.a('node.text') || '上网电量';
- var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node56fontSize + 'px "微软雅黑"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
- Node56.a('node.underlinevisible',false);
- Node56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node56);
- zoomNodeList.push({
- node: Node56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'center', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 113*_ratio.ratioX, Node57height = 26*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('日性能损失电量', ' '+ Node57fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "微软雅黑"'))
- Node57.setPosition(536*ratio.ratioX, 150*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(0,0,0,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','rgba(255,255,255,0)');
- Node57.a('node.text','日性能损失电量');
- Node57.a('node.textalign','center');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(0,0,0,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "微软雅黑"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '日性能损失电量';
- var color=Node57.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"center",color,' '+ Node57fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'center', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 59*_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('万kWh', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('万kWh', ' '+ Node58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
- Node58.setPosition(724*ratio.ratioX, 149*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(128,128,128,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','万kWh');
- Node58.a('node.textalign','center');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node58.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"center",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 13.3333*_ratio.ratioY,Node59width = 110*_ratio.ratioX, Node59height = 26*_ratio.ratioY;
- (function () {
- if (Node59align === 'left') {
- Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
- Node59textWidth = Node59width;
- Node59lineStart = 1;
- } else if (Node59align === 'right') {
- Node59textStart = 0;
- Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
- Node59lineStart = (Node59width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('月性能损失电量', ' '+ Node59fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "微软雅黑"'))
- Node59.setPosition(816*ratio.ratioX, 150*ratio.ratioY);
- Node59.setWidth(Node59width);
- Node59.setHeight(Node59height);
- Node59._nodeType = 'text';
- Node59._disallowEvert = true;
- Node59.setRotation(0*Math.PI/180);
- Node59.a('node.width', Node59width);
- Node59.a('node.height', Node59height);
- Node59.a('node.rect', [0, 0, Node59width, Node59height]);
- Node59.a('node.bordercolor','rgba(0,0,0,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','月性能损失电量');
- Node59.a('node.textalign','center');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(0,0,0,1)');
- Node59.a('node.font',' '+ Node59fontSize + 'px "微软雅黑"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '月性能损失电量';
- var color=Node59.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"center",color,' '+ Node59fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'center', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 58*_ratio.ratioX, Node60height = 26*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
- Node60.setPosition(644*ratio.ratioX, 149*ratio.ratioY);
- Node60.setWidth(Node60width);
- Node60.setHeight(Node60height);
- Node60._nodeType = 'text';
- Node60._disallowEvert = true;
- Node60.setRotation(0*Math.PI/180);
- Node60.a('node.width', Node60width);
- Node60.a('node.height', Node60height);
- Node60.a('node.rect', [0, 0, Node60width, Node60height]);
- Node60.a('node.bordercolor','rgba(0,0,0,1)');
- Node60.a('node.borderwidth', 0);
- Node60.a('node.background','' || 'rgba(0,0,0,0)');
- Node60.a('node.gradient','');
- Node60.a('node.gradientcolor','');
- Node60.a('node.text','0');
- Node60.a('node.textalign','center');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(0,0,0,1)');
- Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '0';
- var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"center",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61 = new ht.Node();
- var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'center', Node61fontSize = 13.3333*_ratio.ratioY,Node61width = 59*_ratio.ratioX, Node61height = 26*_ratio.ratioY;
- (function () {
- if (Node61align === 'left') {
- Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9;
- Node61textWidth = Node61width;
- Node61lineStart = 1;
- } else if (Node61align === 'right') {
- Node61textStart = 0;
- Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2;
- Node61lineStart = (Node61width - (ht.Default.getTextSize('万kWh', ' '+ Node61fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node61align === 'center') {
- Node61textStart = -3;
- Node61textWidth = Node61width;
- Node61lineStart = Node61width - ht.Default.getTextSize('万kWh', ' '+ Node61fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "Arial"'))
- Node61.setPosition(1283*ratio.ratioX, 149*ratio.ratioY);
- Node61.setWidth(Node61width);
- Node61.setHeight(Node61height);
- Node61._nodeType = 'text';
- Node61._disallowEvert = true;
- Node61.setRotation(0*Math.PI/180);
- Node61.a('node.width', Node61width);
- Node61.a('node.height', Node61height);
- Node61.a('node.rect', [0, 0, Node61width, Node61height]);
- Node61.a('node.bordercolor','rgba(128,128,128,1)');
- Node61.a('node.borderwidth', 0);
- Node61.a('node.background','' || 'rgba(0,0,0,0)');
- Node61.a('node.gradient','');
- Node61.a('node.gradientcolor','');
- Node61.a('node.text','万kWh');
- Node61.a('node.textalign','center');
- Node61.a('node.textvAlign','middle');
- Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
- Node61.a('node.color','rgba(128,128,128,1)');
- Node61.a('node.font',' '+ Node61fontSize + 'px "Arial"');
- Node61.a('node.textvisible',true);
- Node61.a('node.linefeed',false);
- if (false) {
- Node61.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node61.a('node.text') || '万kWh';
- var color=Node61.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node61width,Node61height,13.3333*_ratio.ratioY,"center",color,' '+ Node61fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node61.a('node.underlinepoints',[Node61lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node61fontSize + 'px "Arial"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]);
- Node61.a('node.underlinevisible',false);
- Node61.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node61);
- zoomNodeList.push({
- node: Node61,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62 = new ht.Node();
- var Node62textStart, Node62textWidth, Node62lineStart, Node62align = 'center', Node62fontSize = 13.3333*_ratio.ratioY,Node62width = 110*_ratio.ratioX, Node62height = 26*_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('年受累损失电量', ' '+ Node62fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node62align === 'center') {
- Node62textStart = -3;
- Node62textWidth = Node62width;
- Node62lineStart = Node62width - ht.Default.getTextSize('年受累损失电量', ' '+ Node62fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node62.setImage(GD.getTextJSON(Node62width, Node62height, true, false, false, ' '+ Node62fontSize + 'px "微软雅黑"'))
- Node62.setPosition(1096*ratio.ratioX, 149*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','center');
- 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',' '+ Node62fontSize + 'px "微软雅黑"');
- 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,"center",color,' '+ Node62fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node62.a('node.underlinepoints',[Node62lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node62fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node62fontSize + 'px "微软雅黑"').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 = 'center', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 59*_ratio.ratioX, Node63height = 26*_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('万kWh', ' '+ Node63fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node63align === 'center') {
- Node63textStart = -3;
- Node63textWidth = Node63width;
- Node63lineStart = Node63width - ht.Default.getTextSize('万kWh', ' '+ Node63fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "Arial"'))
- Node63.setPosition(1003*ratio.ratioX, 149*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(128,128,128,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','万kWh');
- Node63.a('node.textalign','center');
- Node63.a('node.textvAlign','middle');
- Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]);
- Node63.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node63.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"center",color,' '+ Node63fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node63.a('node.underlinepoints',[Node63lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 47*_ratio.ratioX, Node64height = 38*_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('运行', 'bold '+ Node64fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node64align === 'center') {
- Node64textStart = -3;
- Node64textWidth = Node64width;
- Node64lineStart = Node64width - ht.Default.getTextSize('运行', 'bold '+ Node64fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, 'bold '+ Node64fontSize + 'px "Arial"'))
- Node64.setPosition(1511*ratio.ratioX, 51*ratio.ratioY);
- Node64.setWidth(Node64width);
- Node64.setHeight(Node64height);
- Node64._nodeType = 'text';
- Node64._disallowEvert = true;
- Node64.setRotation(0*Math.PI/180);
- Node64.a('node.width', Node64width);
- Node64.a('node.height', Node64height);
- Node64.a('node.rect', [0, 0, Node64width, Node64height]);
- Node64.a('node.bordercolor','rgba(0,0,0,1)');
- Node64.a('node.borderwidth', 0);
- Node64.a('node.background','' || 'rgba(0,0,0,0)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','');
- Node64.a('node.text','运行');
- Node64.a('node.textalign','left');
- Node64.a('node.textvAlign','middle');
- Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
- Node64.a('node.color','rgba(0,0,0,1)');
- Node64.a('node.font','bold '+ 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node64fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node64.a('node.underlinepoints',[Node64lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('运行', 'bold '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 47*_ratio.ratioX, Node65height = 38*_ratio.ratioY;
- (function () {
- if (Node65align === 'left') {
- Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
- Node65textWidth = Node65width;
- Node65lineStart = 1;
- } else if (Node65align === 'right') {
- Node65textStart = 0;
- Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
- Node65lineStart = (Node65width - (ht.Default.getTextSize('待机', 'bold '+ Node65fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node65align === 'center') {
- Node65textStart = -3;
- Node65textWidth = Node65width;
- Node65lineStart = Node65width - ht.Default.getTextSize('待机', 'bold '+ Node65fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, 'bold '+ Node65fontSize + 'px "Arial"'))
- Node65.setPosition(1649*ratio.ratioX, 51*ratio.ratioY);
- Node65.setWidth(Node65width);
- Node65.setHeight(Node65height);
- Node65._nodeType = 'text';
- Node65._disallowEvert = true;
- Node65.setRotation(0*Math.PI/180);
- Node65.a('node.width', Node65width);
- Node65.a('node.height', Node65height);
- Node65.a('node.rect', [0, 0, Node65width, Node65height]);
- Node65.a('node.bordercolor','rgba(0,0,0,1)');
- Node65.a('node.borderwidth', 0);
- Node65.a('node.background','' || 'rgba(0,0,0,0)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','');
- Node65.a('node.text','待机');
- Node65.a('node.textalign','left');
- Node65.a('node.textvAlign','middle');
- Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]);
- Node65.a('node.color','rgba(0,0,0,1)');
- Node65.a('node.font','bold '+ Node65fontSize + 'px "Arial"');
- Node65.a('node.textvisible',true);
- Node65.a('node.linefeed',false);
- if (false) {
- Node65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node65.a('node.text') || '待机';
- var color=Node65.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node65width,Node65height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node65fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node65.a('node.underlinepoints',[Node65lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('待机', 'bold '+ Node65fontSize + 'px "Arial"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]);
- Node65.a('node.underlinevisible',false);
- Node65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node65);
- zoomNodeList.push({
- node: Node65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66 = new ht.Node();
- var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'left', Node66fontSize = 13.3333*_ratio.ratioY,Node66width = 47*_ratio.ratioX, Node66height = 38*_ratio.ratioY;
- (function () {
- if (Node66align === 'left') {
- Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9;
- Node66textWidth = Node66width;
- Node66lineStart = 1;
- } else if (Node66align === 'right') {
- Node66textStart = 0;
- Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2;
- Node66lineStart = (Node66width - (ht.Default.getTextSize('故障', 'bold '+ Node66fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node66align === 'center') {
- Node66textStart = -3;
- Node66textWidth = Node66width;
- Node66lineStart = Node66width - ht.Default.getTextSize('故障', 'bold '+ Node66fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, 'bold '+ Node66fontSize + 'px "Arial"'))
- Node66.setPosition(1787*ratio.ratioX, 51*ratio.ratioY);
- Node66.setWidth(Node66width);
- Node66.setHeight(Node66height);
- Node66._nodeType = 'text';
- Node66._disallowEvert = true;
- Node66.setRotation(0*Math.PI/180);
- Node66.a('node.width', Node66width);
- Node66.a('node.height', Node66height);
- Node66.a('node.rect', [0, 0, Node66width, Node66height]);
- Node66.a('node.bordercolor','rgba(0,0,0,1)');
- Node66.a('node.borderwidth', 0);
- Node66.a('node.background','' || 'rgba(0,0,0,0)');
- Node66.a('node.gradient','');
- Node66.a('node.gradientcolor','');
- Node66.a('node.text','故障');
- Node66.a('node.textalign','left');
- Node66.a('node.textvAlign','middle');
- Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]);
- Node66.a('node.color','rgba(0,0,0,1)');
- Node66.a('node.font','bold '+ Node66fontSize + 'px "Arial"');
- Node66.a('node.textvisible',true);
- Node66.a('node.linefeed',false);
- if (false) {
- Node66.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node66.a('node.text') || '故障';
- var color=Node66.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node66fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node66.a('node.underlinepoints',[Node66lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('故障', 'bold '+ Node66fontSize + 'px "Arial"').width + 6, (Node66height - Node66fontSize) * 0.5*_ratio.ratioY + Node66fontSize + 2 ]);
- Node66.a('node.underlinevisible',false);
- Node66.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node66);
- zoomNodeList.push({
- node: Node66,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67 = new ht.Node();
- var Node67textStart, Node67textWidth, Node67lineStart, Node67align = 'center', Node67fontSize = 14.66663*_ratio.ratioY,Node67width = 59*_ratio.ratioX, Node67height = 26*_ratio.ratioY;
- (function () {
- if (Node67align === 'left') {
- Node67textStart = Node67fontSize * 0.2 > 2 ? Node67fontSize * 0.2 - 4 : Node67fontSize * 0.2 - 9;
- Node67textWidth = Node67width;
- Node67lineStart = 1;
- } else if (Node67align === 'right') {
- Node67textStart = 0;
- Node67textWidth =Node67fontSize <= 8 ? Node67width + Node67fontSize * 0.2 + 6 : Node67width - Node67fontSize * 0.2;
- Node67lineStart = (Node67width - (ht.Default.getTextSize('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(1202*ratio.ratioX, 149*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','center');
- Node67.a('node.textvAlign','middle');
- Node67.a('node.textrect', [Node67textStart, 0, Node67textWidth, Node67height]);
- Node67.a('node.color','rgba(0,0,0,1)');
- Node67.a('node.font',' '+ Node67fontSize + 'px "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,14.66663*0.5*_ratio.ratioY,Node67width,Node67height,14.66663*_ratio.ratioY,"center",color,' '+ Node67fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node67.a('node.underlinepoints',[Node67lineStart, (26 - 14.66663) * 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 = 59*_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('0', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node68align === 'center') {
- Node68textStart = -3;
- Node68textWidth = Node68width;
- Node68lineStart = Node68width - ht.Default.getTextSize('0', ' '+ Node68fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"'))
- Node68.setPosition(922*ratio.ratioX, 149*ratio.ratioY);
- Node68.setWidth(Node68width);
- Node68.setHeight(Node68height);
- Node68._nodeType = 'text';
- Node68._disallowEvert = true;
- Node68.setRotation(0*Math.PI/180);
- Node68.a('node.width', Node68width);
- Node68.a('node.height', Node68height);
- Node68.a('node.rect', [0, 0, Node68width, Node68height]);
- Node68.a('node.bordercolor','rgba(0,0,0,1)');
- Node68.a('node.borderwidth', 0);
- Node68.a('node.background','' || 'rgba(0,0,0,0)');
- Node68.a('node.gradient','');
- Node68.a('node.gradientcolor','');
- Node68.a('node.text','0');
- Node68.a('node.textalign','center');
- Node68.a('node.textvAlign','middle');
- Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]);
- Node68.a('node.color','rgba(0,0,0,1)');
- Node68.a('node.font',' '+ Node68fontSize + 'px "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') || '0';
- var color=Node68.a('node.color') || 'rgba(0,0,0,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('0', ' '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69type = 'rect';
- var Node69 = new ht.Node(),
- Node69BorderWidth = 1*2;
- if (Node69type === 'arc') {
- Node69BorderWidth *= 1;
- }
- Node69.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node69.setPosition(1825*ratio.ratioX, 69*ratio.ratioY);
- Node69.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node69.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node69.a('node.width', 127*_ratio.ratioX);
- Node69.a('node.height', 60.81538*_ratio.ratioY);
- Node69.a('node.type', Node69type);
- Node69.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node69.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node69.a('node.gradientcolor', '');
- Node69.a('node.gradient', '');
- Node69.a('node.borderwidth', Node69BorderWidth);
- Node69.a('node.color', 'rgba(128,128,128,1)');
- Node69.a('node.fillrect', [0,0,0,0]);
- Node69.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradient', '');
- if (Node69type !== 'rect') {
- Node69.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node69.a('node.arcTo', parseFloat('@arcTo@'));
- Node69.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node69type === 'arc') {
- Node69.a('node.arcOval', true);
- }
- Node69.setRotation(0*Math.PI/180);
- Node69.borderWidth = Node69BorderWidth;
- Node69.borderFillwidth = Node69BorderWidth;
- dataModel.add(Node69);
- Node69._nodename = 'Node69'
- Node69._nodeType = 'rect';
- zoomNodeList.push({
- node: Node69,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node69, Node69.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70 = new ht.Node();
- var Node70textStart, Node70textWidth, Node70lineStart, Node70align = 'left', Node70fontSize = 11.99997*_ratio.ratioY,Node70width = 53*_ratio.ratioX, Node70height = 20*_ratio.ratioY;
- (function () {
- if (Node70align === 'left') {
- Node70textStart = Node70fontSize * 0.2 > 2 ? Node70fontSize * 0.2 - 4 : Node70fontSize * 0.2 - 9;
- Node70textWidth = Node70width;
- Node70lineStart = 1;
- } else if (Node70align === 'right') {
- Node70textStart = 0;
- Node70textWidth =Node70fontSize <= 8 ? Node70width + Node70fontSize * 0.2 + 6 : Node70width - Node70fontSize * 0.2;
- Node70lineStart = (Node70width - (ht.Default.getTextSize('风', 'bold '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node70align === 'center') {
- Node70textStart = -3;
- Node70textWidth = Node70width;
- Node70lineStart = Node70width - ht.Default.getTextSize('风', 'bold '+ Node70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, 'bold '+ Node70fontSize + 'px "Arial"'))
- Node70.setPosition(1348*ratio.ratioX, 65*ratio.ratioY);
- Node70.setWidth(Node70width);
- Node70.setHeight(Node70height);
- Node70._nodeType = 'text';
- Node70._disallowEvert = true;
- Node70.setRotation(0*Math.PI/180);
- Node70.a('node.width', Node70width);
- Node70.a('node.height', Node70height);
- Node70.a('node.rect', [0, 0, Node70width, Node70height]);
- Node70.a('node.bordercolor','rgba(255,255,255,1)');
- Node70.a('node.borderwidth', 0);
- Node70.a('node.background','' || 'rgba(0,0,0,0)');
- Node70.a('node.gradient','');
- Node70.a('node.gradientcolor','');
- Node70.a('node.text','风');
- Node70.a('node.textalign','left');
- Node70.a('node.textvAlign','middle');
- Node70.a('node.textrect', [Node70textStart, 0, Node70textWidth, Node70height]);
- Node70.a('node.color','rgba(255,255,255,1)');
- Node70.a('node.font','bold '+ Node70fontSize + 'px "Arial"');
- Node70.a('node.textvisible',true);
- Node70.a('node.linefeed',false);
- if (false) {
- Node70.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node70.a('node.text') || '风';
- var color=Node70.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node70width,Node70height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node70fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node70.a('node.underlinepoints',[Node70lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
- Node70.a('node.underlinevisible',false);
- Node70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node70);
- zoomNodeList.push({
- node: Node70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 59*_ratio.ratioX, Node71height = 25*_ratio.ratioY;
- (function () {
- if (Node71align === 'left') {
- Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
- Node71textWidth = Node71width;
- Node71lineStart = 1;
- } else if (Node71align === 'right') {
- Node71textStart = 0;
- Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
- Node71lineStart = (Node71width - (ht.Default.getTextSize('接入', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('接入', ' '+ Node71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
- Node71.setPosition(1379*ratio.ratioX, 53*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(105,105,105,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(105,105,105,1)');
- Node71.a('node.font',' '+ 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(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('接入', ' '+ 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 = 'center', Node72fontSize = 26.6666*_ratio.ratioY,Node72width = 87*_ratio.ratioX, Node72height = 36*_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(1411*ratio.ratioX, 98*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','center');
- 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,26.6666*0.5*_ratio.ratioY,Node72width,Node72height,26.6666*_ratio.ratioY,"center",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (36 - 26.6666) * 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 = 'center', Node73fontSize = 14.66663*_ratio.ratioY,Node73width = 67*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node73align === 'center') {
- Node73textStart = -3;
- Node73textWidth = Node73width;
- Node73lineStart = Node73width - ht.Default.getTextSize('台', ' '+ Node73fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, ' '+ Node73fontSize + 'px "Arial"'))
- Node73.setPosition(1591*ratio.ratioX, 145*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(105,105,105,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','center');
- Node73.a('node.textvAlign','middle');
- Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]);
- Node73.a('node.color','rgba(105,105,105,1)');
- Node73.a('node.font',' '+ Node73fontSize + 'px "Arial"');
- 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(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node73width,Node73height,14.66663*_ratio.ratioY,"center",color,' '+ Node73fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node73.a('node.underlinepoints',[Node73lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node73fontSize + 'px "Arial"').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 = 47*_ratio.ratioX, Node74height = 38*_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('维护', 'bold '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('维护', 'bold '+ Node74fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, 'bold '+ Node74fontSize + 'px "Arial"'))
- Node74.setPosition(1511*ratio.ratioX, 112*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','bold '+ Node74fontSize + 'px "Arial"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '维护';
- 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,'bold '+ Node74fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75 = new ht.Node();
- var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'left', Node75fontSize = 15.99996*_ratio.ratioY,Node75width = 29*_ratio.ratioX, Node75height = 25*_ratio.ratioY;
- (function () {
- if (Node75align === 'left') {
- Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9;
- Node75textWidth = Node75width;
- Node75lineStart = 1;
- } else if (Node75align === 'right') {
- Node75textStart = 0;
- Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2;
- Node75lineStart = (Node75width - (ht.Default.getTextSize('0', ' '+ Node75fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node75align === 'center') {
- Node75textStart = -3;
- Node75textWidth = Node75width;
- Node75lineStart = Node75width - ht.Default.getTextSize('0', ' '+ Node75fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, ' '+ Node75fontSize + 'px "Arial"'))
- Node75.setPosition(1512*ratio.ratioX, 144*ratio.ratioY);
- Node75.setWidth(Node75width);
- Node75.setHeight(Node75height);
- Node75._nodeType = 'text';
- Node75._disallowEvert = true;
- Node75.setRotation(0*Math.PI/180);
- Node75.a('node.width', Node75width);
- Node75.a('node.height', Node75height);
- Node75.a('node.rect', [0, 0, Node75width, Node75height]);
- Node75.a('node.bordercolor','rgba(0,0,0,1)');
- Node75.a('node.borderwidth', 0);
- Node75.a('node.background','' || 'rgba(0,0,0,0)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','');
- Node75.a('node.text','0');
- Node75.a('node.textalign','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 "Arial"');
- Node75.a('node.textvisible',true);
- Node75.a('node.linefeed',false);
- if (false) {
- Node75.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node75.a('node.text') || '0';
- var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node75width,Node75height,15.99996*_ratio.ratioY,"left",color,' '+ Node75fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node75.a('node.underlinepoints',[Node75lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node75fontSize + 'px "Arial"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]);
- Node75.a('node.underlinevisible',false);
- Node75.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node75);
- zoomNodeList.push({
- node: Node75,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76 = new ht.Node();
- var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'center', Node76fontSize = 14.66663*_ratio.ratioY,Node76width = 67*_ratio.ratioX, Node76height = 26*_ratio.ratioY;
- (function () {
- if (Node76align === 'left') {
- Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9;
- Node76textWidth = Node76width;
- Node76lineStart = 1;
- } else if (Node76align === 'right') {
- Node76textStart = 0;
- Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2;
- Node76lineStart = (Node76width - (ht.Default.getTextSize('台', ' '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node76align === 'center') {
- Node76textStart = -3;
- Node76textWidth = Node76width;
- Node76lineStart = Node76width - ht.Default.getTextSize('台', ' '+ Node76fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "Arial"'))
- Node76.setPosition(1729*ratio.ratioX, 85*ratio.ratioY);
- Node76.setWidth(Node76width);
- Node76.setHeight(Node76height);
- Node76._nodeType = 'text';
- Node76._disallowEvert = true;
- Node76.setRotation(0*Math.PI/180);
- Node76.a('node.width', Node76width);
- Node76.a('node.height', Node76height);
- Node76.a('node.rect', [0, 0, Node76width, Node76height]);
- Node76.a('node.bordercolor','rgba(105,105,105,1)');
- Node76.a('node.borderwidth', 0);
- Node76.a('node.background','' || 'rgba(0,0,0,0)');
- Node76.a('node.gradient','');
- Node76.a('node.gradientcolor','');
- Node76.a('node.text','台');
- Node76.a('node.textalign','center');
- Node76.a('node.textvAlign','middle');
- Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
- Node76.a('node.color','rgba(105,105,105,1)');
- Node76.a('node.font',' '+ Node76fontSize + 'px "Arial"');
- Node76.a('node.textvisible',true);
- Node76.a('node.linefeed',false);
- if (false) {
- Node76.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node76.a('node.text') || '台';
- var color=Node76.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node76width,Node76height,14.66663*_ratio.ratioY,"center",color,' '+ Node76fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node76fontSize + 'px "Arial"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]);
- Node76.a('node.underlinevisible',false);
- Node76.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node76);
- zoomNodeList.push({
- node: Node76,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node77;
- (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');
- Node77 = new ht.Node();
- Node77.setPosition(1618*ratio.ratioX, 69*ratio.ratioY);
- Node77.setSize(9*ratioX, 60*ratioY);
- Node77.setImage('imgimage//page_list_box_left_green.jpg');
- Node77.setRotation(0*Math.PI/180);
- Node77._zoomBy = 'Default';
- Node77._nodeType = 'image';
- Node77._disallowEvert = true;
- dataModel.add(Node77);
- })();
- _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(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node78type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node78.setPosition(1687*ratio.ratioX, 69*ratio.ratioY);
- Node78.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node78.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node78.a('node.width', 127*_ratio.ratioX);
- Node78.a('node.height', 60.81538*_ratio.ratioY);
- Node78.a('node.type', Node78type);
- Node78.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node78.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node78.a('node.gradientcolor', '');
- Node78.a('node.gradient', '');
- Node78.a('node.borderwidth', Node78BorderWidth);
- Node78.a('node.color', 'rgba(128,128,128,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 Node79 = new ht.Node();
- var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'left', Node79fontSize = 15.99996*_ratio.ratioY,Node79width = 29*_ratio.ratioX, Node79height = 25*_ratio.ratioY;
- (function () {
- if (Node79align === 'left') {
- Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9;
- Node79textWidth = Node79width;
- Node79lineStart = 1;
- } else if (Node79align === 'right') {
- Node79textStart = 0;
- Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2;
- Node79lineStart = (Node79width - (ht.Default.getTextSize('0', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('0', ' '+ Node79fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"'))
- Node79.setPosition(1650*ratio.ratioX, 84*ratio.ratioY);
- Node79.setWidth(Node79width);
- Node79.setHeight(Node79height);
- Node79._nodeType = 'text';
- Node79._disallowEvert = true;
- Node79.setRotation(0*Math.PI/180);
- Node79.a('node.width', Node79width);
- Node79.a('node.height', Node79height);
- Node79.a('node.rect', [0, 0, Node79width, Node79height]);
- Node79.a('node.bordercolor','rgba(0,0,0,1)');
- Node79.a('node.borderwidth', 0);
- Node79.a('node.background','' || 'rgba(0,0,0,0)');
- Node79.a('node.gradient','');
- Node79.a('node.gradientcolor','');
- Node79.a('node.text','0');
- Node79.a('node.textalign','left');
- Node79.a('node.textvAlign','middle');
- Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
- Node79.a('node.color','rgba(0,0,0,1)');
- Node79.a('node.font',' '+ Node79fontSize + 'px "Arial"');
- Node79.a('node.textvisible',true);
- Node79.a('node.linefeed',false);
- if (false) {
- Node79.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node79.a('node.text') || '0';
- var color=Node79.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node79width,Node79height,15.99996*_ratio.ratioY,"left",color,' '+ Node79fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node79fontSize + 'px "Arial"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]);
- Node79.a('node.underlinevisible',false);
- Node79.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node79);
- zoomNodeList.push({
- node: Node79,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80 = new ht.Node();
- var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 47*_ratio.ratioX, Node80height = 38*_ratio.ratioY;
- (function () {
- if (Node80align === 'left') {
- Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
- Node80textWidth = Node80width;
- Node80lineStart = 1;
- } else if (Node80align === 'right') {
- Node80textStart = 0;
- Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
- Node80lineStart = (Node80width - (ht.Default.getTextSize('限电', 'bold '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('限电', 'bold '+ Node80fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, 'bold '+ Node80fontSize + 'px "Arial"'))
- Node80.setPosition(1649*ratio.ratioX, 113*ratio.ratioY);
- Node80.setWidth(Node80width);
- Node80.setHeight(Node80height);
- Node80._nodeType = 'text';
- Node80._disallowEvert = true;
- Node80.setRotation(0*Math.PI/180);
- Node80.a('node.width', Node80width);
- Node80.a('node.height', Node80height);
- Node80.a('node.rect', [0, 0, Node80width, Node80height]);
- Node80.a('node.bordercolor','rgba(0,0,0,1)');
- Node80.a('node.borderwidth', 0);
- Node80.a('node.background','' || 'rgba(0,0,0,0)');
- Node80.a('node.gradient','');
- Node80.a('node.gradientcolor','');
- Node80.a('node.text','限电');
- Node80.a('node.textalign','left');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(0,0,0,1)');
- Node80.a('node.font','bold '+ Node80fontSize + 'px "Arial"');
- Node80.a('node.textvisible',true);
- Node80.a('node.linefeed',false);
- if (false) {
- Node80.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node80.a('node.text') || '限电';
- var color=Node80.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node80fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
- Node80.a('node.underlinevisible',false);
- Node80.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node80);
- zoomNodeList.push({
- node: Node80,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81 = new ht.Node();
- var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'left', Node81fontSize = 15.99996*_ratio.ratioY,Node81width = 29*_ratio.ratioX, Node81height = 25*_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('0', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node81align === 'center') {
- Node81textStart = -3;
- Node81textWidth = Node81width;
- Node81lineStart = Node81width - ht.Default.getTextSize('0', ' '+ Node81fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"'))
- Node81.setPosition(1650*ratio.ratioX, 145*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(0,0,0,0)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','');
- Node81.a('node.text','0');
- Node81.a('node.textalign','left');
- 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 "Arial"');
- 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') || '0';
- var color=Node81.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node81width,Node81height,15.99996*_ratio.ratioY,"left",color,' '+ Node81fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node81.a('node.underlinepoints',[Node81lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node81fontSize + 'px "Arial"').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 Node82type = 'rect';
- var Node82 = new ht.Node(),
- Node82BorderWidth = 1*2;
- if (Node82type === 'arc') {
- Node82BorderWidth *= 1;
- }
- Node82.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node82type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node82.setPosition(251*ratio.ratioX, 99*ratio.ratioY);
- Node82.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node82.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node82.a('node.width', 121*_ratio.ratioX);
- Node82.a('node.height', 24.33138*_ratio.ratioY);
- Node82.a('node.type', Node82type);
- Node82.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node82.a('node.background', 'rgba(240,240,240,1)');
- Node82.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node82.a('node.gradient', '');
- Node82.a('node.borderwidth', Node82BorderWidth);
- Node82.a('node.color', 'rgba(224,224,224,1)');
- Node82.a('node.fillrect', [0,0,0,0]);
- Node82.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradient', '');
- if (Node82type !== 'rect') {
- Node82.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node82.a('node.arcTo', parseFloat('@arcTo@'));
- Node82.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node82type === 'arc') {
- Node82.a('node.arcOval', true);
- }
- Node82.setRotation(0*Math.PI/180);
- Node82.borderWidth = Node82BorderWidth;
- Node82.borderFillwidth = Node82BorderWidth;
- dataModel.add(Node82);
- Node82._nodename = 'Node82'
- Node82._nodeType = 'rect';
- zoomNodeList.push({
- node: Node82,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node82, Node82.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83type = 'rect';
- var Node83 = new ht.Node(),
- Node83BorderWidth = 1*2;
- if (Node83type === 'arc') {
- Node83BorderWidth *= 1;
- }
- Node83.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node83.setPosition(251*ratio.ratioX, 75*ratio.ratioY);
- Node83.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node83.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node83.a('node.width', 121*_ratio.ratioX);
- Node83.a('node.height', 24.33138*_ratio.ratioY);
- Node83.a('node.type', Node83type);
- Node83.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node83.a('node.background', 'rgba(240,240,240,1)');
- Node83.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node83.a('node.gradient', '');
- Node83.a('node.borderwidth', Node83BorderWidth);
- Node83.a('node.color', 'rgba(224,224,224,1)');
- Node83.a('node.fillrect', [0,0,0,0]);
- Node83.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradient', '');
- if (Node83type !== 'rect') {
- Node83.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node83.a('node.arcTo', parseFloat('@arcTo@'));
- Node83.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node83type === 'arc') {
- Node83.a('node.arcOval', true);
- }
- Node83.setRotation(0*Math.PI/180);
- Node83.borderWidth = Node83BorderWidth;
- Node83.borderFillwidth = Node83BorderWidth;
- dataModel.add(Node83);
- Node83._nodename = 'Node83'
- Node83._nodeType = 'rect';
- zoomNodeList.push({
- node: Node83,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node83, Node83.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84type = 'rect';
- var Node84 = new ht.Node(),
- Node84BorderWidth = 1*2;
- if (Node84type === 'arc') {
- Node84BorderWidth *= 1;
- }
- Node84.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node84type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node84.setPosition(251*ratio.ratioX, 124*ratio.ratioY);
- Node84.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node84.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node84.a('node.width', 121*_ratio.ratioX);
- Node84.a('node.height', 24.33136*_ratio.ratioY);
- Node84.a('node.type', Node84type);
- Node84.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node84.a('node.background', 'rgba(240,240,240,1)');
- Node84.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node84.a('node.gradient', '');
- Node84.a('node.borderwidth', Node84BorderWidth);
- Node84.a('node.color', 'rgba(224,224,224,1)');
- Node84.a('node.fillrect', [0,0,0,0]);
- Node84.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradient', '');
- if (Node84type !== 'rect') {
- Node84.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node84.a('node.arcTo', parseFloat('@arcTo@'));
- Node84.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node84type === 'arc') {
- Node84.a('node.arcOval', true);
- }
- Node84.setRotation(0*Math.PI/180);
- Node84.borderWidth = Node84BorderWidth;
- Node84.borderFillwidth = Node84BorderWidth;
- dataModel.add(Node84);
- Node84._nodename = 'Node84'
- Node84._nodeType = 'rect';
- zoomNodeList.push({
- node: Node84,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node84, Node84.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85type = 'rect';
- var Node85 = new ht.Node(),
- Node85BorderWidth = 1*2;
- if (Node85type === 'arc') {
- Node85BorderWidth *= 1;
- }
- Node85.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node85type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node85.setPosition(251*ratio.ratioX, 51*ratio.ratioY);
- Node85.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node85.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node85.a('node.width', 121*_ratio.ratioX);
- Node85.a('node.height', 24.33136*_ratio.ratioY);
- Node85.a('node.type', Node85type);
- Node85.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node85.a('node.background', 'rgba(240,240,240,1)');
- Node85.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node85.a('node.gradient', '');
- Node85.a('node.borderwidth', Node85BorderWidth);
- Node85.a('node.color', 'rgba(224,224,224,1)');
- Node85.a('node.fillrect', [0,0,0,0]);
- Node85.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradient', '');
- if (Node85type !== 'rect') {
- Node85.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node85.a('node.arcTo', parseFloat('@arcTo@'));
- Node85.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node85type === 'arc') {
- Node85.a('node.arcOval', true);
- }
- Node85.setRotation(0*Math.PI/180);
- Node85.borderWidth = Node85BorderWidth;
- Node85.borderFillwidth = Node85BorderWidth;
- dataModel.add(Node85);
- Node85._nodename = 'Node85'
- Node85._nodeType = 'rect';
- zoomNodeList.push({
- node: Node85,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node85, Node85.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 61*_ratio.ratioX, Node86height = 26*_ratio.ratioY;
- (function () {
- if (Node86align === 'left') {
- Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
- Node86textWidth = Node86width;
- Node86lineStart = 1;
- } else if (Node86align === 'right') {
- Node86textStart = 0;
- Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
- Node86lineStart = (Node86width - (ht.Default.getTextSize('功率', ' '+ Node86fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('功率', ' '+ Node86fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "微软雅黑"'))
- Node86.setPosition(225*ratio.ratioX, 77*ratio.ratioY);
- Node86.setWidth(Node86width);
- Node86.setHeight(Node86height);
- Node86._nodeType = 'text';
- Node86._disallowEvert = true;
- Node86.setRotation(0*Math.PI/180);
- Node86.a('node.width', Node86width);
- Node86.a('node.height', Node86height);
- Node86.a('node.rect', [0, 0, Node86width, Node86height]);
- Node86.a('node.bordercolor','rgba(0,0,0,1)');
- Node86.a('node.borderwidth', 0);
- Node86.a('node.background','' || 'rgba(0,0,0,0)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','');
- Node86.a('node.text','功率');
- Node86.a('node.textalign','left');
- Node86.a('node.textvAlign','middle');
- Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
- Node86.a('node.color','rgba(0,0,0,1)');
- Node86.a('node.font',' '+ Node86fontSize + 'px "微软雅黑"');
- Node86.a('node.textvisible',true);
- Node86.a('node.linefeed',false);
- if (false) {
- Node86.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node86.a('node.text') || '功率';
- var color=Node86.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,' '+ Node86fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node86fontSize + 'px "微软雅黑"').width + 6, (Node86height - Node86fontSize) * 0.5*_ratio.ratioY + Node86fontSize + 2 ]);
- Node86.a('node.underlinevisible',false);
- Node86.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node86);
- zoomNodeList.push({
- node: Node86,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.Node();
- var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'left', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 61*_ratio.ratioX, Node87height = 26*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('风速', ' '+ Node87fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('风速', ' '+ Node87fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "微软雅黑"'))
- Node87.setPosition(225*ratio.ratioX, 101*ratio.ratioY);
- Node87.setWidth(Node87width);
- Node87.setHeight(Node87height);
- Node87._nodeType = 'text';
- Node87._disallowEvert = true;
- Node87.setRotation(0*Math.PI/180);
- Node87.a('node.width', Node87width);
- Node87.a('node.height', Node87height);
- Node87.a('node.rect', [0, 0, Node87width, Node87height]);
- Node87.a('node.bordercolor','rgba(0,0,0,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','风速');
- Node87.a('node.textalign','left');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(0,0,0,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "微软雅黑"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || '风速';
- var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,' '+ Node87fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node87fontSize + 'px "微软雅黑"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
- Node87.a('node.underlinevisible',false);
- Node87.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node87);
- zoomNodeList.push({
- node: Node87,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'left', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 77*_ratio.ratioX, Node88height = 26*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('发电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('发电量', ' '+ Node88fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "微软雅黑"'))
- Node88.setPosition(231*ratio.ratioX, 126*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(0,0,0,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','发电量');
- Node88.a('node.textalign','left');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(0,0,0,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "微软雅黑"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || '发电量';
- var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,' '+ Node88fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89type = 'rect';
- var Node89 = new ht.Node(),
- Node89BorderWidth = 1*2;
- if (Node89type === 'arc') {
- Node89BorderWidth *= 1;
- }
- Node89.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node89type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node89.setPosition(535*ratio.ratioX, 99*ratio.ratioY);
- Node89.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node89.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node89.a('node.width', 121*_ratio.ratioX);
- Node89.a('node.height', 24.33138*_ratio.ratioY);
- Node89.a('node.type', Node89type);
- Node89.a('node.rect', [0, 0, 121*_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 Node90type = 'rect';
- var Node90 = new ht.Node(),
- Node90BorderWidth = 1*2;
- if (Node90type === 'arc') {
- Node90BorderWidth *= 1;
- }
- Node90.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node90type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node90.setPosition(535*ratio.ratioX, 75*ratio.ratioY);
- Node90.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node90.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node90.a('node.width', 121*_ratio.ratioX);
- Node90.a('node.height', 24.33138*_ratio.ratioY);
- Node90.a('node.type', Node90type);
- Node90.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node90.a('node.background', 'rgba(240,240,240,1)');
- Node90.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node90.a('node.gradient', '');
- Node90.a('node.borderwidth', Node90BorderWidth);
- Node90.a('node.color', 'rgba(224,224,224,1)');
- Node90.a('node.fillrect', [0,0,0,0]);
- Node90.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node90.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node90.a('node.fillgradient', '');
- if (Node90type !== 'rect') {
- Node90.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node90.a('node.arcTo', parseFloat('@arcTo@'));
- Node90.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node90type === 'arc') {
- Node90.a('node.arcOval', true);
- }
- Node90.setRotation(0*Math.PI/180);
- Node90.borderWidth = Node90BorderWidth;
- Node90.borderFillwidth = Node90BorderWidth;
- dataModel.add(Node90);
- Node90._nodename = 'Node90'
- Node90._nodeType = 'rect';
- zoomNodeList.push({
- node: Node90,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node90, Node90.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91type = 'rect';
- var Node91 = new ht.Node(),
- Node91BorderWidth = 1*2;
- if (Node91type === 'arc') {
- Node91BorderWidth *= 1;
- }
- Node91.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node91type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node91.setPosition(535*ratio.ratioX, 124*ratio.ratioY);
- Node91.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node91.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node91.a('node.width', 121*_ratio.ratioX);
- Node91.a('node.height', 24.33136*_ratio.ratioY);
- Node91.a('node.type', Node91type);
- Node91.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node91.a('node.background', 'rgba(240,240,240,1)');
- Node91.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node91.a('node.gradient', '');
- Node91.a('node.borderwidth', Node91BorderWidth);
- Node91.a('node.color', 'rgba(224,224,224,1)');
- Node91.a('node.fillrect', [0,0,0,0]);
- Node91.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node91.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node91.a('node.fillgradient', '');
- if (Node91type !== 'rect') {
- Node91.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node91.a('node.arcTo', parseFloat('@arcTo@'));
- Node91.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node91type === 'arc') {
- Node91.a('node.arcOval', true);
- }
- Node91.setRotation(0*Math.PI/180);
- Node91.borderWidth = Node91BorderWidth;
- Node91.borderFillwidth = Node91BorderWidth;
- dataModel.add(Node91);
- Node91._nodename = 'Node91'
- Node91._nodeType = 'rect';
- zoomNodeList.push({
- node: Node91,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node91, Node91.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92type = 'rect';
- var Node92 = new ht.Node(),
- Node92BorderWidth = 1*2;
- if (Node92type === 'arc') {
- Node92BorderWidth *= 1;
- }
- Node92.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node92.setPosition(535*ratio.ratioX, 51*ratio.ratioY);
- Node92.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node92.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node92.a('node.width', 121*_ratio.ratioX);
- Node92.a('node.height', 24.33136*_ratio.ratioY);
- Node92.a('node.type', Node92type);
- Node92.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node92.a('node.background', 'rgba(240,240,240,1)');
- Node92.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node92.a('node.gradient', '');
- Node92.a('node.borderwidth', Node92BorderWidth);
- Node92.a('node.color', 'rgba(224,224,224,1)');
- Node92.a('node.fillrect', [0,0,0,0]);
- Node92.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradient', '');
- if (Node92type !== 'rect') {
- Node92.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node92.a('node.arcTo', parseFloat('@arcTo@'));
- Node92.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node92type === 'arc') {
- Node92.a('node.arcOval', true);
- }
- Node92.setRotation(0*Math.PI/180);
- Node92.borderWidth = Node92BorderWidth;
- Node92.borderFillwidth = Node92BorderWidth;
- dataModel.add(Node92);
- Node92._nodename = 'Node92'
- Node92._nodeType = 'rect';
- zoomNodeList.push({
- node: Node92,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node92, Node92.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'center', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 113*_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(535*ratio.ratioX, 53*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(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','rgba(255,255,255,0)');
- Node93.a('node.text','日维护损失电量');
- Node93.a('node.textalign','center');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(0,0,0,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "微软雅黑"');
- Node93.a('node.textvisible',true);
- Node93.a('node.linefeed',false);
- if (false) {
- Node93.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node93.a('node.text') || '日维护损失电量';
- var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"center",color,' '+ Node93fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node93fontSize + 'px "微软雅黑"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
- Node93.a('node.underlinevisible',false);
- Node93.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node93);
- zoomNodeList.push({
- node: Node93,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94 = new ht.Node();
- var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'center', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 113*_ratio.ratioX, Node94height = 26*_ratio.ratioY;
- (function () {
- if (Node94align === 'left') {
- Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9;
- Node94textWidth = Node94width;
- Node94lineStart = 1;
- } else if (Node94align === 'right') {
- Node94textStart = 0;
- Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2;
- Node94lineStart = (Node94width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node94fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node94align === 'center') {
- Node94textStart = -3;
- Node94textWidth = Node94width;
- Node94lineStart = Node94width - ht.Default.getTextSize('日故障损失电量', ' '+ Node94fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "微软雅黑"'))
- Node94.setPosition(536*ratio.ratioX, 77*ratio.ratioY);
- Node94.setWidth(Node94width);
- Node94.setHeight(Node94height);
- Node94._nodeType = 'text';
- Node94._disallowEvert = true;
- Node94.setRotation(0*Math.PI/180);
- Node94.a('node.width', Node94width);
- Node94.a('node.height', Node94height);
- Node94.a('node.rect', [0, 0, Node94width, Node94height]);
- Node94.a('node.bordercolor','rgba(0,0,0,1)');
- Node94.a('node.borderwidth', 0);
- Node94.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node94.a('node.gradient','');
- Node94.a('node.gradientcolor','rgba(255,255,255,0)');
- Node94.a('node.text','日故障损失电量');
- Node94.a('node.textalign','center');
- Node94.a('node.textvAlign','middle');
- Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
- Node94.a('node.color','rgba(0,0,0,1)');
- Node94.a('node.font',' '+ Node94fontSize + 'px "微软雅黑"');
- Node94.a('node.textvisible',true);
- Node94.a('node.linefeed',false);
- if (false) {
- Node94.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node94.a('node.text') || '日故障损失电量';
- var color=Node94.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"center",color,' '+ Node94fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node94fontSize + 'px "微软雅黑"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
- Node94.a('node.underlinevisible',false);
- Node94.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node94);
- zoomNodeList.push({
- node: Node94,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95 = new ht.Node();
- var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'center', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 113*_ratio.ratioX, Node95height = 26*_ratio.ratioY;
- (function () {
- if (Node95align === 'left') {
- Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
- Node95textWidth = Node95width;
- Node95lineStart = 1;
- } else if (Node95align === 'right') {
- Node95textStart = 0;
- Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
- Node95lineStart = (Node95width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node95fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node95align === 'center') {
- Node95textStart = -3;
- Node95textWidth = Node95width;
- Node95lineStart = Node95width - ht.Default.getTextSize('日限电损失电量', ' '+ Node95fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, ' '+ Node95fontSize + 'px "微软雅黑"'))
- Node95.setPosition(536*ratio.ratioX, 102*ratio.ratioY);
- Node95.setWidth(Node95width);
- Node95.setHeight(Node95height);
- Node95._nodeType = 'text';
- Node95._disallowEvert = true;
- Node95.setRotation(0*Math.PI/180);
- Node95.a('node.width', Node95width);
- Node95.a('node.height', Node95height);
- Node95.a('node.rect', [0, 0, Node95width, Node95height]);
- Node95.a('node.bordercolor','rgba(0,0,0,1)');
- Node95.a('node.borderwidth', 0);
- Node95.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node95.a('node.gradient','');
- Node95.a('node.gradientcolor','rgba(255,255,255,0)');
- Node95.a('node.text','日限电损失电量');
- Node95.a('node.textalign','center');
- Node95.a('node.textvAlign','middle');
- Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]);
- Node95.a('node.color','rgba(0,0,0,1)');
- Node95.a('node.font',' '+ Node95fontSize + 'px "微软雅黑"');
- Node95.a('node.textvisible',true);
- Node95.a('node.linefeed',false);
- if (false) {
- Node95.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node95.a('node.text') || '日限电损失电量';
- var color=Node95.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"center",color,' '+ Node95fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node95.a('node.underlinepoints',[Node95lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node95fontSize + 'px "微软雅黑"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]);
- Node95.a('node.underlinevisible',false);
- Node95.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node95);
- zoomNodeList.push({
- node: Node95,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96 = new ht.Node();
- var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'center', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 113*_ratio.ratioX, Node96height = 26*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node96fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('日受累损失电量', ' '+ Node96fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "微软雅黑"'))
- Node96.setPosition(536*ratio.ratioX, 126*ratio.ratioY);
- Node96.setWidth(Node96width);
- Node96.setHeight(Node96height);
- Node96._nodeType = 'text';
- Node96._disallowEvert = true;
- Node96.setRotation(0*Math.PI/180);
- Node96.a('node.width', Node96width);
- Node96.a('node.height', Node96height);
- Node96.a('node.rect', [0, 0, Node96width, Node96height]);
- Node96.a('node.bordercolor','rgba(0,0,0,1)');
- Node96.a('node.borderwidth', 0);
- Node96.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node96.a('node.gradient','');
- Node96.a('node.gradientcolor','rgba(255,255,255,0)');
- Node96.a('node.text','日受累损失电量');
- Node96.a('node.textalign','center');
- Node96.a('node.textvAlign','middle');
- Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
- Node96.a('node.color','rgba(0,0,0,1)');
- Node96.a('node.font',' '+ Node96fontSize + 'px "微软雅黑"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '日受累损失电量';
- var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"center",color,' '+ Node96fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node96fontSize + 'px "微软雅黑"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97type = 'rect';
- var Node97 = new ht.Node(),
- Node97BorderWidth = 1*2;
- if (Node97type === 'arc') {
- Node97BorderWidth *= 1;
- }
- Node97.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node97.setPosition(816*ratio.ratioX, 99*ratio.ratioY);
- Node97.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node97.a('node.width', 117*_ratio.ratioX);
- Node97.a('node.height', 24.33138*_ratio.ratioY);
- Node97.a('node.type', Node97type);
- Node97.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node97.a('node.background', 'rgba(240,240,240,1)');
- Node97.a('node.gradientcolor', 'rgba(240,240,240,1)');
- 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(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node98.setPosition(816*ratio.ratioX, 75*ratio.ratioY);
- Node98.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node98.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node98.a('node.width', 117*_ratio.ratioX);
- Node98.a('node.height', 24.33138*_ratio.ratioY);
- Node98.a('node.type', Node98type);
- Node98.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node98.a('node.background', 'rgba(240,240,240,1)');
- Node98.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node98.a('node.gradient', '');
- Node98.a('node.borderwidth', Node98BorderWidth);
- Node98.a('node.color', 'rgba(224,224,224,1)');
- Node98.a('node.fillrect', [0,0,0,0]);
- Node98.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node98.a('node.fillgradient', '');
- if (Node98type !== 'rect') {
- Node98.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node98.a('node.arcTo', parseFloat('@arcTo@'));
- Node98.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node98type === 'arc') {
- Node98.a('node.arcOval', true);
- }
- Node98.setRotation(0*Math.PI/180);
- Node98.borderWidth = Node98BorderWidth;
- Node98.borderFillwidth = Node98BorderWidth;
- dataModel.add(Node98);
- Node98._nodename = 'Node98'
- Node98._nodeType = 'rect';
- zoomNodeList.push({
- node: Node98,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node98, Node98.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99type = 'rect';
- var Node99 = new ht.Node(),
- Node99BorderWidth = 1*2;
- if (Node99type === 'arc') {
- Node99BorderWidth *= 1;
- }
- Node99.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node99.setPosition(816*ratio.ratioX, 124*ratio.ratioY);
- Node99.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node99.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node99.a('node.width', 117*_ratio.ratioX);
- Node99.a('node.height', 24.33136*_ratio.ratioY);
- Node99.a('node.type', Node99type);
- Node99.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node99.a('node.background', 'rgba(240,240,240,1)');
- Node99.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node99.a('node.gradient', '');
- Node99.a('node.borderwidth', Node99BorderWidth);
- Node99.a('node.color', 'rgba(224,224,224,1)');
- Node99.a('node.fillrect', [0,0,0,0]);
- Node99.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradient', '');
- if (Node99type !== 'rect') {
- Node99.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node99.a('node.arcTo', parseFloat('@arcTo@'));
- Node99.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node99type === 'arc') {
- Node99.a('node.arcOval', true);
- }
- Node99.setRotation(0*Math.PI/180);
- Node99.borderWidth = Node99BorderWidth;
- Node99.borderFillwidth = Node99BorderWidth;
- dataModel.add(Node99);
- Node99._nodename = 'Node99'
- Node99._nodeType = 'rect';
- zoomNodeList.push({
- node: Node99,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node99, Node99.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100type = 'rect';
- var Node100 = new ht.Node(),
- Node100BorderWidth = 1*2;
- if (Node100type === 'arc') {
- Node100BorderWidth *= 1;
- }
- Node100.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node100type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node100.setPosition(816*ratio.ratioX, 51*ratio.ratioY);
- Node100.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node100.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node100.a('node.width', 117*_ratio.ratioX);
- Node100.a('node.height', 24.33136*_ratio.ratioY);
- Node100.a('node.type', Node100type);
- Node100.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node100.a('node.background', 'rgba(240,240,240,1)');
- Node100.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node100.a('node.gradient', '');
- Node100.a('node.borderwidth', Node100BorderWidth);
- Node100.a('node.color', 'rgba(224,224,224,1)');
- Node100.a('node.fillrect', [0,0,0,0]);
- Node100.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node100.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node100.a('node.fillgradient', '');
- if (Node100type !== 'rect') {
- Node100.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node100.a('node.arcTo', parseFloat('@arcTo@'));
- Node100.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node100type === 'arc') {
- Node100.a('node.arcOval', true);
- }
- Node100.setRotation(0*Math.PI/180);
- Node100.borderWidth = Node100BorderWidth;
- Node100.borderFillwidth = Node100BorderWidth;
- dataModel.add(Node100);
- Node100._nodename = 'Node100'
- Node100._nodeType = 'rect';
- zoomNodeList.push({
- node: Node100,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node100, Node100.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'center', Node101fontSize = 13.3333*_ratio.ratioY,Node101width = 110*_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('月维护损失电量', ' '+ Node101fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('月维护损失电量', ' '+ Node101fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "微软雅黑"'))
- Node101.setPosition(816*ratio.ratioX, 53*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(0,0,0,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','月维护损失电量');
- 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 "微软雅黑"');
- 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') || '月维护损失电量';
- var color=Node101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node101width,Node101height,13.3333*_ratio.ratioY,"center",color,' '+ Node101fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node101fontSize + 'px "微软雅黑"').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 = 13.3333*_ratio.ratioY,Node102width = 110*_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('月故障损失电量', ' '+ Node102fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('月故障损失电量', ' '+ Node102fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "微软雅黑"'))
- Node102.setPosition(816*ratio.ratioX, 77*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(0,0,0,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','月故障损失电量');
- 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 "微软雅黑"');
- 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') || '月故障损失电量';
- var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"center",color,' '+ Node102fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node102fontSize + 'px "微软雅黑"').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 = 13.3333*_ratio.ratioY,Node103width = 110*_ratio.ratioX, Node103height = 26*_ratio.ratioY;
- (function () {
- if (Node103align === 'left') {
- Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
- Node103textWidth = Node103width;
- Node103lineStart = 1;
- } else if (Node103align === 'right') {
- Node103textStart = 0;
- Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
- Node103lineStart = (Node103width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('月限电损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "微软雅黑"'))
- Node103.setPosition(816*ratio.ratioX, 102*ratio.ratioY);
- Node103.setWidth(Node103width);
- Node103.setHeight(Node103height);
- Node103._nodeType = 'text';
- Node103._disallowEvert = true;
- Node103.setRotation(0*Math.PI/180);
- Node103.a('node.width', Node103width);
- Node103.a('node.height', Node103height);
- Node103.a('node.rect', [0, 0, Node103width, Node103height]);
- Node103.a('node.bordercolor','rgba(0,0,0,1)');
- Node103.a('node.borderwidth', 0);
- Node103.a('node.background','' || 'rgba(0,0,0,0)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','');
- Node103.a('node.text','月限电损失电量');
- Node103.a('node.textalign','center');
- Node103.a('node.textvAlign','middle');
- Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
- Node103.a('node.color','rgba(0,0,0,1)');
- Node103.a('node.font',' '+ Node103fontSize + 'px "微软雅黑"');
- Node103.a('node.textvisible',true);
- Node103.a('node.linefeed',false);
- if (false) {
- Node103.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node103.a('node.text') || '月限电损失电量';
- var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"center",color,' '+ Node103fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node103fontSize + 'px "微软雅黑"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
- Node103.a('node.underlinevisible',false);
- Node103.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node103);
- zoomNodeList.push({
- node: Node103,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104 = new ht.Node();
- var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'center', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 110*_ratio.ratioX, Node104height = 26*_ratio.ratioY;
- (function () {
- if (Node104align === 'left') {
- Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
- Node104textWidth = Node104width;
- Node104lineStart = 1;
- } else if (Node104align === 'right') {
- Node104textStart = 0;
- Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
- Node104lineStart = (Node104width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('月受累损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "微软雅黑"'))
- Node104.setPosition(816*ratio.ratioX, 126*ratio.ratioY);
- Node104.setWidth(Node104width);
- Node104.setHeight(Node104height);
- Node104._nodeType = 'text';
- Node104._disallowEvert = true;
- Node104.setRotation(0*Math.PI/180);
- Node104.a('node.width', Node104width);
- Node104.a('node.height', Node104height);
- Node104.a('node.rect', [0, 0, Node104width, Node104height]);
- Node104.a('node.bordercolor','rgba(0,0,0,1)');
- Node104.a('node.borderwidth', 0);
- Node104.a('node.background','' || 'rgba(0,0,0,0)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','');
- Node104.a('node.text','月受累损失电量');
- Node104.a('node.textalign','center');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(0,0,0,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "微软雅黑"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || '月受累损失电量';
- var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"center",color,' '+ Node104fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node104fontSize + 'px "微软雅黑"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
- Node104.a('node.underlinevisible',false);
- Node104.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node104);
- zoomNodeList.push({
- node: Node104,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105type = 'rect';
- var Node105 = new ht.Node(),
- Node105BorderWidth = 1*2;
- if (Node105type === 'arc') {
- Node105BorderWidth *= 1;
- }
- Node105.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node105type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node105.setPosition(922*ratio.ratioX, 51*ratio.ratioY);
- Node105.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node105.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node105.a('node.width', 95*_ratio.ratioX);
- Node105.a('node.height', 24.33136*_ratio.ratioY);
- Node105.a('node.type', Node105type);
- Node105.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node106type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node106.setPosition(922*ratio.ratioX, 75*ratio.ratioY);
- Node106.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node106.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node106.a('node.width', 95*_ratio.ratioX);
- Node106.a('node.height', 24.33138*_ratio.ratioY);
- Node106.a('node.type', Node106type);
- Node106.a('node.rect', [0, 0, 95*_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(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node107type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node107.setPosition(922*ratio.ratioX, 99*ratio.ratioY);
- Node107.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node107.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node107.a('node.width', 95*_ratio.ratioX);
- Node107.a('node.height', 24.33138*_ratio.ratioY);
- Node107.a('node.type', Node107type);
- Node107.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node107.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node107.a('node.gradientcolor', '');
- Node107.a('node.gradient', '');
- Node107.a('node.borderwidth', Node107BorderWidth);
- Node107.a('node.color', 'rgba(224,224,224,1)');
- Node107.a('node.fillrect', [0,0,0,0]);
- Node107.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node107.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node107.a('node.fillgradient', '');
- if (Node107type !== 'rect') {
- Node107.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node107.a('node.arcTo', parseFloat('@arcTo@'));
- Node107.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node107type === 'arc') {
- Node107.a('node.arcOval', true);
- }
- Node107.setRotation(0*Math.PI/180);
- Node107.borderWidth = Node107BorderWidth;
- Node107.borderFillwidth = Node107BorderWidth;
- dataModel.add(Node107);
- Node107._nodename = 'Node107'
- Node107._nodeType = 'rect';
- zoomNodeList.push({
- node: Node107,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node107, Node107.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108type = 'rect';
- var Node108 = new ht.Node(),
- Node108BorderWidth = 1*2;
- if (Node108type === 'arc') {
- Node108BorderWidth *= 1;
- }
- Node108.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node108type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node108.setPosition(922*ratio.ratioX, 124*ratio.ratioY);
- Node108.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node108.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node108.a('node.width', 95*_ratio.ratioX);
- Node108.a('node.height', 24.33136*_ratio.ratioY);
- Node108.a('node.type', Node108type);
- Node108.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node108.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node108.a('node.gradientcolor', '');
- Node108.a('node.gradient', '');
- Node108.a('node.borderwidth', Node108BorderWidth);
- Node108.a('node.color', 'rgba(224,224,224,1)');
- Node108.a('node.fillrect', [0,0,0,0]);
- Node108.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node108.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node108.a('node.fillgradient', '');
- if (Node108type !== 'rect') {
- Node108.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node108.a('node.arcTo', parseFloat('@arcTo@'));
- Node108.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node108type === 'arc') {
- Node108.a('node.arcOval', true);
- }
- Node108.setRotation(0*Math.PI/180);
- Node108.borderWidth = Node108BorderWidth;
- Node108.borderFillwidth = Node108BorderWidth;
- dataModel.add(Node108);
- Node108._nodename = 'Node108'
- Node108._nodeType = 'rect';
- zoomNodeList.push({
- node: Node108,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node108, Node108.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109type = 'rect';
- var Node109 = new ht.Node(),
- Node109BorderWidth = 1*2;
- if (Node109type === 'arc') {
- Node109BorderWidth *= 1;
- }
- Node109.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node109type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node109.setPosition(1002*ratio.ratioX, 51*ratio.ratioY);
- Node109.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node109.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node109.a('node.width', 65*_ratio.ratioX);
- Node109.a('node.height', 24.33136*_ratio.ratioY);
- Node109.a('node.type', Node109type);
- Node109.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node109.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node109.a('node.gradientcolor', '');
- Node109.a('node.gradient', '');
- Node109.a('node.borderwidth', Node109BorderWidth);
- Node109.a('node.color', 'rgba(224,224,224,1)');
- Node109.a('node.fillrect', [0,0,0,0]);
- Node109.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node109.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node109.a('node.fillgradient', '');
- if (Node109type !== 'rect') {
- Node109.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node109.a('node.arcTo', parseFloat('@arcTo@'));
- Node109.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node109type === 'arc') {
- Node109.a('node.arcOval', true);
- }
- Node109.setRotation(0*Math.PI/180);
- Node109.borderWidth = Node109BorderWidth;
- Node109.borderFillwidth = Node109BorderWidth;
- dataModel.add(Node109);
- Node109._nodename = 'Node109'
- Node109._nodeType = 'rect';
- zoomNodeList.push({
- node: Node109,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node109, Node109.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'center', Node110fontSize = 14.66663*_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('0', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('0', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(922*ratio.ratioX, 53*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(0,0,0,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','0');
- Node110.a('node.textalign','center');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node110.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node110width,Node110height,14.66663*_ratio.ratioY,"center",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 14.66663*_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('0', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('0', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(922*ratio.ratioX, 77*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(0,0,0,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','0');
- Node111.a('node.textalign','center');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node111.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node111width,Node111height,14.66663*_ratio.ratioY,"center",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 14.66663*_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('0', ' '+ Node112fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('0', ' '+ Node112fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
- Node112.setPosition(922*ratio.ratioX, 102*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(0,0,0,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','0');
- Node112.a('node.textalign','center');
- Node112.a('node.textvAlign','middle');
- Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
- Node112.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node112.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node112width,Node112height,14.66663*_ratio.ratioY,"center",color,' '+ Node112fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node112.a('node.underlinepoints',[Node112lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 14.66663*_ratio.ratioY,Node113width = 59*_ratio.ratioX, Node113height = 26*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(922*ratio.ratioX, 125*ratio.ratioY);
- Node113.setWidth(Node113width);
- Node113.setHeight(Node113height);
- Node113._nodeType = 'text';
- Node113._disallowEvert = true;
- Node113.setRotation(0*Math.PI/180);
- Node113.a('node.width', Node113width);
- Node113.a('node.height', Node113height);
- Node113.a('node.rect', [0, 0, Node113width, Node113height]);
- Node113.a('node.bordercolor','rgba(0,0,0,1)');
- Node113.a('node.borderwidth', 0);
- Node113.a('node.background','' || 'rgba(0,0,0,0)');
- Node113.a('node.gradient','');
- Node113.a('node.gradientcolor','');
- Node113.a('node.text','0');
- Node113.a('node.textalign','center');
- Node113.a('node.textvAlign','middle');
- Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
- Node113.a('node.color','rgba(0,0,0,1)');
- Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
- Node113.a('node.textvisible',true);
- Node113.a('node.linefeed',false);
- if (false) {
- Node113.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node113.a('node.text') || '0';
- var color=Node113.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node113width,Node113height,14.66663*_ratio.ratioY,"center",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
- Node113.a('node.underlinevisible',false);
- Node113.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node113);
- zoomNodeList.push({
- node: Node113,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114type = 'rect';
- var Node114 = new ht.Node(),
- Node114BorderWidth = 1*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 1;
- }
- Node114.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(1002*ratio.ratioX, 75*ratio.ratioY);
- Node114.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 65*_ratio.ratioX);
- Node114.a('node.height', 24.33138*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node114.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node114.a('node.gradientcolor', '');
- Node114.a('node.gradient', '');
- Node114.a('node.borderwidth', Node114BorderWidth);
- Node114.a('node.color', 'rgba(224,224,224,1)');
- Node114.a('node.fillrect', [0,0,0,0]);
- Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradient', '');
- if (Node114type !== 'rect') {
- Node114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node114.a('node.arcTo', parseFloat('@arcTo@'));
- Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node114type === 'arc') {
- Node114.a('node.arcOval', true);
- }
- Node114.setRotation(0*Math.PI/180);
- Node114.borderWidth = Node114BorderWidth;
- Node114.borderFillwidth = Node114BorderWidth;
- dataModel.add(Node114);
- Node114._nodename = 'Node114'
- Node114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115type = 'rect';
- var Node115 = new ht.Node(),
- Node115BorderWidth = 1*2;
- if (Node115type === 'arc') {
- Node115BorderWidth *= 1;
- }
- Node115.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node115.setPosition(1002*ratio.ratioX, 99*ratio.ratioY);
- Node115.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node115.a('node.width', 65*_ratio.ratioX);
- Node115.a('node.height', 24.33138*_ratio.ratioY);
- Node115.a('node.type', Node115type);
- Node115.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node115.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node115.a('node.gradientcolor', '');
- Node115.a('node.gradient', '');
- Node115.a('node.borderwidth', Node115BorderWidth);
- Node115.a('node.color', 'rgba(224,224,224,1)');
- Node115.a('node.fillrect', [0,0,0,0]);
- Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradient', '');
- if (Node115type !== 'rect') {
- Node115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node115.a('node.arcTo', parseFloat('@arcTo@'));
- Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node115type === 'arc') {
- Node115.a('node.arcOval', true);
- }
- Node115.setRotation(0*Math.PI/180);
- Node115.borderWidth = Node115BorderWidth;
- Node115.borderFillwidth = Node115BorderWidth;
- dataModel.add(Node115);
- Node115._nodename = 'Node115'
- Node115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116type = 'rect';
- var Node116 = new ht.Node(),
- Node116BorderWidth = 1*2;
- if (Node116type === 'arc') {
- Node116BorderWidth *= 1;
- }
- Node116.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node116.setPosition(1002*ratio.ratioX, 124*ratio.ratioY);
- Node116.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node116.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node116.a('node.width', 65*_ratio.ratioX);
- Node116.a('node.height', 24.33136*_ratio.ratioY);
- Node116.a('node.type', Node116type);
- Node116.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node116.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node116.a('node.gradientcolor', '');
- Node116.a('node.gradient', '');
- Node116.a('node.borderwidth', Node116BorderWidth);
- Node116.a('node.color', 'rgba(224,224,224,1)');
- Node116.a('node.fillrect', [0,0,0,0]);
- Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradient', '');
- if (Node116type !== 'rect') {
- Node116.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node116.a('node.arcTo', parseFloat('@arcTo@'));
- Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node116type === 'arc') {
- Node116.a('node.arcOval', true);
- }
- Node116.setRotation(0*Math.PI/180);
- Node116.borderWidth = Node116BorderWidth;
- Node116.borderFillwidth = Node116BorderWidth;
- dataModel.add(Node116);
- Node116._nodename = 'Node116'
- Node116._nodeType = 'rect';
- zoomNodeList.push({
- node: Node116,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117 = new ht.Node();
- var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'center', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 59*_ratio.ratioX, Node117height = 26*_ratio.ratioY;
- (function () {
- if (Node117align === 'left') {
- Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
- Node117textWidth = Node117width;
- Node117lineStart = 1;
- } else if (Node117align === 'right') {
- Node117textStart = 0;
- Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
- Node117lineStart = (Node117width - (ht.Default.getTextSize('万kWh', ' '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node117align === 'center') {
- Node117textStart = -3;
- Node117textWidth = Node117width;
- Node117lineStart = Node117width - ht.Default.getTextSize('万kWh', ' '+ Node117fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, ' '+ Node117fontSize + 'px "Arial"'))
- Node117.setPosition(1003*ratio.ratioX, 53*ratio.ratioY);
- Node117.setWidth(Node117width);
- Node117.setHeight(Node117height);
- Node117._nodeType = 'text';
- Node117._disallowEvert = true;
- Node117.setRotation(0*Math.PI/180);
- Node117.a('node.width', Node117width);
- Node117.a('node.height', Node117height);
- Node117.a('node.rect', [0, 0, Node117width, Node117height]);
- Node117.a('node.bordercolor','rgba(128,128,128,1)');
- Node117.a('node.borderwidth', 0);
- Node117.a('node.background','' || 'rgba(0,0,0,0)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','');
- Node117.a('node.text','万kWh');
- Node117.a('node.textalign','center');
- Node117.a('node.textvAlign','middle');
- Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
- Node117.a('node.color','rgba(128,128,128,1)');
- Node117.a('node.font',' '+ Node117fontSize + 'px "Arial"');
- Node117.a('node.textvisible',true);
- Node117.a('node.linefeed',false);
- if (false) {
- Node117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node117.a('node.text') || '万kWh';
- var color=Node117.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"center",color,' '+ Node117fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node117.a('node.underlinepoints',[Node117lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
- Node117.a('node.underlinevisible',false);
- Node117.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node117);
- zoomNodeList.push({
- node: Node117,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118 = new ht.Node();
- var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'center', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 59*_ratio.ratioX, Node118height = 26*_ratio.ratioY;
- (function () {
- if (Node118align === 'left') {
- Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9;
- Node118textWidth = Node118width;
- Node118lineStart = 1;
- } else if (Node118align === 'right') {
- Node118textStart = 0;
- Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2;
- Node118lineStart = (Node118width - (ht.Default.getTextSize('万kWh', ' '+ Node118fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node118align === 'center') {
- Node118textStart = -3;
- Node118textWidth = Node118width;
- Node118lineStart = Node118width - ht.Default.getTextSize('万kWh', ' '+ Node118fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, ' '+ Node118fontSize + 'px "Arial"'))
- Node118.setPosition(1003*ratio.ratioX, 77*ratio.ratioY);
- Node118.setWidth(Node118width);
- Node118.setHeight(Node118height);
- Node118._nodeType = 'text';
- Node118._disallowEvert = true;
- Node118.setRotation(0*Math.PI/180);
- Node118.a('node.width', Node118width);
- Node118.a('node.height', Node118height);
- Node118.a('node.rect', [0, 0, Node118width, Node118height]);
- Node118.a('node.bordercolor','rgba(128,128,128,1)');
- Node118.a('node.borderwidth', 0);
- Node118.a('node.background','' || 'rgba(0,0,0,0)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','');
- Node118.a('node.text','万kWh');
- Node118.a('node.textalign','center');
- Node118.a('node.textvAlign','middle');
- Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]);
- Node118.a('node.color','rgba(128,128,128,1)');
- Node118.a('node.font',' '+ Node118fontSize + 'px "Arial"');
- Node118.a('node.textvisible',true);
- Node118.a('node.linefeed',false);
- if (false) {
- Node118.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node118.a('node.text') || '万kWh';
- var color=Node118.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"center",color,' '+ Node118fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node118.a('node.underlinepoints',[Node118lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node118fontSize + 'px "Arial"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]);
- Node118.a('node.underlinevisible',false);
- Node118.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node118);
- zoomNodeList.push({
- node: Node118,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119 = new ht.Node();
- var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'center', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 59*_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('万kWh', ' '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('万kWh', ' '+ Node119fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "Arial"'))
- Node119.setPosition(1003*ratio.ratioX, 100*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(128,128,128,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','万kWh');
- Node119.a('node.textalign','center');
- Node119.a('node.textvAlign','middle');
- Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]);
- Node119.a('node.color','rgba(128,128,128,1)');
- Node119.a('node.font',' '+ Node119fontSize + 'px "Arial"');
- Node119.a('node.textvisible',true);
- Node119.a('node.linefeed',false);
- if (false) {
- Node119.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node119.a('node.text') || '万kWh';
- var color=Node119.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"center",color,' '+ Node119fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node119fontSize + 'px "Arial"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]);
- Node119.a('node.underlinevisible',false);
- Node119.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node119);
- zoomNodeList.push({
- node: Node119,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.Node();
- var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'center', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 59*_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('万kWh', ' '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('万kWh', ' '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(1003*ratio.ratioX, 126*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(128,128,128,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','万kWh');
- Node120.a('node.textalign','center');
- Node120.a('node.textvAlign','middle');
- Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
- Node120.a('node.color','rgba(128,128,128,1)');
- Node120.a('node.font',' '+ Node120fontSize + 'px "Arial"');
- Node120.a('node.textvisible',true);
- Node120.a('node.linefeed',false);
- if (false) {
- Node120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node120.a('node.text') || '万kWh';
- var color=Node120.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"center",color,' '+ Node120fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121type = 'rect';
- var Node121 = new ht.Node(),
- Node121BorderWidth = 1*2;
- if (Node121type === 'arc') {
- Node121BorderWidth *= 1;
- }
- Node121.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node121type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node121.setPosition(1096*ratio.ratioX, 99*ratio.ratioY);
- Node121.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node121.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node121.a('node.width', 117*_ratio.ratioX);
- Node121.a('node.height', 24.33138*_ratio.ratioY);
- Node121.a('node.type', Node121type);
- Node121.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node121.a('node.background', 'rgba(240,240,240,1)');
- Node121.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node121.a('node.gradient', '');
- Node121.a('node.borderwidth', Node121BorderWidth);
- Node121.a('node.color', 'rgba(224,224,224,1)');
- Node121.a('node.fillrect', [0,0,0,0]);
- Node121.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node121.a('node.fillgradient', '');
- if (Node121type !== 'rect') {
- Node121.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node121.a('node.arcTo', parseFloat('@arcTo@'));
- Node121.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node121type === 'arc') {
- Node121.a('node.arcOval', true);
- }
- Node121.setRotation(0*Math.PI/180);
- Node121.borderWidth = Node121BorderWidth;
- Node121.borderFillwidth = Node121BorderWidth;
- dataModel.add(Node121);
- Node121._nodename = 'Node121'
- Node121._nodeType = 'rect';
- zoomNodeList.push({
- node: Node121,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node121, Node121.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node122type = 'rect';
- var Node122 = new ht.Node(),
- Node122BorderWidth = 1*2;
- if (Node122type === 'arc') {
- Node122BorderWidth *= 1;
- }
- Node122.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node122type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node122.setPosition(1096*ratio.ratioX, 75*ratio.ratioY);
- Node122.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node122.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node122.a('node.width', 117*_ratio.ratioX);
- Node122.a('node.height', 24.33138*_ratio.ratioY);
- Node122.a('node.type', Node122type);
- Node122.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node122.a('node.background', 'rgba(240,240,240,1)');
- Node122.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node122.a('node.gradient', '');
- Node122.a('node.borderwidth', Node122BorderWidth);
- Node122.a('node.color', 'rgba(224,224,224,1)');
- Node122.a('node.fillrect', [0,0,0,0]);
- Node122.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node122.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node122.a('node.fillgradient', '');
- if (Node122type !== 'rect') {
- Node122.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node122.a('node.arcTo', parseFloat('@arcTo@'));
- Node122.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node122type === 'arc') {
- Node122.a('node.arcOval', true);
- }
- Node122.setRotation(0*Math.PI/180);
- Node122.borderWidth = Node122BorderWidth;
- Node122.borderFillwidth = Node122BorderWidth;
- dataModel.add(Node122);
- Node122._nodename = 'Node122'
- Node122._nodeType = 'rect';
- zoomNodeList.push({
- node: Node122,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node122, Node122.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123type = 'rect';
- var Node123 = new ht.Node(),
- Node123BorderWidth = 1*2;
- if (Node123type === 'arc') {
- Node123BorderWidth *= 1;
- }
- Node123.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node123.setPosition(1096*ratio.ratioX, 124*ratio.ratioY);
- Node123.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node123.a('node.width', 117*_ratio.ratioX);
- Node123.a('node.height', 24.33136*_ratio.ratioY);
- Node123.a('node.type', Node123type);
- Node123.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node123.a('node.background', 'rgba(240,240,240,1)');
- Node123.a('node.gradientcolor', 'rgba(240,240,240,1)');
- 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(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node124.setPosition(1096*ratio.ratioX, 51*ratio.ratioY);
- Node124.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node124.a('node.width', 117*_ratio.ratioX);
- Node124.a('node.height', 24.33136*_ratio.ratioY);
- Node124.a('node.type', Node124type);
- Node124.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node124.a('node.background', 'rgba(240,240,240,1)');
- Node124.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node124.a('node.gradient', '');
- Node124.a('node.borderwidth', Node124BorderWidth);
- Node124.a('node.color', 'rgba(224,224,224,1)');
- Node124.a('node.fillrect', [0,0,0,0]);
- Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradient', '');
- if (Node124type !== 'rect') {
- Node124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node124.a('node.arcTo', parseFloat('@arcTo@'));
- Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node124type === 'arc') {
- Node124.a('node.arcOval', true);
- }
- Node124.setRotation(0*Math.PI/180);
- Node124.borderWidth = Node124BorderWidth;
- Node124.borderFillwidth = Node124BorderWidth;
- dataModel.add(Node124);
- Node124._nodename = 'Node124'
- Node124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'center', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 110*_ratio.ratioX, Node125height = 26*_ratio.ratioY;
- (function () {
- if (Node125align === 'left') {
- Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
- Node125textWidth = Node125width;
- Node125lineStart = 1;
- } else if (Node125align === 'right') {
- Node125textStart = 0;
- Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
- Node125lineStart = (Node125width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node125fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('年维护损失电量', ' '+ Node125fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "微软雅黑"'))
- Node125.setPosition(1096*ratio.ratioX, 53*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(0,0,0,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','年维护损失电量');
- Node125.a('node.textalign','center');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(0,0,0,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "微软雅黑"');
- Node125.a('node.textvisible',true);
- Node125.a('node.linefeed',false);
- if (false) {
- Node125.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node125.a('node.text') || '年维护损失电量';
- var color=Node125.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"center",color,' '+ Node125fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node125fontSize + 'px "微软雅黑"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
- Node125.a('node.underlinevisible',false);
- Node125.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node125);
- zoomNodeList.push({
- node: Node125,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'center', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 110*_ratio.ratioX, Node126height = 26*_ratio.ratioY;
- (function () {
- if (Node126align === 'left') {
- Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
- Node126textWidth = Node126width;
- Node126lineStart = 1;
- } else if (Node126align === 'right') {
- Node126textStart = 0;
- Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
- Node126lineStart = (Node126width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node126fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('年故障损失电量', ' '+ Node126fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "微软雅黑"'))
- Node126.setPosition(1096*ratio.ratioX, 76*ratio.ratioY);
- Node126.setWidth(Node126width);
- Node126.setHeight(Node126height);
- Node126._nodeType = 'text';
- Node126._disallowEvert = true;
- Node126.setRotation(0*Math.PI/180);
- Node126.a('node.width', Node126width);
- Node126.a('node.height', Node126height);
- Node126.a('node.rect', [0, 0, Node126width, Node126height]);
- Node126.a('node.bordercolor','rgba(0,0,0,1)');
- Node126.a('node.borderwidth', 0);
- Node126.a('node.background','' || 'rgba(0,0,0,0)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','');
- Node126.a('node.text','年故障损失电量');
- Node126.a('node.textalign','center');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(0,0,0,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "微软雅黑"');
- Node126.a('node.textvisible',true);
- Node126.a('node.linefeed',false);
- if (false) {
- Node126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node126.a('node.text') || '年故障损失电量';
- var color=Node126.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"center",color,' '+ Node126fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node126fontSize + 'px "微软雅黑"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'center', Node127fontSize = 13.3333*_ratio.ratioY,Node127width = 110*_ratio.ratioX, Node127height = 26*_ratio.ratioY;
- (function () {
- if (Node127align === 'left') {
- Node127textStart = Node127fontSize * 0.2 > 2 ? Node127fontSize * 0.2 - 4 : Node127fontSize * 0.2 - 9;
- Node127textWidth = Node127width;
- Node127lineStart = 1;
- } else if (Node127align === 'right') {
- Node127textStart = 0;
- Node127textWidth =Node127fontSize <= 8 ? Node127width + Node127fontSize * 0.2 + 6 : Node127width - Node127fontSize * 0.2;
- Node127lineStart = (Node127width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node127fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('年限电损失电量', ' '+ Node127fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "微软雅黑"'))
- Node127.setPosition(1096*ratio.ratioX, 101*ratio.ratioY);
- Node127.setWidth(Node127width);
- Node127.setHeight(Node127height);
- Node127._nodeType = 'text';
- Node127._disallowEvert = true;
- Node127.setRotation(0*Math.PI/180);
- Node127.a('node.width', Node127width);
- Node127.a('node.height', Node127height);
- Node127.a('node.rect', [0, 0, Node127width, Node127height]);
- Node127.a('node.bordercolor','rgba(0,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','年限电损失电量');
- Node127.a('node.textalign','center');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(0,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "微软雅黑"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || '年限电损失电量';
- var color=Node127.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"center",color,' '+ Node127fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node127fontSize + 'px "微软雅黑"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'center', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 110*_ratio.ratioX, Node128height = 26*_ratio.ratioY;
- (function () {
- if (Node128align === 'left') {
- Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
- Node128textWidth = Node128width;
- Node128lineStart = 1;
- } else if (Node128align === 'right') {
- Node128textStart = 0;
- Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
- Node128lineStart = (Node128width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node128fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('年受累损失电量', ' '+ Node128fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "微软雅黑"'))
- Node128.setPosition(1096*ratio.ratioX, 126*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(0,0,0,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','年受累损失电量');
- Node128.a('node.textalign','center');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(0,0,0,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "微软雅黑"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '年受累损失电量';
- var color=Node128.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"center",color,' '+ Node128fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node128fontSize + 'px "微软雅黑"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129type = 'rect';
- var Node129 = new ht.Node(),
- Node129BorderWidth = 1*2;
- if (Node129type === 'arc') {
- Node129BorderWidth *= 1;
- }
- Node129.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node129type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node129.setPosition(1202*ratio.ratioX, 51*ratio.ratioY);
- Node129.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node129.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node129.a('node.width', 95*_ratio.ratioX);
- Node129.a('node.height', 24.33136*_ratio.ratioY);
- Node129.a('node.type', Node129type);
- Node129.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node129.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node129.a('node.gradientcolor', '');
- Node129.a('node.gradient', '');
- Node129.a('node.borderwidth', Node129BorderWidth);
- Node129.a('node.color', 'rgba(224,224,224,1)');
- Node129.a('node.fillrect', [0,0,0,0]);
- Node129.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node129.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node129.a('node.fillgradient', '');
- if (Node129type !== 'rect') {
- Node129.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node129.a('node.arcTo', parseFloat('@arcTo@'));
- Node129.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node129type === 'arc') {
- Node129.a('node.arcOval', true);
- }
- Node129.setRotation(0*Math.PI/180);
- Node129.borderWidth = Node129BorderWidth;
- Node129.borderFillwidth = Node129BorderWidth;
- dataModel.add(Node129);
- Node129._nodename = 'Node129'
- Node129._nodeType = 'rect';
- zoomNodeList.push({
- node: Node129,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node129, Node129.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130type = 'rect';
- var Node130 = new ht.Node(),
- Node130BorderWidth = 1*2;
- if (Node130type === 'arc') {
- Node130BorderWidth *= 1;
- }
- Node130.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node130type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node130.setPosition(1202*ratio.ratioX, 75*ratio.ratioY);
- Node130.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node130.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node130.a('node.width', 95*_ratio.ratioX);
- Node130.a('node.height', 24.33138*_ratio.ratioY);
- Node130.a('node.type', Node130type);
- Node130.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node130.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node130.a('node.gradientcolor', '');
- Node130.a('node.gradient', '');
- Node130.a('node.borderwidth', Node130BorderWidth);
- Node130.a('node.color', 'rgba(224,224,224,1)');
- Node130.a('node.fillrect', [0,0,0,0]);
- Node130.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node130.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node130.a('node.fillgradient', '');
- if (Node130type !== 'rect') {
- Node130.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node130.a('node.arcTo', parseFloat('@arcTo@'));
- Node130.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node130type === 'arc') {
- Node130.a('node.arcOval', true);
- }
- Node130.setRotation(0*Math.PI/180);
- Node130.borderWidth = Node130BorderWidth;
- Node130.borderFillwidth = Node130BorderWidth;
- dataModel.add(Node130);
- Node130._nodename = 'Node130'
- Node130._nodeType = 'rect';
- zoomNodeList.push({
- node: Node130,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node130, Node130.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131type = 'rect';
- var Node131 = new ht.Node(),
- Node131BorderWidth = 1*2;
- if (Node131type === 'arc') {
- Node131BorderWidth *= 1;
- }
- Node131.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node131type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node131.setPosition(1202*ratio.ratioX, 99*ratio.ratioY);
- Node131.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node131.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node131.a('node.width', 95*_ratio.ratioX);
- Node131.a('node.height', 24.33138*_ratio.ratioY);
- Node131.a('node.type', Node131type);
- Node131.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node131.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node131.a('node.gradientcolor', '');
- Node131.a('node.gradient', '');
- Node131.a('node.borderwidth', Node131BorderWidth);
- Node131.a('node.color', 'rgba(224,224,224,1)');
- Node131.a('node.fillrect', [0,0,0,0]);
- Node131.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradient', '');
- if (Node131type !== 'rect') {
- Node131.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node131.a('node.arcTo', parseFloat('@arcTo@'));
- Node131.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node131type === 'arc') {
- Node131.a('node.arcOval', true);
- }
- Node131.setRotation(0*Math.PI/180);
- Node131.borderWidth = Node131BorderWidth;
- Node131.borderFillwidth = Node131BorderWidth;
- dataModel.add(Node131);
- Node131._nodename = 'Node131'
- Node131._nodeType = 'rect';
- zoomNodeList.push({
- node: Node131,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node131, Node131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132type = 'rect';
- var Node132 = new ht.Node(),
- Node132BorderWidth = 1*2;
- if (Node132type === 'arc') {
- Node132BorderWidth *= 1;
- }
- Node132.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node132.setPosition(1202*ratio.ratioX, 124*ratio.ratioY);
- Node132.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node132.a('node.width', 95*_ratio.ratioX);
- Node132.a('node.height', 24.33136*_ratio.ratioY);
- Node132.a('node.type', Node132type);
- Node132.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node132.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node132.a('node.gradientcolor', '');
- Node132.a('node.gradient', '');
- Node132.a('node.borderwidth', Node132BorderWidth);
- Node132.a('node.color', 'rgba(224,224,224,1)');
- Node132.a('node.fillrect', [0,0,0,0]);
- Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradient', '');
- if (Node132type !== 'rect') {
- Node132.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node132.a('node.arcTo', parseFloat('@arcTo@'));
- Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node132type === 'arc') {
- Node132.a('node.arcOval', true);
- }
- Node132.setRotation(0*Math.PI/180);
- Node132.borderWidth = Node132BorderWidth;
- Node132.borderFillwidth = Node132BorderWidth;
- dataModel.add(Node132);
- Node132._nodename = 'Node132'
- Node132._nodeType = 'rect';
- zoomNodeList.push({
- node: Node132,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node132, Node132.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133type = 'rect';
- var Node133 = new ht.Node(),
- Node133BorderWidth = 1*2;
- if (Node133type === 'arc') {
- Node133BorderWidth *= 1;
- }
- Node133.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node133type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node133.setPosition(1282*ratio.ratioX, 51*ratio.ratioY);
- Node133.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node133.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node133.a('node.width', 65*_ratio.ratioX);
- Node133.a('node.height', 24.33136*_ratio.ratioY);
- Node133.a('node.type', Node133type);
- Node133.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node133.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node133.a('node.gradientcolor', '');
- Node133.a('node.gradient', '');
- Node133.a('node.borderwidth', Node133BorderWidth);
- Node133.a('node.color', 'rgba(224,224,224,1)');
- Node133.a('node.fillrect', [0,0,0,0]);
- Node133.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradient', '');
- if (Node133type !== 'rect') {
- Node133.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node133.a('node.arcTo', parseFloat('@arcTo@'));
- Node133.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node133type === 'arc') {
- Node133.a('node.arcOval', true);
- }
- Node133.setRotation(0*Math.PI/180);
- Node133.borderWidth = Node133BorderWidth;
- Node133.borderFillwidth = Node133BorderWidth;
- dataModel.add(Node133);
- Node133._nodename = 'Node133'
- Node133._nodeType = 'rect';
- zoomNodeList.push({
- node: Node133,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node133, Node133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'center', Node134fontSize = 14.66663*_ratio.ratioY,Node134width = 59*_ratio.ratioX, Node134height = 26*_ratio.ratioY;
- (function () {
- if (Node134align === 'left') {
- Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
- Node134textWidth = Node134width;
- Node134lineStart = 1;
- } else if (Node134align === 'right') {
- Node134textStart = 0;
- Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
- Node134lineStart = (Node134width - (ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node134align === 'center') {
- Node134textStart = -3;
- Node134textWidth = Node134width;
- Node134lineStart = Node134width - ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"'))
- Node134.setPosition(1202*ratio.ratioX, 53*ratio.ratioY);
- Node134.setWidth(Node134width);
- Node134.setHeight(Node134height);
- Node134._nodeType = 'text';
- Node134._disallowEvert = true;
- Node134.setRotation(0*Math.PI/180);
- Node134.a('node.width', Node134width);
- Node134.a('node.height', Node134height);
- Node134.a('node.rect', [0, 0, Node134width, Node134height]);
- Node134.a('node.bordercolor','rgba(0,0,0,1)');
- Node134.a('node.borderwidth', 0);
- Node134.a('node.background','' || 'rgba(0,0,0,0)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','');
- Node134.a('node.text','0');
- Node134.a('node.textalign','center');
- Node134.a('node.textvAlign','middle');
- Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
- Node134.a('node.color','rgba(0,0,0,1)');
- Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"');
- Node134.a('node.textvisible',true);
- Node134.a('node.linefeed',false);
- if (false) {
- Node134.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node134.a('node.text') || '0';
- var color=Node134.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node134width,Node134height,14.66663*_ratio.ratioY,"center",color,' '+ Node134fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node134.a('node.underlinepoints',[Node134lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
- Node134.a('node.underlinevisible',false);
- Node134.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node134);
- zoomNodeList.push({
- node: Node134,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135 = new ht.Node();
- var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'center', Node135fontSize = 14.66663*_ratio.ratioY,Node135width = 59*_ratio.ratioX, Node135height = 26*_ratio.ratioY;
- (function () {
- if (Node135align === 'left') {
- Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
- Node135textWidth = Node135width;
- Node135lineStart = 1;
- } else if (Node135align === 'right') {
- Node135textStart = 0;
- Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
- Node135lineStart = (Node135width - (ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node135align === 'center') {
- Node135textStart = -3;
- Node135textWidth = Node135width;
- Node135lineStart = Node135width - ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
- Node135.setPosition(1202*ratio.ratioX, 77*ratio.ratioY);
- Node135.setWidth(Node135width);
- Node135.setHeight(Node135height);
- Node135._nodeType = 'text';
- Node135._disallowEvert = true;
- Node135.setRotation(0*Math.PI/180);
- Node135.a('node.width', Node135width);
- Node135.a('node.height', Node135height);
- Node135.a('node.rect', [0, 0, Node135width, Node135height]);
- Node135.a('node.bordercolor','rgba(0,0,0,1)');
- Node135.a('node.borderwidth', 0);
- Node135.a('node.background','' || 'rgba(0,0,0,0)');
- Node135.a('node.gradient','');
- Node135.a('node.gradientcolor','');
- Node135.a('node.text','0');
- Node135.a('node.textalign','center');
- Node135.a('node.textvAlign','middle');
- Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
- Node135.a('node.color','rgba(0,0,0,1)');
- Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
- Node135.a('node.textvisible',true);
- Node135.a('node.linefeed',false);
- if (false) {
- Node135.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node135.a('node.text') || '0';
- var color=Node135.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node135width,Node135height,14.66663*_ratio.ratioY,"center",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node135.a('node.underlinepoints',[Node135lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
- Node135.a('node.underlinevisible',false);
- Node135.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node135);
- zoomNodeList.push({
- node: Node135,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136 = new ht.Node();
- var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'center', Node136fontSize = 14.66663*_ratio.ratioY,Node136width = 59*_ratio.ratioX, Node136height = 26*_ratio.ratioY;
- (function () {
- if (Node136align === 'left') {
- Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
- Node136textWidth = Node136width;
- Node136lineStart = 1;
- } else if (Node136align === 'right') {
- Node136textStart = 0;
- Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
- Node136lineStart = (Node136width - (ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(1202*ratio.ratioX, 102*ratio.ratioY);
- Node136.setWidth(Node136width);
- Node136.setHeight(Node136height);
- Node136._nodeType = 'text';
- Node136._disallowEvert = true;
- Node136.setRotation(0*Math.PI/180);
- Node136.a('node.width', Node136width);
- Node136.a('node.height', Node136height);
- Node136.a('node.rect', [0, 0, Node136width, Node136height]);
- Node136.a('node.bordercolor','rgba(0,0,0,1)');
- Node136.a('node.borderwidth', 0);
- Node136.a('node.background','' || 'rgba(0,0,0,0)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','');
- Node136.a('node.text','0');
- Node136.a('node.textalign','center');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(0,0,0,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
- Node136.a('node.textvisible',true);
- Node136.a('node.linefeed',false);
- if (false) {
- Node136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node136.a('node.text') || '0';
- var color=Node136.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node136width,Node136height,14.66663*_ratio.ratioY,"center",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'center', Node137fontSize = 14.66663*_ratio.ratioY,Node137width = 59*_ratio.ratioX, Node137height = 26*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(1202*ratio.ratioX, 125*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(0,0,0,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','0');
- Node137.a('node.textalign','center');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(0,0,0,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '0';
- var color=Node137.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node137width,Node137height,14.66663*_ratio.ratioY,"center",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138type = 'rect';
- var Node138 = new ht.Node(),
- Node138BorderWidth = 1*2;
- if (Node138type === 'arc') {
- Node138BorderWidth *= 1;
- }
- Node138.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node138type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node138.setPosition(1282*ratio.ratioX, 75*ratio.ratioY);
- Node138.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node138.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node138.a('node.width', 65*_ratio.ratioX);
- Node138.a('node.height', 24.33138*_ratio.ratioY);
- Node138.a('node.type', Node138type);
- Node138.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node138.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node138.a('node.gradientcolor', '');
- Node138.a('node.gradient', '');
- Node138.a('node.borderwidth', Node138BorderWidth);
- Node138.a('node.color', 'rgba(224,224,224,1)');
- Node138.a('node.fillrect', [0,0,0,0]);
- Node138.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node138.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node138.a('node.fillgradient', '');
- if (Node138type !== 'rect') {
- Node138.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node138.a('node.arcTo', parseFloat('@arcTo@'));
- Node138.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node138type === 'arc') {
- Node138.a('node.arcOval', true);
- }
- Node138.setRotation(0*Math.PI/180);
- Node138.borderWidth = Node138BorderWidth;
- Node138.borderFillwidth = Node138BorderWidth;
- dataModel.add(Node138);
- Node138._nodename = 'Node138'
- Node138._nodeType = 'rect';
- zoomNodeList.push({
- node: Node138,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node138, Node138.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139type = 'rect';
- var Node139 = new ht.Node(),
- Node139BorderWidth = 1*2;
- if (Node139type === 'arc') {
- Node139BorderWidth *= 1;
- }
- Node139.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node139type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node139.setPosition(1282*ratio.ratioX, 99*ratio.ratioY);
- Node139.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node139.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node139.a('node.width', 65*_ratio.ratioX);
- Node139.a('node.height', 24.33138*_ratio.ratioY);
- Node139.a('node.type', Node139type);
- Node139.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node139.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node139.a('node.gradientcolor', '');
- Node139.a('node.gradient', '');
- Node139.a('node.borderwidth', Node139BorderWidth);
- Node139.a('node.color', 'rgba(224,224,224,1)');
- Node139.a('node.fillrect', [0,0,0,0]);
- Node139.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node139.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node139.a('node.fillgradient', '');
- if (Node139type !== 'rect') {
- Node139.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node139.a('node.arcTo', parseFloat('@arcTo@'));
- Node139.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node139type === 'arc') {
- Node139.a('node.arcOval', true);
- }
- Node139.setRotation(0*Math.PI/180);
- Node139.borderWidth = Node139BorderWidth;
- Node139.borderFillwidth = Node139BorderWidth;
- dataModel.add(Node139);
- Node139._nodename = 'Node139'
- Node139._nodeType = 'rect';
- zoomNodeList.push({
- node: Node139,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node139, Node139.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140type = 'rect';
- var Node140 = new ht.Node(),
- Node140BorderWidth = 1*2;
- if (Node140type === 'arc') {
- Node140BorderWidth *= 1;
- }
- Node140.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node140type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node140.setPosition(1282*ratio.ratioX, 124*ratio.ratioY);
- Node140.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node140.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node140.a('node.width', 65*_ratio.ratioX);
- Node140.a('node.height', 24.33136*_ratio.ratioY);
- Node140.a('node.type', Node140type);
- Node140.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node140.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node140.a('node.gradientcolor', '');
- Node140.a('node.gradient', '');
- Node140.a('node.borderwidth', Node140BorderWidth);
- Node140.a('node.color', 'rgba(224,224,224,1)');
- Node140.a('node.fillrect', [0,0,0,0]);
- Node140.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node140.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node140.a('node.fillgradient', '');
- if (Node140type !== 'rect') {
- Node140.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node140.a('node.arcTo', parseFloat('@arcTo@'));
- Node140.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node140type === 'arc') {
- Node140.a('node.arcOval', true);
- }
- Node140.setRotation(0*Math.PI/180);
- Node140.borderWidth = Node140BorderWidth;
- Node140.borderFillwidth = Node140BorderWidth;
- dataModel.add(Node140);
- Node140._nodename = 'Node140'
- Node140._nodeType = 'rect';
- zoomNodeList.push({
- node: Node140,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node140, Node140.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(1283*ratio.ratioX, 53*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(1283*ratio.ratioX, 77*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 = 'center', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 59*_ratio.ratioX, Node143height = 26*_ratio.ratioY;
- (function () {
- if (Node143align === 'left') {
- Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
- Node143textWidth = Node143width;
- Node143lineStart = 1;
- } else if (Node143align === 'right') {
- Node143textStart = 0;
- Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
- Node143lineStart = (Node143width - (ht.Default.getTextSize('万kWh', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node143align === 'center') {
- Node143textStart = -3;
- Node143textWidth = Node143width;
- Node143lineStart = Node143width - ht.Default.getTextSize('万kWh', ' '+ Node143fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"'))
- Node143.setPosition(1283*ratio.ratioX, 100*ratio.ratioY);
- Node143.setWidth(Node143width);
- Node143.setHeight(Node143height);
- Node143._nodeType = 'text';
- Node143._disallowEvert = true;
- Node143.setRotation(0*Math.PI/180);
- Node143.a('node.width', Node143width);
- Node143.a('node.height', Node143height);
- Node143.a('node.rect', [0, 0, Node143width, Node143height]);
- Node143.a('node.bordercolor','rgba(128,128,128,1)');
- Node143.a('node.borderwidth', 0);
- Node143.a('node.background','' || 'rgba(0,0,0,0)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','');
- Node143.a('node.text','万kWh');
- Node143.a('node.textalign','center');
- Node143.a('node.textvAlign','middle');
- Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
- Node143.a('node.color','rgba(128,128,128,1)');
- Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"');
- Node143.a('node.textvisible',true);
- Node143.a('node.linefeed',false);
- if (false) {
- Node143.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node143.a('node.text') || '万kWh';
- var color=Node143.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"center",color,' '+ Node143fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node143.a('node.underlinepoints',[Node143lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
- Node143.a('node.underlinevisible',false);
- Node143.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node143);
- zoomNodeList.push({
- node: Node143,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144 = new ht.Node();
- var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'center', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 59*_ratio.ratioX, Node144height = 26*_ratio.ratioY;
- (function () {
- if (Node144align === 'left') {
- Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9;
- Node144textWidth = Node144width;
- Node144lineStart = 1;
- } else if (Node144align === 'right') {
- Node144textStart = 0;
- Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2;
- Node144lineStart = (Node144width - (ht.Default.getTextSize('万kWh', ' '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node144align === 'center') {
- Node144textStart = -3;
- Node144textWidth = Node144width;
- Node144lineStart = Node144width - ht.Default.getTextSize('万kWh', ' '+ Node144fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, ' '+ Node144fontSize + 'px "Arial"'))
- Node144.setPosition(1283*ratio.ratioX, 126*ratio.ratioY);
- Node144.setWidth(Node144width);
- Node144.setHeight(Node144height);
- Node144._nodeType = 'text';
- Node144._disallowEvert = true;
- Node144.setRotation(0*Math.PI/180);
- Node144.a('node.width', Node144width);
- Node144.a('node.height', Node144height);
- Node144.a('node.rect', [0, 0, Node144width, Node144height]);
- Node144.a('node.bordercolor','rgba(128,128,128,1)');
- Node144.a('node.borderwidth', 0);
- Node144.a('node.background','' || 'rgba(0,0,0,0)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','');
- Node144.a('node.text','万kWh');
- Node144.a('node.textalign','center');
- Node144.a('node.textvAlign','middle');
- Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]);
- Node144.a('node.color','rgba(128,128,128,1)');
- Node144.a('node.font',' '+ Node144fontSize + 'px "Arial"');
- Node144.a('node.textvisible',true);
- Node144.a('node.linefeed',false);
- if (false) {
- Node144.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node144.a('node.text') || '万kWh';
- var color=Node144.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"center",color,' '+ Node144fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node144.a('node.underlinepoints',[Node144lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]);
- Node144.a('node.underlinevisible',false);
- Node144.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node144);
- zoomNodeList.push({
- node: Node144,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.Node();
- var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'left', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 67*_ratio.ratioX, Node145height = 26*_ratio.ratioY;
- (function () {
- if (Node145align === 'left') {
- Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
- Node145textWidth = Node145width;
- Node145lineStart = 1;
- } else if (Node145align === 'right') {
- Node145textStart = 0;
- Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
- Node145lineStart = (Node145width - (ht.Default.getTextSize('装机容量', ' '+ Node145fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node145align === 'center') {
- Node145textStart = -3;
- Node145textWidth = Node145width;
- Node145lineStart = Node145width - ht.Default.getTextSize('装机容量', ' '+ Node145fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "微软雅黑"'))
- Node145.setPosition(228*ratio.ratioX, 52*ratio.ratioY);
- Node145.setWidth(Node145width);
- Node145.setHeight(Node145height);
- Node145._nodeType = 'text';
- Node145._disallowEvert = true;
- Node145.setRotation(0*Math.PI/180);
- Node145.a('node.width', Node145width);
- Node145.a('node.height', Node145height);
- Node145.a('node.rect', [0, 0, Node145width, Node145height]);
- Node145.a('node.bordercolor','rgba(0,0,0,1)');
- Node145.a('node.borderwidth', 0);
- Node145.a('node.background','' || 'rgba(0,0,0,0)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','');
- Node145.a('node.text','装机容量');
- Node145.a('node.textalign','left');
- Node145.a('node.textvAlign','middle');
- Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
- Node145.a('node.color','rgba(0,0,0,1)');
- Node145.a('node.font',' '+ Node145fontSize + 'px "微软雅黑"');
- Node145.a('node.textvisible',true);
- Node145.a('node.linefeed',false);
- if (false) {
- Node145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node145.a('node.text') || '装机容量';
- var color=Node145.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"left",color,' '+ Node145fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node145.a('node.underlinepoints',[Node145lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node145fontSize + 'px "微软雅黑"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
- Node145.a('node.underlinevisible',false);
- Node145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node145);
- zoomNodeList.push({
- node: Node145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146type = 'rect';
- var Node146 = new ht.Node(),
- Node146BorderWidth = 1*2;
- if (Node146type === 'arc') {
- Node146BorderWidth *= 1;
- }
- Node146.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node146.setPosition(359*ratio.ratioX, 51*ratio.ratioY);
- Node146.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node146.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node146.a('node.width', 94*_ratio.ratioX);
- Node146.a('node.height', 24.33136*_ratio.ratioY);
- Node146.a('node.type', Node146type);
- Node146.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_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.33138*_ratio.ratioY, Node147type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node147.setPosition(359*ratio.ratioX, 75*ratio.ratioY);
- Node147.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node147.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node147.a('node.width', 94*_ratio.ratioX);
- Node147.a('node.height', 24.33138*_ratio.ratioY);
- Node147.a('node.type', Node147type);
- Node147.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_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(359*ratio.ratioX, 99*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 Node149type = 'rect';
- var Node149 = new ht.Node(),
- Node149BorderWidth = 1*2;
- if (Node149type === 'arc') {
- Node149BorderWidth *= 1;
- }
- Node149.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node149type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node149.setPosition(359*ratio.ratioX, 124*ratio.ratioY);
- Node149.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node149.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node149.a('node.width', 94*_ratio.ratioX);
- Node149.a('node.height', 24.33136*_ratio.ratioY);
- Node149.a('node.type', Node149type);
- Node149.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node149.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node149.a('node.gradientcolor', '');
- Node149.a('node.gradient', '');
- Node149.a('node.borderwidth', Node149BorderWidth);
- Node149.a('node.color', 'rgba(224,224,224,1)');
- Node149.a('node.fillrect', [0,0,0,0]);
- Node149.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node149.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node149.a('node.fillgradient', '');
- if (Node149type !== 'rect') {
- Node149.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node149.a('node.arcTo', parseFloat('@arcTo@'));
- Node149.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node149type === 'arc') {
- Node149.a('node.arcOval', true);
- }
- Node149.setRotation(0*Math.PI/180);
- Node149.borderWidth = Node149BorderWidth;
- Node149.borderFillwidth = Node149BorderWidth;
- dataModel.add(Node149);
- Node149._nodename = 'Node149'
- Node149._nodeType = 'rect';
- zoomNodeList.push({
- node: Node149,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node149, Node149.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var 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(359*ratio.ratioX, 53*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(359*ratio.ratioX, 77*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(359*ratio.ratioX, 102*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(359*ratio.ratioX, 125*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(438*ratio.ratioX, 51*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(438*ratio.ratioX, 75*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(438*ratio.ratioX, 99*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(438*ratio.ratioX, 124*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 Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'center', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 59*_ratio.ratioX, Node158height = 26*_ratio.ratioY;
- (function () {
- if (Node158align === 'left') {
- Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
- Node158textWidth = Node158width;
- Node158lineStart = 1;
- } else if (Node158align === 'right') {
- Node158textStart = 0;
- Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
- Node158lineStart = (Node158width - (ht.Default.getTextSize('万kW', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('万kW', ' '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(439*ratio.ratioX, 53*ratio.ratioY);
- Node158.setWidth(Node158width);
- Node158.setHeight(Node158height);
- Node158._nodeType = 'text';
- Node158._disallowEvert = true;
- Node158.setRotation(0*Math.PI/180);
- Node158.a('node.width', Node158width);
- Node158.a('node.height', Node158height);
- Node158.a('node.rect', [0, 0, Node158width, Node158height]);
- Node158.a('node.bordercolor','rgba(128,128,128,1)');
- Node158.a('node.borderwidth', 0);
- Node158.a('node.background','' || 'rgba(0,0,0,0)');
- Node158.a('node.gradient','');
- Node158.a('node.gradientcolor','');
- Node158.a('node.text','万kW');
- Node158.a('node.textalign','center');
- Node158.a('node.textvAlign','middle');
- Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
- Node158.a('node.color','rgba(128,128,128,1)');
- Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || '万kW';
- var color=Node158.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"center",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
- Node158.a('node.underlinevisible',false);
- Node158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158);
- zoomNodeList.push({
- node: Node158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159 = new ht.Node();
- var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'center', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 59*_ratio.ratioX, Node159height = 26*_ratio.ratioY;
- (function () {
- if (Node159align === 'left') {
- Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
- Node159textWidth = Node159width;
- Node159lineStart = 1;
- } else if (Node159align === 'right') {
- Node159textStart = 0;
- Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
- Node159lineStart = (Node159width - (ht.Default.getTextSize('MW', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('MW', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(439*ratio.ratioX, 77*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','MW');
- 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') || 'MW';
- 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('MW', ' '+ 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('m/s', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('m/s', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(439*ratio.ratioX, 100*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','m/s');
- 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') || 'm/s';
- 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('m/s', ' '+ 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('万kWh', ' '+ Node161fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node161align === 'center') {
- Node161textStart = -3;
- Node161textWidth = Node161width;
- Node161lineStart = Node161width - ht.Default.getTextSize('万kWh', ' '+ Node161fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node161.setImage(GD.getTextJSON(Node161width, Node161height, true, false, false, ' '+ Node161fontSize + 'px "Arial"'))
- Node161.setPosition(439*ratio.ratioX, 126*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','万kWh');
- 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') || '万kWh';
- 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('万kWh', ' '+ 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 Node162type = 'rect';
- var Node162 = new ht.Node(),
- Node162BorderWidth = 1*2;
- if (Node162type === 'arc') {
- Node162BorderWidth *= 1;
- }
- Node162.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node162.setPosition(643*ratio.ratioX, 51*ratio.ratioY);
- Node162.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node162.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node162.a('node.width', 94*_ratio.ratioX);
- Node162.a('node.height', 24.33136*_ratio.ratioY);
- Node162.a('node.type', Node162type);
- Node162.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node162.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node162.a('node.gradientcolor', '');
- Node162.a('node.gradient', '');
- Node162.a('node.borderwidth', Node162BorderWidth);
- Node162.a('node.color', 'rgba(224,224,224,1)');
- Node162.a('node.fillrect', [0,0,0,0]);
- Node162.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradient', '');
- if (Node162type !== 'rect') {
- Node162.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node162.a('node.arcTo', parseFloat('@arcTo@'));
- Node162.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node162type === 'arc') {
- Node162.a('node.arcOval', true);
- }
- Node162.setRotation(0*Math.PI/180);
- Node162.borderWidth = Node162BorderWidth;
- Node162.borderFillwidth = Node162BorderWidth;
- dataModel.add(Node162);
- Node162._nodename = 'Node162'
- Node162._nodeType = 'rect';
- zoomNodeList.push({
- node: Node162,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node162, Node162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163type = 'rect';
- var Node163 = new ht.Node(),
- Node163BorderWidth = 1*2;
- if (Node163type === 'arc') {
- Node163BorderWidth *= 1;
- }
- Node163.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node163type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node163.setPosition(643*ratio.ratioX, 75*ratio.ratioY);
- Node163.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node163.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node163.a('node.width', 94*_ratio.ratioX);
- Node163.a('node.height', 24.33138*_ratio.ratioY);
- Node163.a('node.type', Node163type);
- Node163.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node163.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node163.a('node.gradientcolor', '');
- Node163.a('node.gradient', '');
- Node163.a('node.borderwidth', Node163BorderWidth);
- Node163.a('node.color', 'rgba(224,224,224,1)');
- Node163.a('node.fillrect', [0,0,0,0]);
- Node163.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradient', '');
- if (Node163type !== 'rect') {
- Node163.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node163.a('node.arcTo', parseFloat('@arcTo@'));
- Node163.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node163type === 'arc') {
- Node163.a('node.arcOval', true);
- }
- Node163.setRotation(0*Math.PI/180);
- Node163.borderWidth = Node163BorderWidth;
- Node163.borderFillwidth = Node163BorderWidth;
- dataModel.add(Node163);
- Node163._nodename = 'Node163'
- Node163._nodeType = 'rect';
- zoomNodeList.push({
- node: Node163,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node163, Node163.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164type = 'rect';
- var Node164 = new ht.Node(),
- Node164BorderWidth = 1*2;
- if (Node164type === 'arc') {
- Node164BorderWidth *= 1;
- }
- Node164.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node164type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node164.setPosition(643*ratio.ratioX, 99*ratio.ratioY);
- Node164.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node164.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node164.a('node.width', 94*_ratio.ratioX);
- Node164.a('node.height', 24.33138*_ratio.ratioY);
- Node164.a('node.type', Node164type);
- Node164.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node164.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node164.a('node.gradientcolor', '');
- Node164.a('node.gradient', '');
- Node164.a('node.borderwidth', Node164BorderWidth);
- Node164.a('node.color', 'rgba(224,224,224,1)');
- Node164.a('node.fillrect', [0,0,0,0]);
- Node164.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradient', '');
- if (Node164type !== 'rect') {
- Node164.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node164.a('node.arcTo', parseFloat('@arcTo@'));
- Node164.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node164type === 'arc') {
- Node164.a('node.arcOval', true);
- }
- Node164.setRotation(0*Math.PI/180);
- Node164.borderWidth = Node164BorderWidth;
- Node164.borderFillwidth = Node164BorderWidth;
- dataModel.add(Node164);
- Node164._nodename = 'Node164'
- Node164._nodeType = 'rect';
- zoomNodeList.push({
- node: Node164,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node164, Node164.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165type = 'rect';
- var Node165 = new ht.Node(),
- Node165BorderWidth = 1*2;
- if (Node165type === 'arc') {
- Node165BorderWidth *= 1;
- }
- Node165.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node165type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node165.setPosition(643*ratio.ratioX, 124*ratio.ratioY);
- Node165.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node165.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node165.a('node.width', 94*_ratio.ratioX);
- Node165.a('node.height', 24.33136*_ratio.ratioY);
- Node165.a('node.type', Node165type);
- Node165.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_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 Node166 = new ht.Node();
- var Node166textStart, Node166textWidth, Node166lineStart, Node166align = 'center', Node166fontSize = 13.3333*_ratio.ratioY,Node166width = 58*_ratio.ratioX, Node166height = 26*_ratio.ratioY;
- (function () {
- if (Node166align === 'left') {
- Node166textStart = Node166fontSize * 0.2 > 2 ? Node166fontSize * 0.2 - 4 : Node166fontSize * 0.2 - 9;
- Node166textWidth = Node166width;
- Node166lineStart = 1;
- } else if (Node166align === 'right') {
- Node166textStart = 0;
- Node166textWidth =Node166fontSize <= 8 ? Node166width + Node166fontSize * 0.2 + 6 : Node166width - Node166fontSize * 0.2;
- Node166lineStart = (Node166width - (ht.Default.getTextSize('0', ' '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('0', ' '+ Node166fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, ' '+ Node166fontSize + 'px "Arial"'))
- Node166.setPosition(643*ratio.ratioX, 53*ratio.ratioY);
- Node166.setWidth(Node166width);
- Node166.setHeight(Node166height);
- Node166._nodeType = 'text';
- Node166._disallowEvert = true;
- Node166.setRotation(0*Math.PI/180);
- Node166.a('node.width', Node166width);
- Node166.a('node.height', Node166height);
- Node166.a('node.rect', [0, 0, Node166width, Node166height]);
- Node166.a('node.bordercolor','rgba(0,0,0,1)');
- Node166.a('node.borderwidth', 0);
- Node166.a('node.background','' || 'rgba(0,0,0,0)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','');
- Node166.a('node.text','0');
- Node166.a('node.textalign','center');
- Node166.a('node.textvAlign','middle');
- Node166.a('node.textrect', [Node166textStart, 0, Node166textWidth, Node166height]);
- Node166.a('node.color','rgba(0,0,0,1)');
- Node166.a('node.font',' '+ Node166fontSize + 'px "Arial"');
- Node166.a('node.textvisible',true);
- Node166.a('node.linefeed',false);
- if (false) {
- Node166.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node166.a('node.text') || '0';
- var color=Node166.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node166width,Node166height,13.3333*_ratio.ratioY,"center",color,' '+ Node166fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node166fontSize + 'px "Arial"').width + 6, (Node166height - Node166fontSize) * 0.5*_ratio.ratioY + Node166fontSize + 2 ]);
- Node166.a('node.underlinevisible',false);
- Node166.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node166);
- zoomNodeList.push({
- node: Node166,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'center', Node167fontSize = 13.3333*_ratio.ratioY,Node167width = 58*_ratio.ratioX, Node167height = 26*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(643*ratio.ratioX, 77*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(0,0,0,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','0');
- Node167.a('node.textalign','center');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(0,0,0,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '0';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node167width,Node167height,13.3333*_ratio.ratioY,"center",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'center', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 58*_ratio.ratioX, Node168height = 26*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(643*ratio.ratioX, 102*ratio.ratioY);
- Node168.setWidth(Node168width);
- Node168.setHeight(Node168height);
- Node168._nodeType = 'text';
- Node168._disallowEvert = true;
- Node168.setRotation(0*Math.PI/180);
- Node168.a('node.width', Node168width);
- Node168.a('node.height', Node168height);
- Node168.a('node.rect', [0, 0, Node168width, Node168height]);
- Node168.a('node.bordercolor','rgba(0,0,0,1)');
- Node168.a('node.borderwidth', 0);
- Node168.a('node.background','' || 'rgba(0,0,0,0)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','');
- Node168.a('node.text','0');
- Node168.a('node.textalign','center');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(0,0,0,1)');
- Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '0';
- var color=Node168.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"center",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'center', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 58*_ratio.ratioX, Node169height = 26*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(643*ratio.ratioX, 125*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(0,0,0,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','0');
- Node169.a('node.textalign','center');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(0,0,0,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '0';
- var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"center",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170type = 'rect';
- var Node170 = new ht.Node(),
- Node170BorderWidth = 1*2;
- if (Node170type === 'arc') {
- Node170BorderWidth *= 1;
- }
- Node170.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node170type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node170.setPosition(722*ratio.ratioX, 51*ratio.ratioY);
- Node170.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node170.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node170.a('node.width', 65*_ratio.ratioX);
- Node170.a('node.height', 24.33136*_ratio.ratioY);
- Node170.a('node.type', Node170type);
- Node170.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node170.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node170.a('node.gradientcolor', '');
- Node170.a('node.gradient', '');
- Node170.a('node.borderwidth', Node170BorderWidth);
- Node170.a('node.color', 'rgba(224,224,224,1)');
- Node170.a('node.fillrect', [0,0,0,0]);
- Node170.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node170.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node170.a('node.fillgradient', '');
- if (Node170type !== 'rect') {
- Node170.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node170.a('node.arcTo', parseFloat('@arcTo@'));
- Node170.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node170type === 'arc') {
- Node170.a('node.arcOval', true);
- }
- Node170.setRotation(0*Math.PI/180);
- Node170.borderWidth = Node170BorderWidth;
- Node170.borderFillwidth = Node170BorderWidth;
- dataModel.add(Node170);
- Node170._nodename = 'Node170'
- Node170._nodeType = 'rect';
- zoomNodeList.push({
- node: Node170,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node170, Node170.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171type = 'rect';
- var Node171 = new ht.Node(),
- Node171BorderWidth = 1*2;
- if (Node171type === 'arc') {
- Node171BorderWidth *= 1;
- }
- Node171.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node171type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node171.setPosition(722*ratio.ratioX, 75*ratio.ratioY);
- Node171.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node171.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node171.a('node.width', 65*_ratio.ratioX);
- Node171.a('node.height', 24.33138*_ratio.ratioY);
- Node171.a('node.type', Node171type);
- Node171.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node171.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node171.a('node.gradientcolor', '');
- Node171.a('node.gradient', '');
- Node171.a('node.borderwidth', Node171BorderWidth);
- Node171.a('node.color', 'rgba(224,224,224,1)');
- Node171.a('node.fillrect', [0,0,0,0]);
- Node171.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node171.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node171.a('node.fillgradient', '');
- if (Node171type !== 'rect') {
- Node171.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node171.a('node.arcTo', parseFloat('@arcTo@'));
- Node171.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node171type === 'arc') {
- Node171.a('node.arcOval', true);
- }
- Node171.setRotation(0*Math.PI/180);
- Node171.borderWidth = Node171BorderWidth;
- Node171.borderFillwidth = Node171BorderWidth;
- dataModel.add(Node171);
- Node171._nodename = 'Node171'
- Node171._nodeType = 'rect';
- zoomNodeList.push({
- node: Node171,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node171, Node171.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172type = 'rect';
- var Node172 = new ht.Node(),
- Node172BorderWidth = 1*2;
- if (Node172type === 'arc') {
- Node172BorderWidth *= 1;
- }
- Node172.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node172type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node172.setPosition(722*ratio.ratioX, 99*ratio.ratioY);
- Node172.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node172.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node172.a('node.width', 65*_ratio.ratioX);
- Node172.a('node.height', 24.33138*_ratio.ratioY);
- Node172.a('node.type', Node172type);
- Node172.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node172.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node172.a('node.gradientcolor', '');
- Node172.a('node.gradient', '');
- Node172.a('node.borderwidth', Node172BorderWidth);
- Node172.a('node.color', 'rgba(224,224,224,1)');
- Node172.a('node.fillrect', [0,0,0,0]);
- Node172.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node172.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node172.a('node.fillgradient', '');
- if (Node172type !== 'rect') {
- Node172.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node172.a('node.arcTo', parseFloat('@arcTo@'));
- Node172.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node172type === 'arc') {
- Node172.a('node.arcOval', true);
- }
- Node172.setRotation(0*Math.PI/180);
- Node172.borderWidth = Node172BorderWidth;
- Node172.borderFillwidth = Node172BorderWidth;
- dataModel.add(Node172);
- Node172._nodename = 'Node172'
- Node172._nodeType = 'rect';
- zoomNodeList.push({
- node: Node172,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node172, Node172.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173type = 'rect';
- var Node173 = new ht.Node(),
- Node173BorderWidth = 1*2;
- if (Node173type === 'arc') {
- Node173BorderWidth *= 1;
- }
- Node173.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node173type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node173.setPosition(722*ratio.ratioX, 124*ratio.ratioY);
- Node173.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node173.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node173.a('node.width', 65*_ratio.ratioX);
- Node173.a('node.height', 24.33136*_ratio.ratioY);
- Node173.a('node.type', Node173type);
- Node173.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node173.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node173.a('node.gradientcolor', '');
- Node173.a('node.gradient', '');
- Node173.a('node.borderwidth', Node173BorderWidth);
- Node173.a('node.color', 'rgba(224,224,224,1)');
- Node173.a('node.fillrect', [0,0,0,0]);
- Node173.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node173.a('node.fillgradient', '');
- if (Node173type !== 'rect') {
- Node173.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node173.a('node.arcTo', parseFloat('@arcTo@'));
- Node173.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node173type === 'arc') {
- Node173.a('node.arcOval', true);
- }
- Node173.setRotation(0*Math.PI/180);
- Node173.borderWidth = Node173BorderWidth;
- Node173.borderFillwidth = Node173BorderWidth;
- dataModel.add(Node173);
- Node173._nodename = 'Node173'
- Node173._nodeType = 'rect';
- zoomNodeList.push({
- node: Node173,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node173, Node173.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'center', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 59*_ratio.ratioX, Node174height = 26*_ratio.ratioY;
- (function () {
- if (Node174align === 'left') {
- Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9;
- Node174textWidth = Node174width;
- Node174lineStart = 1;
- } else if (Node174align === 'right') {
- Node174textStart = 0;
- Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2;
- Node174lineStart = (Node174width - (ht.Default.getTextSize('万kWh', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('万kWh', ' '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(723*ratio.ratioX, 53*ratio.ratioY);
- Node174.setWidth(Node174width);
- Node174.setHeight(Node174height);
- Node174._nodeType = 'text';
- Node174._disallowEvert = true;
- Node174.setRotation(0*Math.PI/180);
- Node174.a('node.width', Node174width);
- Node174.a('node.height', Node174height);
- Node174.a('node.rect', [0, 0, Node174width, Node174height]);
- Node174.a('node.bordercolor','rgba(128,128,128,1)');
- Node174.a('node.borderwidth', 0);
- Node174.a('node.background','' || 'rgba(0,0,0,0)');
- Node174.a('node.gradient','');
- Node174.a('node.gradientcolor','');
- Node174.a('node.text','万kWh');
- Node174.a('node.textalign','center');
- Node174.a('node.textvAlign','middle');
- Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]);
- Node174.a('node.color','rgba(128,128,128,1)');
- Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"');
- Node174.a('node.textvisible',true);
- Node174.a('node.linefeed',false);
- if (false) {
- Node174.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node174.a('node.text') || '万kWh';
- var color=Node174.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node174width,Node174height,13.3333*_ratio.ratioY,"center",color,' '+ Node174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node174.a('node.underlinepoints',[Node174lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]);
- Node174.a('node.underlinevisible',false);
- Node174.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node174);
- zoomNodeList.push({
- node: Node174,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.Node();
- var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'center', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 59*_ratio.ratioX, Node175height = 26*_ratio.ratioY;
- (function () {
- if (Node175align === 'left') {
- Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9;
- Node175textWidth = Node175width;
- Node175lineStart = 1;
- } else if (Node175align === 'right') {
- Node175textStart = 0;
- Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2;
- Node175lineStart = (Node175width - (ht.Default.getTextSize('万kWh', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('万kWh', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(723*ratio.ratioX, 77*ratio.ratioY);
- Node175.setWidth(Node175width);
- Node175.setHeight(Node175height);
- Node175._nodeType = 'text';
- Node175._disallowEvert = true;
- Node175.setRotation(0*Math.PI/180);
- Node175.a('node.width', Node175width);
- Node175.a('node.height', Node175height);
- Node175.a('node.rect', [0, 0, Node175width, Node175height]);
- Node175.a('node.bordercolor','rgba(128,128,128,1)');
- Node175.a('node.borderwidth', 0);
- Node175.a('node.background','' || 'rgba(0,0,0,0)');
- Node175.a('node.gradient','');
- Node175.a('node.gradientcolor','');
- Node175.a('node.text','万kWh');
- Node175.a('node.textalign','center');
- Node175.a('node.textvAlign','middle');
- Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]);
- Node175.a('node.color','rgba(128,128,128,1)');
- Node175.a('node.font',' '+ Node175fontSize + 'px "Arial"');
- Node175.a('node.textvisible',true);
- Node175.a('node.linefeed',false);
- if (false) {
- Node175.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node175.a('node.text') || '万kWh';
- var color=Node175.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node175width,Node175height,13.3333*_ratio.ratioY,"center",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node175fontSize + 'px "Arial"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]);
- Node175.a('node.underlinevisible',false);
- Node175.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node175);
- zoomNodeList.push({
- node: Node175,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176 = new ht.Node();
- var Node176textStart, Node176textWidth, Node176lineStart, Node176align = 'center', Node176fontSize = 13.3333*_ratio.ratioY,Node176width = 59*_ratio.ratioX, Node176height = 26*_ratio.ratioY;
- (function () {
- if (Node176align === 'left') {
- Node176textStart = Node176fontSize * 0.2 > 2 ? Node176fontSize * 0.2 - 4 : Node176fontSize * 0.2 - 9;
- Node176textWidth = Node176width;
- Node176lineStart = 1;
- } else if (Node176align === 'right') {
- Node176textStart = 0;
- Node176textWidth =Node176fontSize <= 8 ? Node176width + Node176fontSize * 0.2 + 6 : Node176width - Node176fontSize * 0.2;
- Node176lineStart = (Node176width - (ht.Default.getTextSize('万kWh', ' '+ Node176fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('万kWh', ' '+ Node176fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "Arial"'))
- Node176.setPosition(723*ratio.ratioX, 100*ratio.ratioY);
- Node176.setWidth(Node176width);
- Node176.setHeight(Node176height);
- Node176._nodeType = 'text';
- Node176._disallowEvert = true;
- Node176.setRotation(0*Math.PI/180);
- Node176.a('node.width', Node176width);
- Node176.a('node.height', Node176height);
- Node176.a('node.rect', [0, 0, Node176width, Node176height]);
- Node176.a('node.bordercolor','rgba(128,128,128,1)');
- Node176.a('node.borderwidth', 0);
- Node176.a('node.background','' || 'rgba(0,0,0,0)');
- Node176.a('node.gradient','');
- Node176.a('node.gradientcolor','');
- Node176.a('node.text','万kWh');
- Node176.a('node.textalign','center');
- Node176.a('node.textvAlign','middle');
- Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]);
- Node176.a('node.color','rgba(128,128,128,1)');
- Node176.a('node.font',' '+ Node176fontSize + 'px "Arial"');
- Node176.a('node.textvisible',true);
- Node176.a('node.linefeed',false);
- if (false) {
- Node176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176.a('node.text') || '万kWh';
- var color=Node176.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176width,Node176height,13.3333*_ratio.ratioY,"center",color,' '+ Node176fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node176fontSize + 'px "Arial"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]);
- Node176.a('node.underlinevisible',false);
- Node176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176);
- zoomNodeList.push({
- node: Node176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'center', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 59*_ratio.ratioX, Node177height = 26*_ratio.ratioY;
- (function () {
- if (Node177align === 'left') {
- Node177textStart = Node177fontSize * 0.2 > 2 ? Node177fontSize * 0.2 - 4 : Node177fontSize * 0.2 - 9;
- Node177textWidth = Node177width;
- Node177lineStart = 1;
- } else if (Node177align === 'right') {
- Node177textStart = 0;
- Node177textWidth =Node177fontSize <= 8 ? Node177width + Node177fontSize * 0.2 + 6 : Node177width - Node177fontSize * 0.2;
- Node177lineStart = (Node177width - (ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(723*ratio.ratioX, 126*ratio.ratioY);
- Node177.setWidth(Node177width);
- Node177.setHeight(Node177height);
- Node177._nodeType = 'text';
- Node177._disallowEvert = true;
- Node177.setRotation(0*Math.PI/180);
- Node177.a('node.width', Node177width);
- Node177.a('node.height', Node177height);
- Node177.a('node.rect', [0, 0, Node177width, Node177height]);
- Node177.a('node.bordercolor','rgba(128,128,128,1)');
- Node177.a('node.borderwidth', 0);
- Node177.a('node.background','' || 'rgba(0,0,0,0)');
- Node177.a('node.gradient','');
- Node177.a('node.gradientcolor','');
- Node177.a('node.text','万kWh');
- Node177.a('node.textalign','center');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(128,128,128,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "Arial"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '万kWh';
- var color=Node177.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"center",color,' '+ Node177fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 11.99997*_ratio.ratioY,Node178width = 53*_ratio.ratioX, Node178height = 20*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('机', 'bold '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('机', 'bold '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, 'bold '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(1348*ratio.ratioX, 87*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(255,255,255,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','机');
- Node178.a('node.textalign','left');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(255,255,255,1)');
- Node178.a('node.font','bold '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '机';
- var color=Node178.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node178width,Node178height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 11.99997*_ratio.ratioY,Node179width = 53*_ratio.ratioX, Node179height = 20*_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('状', 'bold '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('状', 'bold '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, 'bold '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(1348*ratio.ratioX, 110*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(255,255,255,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','状');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(255,255,255,1)');
- Node179.a('node.font','bold '+ 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') || '状';
- var color=Node179.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node179width,Node179height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 11.99997*_ratio.ratioY,Node180width = 53*_ratio.ratioX, Node180height = 20*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('态', 'bold '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('态', 'bold '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, 'bold '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(1348*ratio.ratioX, 132*ratio.ratioY);
- Node180.setWidth(Node180width);
- Node180.setHeight(Node180height);
- Node180._nodeType = 'text';
- Node180._disallowEvert = true;
- Node180.setRotation(0*Math.PI/180);
- Node180.a('node.width', Node180width);
- Node180.a('node.height', Node180height);
- Node180.a('node.rect', [0, 0, Node180width, Node180height]);
- Node180.a('node.bordercolor','rgba(255,255,255,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','态');
- Node180.a('node.textalign','left');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(255,255,255,1)');
- Node180.a('node.font','bold '+ Node180fontSize + 'px "Arial"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '态';
- var color=Node180.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node180width,Node180height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'center', Node181fontSize = 14.66663*_ratio.ratioY,Node181width = 67*_ratio.ratioX, Node181height = 26*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('台', ' '+ Node181fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('台', ' '+ Node181fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "Arial"'))
- Node181.setPosition(1591*ratio.ratioX, 85*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(105,105,105,1)');
- Node181.a('node.borderwidth', 0);
- Node181.a('node.background','' || 'rgba(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','');
- Node181.a('node.text','台');
- Node181.a('node.textalign','center');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(105,105,105,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') || '台';
- var color=Node181.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node181width,Node181height,14.66663*_ratio.ratioY,"center",color,' '+ Node181fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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'
- }); var Node182;
- (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');
- Node182 = new ht.Node();
- Node182.setPosition(1480*ratio.ratioX, 69*ratio.ratioY);
- Node182.setSize(9*ratioX, 60*ratioY);
- Node182.setImage('imgimage//page_list_box_left_blue.jpg');
- Node182.setRotation(0*Math.PI/180);
- Node182._zoomBy = 'Default';
- Node182._nodeType = 'image';
- Node182._disallowEvert = true;
- dataModel.add(Node182);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183type = 'rect';
- var Node183 = new ht.Node(),
- Node183BorderWidth = 1*2;
- if (Node183type === 'arc') {
- Node183BorderWidth *= 1;
- }
- Node183.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node183type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node183.setPosition(1549*ratio.ratioX, 69*ratio.ratioY);
- Node183.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node183.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node183.a('node.width', 127*_ratio.ratioX);
- Node183.a('node.height', 60.81538*_ratio.ratioY);
- Node183.a('node.type', Node183type);
- Node183.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node183.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node183.a('node.gradientcolor', '');
- Node183.a('node.gradient', '');
- Node183.a('node.borderwidth', Node183BorderWidth);
- Node183.a('node.color', 'rgba(128,128,128,1)');
- Node183.a('node.fillrect', [0,0,0,0]);
- Node183.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node183.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node183.a('node.fillgradient', '');
- if (Node183type !== 'rect') {
- Node183.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node183.a('node.arcTo', parseFloat('@arcTo@'));
- Node183.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node183type === 'arc') {
- Node183.a('node.arcOval', true);
- }
- Node183.setRotation(0*Math.PI/180);
- Node183.borderWidth = Node183BorderWidth;
- Node183.borderFillwidth = Node183BorderWidth;
- dataModel.add(Node183);
- Node183._nodename = 'Node183'
- Node183._nodeType = 'rect';
- zoomNodeList.push({
- node: Node183,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node183, Node183.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 15.99996*_ratio.ratioY,Node184width = 29*_ratio.ratioX, Node184height = 25*_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('0', ' '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('0', ' '+ Node184fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "Arial"'))
- Node184.setPosition(1512*ratio.ratioX, 84*ratio.ratioY);
- Node184.setWidth(Node184width);
- Node184.setHeight(Node184height);
- Node184._nodeType = 'text';
- Node184._disallowEvert = true;
- Node184.setRotation(0*Math.PI/180);
- Node184.a('node.width', Node184width);
- Node184.a('node.height', Node184height);
- Node184.a('node.rect', [0, 0, Node184width, Node184height]);
- Node184.a('node.bordercolor','rgba(0,0,0,1)');
- Node184.a('node.borderwidth', 0);
- Node184.a('node.background','' || 'rgba(0,0,0,0)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','');
- Node184.a('node.text','0');
- Node184.a('node.textalign','left');
- Node184.a('node.textvAlign','middle');
- Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
- Node184.a('node.color','rgba(0,0,0,1)');
- Node184.a('node.font',' '+ 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') || '0';
- var color=Node184.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node184width,Node184height,15.99996*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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'
- }); var Node185;
- (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');
- Node185 = new ht.Node();
- Node185.setPosition(1756*ratio.ratioX, 69*ratio.ratioY);
- Node185.setSize(9*ratioX, 60*ratioY);
- Node185.setImage('imgimage//page_list_box_left_red.jpg');
- Node185.setRotation(0*Math.PI/180);
- Node185._zoomBy = 'Default';
- Node185._nodeType = 'image';
- Node185._disallowEvert = true;
- dataModel.add(Node185);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 15.99996*_ratio.ratioY,Node186width = 29*_ratio.ratioX, Node186height = 25*_ratio.ratioY;
- (function () {
- if (Node186align === 'left') {
- Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
- Node186textWidth = Node186width;
- Node186lineStart = 1;
- } else if (Node186align === 'right') {
- Node186textStart = 0;
- Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
- Node186lineStart = (Node186width - (ht.Default.getTextSize('0', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('0', ' '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(1788*ratio.ratioX, 84*ratio.ratioY);
- Node186.setWidth(Node186width);
- Node186.setHeight(Node186height);
- Node186._nodeType = 'text';
- Node186._disallowEvert = true;
- Node186.setRotation(0*Math.PI/180);
- Node186.a('node.width', Node186width);
- Node186.a('node.height', Node186height);
- Node186.a('node.rect', [0, 0, Node186width, Node186height]);
- Node186.a('node.bordercolor','rgba(0,0,0,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','0');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(0,0,0,1)');
- Node186.a('node.font',' '+ Node186fontSize + 'px "Arial"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '0';
- var color=Node186.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node186width,Node186height,15.99996*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
- Node186.a('node.underlinevisible',false);
- Node186.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node186);
- zoomNodeList.push({
- node: Node186,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187 = new ht.Node();
- var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'left', Node187fontSize = 13.3333*_ratio.ratioY,Node187width = 47*_ratio.ratioX, Node187height = 38*_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('离线', 'bold '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('离线', 'bold '+ Node187fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, 'bold '+ Node187fontSize + 'px "Arial"'))
- Node187.setPosition(1787*ratio.ratioX, 113*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(0,0,0,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','left');
- Node187.a('node.textvAlign','middle');
- Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
- Node187.a('node.color','rgba(0,0,0,1)');
- Node187.a('node.font','bold '+ 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node187fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node187.a('node.underlinepoints',[Node187lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.Node();
- var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 15.99996*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 25*_ratio.ratioY;
- (function () {
- if (Node188align === 'left') {
- Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
- Node188textWidth = Node188width;
- Node188lineStart = 1;
- } else if (Node188align === 'right') {
- Node188textStart = 0;
- Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
- Node188lineStart = (Node188width - (ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(1788*ratio.ratioX, 145*ratio.ratioY);
- Node188.setWidth(Node188width);
- Node188.setHeight(Node188height);
- Node188._nodeType = 'text';
- Node188._disallowEvert = true;
- Node188.setRotation(0*Math.PI/180);
- Node188.a('node.width', Node188width);
- Node188.a('node.height', Node188height);
- Node188.a('node.rect', [0, 0, Node188width, Node188height]);
- Node188.a('node.bordercolor','rgba(0,0,0,1)');
- Node188.a('node.borderwidth', 0);
- Node188.a('node.background','' || 'rgba(0,0,0,0)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','');
- Node188.a('node.text','0');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(0,0,0,1)');
- Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
- Node188.a('node.textvisible',true);
- Node188.a('node.linefeed',false);
- if (false) {
- Node188.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node188.a('node.text') || '0';
- var color=Node188.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node188width,Node188height,15.99996*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node188.a('node.underlinepoints',[Node188lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node189 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node190 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 65*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node191 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node192 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 175*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node193 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node194 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node195 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node196 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 394*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node197 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node198 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 505*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node199 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node200 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 615*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node201 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node202 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 725*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node203 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node204 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 835*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxx':PageBackground_nlyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- if(typeof(Node1.borderWidth)!="undefined"){setDashStyle(Node1,"Node1",'NoDash',Node1.borderWidth);}
- if(typeof(Node3.borderWidth)!="undefined"){setDashStyle(Node3,"Node3",'NoDash',Node3.borderWidth);}
- if(typeof(Node5.borderWidth)!="undefined"){setDashStyle(Node5,"Node5",'NoDash',Node5.borderWidth);}
- if(typeof(Node7.borderWidth)!="undefined"){setDashStyle(Node7,"Node7",'NoDash',Node7.borderWidth);}
- if((0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);}
- if((0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}
- if((0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}
- if((0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}
- if((0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}
- if((0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}
- if((0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}
- if((0 )){Node203.s('2d.visible',true);}else{Node203.s('2d.visible',false);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node54.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0126') ),-1));
- Node60.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0192') ),-1));
- Node67.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0188') ),-1));
- Node68.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0196') ),-1));
- Node72.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0004') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0009') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0129') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0130') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0131') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0171') ),-1));
- Node75.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0130') ),-1));
- Node79.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0004') ),-1));
- Node81.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0131') ),-1));
- Node110.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0144') ),-1));
- Node111.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0140') ),-1));
- Node112.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0168') ),-1));
- Node113.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0160') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0164') ),-1));
- Node134.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0038') ),-1));
- Node135.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0034') ),-1));
- Node136.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0065') ),-1));
- Node137.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0054') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0061') ),-1));
- Node150.a('node.text',GetDital((getVarValue('GS_JCD.LN_GD_HY_JS_XX_XX_XXX_CI0006') ),-1));
- Node151.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0125') ),-1));
- Node152.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0124') ),-1));
- Node153.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0077') ),-1));
- Node166.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0089') ),-1));
- Node167.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0085') ),-1));
- Node168.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0116') ),-1));
- Node169.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0108') + getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0112') ),-1));
- Node184.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0171') ),-1));
- Node186.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0009') ),-1));
- Node188.a('node.text',GetDital((getVarValue('HY_FC_JSD.SX_GD_HYF_JS_XX_XX_XXX__CI0129') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((A==1)>0 )){Node14_0.s('2d.visible',true);}else{Node14_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node14_1.s('2d.visible',true);}else{Node14_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node15_0.s('2d.visible',true);}else{Node15_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node15_1.s('2d.visible',true);}else{Node15_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node16_0.s('2d.visible',true);}else{Node16_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node16_1.s('2d.visible',true);}else{Node16_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node17_0.s('2d.visible',true);}else{Node17_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node17_1.s('2d.visible',true);}else{Node17_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node18_0.s('2d.visible',true);}else{Node18_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node18_1.s('2d.visible',true);}else{Node18_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node19_0.s('2d.visible',true);}else{Node19_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node19_1.s('2d.visible',true);}else{Node19_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node20_0.s('2d.visible',true);}else{Node20_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node20_1.s('2d.visible',true);}else{Node20_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node21_0.s('2d.visible',true);}else{Node21_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node21_1.s('2d.visible',true);}else{Node21_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node22_0.s('2d.visible',true);}else{Node22_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node22_1.s('2d.visible',true);}else{Node22_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node23_0.s('2d.visible',true);}else{Node23_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node23_1.s('2d.visible',true);}else{Node23_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node24_0.s('2d.visible',true);}else{Node24_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node24_1.s('2d.visible',true);}else{Node24_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node25_0.s('2d.visible',true);}else{Node25_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node25_1.s('2d.visible',true);}else{Node25_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node26_0.s('2d.visible',true);}else{Node26_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node26_1.s('2d.visible',true);}else{Node26_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node27_0.s('2d.visible',true);}else{Node27_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node27_1.s('2d.visible',true);}else{Node27_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node28_0.s('2d.visible',true);}else{Node28_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node28_1.s('2d.visible',true);}else{Node28_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node29_0.s('2d.visible',true);}else{Node29_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node29_1.s('2d.visible',true);}else{Node29_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node30_0.s('2d.visible',true);}else{Node30_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node30_1.s('2d.visible',true);}else{Node30_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node31_0.s('2d.visible',true);}else{Node31_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node31_1.s('2d.visible',true);}else{Node31_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==1)>0 )){Node189.s('2d.visible',true);}else{Node189.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node190.s('2d.visible',true);}else{Node190.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node191.s('2d.visible',true);}else{Node191.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node192.s('2d.visible',true);}else{Node192.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node193.s('2d.visible',true);}else{Node193.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node194.s('2d.visible',true);}else{Node194.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node195.s('2d.visible',true);}else{Node195.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node196.s('2d.visible',true);}else{Node196.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node198.s('2d.visible',true);}else{Node198.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node200.s('2d.visible',true);}else{Node200.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node202.s('2d.visible',true);}else{Node202.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node203.s('2d.visible',true);}else{Node203.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node204.s('2d.visible',true);}else{Node204.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 === Node14_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node14_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node15_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node15_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node16_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node16_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node17_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node17_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node18_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node18_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_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node19_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node19_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node26_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node26_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node27_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node27_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/zmt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node28_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node28_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/syz_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node29_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node29_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/jz_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node30_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node30_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/fjxx_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node31_0){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node31_1){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/cft_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node191){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node193){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node195){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node197){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node199){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 !== Node14_0&& objMouseOn===Node14_0){A=0; }
- if(data !== Node14_1&& objMouseOn===Node14_1){A=0; }
- if(data !== Node15_0&& objMouseOn===Node15_0){B=0; }
- if(data !== Node15_1&& objMouseOn===Node15_1){B=0; }
- if(data !== Node16_0&& objMouseOn===Node16_0){C=0; }
- if(data !== Node16_1&& objMouseOn===Node16_1){C=0; }
- if(data !== Node17_0&& objMouseOn===Node17_0){F=0; }
- if(data !== Node17_1&& objMouseOn===Node17_1){F=0; }
- if(data !== Node18_0&& objMouseOn===Node18_0){E=0; }
- if(data !== Node18_1&& objMouseOn===Node18_1){E=0; }
- if(data !== Node19_0&& objMouseOn===Node19_0){D=0; }
- if(data !== Node19_1&& objMouseOn===Node19_1){D=0; }
- if(data !== Node26_0&& objMouseOn===Node26_0){A=0; }
- if(data !== Node26_1&& objMouseOn===Node26_1){A=0; }
- if(data !== Node27_0&& objMouseOn===Node27_0){B=0; }
- if(data !== Node27_1&& objMouseOn===Node27_1){B=0; }
- if(data !== Node28_0&& objMouseOn===Node28_0){C=0; }
- if(data !== Node28_1&& objMouseOn===Node28_1){C=0; }
- if(data !== Node29_0&& objMouseOn===Node29_0){F=0; }
- if(data !== Node29_1&& objMouseOn===Node29_1){F=0; }
- if(data !== Node30_0&& objMouseOn===Node30_0){E=0; }
- if(data !== Node30_1&& objMouseOn===Node30_1){E=0; }
- if(data !== Node31_0&& objMouseOn===Node31_0){D=0; }
- if(data !== Node31_1&& objMouseOn===Node31_1){D=0; }
- if(data !== Node189&& objMouseOn===Node189){sxxny=0; }
- if(data !== Node191&& objMouseOn===Node191){yygjb=0; }
- if(data !== Node193&& objMouseOn===Node193){plhts=0; }
- if(data !== Node195&& objMouseOn===Node195){tqwns=0; }
- if(data !== Node197&& objMouseOn===Node197){gljf=0; }
- if(data !== Node199&& objMouseOn===Node199){hyfy=0; }
- if(data !== Node201&& objMouseOn===Node201){llbts=0; }
- if(data !== Node203&& objMouseOn===Node203){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 === Node20_0){A=1; }
- if(data === Node20_1){A=1; }
- if(data === Node21_0){B=1; }
- if(data === Node21_1){B=1; }
- if(data === Node22_0){C=1; }
- if(data === Node22_1){C=1; }
- if(data === Node23_0){E=1; }
- if(data === Node23_1){E=1; }
- if(data === Node24_0){F=1; }
- if(data === Node24_1){F=1; }
- if(data === Node25_0){D=1; }
- if(data === Node25_1){D=1; }
- if(data === Node190){sxxny=1; }
- if(data === Node192){yygjb=1; }
- if(data === Node194){plhts=1; }
- if(data === Node196){tqwns=1; }
- if(data === Node198){gljf=1; }
- if(data === Node200){hyfy=1; }
- if(data === Node202){llbts=1; }
- if(data === Node204){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();
- }
- })();
-
- })();
- }
|