12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893 |
- /*@WebApiFunc@*/
- var varList = [];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
- '1234/ldjsc': ['Script/alarmCommon.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< 0 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- jrjs=0;
- bjzx=0;
- dbgl=0;
- zbph=0;
- pjgl=0;
- xnfx=0;
- sbjz=0;
- ztjs=0;
- ldjsc=0;
- sy=0;
- Node384GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'右玉高家堡'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'平鲁虎头山'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'太旗卧牛山'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'太旗卧牛山'},{'Tag':'demo.day05','Name':'demo.day05','displayName':'广灵劲风'},{'Tag':'demo.day06','Name':'demo.day06','displayName':'浑源峰岳'},{'Tag':'demo.day07','Name':'demo.day07','displayName':'吕梁宝塔山'},{'Tag':'demo.day08','Name':'demo.day08','displayName':'阳高采凉山'}];
- Node384GroupInVarName=[{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 128, 0','DrawType':0,'StaType':0,'color':'#ff8000'},{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'128, 255, 255','DrawType':0,'StaType':0,'color':'#80ffff'},{'statisticsType':'Avg','Tag':'quick','Name':'quick','displayName':'','Col':'255, 0, 255','DrawType':2,'StaType':0,'color':'#ff00ff'}];
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 980};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, 980*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 490*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 980*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 980*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 980*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0type = 'rect';
- var Node0 = new ht.Node(),
- Node0BorderWidth = 0*2;
- if (Node0type === 'arc') {
- Node0BorderWidth *= 0;
- }
- Node0.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0.setPosition(226*ratio.ratioX, 581*ratio.ratioY);
- Node0.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0.a('node.width', 66*_ratio.ratioX);
- Node0.a('node.height', 30*_ratio.ratioY);
- Node0.a('node.type', Node0type);
- Node0.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node0.a('node.background', 'rgba(245,245,245,1)');
- Node0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node0.a('node.gradient', '');
- Node0.a('node.borderwidth', Node0BorderWidth);
- Node0.a('node.color', 'rgba(224,224,224,0)');
- Node0.a('node.fillrect', [0,0,0,0]);
- Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradient', '');
- if (Node0type !== 'rect') {
- Node0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0type === 'arc') {
- Node0.a('node.arcOval', true);
- }
- Node0.setRotation(0*Math.PI/180);
- Node0.borderWidth = Node0BorderWidth;
- Node0.borderFillwidth = Node0BorderWidth;
- dataModel.add(Node0);
- Node0._nodename = 'Node0'
- Node0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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, Node0.getImage());_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(66*_ratio.ratioX, 30*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node1.setPosition(226*ratio.ratioX, 550*ratio.ratioY);
- Node1.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node1.a('node.width', 66*_ratio.ratioX);
- Node1.a('node.height', 30*_ratio.ratioY);
- Node1.a('node.type', Node1type);
- Node1.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node1.a('node.background', 'rgba(245,245,245,1)');
- Node1.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node1.a('node.gradient', '');
- Node1.a('node.borderwidth', Node1BorderWidth);
- Node1.a('node.color', 'rgba(224,224,224,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 Node2type = 'rect';
- var Node2 = new ht.Node(),
- Node2BorderWidth = 0*2;
- if (Node2type === 'arc') {
- Node2BorderWidth *= 0;
- }
- Node2.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node2.setPosition(226*ratio.ratioX, 519*ratio.ratioY);
- Node2.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node2.a('node.width', 66*_ratio.ratioX);
- Node2.a('node.height', 30*_ratio.ratioY);
- Node2.a('node.type', Node2type);
- Node2.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node2.a('node.background', 'rgba(245,245,245,1)');
- Node2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node2.a('node.gradient', '');
- Node2.a('node.borderwidth', Node2BorderWidth);
- Node2.a('node.color', 'rgba(224,224,224,0)');
- Node2.a('node.fillrect', [0,0,0,0]);
- Node2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node2.a('node.fillgradient', '');
- if (Node2type !== 'rect') {
- Node2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node2.a('node.arcTo', parseFloat('@arcTo@'));
- Node2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node2type === 'arc') {
- Node2.a('node.arcOval', true);
- }
- Node2.setRotation(0*Math.PI/180);
- Node2.borderWidth = Node2BorderWidth;
- Node2.borderFillwidth = Node2BorderWidth;
- dataModel.add(Node2);
- Node2._nodename = 'Node2'
- Node2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node2, Node2.getImage());_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(66*_ratio.ratioX, 30*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node3.setPosition(37*ratio.ratioX, 581*ratio.ratioY);
- Node3.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node3.a('node.width', 66*_ratio.ratioX);
- Node3.a('node.height', 30*_ratio.ratioY);
- Node3.a('node.type', Node3type);
- Node3.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node3.a('node.background', 'rgba(245,245,245,1)');
- Node3.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node3.a('node.gradient', '');
- Node3.a('node.borderwidth', Node3BorderWidth);
- Node3.a('node.color', 'rgba(224,224,224,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 Node4type = 'rect';
- var Node4 = new ht.Node(),
- Node4BorderWidth = 0*2;
- if (Node4type === 'arc') {
- Node4BorderWidth *= 0;
- }
- Node4.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node4.setPosition(37*ratio.ratioX, 549*ratio.ratioY);
- Node4.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node4.a('node.width', 66*_ratio.ratioX);
- Node4.a('node.height', 30*_ratio.ratioY);
- Node4.a('node.type', Node4type);
- Node4.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node4.a('node.background', 'rgba(245,245,245,1)');
- Node4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node4.a('node.gradient', '');
- Node4.a('node.borderwidth', Node4BorderWidth);
- Node4.a('node.color', 'rgba(224,224,224,0)');
- Node4.a('node.fillrect', [0,0,0,0]);
- Node4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node4.a('node.fillgradient', '');
- if (Node4type !== 'rect') {
- Node4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node4.a('node.arcTo', parseFloat('@arcTo@'));
- Node4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node4type === 'arc') {
- Node4.a('node.arcOval', true);
- }
- Node4.setRotation(0*Math.PI/180);
- Node4.borderWidth = Node4BorderWidth;
- Node4.borderFillwidth = Node4BorderWidth;
- dataModel.add(Node4);
- Node4._nodename = 'Node4'
- Node4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node4, Node4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5type = 'rect';
- var Node5 = new ht.Node(),
- Node5BorderWidth = 0*2;
- if (Node5type === 'arc') {
- Node5BorderWidth *= 0;
- }
- Node5.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node5.setPosition(38*ratio.ratioX, 518*ratio.ratioY);
- Node5.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node5.a('node.width', 66*_ratio.ratioX);
- Node5.a('node.height', 30*_ratio.ratioY);
- Node5.a('node.type', Node5type);
- Node5.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node5.a('node.background', 'rgba(245,245,245,1)');
- Node5.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node5.a('node.gradient', '');
- Node5.a('node.borderwidth', Node5BorderWidth);
- Node5.a('node.color', 'rgba(224,224,224,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());var Node6;
- (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//img//top.png', PAGEROOTDIR + 'image//img//top.png');
- Node6 = new ht.Node();
- Node6.setPosition(949*ratio.ratioX, 25*ratio.ratioY);
- Node6.setSize(1899*ratioX, 50*ratioY);
- Node6.setImage('imgimage//img//top.png');
- Node6.setRotation(0*Math.PI/180);
- Node6._zoomBy = 'Default';
- Node6._nodeType = 'image';
- Node6._disallowEvert = true;
- dataModel.add(Node6);
- })();
- var Node7;
- (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//img//new_but_bg_a.png', PAGEROOTDIR + 'image//img//new_but_bg_a.png');
- Node7 = new ht.Node();
- Node7.setPosition(949*ratio.ratioX, 65*ratio.ratioY);
- Node7.setSize(1899*ratioX, 31*ratioY);
- Node7.setImage('imgimage//img//new_but_bg_a.png');
- Node7.setRotation(0*Math.PI/180);
- Node7._zoomBy = 'Default';
- Node7._nodeType = 'image';
- Node7._disallowEvert = true;
- dataModel.add(Node7);
- })();
- var Node8;
- (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//img//ztjs_temp_bg_a.png', PAGEROOTDIR + 'image//img//ztjs_temp_bg_a.png');
- Node8 = new ht.Node();
- Node8.setPosition(950*ratio.ratioX, 123*ratio.ratioY);
- Node8.setSize(1898*ratioX, 77*ratioY);
- Node8.setImage('imgimage//img//ztjs_temp_bg_a.png');
- Node8.setRotation(0*Math.PI/180);
- Node8._zoomBy = 'Default';
- Node8._nodeType = 'image';
- Node8._disallowEvert = true;
- dataModel.add(Node8);
- })();
- _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 = 105*_ratio.ratioX, Node9height = 27*_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(62*ratio.ratioX, 103*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, (27 - 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 = 'center', Node10fontSize = 11.99997*_ratio.ratioY,Node10width = 105*_ratio.ratioX, Node10height = 17*_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(62*ratio.ratioX, 131*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(128,128,128,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','center');
- Node10.a('node.textvAlign','middle');
- Node10.a('node.textrect', [Node10textStart, 0, Node10textWidth, Node10height]);
- Node10.a('node.color','rgba(128,128,128,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(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node10width,Node10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node10.a('node.underlinepoints',[Node10lineStart, (17 - 11.99997) * 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 = 105*_ratio.ratioX, Node11height = 17*_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(63*ratio.ratioX, 158*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(25,25,112,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(25,25,112,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(25,25,112,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, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('山西新能源', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
- Node11.a('node.underlinevisible',false);
- Node11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11);
- zoomNodeList.push({
- node: Node11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12type = 'rect';
- var Node12 = new ht.Node(),
- Node12BorderWidth = 0*2;
- if (Node12type === 'arc') {
- Node12BorderWidth *= 0;
- }
- Node12.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node12type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node12.setPosition(64*ratio.ratioX, 190*ratio.ratioY);
- Node12.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node12.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node12.a('node.width', 127*_ratio.ratioX);
- Node12.a('node.height', 32*_ratio.ratioY);
- Node12.a('node.type', Node12type);
- Node12.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node12.a('node.background', 'rgba(233,247,230,1)');
- Node12.a('node.gradientcolor', 'rgba(233,247,230,1)');
- Node12.a('node.gradient', '');
- Node12.a('node.borderwidth', Node12BorderWidth);
- Node12.a('node.color', 'rgba(192,192,192,0)');
- Node12.a('node.fillrect', [0,0,0,0]);
- Node12.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node12.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node12.a('node.fillgradient', '');
- if (Node12type !== 'rect') {
- Node12.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node12.a('node.arcTo', parseFloat('@arcTo@'));
- Node12.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node12type === 'arc') {
- Node12.a('node.arcOval', true);
- }
- Node12.setRotation(0*Math.PI/180);
- Node12.borderWidth = Node12BorderWidth;
- Node12.borderFillwidth = Node12BorderWidth;
- dataModel.add(Node12);
- Node12._nodename = 'Node12'
- Node12._nodeType = 'rect';
- zoomNodeList.push({
- node: Node12,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node12, Node12.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13type = 'rect';
- var Node13 = new ht.Node(),
- Node13BorderWidth = 0*2;
- if (Node13type === 'arc') {
- Node13BorderWidth *= 0;
- }
- Node13.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node13.setPosition(63*ratio.ratioX, 222*ratio.ratioY);
- Node13.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node13.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node13.a('node.width', 127*_ratio.ratioX);
- Node13.a('node.height', 32*_ratio.ratioY);
- Node13.a('node.type', Node13type);
- Node13.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node13.a('node.background', 'rgba(244,251,242,1)');
- Node13.a('node.gradientcolor', 'rgba(244,251,242,1)');
- Node13.a('node.gradient', '');
- Node13.a('node.borderwidth', Node13BorderWidth);
- Node13.a('node.color', 'rgba(192,192,192,0)');
- Node13.a('node.fillrect', [0,0,0,0]);
- Node13.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node13.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node13.a('node.fillgradient', '');
- if (Node13type !== 'rect') {
- Node13.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node13.a('node.arcTo', parseFloat('@arcTo@'));
- Node13.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node13type === 'arc') {
- Node13.a('node.arcOval', true);
- }
- Node13.setRotation(0*Math.PI/180);
- Node13.borderWidth = Node13BorderWidth;
- Node13.borderFillwidth = Node13BorderWidth;
- dataModel.add(Node13);
- Node13._nodename = 'Node13'
- Node13._nodeType = 'rect';
- zoomNodeList.push({
- node: Node13,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node13, Node13.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14type = 'rect';
- var Node14 = new ht.Node(),
- Node14BorderWidth = 0*2;
- if (Node14type === 'arc') {
- Node14BorderWidth *= 0;
- }
- Node14.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node14.setPosition(63*ratio.ratioX, 254*ratio.ratioY);
- Node14.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node14.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node14.a('node.width', 127*_ratio.ratioX);
- Node14.a('node.height', 32*_ratio.ratioY);
- Node14.a('node.type', Node14type);
- Node14.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node14.a('node.background', 'rgba(233,247,230,1)');
- Node14.a('node.gradientcolor', 'rgba(233,247,230,1)');
- Node14.a('node.gradient', '');
- Node14.a('node.borderwidth', Node14BorderWidth);
- Node14.a('node.color', 'rgba(192,192,192,0)');
- Node14.a('node.fillrect', [0,0,0,0]);
- Node14.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node14.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node14.a('node.fillgradient', '');
- if (Node14type !== 'rect') {
- Node14.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node14.a('node.arcTo', parseFloat('@arcTo@'));
- Node14.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node14type === 'arc') {
- Node14.a('node.arcOval', true);
- }
- Node14.setRotation(0*Math.PI/180);
- Node14.borderWidth = Node14BorderWidth;
- Node14.borderFillwidth = Node14BorderWidth;
- dataModel.add(Node14);
- Node14._nodename = 'Node14'
- Node14._nodeType = 'rect';
- zoomNodeList.push({
- node: Node14,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node14, Node14.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node15type = 'rect';
- var Node15 = new ht.Node(),
- Node15BorderWidth = 0*2;
- if (Node15type === 'arc') {
- Node15BorderWidth *= 0;
- }
- Node15.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node15type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node15.setPosition(64*ratio.ratioX, 285*ratio.ratioY);
- Node15.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node15.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node15.a('node.width', 127*_ratio.ratioX);
- Node15.a('node.height', 32*_ratio.ratioY);
- Node15.a('node.type', Node15type);
- Node15.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node15.a('node.background', 'rgba(244,251,242,1)');
- Node15.a('node.gradientcolor', 'rgba(244,251,242,1)');
- Node15.a('node.gradient', '');
- Node15.a('node.borderwidth', Node15BorderWidth);
- Node15.a('node.color', 'rgba(192,192,192,0)');
- Node15.a('node.fillrect', [0,0,0,0]);
- Node15.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node15.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node15.a('node.fillgradient', '');
- if (Node15type !== 'rect') {
- Node15.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node15.a('node.arcTo', parseFloat('@arcTo@'));
- Node15.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node15type === 'arc') {
- Node15.a('node.arcOval', true);
- }
- Node15.setRotation(0*Math.PI/180);
- Node15.borderWidth = Node15BorderWidth;
- Node15.borderFillwidth = Node15BorderWidth;
- dataModel.add(Node15);
- Node15._nodename = 'Node15'
- Node15._nodeType = 'rect';
- zoomNodeList.push({
- node: Node15,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node15, Node15.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16type = 'rect';
- var Node16 = new ht.Node(),
- Node16BorderWidth = 0*2;
- if (Node16type === 'arc') {
- Node16BorderWidth *= 0;
- }
- Node16.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node16type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node16.setPosition(64*ratio.ratioX, 316*ratio.ratioY);
- Node16.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node16.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node16.a('node.width', 127*_ratio.ratioX);
- Node16.a('node.height', 32*_ratio.ratioY);
- Node16.a('node.type', Node16type);
- Node16.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node16.a('node.background', 'rgba(233,247,230,1)');
- Node16.a('node.gradientcolor', 'rgba(233,247,230,1)');
- Node16.a('node.gradient', '');
- Node16.a('node.borderwidth', Node16BorderWidth);
- Node16.a('node.color', 'rgba(192,192,192,0)');
- Node16.a('node.fillrect', [0,0,0,0]);
- Node16.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node16.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node16.a('node.fillgradient', '');
- if (Node16type !== 'rect') {
- Node16.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node16.a('node.arcTo', parseFloat('@arcTo@'));
- Node16.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node16type === 'arc') {
- Node16.a('node.arcOval', true);
- }
- Node16.setRotation(0*Math.PI/180);
- Node16.borderWidth = Node16BorderWidth;
- Node16.borderFillwidth = Node16BorderWidth;
- dataModel.add(Node16);
- Node16._nodename = 'Node16'
- Node16._nodeType = 'rect';
- zoomNodeList.push({
- node: Node16,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node16, Node16.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17type = 'rect';
- var Node17 = new ht.Node(),
- Node17BorderWidth = 0*2;
- if (Node17type === 'arc') {
- Node17BorderWidth *= 0;
- }
- Node17.setImage(GD.getRectJSON(124*_ratio.ratioX, 32*_ratio.ratioY, Node17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node17.setPosition(67*ratio.ratioX, 347*ratio.ratioY);
- Node17.setSize(124*_ratio.ratioX, 32*_ratio.ratioY);
- Node17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node17.a('node.width', 124*_ratio.ratioX);
- Node17.a('node.height', 32*_ratio.ratioY);
- Node17.a('node.type', Node17type);
- Node17.a('node.rect', [0, 0, 124*_ratio.ratioX, 32*_ratio.ratioY]);
- Node17.a('node.background', 'rgba(244,251,242,1)');
- Node17.a('node.gradientcolor', 'rgba(244,251,242,1)');
- Node17.a('node.gradient', '');
- Node17.a('node.borderwidth', Node17BorderWidth);
- Node17.a('node.color', 'rgba(192,192,192,0)');
- Node17.a('node.fillrect', [0,0,0,0]);
- Node17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node17.a('node.fillgradient', '');
- if (Node17type !== 'rect') {
- Node17.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node17.a('node.arcTo', parseFloat('@arcTo@'));
- Node17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node17type === 'arc') {
- Node17.a('node.arcOval', true);
- }
- Node17.setRotation(0*Math.PI/180);
- Node17.borderWidth = Node17BorderWidth;
- Node17.borderFillwidth = Node17BorderWidth;
- dataModel.add(Node17);
- Node17._nodename = 'Node17'
- Node17._nodeType = 'rect';
- zoomNodeList.push({
- node: Node17,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node17, Node17.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18type = 'rect';
- var Node18 = new ht.Node(),
- Node18BorderWidth = 0*2;
- if (Node18type === 'arc') {
- Node18BorderWidth *= 0;
- }
- Node18.setImage(GD.getRectJSON(124*_ratio.ratioX, 32*_ratio.ratioY, Node18type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node18.setPosition(65*ratio.ratioX, 378*ratio.ratioY);
- Node18.setSize(124*_ratio.ratioX, 32*_ratio.ratioY);
- Node18.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node18.a('node.width', 124*_ratio.ratioX);
- Node18.a('node.height', 32*_ratio.ratioY);
- Node18.a('node.type', Node18type);
- Node18.a('node.rect', [0, 0, 124*_ratio.ratioX, 32*_ratio.ratioY]);
- Node18.a('node.background', 'rgba(233,247,230,1)');
- Node18.a('node.gradientcolor', 'rgba(233,247,230,1)');
- Node18.a('node.gradient', '');
- Node18.a('node.borderwidth', Node18BorderWidth);
- Node18.a('node.color', 'rgba(192,192,192,0)');
- Node18.a('node.fillrect', [0,0,0,0]);
- Node18.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node18.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node18.a('node.fillgradient', '');
- if (Node18type !== 'rect') {
- Node18.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node18.a('node.arcTo', parseFloat('@arcTo@'));
- Node18.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node18type === 'arc') {
- Node18.a('node.arcOval', true);
- }
- Node18.setRotation(0*Math.PI/180);
- Node18.borderWidth = Node18BorderWidth;
- Node18.borderFillwidth = Node18BorderWidth;
- dataModel.add(Node18);
- Node18._nodename = 'Node18'
- Node18._nodeType = 'rect';
- zoomNodeList.push({
- node: Node18,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node18, Node18.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node19 = new ht.Node();
- var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'left', Node19fontSize = 13.3333*_ratio.ratioY,Node19width = 110*_ratio.ratioX, Node19height = 16*_ratio.ratioY;
- (function () {
- if (Node19align === 'left') {
- Node19textStart = Node19fontSize * 0.2 > 2 ? Node19fontSize * 0.2 - 4 : Node19fontSize * 0.2 - 9;
- Node19textWidth = Node19width;
- Node19lineStart = 1;
- } else if (Node19align === 'right') {
- Node19textStart = 0;
- Node19textWidth =Node19fontSize <= 8 ? Node19width + Node19fontSize * 0.2 + 6 : Node19width - Node19fontSize * 0.2;
- Node19lineStart = (Node19width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node19fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node19align === 'center') {
- Node19textStart = -3;
- Node19textWidth = Node19width;
- Node19lineStart = Node19width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node19fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "Arial"'))
- Node19.setPosition(66*ratio.ratioX, 189*ratio.ratioY);
- Node19.setWidth(Node19width);
- Node19.setHeight(Node19height);
- Node19._nodeType = 'text';
- Node19._disallowEvert = true;
- Node19.setRotation(0*Math.PI/180);
- Node19.a('node.width', Node19width);
- Node19.a('node.height', Node19height);
- Node19.a('node.rect', [0, 0, Node19width, Node19height]);
- Node19.a('node.bordercolor','rgba(95,158,160,1)');
- Node19.a('node.borderwidth', 0);
- Node19.a('node.background','' || 'rgba(0,0,0,0)');
- Node19.a('node.gradient','');
- Node19.a('node.gradientcolor','');
- Node19.a('node.text','太旗卧牛山风场');
- Node19.a('node.textalign','left');
- Node19.a('node.textvAlign','middle');
- Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]);
- Node19.a('node.color','rgba(95,158,160,1)');
- Node19.a('node.font',' '+ Node19fontSize + 'px "Arial"');
- Node19.a('node.textvisible',true);
- Node19.a('node.linefeed',false);
- if (false) {
- Node19.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node19.a('node.text') || '太旗卧牛山风场';
- var color=Node19.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node19width,Node19height,13.3333*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19.a('node.underlinepoints',[Node19lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node19fontSize + 'px "Arial"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]);
- Node19.a('node.underlinevisible',false);
- Node19.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node19);
- zoomNodeList.push({
- node: Node19,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20 = new ht.Node();
- var Node20textStart, Node20textWidth, Node20lineStart, Node20align = 'left', Node20fontSize = 13.3333*_ratio.ratioY,Node20width = 110*_ratio.ratioX, Node20height = 16*_ratio.ratioY;
- (function () {
- if (Node20align === 'left') {
- Node20textStart = Node20fontSize * 0.2 > 2 ? Node20fontSize * 0.2 - 4 : Node20fontSize * 0.2 - 9;
- Node20textWidth = Node20width;
- Node20lineStart = 1;
- } else if (Node20align === 'right') {
- Node20textStart = 0;
- Node20textWidth =Node20fontSize <= 8 ? Node20width + Node20fontSize * 0.2 + 6 : Node20width - Node20fontSize * 0.2;
- Node20lineStart = (Node20width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node20fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node20align === 'center') {
- Node20textStart = -3;
- Node20textWidth = Node20width;
- Node20lineStart = Node20width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node20fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node20.setImage(GD.getTextJSON(Node20width, Node20height, true, false, false, ' '+ Node20fontSize + 'px "Arial"'))
- Node20.setPosition(66*ratio.ratioX, 221*ratio.ratioY);
- Node20.setWidth(Node20width);
- Node20.setHeight(Node20height);
- Node20._nodeType = 'text';
- Node20._disallowEvert = true;
- Node20.setRotation(0*Math.PI/180);
- Node20.a('node.width', Node20width);
- Node20.a('node.height', Node20height);
- Node20.a('node.rect', [0, 0, Node20width, Node20height]);
- Node20.a('node.bordercolor','rgba(95,158,160,1)');
- Node20.a('node.borderwidth', 0);
- Node20.a('node.background','' || 'rgba(0,0,0,0)');
- Node20.a('node.gradient','');
- Node20.a('node.gradientcolor','');
- Node20.a('node.text','右玉高家堡风场');
- Node20.a('node.textalign','left');
- Node20.a('node.textvAlign','middle');
- Node20.a('node.textrect', [Node20textStart, 0, Node20textWidth, Node20height]);
- Node20.a('node.color','rgba(95,158,160,1)');
- Node20.a('node.font',' '+ Node20fontSize + 'px "Arial"');
- Node20.a('node.textvisible',true);
- Node20.a('node.linefeed',false);
- if (false) {
- Node20.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node20.a('node.text') || '右玉高家堡风场';
- var color=Node20.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node20width,Node20height,13.3333*_ratio.ratioY,"left",color,' '+ Node20fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20.a('node.underlinepoints',[Node20lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node20fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node20fontSize + 'px "Arial"').width + 6, (Node20height - Node20fontSize) * 0.5*_ratio.ratioY + Node20fontSize + 2 ]);
- Node20.a('node.underlinevisible',false);
- Node20.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node20);
- zoomNodeList.push({
- node: Node20,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node21 = new ht.Node();
- var Node21textStart, Node21textWidth, Node21lineStart, Node21align = 'left', Node21fontSize = 13.3333*_ratio.ratioY,Node21width = 110*_ratio.ratioX, Node21height = 16*_ratio.ratioY;
- (function () {
- if (Node21align === 'left') {
- Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9;
- Node21textWidth = Node21width;
- Node21lineStart = 1;
- } else if (Node21align === 'right') {
- Node21textStart = 0;
- Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2;
- Node21lineStart = (Node21width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21align === 'center') {
- Node21textStart = -3;
- Node21textWidth = Node21width;
- Node21lineStart = Node21width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node21fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, ' '+ Node21fontSize + 'px "Arial"'))
- Node21.setPosition(66*ratio.ratioX, 253*ratio.ratioY);
- Node21.setWidth(Node21width);
- Node21.setHeight(Node21height);
- Node21._nodeType = 'text';
- Node21._disallowEvert = true;
- Node21.setRotation(0*Math.PI/180);
- Node21.a('node.width', Node21width);
- Node21.a('node.height', Node21height);
- Node21.a('node.rect', [0, 0, Node21width, Node21height]);
- Node21.a('node.bordercolor','rgba(95,158,160,1)');
- Node21.a('node.borderwidth', 0);
- Node21.a('node.background','' || 'rgba(0,0,0,0)');
- Node21.a('node.gradient','');
- Node21.a('node.gradientcolor','');
- Node21.a('node.text','平鲁虎头山风场');
- Node21.a('node.textalign','left');
- Node21.a('node.textvAlign','middle');
- Node21.a('node.textrect', [Node21textStart, 0, Node21textWidth, Node21height]);
- Node21.a('node.color','rgba(95,158,160,1)');
- Node21.a('node.font',' '+ Node21fontSize + 'px "Arial"');
- Node21.a('node.textvisible',true);
- Node21.a('node.linefeed',false);
- if (false) {
- Node21.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node21.a('node.text') || '平鲁虎头山风场';
- var color=Node21.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,' '+ Node21fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21.a('node.underlinepoints',[Node21lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node21fontSize + 'px "Arial"').width + 6, (Node21height - Node21fontSize) * 0.5*_ratio.ratioY + Node21fontSize + 2 ]);
- Node21.a('node.underlinevisible',false);
- Node21.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node21);
- zoomNodeList.push({
- node: Node21,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node22 = new ht.Node();
- var Node22textStart, Node22textWidth, Node22lineStart, Node22align = 'left', Node22fontSize = 13.3333*_ratio.ratioY,Node22width = 110*_ratio.ratioX, Node22height = 16*_ratio.ratioY;
- (function () {
- if (Node22align === 'left') {
- Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9;
- Node22textWidth = Node22width;
- Node22lineStart = 1;
- } else if (Node22align === 'right') {
- Node22textStart = 0;
- Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2;
- Node22lineStart = (Node22width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22align === 'center') {
- Node22textStart = -3;
- Node22textWidth = Node22width;
- Node22lineStart = Node22width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, ' '+ Node22fontSize + 'px "Arial"'))
- Node22.setPosition(66*ratio.ratioX, 285*ratio.ratioY);
- Node22.setWidth(Node22width);
- Node22.setHeight(Node22height);
- Node22._nodeType = 'text';
- Node22._disallowEvert = true;
- Node22.setRotation(0*Math.PI/180);
- Node22.a('node.width', Node22width);
- Node22.a('node.height', Node22height);
- Node22.a('node.rect', [0, 0, Node22width, Node22height]);
- Node22.a('node.bordercolor','rgba(95,158,160,1)');
- Node22.a('node.borderwidth', 0);
- Node22.a('node.background','' || 'rgba(0,0,0,0)');
- Node22.a('node.gradient','');
- Node22.a('node.gradientcolor','');
- Node22.a('node.text','广灵劲风风场');
- Node22.a('node.textalign','left');
- Node22.a('node.textvAlign','middle');
- Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]);
- Node22.a('node.color','rgba(95,158,160,1)');
- Node22.a('node.font',' '+ Node22fontSize + 'px "Arial"');
- Node22.a('node.textvisible',true);
- Node22.a('node.linefeed',false);
- if (false) {
- Node22.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node22.a('node.text') || '广灵劲风风场';
- var color=Node22.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node22width,Node22height,13.3333*_ratio.ratioY,"left",color,' '+ Node22fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22.a('node.underlinepoints',[Node22lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node22fontSize + 'px "Arial"').width + 6, (Node22height - Node22fontSize) * 0.5*_ratio.ratioY + Node22fontSize + 2 ]);
- Node22.a('node.underlinevisible',false);
- Node22.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node22);
- zoomNodeList.push({
- node: Node22,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node23 = new ht.Node();
- var Node23textStart, Node23textWidth, Node23lineStart, Node23align = 'left', Node23fontSize = 13.3333*_ratio.ratioY,Node23width = 110*_ratio.ratioX, Node23height = 16*_ratio.ratioY;
- (function () {
- if (Node23align === 'left') {
- Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9;
- Node23textWidth = Node23width;
- Node23lineStart = 1;
- } else if (Node23align === 'right') {
- Node23textStart = 0;
- Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2;
- Node23lineStart = (Node23width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23align === 'center') {
- Node23textStart = -3;
- Node23textWidth = Node23width;
- Node23lineStart = Node23width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node23fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, ' '+ Node23fontSize + 'px "Arial"'))
- Node23.setPosition(66*ratio.ratioX, 316*ratio.ratioY);
- Node23.setWidth(Node23width);
- Node23.setHeight(Node23height);
- Node23._nodeType = 'text';
- Node23._disallowEvert = true;
- Node23.setRotation(0*Math.PI/180);
- Node23.a('node.width', Node23width);
- Node23.a('node.height', Node23height);
- Node23.a('node.rect', [0, 0, Node23width, Node23height]);
- Node23.a('node.bordercolor','rgba(95,158,160,1)');
- Node23.a('node.borderwidth', 0);
- Node23.a('node.background','' || 'rgba(0,0,0,0)');
- Node23.a('node.gradient','');
- Node23.a('node.gradientcolor','');
- Node23.a('node.text','浑源峰岳风场');
- Node23.a('node.textalign','left');
- Node23.a('node.textvAlign','middle');
- Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
- Node23.a('node.color','rgba(95,158,160,1)');
- Node23.a('node.font',' '+ Node23fontSize + 'px "Arial"');
- Node23.a('node.textvisible',true);
- Node23.a('node.linefeed',false);
- if (false) {
- Node23.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node23.a('node.text') || '浑源峰岳风场';
- var color=Node23.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,' '+ Node23fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23.a('node.underlinepoints',[Node23lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node23fontSize + 'px "Arial"').width + 6, (Node23height - Node23fontSize) * 0.5*_ratio.ratioY + Node23fontSize + 2 ]);
- Node23.a('node.underlinevisible',false);
- Node23.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node23);
- zoomNodeList.push({
- node: Node23,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node24 = new ht.Node();
- var Node24textStart, Node24textWidth, Node24lineStart, Node24align = 'left', Node24fontSize = 13.3333*_ratio.ratioY,Node24width = 110*_ratio.ratioX, Node24height = 16*_ratio.ratioY;
- (function () {
- if (Node24align === 'left') {
- Node24textStart = Node24fontSize * 0.2 > 2 ? Node24fontSize * 0.2 - 4 : Node24fontSize * 0.2 - 9;
- Node24textWidth = Node24width;
- Node24lineStart = 1;
- } else if (Node24align === 'right') {
- Node24textStart = 0;
- Node24textWidth =Node24fontSize <= 8 ? Node24width + Node24fontSize * 0.2 + 6 : Node24width - Node24fontSize * 0.2;
- Node24lineStart = (Node24width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24align === 'center') {
- Node24textStart = -3;
- Node24textWidth = Node24width;
- Node24lineStart = Node24width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node24fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, ' '+ Node24fontSize + 'px "Arial"'))
- Node24.setPosition(66*ratio.ratioX, 348*ratio.ratioY);
- Node24.setWidth(Node24width);
- Node24.setHeight(Node24height);
- Node24._nodeType = 'text';
- Node24._disallowEvert = true;
- Node24.setRotation(0*Math.PI/180);
- Node24.a('node.width', Node24width);
- Node24.a('node.height', Node24height);
- Node24.a('node.rect', [0, 0, Node24width, Node24height]);
- Node24.a('node.bordercolor','rgba(95,158,160,1)');
- Node24.a('node.borderwidth', 0);
- Node24.a('node.background','' || 'rgba(0,0,0,0)');
- Node24.a('node.gradient','');
- Node24.a('node.gradientcolor','');
- Node24.a('node.text','吕梁宝塔山风场');
- Node24.a('node.textalign','left');
- Node24.a('node.textvAlign','middle');
- Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]);
- Node24.a('node.color','rgba(95,158,160,1)');
- Node24.a('node.font',' '+ Node24fontSize + 'px "Arial"');
- Node24.a('node.textvisible',true);
- Node24.a('node.linefeed',false);
- if (false) {
- Node24.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node24.a('node.text') || '吕梁宝塔山风场';
- var color=Node24.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,' '+ Node24fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24.a('node.underlinepoints',[Node24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node24fontSize + 'px "Arial"').width + 6, (Node24height - Node24fontSize) * 0.5*_ratio.ratioY + Node24fontSize + 2 ]);
- Node24.a('node.underlinevisible',false);
- Node24.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node24);
- zoomNodeList.push({
- node: Node24,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25 = new ht.Node();
- var Node25textStart, Node25textWidth, Node25lineStart, Node25align = 'left', Node25fontSize = 13.3333*_ratio.ratioY,Node25width = 110*_ratio.ratioX, Node25height = 16*_ratio.ratioY;
- (function () {
- if (Node25align === 'left') {
- Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9;
- Node25textWidth = Node25width;
- Node25lineStart = 1;
- } else if (Node25align === 'right') {
- Node25textStart = 0;
- Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2;
- Node25lineStart = (Node25width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node25align === 'center') {
- Node25textStart = -3;
- Node25textWidth = Node25width;
- Node25lineStart = Node25width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node25fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"'))
- Node25.setPosition(64*ratio.ratioX, 380*ratio.ratioY);
- Node25.setWidth(Node25width);
- Node25.setHeight(Node25height);
- Node25._nodeType = 'text';
- Node25._disallowEvert = true;
- Node25.setRotation(0*Math.PI/180);
- Node25.a('node.width', Node25width);
- Node25.a('node.height', Node25height);
- Node25.a('node.rect', [0, 0, Node25width, Node25height]);
- Node25.a('node.bordercolor','rgba(95,158,160,1)');
- Node25.a('node.borderwidth', 0);
- Node25.a('node.background','' || 'rgba(0,0,0,0)');
- Node25.a('node.gradient','');
- Node25.a('node.gradientcolor','');
- Node25.a('node.text','阳高采凉山风场');
- Node25.a('node.textalign','left');
- Node25.a('node.textvAlign','middle');
- Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]);
- Node25.a('node.color','rgba(95,158,160,1)');
- Node25.a('node.font',' '+ Node25fontSize + 'px "Arial"');
- Node25.a('node.textvisible',true);
- Node25.a('node.linefeed',false);
- if (false) {
- Node25.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node25.a('node.text') || '阳高采凉山风场';
- var color=Node25.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node25width,Node25height,13.3333*_ratio.ratioY,"left",color,' '+ Node25fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node25.a('node.underlinepoints',[Node25lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node25fontSize + 'px "Arial"').width + 6, (Node25height - Node25fontSize) * 0.5*_ratio.ratioY + Node25fontSize + 2 ]);
- Node25.a('node.underlinevisible',false);
- Node25.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node25);
- zoomNodeList.push({
- node: Node25,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26type = 'rect';
- var Node26 = new ht.Node(),
- Node26BorderWidth = 1*2;
- if (Node26type === 'arc') {
- Node26BorderWidth *= 1;
- }
- Node26.setImage(GD.getRectJSON(128*_ratio.ratioX, 309*_ratio.ratioY, Node26type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node26.setPosition(65*ratio.ratioX, 239*ratio.ratioY);
- Node26.setSize(128*_ratio.ratioX, 309*_ratio.ratioY);
- Node26.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node26.a('node.width', 128*_ratio.ratioX);
- Node26.a('node.height', 309*_ratio.ratioY);
- Node26.a('node.type', Node26type);
- Node26.a('node.rect', [0, 0, 128*_ratio.ratioX, 309*_ratio.ratioY]);
- Node26.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node26.a('node.gradientcolor', '');
- Node26.a('node.gradient', '');
- Node26.a('node.borderwidth', Node26BorderWidth);
- Node26.a('node.color', 'rgba(192,192,192,1)');
- Node26.a('node.fillrect', [0,0,0,0]);
- Node26.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node26.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node26.a('node.fillgradient', '');
- if (Node26type !== 'rect') {
- Node26.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node26.a('node.arcTo', parseFloat('@arcTo@'));
- Node26.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node26type === 'arc') {
- Node26.a('node.arcOval', true);
- }
- Node26.setRotation(0*Math.PI/180);
- Node26.borderWidth = Node26BorderWidth;
- Node26.borderFillwidth = Node26BorderWidth;
- dataModel.add(Node26);
- Node26._nodename = 'Node26'
- Node26._nodeType = 'rect';
- zoomNodeList.push({
- node: Node26,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node26, Node26.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_0 = new ht.Node();
- var Node27_0textStart, Node27_0textWidth, Node27_0lineStart, Node27_0align = 'center', Node27_0fontSize = 13.3333*_ratio.ratioY,Node27_0width = 95*_ratio.ratioX, Node27_0height = 17*_ratio.ratioY;
- (function () {
- if (Node27_0align === 'left') {
- Node27_0textStart = Node27_0fontSize * 0.2 > 2 ? Node27_0fontSize * 0.2 - 4 : Node27_0fontSize * 0.2 - 9;
- Node27_0textWidth = Node27_0width;
- Node27_0lineStart = 1;
- } else if (Node27_0align === 'right') {
- Node27_0textStart = 0;
- Node27_0textWidth =Node27_0fontSize <= 8 ? Node27_0width + Node27_0fontSize * 0.2 + 6 : Node27_0width - Node27_0fontSize * 0.2;
- Node27_0lineStart = (Node27_0width - (ht.Default.getTextSize('风速', 'bold '+ Node27_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27_0align === 'center') {
- Node27_0textStart = -3;
- Node27_0textWidth = Node27_0width;
- Node27_0lineStart = Node27_0width - ht.Default.getTextSize('风速', 'bold '+ Node27_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27_0.setImage(GD.getTextJSON(Node27_0width, Node27_0height, true, false, false, 'bold '+ Node27_0fontSize + 'px "Arial"'))
- Node27_0.setPosition(195*ratio.ratioX, 103*ratio.ratioY);
- Node27_0.setWidth(Node27_0width);
- Node27_0.setHeight(Node27_0height);
- Node27_0._nodeType = 'text';
- Node27_0._disallowEvert = true;
- Node27_0.setRotation(0*Math.PI/180);
- Node27_0.a('node.width', Node27_0width);
- Node27_0.a('node.height', Node27_0height);
- Node27_0.a('node.rect', [0, 0, Node27_0width, Node27_0height]);
- Node27_0.a('node.bordercolor','rgba(255,255,255,1)');
- Node27_0.a('node.borderwidth', 0);
- Node27_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_0.a('node.gradient','');
- Node27_0.a('node.gradientcolor','');
- Node27_0.a('node.text','风速');
- Node27_0.a('node.textalign','center');
- Node27_0.a('node.textvAlign','middle');
- Node27_0.a('node.textrect', [Node27_0textStart, 0, Node27_0textWidth, Node27_0height]);
- Node27_0.a('node.color','rgba(255,255,255,1)');
- Node27_0.a('node.font','bold '+ Node27_0fontSize + 'px "Arial"');
- Node27_0.a('node.textvisible',true);
- Node27_0.a('node.linefeed',false);
- if (false) {
- Node27_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_0.a('node.text') || '风速';
- var color=Node27_0.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_0width,Node27_0height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27_0.a('node.underlinepoints',[Node27_0lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_0fontSize + 2 , ht.Default.getTextSize('风速', 'bold '+ Node27_0fontSize + 'px "Arial"').width + 6, (Node27_0height - Node27_0fontSize) * 0.5*_ratio.ratioY + Node27_0fontSize + 2 ]);
- Node27_0.a('node.underlinevisible',false);
- Node27_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_0);
- zoomNodeList.push({
- node: Node27_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_1type = 'rect';
- var Node27_1 = new ht.Node(),
- Node27_1BorderWidth = 0*2;
- if (Node27_1type === 'arc') {
- Node27_1BorderWidth *= 0;
- }
- Node27_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_1.setPosition(192*ratio.ratioX, 190*ratio.ratioY);
- Node27_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_1.a('node.width', 127*_ratio.ratioX);
- Node27_1.a('node.height', 32*_ratio.ratioY);
- Node27_1.a('node.type', Node27_1type);
- Node27_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_1.a('node.background', 'rgba(245,245,245,1)');
- Node27_1.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node27_1.a('node.gradient', '');
- Node27_1.a('node.borderwidth', Node27_1BorderWidth);
- Node27_1.a('node.color', 'rgba(192,192,192,0)');
- Node27_1.a('node.fillrect', [0,0,0,0]);
- Node27_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_1.a('node.fillgradient', '');
- if (Node27_1type !== 'rect') {
- Node27_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_1type === 'arc') {
- Node27_1.a('node.arcOval', true);
- }
- Node27_1.setRotation(0*Math.PI/180);
- Node27_1.borderWidth = Node27_1BorderWidth;
- Node27_1.borderFillwidth = Node27_1BorderWidth;
- dataModel.add(Node27_1);
- Node27_1._nodename = 'Node27_1'
- Node27_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_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);
- }
- })(Node27_1, Node27_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_2type = 'rect';
- var Node27_2 = new ht.Node(),
- Node27_2BorderWidth = 0*2;
- if (Node27_2type === 'arc') {
- Node27_2BorderWidth *= 0;
- }
- Node27_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_2.setPosition(192*ratio.ratioX, 222*ratio.ratioY);
- Node27_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_2.a('node.width', 127*_ratio.ratioX);
- Node27_2.a('node.height', 32*_ratio.ratioY);
- Node27_2.a('node.type', Node27_2type);
- Node27_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_2.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node27_2.a('node.gradientcolor', '');
- Node27_2.a('node.gradient', '');
- Node27_2.a('node.borderwidth', Node27_2BorderWidth);
- Node27_2.a('node.color', 'rgba(192,192,192,0)');
- Node27_2.a('node.fillrect', [0,0,0,0]);
- Node27_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_2.a('node.fillgradient', '');
- if (Node27_2type !== 'rect') {
- Node27_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_2type === 'arc') {
- Node27_2.a('node.arcOval', true);
- }
- Node27_2.setRotation(0*Math.PI/180);
- Node27_2.borderWidth = Node27_2BorderWidth;
- Node27_2.borderFillwidth = Node27_2BorderWidth;
- dataModel.add(Node27_2);
- Node27_2._nodename = 'Node27_2'
- Node27_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node27_2, Node27_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_3type = 'rect';
- var Node27_3 = new ht.Node(),
- Node27_3BorderWidth = 0*2;
- if (Node27_3type === 'arc') {
- Node27_3BorderWidth *= 0;
- }
- Node27_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_3.setPosition(192*ratio.ratioX, 254*ratio.ratioY);
- Node27_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_3.a('node.width', 127*_ratio.ratioX);
- Node27_3.a('node.height', 32*_ratio.ratioY);
- Node27_3.a('node.type', Node27_3type);
- Node27_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_3.a('node.background', 'rgba(245,245,245,1)');
- Node27_3.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node27_3.a('node.gradient', '');
- Node27_3.a('node.borderwidth', Node27_3BorderWidth);
- Node27_3.a('node.color', 'rgba(192,192,192,0)');
- Node27_3.a('node.fillrect', [0,0,0,0]);
- Node27_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_3.a('node.fillgradient', '');
- if (Node27_3type !== 'rect') {
- Node27_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_3type === 'arc') {
- Node27_3.a('node.arcOval', true);
- }
- Node27_3.setRotation(0*Math.PI/180);
- Node27_3.borderWidth = Node27_3BorderWidth;
- Node27_3.borderFillwidth = Node27_3BorderWidth;
- dataModel.add(Node27_3);
- Node27_3._nodename = 'Node27_3'
- Node27_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node27_3, Node27_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_4type = 'rect';
- var Node27_4 = new ht.Node(),
- Node27_4BorderWidth = 0*2;
- if (Node27_4type === 'arc') {
- Node27_4BorderWidth *= 0;
- }
- Node27_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_4.setPosition(192*ratio.ratioX, 285*ratio.ratioY);
- Node27_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_4.a('node.width', 127*_ratio.ratioX);
- Node27_4.a('node.height', 32*_ratio.ratioY);
- Node27_4.a('node.type', Node27_4type);
- Node27_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_4.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node27_4.a('node.gradientcolor', '');
- Node27_4.a('node.gradient', '');
- Node27_4.a('node.borderwidth', Node27_4BorderWidth);
- Node27_4.a('node.color', 'rgba(192,192,192,0)');
- Node27_4.a('node.fillrect', [0,0,0,0]);
- Node27_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_4.a('node.fillgradient', '');
- if (Node27_4type !== 'rect') {
- Node27_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_4type === 'arc') {
- Node27_4.a('node.arcOval', true);
- }
- Node27_4.setRotation(0*Math.PI/180);
- Node27_4.borderWidth = Node27_4BorderWidth;
- Node27_4.borderFillwidth = Node27_4BorderWidth;
- dataModel.add(Node27_4);
- Node27_4._nodename = 'Node27_4'
- Node27_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node27_4, Node27_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_5type = 'rect';
- var Node27_5 = new ht.Node(),
- Node27_5BorderWidth = 0*2;
- if (Node27_5type === 'arc') {
- Node27_5BorderWidth *= 0;
- }
- Node27_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_5.setPosition(192*ratio.ratioX, 316*ratio.ratioY);
- Node27_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_5.a('node.width', 127*_ratio.ratioX);
- Node27_5.a('node.height', 32*_ratio.ratioY);
- Node27_5.a('node.type', Node27_5type);
- Node27_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_5.a('node.background', 'rgba(245,245,245,1)');
- Node27_5.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node27_5.a('node.gradient', '');
- Node27_5.a('node.borderwidth', Node27_5BorderWidth);
- Node27_5.a('node.color', 'rgba(192,192,192,0)');
- Node27_5.a('node.fillrect', [0,0,0,0]);
- Node27_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_5.a('node.fillgradient', '');
- if (Node27_5type !== 'rect') {
- Node27_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_5type === 'arc') {
- Node27_5.a('node.arcOval', true);
- }
- Node27_5.setRotation(0*Math.PI/180);
- Node27_5.borderWidth = Node27_5BorderWidth;
- Node27_5.borderFillwidth = Node27_5BorderWidth;
- dataModel.add(Node27_5);
- Node27_5._nodename = 'Node27_5'
- Node27_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node27_5, Node27_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_6type = 'rect';
- var Node27_6 = new ht.Node(),
- Node27_6BorderWidth = 0*2;
- if (Node27_6type === 'arc') {
- Node27_6BorderWidth *= 0;
- }
- Node27_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_6.setPosition(192*ratio.ratioX, 347*ratio.ratioY);
- Node27_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_6.a('node.width', 127*_ratio.ratioX);
- Node27_6.a('node.height', 32*_ratio.ratioY);
- Node27_6.a('node.type', Node27_6type);
- Node27_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_6.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node27_6.a('node.gradientcolor', '');
- Node27_6.a('node.gradient', '');
- Node27_6.a('node.borderwidth', Node27_6BorderWidth);
- Node27_6.a('node.color', 'rgba(192,192,192,0)');
- Node27_6.a('node.fillrect', [0,0,0,0]);
- Node27_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_6.a('node.fillgradient', '');
- if (Node27_6type !== 'rect') {
- Node27_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_6type === 'arc') {
- Node27_6.a('node.arcOval', true);
- }
- Node27_6.setRotation(0*Math.PI/180);
- Node27_6.borderWidth = Node27_6BorderWidth;
- Node27_6.borderFillwidth = Node27_6BorderWidth;
- dataModel.add(Node27_6);
- Node27_6._nodename = 'Node27_6'
- Node27_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node27_6, Node27_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_7type = 'rect';
- var Node27_7 = new ht.Node(),
- Node27_7BorderWidth = 0*2;
- if (Node27_7type === 'arc') {
- Node27_7BorderWidth *= 0;
- }
- Node27_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node27_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_7.setPosition(192*ratio.ratioX, 378*ratio.ratioY);
- Node27_7.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node27_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_7.a('node.width', 127*_ratio.ratioX);
- Node27_7.a('node.height', 32*_ratio.ratioY);
- Node27_7.a('node.type', Node27_7type);
- Node27_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node27_7.a('node.background', 'rgba(245,245,245,1)');
- Node27_7.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node27_7.a('node.gradient', '');
- Node27_7.a('node.borderwidth', Node27_7BorderWidth);
- Node27_7.a('node.color', 'rgba(192,192,192,0)');
- Node27_7.a('node.fillrect', [0,0,0,0]);
- Node27_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_7.a('node.fillgradient', '');
- if (Node27_7type !== 'rect') {
- Node27_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_7type === 'arc') {
- Node27_7.a('node.arcOval', true);
- }
- Node27_7.setRotation(0*Math.PI/180);
- Node27_7.borderWidth = Node27_7BorderWidth;
- Node27_7.borderFillwidth = Node27_7BorderWidth;
- dataModel.add(Node27_7);
- Node27_7._nodename = 'Node27_7'
- Node27_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_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);
- }
- })(Node27_7, Node27_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_8 = new ht.Node();
- var Node27_8textStart, Node27_8textWidth, Node27_8lineStart, Node27_8align = 'center', Node27_8fontSize = 11.99997*_ratio.ratioY,Node27_8width = 105*_ratio.ratioX, Node27_8height = 17*_ratio.ratioY;
- (function () {
- if (Node27_8align === 'left') {
- Node27_8textStart = Node27_8fontSize * 0.2 > 2 ? Node27_8fontSize * 0.2 - 4 : Node27_8fontSize * 0.2 - 9;
- Node27_8textWidth = Node27_8width;
- Node27_8lineStart = 1;
- } else if (Node27_8align === 'right') {
- Node27_8textStart = 0;
- Node27_8textWidth =Node27_8fontSize <= 8 ? Node27_8width + Node27_8fontSize * 0.2 + 6 : Node27_8width - Node27_8fontSize * 0.2;
- Node27_8lineStart = (Node27_8width - (ht.Default.getTextSize('m/s', 'bold '+ Node27_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27_8align === 'center') {
- Node27_8textStart = -3;
- Node27_8textWidth = Node27_8width;
- Node27_8lineStart = Node27_8width - ht.Default.getTextSize('m/s', 'bold '+ Node27_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27_8.setImage(GD.getTextJSON(Node27_8width, Node27_8height, true, false, false, 'bold '+ Node27_8fontSize + 'px "Arial"'))
- Node27_8.setPosition(192*ratio.ratioX, 133*ratio.ratioY);
- Node27_8.setWidth(Node27_8width);
- Node27_8.setHeight(Node27_8height);
- Node27_8._nodeType = 'text';
- Node27_8._disallowEvert = true;
- Node27_8.setRotation(0*Math.PI/180);
- Node27_8.a('node.width', Node27_8width);
- Node27_8.a('node.height', Node27_8height);
- Node27_8.a('node.rect', [0, 0, Node27_8width, Node27_8height]);
- Node27_8.a('node.bordercolor','rgba(128,128,128,1)');
- Node27_8.a('node.borderwidth', 0);
- Node27_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_8.a('node.gradient','');
- Node27_8.a('node.gradientcolor','');
- Node27_8.a('node.text','m/s');
- Node27_8.a('node.textalign','center');
- Node27_8.a('node.textvAlign','middle');
- Node27_8.a('node.textrect', [Node27_8textStart, 0, Node27_8textWidth, Node27_8height]);
- Node27_8.a('node.color','rgba(128,128,128,1)');
- Node27_8.a('node.font','bold '+ Node27_8fontSize + 'px "Arial"');
- Node27_8.a('node.textvisible',true);
- Node27_8.a('node.linefeed',false);
- if (false) {
- Node27_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_8.a('node.text') || 'm/s';
- var color=Node27_8.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node27_8width,Node27_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node27_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27_8.a('node.underlinepoints',[Node27_8lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node27_8fontSize + 2 , ht.Default.getTextSize('m/s', 'bold '+ Node27_8fontSize + 'px "Arial"').width + 6, (Node27_8height - Node27_8fontSize) * 0.5*_ratio.ratioY + Node27_8fontSize + 2 ]);
- Node27_8.a('node.underlinevisible',false);
- Node27_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_8);
- zoomNodeList.push({
- node: Node27_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_9 = new ht.Node();
- var Node27_9textStart, Node27_9textWidth, Node27_9lineStart, Node27_9align = 'center', Node27_9fontSize = 13.3333*_ratio.ratioY,Node27_9width = 105*_ratio.ratioX, Node27_9height = 17*_ratio.ratioY;
- (function () {
- if (Node27_9align === 'left') {
- Node27_9textStart = Node27_9fontSize * 0.2 > 2 ? Node27_9fontSize * 0.2 - 4 : Node27_9fontSize * 0.2 - 9;
- Node27_9textWidth = Node27_9width;
- Node27_9lineStart = 1;
- } else if (Node27_9align === 'right') {
- Node27_9textStart = 0;
- Node27_9textWidth =Node27_9fontSize <= 8 ? Node27_9width + Node27_9fontSize * 0.2 + 6 : Node27_9width - Node27_9fontSize * 0.2;
- Node27_9lineStart = (Node27_9width - (ht.Default.getTextSize('9.7', 'bold '+ Node27_9fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_9align === 'center') {
- Node27_9textStart = -3;
- Node27_9textWidth = Node27_9width;
- Node27_9lineStart = Node27_9width - ht.Default.getTextSize('9.7', 'bold '+ Node27_9fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_9.setImage(GD.getTextJSON(Node27_9width, Node27_9height, true, false, false, 'bold '+ Node27_9fontSize + 'px "UniDreamLED"'))
- Node27_9.setPosition(192*ratio.ratioX, 164*ratio.ratioY);
- Node27_9.setWidth(Node27_9width);
- Node27_9.setHeight(Node27_9height);
- Node27_9._nodeType = 'text';
- Node27_9._disallowEvert = true;
- Node27_9.setRotation(0*Math.PI/180);
- Node27_9.a('node.width', Node27_9width);
- Node27_9.a('node.height', Node27_9height);
- Node27_9.a('node.rect', [0, 0, Node27_9width, Node27_9height]);
- Node27_9.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_9.a('node.borderwidth', 0);
- Node27_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_9.a('node.gradient','');
- Node27_9.a('node.gradientcolor','');
- Node27_9.a('node.text','9.7');
- Node27_9.a('node.textalign','center');
- Node27_9.a('node.textvAlign','middle');
- Node27_9.a('node.textrect', [Node27_9textStart, 0, Node27_9textWidth, Node27_9height]);
- Node27_9.a('node.color','rgba(25,25,112,1)');
- Node27_9.a('node.font','bold '+ Node27_9fontSize + 'px "UniDreamLED"');
- Node27_9.a('node.textvisible',true);
- Node27_9.a('node.linefeed',false);
- if (false) {
- Node27_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_9.a('node.text') || '9.7';
- var color=Node27_9.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_9width,Node27_9height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_9fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_9.a('node.underlinepoints',[Node27_9lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_9fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node27_9fontSize + 'px "UniDreamLED"').width + 6, (Node27_9height - Node27_9fontSize) * 0.5*_ratio.ratioY + Node27_9fontSize + 2 ]);
- Node27_9.a('node.underlinevisible',false);
- Node27_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_9);
- zoomNodeList.push({
- node: Node27_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_10 = new ht.Node();
- var Node27_10textStart, Node27_10textWidth, Node27_10lineStart, Node27_10align = 'center', Node27_10fontSize = 13.3333*_ratio.ratioY,Node27_10width = 105*_ratio.ratioX, Node27_10height = 17*_ratio.ratioY;
- (function () {
- if (Node27_10align === 'left') {
- Node27_10textStart = Node27_10fontSize * 0.2 > 2 ? Node27_10fontSize * 0.2 - 4 : Node27_10fontSize * 0.2 - 9;
- Node27_10textWidth = Node27_10width;
- Node27_10lineStart = 1;
- } else if (Node27_10align === 'right') {
- Node27_10textStart = 0;
- Node27_10textWidth =Node27_10fontSize <= 8 ? Node27_10width + Node27_10fontSize * 0.2 + 6 : Node27_10width - Node27_10fontSize * 0.2;
- Node27_10lineStart = (Node27_10width - (ht.Default.getTextSize('8.02', 'bold '+ Node27_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_10align === 'center') {
- Node27_10textStart = -3;
- Node27_10textWidth = Node27_10width;
- Node27_10lineStart = Node27_10width - ht.Default.getTextSize('8.02', 'bold '+ Node27_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_10.setImage(GD.getTextJSON(Node27_10width, Node27_10height, true, false, false, 'bold '+ Node27_10fontSize + 'px "UniDreamLED"'))
- Node27_10.setPosition(192*ratio.ratioX, 194*ratio.ratioY);
- Node27_10.setWidth(Node27_10width);
- Node27_10.setHeight(Node27_10height);
- Node27_10._nodeType = 'text';
- Node27_10._disallowEvert = true;
- Node27_10.setRotation(0*Math.PI/180);
- Node27_10.a('node.width', Node27_10width);
- Node27_10.a('node.height', Node27_10height);
- Node27_10.a('node.rect', [0, 0, Node27_10width, Node27_10height]);
- Node27_10.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_10.a('node.borderwidth', 0);
- Node27_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_10.a('node.gradient','');
- Node27_10.a('node.gradientcolor','');
- Node27_10.a('node.text','8.02');
- Node27_10.a('node.textalign','center');
- Node27_10.a('node.textvAlign','middle');
- Node27_10.a('node.textrect', [Node27_10textStart, 0, Node27_10textWidth, Node27_10height]);
- Node27_10.a('node.color','rgba(25,25,112,1)');
- Node27_10.a('node.font','bold '+ Node27_10fontSize + 'px "UniDreamLED"');
- Node27_10.a('node.textvisible',true);
- Node27_10.a('node.linefeed',false);
- if (false) {
- Node27_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_10.a('node.text') || '8.02';
- var color=Node27_10.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_10width,Node27_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_10.a('node.underlinepoints',[Node27_10lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_10fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node27_10fontSize + 'px "UniDreamLED"').width + 6, (Node27_10height - Node27_10fontSize) * 0.5*_ratio.ratioY + Node27_10fontSize + 2 ]);
- Node27_10.a('node.underlinevisible',false);
- Node27_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_10);
- zoomNodeList.push({
- node: Node27_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_11 = new ht.Node();
- var Node27_11textStart, Node27_11textWidth, Node27_11lineStart, Node27_11align = 'center', Node27_11fontSize = 13.3333*_ratio.ratioY,Node27_11width = 105*_ratio.ratioX, Node27_11height = 17*_ratio.ratioY;
- (function () {
- if (Node27_11align === 'left') {
- Node27_11textStart = Node27_11fontSize * 0.2 > 2 ? Node27_11fontSize * 0.2 - 4 : Node27_11fontSize * 0.2 - 9;
- Node27_11textWidth = Node27_11width;
- Node27_11lineStart = 1;
- } else if (Node27_11align === 'right') {
- Node27_11textStart = 0;
- Node27_11textWidth =Node27_11fontSize <= 8 ? Node27_11width + Node27_11fontSize * 0.2 + 6 : Node27_11width - Node27_11fontSize * 0.2;
- Node27_11lineStart = (Node27_11width - (ht.Default.getTextSize('9.69', 'bold '+ Node27_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_11align === 'center') {
- Node27_11textStart = -3;
- Node27_11textWidth = Node27_11width;
- Node27_11lineStart = Node27_11width - ht.Default.getTextSize('9.69', 'bold '+ Node27_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_11.setImage(GD.getTextJSON(Node27_11width, Node27_11height, true, false, false, 'bold '+ Node27_11fontSize + 'px "UniDreamLED"'))
- Node27_11.setPosition(192*ratio.ratioX, 225*ratio.ratioY);
- Node27_11.setWidth(Node27_11width);
- Node27_11.setHeight(Node27_11height);
- Node27_11._nodeType = 'text';
- Node27_11._disallowEvert = true;
- Node27_11.setRotation(0*Math.PI/180);
- Node27_11.a('node.width', Node27_11width);
- Node27_11.a('node.height', Node27_11height);
- Node27_11.a('node.rect', [0, 0, Node27_11width, Node27_11height]);
- Node27_11.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_11.a('node.borderwidth', 0);
- Node27_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_11.a('node.gradient','');
- Node27_11.a('node.gradientcolor','');
- Node27_11.a('node.text','9.69');
- Node27_11.a('node.textalign','center');
- Node27_11.a('node.textvAlign','middle');
- Node27_11.a('node.textrect', [Node27_11textStart, 0, Node27_11textWidth, Node27_11height]);
- Node27_11.a('node.color','rgba(25,25,112,1)');
- Node27_11.a('node.font','bold '+ Node27_11fontSize + 'px "UniDreamLED"');
- Node27_11.a('node.textvisible',true);
- Node27_11.a('node.linefeed',false);
- if (false) {
- Node27_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_11.a('node.text') || '9.69';
- var color=Node27_11.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_11width,Node27_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_11.a('node.underlinepoints',[Node27_11lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_11fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node27_11fontSize + 'px "UniDreamLED"').width + 6, (Node27_11height - Node27_11fontSize) * 0.5*_ratio.ratioY + Node27_11fontSize + 2 ]);
- Node27_11.a('node.underlinevisible',false);
- Node27_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_11);
- zoomNodeList.push({
- node: Node27_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_12 = new ht.Node();
- var Node27_12textStart, Node27_12textWidth, Node27_12lineStart, Node27_12align = 'center', Node27_12fontSize = 13.3333*_ratio.ratioY,Node27_12width = 105*_ratio.ratioX, Node27_12height = 17*_ratio.ratioY;
- (function () {
- if (Node27_12align === 'left') {
- Node27_12textStart = Node27_12fontSize * 0.2 > 2 ? Node27_12fontSize * 0.2 - 4 : Node27_12fontSize * 0.2 - 9;
- Node27_12textWidth = Node27_12width;
- Node27_12lineStart = 1;
- } else if (Node27_12align === 'right') {
- Node27_12textStart = 0;
- Node27_12textWidth =Node27_12fontSize <= 8 ? Node27_12width + Node27_12fontSize * 0.2 + 6 : Node27_12width - Node27_12fontSize * 0.2;
- Node27_12lineStart = (Node27_12width - (ht.Default.getTextSize('10.72', 'bold '+ Node27_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_12align === 'center') {
- Node27_12textStart = -3;
- Node27_12textWidth = Node27_12width;
- Node27_12lineStart = Node27_12width - ht.Default.getTextSize('10.72', 'bold '+ Node27_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_12.setImage(GD.getTextJSON(Node27_12width, Node27_12height, true, false, false, 'bold '+ Node27_12fontSize + 'px "UniDreamLED"'))
- Node27_12.setPosition(192*ratio.ratioX, 256*ratio.ratioY);
- Node27_12.setWidth(Node27_12width);
- Node27_12.setHeight(Node27_12height);
- Node27_12._nodeType = 'text';
- Node27_12._disallowEvert = true;
- Node27_12.setRotation(0*Math.PI/180);
- Node27_12.a('node.width', Node27_12width);
- Node27_12.a('node.height', Node27_12height);
- Node27_12.a('node.rect', [0, 0, Node27_12width, Node27_12height]);
- Node27_12.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_12.a('node.borderwidth', 0);
- Node27_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_12.a('node.gradient','');
- Node27_12.a('node.gradientcolor','');
- Node27_12.a('node.text','10.72');
- Node27_12.a('node.textalign','center');
- Node27_12.a('node.textvAlign','middle');
- Node27_12.a('node.textrect', [Node27_12textStart, 0, Node27_12textWidth, Node27_12height]);
- Node27_12.a('node.color','rgba(25,25,112,1)');
- Node27_12.a('node.font','bold '+ Node27_12fontSize + 'px "UniDreamLED"');
- Node27_12.a('node.textvisible',true);
- Node27_12.a('node.linefeed',false);
- if (false) {
- Node27_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_12.a('node.text') || '10.72';
- var color=Node27_12.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_12width,Node27_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_12.a('node.underlinepoints',[Node27_12lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_12fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node27_12fontSize + 'px "UniDreamLED"').width + 6, (Node27_12height - Node27_12fontSize) * 0.5*_ratio.ratioY + Node27_12fontSize + 2 ]);
- Node27_12.a('node.underlinevisible',false);
- Node27_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_12);
- zoomNodeList.push({
- node: Node27_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_13 = new ht.Node();
- var Node27_13textStart, Node27_13textWidth, Node27_13lineStart, Node27_13align = 'center', Node27_13fontSize = 13.3333*_ratio.ratioY,Node27_13width = 105*_ratio.ratioX, Node27_13height = 17*_ratio.ratioY;
- (function () {
- if (Node27_13align === 'left') {
- Node27_13textStart = Node27_13fontSize * 0.2 > 2 ? Node27_13fontSize * 0.2 - 4 : Node27_13fontSize * 0.2 - 9;
- Node27_13textWidth = Node27_13width;
- Node27_13lineStart = 1;
- } else if (Node27_13align === 'right') {
- Node27_13textStart = 0;
- Node27_13textWidth =Node27_13fontSize <= 8 ? Node27_13width + Node27_13fontSize * 0.2 + 6 : Node27_13width - Node27_13fontSize * 0.2;
- Node27_13lineStart = (Node27_13width - (ht.Default.getTextSize('7.97', 'bold '+ Node27_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_13align === 'center') {
- Node27_13textStart = -3;
- Node27_13textWidth = Node27_13width;
- Node27_13lineStart = Node27_13width - ht.Default.getTextSize('7.97', 'bold '+ Node27_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_13.setImage(GD.getTextJSON(Node27_13width, Node27_13height, true, false, false, 'bold '+ Node27_13fontSize + 'px "UniDreamLED"'))
- Node27_13.setPosition(192*ratio.ratioX, 286*ratio.ratioY);
- Node27_13.setWidth(Node27_13width);
- Node27_13.setHeight(Node27_13height);
- Node27_13._nodeType = 'text';
- Node27_13._disallowEvert = true;
- Node27_13.setRotation(0*Math.PI/180);
- Node27_13.a('node.width', Node27_13width);
- Node27_13.a('node.height', Node27_13height);
- Node27_13.a('node.rect', [0, 0, Node27_13width, Node27_13height]);
- Node27_13.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_13.a('node.borderwidth', 0);
- Node27_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_13.a('node.gradient','');
- Node27_13.a('node.gradientcolor','');
- Node27_13.a('node.text','7.97');
- Node27_13.a('node.textalign','center');
- Node27_13.a('node.textvAlign','middle');
- Node27_13.a('node.textrect', [Node27_13textStart, 0, Node27_13textWidth, Node27_13height]);
- Node27_13.a('node.color','rgba(25,25,112,1)');
- Node27_13.a('node.font','bold '+ Node27_13fontSize + 'px "UniDreamLED"');
- Node27_13.a('node.textvisible',true);
- Node27_13.a('node.linefeed',false);
- if (false) {
- Node27_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_13.a('node.text') || '7.97';
- var color=Node27_13.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_13width,Node27_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_13.a('node.underlinepoints',[Node27_13lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_13fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node27_13fontSize + 'px "UniDreamLED"').width + 6, (Node27_13height - Node27_13fontSize) * 0.5*_ratio.ratioY + Node27_13fontSize + 2 ]);
- Node27_13.a('node.underlinevisible',false);
- Node27_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_13);
- zoomNodeList.push({
- node: Node27_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_14 = new ht.Node();
- var Node27_14textStart, Node27_14textWidth, Node27_14lineStart, Node27_14align = 'center', Node27_14fontSize = 13.3333*_ratio.ratioY,Node27_14width = 105*_ratio.ratioX, Node27_14height = 17*_ratio.ratioY;
- (function () {
- if (Node27_14align === 'left') {
- Node27_14textStart = Node27_14fontSize * 0.2 > 2 ? Node27_14fontSize * 0.2 - 4 : Node27_14fontSize * 0.2 - 9;
- Node27_14textWidth = Node27_14width;
- Node27_14lineStart = 1;
- } else if (Node27_14align === 'right') {
- Node27_14textStart = 0;
- Node27_14textWidth =Node27_14fontSize <= 8 ? Node27_14width + Node27_14fontSize * 0.2 + 6 : Node27_14width - Node27_14fontSize * 0.2;
- Node27_14lineStart = (Node27_14width - (ht.Default.getTextSize('8.1', 'bold '+ Node27_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_14align === 'center') {
- Node27_14textStart = -3;
- Node27_14textWidth = Node27_14width;
- Node27_14lineStart = Node27_14width - ht.Default.getTextSize('8.1', 'bold '+ Node27_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_14.setImage(GD.getTextJSON(Node27_14width, Node27_14height, true, false, false, 'bold '+ Node27_14fontSize + 'px "UniDreamLED"'))
- Node27_14.setPosition(192*ratio.ratioX, 317*ratio.ratioY);
- Node27_14.setWidth(Node27_14width);
- Node27_14.setHeight(Node27_14height);
- Node27_14._nodeType = 'text';
- Node27_14._disallowEvert = true;
- Node27_14.setRotation(0*Math.PI/180);
- Node27_14.a('node.width', Node27_14width);
- Node27_14.a('node.height', Node27_14height);
- Node27_14.a('node.rect', [0, 0, Node27_14width, Node27_14height]);
- Node27_14.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_14.a('node.borderwidth', 0);
- Node27_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_14.a('node.gradient','');
- Node27_14.a('node.gradientcolor','');
- Node27_14.a('node.text','8.1');
- Node27_14.a('node.textalign','center');
- Node27_14.a('node.textvAlign','middle');
- Node27_14.a('node.textrect', [Node27_14textStart, 0, Node27_14textWidth, Node27_14height]);
- Node27_14.a('node.color','rgba(25,25,112,1)');
- Node27_14.a('node.font','bold '+ Node27_14fontSize + 'px "UniDreamLED"');
- Node27_14.a('node.textvisible',true);
- Node27_14.a('node.linefeed',false);
- if (false) {
- Node27_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_14.a('node.text') || '8.1';
- var color=Node27_14.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_14width,Node27_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_14.a('node.underlinepoints',[Node27_14lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_14fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node27_14fontSize + 'px "UniDreamLED"').width + 6, (Node27_14height - Node27_14fontSize) * 0.5*_ratio.ratioY + Node27_14fontSize + 2 ]);
- Node27_14.a('node.underlinevisible',false);
- Node27_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_14);
- zoomNodeList.push({
- node: Node27_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_15 = new ht.Node();
- var Node27_15textStart, Node27_15textWidth, Node27_15lineStart, Node27_15align = 'center', Node27_15fontSize = 13.3333*_ratio.ratioY,Node27_15width = 105*_ratio.ratioX, Node27_15height = 17*_ratio.ratioY;
- (function () {
- if (Node27_15align === 'left') {
- Node27_15textStart = Node27_15fontSize * 0.2 > 2 ? Node27_15fontSize * 0.2 - 4 : Node27_15fontSize * 0.2 - 9;
- Node27_15textWidth = Node27_15width;
- Node27_15lineStart = 1;
- } else if (Node27_15align === 'right') {
- Node27_15textStart = 0;
- Node27_15textWidth =Node27_15fontSize <= 8 ? Node27_15width + Node27_15fontSize * 0.2 + 6 : Node27_15width - Node27_15fontSize * 0.2;
- Node27_15lineStart = (Node27_15width - (ht.Default.getTextSize('9.2', 'bold '+ Node27_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_15align === 'center') {
- Node27_15textStart = -3;
- Node27_15textWidth = Node27_15width;
- Node27_15lineStart = Node27_15width - ht.Default.getTextSize('9.2', 'bold '+ Node27_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_15.setImage(GD.getTextJSON(Node27_15width, Node27_15height, true, false, false, 'bold '+ Node27_15fontSize + 'px "UniDreamLED"'))
- Node27_15.setPosition(192*ratio.ratioX, 348*ratio.ratioY);
- Node27_15.setWidth(Node27_15width);
- Node27_15.setHeight(Node27_15height);
- Node27_15._nodeType = 'text';
- Node27_15._disallowEvert = true;
- Node27_15.setRotation(0*Math.PI/180);
- Node27_15.a('node.width', Node27_15width);
- Node27_15.a('node.height', Node27_15height);
- Node27_15.a('node.rect', [0, 0, Node27_15width, Node27_15height]);
- Node27_15.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_15.a('node.borderwidth', 0);
- Node27_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_15.a('node.gradient','');
- Node27_15.a('node.gradientcolor','');
- Node27_15.a('node.text','9.2');
- Node27_15.a('node.textalign','center');
- Node27_15.a('node.textvAlign','middle');
- Node27_15.a('node.textrect', [Node27_15textStart, 0, Node27_15textWidth, Node27_15height]);
- Node27_15.a('node.color','rgba(25,25,112,1)');
- Node27_15.a('node.font','bold '+ Node27_15fontSize + 'px "UniDreamLED"');
- Node27_15.a('node.textvisible',true);
- Node27_15.a('node.linefeed',false);
- if (false) {
- Node27_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_15.a('node.text') || '9.2';
- var color=Node27_15.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_15width,Node27_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_15.a('node.underlinepoints',[Node27_15lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_15fontSize + 2 , ht.Default.getTextSize('9.2', 'bold '+ Node27_15fontSize + 'px "UniDreamLED"').width + 6, (Node27_15height - Node27_15fontSize) * 0.5*_ratio.ratioY + Node27_15fontSize + 2 ]);
- Node27_15.a('node.underlinevisible',false);
- Node27_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_15);
- zoomNodeList.push({
- node: Node27_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_16 = new ht.Node();
- var Node27_16textStart, Node27_16textWidth, Node27_16lineStart, Node27_16align = 'center', Node27_16fontSize = 13.3333*_ratio.ratioY,Node27_16width = 105*_ratio.ratioX, Node27_16height = 17*_ratio.ratioY;
- (function () {
- if (Node27_16align === 'left') {
- Node27_16textStart = Node27_16fontSize * 0.2 > 2 ? Node27_16fontSize * 0.2 - 4 : Node27_16fontSize * 0.2 - 9;
- Node27_16textWidth = Node27_16width;
- Node27_16lineStart = 1;
- } else if (Node27_16align === 'right') {
- Node27_16textStart = 0;
- Node27_16textWidth =Node27_16fontSize <= 8 ? Node27_16width + Node27_16fontSize * 0.2 + 6 : Node27_16width - Node27_16fontSize * 0.2;
- Node27_16lineStart = (Node27_16width - (ht.Default.getTextSize('-', 'bold '+ Node27_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node27_16align === 'center') {
- Node27_16textStart = -3;
- Node27_16textWidth = Node27_16width;
- Node27_16lineStart = Node27_16width - ht.Default.getTextSize('-', 'bold '+ Node27_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node27_16.setImage(GD.getTextJSON(Node27_16width, Node27_16height, true, false, false, 'bold '+ Node27_16fontSize + 'px "UniDreamLED"'))
- Node27_16.setPosition(192*ratio.ratioX, 378*ratio.ratioY);
- Node27_16.setWidth(Node27_16width);
- Node27_16.setHeight(Node27_16height);
- Node27_16._nodeType = 'text';
- Node27_16._disallowEvert = true;
- Node27_16.setRotation(0*Math.PI/180);
- Node27_16.a('node.width', Node27_16width);
- Node27_16.a('node.height', Node27_16height);
- Node27_16.a('node.rect', [0, 0, Node27_16width, Node27_16height]);
- Node27_16.a('node.bordercolor','rgba(25,25,112,1)');
- Node27_16.a('node.borderwidth', 0);
- Node27_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node27_16.a('node.gradient','');
- Node27_16.a('node.gradientcolor','');
- Node27_16.a('node.text','-');
- Node27_16.a('node.textalign','center');
- Node27_16.a('node.textvAlign','middle');
- Node27_16.a('node.textrect', [Node27_16textStart, 0, Node27_16textWidth, Node27_16height]);
- Node27_16.a('node.color','rgba(25,25,112,1)');
- Node27_16.a('node.font','bold '+ Node27_16fontSize + 'px "UniDreamLED"');
- Node27_16.a('node.textvisible',true);
- Node27_16.a('node.linefeed',false);
- if (false) {
- Node27_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27_16.a('node.text') || '-';
- var color=Node27_16.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27_16width,Node27_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node27_16.a('node.underlinepoints',[Node27_16lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node27_16fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node27_16fontSize + 'px "UniDreamLED"').width + 6, (Node27_16height - Node27_16fontSize) * 0.5*_ratio.ratioY + Node27_16fontSize + 2 ]);
- Node27_16.a('node.underlinevisible',false);
- Node27_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27_16);
- zoomNodeList.push({
- node: Node27_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27_17type = 'rect';
- var Node27_17 = new ht.Node(),
- Node27_17BorderWidth = 1*2;
- if (Node27_17type === 'arc') {
- Node27_17BorderWidth *= 1;
- }
- Node27_17.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node27_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node27_17.setPosition(192*ratio.ratioX, 239*ratio.ratioY);
- Node27_17.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node27_17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node27_17.a('node.width', 127*_ratio.ratioX);
- Node27_17.a('node.height', 309*_ratio.ratioY);
- Node27_17.a('node.type', Node27_17type);
- Node27_17.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node27_17.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node27_17.a('node.gradientcolor', '');
- Node27_17.a('node.gradient', '');
- Node27_17.a('node.borderwidth', Node27_17BorderWidth);
- Node27_17.a('node.color', 'rgba(192,192,192,1)');
- Node27_17.a('node.fillrect', [0,0,0,0]);
- Node27_17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node27_17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node27_17.a('node.fillgradient', '');
- if (Node27_17type !== 'rect') {
- Node27_17.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node27_17.a('node.arcTo', parseFloat('@arcTo@'));
- Node27_17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node27_17type === 'arc') {
- Node27_17.a('node.arcOval', true);
- }
- Node27_17.setRotation(0*Math.PI/180);
- Node27_17.borderWidth = Node27_17BorderWidth;
- Node27_17.borderFillwidth = Node27_17BorderWidth;
- dataModel.add(Node27_17);
- Node27_17._nodename = 'Node27_17'
- Node27_17._nodeType = 'rect';
- zoomNodeList.push({
- node: Node27_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);
- }
- })(Node27_17, Node27_17.getImage());var Node27_18points=[264, 230,264, 230],
- Node27_18rect=ht.Default.unionPoint([{x:264,y:230},{x:264,y:230}]),
- Node27_18compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node27_18points.length;i++){
- if(i%2==0){
- Node27_18compspts.push(Node27_18points[i]-Node27_18rect.x);
- }else{
- Node27_18compspts.push(Node27_18points[i]-Node27_18rect.y);
- }
- }
- var Node27_18ptslength=Node27_18compspts.length;
- if (Node27_18rect.height === 0) {
- Node27_18compspts[0] -= 0;
- Node27_18compspts[Node27_18ptslength-2] += 0;
- } else if (Node27_18rect.width === 0){
- Node27_18compspts[1] -= 0;
- Node27_18compspts[Node27_18ptslength-1] += 0;
- } else {
- Node27_18compspts[0] -= 0;
- Node27_18compspts[1] -= 0;
- Node27_18compspts[Node27_18ptslength-2] += 0;
- Node27_18compspts[Node27_18ptslength-1] += 0;
- }
- Node27_18 = new ht.Node();
- Node27_18.borderWidth = 1;
- Node27_18rect.width = Node27_18rect.width === 0 ? 0.0001 : Node27_18rect.width;
- Node27_18rect.height = Node27_18rect.height === 0 ? 0.0001 : Node27_18rect.height;
- var Node27_18endCompspts = [Node27_18compspts[Node27_18ptslength-2],Node27_18compspts[Node27_18ptslength-1],0,0];
- var Node27_18startCompspts = [Node27_18compspts[0],Node27_18compspts[1],0,0];
- Node27_18.setImage(GD.getPolyLineJSON());
- Node27_18.setPosition(Node27_18rect.x+Node27_18rect.width/2,Node27_18rect.y+Node27_18rect.height/2);
- Node27_18.setSize(Node27_18rect.width,Node27_18rect.height);
- Node27_18.setStyle("opacity",1);
- Node27_18.s({'pixelPerfect':true});
- Node27_18borderwidth=1;
- Node27_18.setRotation(0);
- dataModel.add(Node27_18);
- Node27_18.a('node.points',Node27_18compspts);
- Node27_18.a('node.segments',[1,2]);
- Node27_18.a('node.color','rgba(0,0,0,1)');
- Node27_18.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node27_18.a('node.borderColor','rgba(0,0,0,1)');
- Node27_18.a('node.background','rgba(0,0,0,1)');
- Node27_18.a('node.gradient','');
- Node27_18.a('node.gradientcolor','rgba(0,0,0,1)');
- Node27_18.a('node.endCompspts',Node27_18endCompspts);
- Node27_18.a('node.startCompspts',Node27_18startCompspts);
- (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 = 'Node27_18';
- 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);
- }
- })(Node27_18, Node27_18.getImage(), Node27_18compspts, Node27_18endCompspts, Node27_18startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_0type = 'rect';
- var Node28_0 = new ht.Node(),
- Node28_0BorderWidth = 0*2;
- if (Node28_0type === 'arc') {
- Node28_0BorderWidth *= 0;
- }
- Node28_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_0.setPosition(319*ratio.ratioX, 190*ratio.ratioY);
- Node28_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_0.a('node.width', 127*_ratio.ratioX);
- Node28_0.a('node.height', 32*_ratio.ratioY);
- Node28_0.a('node.type', Node28_0type);
- Node28_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_0.a('node.background', 'rgba(245,245,245,1)');
- Node28_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node28_0.a('node.gradient', '');
- Node28_0.a('node.borderwidth', Node28_0BorderWidth);
- Node28_0.a('node.color', 'rgba(192,192,192,0)');
- Node28_0.a('node.fillrect', [0,0,0,0]);
- Node28_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_0.a('node.fillgradient', '');
- if (Node28_0type !== 'rect') {
- Node28_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_0type === 'arc') {
- Node28_0.a('node.arcOval', true);
- }
- Node28_0.setRotation(0*Math.PI/180);
- Node28_0.borderWidth = Node28_0BorderWidth;
- Node28_0.borderFillwidth = Node28_0BorderWidth;
- dataModel.add(Node28_0);
- Node28_0._nodename = 'Node28_0'
- Node28_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_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);
- }
- })(Node28_0, Node28_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_1type = 'rect';
- var Node28_1 = new ht.Node(),
- Node28_1BorderWidth = 0*2;
- if (Node28_1type === 'arc') {
- Node28_1BorderWidth *= 0;
- }
- Node28_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_1.setPosition(319*ratio.ratioX, 222*ratio.ratioY);
- Node28_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_1.a('node.width', 127*_ratio.ratioX);
- Node28_1.a('node.height', 32*_ratio.ratioY);
- Node28_1.a('node.type', Node28_1type);
- Node28_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node28_1.a('node.gradientcolor', '');
- Node28_1.a('node.gradient', '');
- Node28_1.a('node.borderwidth', Node28_1BorderWidth);
- Node28_1.a('node.color', 'rgba(192,192,192,0)');
- Node28_1.a('node.fillrect', [0,0,0,0]);
- Node28_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_1.a('node.fillgradient', '');
- if (Node28_1type !== 'rect') {
- Node28_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_1type === 'arc') {
- Node28_1.a('node.arcOval', true);
- }
- Node28_1.setRotation(0*Math.PI/180);
- Node28_1.borderWidth = Node28_1BorderWidth;
- Node28_1.borderFillwidth = Node28_1BorderWidth;
- dataModel.add(Node28_1);
- Node28_1._nodename = 'Node28_1'
- Node28_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_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);
- }
- })(Node28_1, Node28_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_2type = 'rect';
- var Node28_2 = new ht.Node(),
- Node28_2BorderWidth = 0*2;
- if (Node28_2type === 'arc') {
- Node28_2BorderWidth *= 0;
- }
- Node28_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_2.setPosition(319*ratio.ratioX, 254*ratio.ratioY);
- Node28_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_2.a('node.width', 127*_ratio.ratioX);
- Node28_2.a('node.height', 32*_ratio.ratioY);
- Node28_2.a('node.type', Node28_2type);
- Node28_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_2.a('node.background', 'rgba(245,245,245,1)');
- Node28_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node28_2.a('node.gradient', '');
- Node28_2.a('node.borderwidth', Node28_2BorderWidth);
- Node28_2.a('node.color', 'rgba(192,192,192,0)');
- Node28_2.a('node.fillrect', [0,0,0,0]);
- Node28_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_2.a('node.fillgradient', '');
- if (Node28_2type !== 'rect') {
- Node28_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_2type === 'arc') {
- Node28_2.a('node.arcOval', true);
- }
- Node28_2.setRotation(0*Math.PI/180);
- Node28_2.borderWidth = Node28_2BorderWidth;
- Node28_2.borderFillwidth = Node28_2BorderWidth;
- dataModel.add(Node28_2);
- Node28_2._nodename = 'Node28_2'
- Node28_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node28_2, Node28_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_3type = 'rect';
- var Node28_3 = new ht.Node(),
- Node28_3BorderWidth = 0*2;
- if (Node28_3type === 'arc') {
- Node28_3BorderWidth *= 0;
- }
- Node28_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_3.setPosition(319*ratio.ratioX, 285*ratio.ratioY);
- Node28_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_3.a('node.width', 127*_ratio.ratioX);
- Node28_3.a('node.height', 32*_ratio.ratioY);
- Node28_3.a('node.type', Node28_3type);
- Node28_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node28_3.a('node.gradientcolor', '');
- Node28_3.a('node.gradient', '');
- Node28_3.a('node.borderwidth', Node28_3BorderWidth);
- Node28_3.a('node.color', 'rgba(192,192,192,0)');
- Node28_3.a('node.fillrect', [0,0,0,0]);
- Node28_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_3.a('node.fillgradient', '');
- if (Node28_3type !== 'rect') {
- Node28_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_3type === 'arc') {
- Node28_3.a('node.arcOval', true);
- }
- Node28_3.setRotation(0*Math.PI/180);
- Node28_3.borderWidth = Node28_3BorderWidth;
- Node28_3.borderFillwidth = Node28_3BorderWidth;
- dataModel.add(Node28_3);
- Node28_3._nodename = 'Node28_3'
- Node28_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node28_3, Node28_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_4type = 'rect';
- var Node28_4 = new ht.Node(),
- Node28_4BorderWidth = 0*2;
- if (Node28_4type === 'arc') {
- Node28_4BorderWidth *= 0;
- }
- Node28_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_4.setPosition(319*ratio.ratioX, 316*ratio.ratioY);
- Node28_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_4.a('node.width', 127*_ratio.ratioX);
- Node28_4.a('node.height', 32*_ratio.ratioY);
- Node28_4.a('node.type', Node28_4type);
- Node28_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_4.a('node.background', 'rgba(245,245,245,1)');
- Node28_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node28_4.a('node.gradient', '');
- Node28_4.a('node.borderwidth', Node28_4BorderWidth);
- Node28_4.a('node.color', 'rgba(192,192,192,0)');
- Node28_4.a('node.fillrect', [0,0,0,0]);
- Node28_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_4.a('node.fillgradient', '');
- if (Node28_4type !== 'rect') {
- Node28_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_4type === 'arc') {
- Node28_4.a('node.arcOval', true);
- }
- Node28_4.setRotation(0*Math.PI/180);
- Node28_4.borderWidth = Node28_4BorderWidth;
- Node28_4.borderFillwidth = Node28_4BorderWidth;
- dataModel.add(Node28_4);
- Node28_4._nodename = 'Node28_4'
- Node28_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node28_4, Node28_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_5type = 'rect';
- var Node28_5 = new ht.Node(),
- Node28_5BorderWidth = 0*2;
- if (Node28_5type === 'arc') {
- Node28_5BorderWidth *= 0;
- }
- Node28_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_5.setPosition(319*ratio.ratioX, 347*ratio.ratioY);
- Node28_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_5.a('node.width', 127*_ratio.ratioX);
- Node28_5.a('node.height', 32*_ratio.ratioY);
- Node28_5.a('node.type', Node28_5type);
- Node28_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node28_5.a('node.gradientcolor', '');
- Node28_5.a('node.gradient', '');
- Node28_5.a('node.borderwidth', Node28_5BorderWidth);
- Node28_5.a('node.color', 'rgba(192,192,192,0)');
- Node28_5.a('node.fillrect', [0,0,0,0]);
- Node28_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_5.a('node.fillgradient', '');
- if (Node28_5type !== 'rect') {
- Node28_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_5type === 'arc') {
- Node28_5.a('node.arcOval', true);
- }
- Node28_5.setRotation(0*Math.PI/180);
- Node28_5.borderWidth = Node28_5BorderWidth;
- Node28_5.borderFillwidth = Node28_5BorderWidth;
- dataModel.add(Node28_5);
- Node28_5._nodename = 'Node28_5'
- Node28_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node28_5, Node28_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_6type = 'rect';
- var Node28_6 = new ht.Node(),
- Node28_6BorderWidth = 0*2;
- if (Node28_6type === 'arc') {
- Node28_6BorderWidth *= 0;
- }
- Node28_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node28_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_6.setPosition(319*ratio.ratioX, 378*ratio.ratioY);
- Node28_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node28_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_6.a('node.width', 127*_ratio.ratioX);
- Node28_6.a('node.height', 32*_ratio.ratioY);
- Node28_6.a('node.type', Node28_6type);
- Node28_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node28_6.a('node.background', 'rgba(245,245,245,1)');
- Node28_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node28_6.a('node.gradient', '');
- Node28_6.a('node.borderwidth', Node28_6BorderWidth);
- Node28_6.a('node.color', 'rgba(192,192,192,0)');
- Node28_6.a('node.fillrect', [0,0,0,0]);
- Node28_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_6.a('node.fillgradient', '');
- if (Node28_6type !== 'rect') {
- Node28_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_6type === 'arc') {
- Node28_6.a('node.arcOval', true);
- }
- Node28_6.setRotation(0*Math.PI/180);
- Node28_6.borderWidth = Node28_6BorderWidth;
- Node28_6.borderFillwidth = Node28_6BorderWidth;
- dataModel.add(Node28_6);
- Node28_6._nodename = 'Node28_6'
- Node28_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node28_6, Node28_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_7type = 'rect';
- var Node28_7 = new ht.Node(),
- Node28_7BorderWidth = 1*2;
- if (Node28_7type === 'arc') {
- Node28_7BorderWidth *= 1;
- }
- Node28_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node28_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28_7.setPosition(319*ratio.ratioX, 239*ratio.ratioY);
- Node28_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node28_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28_7.a('node.width', 127*_ratio.ratioX);
- Node28_7.a('node.height', 309*_ratio.ratioY);
- Node28_7.a('node.type', Node28_7type);
- Node28_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node28_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node28_7.a('node.gradientcolor', '');
- Node28_7.a('node.gradient', '');
- Node28_7.a('node.borderwidth', Node28_7BorderWidth);
- Node28_7.a('node.color', 'rgba(192,192,192,1)');
- Node28_7.a('node.fillrect', [0,0,0,0]);
- Node28_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28_7.a('node.fillgradient', '');
- if (Node28_7type !== 'rect') {
- Node28_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node28_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28_7type === 'arc') {
- Node28_7.a('node.arcOval', true);
- }
- Node28_7.setRotation(0*Math.PI/180);
- Node28_7.borderWidth = Node28_7BorderWidth;
- Node28_7.borderFillwidth = Node28_7BorderWidth;
- dataModel.add(Node28_7);
- Node28_7._nodename = 'Node28_7'
- Node28_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28_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);
- }
- })(Node28_7, Node28_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_8 = new ht.Node();
- var Node28_8textStart, Node28_8textWidth, Node28_8lineStart, Node28_8align = 'center', Node28_8fontSize = 13.3333*_ratio.ratioY,Node28_8width = 105*_ratio.ratioX, Node28_8height = 27*_ratio.ratioY;
- (function () {
- if (Node28_8align === 'left') {
- Node28_8textStart = Node28_8fontSize * 0.2 > 2 ? Node28_8fontSize * 0.2 - 4 : Node28_8fontSize * 0.2 - 9;
- Node28_8textWidth = Node28_8width;
- Node28_8lineStart = 1;
- } else if (Node28_8align === 'right') {
- Node28_8textStart = 0;
- Node28_8textWidth =Node28_8fontSize <= 8 ? Node28_8width + Node28_8fontSize * 0.2 + 6 : Node28_8width - Node28_8fontSize * 0.2;
- Node28_8lineStart = (Node28_8width - (ht.Default.getTextSize('实际功率', 'bold '+ Node28_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28_8align === 'center') {
- Node28_8textStart = -3;
- Node28_8textWidth = Node28_8width;
- Node28_8lineStart = Node28_8width - ht.Default.getTextSize('实际功率', 'bold '+ Node28_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28_8.setImage(GD.getTextJSON(Node28_8width, Node28_8height, true, false, false, 'bold '+ Node28_8fontSize + 'px "Arial"'))
- Node28_8.setPosition(316*ratio.ratioX, 103*ratio.ratioY);
- Node28_8.setWidth(Node28_8width);
- Node28_8.setHeight(Node28_8height);
- Node28_8._nodeType = 'text';
- Node28_8._disallowEvert = true;
- Node28_8.setRotation(0*Math.PI/180);
- Node28_8.a('node.width', Node28_8width);
- Node28_8.a('node.height', Node28_8height);
- Node28_8.a('node.rect', [0, 0, Node28_8width, Node28_8height]);
- Node28_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node28_8.a('node.borderwidth', 0);
- Node28_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_8.a('node.gradient','');
- Node28_8.a('node.gradientcolor','');
- Node28_8.a('node.text','实际功率');
- Node28_8.a('node.textalign','center');
- Node28_8.a('node.textvAlign','middle');
- Node28_8.a('node.textrect', [Node28_8textStart, 0, Node28_8textWidth, Node28_8height]);
- Node28_8.a('node.color','rgba(255,255,255,1)');
- Node28_8.a('node.font','bold '+ Node28_8fontSize + 'px "Arial"');
- Node28_8.a('node.textvisible',true);
- Node28_8.a('node.linefeed',false);
- if (false) {
- Node28_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_8.a('node.text') || '实际功率';
- var color=Node28_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_8width,Node28_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node28_8.a('node.underlinepoints',[Node28_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_8fontSize + 2 , ht.Default.getTextSize('实际功率', 'bold '+ Node28_8fontSize + 'px "Arial"').width + 6, (Node28_8height - Node28_8fontSize) * 0.5*_ratio.ratioY + Node28_8fontSize + 2 ]);
- Node28_8.a('node.underlinevisible',false);
- Node28_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_8);
- zoomNodeList.push({
- node: Node28_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_9 = new ht.Node();
- var Node28_9textStart, Node28_9textWidth, Node28_9lineStart, Node28_9align = 'center', Node28_9fontSize = 11.99997*_ratio.ratioY,Node28_9width = 105*_ratio.ratioX, Node28_9height = 17*_ratio.ratioY;
- (function () {
- if (Node28_9align === 'left') {
- Node28_9textStart = Node28_9fontSize * 0.2 > 2 ? Node28_9fontSize * 0.2 - 4 : Node28_9fontSize * 0.2 - 9;
- Node28_9textWidth = Node28_9width;
- Node28_9lineStart = 1;
- } else if (Node28_9align === 'right') {
- Node28_9textStart = 0;
- Node28_9textWidth =Node28_9fontSize <= 8 ? Node28_9width + Node28_9fontSize * 0.2 + 6 : Node28_9width - Node28_9fontSize * 0.2;
- Node28_9lineStart = (Node28_9width - (ht.Default.getTextSize('MW', 'bold '+ Node28_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node28_9align === 'center') {
- Node28_9textStart = -3;
- Node28_9textWidth = Node28_9width;
- Node28_9lineStart = Node28_9width - ht.Default.getTextSize('MW', 'bold '+ Node28_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node28_9.setImage(GD.getTextJSON(Node28_9width, Node28_9height, true, false, false, 'bold '+ Node28_9fontSize + 'px "Arial"'))
- Node28_9.setPosition(316*ratio.ratioX, 131*ratio.ratioY);
- Node28_9.setWidth(Node28_9width);
- Node28_9.setHeight(Node28_9height);
- Node28_9._nodeType = 'text';
- Node28_9._disallowEvert = true;
- Node28_9.setRotation(0*Math.PI/180);
- Node28_9.a('node.width', Node28_9width);
- Node28_9.a('node.height', Node28_9height);
- Node28_9.a('node.rect', [0, 0, Node28_9width, Node28_9height]);
- Node28_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node28_9.a('node.borderwidth', 0);
- Node28_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_9.a('node.gradient','');
- Node28_9.a('node.gradientcolor','');
- Node28_9.a('node.text','MW');
- Node28_9.a('node.textalign','center');
- Node28_9.a('node.textvAlign','middle');
- Node28_9.a('node.textrect', [Node28_9textStart, 0, Node28_9textWidth, Node28_9height]);
- Node28_9.a('node.color','rgba(128,128,128,1)');
- Node28_9.a('node.font','bold '+ Node28_9fontSize + 'px "Arial"');
- Node28_9.a('node.textvisible',true);
- Node28_9.a('node.linefeed',false);
- if (false) {
- Node28_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_9.a('node.text') || 'MW';
- var color=Node28_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node28_9width,Node28_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node28_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node28_9.a('node.underlinepoints',[Node28_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node28_9fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node28_9fontSize + 'px "Arial"').width + 6, (Node28_9height - Node28_9fontSize) * 0.5*_ratio.ratioY + Node28_9fontSize + 2 ]);
- Node28_9.a('node.underlinevisible',false);
- Node28_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_9);
- zoomNodeList.push({
- node: Node28_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_10 = new ht.Node();
- var Node28_10textStart, Node28_10textWidth, Node28_10lineStart, Node28_10align = 'center', Node28_10fontSize = 13.3333*_ratio.ratioY,Node28_10width = 105*_ratio.ratioX, Node28_10height = 27*_ratio.ratioY;
- (function () {
- if (Node28_10align === 'left') {
- Node28_10textStart = Node28_10fontSize * 0.2 > 2 ? Node28_10fontSize * 0.2 - 4 : Node28_10fontSize * 0.2 - 9;
- Node28_10textWidth = Node28_10width;
- Node28_10lineStart = 1;
- } else if (Node28_10align === 'right') {
- Node28_10textStart = 0;
- Node28_10textWidth =Node28_10fontSize <= 8 ? Node28_10width + Node28_10fontSize * 0.2 + 6 : Node28_10width - Node28_10fontSize * 0.2;
- Node28_10lineStart = (Node28_10width - (ht.Default.getTextSize('9.7', 'bold '+ Node28_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_10align === 'center') {
- Node28_10textStart = -3;
- Node28_10textWidth = Node28_10width;
- Node28_10lineStart = Node28_10width - ht.Default.getTextSize('9.7', 'bold '+ Node28_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_10.setImage(GD.getTextJSON(Node28_10width, Node28_10height, true, false, false, 'bold '+ Node28_10fontSize + 'px "UniDreamLED"'))
- Node28_10.setPosition(316*ratio.ratioX, 158*ratio.ratioY);
- Node28_10.setWidth(Node28_10width);
- Node28_10.setHeight(Node28_10height);
- Node28_10._nodeType = 'text';
- Node28_10._disallowEvert = true;
- Node28_10.setRotation(0*Math.PI/180);
- Node28_10.a('node.width', Node28_10width);
- Node28_10.a('node.height', Node28_10height);
- Node28_10.a('node.rect', [0, 0, Node28_10width, Node28_10height]);
- Node28_10.a('node.bordercolor','rgba(25,25,112,1)');
- Node28_10.a('node.borderwidth', 0);
- Node28_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_10.a('node.gradient','');
- Node28_10.a('node.gradientcolor','');
- Node28_10.a('node.text','9.7');
- Node28_10.a('node.textalign','center');
- Node28_10.a('node.textvAlign','middle');
- Node28_10.a('node.textrect', [Node28_10textStart, 0, Node28_10textWidth, Node28_10height]);
- Node28_10.a('node.color','rgba(25,25,112,1)');
- Node28_10.a('node.font','bold '+ Node28_10fontSize + 'px "UniDreamLED"');
- Node28_10.a('node.textvisible',true);
- Node28_10.a('node.linefeed',false);
- if (false) {
- Node28_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_10.a('node.text') || '9.7';
- var color=Node28_10.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_10width,Node28_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_10.a('node.underlinepoints',[Node28_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_10fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node28_10fontSize + 'px "UniDreamLED"').width + 6, (Node28_10height - Node28_10fontSize) * 0.5*_ratio.ratioY + Node28_10fontSize + 2 ]);
- Node28_10.a('node.underlinevisible',false);
- Node28_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_10);
- zoomNodeList.push({
- node: Node28_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_11 = new ht.Node();
- var Node28_11textStart, Node28_11textWidth, Node28_11lineStart, Node28_11align = 'center', Node28_11fontSize = 13.3333*_ratio.ratioY,Node28_11width = 110*_ratio.ratioX, Node28_11height = 27*_ratio.ratioY;
- (function () {
- if (Node28_11align === 'left') {
- Node28_11textStart = Node28_11fontSize * 0.2 > 2 ? Node28_11fontSize * 0.2 - 4 : Node28_11fontSize * 0.2 - 9;
- Node28_11textWidth = Node28_11width;
- Node28_11lineStart = 1;
- } else if (Node28_11align === 'right') {
- Node28_11textStart = 0;
- Node28_11textWidth =Node28_11fontSize <= 8 ? Node28_11width + Node28_11fontSize * 0.2 + 6 : Node28_11width - Node28_11fontSize * 0.2;
- Node28_11lineStart = (Node28_11width - (ht.Default.getTextSize('9.7', 'bold '+ Node28_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_11align === 'center') {
- Node28_11textStart = -3;
- Node28_11textWidth = Node28_11width;
- Node28_11lineStart = Node28_11width - ht.Default.getTextSize('9.7', 'bold '+ Node28_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_11.setImage(GD.getTextJSON(Node28_11width, Node28_11height, true, false, false, 'bold '+ Node28_11fontSize + 'px "UniDreamLED"'))
- Node28_11.setPosition(319*ratio.ratioX, 190*ratio.ratioY);
- Node28_11.setWidth(Node28_11width);
- Node28_11.setHeight(Node28_11height);
- Node28_11._nodeType = 'text';
- Node28_11._disallowEvert = true;
- Node28_11.setRotation(0*Math.PI/180);
- Node28_11.a('node.width', Node28_11width);
- Node28_11.a('node.height', Node28_11height);
- Node28_11.a('node.rect', [0, 0, Node28_11width, Node28_11height]);
- Node28_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_11.a('node.borderwidth', 0);
- Node28_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_11.a('node.gradient','');
- Node28_11.a('node.gradientcolor','');
- Node28_11.a('node.text','9.7');
- Node28_11.a('node.textalign','center');
- Node28_11.a('node.textvAlign','middle');
- Node28_11.a('node.textrect', [Node28_11textStart, 0, Node28_11textWidth, Node28_11height]);
- Node28_11.a('node.color','rgba(0,0,0,1)');
- Node28_11.a('node.font','bold '+ Node28_11fontSize + 'px "UniDreamLED"');
- Node28_11.a('node.textvisible',true);
- Node28_11.a('node.linefeed',false);
- if (false) {
- Node28_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_11.a('node.text') || '9.7';
- var color=Node28_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_11width,Node28_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_11.a('node.underlinepoints',[Node28_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_11fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node28_11fontSize + 'px "UniDreamLED"').width + 6, (Node28_11height - Node28_11fontSize) * 0.5*_ratio.ratioY + Node28_11fontSize + 2 ]);
- Node28_11.a('node.underlinevisible',false);
- Node28_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_11);
- zoomNodeList.push({
- node: Node28_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_12 = new ht.Node();
- var Node28_12textStart, Node28_12textWidth, Node28_12lineStart, Node28_12align = 'center', Node28_12fontSize = 13.3333*_ratio.ratioY,Node28_12width = 110*_ratio.ratioX, Node28_12height = 27*_ratio.ratioY;
- (function () {
- if (Node28_12align === 'left') {
- Node28_12textStart = Node28_12fontSize * 0.2 > 2 ? Node28_12fontSize * 0.2 - 4 : Node28_12fontSize * 0.2 - 9;
- Node28_12textWidth = Node28_12width;
- Node28_12lineStart = 1;
- } else if (Node28_12align === 'right') {
- Node28_12textStart = 0;
- Node28_12textWidth =Node28_12fontSize <= 8 ? Node28_12width + Node28_12fontSize * 0.2 + 6 : Node28_12width - Node28_12fontSize * 0.2;
- Node28_12lineStart = (Node28_12width - (ht.Default.getTextSize('8.02', 'bold '+ Node28_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_12align === 'center') {
- Node28_12textStart = -3;
- Node28_12textWidth = Node28_12width;
- Node28_12lineStart = Node28_12width - ht.Default.getTextSize('8.02', 'bold '+ Node28_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_12.setImage(GD.getTextJSON(Node28_12width, Node28_12height, true, false, false, 'bold '+ Node28_12fontSize + 'px "UniDreamLED"'))
- Node28_12.setPosition(319*ratio.ratioX, 220*ratio.ratioY);
- Node28_12.setWidth(Node28_12width);
- Node28_12.setHeight(Node28_12height);
- Node28_12._nodeType = 'text';
- Node28_12._disallowEvert = true;
- Node28_12.setRotation(0*Math.PI/180);
- Node28_12.a('node.width', Node28_12width);
- Node28_12.a('node.height', Node28_12height);
- Node28_12.a('node.rect', [0, 0, Node28_12width, Node28_12height]);
- Node28_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_12.a('node.borderwidth', 0);
- Node28_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_12.a('node.gradient','');
- Node28_12.a('node.gradientcolor','');
- Node28_12.a('node.text','8.02');
- Node28_12.a('node.textalign','center');
- Node28_12.a('node.textvAlign','middle');
- Node28_12.a('node.textrect', [Node28_12textStart, 0, Node28_12textWidth, Node28_12height]);
- Node28_12.a('node.color','rgba(0,0,0,1)');
- Node28_12.a('node.font','bold '+ Node28_12fontSize + 'px "UniDreamLED"');
- Node28_12.a('node.textvisible',true);
- Node28_12.a('node.linefeed',false);
- if (false) {
- Node28_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_12.a('node.text') || '8.02';
- var color=Node28_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_12width,Node28_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_12.a('node.underlinepoints',[Node28_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_12fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node28_12fontSize + 'px "UniDreamLED"').width + 6, (Node28_12height - Node28_12fontSize) * 0.5*_ratio.ratioY + Node28_12fontSize + 2 ]);
- Node28_12.a('node.underlinevisible',false);
- Node28_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_12);
- zoomNodeList.push({
- node: Node28_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_13 = new ht.Node();
- var Node28_13textStart, Node28_13textWidth, Node28_13lineStart, Node28_13align = 'center', Node28_13fontSize = 13.3333*_ratio.ratioY,Node28_13width = 110*_ratio.ratioX, Node28_13height = 27*_ratio.ratioY;
- (function () {
- if (Node28_13align === 'left') {
- Node28_13textStart = Node28_13fontSize * 0.2 > 2 ? Node28_13fontSize * 0.2 - 4 : Node28_13fontSize * 0.2 - 9;
- Node28_13textWidth = Node28_13width;
- Node28_13lineStart = 1;
- } else if (Node28_13align === 'right') {
- Node28_13textStart = 0;
- Node28_13textWidth =Node28_13fontSize <= 8 ? Node28_13width + Node28_13fontSize * 0.2 + 6 : Node28_13width - Node28_13fontSize * 0.2;
- Node28_13lineStart = (Node28_13width - (ht.Default.getTextSize('9.69', 'bold '+ Node28_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_13align === 'center') {
- Node28_13textStart = -3;
- Node28_13textWidth = Node28_13width;
- Node28_13lineStart = Node28_13width - ht.Default.getTextSize('9.69', 'bold '+ Node28_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_13.setImage(GD.getTextJSON(Node28_13width, Node28_13height, true, false, false, 'bold '+ Node28_13fontSize + 'px "UniDreamLED"'))
- Node28_13.setPosition(319*ratio.ratioX, 250*ratio.ratioY);
- Node28_13.setWidth(Node28_13width);
- Node28_13.setHeight(Node28_13height);
- Node28_13._nodeType = 'text';
- Node28_13._disallowEvert = true;
- Node28_13.setRotation(0*Math.PI/180);
- Node28_13.a('node.width', Node28_13width);
- Node28_13.a('node.height', Node28_13height);
- Node28_13.a('node.rect', [0, 0, Node28_13width, Node28_13height]);
- Node28_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_13.a('node.borderwidth', 0);
- Node28_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_13.a('node.gradient','');
- Node28_13.a('node.gradientcolor','');
- Node28_13.a('node.text','9.69');
- Node28_13.a('node.textalign','center');
- Node28_13.a('node.textvAlign','middle');
- Node28_13.a('node.textrect', [Node28_13textStart, 0, Node28_13textWidth, Node28_13height]);
- Node28_13.a('node.color','rgba(0,0,0,1)');
- Node28_13.a('node.font','bold '+ Node28_13fontSize + 'px "UniDreamLED"');
- Node28_13.a('node.textvisible',true);
- Node28_13.a('node.linefeed',false);
- if (false) {
- Node28_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_13.a('node.text') || '9.69';
- var color=Node28_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_13width,Node28_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_13.a('node.underlinepoints',[Node28_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_13fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node28_13fontSize + 'px "UniDreamLED"').width + 6, (Node28_13height - Node28_13fontSize) * 0.5*_ratio.ratioY + Node28_13fontSize + 2 ]);
- Node28_13.a('node.underlinevisible',false);
- Node28_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_13);
- zoomNodeList.push({
- node: Node28_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_14 = new ht.Node();
- var Node28_14textStart, Node28_14textWidth, Node28_14lineStart, Node28_14align = 'center', Node28_14fontSize = 13.3333*_ratio.ratioY,Node28_14width = 110*_ratio.ratioX, Node28_14height = 27*_ratio.ratioY;
- (function () {
- if (Node28_14align === 'left') {
- Node28_14textStart = Node28_14fontSize * 0.2 > 2 ? Node28_14fontSize * 0.2 - 4 : Node28_14fontSize * 0.2 - 9;
- Node28_14textWidth = Node28_14width;
- Node28_14lineStart = 1;
- } else if (Node28_14align === 'right') {
- Node28_14textStart = 0;
- Node28_14textWidth =Node28_14fontSize <= 8 ? Node28_14width + Node28_14fontSize * 0.2 + 6 : Node28_14width - Node28_14fontSize * 0.2;
- Node28_14lineStart = (Node28_14width - (ht.Default.getTextSize('10.72', 'bold '+ Node28_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_14align === 'center') {
- Node28_14textStart = -3;
- Node28_14textWidth = Node28_14width;
- Node28_14lineStart = Node28_14width - ht.Default.getTextSize('10.72', 'bold '+ Node28_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_14.setImage(GD.getTextJSON(Node28_14width, Node28_14height, true, false, false, 'bold '+ Node28_14fontSize + 'px "UniDreamLED"'))
- Node28_14.setPosition(319*ratio.ratioX, 284*ratio.ratioY);
- Node28_14.setWidth(Node28_14width);
- Node28_14.setHeight(Node28_14height);
- Node28_14._nodeType = 'text';
- Node28_14._disallowEvert = true;
- Node28_14.setRotation(0*Math.PI/180);
- Node28_14.a('node.width', Node28_14width);
- Node28_14.a('node.height', Node28_14height);
- Node28_14.a('node.rect', [0, 0, Node28_14width, Node28_14height]);
- Node28_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_14.a('node.borderwidth', 0);
- Node28_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_14.a('node.gradient','');
- Node28_14.a('node.gradientcolor','');
- Node28_14.a('node.text','10.72');
- Node28_14.a('node.textalign','center');
- Node28_14.a('node.textvAlign','middle');
- Node28_14.a('node.textrect', [Node28_14textStart, 0, Node28_14textWidth, Node28_14height]);
- Node28_14.a('node.color','rgba(0,0,0,1)');
- Node28_14.a('node.font','bold '+ Node28_14fontSize + 'px "UniDreamLED"');
- Node28_14.a('node.textvisible',true);
- Node28_14.a('node.linefeed',false);
- if (false) {
- Node28_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_14.a('node.text') || '10.72';
- var color=Node28_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_14width,Node28_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_14.a('node.underlinepoints',[Node28_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_14fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node28_14fontSize + 'px "UniDreamLED"').width + 6, (Node28_14height - Node28_14fontSize) * 0.5*_ratio.ratioY + Node28_14fontSize + 2 ]);
- Node28_14.a('node.underlinevisible',false);
- Node28_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_14);
- zoomNodeList.push({
- node: Node28_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_15 = new ht.Node();
- var Node28_15textStart, Node28_15textWidth, Node28_15lineStart, Node28_15align = 'center', Node28_15fontSize = 13.3333*_ratio.ratioY,Node28_15width = 110*_ratio.ratioX, Node28_15height = 27*_ratio.ratioY;
- (function () {
- if (Node28_15align === 'left') {
- Node28_15textStart = Node28_15fontSize * 0.2 > 2 ? Node28_15fontSize * 0.2 - 4 : Node28_15fontSize * 0.2 - 9;
- Node28_15textWidth = Node28_15width;
- Node28_15lineStart = 1;
- } else if (Node28_15align === 'right') {
- Node28_15textStart = 0;
- Node28_15textWidth =Node28_15fontSize <= 8 ? Node28_15width + Node28_15fontSize * 0.2 + 6 : Node28_15width - Node28_15fontSize * 0.2;
- Node28_15lineStart = (Node28_15width - (ht.Default.getTextSize('7.97', 'bold '+ Node28_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_15align === 'center') {
- Node28_15textStart = -3;
- Node28_15textWidth = Node28_15width;
- Node28_15lineStart = Node28_15width - ht.Default.getTextSize('7.97', 'bold '+ Node28_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_15.setImage(GD.getTextJSON(Node28_15width, Node28_15height, true, false, false, 'bold '+ Node28_15fontSize + 'px "UniDreamLED"'))
- Node28_15.setPosition(319*ratio.ratioX, 317*ratio.ratioY);
- Node28_15.setWidth(Node28_15width);
- Node28_15.setHeight(Node28_15height);
- Node28_15._nodeType = 'text';
- Node28_15._disallowEvert = true;
- Node28_15.setRotation(0*Math.PI/180);
- Node28_15.a('node.width', Node28_15width);
- Node28_15.a('node.height', Node28_15height);
- Node28_15.a('node.rect', [0, 0, Node28_15width, Node28_15height]);
- Node28_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_15.a('node.borderwidth', 0);
- Node28_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_15.a('node.gradient','');
- Node28_15.a('node.gradientcolor','');
- Node28_15.a('node.text','7.97');
- Node28_15.a('node.textalign','center');
- Node28_15.a('node.textvAlign','middle');
- Node28_15.a('node.textrect', [Node28_15textStart, 0, Node28_15textWidth, Node28_15height]);
- Node28_15.a('node.color','rgba(0,0,0,1)');
- Node28_15.a('node.font','bold '+ Node28_15fontSize + 'px "UniDreamLED"');
- Node28_15.a('node.textvisible',true);
- Node28_15.a('node.linefeed',false);
- if (false) {
- Node28_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_15.a('node.text') || '7.97';
- var color=Node28_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_15width,Node28_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_15.a('node.underlinepoints',[Node28_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_15fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node28_15fontSize + 'px "UniDreamLED"').width + 6, (Node28_15height - Node28_15fontSize) * 0.5*_ratio.ratioY + Node28_15fontSize + 2 ]);
- Node28_15.a('node.underlinevisible',false);
- Node28_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_15);
- zoomNodeList.push({
- node: Node28_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_16 = new ht.Node();
- var Node28_16textStart, Node28_16textWidth, Node28_16lineStart, Node28_16align = 'center', Node28_16fontSize = 13.3333*_ratio.ratioY,Node28_16width = 110*_ratio.ratioX, Node28_16height = 27*_ratio.ratioY;
- (function () {
- if (Node28_16align === 'left') {
- Node28_16textStart = Node28_16fontSize * 0.2 > 2 ? Node28_16fontSize * 0.2 - 4 : Node28_16fontSize * 0.2 - 9;
- Node28_16textWidth = Node28_16width;
- Node28_16lineStart = 1;
- } else if (Node28_16align === 'right') {
- Node28_16textStart = 0;
- Node28_16textWidth =Node28_16fontSize <= 8 ? Node28_16width + Node28_16fontSize * 0.2 + 6 : Node28_16width - Node28_16fontSize * 0.2;
- Node28_16lineStart = (Node28_16width - (ht.Default.getTextSize('8.1', 'bold '+ Node28_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_16align === 'center') {
- Node28_16textStart = -3;
- Node28_16textWidth = Node28_16width;
- Node28_16lineStart = Node28_16width - ht.Default.getTextSize('8.1', 'bold '+ Node28_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_16.setImage(GD.getTextJSON(Node28_16width, Node28_16height, true, false, false, 'bold '+ Node28_16fontSize + 'px "UniDreamLED"'))
- Node28_16.setPosition(319*ratio.ratioX, 346*ratio.ratioY);
- Node28_16.setWidth(Node28_16width);
- Node28_16.setHeight(Node28_16height);
- Node28_16._nodeType = 'text';
- Node28_16._disallowEvert = true;
- Node28_16.setRotation(0*Math.PI/180);
- Node28_16.a('node.width', Node28_16width);
- Node28_16.a('node.height', Node28_16height);
- Node28_16.a('node.rect', [0, 0, Node28_16width, Node28_16height]);
- Node28_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_16.a('node.borderwidth', 0);
- Node28_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_16.a('node.gradient','');
- Node28_16.a('node.gradientcolor','');
- Node28_16.a('node.text','8.1');
- Node28_16.a('node.textalign','center');
- Node28_16.a('node.textvAlign','middle');
- Node28_16.a('node.textrect', [Node28_16textStart, 0, Node28_16textWidth, Node28_16height]);
- Node28_16.a('node.color','rgba(0,0,0,1)');
- Node28_16.a('node.font','bold '+ Node28_16fontSize + 'px "UniDreamLED"');
- Node28_16.a('node.textvisible',true);
- Node28_16.a('node.linefeed',false);
- if (false) {
- Node28_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_16.a('node.text') || '8.1';
- var color=Node28_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_16width,Node28_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_16.a('node.underlinepoints',[Node28_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_16fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node28_16fontSize + 'px "UniDreamLED"').width + 6, (Node28_16height - Node28_16fontSize) * 0.5*_ratio.ratioY + Node28_16fontSize + 2 ]);
- Node28_16.a('node.underlinevisible',false);
- Node28_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_16);
- zoomNodeList.push({
- node: Node28_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28_17 = new ht.Node();
- var Node28_17textStart, Node28_17textWidth, Node28_17lineStart, Node28_17align = 'center', Node28_17fontSize = 13.3333*_ratio.ratioY,Node28_17width = 110*_ratio.ratioX, Node28_17height = 27*_ratio.ratioY;
- (function () {
- if (Node28_17align === 'left') {
- Node28_17textStart = Node28_17fontSize * 0.2 > 2 ? Node28_17fontSize * 0.2 - 4 : Node28_17fontSize * 0.2 - 9;
- Node28_17textWidth = Node28_17width;
- Node28_17lineStart = 1;
- } else if (Node28_17align === 'right') {
- Node28_17textStart = 0;
- Node28_17textWidth =Node28_17fontSize <= 8 ? Node28_17width + Node28_17fontSize * 0.2 + 6 : Node28_17width - Node28_17fontSize * 0.2;
- Node28_17lineStart = (Node28_17width - (ht.Default.getTextSize('-', 'bold '+ Node28_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node28_17align === 'center') {
- Node28_17textStart = -3;
- Node28_17textWidth = Node28_17width;
- Node28_17lineStart = Node28_17width - ht.Default.getTextSize('-', 'bold '+ Node28_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node28_17.setImage(GD.getTextJSON(Node28_17width, Node28_17height, true, false, false, 'bold '+ Node28_17fontSize + 'px "UniDreamLED"'))
- Node28_17.setPosition(319*ratio.ratioX, 377*ratio.ratioY);
- Node28_17.setWidth(Node28_17width);
- Node28_17.setHeight(Node28_17height);
- Node28_17._nodeType = 'text';
- Node28_17._disallowEvert = true;
- Node28_17.setRotation(0*Math.PI/180);
- Node28_17.a('node.width', Node28_17width);
- Node28_17.a('node.height', Node28_17height);
- Node28_17.a('node.rect', [0, 0, Node28_17width, Node28_17height]);
- Node28_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node28_17.a('node.borderwidth', 0);
- Node28_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node28_17.a('node.gradient','');
- Node28_17.a('node.gradientcolor','');
- Node28_17.a('node.text','-');
- Node28_17.a('node.textalign','center');
- Node28_17.a('node.textvAlign','middle');
- Node28_17.a('node.textrect', [Node28_17textStart, 0, Node28_17textWidth, Node28_17height]);
- Node28_17.a('node.color','rgba(0,0,0,1)');
- Node28_17.a('node.font','bold '+ Node28_17fontSize + 'px "UniDreamLED"');
- Node28_17.a('node.textvisible',true);
- Node28_17.a('node.linefeed',false);
- if (false) {
- Node28_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node28_17.a('node.text') || '-';
- var color=Node28_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node28_17width,Node28_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node28_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node28_17.a('node.underlinepoints',[Node28_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node28_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node28_17fontSize + 'px "UniDreamLED"').width + 6, (Node28_17height - Node28_17fontSize) * 0.5*_ratio.ratioY + Node28_17fontSize + 2 ]);
- Node28_17.a('node.underlinevisible',false);
- Node28_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node28_17);
- zoomNodeList.push({
- node: Node28_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_0type = 'rect';
- var Node29_0 = new ht.Node(),
- Node29_0BorderWidth = 0*2;
- if (Node29_0type === 'arc') {
- Node29_0BorderWidth *= 0;
- }
- Node29_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_0.setPosition(446*ratio.ratioX, 190*ratio.ratioY);
- Node29_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_0.a('node.width', 127*_ratio.ratioX);
- Node29_0.a('node.height', 32*_ratio.ratioY);
- Node29_0.a('node.type', Node29_0type);
- Node29_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_0.a('node.background', 'rgba(245,245,245,1)');
- Node29_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node29_0.a('node.gradient', '');
- Node29_0.a('node.borderwidth', Node29_0BorderWidth);
- Node29_0.a('node.color', 'rgba(192,192,192,0)');
- Node29_0.a('node.fillrect', [0,0,0,0]);
- Node29_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_0.a('node.fillgradient', '');
- if (Node29_0type !== 'rect') {
- Node29_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_0type === 'arc') {
- Node29_0.a('node.arcOval', true);
- }
- Node29_0.setRotation(0*Math.PI/180);
- Node29_0.borderWidth = Node29_0BorderWidth;
- Node29_0.borderFillwidth = Node29_0BorderWidth;
- dataModel.add(Node29_0);
- Node29_0._nodename = 'Node29_0'
- Node29_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_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);
- }
- })(Node29_0, Node29_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_1type = 'rect';
- var Node29_1 = new ht.Node(),
- Node29_1BorderWidth = 0*2;
- if (Node29_1type === 'arc') {
- Node29_1BorderWidth *= 0;
- }
- Node29_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_1.setPosition(446*ratio.ratioX, 222*ratio.ratioY);
- Node29_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_1.a('node.width', 127*_ratio.ratioX);
- Node29_1.a('node.height', 32*_ratio.ratioY);
- Node29_1.a('node.type', Node29_1type);
- Node29_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node29_1.a('node.gradientcolor', '');
- Node29_1.a('node.gradient', '');
- Node29_1.a('node.borderwidth', Node29_1BorderWidth);
- Node29_1.a('node.color', 'rgba(192,192,192,0)');
- Node29_1.a('node.fillrect', [0,0,0,0]);
- Node29_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_1.a('node.fillgradient', '');
- if (Node29_1type !== 'rect') {
- Node29_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_1type === 'arc') {
- Node29_1.a('node.arcOval', true);
- }
- Node29_1.setRotation(0*Math.PI/180);
- Node29_1.borderWidth = Node29_1BorderWidth;
- Node29_1.borderFillwidth = Node29_1BorderWidth;
- dataModel.add(Node29_1);
- Node29_1._nodename = 'Node29_1'
- Node29_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_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);
- }
- })(Node29_1, Node29_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_2type = 'rect';
- var Node29_2 = new ht.Node(),
- Node29_2BorderWidth = 0*2;
- if (Node29_2type === 'arc') {
- Node29_2BorderWidth *= 0;
- }
- Node29_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_2.setPosition(446*ratio.ratioX, 254*ratio.ratioY);
- Node29_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_2.a('node.width', 127*_ratio.ratioX);
- Node29_2.a('node.height', 32*_ratio.ratioY);
- Node29_2.a('node.type', Node29_2type);
- Node29_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_2.a('node.background', 'rgba(245,245,245,1)');
- Node29_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node29_2.a('node.gradient', '');
- Node29_2.a('node.borderwidth', Node29_2BorderWidth);
- Node29_2.a('node.color', 'rgba(192,192,192,0)');
- Node29_2.a('node.fillrect', [0,0,0,0]);
- Node29_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_2.a('node.fillgradient', '');
- if (Node29_2type !== 'rect') {
- Node29_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_2type === 'arc') {
- Node29_2.a('node.arcOval', true);
- }
- Node29_2.setRotation(0*Math.PI/180);
- Node29_2.borderWidth = Node29_2BorderWidth;
- Node29_2.borderFillwidth = Node29_2BorderWidth;
- dataModel.add(Node29_2);
- Node29_2._nodename = 'Node29_2'
- Node29_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29_2, Node29_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_3type = 'rect';
- var Node29_3 = new ht.Node(),
- Node29_3BorderWidth = 0*2;
- if (Node29_3type === 'arc') {
- Node29_3BorderWidth *= 0;
- }
- Node29_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_3.setPosition(446*ratio.ratioX, 285*ratio.ratioY);
- Node29_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_3.a('node.width', 127*_ratio.ratioX);
- Node29_3.a('node.height', 32*_ratio.ratioY);
- Node29_3.a('node.type', Node29_3type);
- Node29_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node29_3.a('node.gradientcolor', '');
- Node29_3.a('node.gradient', '');
- Node29_3.a('node.borderwidth', Node29_3BorderWidth);
- Node29_3.a('node.color', 'rgba(192,192,192,0)');
- Node29_3.a('node.fillrect', [0,0,0,0]);
- Node29_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_3.a('node.fillgradient', '');
- if (Node29_3type !== 'rect') {
- Node29_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_3type === 'arc') {
- Node29_3.a('node.arcOval', true);
- }
- Node29_3.setRotation(0*Math.PI/180);
- Node29_3.borderWidth = Node29_3BorderWidth;
- Node29_3.borderFillwidth = Node29_3BorderWidth;
- dataModel.add(Node29_3);
- Node29_3._nodename = 'Node29_3'
- Node29_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29_3, Node29_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_4type = 'rect';
- var Node29_4 = new ht.Node(),
- Node29_4BorderWidth = 0*2;
- if (Node29_4type === 'arc') {
- Node29_4BorderWidth *= 0;
- }
- Node29_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_4.setPosition(446*ratio.ratioX, 316*ratio.ratioY);
- Node29_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_4.a('node.width', 127*_ratio.ratioX);
- Node29_4.a('node.height', 32*_ratio.ratioY);
- Node29_4.a('node.type', Node29_4type);
- Node29_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_4.a('node.background', 'rgba(245,245,245,1)');
- Node29_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node29_4.a('node.gradient', '');
- Node29_4.a('node.borderwidth', Node29_4BorderWidth);
- Node29_4.a('node.color', 'rgba(192,192,192,0)');
- Node29_4.a('node.fillrect', [0,0,0,0]);
- Node29_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_4.a('node.fillgradient', '');
- if (Node29_4type !== 'rect') {
- Node29_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_4type === 'arc') {
- Node29_4.a('node.arcOval', true);
- }
- Node29_4.setRotation(0*Math.PI/180);
- Node29_4.borderWidth = Node29_4BorderWidth;
- Node29_4.borderFillwidth = Node29_4BorderWidth;
- dataModel.add(Node29_4);
- Node29_4._nodename = 'Node29_4'
- Node29_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29_4, Node29_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_5type = 'rect';
- var Node29_5 = new ht.Node(),
- Node29_5BorderWidth = 0*2;
- if (Node29_5type === 'arc') {
- Node29_5BorderWidth *= 0;
- }
- Node29_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_5.setPosition(446*ratio.ratioX, 347*ratio.ratioY);
- Node29_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_5.a('node.width', 127*_ratio.ratioX);
- Node29_5.a('node.height', 32*_ratio.ratioY);
- Node29_5.a('node.type', Node29_5type);
- Node29_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node29_5.a('node.gradientcolor', '');
- Node29_5.a('node.gradient', '');
- Node29_5.a('node.borderwidth', Node29_5BorderWidth);
- Node29_5.a('node.color', 'rgba(192,192,192,0)');
- Node29_5.a('node.fillrect', [0,0,0,0]);
- Node29_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_5.a('node.fillgradient', '');
- if (Node29_5type !== 'rect') {
- Node29_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_5type === 'arc') {
- Node29_5.a('node.arcOval', true);
- }
- Node29_5.setRotation(0*Math.PI/180);
- Node29_5.borderWidth = Node29_5BorderWidth;
- Node29_5.borderFillwidth = Node29_5BorderWidth;
- dataModel.add(Node29_5);
- Node29_5._nodename = 'Node29_5'
- Node29_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29_5, Node29_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_6type = 'rect';
- var Node29_6 = new ht.Node(),
- Node29_6BorderWidth = 0*2;
- if (Node29_6type === 'arc') {
- Node29_6BorderWidth *= 0;
- }
- Node29_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node29_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_6.setPosition(446*ratio.ratioX, 378*ratio.ratioY);
- Node29_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node29_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_6.a('node.width', 127*_ratio.ratioX);
- Node29_6.a('node.height', 32*_ratio.ratioY);
- Node29_6.a('node.type', Node29_6type);
- Node29_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node29_6.a('node.background', 'rgba(245,245,245,1)');
- Node29_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node29_6.a('node.gradient', '');
- Node29_6.a('node.borderwidth', Node29_6BorderWidth);
- Node29_6.a('node.color', 'rgba(192,192,192,0)');
- Node29_6.a('node.fillrect', [0,0,0,0]);
- Node29_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_6.a('node.fillgradient', '');
- if (Node29_6type !== 'rect') {
- Node29_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_6type === 'arc') {
- Node29_6.a('node.arcOval', true);
- }
- Node29_6.setRotation(0*Math.PI/180);
- Node29_6.borderWidth = Node29_6BorderWidth;
- Node29_6.borderFillwidth = Node29_6BorderWidth;
- dataModel.add(Node29_6);
- Node29_6._nodename = 'Node29_6'
- Node29_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29_6, Node29_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_7type = 'rect';
- var Node29_7 = new ht.Node(),
- Node29_7BorderWidth = 1*2;
- if (Node29_7type === 'arc') {
- Node29_7BorderWidth *= 1;
- }
- Node29_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node29_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29_7.setPosition(446*ratio.ratioX, 239*ratio.ratioY);
- Node29_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node29_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29_7.a('node.width', 127*_ratio.ratioX);
- Node29_7.a('node.height', 309*_ratio.ratioY);
- Node29_7.a('node.type', Node29_7type);
- Node29_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node29_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node29_7.a('node.gradientcolor', '');
- Node29_7.a('node.gradient', '');
- Node29_7.a('node.borderwidth', Node29_7BorderWidth);
- Node29_7.a('node.color', 'rgba(192,192,192,1)');
- Node29_7.a('node.fillrect', [0,0,0,0]);
- Node29_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29_7.a('node.fillgradient', '');
- if (Node29_7type !== 'rect') {
- Node29_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node29_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29_7type === 'arc') {
- Node29_7.a('node.arcOval', true);
- }
- Node29_7.setRotation(0*Math.PI/180);
- Node29_7.borderWidth = Node29_7BorderWidth;
- Node29_7.borderFillwidth = Node29_7BorderWidth;
- dataModel.add(Node29_7);
- Node29_7._nodename = 'Node29_7'
- Node29_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29_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);
- }
- })(Node29_7, Node29_7.getImage());var Node29_8points=[391, 230,391, 230],
- Node29_8rect=ht.Default.unionPoint([{x:391,y:230},{x:391,y:230}]),
- Node29_8compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node29_8points.length;i++){
- if(i%2==0){
- Node29_8compspts.push(Node29_8points[i]-Node29_8rect.x);
- }else{
- Node29_8compspts.push(Node29_8points[i]-Node29_8rect.y);
- }
- }
- var Node29_8ptslength=Node29_8compspts.length;
- if (Node29_8rect.height === 0) {
- Node29_8compspts[0] -= 0;
- Node29_8compspts[Node29_8ptslength-2] += 0;
- } else if (Node29_8rect.width === 0){
- Node29_8compspts[1] -= 0;
- Node29_8compspts[Node29_8ptslength-1] += 0;
- } else {
- Node29_8compspts[0] -= 0;
- Node29_8compspts[1] -= 0;
- Node29_8compspts[Node29_8ptslength-2] += 0;
- Node29_8compspts[Node29_8ptslength-1] += 0;
- }
- Node29_8 = new ht.Node();
- Node29_8.borderWidth = 1;
- Node29_8rect.width = Node29_8rect.width === 0 ? 0.0001 : Node29_8rect.width;
- Node29_8rect.height = Node29_8rect.height === 0 ? 0.0001 : Node29_8rect.height;
- var Node29_8endCompspts = [Node29_8compspts[Node29_8ptslength-2],Node29_8compspts[Node29_8ptslength-1],0,0];
- var Node29_8startCompspts = [Node29_8compspts[0],Node29_8compspts[1],0,0];
- Node29_8.setImage(GD.getPolyLineJSON());
- Node29_8.setPosition(Node29_8rect.x+Node29_8rect.width/2,Node29_8rect.y+Node29_8rect.height/2);
- Node29_8.setSize(Node29_8rect.width,Node29_8rect.height);
- Node29_8.setStyle("opacity",1);
- Node29_8.s({'pixelPerfect':true});
- Node29_8borderwidth=1;
- Node29_8.setRotation(0);
- dataModel.add(Node29_8);
- Node29_8.a('node.points',Node29_8compspts);
- Node29_8.a('node.segments',[1,2]);
- Node29_8.a('node.color','rgba(0,0,0,1)');
- Node29_8.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node29_8.a('node.borderColor','rgba(0,0,0,1)');
- Node29_8.a('node.background','rgba(0,0,0,1)');
- Node29_8.a('node.gradient','');
- Node29_8.a('node.gradientcolor','rgba(0,0,0,1)');
- Node29_8.a('node.endCompspts',Node29_8endCompspts);
- Node29_8.a('node.startCompspts',Node29_8startCompspts);
- (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 = 'Node29_8';
- 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);
- }
- })(Node29_8, Node29_8.getImage(), Node29_8compspts, Node29_8endCompspts, Node29_8startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_9 = new ht.Node();
- var Node29_9textStart, Node29_9textWidth, Node29_9lineStart, Node29_9align = 'center', Node29_9fontSize = 13.3333*_ratio.ratioY,Node29_9width = 105*_ratio.ratioX, Node29_9height = 27*_ratio.ratioY;
- (function () {
- if (Node29_9align === 'left') {
- Node29_9textStart = Node29_9fontSize * 0.2 > 2 ? Node29_9fontSize * 0.2 - 4 : Node29_9fontSize * 0.2 - 9;
- Node29_9textWidth = Node29_9width;
- Node29_9lineStart = 1;
- } else if (Node29_9align === 'right') {
- Node29_9textStart = 0;
- Node29_9textWidth =Node29_9fontSize <= 8 ? Node29_9width + Node29_9fontSize * 0.2 + 6 : Node29_9width - Node29_9fontSize * 0.2;
- Node29_9lineStart = (Node29_9width - (ht.Default.getTextSize('应发功率', 'bold '+ Node29_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node29_9align === 'center') {
- Node29_9textStart = -3;
- Node29_9textWidth = Node29_9width;
- Node29_9lineStart = Node29_9width - ht.Default.getTextSize('应发功率', 'bold '+ Node29_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node29_9.setImage(GD.getTextJSON(Node29_9width, Node29_9height, true, false, false, 'bold '+ Node29_9fontSize + 'px "Arial"'))
- Node29_9.setPosition(443*ratio.ratioX, 103*ratio.ratioY);
- Node29_9.setWidth(Node29_9width);
- Node29_9.setHeight(Node29_9height);
- Node29_9._nodeType = 'text';
- Node29_9._disallowEvert = true;
- Node29_9.setRotation(0*Math.PI/180);
- Node29_9.a('node.width', Node29_9width);
- Node29_9.a('node.height', Node29_9height);
- Node29_9.a('node.rect', [0, 0, Node29_9width, Node29_9height]);
- Node29_9.a('node.bordercolor','rgba(255,255,255,1)');
- Node29_9.a('node.borderwidth', 0);
- Node29_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_9.a('node.gradient','');
- Node29_9.a('node.gradientcolor','');
- Node29_9.a('node.text','应发功率');
- Node29_9.a('node.textalign','center');
- Node29_9.a('node.textvAlign','middle');
- Node29_9.a('node.textrect', [Node29_9textStart, 0, Node29_9textWidth, Node29_9height]);
- Node29_9.a('node.color','rgba(255,255,255,1)');
- Node29_9.a('node.font','bold '+ Node29_9fontSize + 'px "Arial"');
- Node29_9.a('node.textvisible',true);
- Node29_9.a('node.linefeed',false);
- if (false) {
- Node29_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_9.a('node.text') || '应发功率';
- var color=Node29_9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_9width,Node29_9height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node29_9.a('node.underlinepoints',[Node29_9lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_9fontSize + 2 , ht.Default.getTextSize('应发功率', 'bold '+ Node29_9fontSize + 'px "Arial"').width + 6, (Node29_9height - Node29_9fontSize) * 0.5*_ratio.ratioY + Node29_9fontSize + 2 ]);
- Node29_9.a('node.underlinevisible',false);
- Node29_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_9);
- zoomNodeList.push({
- node: Node29_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_10 = new ht.Node();
- var Node29_10textStart, Node29_10textWidth, Node29_10lineStart, Node29_10align = 'center', Node29_10fontSize = 11.99997*_ratio.ratioY,Node29_10width = 105*_ratio.ratioX, Node29_10height = 17*_ratio.ratioY;
- (function () {
- if (Node29_10align === 'left') {
- Node29_10textStart = Node29_10fontSize * 0.2 > 2 ? Node29_10fontSize * 0.2 - 4 : Node29_10fontSize * 0.2 - 9;
- Node29_10textWidth = Node29_10width;
- Node29_10lineStart = 1;
- } else if (Node29_10align === 'right') {
- Node29_10textStart = 0;
- Node29_10textWidth =Node29_10fontSize <= 8 ? Node29_10width + Node29_10fontSize * 0.2 + 6 : Node29_10width - Node29_10fontSize * 0.2;
- Node29_10lineStart = (Node29_10width - (ht.Default.getTextSize('MW', 'bold '+ Node29_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node29_10align === 'center') {
- Node29_10textStart = -3;
- Node29_10textWidth = Node29_10width;
- Node29_10lineStart = Node29_10width - ht.Default.getTextSize('MW', 'bold '+ Node29_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node29_10.setImage(GD.getTextJSON(Node29_10width, Node29_10height, true, false, false, 'bold '+ Node29_10fontSize + 'px "Arial"'))
- Node29_10.setPosition(443*ratio.ratioX, 131*ratio.ratioY);
- Node29_10.setWidth(Node29_10width);
- Node29_10.setHeight(Node29_10height);
- Node29_10._nodeType = 'text';
- Node29_10._disallowEvert = true;
- Node29_10.setRotation(0*Math.PI/180);
- Node29_10.a('node.width', Node29_10width);
- Node29_10.a('node.height', Node29_10height);
- Node29_10.a('node.rect', [0, 0, Node29_10width, Node29_10height]);
- Node29_10.a('node.bordercolor','rgba(128,128,128,1)');
- Node29_10.a('node.borderwidth', 0);
- Node29_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_10.a('node.gradient','');
- Node29_10.a('node.gradientcolor','');
- Node29_10.a('node.text','MW');
- Node29_10.a('node.textalign','center');
- Node29_10.a('node.textvAlign','middle');
- Node29_10.a('node.textrect', [Node29_10textStart, 0, Node29_10textWidth, Node29_10height]);
- Node29_10.a('node.color','rgba(128,128,128,1)');
- Node29_10.a('node.font','bold '+ Node29_10fontSize + 'px "Arial"');
- Node29_10.a('node.textvisible',true);
- Node29_10.a('node.linefeed',false);
- if (false) {
- Node29_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_10.a('node.text') || 'MW';
- var color=Node29_10.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node29_10width,Node29_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node29_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node29_10.a('node.underlinepoints',[Node29_10lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node29_10fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node29_10fontSize + 'px "Arial"').width + 6, (Node29_10height - Node29_10fontSize) * 0.5*_ratio.ratioY + Node29_10fontSize + 2 ]);
- Node29_10.a('node.underlinevisible',false);
- Node29_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_10);
- zoomNodeList.push({
- node: Node29_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_11 = new ht.Node();
- var Node29_11textStart, Node29_11textWidth, Node29_11lineStart, Node29_11align = 'center', Node29_11fontSize = 13.3333*_ratio.ratioY,Node29_11width = 105*_ratio.ratioX, Node29_11height = 27*_ratio.ratioY;
- (function () {
- if (Node29_11align === 'left') {
- Node29_11textStart = Node29_11fontSize * 0.2 > 2 ? Node29_11fontSize * 0.2 - 4 : Node29_11fontSize * 0.2 - 9;
- Node29_11textWidth = Node29_11width;
- Node29_11lineStart = 1;
- } else if (Node29_11align === 'right') {
- Node29_11textStart = 0;
- Node29_11textWidth =Node29_11fontSize <= 8 ? Node29_11width + Node29_11fontSize * 0.2 + 6 : Node29_11width - Node29_11fontSize * 0.2;
- Node29_11lineStart = (Node29_11width - (ht.Default.getTextSize('400.00', 'bold '+ Node29_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_11align === 'center') {
- Node29_11textStart = -3;
- Node29_11textWidth = Node29_11width;
- Node29_11lineStart = Node29_11width - ht.Default.getTextSize('400.00', 'bold '+ Node29_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_11.setImage(GD.getTextJSON(Node29_11width, Node29_11height, true, false, false, 'bold '+ Node29_11fontSize + 'px "UniDreamLED"'))
- Node29_11.setPosition(443*ratio.ratioX, 158*ratio.ratioY);
- Node29_11.setWidth(Node29_11width);
- Node29_11.setHeight(Node29_11height);
- Node29_11._nodeType = 'text';
- Node29_11._disallowEvert = true;
- Node29_11.setRotation(0*Math.PI/180);
- Node29_11.a('node.width', Node29_11width);
- Node29_11.a('node.height', Node29_11height);
- Node29_11.a('node.rect', [0, 0, Node29_11width, Node29_11height]);
- Node29_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_11.a('node.borderwidth', 0);
- Node29_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_11.a('node.gradient','');
- Node29_11.a('node.gradientcolor','');
- Node29_11.a('node.text','400.00');
- Node29_11.a('node.textalign','center');
- Node29_11.a('node.textvAlign','middle');
- Node29_11.a('node.textrect', [Node29_11textStart, 0, Node29_11textWidth, Node29_11height]);
- Node29_11.a('node.color','rgba(0,0,0,1)');
- Node29_11.a('node.font','bold '+ Node29_11fontSize + 'px "UniDreamLED"');
- Node29_11.a('node.textvisible',true);
- Node29_11.a('node.linefeed',false);
- if (false) {
- Node29_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_11.a('node.text') || '400.00';
- var color=Node29_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_11width,Node29_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_11.a('node.underlinepoints',[Node29_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_11fontSize + 2 , ht.Default.getTextSize('400.00', 'bold '+ Node29_11fontSize + 'px "UniDreamLED"').width + 6, (Node29_11height - Node29_11fontSize) * 0.5*_ratio.ratioY + Node29_11fontSize + 2 ]);
- Node29_11.a('node.underlinevisible',false);
- Node29_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_11);
- zoomNodeList.push({
- node: Node29_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_12 = new ht.Node();
- var Node29_12textStart, Node29_12textWidth, Node29_12lineStart, Node29_12align = 'center', Node29_12fontSize = 13.3333*_ratio.ratioY,Node29_12width = 110*_ratio.ratioX, Node29_12height = 27*_ratio.ratioY;
- (function () {
- if (Node29_12align === 'left') {
- Node29_12textStart = Node29_12fontSize * 0.2 > 2 ? Node29_12fontSize * 0.2 - 4 : Node29_12fontSize * 0.2 - 9;
- Node29_12textWidth = Node29_12width;
- Node29_12lineStart = 1;
- } else if (Node29_12align === 'right') {
- Node29_12textStart = 0;
- Node29_12textWidth =Node29_12fontSize <= 8 ? Node29_12width + Node29_12fontSize * 0.2 + 6 : Node29_12width - Node29_12fontSize * 0.2;
- Node29_12lineStart = (Node29_12width - (ht.Default.getTextSize('-', 'bold '+ Node29_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_12align === 'center') {
- Node29_12textStart = -3;
- Node29_12textWidth = Node29_12width;
- Node29_12lineStart = Node29_12width - ht.Default.getTextSize('-', 'bold '+ Node29_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_12.setImage(GD.getTextJSON(Node29_12width, Node29_12height, true, false, false, 'bold '+ Node29_12fontSize + 'px "UniDreamLED"'))
- Node29_12.setPosition(446*ratio.ratioX, 190*ratio.ratioY);
- Node29_12.setWidth(Node29_12width);
- Node29_12.setHeight(Node29_12height);
- Node29_12._nodeType = 'text';
- Node29_12._disallowEvert = true;
- Node29_12.setRotation(0*Math.PI/180);
- Node29_12.a('node.width', Node29_12width);
- Node29_12.a('node.height', Node29_12height);
- Node29_12.a('node.rect', [0, 0, Node29_12width, Node29_12height]);
- Node29_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_12.a('node.borderwidth', 0);
- Node29_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_12.a('node.gradient','');
- Node29_12.a('node.gradientcolor','');
- Node29_12.a('node.text','-');
- Node29_12.a('node.textalign','center');
- Node29_12.a('node.textvAlign','middle');
- Node29_12.a('node.textrect', [Node29_12textStart, 0, Node29_12textWidth, Node29_12height]);
- Node29_12.a('node.color','rgba(0,0,0,1)');
- Node29_12.a('node.font','bold '+ Node29_12fontSize + 'px "UniDreamLED"');
- Node29_12.a('node.textvisible',true);
- Node29_12.a('node.linefeed',false);
- if (false) {
- Node29_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_12.a('node.text') || '-';
- var color=Node29_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_12width,Node29_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_12.a('node.underlinepoints',[Node29_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_12fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_12fontSize + 'px "UniDreamLED"').width + 6, (Node29_12height - Node29_12fontSize) * 0.5*_ratio.ratioY + Node29_12fontSize + 2 ]);
- Node29_12.a('node.underlinevisible',false);
- Node29_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_12);
- zoomNodeList.push({
- node: Node29_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_13 = new ht.Node();
- var Node29_13textStart, Node29_13textWidth, Node29_13lineStart, Node29_13align = 'center', Node29_13fontSize = 13.3333*_ratio.ratioY,Node29_13width = 110*_ratio.ratioX, Node29_13height = 27*_ratio.ratioY;
- (function () {
- if (Node29_13align === 'left') {
- Node29_13textStart = Node29_13fontSize * 0.2 > 2 ? Node29_13fontSize * 0.2 - 4 : Node29_13fontSize * 0.2 - 9;
- Node29_13textWidth = Node29_13width;
- Node29_13lineStart = 1;
- } else if (Node29_13align === 'right') {
- Node29_13textStart = 0;
- Node29_13textWidth =Node29_13fontSize <= 8 ? Node29_13width + Node29_13fontSize * 0.2 + 6 : Node29_13width - Node29_13fontSize * 0.2;
- Node29_13lineStart = (Node29_13width - (ht.Default.getTextSize('-', 'bold '+ Node29_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_13align === 'center') {
- Node29_13textStart = -3;
- Node29_13textWidth = Node29_13width;
- Node29_13lineStart = Node29_13width - ht.Default.getTextSize('-', 'bold '+ Node29_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_13.setImage(GD.getTextJSON(Node29_13width, Node29_13height, true, false, false, 'bold '+ Node29_13fontSize + 'px "UniDreamLED"'))
- Node29_13.setPosition(446*ratio.ratioX, 220*ratio.ratioY);
- Node29_13.setWidth(Node29_13width);
- Node29_13.setHeight(Node29_13height);
- Node29_13._nodeType = 'text';
- Node29_13._disallowEvert = true;
- Node29_13.setRotation(0*Math.PI/180);
- Node29_13.a('node.width', Node29_13width);
- Node29_13.a('node.height', Node29_13height);
- Node29_13.a('node.rect', [0, 0, Node29_13width, Node29_13height]);
- Node29_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_13.a('node.borderwidth', 0);
- Node29_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_13.a('node.gradient','');
- Node29_13.a('node.gradientcolor','');
- Node29_13.a('node.text','-');
- Node29_13.a('node.textalign','center');
- Node29_13.a('node.textvAlign','middle');
- Node29_13.a('node.textrect', [Node29_13textStart, 0, Node29_13textWidth, Node29_13height]);
- Node29_13.a('node.color','rgba(0,0,0,1)');
- Node29_13.a('node.font','bold '+ Node29_13fontSize + 'px "UniDreamLED"');
- Node29_13.a('node.textvisible',true);
- Node29_13.a('node.linefeed',false);
- if (false) {
- Node29_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_13.a('node.text') || '-';
- var color=Node29_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_13width,Node29_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_13.a('node.underlinepoints',[Node29_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_13fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_13fontSize + 'px "UniDreamLED"').width + 6, (Node29_13height - Node29_13fontSize) * 0.5*_ratio.ratioY + Node29_13fontSize + 2 ]);
- Node29_13.a('node.underlinevisible',false);
- Node29_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_13);
- zoomNodeList.push({
- node: Node29_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_14 = new ht.Node();
- var Node29_14textStart, Node29_14textWidth, Node29_14lineStart, Node29_14align = 'center', Node29_14fontSize = 13.3333*_ratio.ratioY,Node29_14width = 110*_ratio.ratioX, Node29_14height = 27*_ratio.ratioY;
- (function () {
- if (Node29_14align === 'left') {
- Node29_14textStart = Node29_14fontSize * 0.2 > 2 ? Node29_14fontSize * 0.2 - 4 : Node29_14fontSize * 0.2 - 9;
- Node29_14textWidth = Node29_14width;
- Node29_14lineStart = 1;
- } else if (Node29_14align === 'right') {
- Node29_14textStart = 0;
- Node29_14textWidth =Node29_14fontSize <= 8 ? Node29_14width + Node29_14fontSize * 0.2 + 6 : Node29_14width - Node29_14fontSize * 0.2;
- Node29_14lineStart = (Node29_14width - (ht.Default.getTextSize('-', 'bold '+ Node29_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_14align === 'center') {
- Node29_14textStart = -3;
- Node29_14textWidth = Node29_14width;
- Node29_14lineStart = Node29_14width - ht.Default.getTextSize('-', 'bold '+ Node29_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_14.setImage(GD.getTextJSON(Node29_14width, Node29_14height, true, false, false, 'bold '+ Node29_14fontSize + 'px "UniDreamLED"'))
- Node29_14.setPosition(446*ratio.ratioX, 250*ratio.ratioY);
- Node29_14.setWidth(Node29_14width);
- Node29_14.setHeight(Node29_14height);
- Node29_14._nodeType = 'text';
- Node29_14._disallowEvert = true;
- Node29_14.setRotation(0*Math.PI/180);
- Node29_14.a('node.width', Node29_14width);
- Node29_14.a('node.height', Node29_14height);
- Node29_14.a('node.rect', [0, 0, Node29_14width, Node29_14height]);
- Node29_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_14.a('node.borderwidth', 0);
- Node29_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_14.a('node.gradient','');
- Node29_14.a('node.gradientcolor','');
- Node29_14.a('node.text','-');
- Node29_14.a('node.textalign','center');
- Node29_14.a('node.textvAlign','middle');
- Node29_14.a('node.textrect', [Node29_14textStart, 0, Node29_14textWidth, Node29_14height]);
- Node29_14.a('node.color','rgba(0,0,0,1)');
- Node29_14.a('node.font','bold '+ Node29_14fontSize + 'px "UniDreamLED"');
- Node29_14.a('node.textvisible',true);
- Node29_14.a('node.linefeed',false);
- if (false) {
- Node29_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_14.a('node.text') || '-';
- var color=Node29_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_14width,Node29_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_14.a('node.underlinepoints',[Node29_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_14fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_14fontSize + 'px "UniDreamLED"').width + 6, (Node29_14height - Node29_14fontSize) * 0.5*_ratio.ratioY + Node29_14fontSize + 2 ]);
- Node29_14.a('node.underlinevisible',false);
- Node29_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_14);
- zoomNodeList.push({
- node: Node29_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_15 = new ht.Node();
- var Node29_15textStart, Node29_15textWidth, Node29_15lineStart, Node29_15align = 'center', Node29_15fontSize = 13.3333*_ratio.ratioY,Node29_15width = 110*_ratio.ratioX, Node29_15height = 27*_ratio.ratioY;
- (function () {
- if (Node29_15align === 'left') {
- Node29_15textStart = Node29_15fontSize * 0.2 > 2 ? Node29_15fontSize * 0.2 - 4 : Node29_15fontSize * 0.2 - 9;
- Node29_15textWidth = Node29_15width;
- Node29_15lineStart = 1;
- } else if (Node29_15align === 'right') {
- Node29_15textStart = 0;
- Node29_15textWidth =Node29_15fontSize <= 8 ? Node29_15width + Node29_15fontSize * 0.2 + 6 : Node29_15width - Node29_15fontSize * 0.2;
- Node29_15lineStart = (Node29_15width - (ht.Default.getTextSize('-', 'bold '+ Node29_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_15align === 'center') {
- Node29_15textStart = -3;
- Node29_15textWidth = Node29_15width;
- Node29_15lineStart = Node29_15width - ht.Default.getTextSize('-', 'bold '+ Node29_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_15.setImage(GD.getTextJSON(Node29_15width, Node29_15height, true, false, false, 'bold '+ Node29_15fontSize + 'px "UniDreamLED"'))
- Node29_15.setPosition(446*ratio.ratioX, 284*ratio.ratioY);
- Node29_15.setWidth(Node29_15width);
- Node29_15.setHeight(Node29_15height);
- Node29_15._nodeType = 'text';
- Node29_15._disallowEvert = true;
- Node29_15.setRotation(0*Math.PI/180);
- Node29_15.a('node.width', Node29_15width);
- Node29_15.a('node.height', Node29_15height);
- Node29_15.a('node.rect', [0, 0, Node29_15width, Node29_15height]);
- Node29_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_15.a('node.borderwidth', 0);
- Node29_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_15.a('node.gradient','');
- Node29_15.a('node.gradientcolor','');
- Node29_15.a('node.text','-');
- Node29_15.a('node.textalign','center');
- Node29_15.a('node.textvAlign','middle');
- Node29_15.a('node.textrect', [Node29_15textStart, 0, Node29_15textWidth, Node29_15height]);
- Node29_15.a('node.color','rgba(0,0,0,1)');
- Node29_15.a('node.font','bold '+ Node29_15fontSize + 'px "UniDreamLED"');
- Node29_15.a('node.textvisible',true);
- Node29_15.a('node.linefeed',false);
- if (false) {
- Node29_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_15.a('node.text') || '-';
- var color=Node29_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_15width,Node29_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_15.a('node.underlinepoints',[Node29_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_15fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_15fontSize + 'px "UniDreamLED"').width + 6, (Node29_15height - Node29_15fontSize) * 0.5*_ratio.ratioY + Node29_15fontSize + 2 ]);
- Node29_15.a('node.underlinevisible',false);
- Node29_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_15);
- zoomNodeList.push({
- node: Node29_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_16 = new ht.Node();
- var Node29_16textStart, Node29_16textWidth, Node29_16lineStart, Node29_16align = 'center', Node29_16fontSize = 13.3333*_ratio.ratioY,Node29_16width = 110*_ratio.ratioX, Node29_16height = 27*_ratio.ratioY;
- (function () {
- if (Node29_16align === 'left') {
- Node29_16textStart = Node29_16fontSize * 0.2 > 2 ? Node29_16fontSize * 0.2 - 4 : Node29_16fontSize * 0.2 - 9;
- Node29_16textWidth = Node29_16width;
- Node29_16lineStart = 1;
- } else if (Node29_16align === 'right') {
- Node29_16textStart = 0;
- Node29_16textWidth =Node29_16fontSize <= 8 ? Node29_16width + Node29_16fontSize * 0.2 + 6 : Node29_16width - Node29_16fontSize * 0.2;
- Node29_16lineStart = (Node29_16width - (ht.Default.getTextSize('-', 'bold '+ Node29_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_16align === 'center') {
- Node29_16textStart = -3;
- Node29_16textWidth = Node29_16width;
- Node29_16lineStart = Node29_16width - ht.Default.getTextSize('-', 'bold '+ Node29_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_16.setImage(GD.getTextJSON(Node29_16width, Node29_16height, true, false, false, 'bold '+ Node29_16fontSize + 'px "UniDreamLED"'))
- Node29_16.setPosition(446*ratio.ratioX, 317*ratio.ratioY);
- Node29_16.setWidth(Node29_16width);
- Node29_16.setHeight(Node29_16height);
- Node29_16._nodeType = 'text';
- Node29_16._disallowEvert = true;
- Node29_16.setRotation(0*Math.PI/180);
- Node29_16.a('node.width', Node29_16width);
- Node29_16.a('node.height', Node29_16height);
- Node29_16.a('node.rect', [0, 0, Node29_16width, Node29_16height]);
- Node29_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_16.a('node.borderwidth', 0);
- Node29_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_16.a('node.gradient','');
- Node29_16.a('node.gradientcolor','');
- Node29_16.a('node.text','-');
- Node29_16.a('node.textalign','center');
- Node29_16.a('node.textvAlign','middle');
- Node29_16.a('node.textrect', [Node29_16textStart, 0, Node29_16textWidth, Node29_16height]);
- Node29_16.a('node.color','rgba(0,0,0,1)');
- Node29_16.a('node.font','bold '+ Node29_16fontSize + 'px "UniDreamLED"');
- Node29_16.a('node.textvisible',true);
- Node29_16.a('node.linefeed',false);
- if (false) {
- Node29_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_16.a('node.text') || '-';
- var color=Node29_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_16width,Node29_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_16.a('node.underlinepoints',[Node29_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_16fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_16fontSize + 'px "UniDreamLED"').width + 6, (Node29_16height - Node29_16fontSize) * 0.5*_ratio.ratioY + Node29_16fontSize + 2 ]);
- Node29_16.a('node.underlinevisible',false);
- Node29_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_16);
- zoomNodeList.push({
- node: Node29_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_17 = new ht.Node();
- var Node29_17textStart, Node29_17textWidth, Node29_17lineStart, Node29_17align = 'center', Node29_17fontSize = 13.3333*_ratio.ratioY,Node29_17width = 110*_ratio.ratioX, Node29_17height = 27*_ratio.ratioY;
- (function () {
- if (Node29_17align === 'left') {
- Node29_17textStart = Node29_17fontSize * 0.2 > 2 ? Node29_17fontSize * 0.2 - 4 : Node29_17fontSize * 0.2 - 9;
- Node29_17textWidth = Node29_17width;
- Node29_17lineStart = 1;
- } else if (Node29_17align === 'right') {
- Node29_17textStart = 0;
- Node29_17textWidth =Node29_17fontSize <= 8 ? Node29_17width + Node29_17fontSize * 0.2 + 6 : Node29_17width - Node29_17fontSize * 0.2;
- Node29_17lineStart = (Node29_17width - (ht.Default.getTextSize('-', 'bold '+ Node29_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_17align === 'center') {
- Node29_17textStart = -3;
- Node29_17textWidth = Node29_17width;
- Node29_17lineStart = Node29_17width - ht.Default.getTextSize('-', 'bold '+ Node29_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_17.setImage(GD.getTextJSON(Node29_17width, Node29_17height, true, false, false, 'bold '+ Node29_17fontSize + 'px "UniDreamLED"'))
- Node29_17.setPosition(446*ratio.ratioX, 346*ratio.ratioY);
- Node29_17.setWidth(Node29_17width);
- Node29_17.setHeight(Node29_17height);
- Node29_17._nodeType = 'text';
- Node29_17._disallowEvert = true;
- Node29_17.setRotation(0*Math.PI/180);
- Node29_17.a('node.width', Node29_17width);
- Node29_17.a('node.height', Node29_17height);
- Node29_17.a('node.rect', [0, 0, Node29_17width, Node29_17height]);
- Node29_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_17.a('node.borderwidth', 0);
- Node29_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_17.a('node.gradient','');
- Node29_17.a('node.gradientcolor','');
- Node29_17.a('node.text','-');
- Node29_17.a('node.textalign','center');
- Node29_17.a('node.textvAlign','middle');
- Node29_17.a('node.textrect', [Node29_17textStart, 0, Node29_17textWidth, Node29_17height]);
- Node29_17.a('node.color','rgba(0,0,0,1)');
- Node29_17.a('node.font','bold '+ Node29_17fontSize + 'px "UniDreamLED"');
- Node29_17.a('node.textvisible',true);
- Node29_17.a('node.linefeed',false);
- if (false) {
- Node29_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_17.a('node.text') || '-';
- var color=Node29_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_17width,Node29_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_17.a('node.underlinepoints',[Node29_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_17fontSize + 'px "UniDreamLED"').width + 6, (Node29_17height - Node29_17fontSize) * 0.5*_ratio.ratioY + Node29_17fontSize + 2 ]);
- Node29_17.a('node.underlinevisible',false);
- Node29_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_17);
- zoomNodeList.push({
- node: Node29_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29_18 = new ht.Node();
- var Node29_18textStart, Node29_18textWidth, Node29_18lineStart, Node29_18align = 'center', Node29_18fontSize = 13.3333*_ratio.ratioY,Node29_18width = 110*_ratio.ratioX, Node29_18height = 27*_ratio.ratioY;
- (function () {
- if (Node29_18align === 'left') {
- Node29_18textStart = Node29_18fontSize * 0.2 > 2 ? Node29_18fontSize * 0.2 - 4 : Node29_18fontSize * 0.2 - 9;
- Node29_18textWidth = Node29_18width;
- Node29_18lineStart = 1;
- } else if (Node29_18align === 'right') {
- Node29_18textStart = 0;
- Node29_18textWidth =Node29_18fontSize <= 8 ? Node29_18width + Node29_18fontSize * 0.2 + 6 : Node29_18width - Node29_18fontSize * 0.2;
- Node29_18lineStart = (Node29_18width - (ht.Default.getTextSize('-', 'bold '+ Node29_18fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29_18align === 'center') {
- Node29_18textStart = -3;
- Node29_18textWidth = Node29_18width;
- Node29_18lineStart = Node29_18width - ht.Default.getTextSize('-', 'bold '+ Node29_18fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29_18.setImage(GD.getTextJSON(Node29_18width, Node29_18height, true, false, false, 'bold '+ Node29_18fontSize + 'px "UniDreamLED"'))
- Node29_18.setPosition(446*ratio.ratioX, 377*ratio.ratioY);
- Node29_18.setWidth(Node29_18width);
- Node29_18.setHeight(Node29_18height);
- Node29_18._nodeType = 'text';
- Node29_18._disallowEvert = true;
- Node29_18.setRotation(0*Math.PI/180);
- Node29_18.a('node.width', Node29_18width);
- Node29_18.a('node.height', Node29_18height);
- Node29_18.a('node.rect', [0, 0, Node29_18width, Node29_18height]);
- Node29_18.a('node.bordercolor','rgba(0,0,0,1)');
- Node29_18.a('node.borderwidth', 0);
- Node29_18.a('node.background','' || 'rgba(0,0,0,0)');
- Node29_18.a('node.gradient','');
- Node29_18.a('node.gradientcolor','');
- Node29_18.a('node.text','-');
- Node29_18.a('node.textalign','center');
- Node29_18.a('node.textvAlign','middle');
- Node29_18.a('node.textrect', [Node29_18textStart, 0, Node29_18textWidth, Node29_18height]);
- Node29_18.a('node.color','rgba(0,0,0,1)');
- Node29_18.a('node.font','bold '+ Node29_18fontSize + 'px "UniDreamLED"');
- Node29_18.a('node.textvisible',true);
- Node29_18.a('node.linefeed',false);
- if (false) {
- Node29_18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29_18.a('node.text') || '-';
- var color=Node29_18.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node29_18width,Node29_18height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node29_18fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29_18.a('node.underlinepoints',[Node29_18lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node29_18fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node29_18fontSize + 'px "UniDreamLED"').width + 6, (Node29_18height - Node29_18fontSize) * 0.5*_ratio.ratioY + Node29_18fontSize + 2 ]);
- Node29_18.a('node.underlinevisible',false);
- Node29_18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29_18);
- zoomNodeList.push({
- node: Node29_18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node29_19points=[518, 230,518, 230],
- Node29_19rect=ht.Default.unionPoint([{x:518,y:230},{x:518,y:230}]),
- Node29_19compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node29_19points.length;i++){
- if(i%2==0){
- Node29_19compspts.push(Node29_19points[i]-Node29_19rect.x);
- }else{
- Node29_19compspts.push(Node29_19points[i]-Node29_19rect.y);
- }
- }
- var Node29_19ptslength=Node29_19compspts.length;
- if (Node29_19rect.height === 0) {
- Node29_19compspts[0] -= 0;
- Node29_19compspts[Node29_19ptslength-2] += 0;
- } else if (Node29_19rect.width === 0){
- Node29_19compspts[1] -= 0;
- Node29_19compspts[Node29_19ptslength-1] += 0;
- } else {
- Node29_19compspts[0] -= 0;
- Node29_19compspts[1] -= 0;
- Node29_19compspts[Node29_19ptslength-2] += 0;
- Node29_19compspts[Node29_19ptslength-1] += 0;
- }
- Node29_19 = new ht.Node();
- Node29_19.borderWidth = 1;
- Node29_19rect.width = Node29_19rect.width === 0 ? 0.0001 : Node29_19rect.width;
- Node29_19rect.height = Node29_19rect.height === 0 ? 0.0001 : Node29_19rect.height;
- var Node29_19endCompspts = [Node29_19compspts[Node29_19ptslength-2],Node29_19compspts[Node29_19ptslength-1],0,0];
- var Node29_19startCompspts = [Node29_19compspts[0],Node29_19compspts[1],0,0];
- Node29_19.setImage(GD.getPolyLineJSON());
- Node29_19.setPosition(Node29_19rect.x+Node29_19rect.width/2,Node29_19rect.y+Node29_19rect.height/2);
- Node29_19.setSize(Node29_19rect.width,Node29_19rect.height);
- Node29_19.setStyle("opacity",1);
- Node29_19.s({'pixelPerfect':true});
- Node29_19borderwidth=1;
- Node29_19.setRotation(0);
- dataModel.add(Node29_19);
- Node29_19.a('node.points',Node29_19compspts);
- Node29_19.a('node.segments',[1,2]);
- Node29_19.a('node.color','rgba(0,0,0,1)');
- Node29_19.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node29_19.a('node.borderColor','rgba(0,0,0,1)');
- Node29_19.a('node.background','rgba(0,0,0,1)');
- Node29_19.a('node.gradient','');
- Node29_19.a('node.gradientcolor','rgba(0,0,0,1)');
- Node29_19.a('node.endCompspts',Node29_19endCompspts);
- Node29_19.a('node.startCompspts',Node29_19startCompspts);
- (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 = 'Node29_19';
- 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);
- }
- })(Node29_19, Node29_19.getImage(), Node29_19compspts, Node29_19endCompspts, Node29_19startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_0type = 'rect';
- var Node30_0 = new ht.Node(),
- Node30_0BorderWidth = 0*2;
- if (Node30_0type === 'arc') {
- Node30_0BorderWidth *= 0;
- }
- Node30_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_0.setPosition(573*ratio.ratioX, 190*ratio.ratioY);
- Node30_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_0.a('node.width', 127*_ratio.ratioX);
- Node30_0.a('node.height', 32*_ratio.ratioY);
- Node30_0.a('node.type', Node30_0type);
- Node30_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_0.a('node.background', 'rgba(245,245,245,1)');
- Node30_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node30_0.a('node.gradient', '');
- Node30_0.a('node.borderwidth', Node30_0BorderWidth);
- Node30_0.a('node.color', 'rgba(192,192,192,0)');
- Node30_0.a('node.fillrect', [0,0,0,0]);
- Node30_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_0.a('node.fillgradient', '');
- if (Node30_0type !== 'rect') {
- Node30_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_0type === 'arc') {
- Node30_0.a('node.arcOval', true);
- }
- Node30_0.setRotation(0*Math.PI/180);
- Node30_0.borderWidth = Node30_0BorderWidth;
- Node30_0.borderFillwidth = Node30_0BorderWidth;
- dataModel.add(Node30_0);
- Node30_0._nodename = 'Node30_0'
- Node30_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_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);
- }
- })(Node30_0, Node30_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_1type = 'rect';
- var Node30_1 = new ht.Node(),
- Node30_1BorderWidth = 0*2;
- if (Node30_1type === 'arc') {
- Node30_1BorderWidth *= 0;
- }
- Node30_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_1.setPosition(573*ratio.ratioX, 222*ratio.ratioY);
- Node30_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_1.a('node.width', 127*_ratio.ratioX);
- Node30_1.a('node.height', 32*_ratio.ratioY);
- Node30_1.a('node.type', Node30_1type);
- Node30_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node30_1.a('node.gradientcolor', '');
- Node30_1.a('node.gradient', '');
- Node30_1.a('node.borderwidth', Node30_1BorderWidth);
- Node30_1.a('node.color', 'rgba(192,192,192,0)');
- Node30_1.a('node.fillrect', [0,0,0,0]);
- Node30_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_1.a('node.fillgradient', '');
- if (Node30_1type !== 'rect') {
- Node30_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_1type === 'arc') {
- Node30_1.a('node.arcOval', true);
- }
- Node30_1.setRotation(0*Math.PI/180);
- Node30_1.borderWidth = Node30_1BorderWidth;
- Node30_1.borderFillwidth = Node30_1BorderWidth;
- dataModel.add(Node30_1);
- Node30_1._nodename = 'Node30_1'
- Node30_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_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);
- }
- })(Node30_1, Node30_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_2type = 'rect';
- var Node30_2 = new ht.Node(),
- Node30_2BorderWidth = 0*2;
- if (Node30_2type === 'arc') {
- Node30_2BorderWidth *= 0;
- }
- Node30_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_2.setPosition(573*ratio.ratioX, 254*ratio.ratioY);
- Node30_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_2.a('node.width', 127*_ratio.ratioX);
- Node30_2.a('node.height', 32*_ratio.ratioY);
- Node30_2.a('node.type', Node30_2type);
- Node30_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_2.a('node.background', 'rgba(245,245,245,1)');
- Node30_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node30_2.a('node.gradient', '');
- Node30_2.a('node.borderwidth', Node30_2BorderWidth);
- Node30_2.a('node.color', 'rgba(192,192,192,0)');
- Node30_2.a('node.fillrect', [0,0,0,0]);
- Node30_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_2.a('node.fillgradient', '');
- if (Node30_2type !== 'rect') {
- Node30_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_2type === 'arc') {
- Node30_2.a('node.arcOval', true);
- }
- Node30_2.setRotation(0*Math.PI/180);
- Node30_2.borderWidth = Node30_2BorderWidth;
- Node30_2.borderFillwidth = Node30_2BorderWidth;
- dataModel.add(Node30_2);
- Node30_2._nodename = 'Node30_2'
- Node30_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30_2, Node30_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_3type = 'rect';
- var Node30_3 = new ht.Node(),
- Node30_3BorderWidth = 0*2;
- if (Node30_3type === 'arc') {
- Node30_3BorderWidth *= 0;
- }
- Node30_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_3.setPosition(573*ratio.ratioX, 285*ratio.ratioY);
- Node30_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_3.a('node.width', 127*_ratio.ratioX);
- Node30_3.a('node.height', 32*_ratio.ratioY);
- Node30_3.a('node.type', Node30_3type);
- Node30_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node30_3.a('node.gradientcolor', '');
- Node30_3.a('node.gradient', '');
- Node30_3.a('node.borderwidth', Node30_3BorderWidth);
- Node30_3.a('node.color', 'rgba(192,192,192,0)');
- Node30_3.a('node.fillrect', [0,0,0,0]);
- Node30_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_3.a('node.fillgradient', '');
- if (Node30_3type !== 'rect') {
- Node30_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_3type === 'arc') {
- Node30_3.a('node.arcOval', true);
- }
- Node30_3.setRotation(0*Math.PI/180);
- Node30_3.borderWidth = Node30_3BorderWidth;
- Node30_3.borderFillwidth = Node30_3BorderWidth;
- dataModel.add(Node30_3);
- Node30_3._nodename = 'Node30_3'
- Node30_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30_3, Node30_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_4type = 'rect';
- var Node30_4 = new ht.Node(),
- Node30_4BorderWidth = 0*2;
- if (Node30_4type === 'arc') {
- Node30_4BorderWidth *= 0;
- }
- Node30_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_4.setPosition(573*ratio.ratioX, 316*ratio.ratioY);
- Node30_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_4.a('node.width', 127*_ratio.ratioX);
- Node30_4.a('node.height', 32*_ratio.ratioY);
- Node30_4.a('node.type', Node30_4type);
- Node30_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_4.a('node.background', 'rgba(245,245,245,1)');
- Node30_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node30_4.a('node.gradient', '');
- Node30_4.a('node.borderwidth', Node30_4BorderWidth);
- Node30_4.a('node.color', 'rgba(192,192,192,0)');
- Node30_4.a('node.fillrect', [0,0,0,0]);
- Node30_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_4.a('node.fillgradient', '');
- if (Node30_4type !== 'rect') {
- Node30_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_4type === 'arc') {
- Node30_4.a('node.arcOval', true);
- }
- Node30_4.setRotation(0*Math.PI/180);
- Node30_4.borderWidth = Node30_4BorderWidth;
- Node30_4.borderFillwidth = Node30_4BorderWidth;
- dataModel.add(Node30_4);
- Node30_4._nodename = 'Node30_4'
- Node30_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30_4, Node30_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_5type = 'rect';
- var Node30_5 = new ht.Node(),
- Node30_5BorderWidth = 0*2;
- if (Node30_5type === 'arc') {
- Node30_5BorderWidth *= 0;
- }
- Node30_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_5.setPosition(573*ratio.ratioX, 347*ratio.ratioY);
- Node30_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_5.a('node.width', 127*_ratio.ratioX);
- Node30_5.a('node.height', 32*_ratio.ratioY);
- Node30_5.a('node.type', Node30_5type);
- Node30_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node30_5.a('node.gradientcolor', '');
- Node30_5.a('node.gradient', '');
- Node30_5.a('node.borderwidth', Node30_5BorderWidth);
- Node30_5.a('node.color', 'rgba(192,192,192,0)');
- Node30_5.a('node.fillrect', [0,0,0,0]);
- Node30_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_5.a('node.fillgradient', '');
- if (Node30_5type !== 'rect') {
- Node30_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_5type === 'arc') {
- Node30_5.a('node.arcOval', true);
- }
- Node30_5.setRotation(0*Math.PI/180);
- Node30_5.borderWidth = Node30_5BorderWidth;
- Node30_5.borderFillwidth = Node30_5BorderWidth;
- dataModel.add(Node30_5);
- Node30_5._nodename = 'Node30_5'
- Node30_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30_5, Node30_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_6type = 'rect';
- var Node30_6 = new ht.Node(),
- Node30_6BorderWidth = 0*2;
- if (Node30_6type === 'arc') {
- Node30_6BorderWidth *= 0;
- }
- Node30_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node30_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_6.setPosition(573*ratio.ratioX, 378*ratio.ratioY);
- Node30_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node30_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_6.a('node.width', 127*_ratio.ratioX);
- Node30_6.a('node.height', 32*_ratio.ratioY);
- Node30_6.a('node.type', Node30_6type);
- Node30_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node30_6.a('node.background', 'rgba(245,245,245,1)');
- Node30_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node30_6.a('node.gradient', '');
- Node30_6.a('node.borderwidth', Node30_6BorderWidth);
- Node30_6.a('node.color', 'rgba(192,192,192,0)');
- Node30_6.a('node.fillrect', [0,0,0,0]);
- Node30_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_6.a('node.fillgradient', '');
- if (Node30_6type !== 'rect') {
- Node30_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_6type === 'arc') {
- Node30_6.a('node.arcOval', true);
- }
- Node30_6.setRotation(0*Math.PI/180);
- Node30_6.borderWidth = Node30_6BorderWidth;
- Node30_6.borderFillwidth = Node30_6BorderWidth;
- dataModel.add(Node30_6);
- Node30_6._nodename = 'Node30_6'
- Node30_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node30_6, Node30_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_7type = 'rect';
- var Node30_7 = new ht.Node(),
- Node30_7BorderWidth = 1*2;
- if (Node30_7type === 'arc') {
- Node30_7BorderWidth *= 1;
- }
- Node30_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node30_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node30_7.setPosition(573*ratio.ratioX, 239*ratio.ratioY);
- Node30_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node30_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node30_7.a('node.width', 127*_ratio.ratioX);
- Node30_7.a('node.height', 309*_ratio.ratioY);
- Node30_7.a('node.type', Node30_7type);
- Node30_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node30_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node30_7.a('node.gradientcolor', '');
- Node30_7.a('node.gradient', '');
- Node30_7.a('node.borderwidth', Node30_7BorderWidth);
- Node30_7.a('node.color', 'rgba(192,192,192,1)');
- Node30_7.a('node.fillrect', [0,0,0,0]);
- Node30_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node30_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node30_7.a('node.fillgradient', '');
- if (Node30_7type !== 'rect') {
- Node30_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node30_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node30_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node30_7type === 'arc') {
- Node30_7.a('node.arcOval', true);
- }
- Node30_7.setRotation(0*Math.PI/180);
- Node30_7.borderWidth = Node30_7BorderWidth;
- Node30_7.borderFillwidth = Node30_7BorderWidth;
- dataModel.add(Node30_7);
- Node30_7._nodename = 'Node30_7'
- Node30_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node30_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);
- }
- })(Node30_7, Node30_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_8 = new ht.Node();
- var Node30_8textStart, Node30_8textWidth, Node30_8lineStart, Node30_8align = 'center', Node30_8fontSize = 13.3333*_ratio.ratioY,Node30_8width = 105*_ratio.ratioX, Node30_8height = 27*_ratio.ratioY;
- (function () {
- if (Node30_8align === 'left') {
- Node30_8textStart = Node30_8fontSize * 0.2 > 2 ? Node30_8fontSize * 0.2 - 4 : Node30_8fontSize * 0.2 - 9;
- Node30_8textWidth = Node30_8width;
- Node30_8lineStart = 1;
- } else if (Node30_8align === 'right') {
- Node30_8textStart = 0;
- Node30_8textWidth =Node30_8fontSize <= 8 ? Node30_8width + Node30_8fontSize * 0.2 + 6 : Node30_8width - Node30_8fontSize * 0.2;
- Node30_8lineStart = (Node30_8width - (ht.Default.getTextSize('日发电量', 'bold '+ Node30_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30_8align === 'center') {
- Node30_8textStart = -3;
- Node30_8textWidth = Node30_8width;
- Node30_8lineStart = Node30_8width - ht.Default.getTextSize('日发电量', 'bold '+ Node30_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30_8.setImage(GD.getTextJSON(Node30_8width, Node30_8height, true, false, false, 'bold '+ Node30_8fontSize + 'px "Arial"'))
- Node30_8.setPosition(570*ratio.ratioX, 103*ratio.ratioY);
- Node30_8.setWidth(Node30_8width);
- Node30_8.setHeight(Node30_8height);
- Node30_8._nodeType = 'text';
- Node30_8._disallowEvert = true;
- Node30_8.setRotation(0*Math.PI/180);
- Node30_8.a('node.width', Node30_8width);
- Node30_8.a('node.height', Node30_8height);
- Node30_8.a('node.rect', [0, 0, Node30_8width, Node30_8height]);
- Node30_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node30_8.a('node.borderwidth', 0);
- Node30_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_8.a('node.gradient','');
- Node30_8.a('node.gradientcolor','');
- Node30_8.a('node.text','日发电量');
- Node30_8.a('node.textalign','center');
- Node30_8.a('node.textvAlign','middle');
- Node30_8.a('node.textrect', [Node30_8textStart, 0, Node30_8textWidth, Node30_8height]);
- Node30_8.a('node.color','rgba(255,255,255,1)');
- Node30_8.a('node.font','bold '+ Node30_8fontSize + 'px "Arial"');
- Node30_8.a('node.textvisible',true);
- Node30_8.a('node.linefeed',false);
- if (false) {
- Node30_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_8.a('node.text') || '日发电量';
- var color=Node30_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_8width,Node30_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30_8.a('node.underlinepoints',[Node30_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_8fontSize + 2 , ht.Default.getTextSize('日发电量', 'bold '+ Node30_8fontSize + 'px "Arial"').width + 6, (Node30_8height - Node30_8fontSize) * 0.5*_ratio.ratioY + Node30_8fontSize + 2 ]);
- Node30_8.a('node.underlinevisible',false);
- Node30_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_8);
- zoomNodeList.push({
- node: Node30_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_9 = new ht.Node();
- var Node30_9textStart, Node30_9textWidth, Node30_9lineStart, Node30_9align = 'center', Node30_9fontSize = 11.99997*_ratio.ratioY,Node30_9width = 105*_ratio.ratioX, Node30_9height = 17*_ratio.ratioY;
- (function () {
- if (Node30_9align === 'left') {
- Node30_9textStart = Node30_9fontSize * 0.2 > 2 ? Node30_9fontSize * 0.2 - 4 : Node30_9fontSize * 0.2 - 9;
- Node30_9textWidth = Node30_9width;
- Node30_9lineStart = 1;
- } else if (Node30_9align === 'right') {
- Node30_9textStart = 0;
- Node30_9textWidth =Node30_9fontSize <= 8 ? Node30_9width + Node30_9fontSize * 0.2 + 6 : Node30_9width - Node30_9fontSize * 0.2;
- Node30_9lineStart = (Node30_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node30_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30_9align === 'center') {
- Node30_9textStart = -3;
- Node30_9textWidth = Node30_9width;
- Node30_9lineStart = Node30_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node30_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30_9.setImage(GD.getTextJSON(Node30_9width, Node30_9height, true, false, false, 'bold '+ Node30_9fontSize + 'px "Arial"'))
- Node30_9.setPosition(570*ratio.ratioX, 131*ratio.ratioY);
- Node30_9.setWidth(Node30_9width);
- Node30_9.setHeight(Node30_9height);
- Node30_9._nodeType = 'text';
- Node30_9._disallowEvert = true;
- Node30_9.setRotation(0*Math.PI/180);
- Node30_9.a('node.width', Node30_9width);
- Node30_9.a('node.height', Node30_9height);
- Node30_9.a('node.rect', [0, 0, Node30_9width, Node30_9height]);
- Node30_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node30_9.a('node.borderwidth', 0);
- Node30_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_9.a('node.gradient','');
- Node30_9.a('node.gradientcolor','');
- Node30_9.a('node.text','万kwh');
- Node30_9.a('node.textalign','center');
- Node30_9.a('node.textvAlign','middle');
- Node30_9.a('node.textrect', [Node30_9textStart, 0, Node30_9textWidth, Node30_9height]);
- Node30_9.a('node.color','rgba(128,128,128,1)');
- Node30_9.a('node.font','bold '+ Node30_9fontSize + 'px "Arial"');
- Node30_9.a('node.textvisible',true);
- Node30_9.a('node.linefeed',false);
- if (false) {
- Node30_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_9.a('node.text') || '万kwh';
- var color=Node30_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node30_9width,Node30_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node30_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30_9.a('node.underlinepoints',[Node30_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node30_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node30_9fontSize + 'px "Arial"').width + 6, (Node30_9height - Node30_9fontSize) * 0.5*_ratio.ratioY + Node30_9fontSize + 2 ]);
- Node30_9.a('node.underlinevisible',false);
- Node30_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_9);
- zoomNodeList.push({
- node: Node30_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_10 = new ht.Node();
- var Node30_10textStart, Node30_10textWidth, Node30_10lineStart, Node30_10align = 'center', Node30_10fontSize = 13.3333*_ratio.ratioY,Node30_10width = 105*_ratio.ratioX, Node30_10height = 27*_ratio.ratioY;
- (function () {
- if (Node30_10align === 'left') {
- Node30_10textStart = Node30_10fontSize * 0.2 > 2 ? Node30_10fontSize * 0.2 - 4 : Node30_10fontSize * 0.2 - 9;
- Node30_10textWidth = Node30_10width;
- Node30_10lineStart = 1;
- } else if (Node30_10align === 'right') {
- Node30_10textStart = 0;
- Node30_10textWidth =Node30_10fontSize <= 8 ? Node30_10width + Node30_10fontSize * 0.2 + 6 : Node30_10width - Node30_10fontSize * 0.2;
- Node30_10lineStart = (Node30_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node30_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_10align === 'center') {
- Node30_10textStart = -3;
- Node30_10textWidth = Node30_10width;
- Node30_10lineStart = Node30_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node30_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_10.setImage(GD.getTextJSON(Node30_10width, Node30_10height, true, false, false, 'bold '+ Node30_10fontSize + 'px "UniDreamLED"'))
- Node30_10.setPosition(570*ratio.ratioX, 158*ratio.ratioY);
- Node30_10.setWidth(Node30_10width);
- Node30_10.setHeight(Node30_10height);
- Node30_10._nodeType = 'text';
- Node30_10._disallowEvert = true;
- Node30_10.setRotation(0*Math.PI/180);
- Node30_10.a('node.width', Node30_10width);
- Node30_10.a('node.height', Node30_10height);
- Node30_10.a('node.rect', [0, 0, Node30_10width, Node30_10height]);
- Node30_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_10.a('node.borderwidth', 0);
- Node30_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_10.a('node.gradient','');
- Node30_10.a('node.gradientcolor','');
- Node30_10.a('node.text','1134.76');
- Node30_10.a('node.textalign','center');
- Node30_10.a('node.textvAlign','middle');
- Node30_10.a('node.textrect', [Node30_10textStart, 0, Node30_10textWidth, Node30_10height]);
- Node30_10.a('node.color','rgba(0,0,0,1)');
- Node30_10.a('node.font','bold '+ Node30_10fontSize + 'px "UniDreamLED"');
- Node30_10.a('node.textvisible',true);
- Node30_10.a('node.linefeed',false);
- if (false) {
- Node30_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_10.a('node.text') || '1134.76';
- var color=Node30_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_10width,Node30_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_10.a('node.underlinepoints',[Node30_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node30_10fontSize + 'px "UniDreamLED"').width + 6, (Node30_10height - Node30_10fontSize) * 0.5*_ratio.ratioY + Node30_10fontSize + 2 ]);
- Node30_10.a('node.underlinevisible',false);
- Node30_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_10);
- zoomNodeList.push({
- node: Node30_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_11 = new ht.Node();
- var Node30_11textStart, Node30_11textWidth, Node30_11lineStart, Node30_11align = 'center', Node30_11fontSize = 13.3333*_ratio.ratioY,Node30_11width = 110*_ratio.ratioX, Node30_11height = 27*_ratio.ratioY;
- (function () {
- if (Node30_11align === 'left') {
- Node30_11textStart = Node30_11fontSize * 0.2 > 2 ? Node30_11fontSize * 0.2 - 4 : Node30_11fontSize * 0.2 - 9;
- Node30_11textWidth = Node30_11width;
- Node30_11lineStart = 1;
- } else if (Node30_11align === 'right') {
- Node30_11textStart = 0;
- Node30_11textWidth =Node30_11fontSize <= 8 ? Node30_11width + Node30_11fontSize * 0.2 + 6 : Node30_11width - Node30_11fontSize * 0.2;
- Node30_11lineStart = (Node30_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node30_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_11align === 'center') {
- Node30_11textStart = -3;
- Node30_11textWidth = Node30_11width;
- Node30_11lineStart = Node30_11width - ht.Default.getTextSize('171.51', 'bold '+ Node30_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_11.setImage(GD.getTextJSON(Node30_11width, Node30_11height, true, false, false, 'bold '+ Node30_11fontSize + 'px "UniDreamLED"'))
- Node30_11.setPosition(573*ratio.ratioX, 190*ratio.ratioY);
- Node30_11.setWidth(Node30_11width);
- Node30_11.setHeight(Node30_11height);
- Node30_11._nodeType = 'text';
- Node30_11._disallowEvert = true;
- Node30_11.setRotation(0*Math.PI/180);
- Node30_11.a('node.width', Node30_11width);
- Node30_11.a('node.height', Node30_11height);
- Node30_11.a('node.rect', [0, 0, Node30_11width, Node30_11height]);
- Node30_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_11.a('node.borderwidth', 0);
- Node30_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_11.a('node.gradient','');
- Node30_11.a('node.gradientcolor','');
- Node30_11.a('node.text','171.51');
- Node30_11.a('node.textalign','center');
- Node30_11.a('node.textvAlign','middle');
- Node30_11.a('node.textrect', [Node30_11textStart, 0, Node30_11textWidth, Node30_11height]);
- Node30_11.a('node.color','rgba(0,0,0,1)');
- Node30_11.a('node.font','bold '+ Node30_11fontSize + 'px "UniDreamLED"');
- Node30_11.a('node.textvisible',true);
- Node30_11.a('node.linefeed',false);
- if (false) {
- Node30_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_11.a('node.text') || '171.51';
- var color=Node30_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_11width,Node30_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_11.a('node.underlinepoints',[Node30_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node30_11fontSize + 'px "UniDreamLED"').width + 6, (Node30_11height - Node30_11fontSize) * 0.5*_ratio.ratioY + Node30_11fontSize + 2 ]);
- Node30_11.a('node.underlinevisible',false);
- Node30_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_11);
- zoomNodeList.push({
- node: Node30_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_12 = new ht.Node();
- var Node30_12textStart, Node30_12textWidth, Node30_12lineStart, Node30_12align = 'center', Node30_12fontSize = 13.3333*_ratio.ratioY,Node30_12width = 110*_ratio.ratioX, Node30_12height = 27*_ratio.ratioY;
- (function () {
- if (Node30_12align === 'left') {
- Node30_12textStart = Node30_12fontSize * 0.2 > 2 ? Node30_12fontSize * 0.2 - 4 : Node30_12fontSize * 0.2 - 9;
- Node30_12textWidth = Node30_12width;
- Node30_12lineStart = 1;
- } else if (Node30_12align === 'right') {
- Node30_12textStart = 0;
- Node30_12textWidth =Node30_12fontSize <= 8 ? Node30_12width + Node30_12fontSize * 0.2 + 6 : Node30_12width - Node30_12fontSize * 0.2;
- Node30_12lineStart = (Node30_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node30_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_12align === 'center') {
- Node30_12textStart = -3;
- Node30_12textWidth = Node30_12width;
- Node30_12lineStart = Node30_12width - ht.Default.getTextSize('329.51', 'bold '+ Node30_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_12.setImage(GD.getTextJSON(Node30_12width, Node30_12height, true, false, false, 'bold '+ Node30_12fontSize + 'px "UniDreamLED"'))
- Node30_12.setPosition(573*ratio.ratioX, 220*ratio.ratioY);
- Node30_12.setWidth(Node30_12width);
- Node30_12.setHeight(Node30_12height);
- Node30_12._nodeType = 'text';
- Node30_12._disallowEvert = true;
- Node30_12.setRotation(0*Math.PI/180);
- Node30_12.a('node.width', Node30_12width);
- Node30_12.a('node.height', Node30_12height);
- Node30_12.a('node.rect', [0, 0, Node30_12width, Node30_12height]);
- Node30_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_12.a('node.borderwidth', 0);
- Node30_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_12.a('node.gradient','');
- Node30_12.a('node.gradientcolor','');
- Node30_12.a('node.text','329.51');
- Node30_12.a('node.textalign','center');
- Node30_12.a('node.textvAlign','middle');
- Node30_12.a('node.textrect', [Node30_12textStart, 0, Node30_12textWidth, Node30_12height]);
- Node30_12.a('node.color','rgba(0,0,0,1)');
- Node30_12.a('node.font','bold '+ Node30_12fontSize + 'px "UniDreamLED"');
- Node30_12.a('node.textvisible',true);
- Node30_12.a('node.linefeed',false);
- if (false) {
- Node30_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_12.a('node.text') || '329.51';
- var color=Node30_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_12width,Node30_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_12.a('node.underlinepoints',[Node30_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node30_12fontSize + 'px "UniDreamLED"').width + 6, (Node30_12height - Node30_12fontSize) * 0.5*_ratio.ratioY + Node30_12fontSize + 2 ]);
- Node30_12.a('node.underlinevisible',false);
- Node30_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_12);
- zoomNodeList.push({
- node: Node30_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_13 = new ht.Node();
- var Node30_13textStart, Node30_13textWidth, Node30_13lineStart, Node30_13align = 'center', Node30_13fontSize = 13.3333*_ratio.ratioY,Node30_13width = 110*_ratio.ratioX, Node30_13height = 27*_ratio.ratioY;
- (function () {
- if (Node30_13align === 'left') {
- Node30_13textStart = Node30_13fontSize * 0.2 > 2 ? Node30_13fontSize * 0.2 - 4 : Node30_13fontSize * 0.2 - 9;
- Node30_13textWidth = Node30_13width;
- Node30_13lineStart = 1;
- } else if (Node30_13align === 'right') {
- Node30_13textStart = 0;
- Node30_13textWidth =Node30_13fontSize <= 8 ? Node30_13width + Node30_13fontSize * 0.2 + 6 : Node30_13width - Node30_13fontSize * 0.2;
- Node30_13lineStart = (Node30_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node30_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_13align === 'center') {
- Node30_13textStart = -3;
- Node30_13textWidth = Node30_13width;
- Node30_13lineStart = Node30_13width - ht.Default.getTextSize('340.14', 'bold '+ Node30_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_13.setImage(GD.getTextJSON(Node30_13width, Node30_13height, true, false, false, 'bold '+ Node30_13fontSize + 'px "UniDreamLED"'))
- Node30_13.setPosition(573*ratio.ratioX, 250*ratio.ratioY);
- Node30_13.setWidth(Node30_13width);
- Node30_13.setHeight(Node30_13height);
- Node30_13._nodeType = 'text';
- Node30_13._disallowEvert = true;
- Node30_13.setRotation(0*Math.PI/180);
- Node30_13.a('node.width', Node30_13width);
- Node30_13.a('node.height', Node30_13height);
- Node30_13.a('node.rect', [0, 0, Node30_13width, Node30_13height]);
- Node30_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_13.a('node.borderwidth', 0);
- Node30_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_13.a('node.gradient','');
- Node30_13.a('node.gradientcolor','');
- Node30_13.a('node.text','340.14');
- Node30_13.a('node.textalign','center');
- Node30_13.a('node.textvAlign','middle');
- Node30_13.a('node.textrect', [Node30_13textStart, 0, Node30_13textWidth, Node30_13height]);
- Node30_13.a('node.color','rgba(0,0,0,1)');
- Node30_13.a('node.font','bold '+ Node30_13fontSize + 'px "UniDreamLED"');
- Node30_13.a('node.textvisible',true);
- Node30_13.a('node.linefeed',false);
- if (false) {
- Node30_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_13.a('node.text') || '340.14';
- var color=Node30_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_13width,Node30_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_13.a('node.underlinepoints',[Node30_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node30_13fontSize + 'px "UniDreamLED"').width + 6, (Node30_13height - Node30_13fontSize) * 0.5*_ratio.ratioY + Node30_13fontSize + 2 ]);
- Node30_13.a('node.underlinevisible',false);
- Node30_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_13);
- zoomNodeList.push({
- node: Node30_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_14 = new ht.Node();
- var Node30_14textStart, Node30_14textWidth, Node30_14lineStart, Node30_14align = 'center', Node30_14fontSize = 13.3333*_ratio.ratioY,Node30_14width = 110*_ratio.ratioX, Node30_14height = 27*_ratio.ratioY;
- (function () {
- if (Node30_14align === 'left') {
- Node30_14textStart = Node30_14fontSize * 0.2 > 2 ? Node30_14fontSize * 0.2 - 4 : Node30_14fontSize * 0.2 - 9;
- Node30_14textWidth = Node30_14width;
- Node30_14lineStart = 1;
- } else if (Node30_14align === 'right') {
- Node30_14textStart = 0;
- Node30_14textWidth =Node30_14fontSize <= 8 ? Node30_14width + Node30_14fontSize * 0.2 + 6 : Node30_14width - Node30_14fontSize * 0.2;
- Node30_14lineStart = (Node30_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node30_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_14align === 'center') {
- Node30_14textStart = -3;
- Node30_14textWidth = Node30_14width;
- Node30_14lineStart = Node30_14width - ht.Default.getTextSize('60.61', 'bold '+ Node30_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_14.setImage(GD.getTextJSON(Node30_14width, Node30_14height, true, false, false, 'bold '+ Node30_14fontSize + 'px "UniDreamLED"'))
- Node30_14.setPosition(573*ratio.ratioX, 284*ratio.ratioY);
- Node30_14.setWidth(Node30_14width);
- Node30_14.setHeight(Node30_14height);
- Node30_14._nodeType = 'text';
- Node30_14._disallowEvert = true;
- Node30_14.setRotation(0*Math.PI/180);
- Node30_14.a('node.width', Node30_14width);
- Node30_14.a('node.height', Node30_14height);
- Node30_14.a('node.rect', [0, 0, Node30_14width, Node30_14height]);
- Node30_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_14.a('node.borderwidth', 0);
- Node30_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_14.a('node.gradient','');
- Node30_14.a('node.gradientcolor','');
- Node30_14.a('node.text','60.61');
- Node30_14.a('node.textalign','center');
- Node30_14.a('node.textvAlign','middle');
- Node30_14.a('node.textrect', [Node30_14textStart, 0, Node30_14textWidth, Node30_14height]);
- Node30_14.a('node.color','rgba(0,0,0,1)');
- Node30_14.a('node.font','bold '+ Node30_14fontSize + 'px "UniDreamLED"');
- Node30_14.a('node.textvisible',true);
- Node30_14.a('node.linefeed',false);
- if (false) {
- Node30_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_14.a('node.text') || '60.61';
- var color=Node30_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_14width,Node30_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_14.a('node.underlinepoints',[Node30_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node30_14fontSize + 'px "UniDreamLED"').width + 6, (Node30_14height - Node30_14fontSize) * 0.5*_ratio.ratioY + Node30_14fontSize + 2 ]);
- Node30_14.a('node.underlinevisible',false);
- Node30_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_14);
- zoomNodeList.push({
- node: Node30_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_15 = new ht.Node();
- var Node30_15textStart, Node30_15textWidth, Node30_15lineStart, Node30_15align = 'center', Node30_15fontSize = 13.3333*_ratio.ratioY,Node30_15width = 110*_ratio.ratioX, Node30_15height = 27*_ratio.ratioY;
- (function () {
- if (Node30_15align === 'left') {
- Node30_15textStart = Node30_15fontSize * 0.2 > 2 ? Node30_15fontSize * 0.2 - 4 : Node30_15fontSize * 0.2 - 9;
- Node30_15textWidth = Node30_15width;
- Node30_15lineStart = 1;
- } else if (Node30_15align === 'right') {
- Node30_15textStart = 0;
- Node30_15textWidth =Node30_15fontSize <= 8 ? Node30_15width + Node30_15fontSize * 0.2 + 6 : Node30_15width - Node30_15fontSize * 0.2;
- Node30_15lineStart = (Node30_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node30_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_15align === 'center') {
- Node30_15textStart = -3;
- Node30_15textWidth = Node30_15width;
- Node30_15lineStart = Node30_15width - ht.Default.getTextSize('166.79', 'bold '+ Node30_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_15.setImage(GD.getTextJSON(Node30_15width, Node30_15height, true, false, false, 'bold '+ Node30_15fontSize + 'px "UniDreamLED"'))
- Node30_15.setPosition(573*ratio.ratioX, 317*ratio.ratioY);
- Node30_15.setWidth(Node30_15width);
- Node30_15.setHeight(Node30_15height);
- Node30_15._nodeType = 'text';
- Node30_15._disallowEvert = true;
- Node30_15.setRotation(0*Math.PI/180);
- Node30_15.a('node.width', Node30_15width);
- Node30_15.a('node.height', Node30_15height);
- Node30_15.a('node.rect', [0, 0, Node30_15width, Node30_15height]);
- Node30_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_15.a('node.borderwidth', 0);
- Node30_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_15.a('node.gradient','');
- Node30_15.a('node.gradientcolor','');
- Node30_15.a('node.text','166.79');
- Node30_15.a('node.textalign','center');
- Node30_15.a('node.textvAlign','middle');
- Node30_15.a('node.textrect', [Node30_15textStart, 0, Node30_15textWidth, Node30_15height]);
- Node30_15.a('node.color','rgba(0,0,0,1)');
- Node30_15.a('node.font','bold '+ Node30_15fontSize + 'px "UniDreamLED"');
- Node30_15.a('node.textvisible',true);
- Node30_15.a('node.linefeed',false);
- if (false) {
- Node30_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_15.a('node.text') || '166.79';
- var color=Node30_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_15width,Node30_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_15.a('node.underlinepoints',[Node30_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node30_15fontSize + 'px "UniDreamLED"').width + 6, (Node30_15height - Node30_15fontSize) * 0.5*_ratio.ratioY + Node30_15fontSize + 2 ]);
- Node30_15.a('node.underlinevisible',false);
- Node30_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_15);
- zoomNodeList.push({
- node: Node30_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_16 = new ht.Node();
- var Node30_16textStart, Node30_16textWidth, Node30_16lineStart, Node30_16align = 'center', Node30_16fontSize = 13.3333*_ratio.ratioY,Node30_16width = 110*_ratio.ratioX, Node30_16height = 27*_ratio.ratioY;
- (function () {
- if (Node30_16align === 'left') {
- Node30_16textStart = Node30_16fontSize * 0.2 > 2 ? Node30_16fontSize * 0.2 - 4 : Node30_16fontSize * 0.2 - 9;
- Node30_16textWidth = Node30_16width;
- Node30_16lineStart = 1;
- } else if (Node30_16align === 'right') {
- Node30_16textStart = 0;
- Node30_16textWidth =Node30_16fontSize <= 8 ? Node30_16width + Node30_16fontSize * 0.2 + 6 : Node30_16width - Node30_16fontSize * 0.2;
- Node30_16lineStart = (Node30_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node30_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_16align === 'center') {
- Node30_16textStart = -3;
- Node30_16textWidth = Node30_16width;
- Node30_16lineStart = Node30_16width - ht.Default.getTextSize('66.18', 'bold '+ Node30_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_16.setImage(GD.getTextJSON(Node30_16width, Node30_16height, true, false, false, 'bold '+ Node30_16fontSize + 'px "UniDreamLED"'))
- Node30_16.setPosition(573*ratio.ratioX, 346*ratio.ratioY);
- Node30_16.setWidth(Node30_16width);
- Node30_16.setHeight(Node30_16height);
- Node30_16._nodeType = 'text';
- Node30_16._disallowEvert = true;
- Node30_16.setRotation(0*Math.PI/180);
- Node30_16.a('node.width', Node30_16width);
- Node30_16.a('node.height', Node30_16height);
- Node30_16.a('node.rect', [0, 0, Node30_16width, Node30_16height]);
- Node30_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_16.a('node.borderwidth', 0);
- Node30_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_16.a('node.gradient','');
- Node30_16.a('node.gradientcolor','');
- Node30_16.a('node.text','66.18');
- Node30_16.a('node.textalign','center');
- Node30_16.a('node.textvAlign','middle');
- Node30_16.a('node.textrect', [Node30_16textStart, 0, Node30_16textWidth, Node30_16height]);
- Node30_16.a('node.color','rgba(0,0,0,1)');
- Node30_16.a('node.font','bold '+ Node30_16fontSize + 'px "UniDreamLED"');
- Node30_16.a('node.textvisible',true);
- Node30_16.a('node.linefeed',false);
- if (false) {
- Node30_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_16.a('node.text') || '66.18';
- var color=Node30_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_16width,Node30_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_16.a('node.underlinepoints',[Node30_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node30_16fontSize + 'px "UniDreamLED"').width + 6, (Node30_16height - Node30_16fontSize) * 0.5*_ratio.ratioY + Node30_16fontSize + 2 ]);
- Node30_16.a('node.underlinevisible',false);
- Node30_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_16);
- zoomNodeList.push({
- node: Node30_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30_17 = new ht.Node();
- var Node30_17textStart, Node30_17textWidth, Node30_17lineStart, Node30_17align = 'center', Node30_17fontSize = 13.3333*_ratio.ratioY,Node30_17width = 110*_ratio.ratioX, Node30_17height = 27*_ratio.ratioY;
- (function () {
- if (Node30_17align === 'left') {
- Node30_17textStart = Node30_17fontSize * 0.2 > 2 ? Node30_17fontSize * 0.2 - 4 : Node30_17fontSize * 0.2 - 9;
- Node30_17textWidth = Node30_17width;
- Node30_17lineStart = 1;
- } else if (Node30_17align === 'right') {
- Node30_17textStart = 0;
- Node30_17textWidth =Node30_17fontSize <= 8 ? Node30_17width + Node30_17fontSize * 0.2 + 6 : Node30_17width - Node30_17fontSize * 0.2;
- Node30_17lineStart = (Node30_17width - (ht.Default.getTextSize('-', 'bold '+ Node30_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node30_17align === 'center') {
- Node30_17textStart = -3;
- Node30_17textWidth = Node30_17width;
- Node30_17lineStart = Node30_17width - ht.Default.getTextSize('-', 'bold '+ Node30_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node30_17.setImage(GD.getTextJSON(Node30_17width, Node30_17height, true, false, false, 'bold '+ Node30_17fontSize + 'px "UniDreamLED"'))
- Node30_17.setPosition(573*ratio.ratioX, 377*ratio.ratioY);
- Node30_17.setWidth(Node30_17width);
- Node30_17.setHeight(Node30_17height);
- Node30_17._nodeType = 'text';
- Node30_17._disallowEvert = true;
- Node30_17.setRotation(0*Math.PI/180);
- Node30_17.a('node.width', Node30_17width);
- Node30_17.a('node.height', Node30_17height);
- Node30_17.a('node.rect', [0, 0, Node30_17width, Node30_17height]);
- Node30_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node30_17.a('node.borderwidth', 0);
- Node30_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node30_17.a('node.gradient','');
- Node30_17.a('node.gradientcolor','');
- Node30_17.a('node.text','-');
- Node30_17.a('node.textalign','center');
- Node30_17.a('node.textvAlign','middle');
- Node30_17.a('node.textrect', [Node30_17textStart, 0, Node30_17textWidth, Node30_17height]);
- Node30_17.a('node.color','rgba(0,0,0,1)');
- Node30_17.a('node.font','bold '+ Node30_17fontSize + 'px "UniDreamLED"');
- Node30_17.a('node.textvisible',true);
- Node30_17.a('node.linefeed',false);
- if (false) {
- Node30_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30_17.a('node.text') || '-';
- var color=Node30_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30_17width,Node30_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node30_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node30_17.a('node.underlinepoints',[Node30_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node30_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node30_17fontSize + 'px "UniDreamLED"').width + 6, (Node30_17height - Node30_17fontSize) * 0.5*_ratio.ratioY + Node30_17fontSize + 2 ]);
- Node30_17.a('node.underlinevisible',false);
- Node30_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30_17);
- zoomNodeList.push({
- node: Node30_17,
- 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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node31_0 = new ht.Node();
- Node31_0.setPosition(319*ratio.ratioX, 238*ratio.ratioY);
- Node31_0.setSize(127*ratioX, 313*ratioY);
- Node31_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.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 = 13.3333*_ratio.ratioY,Node31_1width = 64*_ratio.ratioX, Node31_1height = 17*_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, true, false, false, ' '+ Node31_1fontSize + 'px "Arial"'))
- Node31_1.setPosition(319*ratio.ratioX, 103*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(255,255,255,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(255,255,255,1)');
- Node31_1.a('node.font',' '+ Node31_1fontSize + 'px "Arial"');
- Node31_1.a('node.textvisible',true);
- Node31_1.a('node.linefeed',false);
- if (false) {
- Node31_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node31_1.a('node.text') || '实际功率';
- var color=Node31_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node31_1width,Node31_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node31_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31_1.a('node.underlinepoints',[Node31_1lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node31_1fontSize + 2 , ht.Default.getTextSize('实际功率', ' '+ Node31_1fontSize + 'px "Arial"').width + 6, (Node31_1height - Node31_1fontSize) * 0.5*_ratio.ratioY + Node31_1fontSize + 2 ]);
- Node31_1.a('node.underlinevisible',false);
- Node31_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node31_1);
- zoomNodeList.push({
- node: Node31_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node32_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node32_0 = new ht.Node();
- Node32_0.setPosition(446*ratio.ratioX, 237*ratio.ratioY);
- Node32_0.setSize(127*ratioX, 313*ratioY);
- Node32_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node32_0.setRotation(0*Math.PI/180);
- Node32_0._zoomBy = 'Default';
- Node32_0._nodeType = 'image';
- Node32_0._disallowEvert = true;
- dataModel.add(Node32_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32_1 = new ht.Node();
- var Node32_1textStart, Node32_1textWidth, Node32_1lineStart, Node32_1align = 'center', Node32_1fontSize = 13.3333*_ratio.ratioY,Node32_1width = 105*_ratio.ratioX, Node32_1height = 27*_ratio.ratioY;
- (function () {
- if (Node32_1align === 'left') {
- Node32_1textStart = Node32_1fontSize * 0.2 > 2 ? Node32_1fontSize * 0.2 - 4 : Node32_1fontSize * 0.2 - 9;
- Node32_1textWidth = Node32_1width;
- Node32_1lineStart = 1;
- } else if (Node32_1align === 'right') {
- Node32_1textStart = 0;
- Node32_1textWidth =Node32_1fontSize <= 8 ? Node32_1width + Node32_1fontSize * 0.2 + 6 : Node32_1width - Node32_1fontSize * 0.2;
- Node32_1lineStart = (Node32_1width - (ht.Default.getTextSize('应发功率', 'bold '+ Node32_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node32_1align === 'center') {
- Node32_1textStart = -3;
- Node32_1textWidth = Node32_1width;
- Node32_1lineStart = Node32_1width - ht.Default.getTextSize('应发功率', 'bold '+ Node32_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node32_1.setImage(GD.getTextJSON(Node32_1width, Node32_1height, true, false, false, 'bold '+ Node32_1fontSize + 'px "Arial"'))
- Node32_1.setPosition(441*ratio.ratioX, 102*ratio.ratioY);
- Node32_1.setWidth(Node32_1width);
- Node32_1.setHeight(Node32_1height);
- Node32_1._nodeType = 'text';
- Node32_1._disallowEvert = true;
- Node32_1.setRotation(0*Math.PI/180);
- Node32_1.a('node.width', Node32_1width);
- Node32_1.a('node.height', Node32_1height);
- Node32_1.a('node.rect', [0, 0, Node32_1width, Node32_1height]);
- Node32_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node32_1.a('node.borderwidth', 0);
- Node32_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node32_1.a('node.gradient','');
- Node32_1.a('node.gradientcolor','');
- Node32_1.a('node.text','应发功率');
- Node32_1.a('node.textalign','center');
- Node32_1.a('node.textvAlign','middle');
- Node32_1.a('node.textrect', [Node32_1textStart, 0, Node32_1textWidth, Node32_1height]);
- Node32_1.a('node.color','rgba(255,255,255,1)');
- Node32_1.a('node.font','bold '+ Node32_1fontSize + 'px "Arial"');
- Node32_1.a('node.textvisible',true);
- Node32_1.a('node.linefeed',false);
- if (false) {
- Node32_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node32_1.a('node.text') || '应发功率';
- var color=Node32_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node32_1width,Node32_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node32_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32_1.a('node.underlinepoints',[Node32_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node32_1fontSize + 2 , ht.Default.getTextSize('应发功率', 'bold '+ Node32_1fontSize + 'px "Arial"').width + 6, (Node32_1height - Node32_1fontSize) * 0.5*_ratio.ratioY + Node32_1fontSize + 2 ]);
- Node32_1.a('node.underlinevisible',false);
- Node32_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node32_1);
- zoomNodeList.push({
- node: Node32_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node33_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node33_0 = new ht.Node();
- Node33_0.setPosition(573*ratio.ratioX, 237*ratio.ratioY);
- Node33_0.setSize(127*ratioX, 313*ratioY);
- Node33_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node33_0.setRotation(0*Math.PI/180);
- Node33_0._zoomBy = 'Default';
- Node33_0._nodeType = 'image';
- Node33_0._disallowEvert = true;
- dataModel.add(Node33_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33_1 = new ht.Node();
- var Node33_1textStart, Node33_1textWidth, Node33_1lineStart, Node33_1align = 'center', Node33_1fontSize = 13.3333*_ratio.ratioY,Node33_1width = 105*_ratio.ratioX, Node33_1height = 27*_ratio.ratioY;
- (function () {
- if (Node33_1align === 'left') {
- Node33_1textStart = Node33_1fontSize * 0.2 > 2 ? Node33_1fontSize * 0.2 - 4 : Node33_1fontSize * 0.2 - 9;
- Node33_1textWidth = Node33_1width;
- Node33_1lineStart = 1;
- } else if (Node33_1align === 'right') {
- Node33_1textStart = 0;
- Node33_1textWidth =Node33_1fontSize <= 8 ? Node33_1width + Node33_1fontSize * 0.2 + 6 : Node33_1width - Node33_1fontSize * 0.2;
- Node33_1lineStart = (Node33_1width - (ht.Default.getTextSize('日发电量', 'bold '+ Node33_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33_1align === 'center') {
- Node33_1textStart = -3;
- Node33_1textWidth = Node33_1width;
- Node33_1lineStart = Node33_1width - ht.Default.getTextSize('日发电量', 'bold '+ Node33_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33_1.setImage(GD.getTextJSON(Node33_1width, Node33_1height, true, false, false, 'bold '+ Node33_1fontSize + 'px "Arial"'))
- Node33_1.setPosition(568*ratio.ratioX, 102*ratio.ratioY);
- Node33_1.setWidth(Node33_1width);
- Node33_1.setHeight(Node33_1height);
- Node33_1._nodeType = 'text';
- Node33_1._disallowEvert = true;
- Node33_1.setRotation(0*Math.PI/180);
- Node33_1.a('node.width', Node33_1width);
- Node33_1.a('node.height', Node33_1height);
- Node33_1.a('node.rect', [0, 0, Node33_1width, Node33_1height]);
- Node33_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node33_1.a('node.borderwidth', 0);
- Node33_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node33_1.a('node.gradient','');
- Node33_1.a('node.gradientcolor','');
- Node33_1.a('node.text','日发电量');
- Node33_1.a('node.textalign','center');
- Node33_1.a('node.textvAlign','middle');
- Node33_1.a('node.textrect', [Node33_1textStart, 0, Node33_1textWidth, Node33_1height]);
- Node33_1.a('node.color','rgba(255,255,255,1)');
- Node33_1.a('node.font','bold '+ Node33_1fontSize + 'px "Arial"');
- Node33_1.a('node.textvisible',true);
- Node33_1.a('node.linefeed',false);
- if (false) {
- Node33_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33_1.a('node.text') || '日发电量';
- var color=Node33_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node33_1width,Node33_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node33_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33_1.a('node.underlinepoints',[Node33_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node33_1fontSize + 2 , ht.Default.getTextSize('日发电量', 'bold '+ Node33_1fontSize + 'px "Arial"').width + 6, (Node33_1height - Node33_1fontSize) * 0.5*_ratio.ratioY + Node33_1fontSize + 2 ]);
- Node33_1.a('node.underlinevisible',false);
- Node33_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33_1);
- zoomNodeList.push({
- node: Node33_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_0type = 'rect';
- var Node34_0 = new ht.Node(),
- Node34_0BorderWidth = 0*2;
- if (Node34_0type === 'arc') {
- Node34_0BorderWidth *= 0;
- }
- Node34_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_0.setPosition(700*ratio.ratioX, 190*ratio.ratioY);
- Node34_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_0.a('node.width', 127*_ratio.ratioX);
- Node34_0.a('node.height', 32*_ratio.ratioY);
- Node34_0.a('node.type', Node34_0type);
- Node34_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_0.a('node.background', 'rgba(245,245,245,1)');
- Node34_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node34_0.a('node.gradient', '');
- Node34_0.a('node.borderwidth', Node34_0BorderWidth);
- Node34_0.a('node.color', 'rgba(192,192,192,0)');
- Node34_0.a('node.fillrect', [0,0,0,0]);
- Node34_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_0.a('node.fillgradient', '');
- if (Node34_0type !== 'rect') {
- Node34_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_0type === 'arc') {
- Node34_0.a('node.arcOval', true);
- }
- Node34_0.setRotation(0*Math.PI/180);
- Node34_0.borderWidth = Node34_0BorderWidth;
- Node34_0.borderFillwidth = Node34_0BorderWidth;
- dataModel.add(Node34_0);
- Node34_0._nodename = 'Node34_0'
- Node34_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_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);
- }
- })(Node34_0, Node34_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_1type = 'rect';
- var Node34_1 = new ht.Node(),
- Node34_1BorderWidth = 0*2;
- if (Node34_1type === 'arc') {
- Node34_1BorderWidth *= 0;
- }
- Node34_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_1.setPosition(700*ratio.ratioX, 222*ratio.ratioY);
- Node34_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_1.a('node.width', 127*_ratio.ratioX);
- Node34_1.a('node.height', 32*_ratio.ratioY);
- Node34_1.a('node.type', Node34_1type);
- Node34_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node34_1.a('node.gradientcolor', '');
- Node34_1.a('node.gradient', '');
- Node34_1.a('node.borderwidth', Node34_1BorderWidth);
- Node34_1.a('node.color', 'rgba(192,192,192,0)');
- Node34_1.a('node.fillrect', [0,0,0,0]);
- Node34_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_1.a('node.fillgradient', '');
- if (Node34_1type !== 'rect') {
- Node34_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_1type === 'arc') {
- Node34_1.a('node.arcOval', true);
- }
- Node34_1.setRotation(0*Math.PI/180);
- Node34_1.borderWidth = Node34_1BorderWidth;
- Node34_1.borderFillwidth = Node34_1BorderWidth;
- dataModel.add(Node34_1);
- Node34_1._nodename = 'Node34_1'
- Node34_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_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);
- }
- })(Node34_1, Node34_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_2type = 'rect';
- var Node34_2 = new ht.Node(),
- Node34_2BorderWidth = 0*2;
- if (Node34_2type === 'arc') {
- Node34_2BorderWidth *= 0;
- }
- Node34_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_2.setPosition(700*ratio.ratioX, 254*ratio.ratioY);
- Node34_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_2.a('node.width', 127*_ratio.ratioX);
- Node34_2.a('node.height', 32*_ratio.ratioY);
- Node34_2.a('node.type', Node34_2type);
- Node34_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_2.a('node.background', 'rgba(245,245,245,1)');
- Node34_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node34_2.a('node.gradient', '');
- Node34_2.a('node.borderwidth', Node34_2BorderWidth);
- Node34_2.a('node.color', 'rgba(192,192,192,0)');
- Node34_2.a('node.fillrect', [0,0,0,0]);
- Node34_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_2.a('node.fillgradient', '');
- if (Node34_2type !== 'rect') {
- Node34_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_2type === 'arc') {
- Node34_2.a('node.arcOval', true);
- }
- Node34_2.setRotation(0*Math.PI/180);
- Node34_2.borderWidth = Node34_2BorderWidth;
- Node34_2.borderFillwidth = Node34_2BorderWidth;
- dataModel.add(Node34_2);
- Node34_2._nodename = 'Node34_2'
- Node34_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node34_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_3type = 'rect';
- var Node34_3 = new ht.Node(),
- Node34_3BorderWidth = 0*2;
- if (Node34_3type === 'arc') {
- Node34_3BorderWidth *= 0;
- }
- Node34_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_3.setPosition(700*ratio.ratioX, 285*ratio.ratioY);
- Node34_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_3.a('node.width', 127*_ratio.ratioX);
- Node34_3.a('node.height', 32*_ratio.ratioY);
- Node34_3.a('node.type', Node34_3type);
- Node34_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node34_3.a('node.gradientcolor', '');
- Node34_3.a('node.gradient', '');
- Node34_3.a('node.borderwidth', Node34_3BorderWidth);
- Node34_3.a('node.color', 'rgba(192,192,192,0)');
- Node34_3.a('node.fillrect', [0,0,0,0]);
- Node34_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_3.a('node.fillgradient', '');
- if (Node34_3type !== 'rect') {
- Node34_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_3type === 'arc') {
- Node34_3.a('node.arcOval', true);
- }
- Node34_3.setRotation(0*Math.PI/180);
- Node34_3.borderWidth = Node34_3BorderWidth;
- Node34_3.borderFillwidth = Node34_3BorderWidth;
- dataModel.add(Node34_3);
- Node34_3._nodename = 'Node34_3'
- Node34_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node34_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_4type = 'rect';
- var Node34_4 = new ht.Node(),
- Node34_4BorderWidth = 0*2;
- if (Node34_4type === 'arc') {
- Node34_4BorderWidth *= 0;
- }
- Node34_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_4.setPosition(700*ratio.ratioX, 316*ratio.ratioY);
- Node34_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_4.a('node.width', 127*_ratio.ratioX);
- Node34_4.a('node.height', 32*_ratio.ratioY);
- Node34_4.a('node.type', Node34_4type);
- Node34_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_4.a('node.background', 'rgba(245,245,245,1)');
- Node34_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node34_4.a('node.gradient', '');
- Node34_4.a('node.borderwidth', Node34_4BorderWidth);
- Node34_4.a('node.color', 'rgba(192,192,192,0)');
- Node34_4.a('node.fillrect', [0,0,0,0]);
- Node34_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_4.a('node.fillgradient', '');
- if (Node34_4type !== 'rect') {
- Node34_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_4type === 'arc') {
- Node34_4.a('node.arcOval', true);
- }
- Node34_4.setRotation(0*Math.PI/180);
- Node34_4.borderWidth = Node34_4BorderWidth;
- Node34_4.borderFillwidth = Node34_4BorderWidth;
- dataModel.add(Node34_4);
- Node34_4._nodename = 'Node34_4'
- Node34_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node34_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_5type = 'rect';
- var Node34_5 = new ht.Node(),
- Node34_5BorderWidth = 0*2;
- if (Node34_5type === 'arc') {
- Node34_5BorderWidth *= 0;
- }
- Node34_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_5.setPosition(700*ratio.ratioX, 347*ratio.ratioY);
- Node34_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_5.a('node.width', 127*_ratio.ratioX);
- Node34_5.a('node.height', 32*_ratio.ratioY);
- Node34_5.a('node.type', Node34_5type);
- Node34_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node34_5.a('node.gradientcolor', '');
- Node34_5.a('node.gradient', '');
- Node34_5.a('node.borderwidth', Node34_5BorderWidth);
- Node34_5.a('node.color', 'rgba(192,192,192,0)');
- Node34_5.a('node.fillrect', [0,0,0,0]);
- Node34_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_5.a('node.fillgradient', '');
- if (Node34_5type !== 'rect') {
- Node34_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_5type === 'arc') {
- Node34_5.a('node.arcOval', true);
- }
- Node34_5.setRotation(0*Math.PI/180);
- Node34_5.borderWidth = Node34_5BorderWidth;
- Node34_5.borderFillwidth = Node34_5BorderWidth;
- dataModel.add(Node34_5);
- Node34_5._nodename = 'Node34_5'
- Node34_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node34_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_6type = 'rect';
- var Node34_6 = new ht.Node(),
- Node34_6BorderWidth = 0*2;
- if (Node34_6type === 'arc') {
- Node34_6BorderWidth *= 0;
- }
- Node34_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node34_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_6.setPosition(700*ratio.ratioX, 378*ratio.ratioY);
- Node34_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node34_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_6.a('node.width', 127*_ratio.ratioX);
- Node34_6.a('node.height', 32*_ratio.ratioY);
- Node34_6.a('node.type', Node34_6type);
- Node34_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node34_6.a('node.background', 'rgba(245,245,245,1)');
- Node34_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node34_6.a('node.gradient', '');
- Node34_6.a('node.borderwidth', Node34_6BorderWidth);
- Node34_6.a('node.color', 'rgba(192,192,192,0)');
- Node34_6.a('node.fillrect', [0,0,0,0]);
- Node34_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_6.a('node.fillgradient', '');
- if (Node34_6type !== 'rect') {
- Node34_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_6type === 'arc') {
- Node34_6.a('node.arcOval', true);
- }
- Node34_6.setRotation(0*Math.PI/180);
- Node34_6.borderWidth = Node34_6BorderWidth;
- Node34_6.borderFillwidth = Node34_6BorderWidth;
- dataModel.add(Node34_6);
- Node34_6._nodename = 'Node34_6'
- Node34_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node34_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_7type = 'rect';
- var Node34_7 = new ht.Node(),
- Node34_7BorderWidth = 1*2;
- if (Node34_7type === 'arc') {
- Node34_7BorderWidth *= 1;
- }
- Node34_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node34_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34_7.setPosition(700*ratio.ratioX, 239*ratio.ratioY);
- Node34_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node34_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34_7.a('node.width', 127*_ratio.ratioX);
- Node34_7.a('node.height', 309*_ratio.ratioY);
- Node34_7.a('node.type', Node34_7type);
- Node34_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node34_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node34_7.a('node.gradientcolor', '');
- Node34_7.a('node.gradient', '');
- Node34_7.a('node.borderwidth', Node34_7BorderWidth);
- Node34_7.a('node.color', 'rgba(192,192,192,1)');
- Node34_7.a('node.fillrect', [0,0,0,0]);
- Node34_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34_7.a('node.fillgradient', '');
- if (Node34_7type !== 'rect') {
- Node34_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node34_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34_7type === 'arc') {
- Node34_7.a('node.arcOval', true);
- }
- Node34_7.setRotation(0*Math.PI/180);
- Node34_7.borderWidth = Node34_7BorderWidth;
- Node34_7.borderFillwidth = Node34_7BorderWidth;
- dataModel.add(Node34_7);
- Node34_7._nodename = 'Node34_7'
- Node34_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34_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);
- }
- })(Node34_7, Node34_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_8 = new ht.Node();
- var Node34_8textStart, Node34_8textWidth, Node34_8lineStart, Node34_8align = 'center', Node34_8fontSize = 13.3333*_ratio.ratioY,Node34_8width = 105*_ratio.ratioX, Node34_8height = 27*_ratio.ratioY;
- (function () {
- if (Node34_8align === 'left') {
- Node34_8textStart = Node34_8fontSize * 0.2 > 2 ? Node34_8fontSize * 0.2 - 4 : Node34_8fontSize * 0.2 - 9;
- Node34_8textWidth = Node34_8width;
- Node34_8lineStart = 1;
- } else if (Node34_8align === 'right') {
- Node34_8textStart = 0;
- Node34_8textWidth =Node34_8fontSize <= 8 ? Node34_8width + Node34_8fontSize * 0.2 + 6 : Node34_8width - Node34_8fontSize * 0.2;
- Node34_8lineStart = (Node34_8width - (ht.Default.getTextSize('月发电量', 'bold '+ Node34_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34_8align === 'center') {
- Node34_8textStart = -3;
- Node34_8textWidth = Node34_8width;
- Node34_8lineStart = Node34_8width - ht.Default.getTextSize('月发电量', 'bold '+ Node34_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34_8.setImage(GD.getTextJSON(Node34_8width, Node34_8height, true, false, false, 'bold '+ Node34_8fontSize + 'px "Arial"'))
- Node34_8.setPosition(697*ratio.ratioX, 103*ratio.ratioY);
- Node34_8.setWidth(Node34_8width);
- Node34_8.setHeight(Node34_8height);
- Node34_8._nodeType = 'text';
- Node34_8._disallowEvert = true;
- Node34_8.setRotation(0*Math.PI/180);
- Node34_8.a('node.width', Node34_8width);
- Node34_8.a('node.height', Node34_8height);
- Node34_8.a('node.rect', [0, 0, Node34_8width, Node34_8height]);
- Node34_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node34_8.a('node.borderwidth', 0);
- Node34_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_8.a('node.gradient','');
- Node34_8.a('node.gradientcolor','');
- Node34_8.a('node.text','月发电量');
- Node34_8.a('node.textalign','center');
- Node34_8.a('node.textvAlign','middle');
- Node34_8.a('node.textrect', [Node34_8textStart, 0, Node34_8textWidth, Node34_8height]);
- Node34_8.a('node.color','rgba(255,255,255,1)');
- Node34_8.a('node.font','bold '+ Node34_8fontSize + 'px "Arial"');
- Node34_8.a('node.textvisible',true);
- Node34_8.a('node.linefeed',false);
- if (false) {
- Node34_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_8.a('node.text') || '月发电量';
- var color=Node34_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_8width,Node34_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34_8.a('node.underlinepoints',[Node34_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_8fontSize + 2 , ht.Default.getTextSize('月发电量', 'bold '+ Node34_8fontSize + 'px "Arial"').width + 6, (Node34_8height - Node34_8fontSize) * 0.5*_ratio.ratioY + Node34_8fontSize + 2 ]);
- Node34_8.a('node.underlinevisible',false);
- Node34_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_8);
- zoomNodeList.push({
- node: Node34_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_9 = new ht.Node();
- var Node34_9textStart, Node34_9textWidth, Node34_9lineStart, Node34_9align = 'center', Node34_9fontSize = 11.99997*_ratio.ratioY,Node34_9width = 105*_ratio.ratioX, Node34_9height = 17*_ratio.ratioY;
- (function () {
- if (Node34_9align === 'left') {
- Node34_9textStart = Node34_9fontSize * 0.2 > 2 ? Node34_9fontSize * 0.2 - 4 : Node34_9fontSize * 0.2 - 9;
- Node34_9textWidth = Node34_9width;
- Node34_9lineStart = 1;
- } else if (Node34_9align === 'right') {
- Node34_9textStart = 0;
- Node34_9textWidth =Node34_9fontSize <= 8 ? Node34_9width + Node34_9fontSize * 0.2 + 6 : Node34_9width - Node34_9fontSize * 0.2;
- Node34_9lineStart = (Node34_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node34_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34_9align === 'center') {
- Node34_9textStart = -3;
- Node34_9textWidth = Node34_9width;
- Node34_9lineStart = Node34_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node34_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34_9.setImage(GD.getTextJSON(Node34_9width, Node34_9height, true, false, false, 'bold '+ Node34_9fontSize + 'px "Arial"'))
- Node34_9.setPosition(697*ratio.ratioX, 131*ratio.ratioY);
- Node34_9.setWidth(Node34_9width);
- Node34_9.setHeight(Node34_9height);
- Node34_9._nodeType = 'text';
- Node34_9._disallowEvert = true;
- Node34_9.setRotation(0*Math.PI/180);
- Node34_9.a('node.width', Node34_9width);
- Node34_9.a('node.height', Node34_9height);
- Node34_9.a('node.rect', [0, 0, Node34_9width, Node34_9height]);
- Node34_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node34_9.a('node.borderwidth', 0);
- Node34_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_9.a('node.gradient','');
- Node34_9.a('node.gradientcolor','');
- Node34_9.a('node.text','万kwh');
- Node34_9.a('node.textalign','center');
- Node34_9.a('node.textvAlign','middle');
- Node34_9.a('node.textrect', [Node34_9textStart, 0, Node34_9textWidth, Node34_9height]);
- Node34_9.a('node.color','rgba(128,128,128,1)');
- Node34_9.a('node.font','bold '+ Node34_9fontSize + 'px "Arial"');
- Node34_9.a('node.textvisible',true);
- Node34_9.a('node.linefeed',false);
- if (false) {
- Node34_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_9.a('node.text') || '万kwh';
- var color=Node34_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node34_9width,Node34_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node34_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34_9.a('node.underlinepoints',[Node34_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node34_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node34_9fontSize + 'px "Arial"').width + 6, (Node34_9height - Node34_9fontSize) * 0.5*_ratio.ratioY + Node34_9fontSize + 2 ]);
- Node34_9.a('node.underlinevisible',false);
- Node34_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_9);
- zoomNodeList.push({
- node: Node34_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_10 = new ht.Node();
- var Node34_10textStart, Node34_10textWidth, Node34_10lineStart, Node34_10align = 'center', Node34_10fontSize = 13.3333*_ratio.ratioY,Node34_10width = 105*_ratio.ratioX, Node34_10height = 27*_ratio.ratioY;
- (function () {
- if (Node34_10align === 'left') {
- Node34_10textStart = Node34_10fontSize * 0.2 > 2 ? Node34_10fontSize * 0.2 - 4 : Node34_10fontSize * 0.2 - 9;
- Node34_10textWidth = Node34_10width;
- Node34_10lineStart = 1;
- } else if (Node34_10align === 'right') {
- Node34_10textStart = 0;
- Node34_10textWidth =Node34_10fontSize <= 8 ? Node34_10width + Node34_10fontSize * 0.2 + 6 : Node34_10width - Node34_10fontSize * 0.2;
- Node34_10lineStart = (Node34_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node34_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_10align === 'center') {
- Node34_10textStart = -3;
- Node34_10textWidth = Node34_10width;
- Node34_10lineStart = Node34_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node34_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_10.setImage(GD.getTextJSON(Node34_10width, Node34_10height, true, false, false, 'bold '+ Node34_10fontSize + 'px "UniDreamLED"'))
- Node34_10.setPosition(697*ratio.ratioX, 158*ratio.ratioY);
- Node34_10.setWidth(Node34_10width);
- Node34_10.setHeight(Node34_10height);
- Node34_10._nodeType = 'text';
- Node34_10._disallowEvert = true;
- Node34_10.setRotation(0*Math.PI/180);
- Node34_10.a('node.width', Node34_10width);
- Node34_10.a('node.height', Node34_10height);
- Node34_10.a('node.rect', [0, 0, Node34_10width, Node34_10height]);
- Node34_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_10.a('node.borderwidth', 0);
- Node34_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_10.a('node.gradient','');
- Node34_10.a('node.gradientcolor','');
- Node34_10.a('node.text','1134.76');
- Node34_10.a('node.textalign','center');
- Node34_10.a('node.textvAlign','middle');
- Node34_10.a('node.textrect', [Node34_10textStart, 0, Node34_10textWidth, Node34_10height]);
- Node34_10.a('node.color','rgba(0,0,0,1)');
- Node34_10.a('node.font','bold '+ Node34_10fontSize + 'px "UniDreamLED"');
- Node34_10.a('node.textvisible',true);
- Node34_10.a('node.linefeed',false);
- if (false) {
- Node34_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_10.a('node.text') || '1134.76';
- var color=Node34_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_10width,Node34_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_10.a('node.underlinepoints',[Node34_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node34_10fontSize + 'px "UniDreamLED"').width + 6, (Node34_10height - Node34_10fontSize) * 0.5*_ratio.ratioY + Node34_10fontSize + 2 ]);
- Node34_10.a('node.underlinevisible',false);
- Node34_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_10);
- zoomNodeList.push({
- node: Node34_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_11 = new ht.Node();
- var Node34_11textStart, Node34_11textWidth, Node34_11lineStart, Node34_11align = 'center', Node34_11fontSize = 13.3333*_ratio.ratioY,Node34_11width = 110*_ratio.ratioX, Node34_11height = 27*_ratio.ratioY;
- (function () {
- if (Node34_11align === 'left') {
- Node34_11textStart = Node34_11fontSize * 0.2 > 2 ? Node34_11fontSize * 0.2 - 4 : Node34_11fontSize * 0.2 - 9;
- Node34_11textWidth = Node34_11width;
- Node34_11lineStart = 1;
- } else if (Node34_11align === 'right') {
- Node34_11textStart = 0;
- Node34_11textWidth =Node34_11fontSize <= 8 ? Node34_11width + Node34_11fontSize * 0.2 + 6 : Node34_11width - Node34_11fontSize * 0.2;
- Node34_11lineStart = (Node34_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node34_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_11align === 'center') {
- Node34_11textStart = -3;
- Node34_11textWidth = Node34_11width;
- Node34_11lineStart = Node34_11width - ht.Default.getTextSize('171.51', 'bold '+ Node34_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_11.setImage(GD.getTextJSON(Node34_11width, Node34_11height, true, false, false, 'bold '+ Node34_11fontSize + 'px "UniDreamLED"'))
- Node34_11.setPosition(700*ratio.ratioX, 190*ratio.ratioY);
- Node34_11.setWidth(Node34_11width);
- Node34_11.setHeight(Node34_11height);
- Node34_11._nodeType = 'text';
- Node34_11._disallowEvert = true;
- Node34_11.setRotation(0*Math.PI/180);
- Node34_11.a('node.width', Node34_11width);
- Node34_11.a('node.height', Node34_11height);
- Node34_11.a('node.rect', [0, 0, Node34_11width, Node34_11height]);
- Node34_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_11.a('node.borderwidth', 0);
- Node34_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_11.a('node.gradient','');
- Node34_11.a('node.gradientcolor','');
- Node34_11.a('node.text','171.51');
- Node34_11.a('node.textalign','center');
- Node34_11.a('node.textvAlign','middle');
- Node34_11.a('node.textrect', [Node34_11textStart, 0, Node34_11textWidth, Node34_11height]);
- Node34_11.a('node.color','rgba(0,0,0,1)');
- Node34_11.a('node.font','bold '+ Node34_11fontSize + 'px "UniDreamLED"');
- Node34_11.a('node.textvisible',true);
- Node34_11.a('node.linefeed',false);
- if (false) {
- Node34_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_11.a('node.text') || '171.51';
- var color=Node34_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_11width,Node34_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_11.a('node.underlinepoints',[Node34_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node34_11fontSize + 'px "UniDreamLED"').width + 6, (Node34_11height - Node34_11fontSize) * 0.5*_ratio.ratioY + Node34_11fontSize + 2 ]);
- Node34_11.a('node.underlinevisible',false);
- Node34_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_11);
- zoomNodeList.push({
- node: Node34_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_12 = new ht.Node();
- var Node34_12textStart, Node34_12textWidth, Node34_12lineStart, Node34_12align = 'center', Node34_12fontSize = 13.3333*_ratio.ratioY,Node34_12width = 110*_ratio.ratioX, Node34_12height = 27*_ratio.ratioY;
- (function () {
- if (Node34_12align === 'left') {
- Node34_12textStart = Node34_12fontSize * 0.2 > 2 ? Node34_12fontSize * 0.2 - 4 : Node34_12fontSize * 0.2 - 9;
- Node34_12textWidth = Node34_12width;
- Node34_12lineStart = 1;
- } else if (Node34_12align === 'right') {
- Node34_12textStart = 0;
- Node34_12textWidth =Node34_12fontSize <= 8 ? Node34_12width + Node34_12fontSize * 0.2 + 6 : Node34_12width - Node34_12fontSize * 0.2;
- Node34_12lineStart = (Node34_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node34_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_12align === 'center') {
- Node34_12textStart = -3;
- Node34_12textWidth = Node34_12width;
- Node34_12lineStart = Node34_12width - ht.Default.getTextSize('329.51', 'bold '+ Node34_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_12.setImage(GD.getTextJSON(Node34_12width, Node34_12height, true, false, false, 'bold '+ Node34_12fontSize + 'px "UniDreamLED"'))
- Node34_12.setPosition(700*ratio.ratioX, 220*ratio.ratioY);
- Node34_12.setWidth(Node34_12width);
- Node34_12.setHeight(Node34_12height);
- Node34_12._nodeType = 'text';
- Node34_12._disallowEvert = true;
- Node34_12.setRotation(0*Math.PI/180);
- Node34_12.a('node.width', Node34_12width);
- Node34_12.a('node.height', Node34_12height);
- Node34_12.a('node.rect', [0, 0, Node34_12width, Node34_12height]);
- Node34_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_12.a('node.borderwidth', 0);
- Node34_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_12.a('node.gradient','');
- Node34_12.a('node.gradientcolor','');
- Node34_12.a('node.text','329.51');
- Node34_12.a('node.textalign','center');
- Node34_12.a('node.textvAlign','middle');
- Node34_12.a('node.textrect', [Node34_12textStart, 0, Node34_12textWidth, Node34_12height]);
- Node34_12.a('node.color','rgba(0,0,0,1)');
- Node34_12.a('node.font','bold '+ Node34_12fontSize + 'px "UniDreamLED"');
- Node34_12.a('node.textvisible',true);
- Node34_12.a('node.linefeed',false);
- if (false) {
- Node34_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_12.a('node.text') || '329.51';
- var color=Node34_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_12width,Node34_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_12.a('node.underlinepoints',[Node34_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node34_12fontSize + 'px "UniDreamLED"').width + 6, (Node34_12height - Node34_12fontSize) * 0.5*_ratio.ratioY + Node34_12fontSize + 2 ]);
- Node34_12.a('node.underlinevisible',false);
- Node34_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_12);
- zoomNodeList.push({
- node: Node34_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_13 = new ht.Node();
- var Node34_13textStart, Node34_13textWidth, Node34_13lineStart, Node34_13align = 'center', Node34_13fontSize = 13.3333*_ratio.ratioY,Node34_13width = 110*_ratio.ratioX, Node34_13height = 27*_ratio.ratioY;
- (function () {
- if (Node34_13align === 'left') {
- Node34_13textStart = Node34_13fontSize * 0.2 > 2 ? Node34_13fontSize * 0.2 - 4 : Node34_13fontSize * 0.2 - 9;
- Node34_13textWidth = Node34_13width;
- Node34_13lineStart = 1;
- } else if (Node34_13align === 'right') {
- Node34_13textStart = 0;
- Node34_13textWidth =Node34_13fontSize <= 8 ? Node34_13width + Node34_13fontSize * 0.2 + 6 : Node34_13width - Node34_13fontSize * 0.2;
- Node34_13lineStart = (Node34_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node34_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_13align === 'center') {
- Node34_13textStart = -3;
- Node34_13textWidth = Node34_13width;
- Node34_13lineStart = Node34_13width - ht.Default.getTextSize('340.14', 'bold '+ Node34_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_13.setImage(GD.getTextJSON(Node34_13width, Node34_13height, true, false, false, 'bold '+ Node34_13fontSize + 'px "UniDreamLED"'))
- Node34_13.setPosition(700*ratio.ratioX, 250*ratio.ratioY);
- Node34_13.setWidth(Node34_13width);
- Node34_13.setHeight(Node34_13height);
- Node34_13._nodeType = 'text';
- Node34_13._disallowEvert = true;
- Node34_13.setRotation(0*Math.PI/180);
- Node34_13.a('node.width', Node34_13width);
- Node34_13.a('node.height', Node34_13height);
- Node34_13.a('node.rect', [0, 0, Node34_13width, Node34_13height]);
- Node34_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_13.a('node.borderwidth', 0);
- Node34_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_13.a('node.gradient','');
- Node34_13.a('node.gradientcolor','');
- Node34_13.a('node.text','340.14');
- Node34_13.a('node.textalign','center');
- Node34_13.a('node.textvAlign','middle');
- Node34_13.a('node.textrect', [Node34_13textStart, 0, Node34_13textWidth, Node34_13height]);
- Node34_13.a('node.color','rgba(0,0,0,1)');
- Node34_13.a('node.font','bold '+ Node34_13fontSize + 'px "UniDreamLED"');
- Node34_13.a('node.textvisible',true);
- Node34_13.a('node.linefeed',false);
- if (false) {
- Node34_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_13.a('node.text') || '340.14';
- var color=Node34_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_13width,Node34_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_13.a('node.underlinepoints',[Node34_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node34_13fontSize + 'px "UniDreamLED"').width + 6, (Node34_13height - Node34_13fontSize) * 0.5*_ratio.ratioY + Node34_13fontSize + 2 ]);
- Node34_13.a('node.underlinevisible',false);
- Node34_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_13);
- zoomNodeList.push({
- node: Node34_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_14 = new ht.Node();
- var Node34_14textStart, Node34_14textWidth, Node34_14lineStart, Node34_14align = 'center', Node34_14fontSize = 13.3333*_ratio.ratioY,Node34_14width = 110*_ratio.ratioX, Node34_14height = 27*_ratio.ratioY;
- (function () {
- if (Node34_14align === 'left') {
- Node34_14textStart = Node34_14fontSize * 0.2 > 2 ? Node34_14fontSize * 0.2 - 4 : Node34_14fontSize * 0.2 - 9;
- Node34_14textWidth = Node34_14width;
- Node34_14lineStart = 1;
- } else if (Node34_14align === 'right') {
- Node34_14textStart = 0;
- Node34_14textWidth =Node34_14fontSize <= 8 ? Node34_14width + Node34_14fontSize * 0.2 + 6 : Node34_14width - Node34_14fontSize * 0.2;
- Node34_14lineStart = (Node34_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node34_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_14align === 'center') {
- Node34_14textStart = -3;
- Node34_14textWidth = Node34_14width;
- Node34_14lineStart = Node34_14width - ht.Default.getTextSize('60.61', 'bold '+ Node34_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_14.setImage(GD.getTextJSON(Node34_14width, Node34_14height, true, false, false, 'bold '+ Node34_14fontSize + 'px "UniDreamLED"'))
- Node34_14.setPosition(700*ratio.ratioX, 284*ratio.ratioY);
- Node34_14.setWidth(Node34_14width);
- Node34_14.setHeight(Node34_14height);
- Node34_14._nodeType = 'text';
- Node34_14._disallowEvert = true;
- Node34_14.setRotation(0*Math.PI/180);
- Node34_14.a('node.width', Node34_14width);
- Node34_14.a('node.height', Node34_14height);
- Node34_14.a('node.rect', [0, 0, Node34_14width, Node34_14height]);
- Node34_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_14.a('node.borderwidth', 0);
- Node34_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_14.a('node.gradient','');
- Node34_14.a('node.gradientcolor','');
- Node34_14.a('node.text','60.61');
- Node34_14.a('node.textalign','center');
- Node34_14.a('node.textvAlign','middle');
- Node34_14.a('node.textrect', [Node34_14textStart, 0, Node34_14textWidth, Node34_14height]);
- Node34_14.a('node.color','rgba(0,0,0,1)');
- Node34_14.a('node.font','bold '+ Node34_14fontSize + 'px "UniDreamLED"');
- Node34_14.a('node.textvisible',true);
- Node34_14.a('node.linefeed',false);
- if (false) {
- Node34_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_14.a('node.text') || '60.61';
- var color=Node34_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_14width,Node34_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_14.a('node.underlinepoints',[Node34_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node34_14fontSize + 'px "UniDreamLED"').width + 6, (Node34_14height - Node34_14fontSize) * 0.5*_ratio.ratioY + Node34_14fontSize + 2 ]);
- Node34_14.a('node.underlinevisible',false);
- Node34_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_14);
- zoomNodeList.push({
- node: Node34_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_15 = new ht.Node();
- var Node34_15textStart, Node34_15textWidth, Node34_15lineStart, Node34_15align = 'center', Node34_15fontSize = 13.3333*_ratio.ratioY,Node34_15width = 110*_ratio.ratioX, Node34_15height = 27*_ratio.ratioY;
- (function () {
- if (Node34_15align === 'left') {
- Node34_15textStart = Node34_15fontSize * 0.2 > 2 ? Node34_15fontSize * 0.2 - 4 : Node34_15fontSize * 0.2 - 9;
- Node34_15textWidth = Node34_15width;
- Node34_15lineStart = 1;
- } else if (Node34_15align === 'right') {
- Node34_15textStart = 0;
- Node34_15textWidth =Node34_15fontSize <= 8 ? Node34_15width + Node34_15fontSize * 0.2 + 6 : Node34_15width - Node34_15fontSize * 0.2;
- Node34_15lineStart = (Node34_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node34_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_15align === 'center') {
- Node34_15textStart = -3;
- Node34_15textWidth = Node34_15width;
- Node34_15lineStart = Node34_15width - ht.Default.getTextSize('166.79', 'bold '+ Node34_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_15.setImage(GD.getTextJSON(Node34_15width, Node34_15height, true, false, false, 'bold '+ Node34_15fontSize + 'px "UniDreamLED"'))
- Node34_15.setPosition(700*ratio.ratioX, 317*ratio.ratioY);
- Node34_15.setWidth(Node34_15width);
- Node34_15.setHeight(Node34_15height);
- Node34_15._nodeType = 'text';
- Node34_15._disallowEvert = true;
- Node34_15.setRotation(0*Math.PI/180);
- Node34_15.a('node.width', Node34_15width);
- Node34_15.a('node.height', Node34_15height);
- Node34_15.a('node.rect', [0, 0, Node34_15width, Node34_15height]);
- Node34_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_15.a('node.borderwidth', 0);
- Node34_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_15.a('node.gradient','');
- Node34_15.a('node.gradientcolor','');
- Node34_15.a('node.text','166.79');
- Node34_15.a('node.textalign','center');
- Node34_15.a('node.textvAlign','middle');
- Node34_15.a('node.textrect', [Node34_15textStart, 0, Node34_15textWidth, Node34_15height]);
- Node34_15.a('node.color','rgba(0,0,0,1)');
- Node34_15.a('node.font','bold '+ Node34_15fontSize + 'px "UniDreamLED"');
- Node34_15.a('node.textvisible',true);
- Node34_15.a('node.linefeed',false);
- if (false) {
- Node34_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_15.a('node.text') || '166.79';
- var color=Node34_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_15width,Node34_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_15.a('node.underlinepoints',[Node34_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node34_15fontSize + 'px "UniDreamLED"').width + 6, (Node34_15height - Node34_15fontSize) * 0.5*_ratio.ratioY + Node34_15fontSize + 2 ]);
- Node34_15.a('node.underlinevisible',false);
- Node34_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_15);
- zoomNodeList.push({
- node: Node34_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_16 = new ht.Node();
- var Node34_16textStart, Node34_16textWidth, Node34_16lineStart, Node34_16align = 'center', Node34_16fontSize = 13.3333*_ratio.ratioY,Node34_16width = 110*_ratio.ratioX, Node34_16height = 27*_ratio.ratioY;
- (function () {
- if (Node34_16align === 'left') {
- Node34_16textStart = Node34_16fontSize * 0.2 > 2 ? Node34_16fontSize * 0.2 - 4 : Node34_16fontSize * 0.2 - 9;
- Node34_16textWidth = Node34_16width;
- Node34_16lineStart = 1;
- } else if (Node34_16align === 'right') {
- Node34_16textStart = 0;
- Node34_16textWidth =Node34_16fontSize <= 8 ? Node34_16width + Node34_16fontSize * 0.2 + 6 : Node34_16width - Node34_16fontSize * 0.2;
- Node34_16lineStart = (Node34_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node34_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_16align === 'center') {
- Node34_16textStart = -3;
- Node34_16textWidth = Node34_16width;
- Node34_16lineStart = Node34_16width - ht.Default.getTextSize('66.18', 'bold '+ Node34_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_16.setImage(GD.getTextJSON(Node34_16width, Node34_16height, true, false, false, 'bold '+ Node34_16fontSize + 'px "UniDreamLED"'))
- Node34_16.setPosition(700*ratio.ratioX, 346*ratio.ratioY);
- Node34_16.setWidth(Node34_16width);
- Node34_16.setHeight(Node34_16height);
- Node34_16._nodeType = 'text';
- Node34_16._disallowEvert = true;
- Node34_16.setRotation(0*Math.PI/180);
- Node34_16.a('node.width', Node34_16width);
- Node34_16.a('node.height', Node34_16height);
- Node34_16.a('node.rect', [0, 0, Node34_16width, Node34_16height]);
- Node34_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_16.a('node.borderwidth', 0);
- Node34_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_16.a('node.gradient','');
- Node34_16.a('node.gradientcolor','');
- Node34_16.a('node.text','66.18');
- Node34_16.a('node.textalign','center');
- Node34_16.a('node.textvAlign','middle');
- Node34_16.a('node.textrect', [Node34_16textStart, 0, Node34_16textWidth, Node34_16height]);
- Node34_16.a('node.color','rgba(0,0,0,1)');
- Node34_16.a('node.font','bold '+ Node34_16fontSize + 'px "UniDreamLED"');
- Node34_16.a('node.textvisible',true);
- Node34_16.a('node.linefeed',false);
- if (false) {
- Node34_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_16.a('node.text') || '66.18';
- var color=Node34_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_16width,Node34_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_16.a('node.underlinepoints',[Node34_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node34_16fontSize + 'px "UniDreamLED"').width + 6, (Node34_16height - Node34_16fontSize) * 0.5*_ratio.ratioY + Node34_16fontSize + 2 ]);
- Node34_16.a('node.underlinevisible',false);
- Node34_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_16);
- zoomNodeList.push({
- node: Node34_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34_17 = new ht.Node();
- var Node34_17textStart, Node34_17textWidth, Node34_17lineStart, Node34_17align = 'center', Node34_17fontSize = 13.3333*_ratio.ratioY,Node34_17width = 110*_ratio.ratioX, Node34_17height = 27*_ratio.ratioY;
- (function () {
- if (Node34_17align === 'left') {
- Node34_17textStart = Node34_17fontSize * 0.2 > 2 ? Node34_17fontSize * 0.2 - 4 : Node34_17fontSize * 0.2 - 9;
- Node34_17textWidth = Node34_17width;
- Node34_17lineStart = 1;
- } else if (Node34_17align === 'right') {
- Node34_17textStart = 0;
- Node34_17textWidth =Node34_17fontSize <= 8 ? Node34_17width + Node34_17fontSize * 0.2 + 6 : Node34_17width - Node34_17fontSize * 0.2;
- Node34_17lineStart = (Node34_17width - (ht.Default.getTextSize('-', 'bold '+ Node34_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node34_17align === 'center') {
- Node34_17textStart = -3;
- Node34_17textWidth = Node34_17width;
- Node34_17lineStart = Node34_17width - ht.Default.getTextSize('-', 'bold '+ Node34_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node34_17.setImage(GD.getTextJSON(Node34_17width, Node34_17height, true, false, false, 'bold '+ Node34_17fontSize + 'px "UniDreamLED"'))
- Node34_17.setPosition(700*ratio.ratioX, 377*ratio.ratioY);
- Node34_17.setWidth(Node34_17width);
- Node34_17.setHeight(Node34_17height);
- Node34_17._nodeType = 'text';
- Node34_17._disallowEvert = true;
- Node34_17.setRotation(0*Math.PI/180);
- Node34_17.a('node.width', Node34_17width);
- Node34_17.a('node.height', Node34_17height);
- Node34_17.a('node.rect', [0, 0, Node34_17width, Node34_17height]);
- Node34_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node34_17.a('node.borderwidth', 0);
- Node34_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node34_17.a('node.gradient','');
- Node34_17.a('node.gradientcolor','');
- Node34_17.a('node.text','-');
- Node34_17.a('node.textalign','center');
- Node34_17.a('node.textvAlign','middle');
- Node34_17.a('node.textrect', [Node34_17textStart, 0, Node34_17textWidth, Node34_17height]);
- Node34_17.a('node.color','rgba(0,0,0,1)');
- Node34_17.a('node.font','bold '+ Node34_17fontSize + 'px "UniDreamLED"');
- Node34_17.a('node.textvisible',true);
- Node34_17.a('node.linefeed',false);
- if (false) {
- Node34_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34_17.a('node.text') || '-';
- var color=Node34_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34_17width,Node34_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node34_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node34_17.a('node.underlinepoints',[Node34_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node34_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node34_17fontSize + 'px "UniDreamLED"').width + 6, (Node34_17height - Node34_17fontSize) * 0.5*_ratio.ratioY + Node34_17fontSize + 2 ]);
- Node34_17.a('node.underlinevisible',false);
- Node34_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34_17);
- zoomNodeList.push({
- node: Node34_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node35_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node35_0 = new ht.Node();
- Node35_0.setPosition(700*ratio.ratioX, 237*ratio.ratioY);
- Node35_0.setSize(127*ratioX, 313*ratioY);
- Node35_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node35_0.setRotation(0*Math.PI/180);
- Node35_0._zoomBy = 'Default';
- Node35_0._nodeType = 'image';
- Node35_0._disallowEvert = true;
- dataModel.add(Node35_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35_1 = new ht.Node();
- var Node35_1textStart, Node35_1textWidth, Node35_1lineStart, Node35_1align = 'center', Node35_1fontSize = 13.3333*_ratio.ratioY,Node35_1width = 105*_ratio.ratioX, Node35_1height = 27*_ratio.ratioY;
- (function () {
- if (Node35_1align === 'left') {
- Node35_1textStart = Node35_1fontSize * 0.2 > 2 ? Node35_1fontSize * 0.2 - 4 : Node35_1fontSize * 0.2 - 9;
- Node35_1textWidth = Node35_1width;
- Node35_1lineStart = 1;
- } else if (Node35_1align === 'right') {
- Node35_1textStart = 0;
- Node35_1textWidth =Node35_1fontSize <= 8 ? Node35_1width + Node35_1fontSize * 0.2 + 6 : Node35_1width - Node35_1fontSize * 0.2;
- Node35_1lineStart = (Node35_1width - (ht.Default.getTextSize('月发电量', 'bold '+ Node35_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35_1align === 'center') {
- Node35_1textStart = -3;
- Node35_1textWidth = Node35_1width;
- Node35_1lineStart = Node35_1width - ht.Default.getTextSize('月发电量', 'bold '+ Node35_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35_1.setImage(GD.getTextJSON(Node35_1width, Node35_1height, true, false, false, 'bold '+ Node35_1fontSize + 'px "Arial"'))
- Node35_1.setPosition(695*ratio.ratioX, 102*ratio.ratioY);
- Node35_1.setWidth(Node35_1width);
- Node35_1.setHeight(Node35_1height);
- Node35_1._nodeType = 'text';
- Node35_1._disallowEvert = true;
- Node35_1.setRotation(0*Math.PI/180);
- Node35_1.a('node.width', Node35_1width);
- Node35_1.a('node.height', Node35_1height);
- Node35_1.a('node.rect', [0, 0, Node35_1width, Node35_1height]);
- Node35_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node35_1.a('node.borderwidth', 0);
- Node35_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node35_1.a('node.gradient','');
- Node35_1.a('node.gradientcolor','');
- Node35_1.a('node.text','月发电量');
- Node35_1.a('node.textalign','center');
- Node35_1.a('node.textvAlign','middle');
- Node35_1.a('node.textrect', [Node35_1textStart, 0, Node35_1textWidth, Node35_1height]);
- Node35_1.a('node.color','rgba(255,255,255,1)');
- Node35_1.a('node.font','bold '+ Node35_1fontSize + 'px "Arial"');
- Node35_1.a('node.textvisible',true);
- Node35_1.a('node.linefeed',false);
- if (false) {
- Node35_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node35_1.a('node.text') || '月发电量';
- var color=Node35_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35_1width,Node35_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node35_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35_1.a('node.underlinepoints',[Node35_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node35_1fontSize + 2 , ht.Default.getTextSize('月发电量', 'bold '+ Node35_1fontSize + 'px "Arial"').width + 6, (Node35_1height - Node35_1fontSize) * 0.5*_ratio.ratioY + Node35_1fontSize + 2 ]);
- Node35_1.a('node.underlinevisible',false);
- Node35_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node35_1);
- zoomNodeList.push({
- node: Node35_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_0type = 'rect';
- var Node36_0 = new ht.Node(),
- Node36_0BorderWidth = 0*2;
- if (Node36_0type === 'arc') {
- Node36_0BorderWidth *= 0;
- }
- Node36_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_0.setPosition(827*ratio.ratioX, 190*ratio.ratioY);
- Node36_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_0.a('node.width', 127*_ratio.ratioX);
- Node36_0.a('node.height', 32*_ratio.ratioY);
- Node36_0.a('node.type', Node36_0type);
- Node36_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_0.a('node.background', 'rgba(245,245,245,1)');
- Node36_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node36_0.a('node.gradient', '');
- Node36_0.a('node.borderwidth', Node36_0BorderWidth);
- Node36_0.a('node.color', 'rgba(192,192,192,0)');
- Node36_0.a('node.fillrect', [0,0,0,0]);
- Node36_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_0.a('node.fillgradient', '');
- if (Node36_0type !== 'rect') {
- Node36_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_0type === 'arc') {
- Node36_0.a('node.arcOval', true);
- }
- Node36_0.setRotation(0*Math.PI/180);
- Node36_0.borderWidth = Node36_0BorderWidth;
- Node36_0.borderFillwidth = Node36_0BorderWidth;
- dataModel.add(Node36_0);
- Node36_0._nodename = 'Node36_0'
- Node36_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_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);
- }
- })(Node36_0, Node36_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_1type = 'rect';
- var Node36_1 = new ht.Node(),
- Node36_1BorderWidth = 0*2;
- if (Node36_1type === 'arc') {
- Node36_1BorderWidth *= 0;
- }
- Node36_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_1.setPosition(827*ratio.ratioX, 222*ratio.ratioY);
- Node36_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_1.a('node.width', 127*_ratio.ratioX);
- Node36_1.a('node.height', 32*_ratio.ratioY);
- Node36_1.a('node.type', Node36_1type);
- Node36_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node36_1.a('node.gradientcolor', '');
- Node36_1.a('node.gradient', '');
- Node36_1.a('node.borderwidth', Node36_1BorderWidth);
- Node36_1.a('node.color', 'rgba(192,192,192,0)');
- Node36_1.a('node.fillrect', [0,0,0,0]);
- Node36_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_1.a('node.fillgradient', '');
- if (Node36_1type !== 'rect') {
- Node36_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_1type === 'arc') {
- Node36_1.a('node.arcOval', true);
- }
- Node36_1.setRotation(0*Math.PI/180);
- Node36_1.borderWidth = Node36_1BorderWidth;
- Node36_1.borderFillwidth = Node36_1BorderWidth;
- dataModel.add(Node36_1);
- Node36_1._nodename = 'Node36_1'
- Node36_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_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);
- }
- })(Node36_1, Node36_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_2type = 'rect';
- var Node36_2 = new ht.Node(),
- Node36_2BorderWidth = 0*2;
- if (Node36_2type === 'arc') {
- Node36_2BorderWidth *= 0;
- }
- Node36_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_2.setPosition(827*ratio.ratioX, 254*ratio.ratioY);
- Node36_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_2.a('node.width', 127*_ratio.ratioX);
- Node36_2.a('node.height', 32*_ratio.ratioY);
- Node36_2.a('node.type', Node36_2type);
- Node36_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_2.a('node.background', 'rgba(245,245,245,1)');
- Node36_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node36_2.a('node.gradient', '');
- Node36_2.a('node.borderwidth', Node36_2BorderWidth);
- Node36_2.a('node.color', 'rgba(192,192,192,0)');
- Node36_2.a('node.fillrect', [0,0,0,0]);
- Node36_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_2.a('node.fillgradient', '');
- if (Node36_2type !== 'rect') {
- Node36_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_2type === 'arc') {
- Node36_2.a('node.arcOval', true);
- }
- Node36_2.setRotation(0*Math.PI/180);
- Node36_2.borderWidth = Node36_2BorderWidth;
- Node36_2.borderFillwidth = Node36_2BorderWidth;
- dataModel.add(Node36_2);
- Node36_2._nodename = 'Node36_2'
- Node36_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36_2, Node36_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_3type = 'rect';
- var Node36_3 = new ht.Node(),
- Node36_3BorderWidth = 0*2;
- if (Node36_3type === 'arc') {
- Node36_3BorderWidth *= 0;
- }
- Node36_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_3.setPosition(827*ratio.ratioX, 285*ratio.ratioY);
- Node36_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_3.a('node.width', 127*_ratio.ratioX);
- Node36_3.a('node.height', 32*_ratio.ratioY);
- Node36_3.a('node.type', Node36_3type);
- Node36_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node36_3.a('node.gradientcolor', '');
- Node36_3.a('node.gradient', '');
- Node36_3.a('node.borderwidth', Node36_3BorderWidth);
- Node36_3.a('node.color', 'rgba(192,192,192,0)');
- Node36_3.a('node.fillrect', [0,0,0,0]);
- Node36_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_3.a('node.fillgradient', '');
- if (Node36_3type !== 'rect') {
- Node36_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_3type === 'arc') {
- Node36_3.a('node.arcOval', true);
- }
- Node36_3.setRotation(0*Math.PI/180);
- Node36_3.borderWidth = Node36_3BorderWidth;
- Node36_3.borderFillwidth = Node36_3BorderWidth;
- dataModel.add(Node36_3);
- Node36_3._nodename = 'Node36_3'
- Node36_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36_3, Node36_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_4type = 'rect';
- var Node36_4 = new ht.Node(),
- Node36_4BorderWidth = 0*2;
- if (Node36_4type === 'arc') {
- Node36_4BorderWidth *= 0;
- }
- Node36_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_4.setPosition(827*ratio.ratioX, 316*ratio.ratioY);
- Node36_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_4.a('node.width', 127*_ratio.ratioX);
- Node36_4.a('node.height', 32*_ratio.ratioY);
- Node36_4.a('node.type', Node36_4type);
- Node36_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_4.a('node.background', 'rgba(245,245,245,1)');
- Node36_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node36_4.a('node.gradient', '');
- Node36_4.a('node.borderwidth', Node36_4BorderWidth);
- Node36_4.a('node.color', 'rgba(192,192,192,0)');
- Node36_4.a('node.fillrect', [0,0,0,0]);
- Node36_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_4.a('node.fillgradient', '');
- if (Node36_4type !== 'rect') {
- Node36_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_4type === 'arc') {
- Node36_4.a('node.arcOval', true);
- }
- Node36_4.setRotation(0*Math.PI/180);
- Node36_4.borderWidth = Node36_4BorderWidth;
- Node36_4.borderFillwidth = Node36_4BorderWidth;
- dataModel.add(Node36_4);
- Node36_4._nodename = 'Node36_4'
- Node36_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36_4, Node36_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_5type = 'rect';
- var Node36_5 = new ht.Node(),
- Node36_5BorderWidth = 0*2;
- if (Node36_5type === 'arc') {
- Node36_5BorderWidth *= 0;
- }
- Node36_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_5.setPosition(827*ratio.ratioX, 347*ratio.ratioY);
- Node36_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_5.a('node.width', 127*_ratio.ratioX);
- Node36_5.a('node.height', 32*_ratio.ratioY);
- Node36_5.a('node.type', Node36_5type);
- Node36_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node36_5.a('node.gradientcolor', '');
- Node36_5.a('node.gradient', '');
- Node36_5.a('node.borderwidth', Node36_5BorderWidth);
- Node36_5.a('node.color', 'rgba(192,192,192,0)');
- Node36_5.a('node.fillrect', [0,0,0,0]);
- Node36_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_5.a('node.fillgradient', '');
- if (Node36_5type !== 'rect') {
- Node36_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_5type === 'arc') {
- Node36_5.a('node.arcOval', true);
- }
- Node36_5.setRotation(0*Math.PI/180);
- Node36_5.borderWidth = Node36_5BorderWidth;
- Node36_5.borderFillwidth = Node36_5BorderWidth;
- dataModel.add(Node36_5);
- Node36_5._nodename = 'Node36_5'
- Node36_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36_5, Node36_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_6type = 'rect';
- var Node36_6 = new ht.Node(),
- Node36_6BorderWidth = 0*2;
- if (Node36_6type === 'arc') {
- Node36_6BorderWidth *= 0;
- }
- Node36_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node36_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_6.setPosition(827*ratio.ratioX, 378*ratio.ratioY);
- Node36_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node36_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_6.a('node.width', 127*_ratio.ratioX);
- Node36_6.a('node.height', 32*_ratio.ratioY);
- Node36_6.a('node.type', Node36_6type);
- Node36_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node36_6.a('node.background', 'rgba(245,245,245,1)');
- Node36_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node36_6.a('node.gradient', '');
- Node36_6.a('node.borderwidth', Node36_6BorderWidth);
- Node36_6.a('node.color', 'rgba(192,192,192,0)');
- Node36_6.a('node.fillrect', [0,0,0,0]);
- Node36_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_6.a('node.fillgradient', '');
- if (Node36_6type !== 'rect') {
- Node36_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_6type === 'arc') {
- Node36_6.a('node.arcOval', true);
- }
- Node36_6.setRotation(0*Math.PI/180);
- Node36_6.borderWidth = Node36_6BorderWidth;
- Node36_6.borderFillwidth = Node36_6BorderWidth;
- dataModel.add(Node36_6);
- Node36_6._nodename = 'Node36_6'
- Node36_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36_6, Node36_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_7type = 'rect';
- var Node36_7 = new ht.Node(),
- Node36_7BorderWidth = 1*2;
- if (Node36_7type === 'arc') {
- Node36_7BorderWidth *= 1;
- }
- Node36_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node36_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36_7.setPosition(827*ratio.ratioX, 239*ratio.ratioY);
- Node36_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node36_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36_7.a('node.width', 127*_ratio.ratioX);
- Node36_7.a('node.height', 309*_ratio.ratioY);
- Node36_7.a('node.type', Node36_7type);
- Node36_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node36_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node36_7.a('node.gradientcolor', '');
- Node36_7.a('node.gradient', '');
- Node36_7.a('node.borderwidth', Node36_7BorderWidth);
- Node36_7.a('node.color', 'rgba(192,192,192,1)');
- Node36_7.a('node.fillrect', [0,0,0,0]);
- Node36_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36_7.a('node.fillgradient', '');
- if (Node36_7type !== 'rect') {
- Node36_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node36_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36_7type === 'arc') {
- Node36_7.a('node.arcOval', true);
- }
- Node36_7.setRotation(0*Math.PI/180);
- Node36_7.borderWidth = Node36_7BorderWidth;
- Node36_7.borderFillwidth = Node36_7BorderWidth;
- dataModel.add(Node36_7);
- Node36_7._nodename = 'Node36_7'
- Node36_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36_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);
- }
- })(Node36_7, Node36_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_8 = new ht.Node();
- var Node36_8textStart, Node36_8textWidth, Node36_8lineStart, Node36_8align = 'center', Node36_8fontSize = 13.3333*_ratio.ratioY,Node36_8width = 105*_ratio.ratioX, Node36_8height = 27*_ratio.ratioY;
- (function () {
- if (Node36_8align === 'left') {
- Node36_8textStart = Node36_8fontSize * 0.2 > 2 ? Node36_8fontSize * 0.2 - 4 : Node36_8fontSize * 0.2 - 9;
- Node36_8textWidth = Node36_8width;
- Node36_8lineStart = 1;
- } else if (Node36_8align === 'right') {
- Node36_8textStart = 0;
- Node36_8textWidth =Node36_8fontSize <= 8 ? Node36_8width + Node36_8fontSize * 0.2 + 6 : Node36_8width - Node36_8fontSize * 0.2;
- Node36_8lineStart = (Node36_8width - (ht.Default.getTextSize('月利用小时', 'bold '+ Node36_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36_8align === 'center') {
- Node36_8textStart = -3;
- Node36_8textWidth = Node36_8width;
- Node36_8lineStart = Node36_8width - ht.Default.getTextSize('月利用小时', 'bold '+ Node36_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36_8.setImage(GD.getTextJSON(Node36_8width, Node36_8height, true, false, false, 'bold '+ Node36_8fontSize + 'px "Arial"'))
- Node36_8.setPosition(824*ratio.ratioX, 103*ratio.ratioY);
- Node36_8.setWidth(Node36_8width);
- Node36_8.setHeight(Node36_8height);
- Node36_8._nodeType = 'text';
- Node36_8._disallowEvert = true;
- Node36_8.setRotation(0*Math.PI/180);
- Node36_8.a('node.width', Node36_8width);
- Node36_8.a('node.height', Node36_8height);
- Node36_8.a('node.rect', [0, 0, Node36_8width, Node36_8height]);
- Node36_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node36_8.a('node.borderwidth', 0);
- Node36_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_8.a('node.gradient','');
- Node36_8.a('node.gradientcolor','');
- Node36_8.a('node.text','月利用小时');
- Node36_8.a('node.textalign','center');
- Node36_8.a('node.textvAlign','middle');
- Node36_8.a('node.textrect', [Node36_8textStart, 0, Node36_8textWidth, Node36_8height]);
- Node36_8.a('node.color','rgba(255,255,255,1)');
- Node36_8.a('node.font','bold '+ Node36_8fontSize + 'px "Arial"');
- Node36_8.a('node.textvisible',true);
- Node36_8.a('node.linefeed',false);
- if (false) {
- Node36_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_8.a('node.text') || '月利用小时';
- var color=Node36_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_8width,Node36_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36_8.a('node.underlinepoints',[Node36_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_8fontSize + 2 , ht.Default.getTextSize('月利用小时', 'bold '+ Node36_8fontSize + 'px "Arial"').width + 6, (Node36_8height - Node36_8fontSize) * 0.5*_ratio.ratioY + Node36_8fontSize + 2 ]);
- Node36_8.a('node.underlinevisible',false);
- Node36_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_8);
- zoomNodeList.push({
- node: Node36_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_9 = new ht.Node();
- var Node36_9textStart, Node36_9textWidth, Node36_9lineStart, Node36_9align = 'center', Node36_9fontSize = 11.99997*_ratio.ratioY,Node36_9width = 105*_ratio.ratioX, Node36_9height = 17*_ratio.ratioY;
- (function () {
- if (Node36_9align === 'left') {
- Node36_9textStart = Node36_9fontSize * 0.2 > 2 ? Node36_9fontSize * 0.2 - 4 : Node36_9fontSize * 0.2 - 9;
- Node36_9textWidth = Node36_9width;
- Node36_9lineStart = 1;
- } else if (Node36_9align === 'right') {
- Node36_9textStart = 0;
- Node36_9textWidth =Node36_9fontSize <= 8 ? Node36_9width + Node36_9fontSize * 0.2 + 6 : Node36_9width - Node36_9fontSize * 0.2;
- Node36_9lineStart = (Node36_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node36_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36_9align === 'center') {
- Node36_9textStart = -3;
- Node36_9textWidth = Node36_9width;
- Node36_9lineStart = Node36_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node36_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36_9.setImage(GD.getTextJSON(Node36_9width, Node36_9height, true, false, false, 'bold '+ Node36_9fontSize + 'px "Arial"'))
- Node36_9.setPosition(824*ratio.ratioX, 131*ratio.ratioY);
- Node36_9.setWidth(Node36_9width);
- Node36_9.setHeight(Node36_9height);
- Node36_9._nodeType = 'text';
- Node36_9._disallowEvert = true;
- Node36_9.setRotation(0*Math.PI/180);
- Node36_9.a('node.width', Node36_9width);
- Node36_9.a('node.height', Node36_9height);
- Node36_9.a('node.rect', [0, 0, Node36_9width, Node36_9height]);
- Node36_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node36_9.a('node.borderwidth', 0);
- Node36_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_9.a('node.gradient','');
- Node36_9.a('node.gradientcolor','');
- Node36_9.a('node.text','万kwh');
- Node36_9.a('node.textalign','center');
- Node36_9.a('node.textvAlign','middle');
- Node36_9.a('node.textrect', [Node36_9textStart, 0, Node36_9textWidth, Node36_9height]);
- Node36_9.a('node.color','rgba(128,128,128,1)');
- Node36_9.a('node.font','bold '+ Node36_9fontSize + 'px "Arial"');
- Node36_9.a('node.textvisible',true);
- Node36_9.a('node.linefeed',false);
- if (false) {
- Node36_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_9.a('node.text') || '万kwh';
- var color=Node36_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node36_9width,Node36_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node36_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36_9.a('node.underlinepoints',[Node36_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node36_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node36_9fontSize + 'px "Arial"').width + 6, (Node36_9height - Node36_9fontSize) * 0.5*_ratio.ratioY + Node36_9fontSize + 2 ]);
- Node36_9.a('node.underlinevisible',false);
- Node36_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_9);
- zoomNodeList.push({
- node: Node36_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_10 = new ht.Node();
- var Node36_10textStart, Node36_10textWidth, Node36_10lineStart, Node36_10align = 'center', Node36_10fontSize = 13.3333*_ratio.ratioY,Node36_10width = 105*_ratio.ratioX, Node36_10height = 27*_ratio.ratioY;
- (function () {
- if (Node36_10align === 'left') {
- Node36_10textStart = Node36_10fontSize * 0.2 > 2 ? Node36_10fontSize * 0.2 - 4 : Node36_10fontSize * 0.2 - 9;
- Node36_10textWidth = Node36_10width;
- Node36_10lineStart = 1;
- } else if (Node36_10align === 'right') {
- Node36_10textStart = 0;
- Node36_10textWidth =Node36_10fontSize <= 8 ? Node36_10width + Node36_10fontSize * 0.2 + 6 : Node36_10width - Node36_10fontSize * 0.2;
- Node36_10lineStart = (Node36_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node36_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_10align === 'center') {
- Node36_10textStart = -3;
- Node36_10textWidth = Node36_10width;
- Node36_10lineStart = Node36_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node36_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_10.setImage(GD.getTextJSON(Node36_10width, Node36_10height, true, false, false, 'bold '+ Node36_10fontSize + 'px "UniDreamLED"'))
- Node36_10.setPosition(824*ratio.ratioX, 158*ratio.ratioY);
- Node36_10.setWidth(Node36_10width);
- Node36_10.setHeight(Node36_10height);
- Node36_10._nodeType = 'text';
- Node36_10._disallowEvert = true;
- Node36_10.setRotation(0*Math.PI/180);
- Node36_10.a('node.width', Node36_10width);
- Node36_10.a('node.height', Node36_10height);
- Node36_10.a('node.rect', [0, 0, Node36_10width, Node36_10height]);
- Node36_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_10.a('node.borderwidth', 0);
- Node36_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_10.a('node.gradient','');
- Node36_10.a('node.gradientcolor','');
- Node36_10.a('node.text','1134.76');
- Node36_10.a('node.textalign','center');
- Node36_10.a('node.textvAlign','middle');
- Node36_10.a('node.textrect', [Node36_10textStart, 0, Node36_10textWidth, Node36_10height]);
- Node36_10.a('node.color','rgba(0,0,0,1)');
- Node36_10.a('node.font','bold '+ Node36_10fontSize + 'px "UniDreamLED"');
- Node36_10.a('node.textvisible',true);
- Node36_10.a('node.linefeed',false);
- if (false) {
- Node36_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_10.a('node.text') || '1134.76';
- var color=Node36_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_10width,Node36_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_10.a('node.underlinepoints',[Node36_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node36_10fontSize + 'px "UniDreamLED"').width + 6, (Node36_10height - Node36_10fontSize) * 0.5*_ratio.ratioY + Node36_10fontSize + 2 ]);
- Node36_10.a('node.underlinevisible',false);
- Node36_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_10);
- zoomNodeList.push({
- node: Node36_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_11 = new ht.Node();
- var Node36_11textStart, Node36_11textWidth, Node36_11lineStart, Node36_11align = 'center', Node36_11fontSize = 13.3333*_ratio.ratioY,Node36_11width = 110*_ratio.ratioX, Node36_11height = 27*_ratio.ratioY;
- (function () {
- if (Node36_11align === 'left') {
- Node36_11textStart = Node36_11fontSize * 0.2 > 2 ? Node36_11fontSize * 0.2 - 4 : Node36_11fontSize * 0.2 - 9;
- Node36_11textWidth = Node36_11width;
- Node36_11lineStart = 1;
- } else if (Node36_11align === 'right') {
- Node36_11textStart = 0;
- Node36_11textWidth =Node36_11fontSize <= 8 ? Node36_11width + Node36_11fontSize * 0.2 + 6 : Node36_11width - Node36_11fontSize * 0.2;
- Node36_11lineStart = (Node36_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node36_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_11align === 'center') {
- Node36_11textStart = -3;
- Node36_11textWidth = Node36_11width;
- Node36_11lineStart = Node36_11width - ht.Default.getTextSize('171.51', 'bold '+ Node36_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_11.setImage(GD.getTextJSON(Node36_11width, Node36_11height, true, false, false, 'bold '+ Node36_11fontSize + 'px "UniDreamLED"'))
- Node36_11.setPosition(827*ratio.ratioX, 190*ratio.ratioY);
- Node36_11.setWidth(Node36_11width);
- Node36_11.setHeight(Node36_11height);
- Node36_11._nodeType = 'text';
- Node36_11._disallowEvert = true;
- Node36_11.setRotation(0*Math.PI/180);
- Node36_11.a('node.width', Node36_11width);
- Node36_11.a('node.height', Node36_11height);
- Node36_11.a('node.rect', [0, 0, Node36_11width, Node36_11height]);
- Node36_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_11.a('node.borderwidth', 0);
- Node36_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_11.a('node.gradient','');
- Node36_11.a('node.gradientcolor','');
- Node36_11.a('node.text','171.51');
- Node36_11.a('node.textalign','center');
- Node36_11.a('node.textvAlign','middle');
- Node36_11.a('node.textrect', [Node36_11textStart, 0, Node36_11textWidth, Node36_11height]);
- Node36_11.a('node.color','rgba(0,0,0,1)');
- Node36_11.a('node.font','bold '+ Node36_11fontSize + 'px "UniDreamLED"');
- Node36_11.a('node.textvisible',true);
- Node36_11.a('node.linefeed',false);
- if (false) {
- Node36_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_11.a('node.text') || '171.51';
- var color=Node36_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_11width,Node36_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_11.a('node.underlinepoints',[Node36_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node36_11fontSize + 'px "UniDreamLED"').width + 6, (Node36_11height - Node36_11fontSize) * 0.5*_ratio.ratioY + Node36_11fontSize + 2 ]);
- Node36_11.a('node.underlinevisible',false);
- Node36_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_11);
- zoomNodeList.push({
- node: Node36_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_12 = new ht.Node();
- var Node36_12textStart, Node36_12textWidth, Node36_12lineStart, Node36_12align = 'center', Node36_12fontSize = 13.3333*_ratio.ratioY,Node36_12width = 110*_ratio.ratioX, Node36_12height = 27*_ratio.ratioY;
- (function () {
- if (Node36_12align === 'left') {
- Node36_12textStart = Node36_12fontSize * 0.2 > 2 ? Node36_12fontSize * 0.2 - 4 : Node36_12fontSize * 0.2 - 9;
- Node36_12textWidth = Node36_12width;
- Node36_12lineStart = 1;
- } else if (Node36_12align === 'right') {
- Node36_12textStart = 0;
- Node36_12textWidth =Node36_12fontSize <= 8 ? Node36_12width + Node36_12fontSize * 0.2 + 6 : Node36_12width - Node36_12fontSize * 0.2;
- Node36_12lineStart = (Node36_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node36_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_12align === 'center') {
- Node36_12textStart = -3;
- Node36_12textWidth = Node36_12width;
- Node36_12lineStart = Node36_12width - ht.Default.getTextSize('329.51', 'bold '+ Node36_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_12.setImage(GD.getTextJSON(Node36_12width, Node36_12height, true, false, false, 'bold '+ Node36_12fontSize + 'px "UniDreamLED"'))
- Node36_12.setPosition(827*ratio.ratioX, 220*ratio.ratioY);
- Node36_12.setWidth(Node36_12width);
- Node36_12.setHeight(Node36_12height);
- Node36_12._nodeType = 'text';
- Node36_12._disallowEvert = true;
- Node36_12.setRotation(0*Math.PI/180);
- Node36_12.a('node.width', Node36_12width);
- Node36_12.a('node.height', Node36_12height);
- Node36_12.a('node.rect', [0, 0, Node36_12width, Node36_12height]);
- Node36_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_12.a('node.borderwidth', 0);
- Node36_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_12.a('node.gradient','');
- Node36_12.a('node.gradientcolor','');
- Node36_12.a('node.text','329.51');
- Node36_12.a('node.textalign','center');
- Node36_12.a('node.textvAlign','middle');
- Node36_12.a('node.textrect', [Node36_12textStart, 0, Node36_12textWidth, Node36_12height]);
- Node36_12.a('node.color','rgba(0,0,0,1)');
- Node36_12.a('node.font','bold '+ Node36_12fontSize + 'px "UniDreamLED"');
- Node36_12.a('node.textvisible',true);
- Node36_12.a('node.linefeed',false);
- if (false) {
- Node36_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_12.a('node.text') || '329.51';
- var color=Node36_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_12width,Node36_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_12.a('node.underlinepoints',[Node36_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node36_12fontSize + 'px "UniDreamLED"').width + 6, (Node36_12height - Node36_12fontSize) * 0.5*_ratio.ratioY + Node36_12fontSize + 2 ]);
- Node36_12.a('node.underlinevisible',false);
- Node36_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_12);
- zoomNodeList.push({
- node: Node36_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_13 = new ht.Node();
- var Node36_13textStart, Node36_13textWidth, Node36_13lineStart, Node36_13align = 'center', Node36_13fontSize = 13.3333*_ratio.ratioY,Node36_13width = 110*_ratio.ratioX, Node36_13height = 27*_ratio.ratioY;
- (function () {
- if (Node36_13align === 'left') {
- Node36_13textStart = Node36_13fontSize * 0.2 > 2 ? Node36_13fontSize * 0.2 - 4 : Node36_13fontSize * 0.2 - 9;
- Node36_13textWidth = Node36_13width;
- Node36_13lineStart = 1;
- } else if (Node36_13align === 'right') {
- Node36_13textStart = 0;
- Node36_13textWidth =Node36_13fontSize <= 8 ? Node36_13width + Node36_13fontSize * 0.2 + 6 : Node36_13width - Node36_13fontSize * 0.2;
- Node36_13lineStart = (Node36_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node36_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_13align === 'center') {
- Node36_13textStart = -3;
- Node36_13textWidth = Node36_13width;
- Node36_13lineStart = Node36_13width - ht.Default.getTextSize('340.14', 'bold '+ Node36_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_13.setImage(GD.getTextJSON(Node36_13width, Node36_13height, true, false, false, 'bold '+ Node36_13fontSize + 'px "UniDreamLED"'))
- Node36_13.setPosition(827*ratio.ratioX, 250*ratio.ratioY);
- Node36_13.setWidth(Node36_13width);
- Node36_13.setHeight(Node36_13height);
- Node36_13._nodeType = 'text';
- Node36_13._disallowEvert = true;
- Node36_13.setRotation(0*Math.PI/180);
- Node36_13.a('node.width', Node36_13width);
- Node36_13.a('node.height', Node36_13height);
- Node36_13.a('node.rect', [0, 0, Node36_13width, Node36_13height]);
- Node36_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_13.a('node.borderwidth', 0);
- Node36_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_13.a('node.gradient','');
- Node36_13.a('node.gradientcolor','');
- Node36_13.a('node.text','340.14');
- Node36_13.a('node.textalign','center');
- Node36_13.a('node.textvAlign','middle');
- Node36_13.a('node.textrect', [Node36_13textStart, 0, Node36_13textWidth, Node36_13height]);
- Node36_13.a('node.color','rgba(0,0,0,1)');
- Node36_13.a('node.font','bold '+ Node36_13fontSize + 'px "UniDreamLED"');
- Node36_13.a('node.textvisible',true);
- Node36_13.a('node.linefeed',false);
- if (false) {
- Node36_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_13.a('node.text') || '340.14';
- var color=Node36_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_13width,Node36_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_13.a('node.underlinepoints',[Node36_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node36_13fontSize + 'px "UniDreamLED"').width + 6, (Node36_13height - Node36_13fontSize) * 0.5*_ratio.ratioY + Node36_13fontSize + 2 ]);
- Node36_13.a('node.underlinevisible',false);
- Node36_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_13);
- zoomNodeList.push({
- node: Node36_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_14 = new ht.Node();
- var Node36_14textStart, Node36_14textWidth, Node36_14lineStart, Node36_14align = 'center', Node36_14fontSize = 13.3333*_ratio.ratioY,Node36_14width = 110*_ratio.ratioX, Node36_14height = 27*_ratio.ratioY;
- (function () {
- if (Node36_14align === 'left') {
- Node36_14textStart = Node36_14fontSize * 0.2 > 2 ? Node36_14fontSize * 0.2 - 4 : Node36_14fontSize * 0.2 - 9;
- Node36_14textWidth = Node36_14width;
- Node36_14lineStart = 1;
- } else if (Node36_14align === 'right') {
- Node36_14textStart = 0;
- Node36_14textWidth =Node36_14fontSize <= 8 ? Node36_14width + Node36_14fontSize * 0.2 + 6 : Node36_14width - Node36_14fontSize * 0.2;
- Node36_14lineStart = (Node36_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node36_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_14align === 'center') {
- Node36_14textStart = -3;
- Node36_14textWidth = Node36_14width;
- Node36_14lineStart = Node36_14width - ht.Default.getTextSize('60.61', 'bold '+ Node36_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_14.setImage(GD.getTextJSON(Node36_14width, Node36_14height, true, false, false, 'bold '+ Node36_14fontSize + 'px "UniDreamLED"'))
- Node36_14.setPosition(827*ratio.ratioX, 284*ratio.ratioY);
- Node36_14.setWidth(Node36_14width);
- Node36_14.setHeight(Node36_14height);
- Node36_14._nodeType = 'text';
- Node36_14._disallowEvert = true;
- Node36_14.setRotation(0*Math.PI/180);
- Node36_14.a('node.width', Node36_14width);
- Node36_14.a('node.height', Node36_14height);
- Node36_14.a('node.rect', [0, 0, Node36_14width, Node36_14height]);
- Node36_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_14.a('node.borderwidth', 0);
- Node36_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_14.a('node.gradient','');
- Node36_14.a('node.gradientcolor','');
- Node36_14.a('node.text','60.61');
- Node36_14.a('node.textalign','center');
- Node36_14.a('node.textvAlign','middle');
- Node36_14.a('node.textrect', [Node36_14textStart, 0, Node36_14textWidth, Node36_14height]);
- Node36_14.a('node.color','rgba(0,0,0,1)');
- Node36_14.a('node.font','bold '+ Node36_14fontSize + 'px "UniDreamLED"');
- Node36_14.a('node.textvisible',true);
- Node36_14.a('node.linefeed',false);
- if (false) {
- Node36_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_14.a('node.text') || '60.61';
- var color=Node36_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_14width,Node36_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_14.a('node.underlinepoints',[Node36_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node36_14fontSize + 'px "UniDreamLED"').width + 6, (Node36_14height - Node36_14fontSize) * 0.5*_ratio.ratioY + Node36_14fontSize + 2 ]);
- Node36_14.a('node.underlinevisible',false);
- Node36_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_14);
- zoomNodeList.push({
- node: Node36_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_15 = new ht.Node();
- var Node36_15textStart, Node36_15textWidth, Node36_15lineStart, Node36_15align = 'center', Node36_15fontSize = 13.3333*_ratio.ratioY,Node36_15width = 110*_ratio.ratioX, Node36_15height = 27*_ratio.ratioY;
- (function () {
- if (Node36_15align === 'left') {
- Node36_15textStart = Node36_15fontSize * 0.2 > 2 ? Node36_15fontSize * 0.2 - 4 : Node36_15fontSize * 0.2 - 9;
- Node36_15textWidth = Node36_15width;
- Node36_15lineStart = 1;
- } else if (Node36_15align === 'right') {
- Node36_15textStart = 0;
- Node36_15textWidth =Node36_15fontSize <= 8 ? Node36_15width + Node36_15fontSize * 0.2 + 6 : Node36_15width - Node36_15fontSize * 0.2;
- Node36_15lineStart = (Node36_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node36_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_15align === 'center') {
- Node36_15textStart = -3;
- Node36_15textWidth = Node36_15width;
- Node36_15lineStart = Node36_15width - ht.Default.getTextSize('166.79', 'bold '+ Node36_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_15.setImage(GD.getTextJSON(Node36_15width, Node36_15height, true, false, false, 'bold '+ Node36_15fontSize + 'px "UniDreamLED"'))
- Node36_15.setPosition(827*ratio.ratioX, 317*ratio.ratioY);
- Node36_15.setWidth(Node36_15width);
- Node36_15.setHeight(Node36_15height);
- Node36_15._nodeType = 'text';
- Node36_15._disallowEvert = true;
- Node36_15.setRotation(0*Math.PI/180);
- Node36_15.a('node.width', Node36_15width);
- Node36_15.a('node.height', Node36_15height);
- Node36_15.a('node.rect', [0, 0, Node36_15width, Node36_15height]);
- Node36_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_15.a('node.borderwidth', 0);
- Node36_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_15.a('node.gradient','');
- Node36_15.a('node.gradientcolor','');
- Node36_15.a('node.text','166.79');
- Node36_15.a('node.textalign','center');
- Node36_15.a('node.textvAlign','middle');
- Node36_15.a('node.textrect', [Node36_15textStart, 0, Node36_15textWidth, Node36_15height]);
- Node36_15.a('node.color','rgba(0,0,0,1)');
- Node36_15.a('node.font','bold '+ Node36_15fontSize + 'px "UniDreamLED"');
- Node36_15.a('node.textvisible',true);
- Node36_15.a('node.linefeed',false);
- if (false) {
- Node36_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_15.a('node.text') || '166.79';
- var color=Node36_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_15width,Node36_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_15.a('node.underlinepoints',[Node36_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node36_15fontSize + 'px "UniDreamLED"').width + 6, (Node36_15height - Node36_15fontSize) * 0.5*_ratio.ratioY + Node36_15fontSize + 2 ]);
- Node36_15.a('node.underlinevisible',false);
- Node36_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_15);
- zoomNodeList.push({
- node: Node36_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_16 = new ht.Node();
- var Node36_16textStart, Node36_16textWidth, Node36_16lineStart, Node36_16align = 'center', Node36_16fontSize = 13.3333*_ratio.ratioY,Node36_16width = 110*_ratio.ratioX, Node36_16height = 27*_ratio.ratioY;
- (function () {
- if (Node36_16align === 'left') {
- Node36_16textStart = Node36_16fontSize * 0.2 > 2 ? Node36_16fontSize * 0.2 - 4 : Node36_16fontSize * 0.2 - 9;
- Node36_16textWidth = Node36_16width;
- Node36_16lineStart = 1;
- } else if (Node36_16align === 'right') {
- Node36_16textStart = 0;
- Node36_16textWidth =Node36_16fontSize <= 8 ? Node36_16width + Node36_16fontSize * 0.2 + 6 : Node36_16width - Node36_16fontSize * 0.2;
- Node36_16lineStart = (Node36_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node36_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_16align === 'center') {
- Node36_16textStart = -3;
- Node36_16textWidth = Node36_16width;
- Node36_16lineStart = Node36_16width - ht.Default.getTextSize('66.18', 'bold '+ Node36_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_16.setImage(GD.getTextJSON(Node36_16width, Node36_16height, true, false, false, 'bold '+ Node36_16fontSize + 'px "UniDreamLED"'))
- Node36_16.setPosition(827*ratio.ratioX, 346*ratio.ratioY);
- Node36_16.setWidth(Node36_16width);
- Node36_16.setHeight(Node36_16height);
- Node36_16._nodeType = 'text';
- Node36_16._disallowEvert = true;
- Node36_16.setRotation(0*Math.PI/180);
- Node36_16.a('node.width', Node36_16width);
- Node36_16.a('node.height', Node36_16height);
- Node36_16.a('node.rect', [0, 0, Node36_16width, Node36_16height]);
- Node36_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_16.a('node.borderwidth', 0);
- Node36_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_16.a('node.gradient','');
- Node36_16.a('node.gradientcolor','');
- Node36_16.a('node.text','66.18');
- Node36_16.a('node.textalign','center');
- Node36_16.a('node.textvAlign','middle');
- Node36_16.a('node.textrect', [Node36_16textStart, 0, Node36_16textWidth, Node36_16height]);
- Node36_16.a('node.color','rgba(0,0,0,1)');
- Node36_16.a('node.font','bold '+ Node36_16fontSize + 'px "UniDreamLED"');
- Node36_16.a('node.textvisible',true);
- Node36_16.a('node.linefeed',false);
- if (false) {
- Node36_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_16.a('node.text') || '66.18';
- var color=Node36_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_16width,Node36_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_16.a('node.underlinepoints',[Node36_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node36_16fontSize + 'px "UniDreamLED"').width + 6, (Node36_16height - Node36_16fontSize) * 0.5*_ratio.ratioY + Node36_16fontSize + 2 ]);
- Node36_16.a('node.underlinevisible',false);
- Node36_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_16);
- zoomNodeList.push({
- node: Node36_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36_17 = new ht.Node();
- var Node36_17textStart, Node36_17textWidth, Node36_17lineStart, Node36_17align = 'center', Node36_17fontSize = 13.3333*_ratio.ratioY,Node36_17width = 110*_ratio.ratioX, Node36_17height = 27*_ratio.ratioY;
- (function () {
- if (Node36_17align === 'left') {
- Node36_17textStart = Node36_17fontSize * 0.2 > 2 ? Node36_17fontSize * 0.2 - 4 : Node36_17fontSize * 0.2 - 9;
- Node36_17textWidth = Node36_17width;
- Node36_17lineStart = 1;
- } else if (Node36_17align === 'right') {
- Node36_17textStart = 0;
- Node36_17textWidth =Node36_17fontSize <= 8 ? Node36_17width + Node36_17fontSize * 0.2 + 6 : Node36_17width - Node36_17fontSize * 0.2;
- Node36_17lineStart = (Node36_17width - (ht.Default.getTextSize('-', 'bold '+ Node36_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node36_17align === 'center') {
- Node36_17textStart = -3;
- Node36_17textWidth = Node36_17width;
- Node36_17lineStart = Node36_17width - ht.Default.getTextSize('-', 'bold '+ Node36_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node36_17.setImage(GD.getTextJSON(Node36_17width, Node36_17height, true, false, false, 'bold '+ Node36_17fontSize + 'px "UniDreamLED"'))
- Node36_17.setPosition(827*ratio.ratioX, 377*ratio.ratioY);
- Node36_17.setWidth(Node36_17width);
- Node36_17.setHeight(Node36_17height);
- Node36_17._nodeType = 'text';
- Node36_17._disallowEvert = true;
- Node36_17.setRotation(0*Math.PI/180);
- Node36_17.a('node.width', Node36_17width);
- Node36_17.a('node.height', Node36_17height);
- Node36_17.a('node.rect', [0, 0, Node36_17width, Node36_17height]);
- Node36_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node36_17.a('node.borderwidth', 0);
- Node36_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node36_17.a('node.gradient','');
- Node36_17.a('node.gradientcolor','');
- Node36_17.a('node.text','-');
- Node36_17.a('node.textalign','center');
- Node36_17.a('node.textvAlign','middle');
- Node36_17.a('node.textrect', [Node36_17textStart, 0, Node36_17textWidth, Node36_17height]);
- Node36_17.a('node.color','rgba(0,0,0,1)');
- Node36_17.a('node.font','bold '+ Node36_17fontSize + 'px "UniDreamLED"');
- Node36_17.a('node.textvisible',true);
- Node36_17.a('node.linefeed',false);
- if (false) {
- Node36_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36_17.a('node.text') || '-';
- var color=Node36_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36_17width,Node36_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node36_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node36_17.a('node.underlinepoints',[Node36_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node36_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node36_17fontSize + 'px "UniDreamLED"').width + 6, (Node36_17height - Node36_17fontSize) * 0.5*_ratio.ratioY + Node36_17fontSize + 2 ]);
- Node36_17.a('node.underlinevisible',false);
- Node36_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36_17);
- zoomNodeList.push({
- node: Node36_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node37_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node37_0 = new ht.Node();
- Node37_0.setPosition(827*ratio.ratioX, 237*ratio.ratioY);
- Node37_0.setSize(127*ratioX, 313*ratioY);
- Node37_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node37_0.setRotation(0*Math.PI/180);
- Node37_0._zoomBy = 'Default';
- Node37_0._nodeType = 'image';
- Node37_0._disallowEvert = true;
- dataModel.add(Node37_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37_1 = new ht.Node();
- var Node37_1textStart, Node37_1textWidth, Node37_1lineStart, Node37_1align = 'center', Node37_1fontSize = 13.3333*_ratio.ratioY,Node37_1width = 105*_ratio.ratioX, Node37_1height = 27*_ratio.ratioY;
- (function () {
- if (Node37_1align === 'left') {
- Node37_1textStart = Node37_1fontSize * 0.2 > 2 ? Node37_1fontSize * 0.2 - 4 : Node37_1fontSize * 0.2 - 9;
- Node37_1textWidth = Node37_1width;
- Node37_1lineStart = 1;
- } else if (Node37_1align === 'right') {
- Node37_1textStart = 0;
- Node37_1textWidth =Node37_1fontSize <= 8 ? Node37_1width + Node37_1fontSize * 0.2 + 6 : Node37_1width - Node37_1fontSize * 0.2;
- Node37_1lineStart = (Node37_1width - (ht.Default.getTextSize('月利用小时', 'bold '+ Node37_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node37_1align === 'center') {
- Node37_1textStart = -3;
- Node37_1textWidth = Node37_1width;
- Node37_1lineStart = Node37_1width - ht.Default.getTextSize('月利用小时', 'bold '+ Node37_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node37_1.setImage(GD.getTextJSON(Node37_1width, Node37_1height, true, false, false, 'bold '+ Node37_1fontSize + 'px "Arial"'))
- Node37_1.setPosition(822*ratio.ratioX, 102*ratio.ratioY);
- Node37_1.setWidth(Node37_1width);
- Node37_1.setHeight(Node37_1height);
- Node37_1._nodeType = 'text';
- Node37_1._disallowEvert = true;
- Node37_1.setRotation(0*Math.PI/180);
- Node37_1.a('node.width', Node37_1width);
- Node37_1.a('node.height', Node37_1height);
- Node37_1.a('node.rect', [0, 0, Node37_1width, Node37_1height]);
- Node37_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node37_1.a('node.borderwidth', 0);
- Node37_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node37_1.a('node.gradient','');
- Node37_1.a('node.gradientcolor','');
- Node37_1.a('node.text','月利用小时');
- Node37_1.a('node.textalign','center');
- Node37_1.a('node.textvAlign','middle');
- Node37_1.a('node.textrect', [Node37_1textStart, 0, Node37_1textWidth, Node37_1height]);
- Node37_1.a('node.color','rgba(255,255,255,1)');
- Node37_1.a('node.font','bold '+ Node37_1fontSize + 'px "Arial"');
- Node37_1.a('node.textvisible',true);
- Node37_1.a('node.linefeed',false);
- if (false) {
- Node37_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node37_1.a('node.text') || '月利用小时';
- var color=Node37_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37_1width,Node37_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node37_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node37_1.a('node.underlinepoints',[Node37_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node37_1fontSize + 2 , ht.Default.getTextSize('月利用小时', 'bold '+ Node37_1fontSize + 'px "Arial"').width + 6, (Node37_1height - Node37_1fontSize) * 0.5*_ratio.ratioY + Node37_1fontSize + 2 ]);
- Node37_1.a('node.underlinevisible',false);
- Node37_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node37_1);
- zoomNodeList.push({
- node: Node37_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_0type = 'rect';
- var Node38_0 = new ht.Node(),
- Node38_0BorderWidth = 0*2;
- if (Node38_0type === 'arc') {
- Node38_0BorderWidth *= 0;
- }
- Node38_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_0.setPosition(1081*ratio.ratioX, 190*ratio.ratioY);
- Node38_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_0.a('node.width', 127*_ratio.ratioX);
- Node38_0.a('node.height', 32*_ratio.ratioY);
- Node38_0.a('node.type', Node38_0type);
- Node38_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_0.a('node.background', 'rgba(245,245,245,1)');
- Node38_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node38_0.a('node.gradient', '');
- Node38_0.a('node.borderwidth', Node38_0BorderWidth);
- Node38_0.a('node.color', 'rgba(192,192,192,0)');
- Node38_0.a('node.fillrect', [0,0,0,0]);
- Node38_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_0.a('node.fillgradient', '');
- if (Node38_0type !== 'rect') {
- Node38_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_0type === 'arc') {
- Node38_0.a('node.arcOval', true);
- }
- Node38_0.setRotation(0*Math.PI/180);
- Node38_0.borderWidth = Node38_0BorderWidth;
- Node38_0.borderFillwidth = Node38_0BorderWidth;
- dataModel.add(Node38_0);
- Node38_0._nodename = 'Node38_0'
- Node38_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_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);
- }
- })(Node38_0, Node38_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_1type = 'rect';
- var Node38_1 = new ht.Node(),
- Node38_1BorderWidth = 0*2;
- if (Node38_1type === 'arc') {
- Node38_1BorderWidth *= 0;
- }
- Node38_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_1.setPosition(1081*ratio.ratioX, 222*ratio.ratioY);
- Node38_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_1.a('node.width', 127*_ratio.ratioX);
- Node38_1.a('node.height', 32*_ratio.ratioY);
- Node38_1.a('node.type', Node38_1type);
- Node38_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node38_1.a('node.gradientcolor', '');
- Node38_1.a('node.gradient', '');
- Node38_1.a('node.borderwidth', Node38_1BorderWidth);
- Node38_1.a('node.color', 'rgba(192,192,192,0)');
- Node38_1.a('node.fillrect', [0,0,0,0]);
- Node38_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_1.a('node.fillgradient', '');
- if (Node38_1type !== 'rect') {
- Node38_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_1type === 'arc') {
- Node38_1.a('node.arcOval', true);
- }
- Node38_1.setRotation(0*Math.PI/180);
- Node38_1.borderWidth = Node38_1BorderWidth;
- Node38_1.borderFillwidth = Node38_1BorderWidth;
- dataModel.add(Node38_1);
- Node38_1._nodename = 'Node38_1'
- Node38_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_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);
- }
- })(Node38_1, Node38_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_2type = 'rect';
- var Node38_2 = new ht.Node(),
- Node38_2BorderWidth = 0*2;
- if (Node38_2type === 'arc') {
- Node38_2BorderWidth *= 0;
- }
- Node38_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_2.setPosition(1081*ratio.ratioX, 254*ratio.ratioY);
- Node38_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_2.a('node.width', 127*_ratio.ratioX);
- Node38_2.a('node.height', 32*_ratio.ratioY);
- Node38_2.a('node.type', Node38_2type);
- Node38_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_2.a('node.background', 'rgba(245,245,245,1)');
- Node38_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node38_2.a('node.gradient', '');
- Node38_2.a('node.borderwidth', Node38_2BorderWidth);
- Node38_2.a('node.color', 'rgba(192,192,192,0)');
- Node38_2.a('node.fillrect', [0,0,0,0]);
- Node38_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_2.a('node.fillgradient', '');
- if (Node38_2type !== 'rect') {
- Node38_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_2type === 'arc') {
- Node38_2.a('node.arcOval', true);
- }
- Node38_2.setRotation(0*Math.PI/180);
- Node38_2.borderWidth = Node38_2BorderWidth;
- Node38_2.borderFillwidth = Node38_2BorderWidth;
- dataModel.add(Node38_2);
- Node38_2._nodename = 'Node38_2'
- Node38_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node38_2, Node38_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_3type = 'rect';
- var Node38_3 = new ht.Node(),
- Node38_3BorderWidth = 0*2;
- if (Node38_3type === 'arc') {
- Node38_3BorderWidth *= 0;
- }
- Node38_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_3.setPosition(1081*ratio.ratioX, 285*ratio.ratioY);
- Node38_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_3.a('node.width', 127*_ratio.ratioX);
- Node38_3.a('node.height', 32*_ratio.ratioY);
- Node38_3.a('node.type', Node38_3type);
- Node38_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node38_3.a('node.gradientcolor', '');
- Node38_3.a('node.gradient', '');
- Node38_3.a('node.borderwidth', Node38_3BorderWidth);
- Node38_3.a('node.color', 'rgba(192,192,192,0)');
- Node38_3.a('node.fillrect', [0,0,0,0]);
- Node38_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_3.a('node.fillgradient', '');
- if (Node38_3type !== 'rect') {
- Node38_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_3type === 'arc') {
- Node38_3.a('node.arcOval', true);
- }
- Node38_3.setRotation(0*Math.PI/180);
- Node38_3.borderWidth = Node38_3BorderWidth;
- Node38_3.borderFillwidth = Node38_3BorderWidth;
- dataModel.add(Node38_3);
- Node38_3._nodename = 'Node38_3'
- Node38_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node38_3, Node38_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_4type = 'rect';
- var Node38_4 = new ht.Node(),
- Node38_4BorderWidth = 0*2;
- if (Node38_4type === 'arc') {
- Node38_4BorderWidth *= 0;
- }
- Node38_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_4.setPosition(1081*ratio.ratioX, 316*ratio.ratioY);
- Node38_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_4.a('node.width', 127*_ratio.ratioX);
- Node38_4.a('node.height', 32*_ratio.ratioY);
- Node38_4.a('node.type', Node38_4type);
- Node38_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_4.a('node.background', 'rgba(245,245,245,1)');
- Node38_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node38_4.a('node.gradient', '');
- Node38_4.a('node.borderwidth', Node38_4BorderWidth);
- Node38_4.a('node.color', 'rgba(192,192,192,0)');
- Node38_4.a('node.fillrect', [0,0,0,0]);
- Node38_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_4.a('node.fillgradient', '');
- if (Node38_4type !== 'rect') {
- Node38_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_4type === 'arc') {
- Node38_4.a('node.arcOval', true);
- }
- Node38_4.setRotation(0*Math.PI/180);
- Node38_4.borderWidth = Node38_4BorderWidth;
- Node38_4.borderFillwidth = Node38_4BorderWidth;
- dataModel.add(Node38_4);
- Node38_4._nodename = 'Node38_4'
- Node38_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node38_4, Node38_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_5type = 'rect';
- var Node38_5 = new ht.Node(),
- Node38_5BorderWidth = 0*2;
- if (Node38_5type === 'arc') {
- Node38_5BorderWidth *= 0;
- }
- Node38_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_5.setPosition(1081*ratio.ratioX, 347*ratio.ratioY);
- Node38_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_5.a('node.width', 127*_ratio.ratioX);
- Node38_5.a('node.height', 32*_ratio.ratioY);
- Node38_5.a('node.type', Node38_5type);
- Node38_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node38_5.a('node.gradientcolor', '');
- Node38_5.a('node.gradient', '');
- Node38_5.a('node.borderwidth', Node38_5BorderWidth);
- Node38_5.a('node.color', 'rgba(192,192,192,0)');
- Node38_5.a('node.fillrect', [0,0,0,0]);
- Node38_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_5.a('node.fillgradient', '');
- if (Node38_5type !== 'rect') {
- Node38_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_5type === 'arc') {
- Node38_5.a('node.arcOval', true);
- }
- Node38_5.setRotation(0*Math.PI/180);
- Node38_5.borderWidth = Node38_5BorderWidth;
- Node38_5.borderFillwidth = Node38_5BorderWidth;
- dataModel.add(Node38_5);
- Node38_5._nodename = 'Node38_5'
- Node38_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node38_5, Node38_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_6type = 'rect';
- var Node38_6 = new ht.Node(),
- Node38_6BorderWidth = 0*2;
- if (Node38_6type === 'arc') {
- Node38_6BorderWidth *= 0;
- }
- Node38_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node38_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_6.setPosition(1081*ratio.ratioX, 378*ratio.ratioY);
- Node38_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node38_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_6.a('node.width', 127*_ratio.ratioX);
- Node38_6.a('node.height', 32*_ratio.ratioY);
- Node38_6.a('node.type', Node38_6type);
- Node38_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node38_6.a('node.background', 'rgba(245,245,245,1)');
- Node38_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node38_6.a('node.gradient', '');
- Node38_6.a('node.borderwidth', Node38_6BorderWidth);
- Node38_6.a('node.color', 'rgba(192,192,192,0)');
- Node38_6.a('node.fillrect', [0,0,0,0]);
- Node38_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_6.a('node.fillgradient', '');
- if (Node38_6type !== 'rect') {
- Node38_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_6type === 'arc') {
- Node38_6.a('node.arcOval', true);
- }
- Node38_6.setRotation(0*Math.PI/180);
- Node38_6.borderWidth = Node38_6BorderWidth;
- Node38_6.borderFillwidth = Node38_6BorderWidth;
- dataModel.add(Node38_6);
- Node38_6._nodename = 'Node38_6'
- Node38_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node38_6, Node38_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_7type = 'rect';
- var Node38_7 = new ht.Node(),
- Node38_7BorderWidth = 1*2;
- if (Node38_7type === 'arc') {
- Node38_7BorderWidth *= 1;
- }
- Node38_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node38_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node38_7.setPosition(1081*ratio.ratioX, 239*ratio.ratioY);
- Node38_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node38_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node38_7.a('node.width', 127*_ratio.ratioX);
- Node38_7.a('node.height', 309*_ratio.ratioY);
- Node38_7.a('node.type', Node38_7type);
- Node38_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node38_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node38_7.a('node.gradientcolor', '');
- Node38_7.a('node.gradient', '');
- Node38_7.a('node.borderwidth', Node38_7BorderWidth);
- Node38_7.a('node.color', 'rgba(192,192,192,1)');
- Node38_7.a('node.fillrect', [0,0,0,0]);
- Node38_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node38_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node38_7.a('node.fillgradient', '');
- if (Node38_7type !== 'rect') {
- Node38_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node38_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node38_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node38_7type === 'arc') {
- Node38_7.a('node.arcOval', true);
- }
- Node38_7.setRotation(0*Math.PI/180);
- Node38_7.borderWidth = Node38_7BorderWidth;
- Node38_7.borderFillwidth = Node38_7BorderWidth;
- dataModel.add(Node38_7);
- Node38_7._nodename = 'Node38_7'
- Node38_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node38_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);
- }
- })(Node38_7, Node38_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_8 = new ht.Node();
- var Node38_8textStart, Node38_8textWidth, Node38_8lineStart, Node38_8align = 'center', Node38_8fontSize = 13.3333*_ratio.ratioY,Node38_8width = 105*_ratio.ratioX, Node38_8height = 27*_ratio.ratioY;
- (function () {
- if (Node38_8align === 'left') {
- Node38_8textStart = Node38_8fontSize * 0.2 > 2 ? Node38_8fontSize * 0.2 - 4 : Node38_8fontSize * 0.2 - 9;
- Node38_8textWidth = Node38_8width;
- Node38_8lineStart = 1;
- } else if (Node38_8align === 'right') {
- Node38_8textStart = 0;
- Node38_8textWidth =Node38_8fontSize <= 8 ? Node38_8width + Node38_8fontSize * 0.2 + 6 : Node38_8width - Node38_8fontSize * 0.2;
- Node38_8lineStart = (Node38_8width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node38_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38_8align === 'center') {
- Node38_8textStart = -3;
- Node38_8textWidth = Node38_8width;
- Node38_8lineStart = Node38_8width - ht.Default.getTextSize('年利用小时', 'bold '+ Node38_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38_8.setImage(GD.getTextJSON(Node38_8width, Node38_8height, true, false, false, 'bold '+ Node38_8fontSize + 'px "Arial"'))
- Node38_8.setPosition(1078*ratio.ratioX, 103*ratio.ratioY);
- Node38_8.setWidth(Node38_8width);
- Node38_8.setHeight(Node38_8height);
- Node38_8._nodeType = 'text';
- Node38_8._disallowEvert = true;
- Node38_8.setRotation(0*Math.PI/180);
- Node38_8.a('node.width', Node38_8width);
- Node38_8.a('node.height', Node38_8height);
- Node38_8.a('node.rect', [0, 0, Node38_8width, Node38_8height]);
- Node38_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node38_8.a('node.borderwidth', 0);
- Node38_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_8.a('node.gradient','');
- Node38_8.a('node.gradientcolor','');
- Node38_8.a('node.text','年利用小时');
- Node38_8.a('node.textalign','center');
- Node38_8.a('node.textvAlign','middle');
- Node38_8.a('node.textrect', [Node38_8textStart, 0, Node38_8textWidth, Node38_8height]);
- Node38_8.a('node.color','rgba(255,255,255,1)');
- Node38_8.a('node.font','bold '+ Node38_8fontSize + 'px "Arial"');
- Node38_8.a('node.textvisible',true);
- Node38_8.a('node.linefeed',false);
- if (false) {
- Node38_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_8.a('node.text') || '年利用小时';
- var color=Node38_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_8width,Node38_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38_8.a('node.underlinepoints',[Node38_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_8fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node38_8fontSize + 'px "Arial"').width + 6, (Node38_8height - Node38_8fontSize) * 0.5*_ratio.ratioY + Node38_8fontSize + 2 ]);
- Node38_8.a('node.underlinevisible',false);
- Node38_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_8);
- zoomNodeList.push({
- node: Node38_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_9 = new ht.Node();
- var Node38_9textStart, Node38_9textWidth, Node38_9lineStart, Node38_9align = 'center', Node38_9fontSize = 11.99997*_ratio.ratioY,Node38_9width = 105*_ratio.ratioX, Node38_9height = 17*_ratio.ratioY;
- (function () {
- if (Node38_9align === 'left') {
- Node38_9textStart = Node38_9fontSize * 0.2 > 2 ? Node38_9fontSize * 0.2 - 4 : Node38_9fontSize * 0.2 - 9;
- Node38_9textWidth = Node38_9width;
- Node38_9lineStart = 1;
- } else if (Node38_9align === 'right') {
- Node38_9textStart = 0;
- Node38_9textWidth =Node38_9fontSize <= 8 ? Node38_9width + Node38_9fontSize * 0.2 + 6 : Node38_9width - Node38_9fontSize * 0.2;
- Node38_9lineStart = (Node38_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node38_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38_9align === 'center') {
- Node38_9textStart = -3;
- Node38_9textWidth = Node38_9width;
- Node38_9lineStart = Node38_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node38_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38_9.setImage(GD.getTextJSON(Node38_9width, Node38_9height, true, false, false, 'bold '+ Node38_9fontSize + 'px "Arial"'))
- Node38_9.setPosition(1078*ratio.ratioX, 131*ratio.ratioY);
- Node38_9.setWidth(Node38_9width);
- Node38_9.setHeight(Node38_9height);
- Node38_9._nodeType = 'text';
- Node38_9._disallowEvert = true;
- Node38_9.setRotation(0*Math.PI/180);
- Node38_9.a('node.width', Node38_9width);
- Node38_9.a('node.height', Node38_9height);
- Node38_9.a('node.rect', [0, 0, Node38_9width, Node38_9height]);
- Node38_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node38_9.a('node.borderwidth', 0);
- Node38_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_9.a('node.gradient','');
- Node38_9.a('node.gradientcolor','');
- Node38_9.a('node.text','万kwh');
- Node38_9.a('node.textalign','center');
- Node38_9.a('node.textvAlign','middle');
- Node38_9.a('node.textrect', [Node38_9textStart, 0, Node38_9textWidth, Node38_9height]);
- Node38_9.a('node.color','rgba(128,128,128,1)');
- Node38_9.a('node.font','bold '+ Node38_9fontSize + 'px "Arial"');
- Node38_9.a('node.textvisible',true);
- Node38_9.a('node.linefeed',false);
- if (false) {
- Node38_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_9.a('node.text') || '万kwh';
- var color=Node38_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node38_9width,Node38_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node38_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38_9.a('node.underlinepoints',[Node38_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node38_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node38_9fontSize + 'px "Arial"').width + 6, (Node38_9height - Node38_9fontSize) * 0.5*_ratio.ratioY + Node38_9fontSize + 2 ]);
- Node38_9.a('node.underlinevisible',false);
- Node38_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_9);
- zoomNodeList.push({
- node: Node38_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_10 = new ht.Node();
- var Node38_10textStart, Node38_10textWidth, Node38_10lineStart, Node38_10align = 'center', Node38_10fontSize = 13.3333*_ratio.ratioY,Node38_10width = 105*_ratio.ratioX, Node38_10height = 27*_ratio.ratioY;
- (function () {
- if (Node38_10align === 'left') {
- Node38_10textStart = Node38_10fontSize * 0.2 > 2 ? Node38_10fontSize * 0.2 - 4 : Node38_10fontSize * 0.2 - 9;
- Node38_10textWidth = Node38_10width;
- Node38_10lineStart = 1;
- } else if (Node38_10align === 'right') {
- Node38_10textStart = 0;
- Node38_10textWidth =Node38_10fontSize <= 8 ? Node38_10width + Node38_10fontSize * 0.2 + 6 : Node38_10width - Node38_10fontSize * 0.2;
- Node38_10lineStart = (Node38_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node38_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_10align === 'center') {
- Node38_10textStart = -3;
- Node38_10textWidth = Node38_10width;
- Node38_10lineStart = Node38_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node38_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_10.setImage(GD.getTextJSON(Node38_10width, Node38_10height, true, false, false, 'bold '+ Node38_10fontSize + 'px "UniDreamLED"'))
- Node38_10.setPosition(1078*ratio.ratioX, 158*ratio.ratioY);
- Node38_10.setWidth(Node38_10width);
- Node38_10.setHeight(Node38_10height);
- Node38_10._nodeType = 'text';
- Node38_10._disallowEvert = true;
- Node38_10.setRotation(0*Math.PI/180);
- Node38_10.a('node.width', Node38_10width);
- Node38_10.a('node.height', Node38_10height);
- Node38_10.a('node.rect', [0, 0, Node38_10width, Node38_10height]);
- Node38_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_10.a('node.borderwidth', 0);
- Node38_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_10.a('node.gradient','');
- Node38_10.a('node.gradientcolor','');
- Node38_10.a('node.text','1134.76');
- Node38_10.a('node.textalign','center');
- Node38_10.a('node.textvAlign','middle');
- Node38_10.a('node.textrect', [Node38_10textStart, 0, Node38_10textWidth, Node38_10height]);
- Node38_10.a('node.color','rgba(0,0,0,1)');
- Node38_10.a('node.font','bold '+ Node38_10fontSize + 'px "UniDreamLED"');
- Node38_10.a('node.textvisible',true);
- Node38_10.a('node.linefeed',false);
- if (false) {
- Node38_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_10.a('node.text') || '1134.76';
- var color=Node38_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_10width,Node38_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_10.a('node.underlinepoints',[Node38_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node38_10fontSize + 'px "UniDreamLED"').width + 6, (Node38_10height - Node38_10fontSize) * 0.5*_ratio.ratioY + Node38_10fontSize + 2 ]);
- Node38_10.a('node.underlinevisible',false);
- Node38_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_10);
- zoomNodeList.push({
- node: Node38_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_11 = new ht.Node();
- var Node38_11textStart, Node38_11textWidth, Node38_11lineStart, Node38_11align = 'center', Node38_11fontSize = 13.3333*_ratio.ratioY,Node38_11width = 110*_ratio.ratioX, Node38_11height = 27*_ratio.ratioY;
- (function () {
- if (Node38_11align === 'left') {
- Node38_11textStart = Node38_11fontSize * 0.2 > 2 ? Node38_11fontSize * 0.2 - 4 : Node38_11fontSize * 0.2 - 9;
- Node38_11textWidth = Node38_11width;
- Node38_11lineStart = 1;
- } else if (Node38_11align === 'right') {
- Node38_11textStart = 0;
- Node38_11textWidth =Node38_11fontSize <= 8 ? Node38_11width + Node38_11fontSize * 0.2 + 6 : Node38_11width - Node38_11fontSize * 0.2;
- Node38_11lineStart = (Node38_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node38_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_11align === 'center') {
- Node38_11textStart = -3;
- Node38_11textWidth = Node38_11width;
- Node38_11lineStart = Node38_11width - ht.Default.getTextSize('171.51', 'bold '+ Node38_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_11.setImage(GD.getTextJSON(Node38_11width, Node38_11height, true, false, false, 'bold '+ Node38_11fontSize + 'px "UniDreamLED"'))
- Node38_11.setPosition(1081*ratio.ratioX, 190*ratio.ratioY);
- Node38_11.setWidth(Node38_11width);
- Node38_11.setHeight(Node38_11height);
- Node38_11._nodeType = 'text';
- Node38_11._disallowEvert = true;
- Node38_11.setRotation(0*Math.PI/180);
- Node38_11.a('node.width', Node38_11width);
- Node38_11.a('node.height', Node38_11height);
- Node38_11.a('node.rect', [0, 0, Node38_11width, Node38_11height]);
- Node38_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_11.a('node.borderwidth', 0);
- Node38_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_11.a('node.gradient','');
- Node38_11.a('node.gradientcolor','');
- Node38_11.a('node.text','171.51');
- Node38_11.a('node.textalign','center');
- Node38_11.a('node.textvAlign','middle');
- Node38_11.a('node.textrect', [Node38_11textStart, 0, Node38_11textWidth, Node38_11height]);
- Node38_11.a('node.color','rgba(0,0,0,1)');
- Node38_11.a('node.font','bold '+ Node38_11fontSize + 'px "UniDreamLED"');
- Node38_11.a('node.textvisible',true);
- Node38_11.a('node.linefeed',false);
- if (false) {
- Node38_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_11.a('node.text') || '171.51';
- var color=Node38_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_11width,Node38_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_11.a('node.underlinepoints',[Node38_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node38_11fontSize + 'px "UniDreamLED"').width + 6, (Node38_11height - Node38_11fontSize) * 0.5*_ratio.ratioY + Node38_11fontSize + 2 ]);
- Node38_11.a('node.underlinevisible',false);
- Node38_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_11);
- zoomNodeList.push({
- node: Node38_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_12 = new ht.Node();
- var Node38_12textStart, Node38_12textWidth, Node38_12lineStart, Node38_12align = 'center', Node38_12fontSize = 13.3333*_ratio.ratioY,Node38_12width = 110*_ratio.ratioX, Node38_12height = 27*_ratio.ratioY;
- (function () {
- if (Node38_12align === 'left') {
- Node38_12textStart = Node38_12fontSize * 0.2 > 2 ? Node38_12fontSize * 0.2 - 4 : Node38_12fontSize * 0.2 - 9;
- Node38_12textWidth = Node38_12width;
- Node38_12lineStart = 1;
- } else if (Node38_12align === 'right') {
- Node38_12textStart = 0;
- Node38_12textWidth =Node38_12fontSize <= 8 ? Node38_12width + Node38_12fontSize * 0.2 + 6 : Node38_12width - Node38_12fontSize * 0.2;
- Node38_12lineStart = (Node38_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node38_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_12align === 'center') {
- Node38_12textStart = -3;
- Node38_12textWidth = Node38_12width;
- Node38_12lineStart = Node38_12width - ht.Default.getTextSize('329.51', 'bold '+ Node38_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_12.setImage(GD.getTextJSON(Node38_12width, Node38_12height, true, false, false, 'bold '+ Node38_12fontSize + 'px "UniDreamLED"'))
- Node38_12.setPosition(1081*ratio.ratioX, 220*ratio.ratioY);
- Node38_12.setWidth(Node38_12width);
- Node38_12.setHeight(Node38_12height);
- Node38_12._nodeType = 'text';
- Node38_12._disallowEvert = true;
- Node38_12.setRotation(0*Math.PI/180);
- Node38_12.a('node.width', Node38_12width);
- Node38_12.a('node.height', Node38_12height);
- Node38_12.a('node.rect', [0, 0, Node38_12width, Node38_12height]);
- Node38_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_12.a('node.borderwidth', 0);
- Node38_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_12.a('node.gradient','');
- Node38_12.a('node.gradientcolor','');
- Node38_12.a('node.text','329.51');
- Node38_12.a('node.textalign','center');
- Node38_12.a('node.textvAlign','middle');
- Node38_12.a('node.textrect', [Node38_12textStart, 0, Node38_12textWidth, Node38_12height]);
- Node38_12.a('node.color','rgba(0,0,0,1)');
- Node38_12.a('node.font','bold '+ Node38_12fontSize + 'px "UniDreamLED"');
- Node38_12.a('node.textvisible',true);
- Node38_12.a('node.linefeed',false);
- if (false) {
- Node38_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_12.a('node.text') || '329.51';
- var color=Node38_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_12width,Node38_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_12.a('node.underlinepoints',[Node38_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node38_12fontSize + 'px "UniDreamLED"').width + 6, (Node38_12height - Node38_12fontSize) * 0.5*_ratio.ratioY + Node38_12fontSize + 2 ]);
- Node38_12.a('node.underlinevisible',false);
- Node38_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_12);
- zoomNodeList.push({
- node: Node38_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_13 = new ht.Node();
- var Node38_13textStart, Node38_13textWidth, Node38_13lineStart, Node38_13align = 'center', Node38_13fontSize = 13.3333*_ratio.ratioY,Node38_13width = 110*_ratio.ratioX, Node38_13height = 27*_ratio.ratioY;
- (function () {
- if (Node38_13align === 'left') {
- Node38_13textStart = Node38_13fontSize * 0.2 > 2 ? Node38_13fontSize * 0.2 - 4 : Node38_13fontSize * 0.2 - 9;
- Node38_13textWidth = Node38_13width;
- Node38_13lineStart = 1;
- } else if (Node38_13align === 'right') {
- Node38_13textStart = 0;
- Node38_13textWidth =Node38_13fontSize <= 8 ? Node38_13width + Node38_13fontSize * 0.2 + 6 : Node38_13width - Node38_13fontSize * 0.2;
- Node38_13lineStart = (Node38_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node38_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_13align === 'center') {
- Node38_13textStart = -3;
- Node38_13textWidth = Node38_13width;
- Node38_13lineStart = Node38_13width - ht.Default.getTextSize('340.14', 'bold '+ Node38_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_13.setImage(GD.getTextJSON(Node38_13width, Node38_13height, true, false, false, 'bold '+ Node38_13fontSize + 'px "UniDreamLED"'))
- Node38_13.setPosition(1081*ratio.ratioX, 250*ratio.ratioY);
- Node38_13.setWidth(Node38_13width);
- Node38_13.setHeight(Node38_13height);
- Node38_13._nodeType = 'text';
- Node38_13._disallowEvert = true;
- Node38_13.setRotation(0*Math.PI/180);
- Node38_13.a('node.width', Node38_13width);
- Node38_13.a('node.height', Node38_13height);
- Node38_13.a('node.rect', [0, 0, Node38_13width, Node38_13height]);
- Node38_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_13.a('node.borderwidth', 0);
- Node38_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_13.a('node.gradient','');
- Node38_13.a('node.gradientcolor','');
- Node38_13.a('node.text','340.14');
- Node38_13.a('node.textalign','center');
- Node38_13.a('node.textvAlign','middle');
- Node38_13.a('node.textrect', [Node38_13textStart, 0, Node38_13textWidth, Node38_13height]);
- Node38_13.a('node.color','rgba(0,0,0,1)');
- Node38_13.a('node.font','bold '+ Node38_13fontSize + 'px "UniDreamLED"');
- Node38_13.a('node.textvisible',true);
- Node38_13.a('node.linefeed',false);
- if (false) {
- Node38_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_13.a('node.text') || '340.14';
- var color=Node38_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_13width,Node38_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_13.a('node.underlinepoints',[Node38_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node38_13fontSize + 'px "UniDreamLED"').width + 6, (Node38_13height - Node38_13fontSize) * 0.5*_ratio.ratioY + Node38_13fontSize + 2 ]);
- Node38_13.a('node.underlinevisible',false);
- Node38_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_13);
- zoomNodeList.push({
- node: Node38_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_14 = new ht.Node();
- var Node38_14textStart, Node38_14textWidth, Node38_14lineStart, Node38_14align = 'center', Node38_14fontSize = 13.3333*_ratio.ratioY,Node38_14width = 110*_ratio.ratioX, Node38_14height = 27*_ratio.ratioY;
- (function () {
- if (Node38_14align === 'left') {
- Node38_14textStart = Node38_14fontSize * 0.2 > 2 ? Node38_14fontSize * 0.2 - 4 : Node38_14fontSize * 0.2 - 9;
- Node38_14textWidth = Node38_14width;
- Node38_14lineStart = 1;
- } else if (Node38_14align === 'right') {
- Node38_14textStart = 0;
- Node38_14textWidth =Node38_14fontSize <= 8 ? Node38_14width + Node38_14fontSize * 0.2 + 6 : Node38_14width - Node38_14fontSize * 0.2;
- Node38_14lineStart = (Node38_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node38_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_14align === 'center') {
- Node38_14textStart = -3;
- Node38_14textWidth = Node38_14width;
- Node38_14lineStart = Node38_14width - ht.Default.getTextSize('60.61', 'bold '+ Node38_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_14.setImage(GD.getTextJSON(Node38_14width, Node38_14height, true, false, false, 'bold '+ Node38_14fontSize + 'px "UniDreamLED"'))
- Node38_14.setPosition(1081*ratio.ratioX, 284*ratio.ratioY);
- Node38_14.setWidth(Node38_14width);
- Node38_14.setHeight(Node38_14height);
- Node38_14._nodeType = 'text';
- Node38_14._disallowEvert = true;
- Node38_14.setRotation(0*Math.PI/180);
- Node38_14.a('node.width', Node38_14width);
- Node38_14.a('node.height', Node38_14height);
- Node38_14.a('node.rect', [0, 0, Node38_14width, Node38_14height]);
- Node38_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_14.a('node.borderwidth', 0);
- Node38_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_14.a('node.gradient','');
- Node38_14.a('node.gradientcolor','');
- Node38_14.a('node.text','60.61');
- Node38_14.a('node.textalign','center');
- Node38_14.a('node.textvAlign','middle');
- Node38_14.a('node.textrect', [Node38_14textStart, 0, Node38_14textWidth, Node38_14height]);
- Node38_14.a('node.color','rgba(0,0,0,1)');
- Node38_14.a('node.font','bold '+ Node38_14fontSize + 'px "UniDreamLED"');
- Node38_14.a('node.textvisible',true);
- Node38_14.a('node.linefeed',false);
- if (false) {
- Node38_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_14.a('node.text') || '60.61';
- var color=Node38_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_14width,Node38_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_14.a('node.underlinepoints',[Node38_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node38_14fontSize + 'px "UniDreamLED"').width + 6, (Node38_14height - Node38_14fontSize) * 0.5*_ratio.ratioY + Node38_14fontSize + 2 ]);
- Node38_14.a('node.underlinevisible',false);
- Node38_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_14);
- zoomNodeList.push({
- node: Node38_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_15 = new ht.Node();
- var Node38_15textStart, Node38_15textWidth, Node38_15lineStart, Node38_15align = 'center', Node38_15fontSize = 13.3333*_ratio.ratioY,Node38_15width = 110*_ratio.ratioX, Node38_15height = 27*_ratio.ratioY;
- (function () {
- if (Node38_15align === 'left') {
- Node38_15textStart = Node38_15fontSize * 0.2 > 2 ? Node38_15fontSize * 0.2 - 4 : Node38_15fontSize * 0.2 - 9;
- Node38_15textWidth = Node38_15width;
- Node38_15lineStart = 1;
- } else if (Node38_15align === 'right') {
- Node38_15textStart = 0;
- Node38_15textWidth =Node38_15fontSize <= 8 ? Node38_15width + Node38_15fontSize * 0.2 + 6 : Node38_15width - Node38_15fontSize * 0.2;
- Node38_15lineStart = (Node38_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node38_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_15align === 'center') {
- Node38_15textStart = -3;
- Node38_15textWidth = Node38_15width;
- Node38_15lineStart = Node38_15width - ht.Default.getTextSize('166.79', 'bold '+ Node38_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_15.setImage(GD.getTextJSON(Node38_15width, Node38_15height, true, false, false, 'bold '+ Node38_15fontSize + 'px "UniDreamLED"'))
- Node38_15.setPosition(1081*ratio.ratioX, 317*ratio.ratioY);
- Node38_15.setWidth(Node38_15width);
- Node38_15.setHeight(Node38_15height);
- Node38_15._nodeType = 'text';
- Node38_15._disallowEvert = true;
- Node38_15.setRotation(0*Math.PI/180);
- Node38_15.a('node.width', Node38_15width);
- Node38_15.a('node.height', Node38_15height);
- Node38_15.a('node.rect', [0, 0, Node38_15width, Node38_15height]);
- Node38_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_15.a('node.borderwidth', 0);
- Node38_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_15.a('node.gradient','');
- Node38_15.a('node.gradientcolor','');
- Node38_15.a('node.text','166.79');
- Node38_15.a('node.textalign','center');
- Node38_15.a('node.textvAlign','middle');
- Node38_15.a('node.textrect', [Node38_15textStart, 0, Node38_15textWidth, Node38_15height]);
- Node38_15.a('node.color','rgba(0,0,0,1)');
- Node38_15.a('node.font','bold '+ Node38_15fontSize + 'px "UniDreamLED"');
- Node38_15.a('node.textvisible',true);
- Node38_15.a('node.linefeed',false);
- if (false) {
- Node38_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_15.a('node.text') || '166.79';
- var color=Node38_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_15width,Node38_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_15.a('node.underlinepoints',[Node38_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node38_15fontSize + 'px "UniDreamLED"').width + 6, (Node38_15height - Node38_15fontSize) * 0.5*_ratio.ratioY + Node38_15fontSize + 2 ]);
- Node38_15.a('node.underlinevisible',false);
- Node38_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_15);
- zoomNodeList.push({
- node: Node38_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_16 = new ht.Node();
- var Node38_16textStart, Node38_16textWidth, Node38_16lineStart, Node38_16align = 'center', Node38_16fontSize = 13.3333*_ratio.ratioY,Node38_16width = 110*_ratio.ratioX, Node38_16height = 27*_ratio.ratioY;
- (function () {
- if (Node38_16align === 'left') {
- Node38_16textStart = Node38_16fontSize * 0.2 > 2 ? Node38_16fontSize * 0.2 - 4 : Node38_16fontSize * 0.2 - 9;
- Node38_16textWidth = Node38_16width;
- Node38_16lineStart = 1;
- } else if (Node38_16align === 'right') {
- Node38_16textStart = 0;
- Node38_16textWidth =Node38_16fontSize <= 8 ? Node38_16width + Node38_16fontSize * 0.2 + 6 : Node38_16width - Node38_16fontSize * 0.2;
- Node38_16lineStart = (Node38_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node38_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_16align === 'center') {
- Node38_16textStart = -3;
- Node38_16textWidth = Node38_16width;
- Node38_16lineStart = Node38_16width - ht.Default.getTextSize('66.18', 'bold '+ Node38_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_16.setImage(GD.getTextJSON(Node38_16width, Node38_16height, true, false, false, 'bold '+ Node38_16fontSize + 'px "UniDreamLED"'))
- Node38_16.setPosition(1081*ratio.ratioX, 346*ratio.ratioY);
- Node38_16.setWidth(Node38_16width);
- Node38_16.setHeight(Node38_16height);
- Node38_16._nodeType = 'text';
- Node38_16._disallowEvert = true;
- Node38_16.setRotation(0*Math.PI/180);
- Node38_16.a('node.width', Node38_16width);
- Node38_16.a('node.height', Node38_16height);
- Node38_16.a('node.rect', [0, 0, Node38_16width, Node38_16height]);
- Node38_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_16.a('node.borderwidth', 0);
- Node38_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_16.a('node.gradient','');
- Node38_16.a('node.gradientcolor','');
- Node38_16.a('node.text','66.18');
- Node38_16.a('node.textalign','center');
- Node38_16.a('node.textvAlign','middle');
- Node38_16.a('node.textrect', [Node38_16textStart, 0, Node38_16textWidth, Node38_16height]);
- Node38_16.a('node.color','rgba(0,0,0,1)');
- Node38_16.a('node.font','bold '+ Node38_16fontSize + 'px "UniDreamLED"');
- Node38_16.a('node.textvisible',true);
- Node38_16.a('node.linefeed',false);
- if (false) {
- Node38_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_16.a('node.text') || '66.18';
- var color=Node38_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_16width,Node38_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_16.a('node.underlinepoints',[Node38_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node38_16fontSize + 'px "UniDreamLED"').width + 6, (Node38_16height - Node38_16fontSize) * 0.5*_ratio.ratioY + Node38_16fontSize + 2 ]);
- Node38_16.a('node.underlinevisible',false);
- Node38_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_16);
- zoomNodeList.push({
- node: Node38_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38_17 = new ht.Node();
- var Node38_17textStart, Node38_17textWidth, Node38_17lineStart, Node38_17align = 'center', Node38_17fontSize = 13.3333*_ratio.ratioY,Node38_17width = 110*_ratio.ratioX, Node38_17height = 27*_ratio.ratioY;
- (function () {
- if (Node38_17align === 'left') {
- Node38_17textStart = Node38_17fontSize * 0.2 > 2 ? Node38_17fontSize * 0.2 - 4 : Node38_17fontSize * 0.2 - 9;
- Node38_17textWidth = Node38_17width;
- Node38_17lineStart = 1;
- } else if (Node38_17align === 'right') {
- Node38_17textStart = 0;
- Node38_17textWidth =Node38_17fontSize <= 8 ? Node38_17width + Node38_17fontSize * 0.2 + 6 : Node38_17width - Node38_17fontSize * 0.2;
- Node38_17lineStart = (Node38_17width - (ht.Default.getTextSize('-', 'bold '+ Node38_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node38_17align === 'center') {
- Node38_17textStart = -3;
- Node38_17textWidth = Node38_17width;
- Node38_17lineStart = Node38_17width - ht.Default.getTextSize('-', 'bold '+ Node38_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node38_17.setImage(GD.getTextJSON(Node38_17width, Node38_17height, true, false, false, 'bold '+ Node38_17fontSize + 'px "UniDreamLED"'))
- Node38_17.setPosition(1081*ratio.ratioX, 377*ratio.ratioY);
- Node38_17.setWidth(Node38_17width);
- Node38_17.setHeight(Node38_17height);
- Node38_17._nodeType = 'text';
- Node38_17._disallowEvert = true;
- Node38_17.setRotation(0*Math.PI/180);
- Node38_17.a('node.width', Node38_17width);
- Node38_17.a('node.height', Node38_17height);
- Node38_17.a('node.rect', [0, 0, Node38_17width, Node38_17height]);
- Node38_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node38_17.a('node.borderwidth', 0);
- Node38_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node38_17.a('node.gradient','');
- Node38_17.a('node.gradientcolor','');
- Node38_17.a('node.text','-');
- Node38_17.a('node.textalign','center');
- Node38_17.a('node.textvAlign','middle');
- Node38_17.a('node.textrect', [Node38_17textStart, 0, Node38_17textWidth, Node38_17height]);
- Node38_17.a('node.color','rgba(0,0,0,1)');
- Node38_17.a('node.font','bold '+ Node38_17fontSize + 'px "UniDreamLED"');
- Node38_17.a('node.textvisible',true);
- Node38_17.a('node.linefeed',false);
- if (false) {
- Node38_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38_17.a('node.text') || '-';
- var color=Node38_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38_17width,Node38_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node38_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node38_17.a('node.underlinepoints',[Node38_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node38_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node38_17fontSize + 'px "UniDreamLED"').width + 6, (Node38_17height - Node38_17fontSize) * 0.5*_ratio.ratioY + Node38_17fontSize + 2 ]);
- Node38_17.a('node.underlinevisible',false);
- Node38_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38_17);
- zoomNodeList.push({
- node: Node38_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node39_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node39_0 = new ht.Node();
- Node39_0.setPosition(1081*ratio.ratioX, 238*ratio.ratioY);
- Node39_0.setSize(127*ratioX, 313*ratioY);
- Node39_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node39_0.setRotation(0*Math.PI/180);
- Node39_0._zoomBy = 'Default';
- Node39_0._nodeType = 'image';
- Node39_0._disallowEvert = true;
- dataModel.add(Node39_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39_1 = new ht.Node();
- var Node39_1textStart, Node39_1textWidth, Node39_1lineStart, Node39_1align = 'center', Node39_1fontSize = 13.3333*_ratio.ratioY,Node39_1width = 105*_ratio.ratioX, Node39_1height = 27*_ratio.ratioY;
- (function () {
- if (Node39_1align === 'left') {
- Node39_1textStart = Node39_1fontSize * 0.2 > 2 ? Node39_1fontSize * 0.2 - 4 : Node39_1fontSize * 0.2 - 9;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = 1;
- } else if (Node39_1align === 'right') {
- Node39_1textStart = 0;
- Node39_1textWidth =Node39_1fontSize <= 8 ? Node39_1width + Node39_1fontSize * 0.2 + 6 : Node39_1width - Node39_1fontSize * 0.2;
- Node39_1lineStart = (Node39_1width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node39_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39_1align === 'center') {
- Node39_1textStart = -3;
- Node39_1textWidth = Node39_1width;
- Node39_1lineStart = Node39_1width - ht.Default.getTextSize('年利用小时', 'bold '+ Node39_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39_1.setImage(GD.getTextJSON(Node39_1width, Node39_1height, true, false, false, 'bold '+ Node39_1fontSize + 'px "Arial"'))
- Node39_1.setPosition(1076*ratio.ratioX, 103*ratio.ratioY);
- Node39_1.setWidth(Node39_1width);
- Node39_1.setHeight(Node39_1height);
- Node39_1._nodeType = 'text';
- Node39_1._disallowEvert = true;
- Node39_1.setRotation(0*Math.PI/180);
- Node39_1.a('node.width', Node39_1width);
- Node39_1.a('node.height', Node39_1height);
- Node39_1.a('node.rect', [0, 0, Node39_1width, Node39_1height]);
- Node39_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node39_1.a('node.borderwidth', 0);
- Node39_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node39_1.a('node.gradient','');
- Node39_1.a('node.gradientcolor','');
- Node39_1.a('node.text','年利用小时');
- Node39_1.a('node.textalign','center');
- Node39_1.a('node.textvAlign','middle');
- Node39_1.a('node.textrect', [Node39_1textStart, 0, Node39_1textWidth, Node39_1height]);
- Node39_1.a('node.color','rgba(255,255,255,1)');
- Node39_1.a('node.font','bold '+ Node39_1fontSize + 'px "Arial"');
- Node39_1.a('node.textvisible',true);
- Node39_1.a('node.linefeed',false);
- if (false) {
- Node39_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39_1.a('node.text') || '年利用小时';
- var color=Node39_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39_1width,Node39_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node39_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39_1.a('node.underlinepoints',[Node39_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node39_1fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node39_1fontSize + 'px "Arial"').width + 6, (Node39_1height - Node39_1fontSize) * 0.5*_ratio.ratioY + Node39_1fontSize + 2 ]);
- Node39_1.a('node.underlinevisible',false);
- Node39_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39_1);
- zoomNodeList.push({
- node: Node39_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_0type = 'rect';
- var Node40_0 = new ht.Node(),
- Node40_0BorderWidth = 0*2;
- if (Node40_0type === 'arc') {
- Node40_0BorderWidth *= 0;
- }
- Node40_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_0.setPosition(1208*ratio.ratioX, 190*ratio.ratioY);
- Node40_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_0.a('node.width', 127*_ratio.ratioX);
- Node40_0.a('node.height', 32*_ratio.ratioY);
- Node40_0.a('node.type', Node40_0type);
- Node40_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_0.a('node.background', 'rgba(245,245,245,1)');
- Node40_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node40_0.a('node.gradient', '');
- Node40_0.a('node.borderwidth', Node40_0BorderWidth);
- Node40_0.a('node.color', 'rgba(192,192,192,0)');
- Node40_0.a('node.fillrect', [0,0,0,0]);
- Node40_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_0.a('node.fillgradient', '');
- if (Node40_0type !== 'rect') {
- Node40_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_0type === 'arc') {
- Node40_0.a('node.arcOval', true);
- }
- Node40_0.setRotation(0*Math.PI/180);
- Node40_0.borderWidth = Node40_0BorderWidth;
- Node40_0.borderFillwidth = Node40_0BorderWidth;
- dataModel.add(Node40_0);
- Node40_0._nodename = 'Node40_0'
- Node40_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_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);
- }
- })(Node40_0, Node40_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_1type = 'rect';
- var Node40_1 = new ht.Node(),
- Node40_1BorderWidth = 0*2;
- if (Node40_1type === 'arc') {
- Node40_1BorderWidth *= 0;
- }
- Node40_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_1.setPosition(1208*ratio.ratioX, 222*ratio.ratioY);
- Node40_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_1.a('node.width', 127*_ratio.ratioX);
- Node40_1.a('node.height', 32*_ratio.ratioY);
- Node40_1.a('node.type', Node40_1type);
- Node40_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40_1.a('node.gradientcolor', '');
- Node40_1.a('node.gradient', '');
- Node40_1.a('node.borderwidth', Node40_1BorderWidth);
- Node40_1.a('node.color', 'rgba(192,192,192,0)');
- Node40_1.a('node.fillrect', [0,0,0,0]);
- Node40_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_1.a('node.fillgradient', '');
- if (Node40_1type !== 'rect') {
- Node40_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_1type === 'arc') {
- Node40_1.a('node.arcOval', true);
- }
- Node40_1.setRotation(0*Math.PI/180);
- Node40_1.borderWidth = Node40_1BorderWidth;
- Node40_1.borderFillwidth = Node40_1BorderWidth;
- dataModel.add(Node40_1);
- Node40_1._nodename = 'Node40_1'
- Node40_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_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);
- }
- })(Node40_1, Node40_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_2type = 'rect';
- var Node40_2 = new ht.Node(),
- Node40_2BorderWidth = 0*2;
- if (Node40_2type === 'arc') {
- Node40_2BorderWidth *= 0;
- }
- Node40_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_2.setPosition(1208*ratio.ratioX, 254*ratio.ratioY);
- Node40_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_2.a('node.width', 127*_ratio.ratioX);
- Node40_2.a('node.height', 32*_ratio.ratioY);
- Node40_2.a('node.type', Node40_2type);
- Node40_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_2.a('node.background', 'rgba(245,245,245,1)');
- Node40_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node40_2.a('node.gradient', '');
- Node40_2.a('node.borderwidth', Node40_2BorderWidth);
- Node40_2.a('node.color', 'rgba(192,192,192,0)');
- Node40_2.a('node.fillrect', [0,0,0,0]);
- Node40_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_2.a('node.fillgradient', '');
- if (Node40_2type !== 'rect') {
- Node40_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_2type === 'arc') {
- Node40_2.a('node.arcOval', true);
- }
- Node40_2.setRotation(0*Math.PI/180);
- Node40_2.borderWidth = Node40_2BorderWidth;
- Node40_2.borderFillwidth = Node40_2BorderWidth;
- dataModel.add(Node40_2);
- Node40_2._nodename = 'Node40_2'
- Node40_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node40_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_3type = 'rect';
- var Node40_3 = new ht.Node(),
- Node40_3BorderWidth = 0*2;
- if (Node40_3type === 'arc') {
- Node40_3BorderWidth *= 0;
- }
- Node40_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_3.setPosition(1208*ratio.ratioX, 285*ratio.ratioY);
- Node40_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_3.a('node.width', 127*_ratio.ratioX);
- Node40_3.a('node.height', 32*_ratio.ratioY);
- Node40_3.a('node.type', Node40_3type);
- Node40_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40_3.a('node.gradientcolor', '');
- Node40_3.a('node.gradient', '');
- Node40_3.a('node.borderwidth', Node40_3BorderWidth);
- Node40_3.a('node.color', 'rgba(192,192,192,0)');
- Node40_3.a('node.fillrect', [0,0,0,0]);
- Node40_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_3.a('node.fillgradient', '');
- if (Node40_3type !== 'rect') {
- Node40_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_3type === 'arc') {
- Node40_3.a('node.arcOval', true);
- }
- Node40_3.setRotation(0*Math.PI/180);
- Node40_3.borderWidth = Node40_3BorderWidth;
- Node40_3.borderFillwidth = Node40_3BorderWidth;
- dataModel.add(Node40_3);
- Node40_3._nodename = 'Node40_3'
- Node40_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node40_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_4type = 'rect';
- var Node40_4 = new ht.Node(),
- Node40_4BorderWidth = 0*2;
- if (Node40_4type === 'arc') {
- Node40_4BorderWidth *= 0;
- }
- Node40_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_4.setPosition(1208*ratio.ratioX, 316*ratio.ratioY);
- Node40_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_4.a('node.width', 127*_ratio.ratioX);
- Node40_4.a('node.height', 32*_ratio.ratioY);
- Node40_4.a('node.type', Node40_4type);
- Node40_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_4.a('node.background', 'rgba(245,245,245,1)');
- Node40_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node40_4.a('node.gradient', '');
- Node40_4.a('node.borderwidth', Node40_4BorderWidth);
- Node40_4.a('node.color', 'rgba(192,192,192,0)');
- Node40_4.a('node.fillrect', [0,0,0,0]);
- Node40_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_4.a('node.fillgradient', '');
- if (Node40_4type !== 'rect') {
- Node40_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_4type === 'arc') {
- Node40_4.a('node.arcOval', true);
- }
- Node40_4.setRotation(0*Math.PI/180);
- Node40_4.borderWidth = Node40_4BorderWidth;
- Node40_4.borderFillwidth = Node40_4BorderWidth;
- dataModel.add(Node40_4);
- Node40_4._nodename = 'Node40_4'
- Node40_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node40_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_5type = 'rect';
- var Node40_5 = new ht.Node(),
- Node40_5BorderWidth = 0*2;
- if (Node40_5type === 'arc') {
- Node40_5BorderWidth *= 0;
- }
- Node40_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_5.setPosition(1208*ratio.ratioX, 347*ratio.ratioY);
- Node40_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_5.a('node.width', 127*_ratio.ratioX);
- Node40_5.a('node.height', 32*_ratio.ratioY);
- Node40_5.a('node.type', Node40_5type);
- Node40_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40_5.a('node.gradientcolor', '');
- Node40_5.a('node.gradient', '');
- Node40_5.a('node.borderwidth', Node40_5BorderWidth);
- Node40_5.a('node.color', 'rgba(192,192,192,0)');
- Node40_5.a('node.fillrect', [0,0,0,0]);
- Node40_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_5.a('node.fillgradient', '');
- if (Node40_5type !== 'rect') {
- Node40_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_5type === 'arc') {
- Node40_5.a('node.arcOval', true);
- }
- Node40_5.setRotation(0*Math.PI/180);
- Node40_5.borderWidth = Node40_5BorderWidth;
- Node40_5.borderFillwidth = Node40_5BorderWidth;
- dataModel.add(Node40_5);
- Node40_5._nodename = 'Node40_5'
- Node40_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node40_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_6type = 'rect';
- var Node40_6 = new ht.Node(),
- Node40_6BorderWidth = 0*2;
- if (Node40_6type === 'arc') {
- Node40_6BorderWidth *= 0;
- }
- Node40_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node40_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_6.setPosition(1208*ratio.ratioX, 378*ratio.ratioY);
- Node40_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node40_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_6.a('node.width', 127*_ratio.ratioX);
- Node40_6.a('node.height', 32*_ratio.ratioY);
- Node40_6.a('node.type', Node40_6type);
- Node40_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node40_6.a('node.background', 'rgba(245,245,245,1)');
- Node40_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node40_6.a('node.gradient', '');
- Node40_6.a('node.borderwidth', Node40_6BorderWidth);
- Node40_6.a('node.color', 'rgba(192,192,192,0)');
- Node40_6.a('node.fillrect', [0,0,0,0]);
- Node40_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_6.a('node.fillgradient', '');
- if (Node40_6type !== 'rect') {
- Node40_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_6type === 'arc') {
- Node40_6.a('node.arcOval', true);
- }
- Node40_6.setRotation(0*Math.PI/180);
- Node40_6.borderWidth = Node40_6BorderWidth;
- Node40_6.borderFillwidth = Node40_6BorderWidth;
- dataModel.add(Node40_6);
- Node40_6._nodename = 'Node40_6'
- Node40_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node40_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_7type = 'rect';
- var Node40_7 = new ht.Node(),
- Node40_7BorderWidth = 1*2;
- if (Node40_7type === 'arc') {
- Node40_7BorderWidth *= 1;
- }
- Node40_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node40_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40_7.setPosition(1208*ratio.ratioX, 239*ratio.ratioY);
- Node40_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node40_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40_7.a('node.width', 127*_ratio.ratioX);
- Node40_7.a('node.height', 309*_ratio.ratioY);
- Node40_7.a('node.type', Node40_7type);
- Node40_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node40_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40_7.a('node.gradientcolor', '');
- Node40_7.a('node.gradient', '');
- Node40_7.a('node.borderwidth', Node40_7BorderWidth);
- Node40_7.a('node.color', 'rgba(192,192,192,1)');
- Node40_7.a('node.fillrect', [0,0,0,0]);
- Node40_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40_7.a('node.fillgradient', '');
- if (Node40_7type !== 'rect') {
- Node40_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node40_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40_7type === 'arc') {
- Node40_7.a('node.arcOval', true);
- }
- Node40_7.setRotation(0*Math.PI/180);
- Node40_7.borderWidth = Node40_7BorderWidth;
- Node40_7.borderFillwidth = Node40_7BorderWidth;
- dataModel.add(Node40_7);
- Node40_7._nodename = 'Node40_7'
- Node40_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40_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);
- }
- })(Node40_7, Node40_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_8 = new ht.Node();
- var Node40_8textStart, Node40_8textWidth, Node40_8lineStart, Node40_8align = 'center', Node40_8fontSize = 13.3333*_ratio.ratioY,Node40_8width = 105*_ratio.ratioX, Node40_8height = 27*_ratio.ratioY;
- (function () {
- if (Node40_8align === 'left') {
- Node40_8textStart = Node40_8fontSize * 0.2 > 2 ? Node40_8fontSize * 0.2 - 4 : Node40_8fontSize * 0.2 - 9;
- Node40_8textWidth = Node40_8width;
- Node40_8lineStart = 1;
- } else if (Node40_8align === 'right') {
- Node40_8textStart = 0;
- Node40_8textWidth =Node40_8fontSize <= 8 ? Node40_8width + Node40_8fontSize * 0.2 + 6 : Node40_8width - Node40_8fontSize * 0.2;
- Node40_8lineStart = (Node40_8width - (ht.Default.getTextSize('理论发电量', 'bold '+ Node40_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node40_8align === 'center') {
- Node40_8textStart = -3;
- Node40_8textWidth = Node40_8width;
- Node40_8lineStart = Node40_8width - ht.Default.getTextSize('理论发电量', 'bold '+ Node40_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node40_8.setImage(GD.getTextJSON(Node40_8width, Node40_8height, true, false, false, 'bold '+ Node40_8fontSize + 'px "Arial"'))
- Node40_8.setPosition(1205*ratio.ratioX, 103*ratio.ratioY);
- Node40_8.setWidth(Node40_8width);
- Node40_8.setHeight(Node40_8height);
- Node40_8._nodeType = 'text';
- Node40_8._disallowEvert = true;
- Node40_8.setRotation(0*Math.PI/180);
- Node40_8.a('node.width', Node40_8width);
- Node40_8.a('node.height', Node40_8height);
- Node40_8.a('node.rect', [0, 0, Node40_8width, Node40_8height]);
- Node40_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node40_8.a('node.borderwidth', 0);
- Node40_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_8.a('node.gradient','');
- Node40_8.a('node.gradientcolor','');
- Node40_8.a('node.text','理论发电量');
- Node40_8.a('node.textalign','center');
- Node40_8.a('node.textvAlign','middle');
- Node40_8.a('node.textrect', [Node40_8textStart, 0, Node40_8textWidth, Node40_8height]);
- Node40_8.a('node.color','rgba(255,255,255,1)');
- Node40_8.a('node.font','bold '+ Node40_8fontSize + 'px "Arial"');
- Node40_8.a('node.textvisible',true);
- Node40_8.a('node.linefeed',false);
- if (false) {
- Node40_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_8.a('node.text') || '理论发电量';
- var color=Node40_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_8width,Node40_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node40_8.a('node.underlinepoints',[Node40_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_8fontSize + 2 , ht.Default.getTextSize('理论发电量', 'bold '+ Node40_8fontSize + 'px "Arial"').width + 6, (Node40_8height - Node40_8fontSize) * 0.5*_ratio.ratioY + Node40_8fontSize + 2 ]);
- Node40_8.a('node.underlinevisible',false);
- Node40_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_8);
- zoomNodeList.push({
- node: Node40_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_9 = new ht.Node();
- var Node40_9textStart, Node40_9textWidth, Node40_9lineStart, Node40_9align = 'center', Node40_9fontSize = 11.99997*_ratio.ratioY,Node40_9width = 105*_ratio.ratioX, Node40_9height = 17*_ratio.ratioY;
- (function () {
- if (Node40_9align === 'left') {
- Node40_9textStart = Node40_9fontSize * 0.2 > 2 ? Node40_9fontSize * 0.2 - 4 : Node40_9fontSize * 0.2 - 9;
- Node40_9textWidth = Node40_9width;
- Node40_9lineStart = 1;
- } else if (Node40_9align === 'right') {
- Node40_9textStart = 0;
- Node40_9textWidth =Node40_9fontSize <= 8 ? Node40_9width + Node40_9fontSize * 0.2 + 6 : Node40_9width - Node40_9fontSize * 0.2;
- Node40_9lineStart = (Node40_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node40_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node40_9align === 'center') {
- Node40_9textStart = -3;
- Node40_9textWidth = Node40_9width;
- Node40_9lineStart = Node40_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node40_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node40_9.setImage(GD.getTextJSON(Node40_9width, Node40_9height, true, false, false, 'bold '+ Node40_9fontSize + 'px "Arial"'))
- Node40_9.setPosition(1205*ratio.ratioX, 131*ratio.ratioY);
- Node40_9.setWidth(Node40_9width);
- Node40_9.setHeight(Node40_9height);
- Node40_9._nodeType = 'text';
- Node40_9._disallowEvert = true;
- Node40_9.setRotation(0*Math.PI/180);
- Node40_9.a('node.width', Node40_9width);
- Node40_9.a('node.height', Node40_9height);
- Node40_9.a('node.rect', [0, 0, Node40_9width, Node40_9height]);
- Node40_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node40_9.a('node.borderwidth', 0);
- Node40_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_9.a('node.gradient','');
- Node40_9.a('node.gradientcolor','');
- Node40_9.a('node.text','万kwh');
- Node40_9.a('node.textalign','center');
- Node40_9.a('node.textvAlign','middle');
- Node40_9.a('node.textrect', [Node40_9textStart, 0, Node40_9textWidth, Node40_9height]);
- Node40_9.a('node.color','rgba(128,128,128,1)');
- Node40_9.a('node.font','bold '+ Node40_9fontSize + 'px "Arial"');
- Node40_9.a('node.textvisible',true);
- Node40_9.a('node.linefeed',false);
- if (false) {
- Node40_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_9.a('node.text') || '万kwh';
- var color=Node40_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node40_9width,Node40_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node40_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node40_9.a('node.underlinepoints',[Node40_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node40_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node40_9fontSize + 'px "Arial"').width + 6, (Node40_9height - Node40_9fontSize) * 0.5*_ratio.ratioY + Node40_9fontSize + 2 ]);
- Node40_9.a('node.underlinevisible',false);
- Node40_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_9);
- zoomNodeList.push({
- node: Node40_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_10 = new ht.Node();
- var Node40_10textStart, Node40_10textWidth, Node40_10lineStart, Node40_10align = 'center', Node40_10fontSize = 13.3333*_ratio.ratioY,Node40_10width = 105*_ratio.ratioX, Node40_10height = 27*_ratio.ratioY;
- (function () {
- if (Node40_10align === 'left') {
- Node40_10textStart = Node40_10fontSize * 0.2 > 2 ? Node40_10fontSize * 0.2 - 4 : Node40_10fontSize * 0.2 - 9;
- Node40_10textWidth = Node40_10width;
- Node40_10lineStart = 1;
- } else if (Node40_10align === 'right') {
- Node40_10textStart = 0;
- Node40_10textWidth =Node40_10fontSize <= 8 ? Node40_10width + Node40_10fontSize * 0.2 + 6 : Node40_10width - Node40_10fontSize * 0.2;
- Node40_10lineStart = (Node40_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node40_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_10align === 'center') {
- Node40_10textStart = -3;
- Node40_10textWidth = Node40_10width;
- Node40_10lineStart = Node40_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node40_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_10.setImage(GD.getTextJSON(Node40_10width, Node40_10height, true, false, false, 'bold '+ Node40_10fontSize + 'px "UniDreamLED"'))
- Node40_10.setPosition(1205*ratio.ratioX, 158*ratio.ratioY);
- Node40_10.setWidth(Node40_10width);
- Node40_10.setHeight(Node40_10height);
- Node40_10._nodeType = 'text';
- Node40_10._disallowEvert = true;
- Node40_10.setRotation(0*Math.PI/180);
- Node40_10.a('node.width', Node40_10width);
- Node40_10.a('node.height', Node40_10height);
- Node40_10.a('node.rect', [0, 0, Node40_10width, Node40_10height]);
- Node40_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_10.a('node.borderwidth', 0);
- Node40_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_10.a('node.gradient','');
- Node40_10.a('node.gradientcolor','');
- Node40_10.a('node.text','1134.76');
- Node40_10.a('node.textalign','center');
- Node40_10.a('node.textvAlign','middle');
- Node40_10.a('node.textrect', [Node40_10textStart, 0, Node40_10textWidth, Node40_10height]);
- Node40_10.a('node.color','rgba(0,0,0,1)');
- Node40_10.a('node.font','bold '+ Node40_10fontSize + 'px "UniDreamLED"');
- Node40_10.a('node.textvisible',true);
- Node40_10.a('node.linefeed',false);
- if (false) {
- Node40_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_10.a('node.text') || '1134.76';
- var color=Node40_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_10width,Node40_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_10.a('node.underlinepoints',[Node40_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node40_10fontSize + 'px "UniDreamLED"').width + 6, (Node40_10height - Node40_10fontSize) * 0.5*_ratio.ratioY + Node40_10fontSize + 2 ]);
- Node40_10.a('node.underlinevisible',false);
- Node40_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_10);
- zoomNodeList.push({
- node: Node40_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_11 = new ht.Node();
- var Node40_11textStart, Node40_11textWidth, Node40_11lineStart, Node40_11align = 'center', Node40_11fontSize = 13.3333*_ratio.ratioY,Node40_11width = 110*_ratio.ratioX, Node40_11height = 27*_ratio.ratioY;
- (function () {
- if (Node40_11align === 'left') {
- Node40_11textStart = Node40_11fontSize * 0.2 > 2 ? Node40_11fontSize * 0.2 - 4 : Node40_11fontSize * 0.2 - 9;
- Node40_11textWidth = Node40_11width;
- Node40_11lineStart = 1;
- } else if (Node40_11align === 'right') {
- Node40_11textStart = 0;
- Node40_11textWidth =Node40_11fontSize <= 8 ? Node40_11width + Node40_11fontSize * 0.2 + 6 : Node40_11width - Node40_11fontSize * 0.2;
- Node40_11lineStart = (Node40_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node40_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_11align === 'center') {
- Node40_11textStart = -3;
- Node40_11textWidth = Node40_11width;
- Node40_11lineStart = Node40_11width - ht.Default.getTextSize('171.51', 'bold '+ Node40_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_11.setImage(GD.getTextJSON(Node40_11width, Node40_11height, true, false, false, 'bold '+ Node40_11fontSize + 'px "UniDreamLED"'))
- Node40_11.setPosition(1208*ratio.ratioX, 190*ratio.ratioY);
- Node40_11.setWidth(Node40_11width);
- Node40_11.setHeight(Node40_11height);
- Node40_11._nodeType = 'text';
- Node40_11._disallowEvert = true;
- Node40_11.setRotation(0*Math.PI/180);
- Node40_11.a('node.width', Node40_11width);
- Node40_11.a('node.height', Node40_11height);
- Node40_11.a('node.rect', [0, 0, Node40_11width, Node40_11height]);
- Node40_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_11.a('node.borderwidth', 0);
- Node40_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_11.a('node.gradient','');
- Node40_11.a('node.gradientcolor','');
- Node40_11.a('node.text','171.51');
- Node40_11.a('node.textalign','center');
- Node40_11.a('node.textvAlign','middle');
- Node40_11.a('node.textrect', [Node40_11textStart, 0, Node40_11textWidth, Node40_11height]);
- Node40_11.a('node.color','rgba(0,0,0,1)');
- Node40_11.a('node.font','bold '+ Node40_11fontSize + 'px "UniDreamLED"');
- Node40_11.a('node.textvisible',true);
- Node40_11.a('node.linefeed',false);
- if (false) {
- Node40_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_11.a('node.text') || '171.51';
- var color=Node40_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_11width,Node40_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_11.a('node.underlinepoints',[Node40_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node40_11fontSize + 'px "UniDreamLED"').width + 6, (Node40_11height - Node40_11fontSize) * 0.5*_ratio.ratioY + Node40_11fontSize + 2 ]);
- Node40_11.a('node.underlinevisible',false);
- Node40_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_11);
- zoomNodeList.push({
- node: Node40_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_12 = new ht.Node();
- var Node40_12textStart, Node40_12textWidth, Node40_12lineStart, Node40_12align = 'center', Node40_12fontSize = 13.3333*_ratio.ratioY,Node40_12width = 110*_ratio.ratioX, Node40_12height = 27*_ratio.ratioY;
- (function () {
- if (Node40_12align === 'left') {
- Node40_12textStart = Node40_12fontSize * 0.2 > 2 ? Node40_12fontSize * 0.2 - 4 : Node40_12fontSize * 0.2 - 9;
- Node40_12textWidth = Node40_12width;
- Node40_12lineStart = 1;
- } else if (Node40_12align === 'right') {
- Node40_12textStart = 0;
- Node40_12textWidth =Node40_12fontSize <= 8 ? Node40_12width + Node40_12fontSize * 0.2 + 6 : Node40_12width - Node40_12fontSize * 0.2;
- Node40_12lineStart = (Node40_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node40_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_12align === 'center') {
- Node40_12textStart = -3;
- Node40_12textWidth = Node40_12width;
- Node40_12lineStart = Node40_12width - ht.Default.getTextSize('329.51', 'bold '+ Node40_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_12.setImage(GD.getTextJSON(Node40_12width, Node40_12height, true, false, false, 'bold '+ Node40_12fontSize + 'px "UniDreamLED"'))
- Node40_12.setPosition(1208*ratio.ratioX, 220*ratio.ratioY);
- Node40_12.setWidth(Node40_12width);
- Node40_12.setHeight(Node40_12height);
- Node40_12._nodeType = 'text';
- Node40_12._disallowEvert = true;
- Node40_12.setRotation(0*Math.PI/180);
- Node40_12.a('node.width', Node40_12width);
- Node40_12.a('node.height', Node40_12height);
- Node40_12.a('node.rect', [0, 0, Node40_12width, Node40_12height]);
- Node40_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_12.a('node.borderwidth', 0);
- Node40_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_12.a('node.gradient','');
- Node40_12.a('node.gradientcolor','');
- Node40_12.a('node.text','329.51');
- Node40_12.a('node.textalign','center');
- Node40_12.a('node.textvAlign','middle');
- Node40_12.a('node.textrect', [Node40_12textStart, 0, Node40_12textWidth, Node40_12height]);
- Node40_12.a('node.color','rgba(0,0,0,1)');
- Node40_12.a('node.font','bold '+ Node40_12fontSize + 'px "UniDreamLED"');
- Node40_12.a('node.textvisible',true);
- Node40_12.a('node.linefeed',false);
- if (false) {
- Node40_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_12.a('node.text') || '329.51';
- var color=Node40_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_12width,Node40_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_12.a('node.underlinepoints',[Node40_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node40_12fontSize + 'px "UniDreamLED"').width + 6, (Node40_12height - Node40_12fontSize) * 0.5*_ratio.ratioY + Node40_12fontSize + 2 ]);
- Node40_12.a('node.underlinevisible',false);
- Node40_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_12);
- zoomNodeList.push({
- node: Node40_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_13 = new ht.Node();
- var Node40_13textStart, Node40_13textWidth, Node40_13lineStart, Node40_13align = 'center', Node40_13fontSize = 13.3333*_ratio.ratioY,Node40_13width = 110*_ratio.ratioX, Node40_13height = 27*_ratio.ratioY;
- (function () {
- if (Node40_13align === 'left') {
- Node40_13textStart = Node40_13fontSize * 0.2 > 2 ? Node40_13fontSize * 0.2 - 4 : Node40_13fontSize * 0.2 - 9;
- Node40_13textWidth = Node40_13width;
- Node40_13lineStart = 1;
- } else if (Node40_13align === 'right') {
- Node40_13textStart = 0;
- Node40_13textWidth =Node40_13fontSize <= 8 ? Node40_13width + Node40_13fontSize * 0.2 + 6 : Node40_13width - Node40_13fontSize * 0.2;
- Node40_13lineStart = (Node40_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node40_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_13align === 'center') {
- Node40_13textStart = -3;
- Node40_13textWidth = Node40_13width;
- Node40_13lineStart = Node40_13width - ht.Default.getTextSize('340.14', 'bold '+ Node40_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_13.setImage(GD.getTextJSON(Node40_13width, Node40_13height, true, false, false, 'bold '+ Node40_13fontSize + 'px "UniDreamLED"'))
- Node40_13.setPosition(1208*ratio.ratioX, 250*ratio.ratioY);
- Node40_13.setWidth(Node40_13width);
- Node40_13.setHeight(Node40_13height);
- Node40_13._nodeType = 'text';
- Node40_13._disallowEvert = true;
- Node40_13.setRotation(0*Math.PI/180);
- Node40_13.a('node.width', Node40_13width);
- Node40_13.a('node.height', Node40_13height);
- Node40_13.a('node.rect', [0, 0, Node40_13width, Node40_13height]);
- Node40_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_13.a('node.borderwidth', 0);
- Node40_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_13.a('node.gradient','');
- Node40_13.a('node.gradientcolor','');
- Node40_13.a('node.text','340.14');
- Node40_13.a('node.textalign','center');
- Node40_13.a('node.textvAlign','middle');
- Node40_13.a('node.textrect', [Node40_13textStart, 0, Node40_13textWidth, Node40_13height]);
- Node40_13.a('node.color','rgba(0,0,0,1)');
- Node40_13.a('node.font','bold '+ Node40_13fontSize + 'px "UniDreamLED"');
- Node40_13.a('node.textvisible',true);
- Node40_13.a('node.linefeed',false);
- if (false) {
- Node40_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_13.a('node.text') || '340.14';
- var color=Node40_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_13width,Node40_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_13.a('node.underlinepoints',[Node40_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node40_13fontSize + 'px "UniDreamLED"').width + 6, (Node40_13height - Node40_13fontSize) * 0.5*_ratio.ratioY + Node40_13fontSize + 2 ]);
- Node40_13.a('node.underlinevisible',false);
- Node40_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_13);
- zoomNodeList.push({
- node: Node40_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_14 = new ht.Node();
- var Node40_14textStart, Node40_14textWidth, Node40_14lineStart, Node40_14align = 'center', Node40_14fontSize = 13.3333*_ratio.ratioY,Node40_14width = 110*_ratio.ratioX, Node40_14height = 27*_ratio.ratioY;
- (function () {
- if (Node40_14align === 'left') {
- Node40_14textStart = Node40_14fontSize * 0.2 > 2 ? Node40_14fontSize * 0.2 - 4 : Node40_14fontSize * 0.2 - 9;
- Node40_14textWidth = Node40_14width;
- Node40_14lineStart = 1;
- } else if (Node40_14align === 'right') {
- Node40_14textStart = 0;
- Node40_14textWidth =Node40_14fontSize <= 8 ? Node40_14width + Node40_14fontSize * 0.2 + 6 : Node40_14width - Node40_14fontSize * 0.2;
- Node40_14lineStart = (Node40_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node40_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_14align === 'center') {
- Node40_14textStart = -3;
- Node40_14textWidth = Node40_14width;
- Node40_14lineStart = Node40_14width - ht.Default.getTextSize('60.61', 'bold '+ Node40_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_14.setImage(GD.getTextJSON(Node40_14width, Node40_14height, true, false, false, 'bold '+ Node40_14fontSize + 'px "UniDreamLED"'))
- Node40_14.setPosition(1208*ratio.ratioX, 284*ratio.ratioY);
- Node40_14.setWidth(Node40_14width);
- Node40_14.setHeight(Node40_14height);
- Node40_14._nodeType = 'text';
- Node40_14._disallowEvert = true;
- Node40_14.setRotation(0*Math.PI/180);
- Node40_14.a('node.width', Node40_14width);
- Node40_14.a('node.height', Node40_14height);
- Node40_14.a('node.rect', [0, 0, Node40_14width, Node40_14height]);
- Node40_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_14.a('node.borderwidth', 0);
- Node40_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_14.a('node.gradient','');
- Node40_14.a('node.gradientcolor','');
- Node40_14.a('node.text','60.61');
- Node40_14.a('node.textalign','center');
- Node40_14.a('node.textvAlign','middle');
- Node40_14.a('node.textrect', [Node40_14textStart, 0, Node40_14textWidth, Node40_14height]);
- Node40_14.a('node.color','rgba(0,0,0,1)');
- Node40_14.a('node.font','bold '+ Node40_14fontSize + 'px "UniDreamLED"');
- Node40_14.a('node.textvisible',true);
- Node40_14.a('node.linefeed',false);
- if (false) {
- Node40_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_14.a('node.text') || '60.61';
- var color=Node40_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_14width,Node40_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_14.a('node.underlinepoints',[Node40_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node40_14fontSize + 'px "UniDreamLED"').width + 6, (Node40_14height - Node40_14fontSize) * 0.5*_ratio.ratioY + Node40_14fontSize + 2 ]);
- Node40_14.a('node.underlinevisible',false);
- Node40_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_14);
- zoomNodeList.push({
- node: Node40_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_15 = new ht.Node();
- var Node40_15textStart, Node40_15textWidth, Node40_15lineStart, Node40_15align = 'center', Node40_15fontSize = 13.3333*_ratio.ratioY,Node40_15width = 110*_ratio.ratioX, Node40_15height = 27*_ratio.ratioY;
- (function () {
- if (Node40_15align === 'left') {
- Node40_15textStart = Node40_15fontSize * 0.2 > 2 ? Node40_15fontSize * 0.2 - 4 : Node40_15fontSize * 0.2 - 9;
- Node40_15textWidth = Node40_15width;
- Node40_15lineStart = 1;
- } else if (Node40_15align === 'right') {
- Node40_15textStart = 0;
- Node40_15textWidth =Node40_15fontSize <= 8 ? Node40_15width + Node40_15fontSize * 0.2 + 6 : Node40_15width - Node40_15fontSize * 0.2;
- Node40_15lineStart = (Node40_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node40_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_15align === 'center') {
- Node40_15textStart = -3;
- Node40_15textWidth = Node40_15width;
- Node40_15lineStart = Node40_15width - ht.Default.getTextSize('166.79', 'bold '+ Node40_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_15.setImage(GD.getTextJSON(Node40_15width, Node40_15height, true, false, false, 'bold '+ Node40_15fontSize + 'px "UniDreamLED"'))
- Node40_15.setPosition(1208*ratio.ratioX, 317*ratio.ratioY);
- Node40_15.setWidth(Node40_15width);
- Node40_15.setHeight(Node40_15height);
- Node40_15._nodeType = 'text';
- Node40_15._disallowEvert = true;
- Node40_15.setRotation(0*Math.PI/180);
- Node40_15.a('node.width', Node40_15width);
- Node40_15.a('node.height', Node40_15height);
- Node40_15.a('node.rect', [0, 0, Node40_15width, Node40_15height]);
- Node40_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_15.a('node.borderwidth', 0);
- Node40_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_15.a('node.gradient','');
- Node40_15.a('node.gradientcolor','');
- Node40_15.a('node.text','166.79');
- Node40_15.a('node.textalign','center');
- Node40_15.a('node.textvAlign','middle');
- Node40_15.a('node.textrect', [Node40_15textStart, 0, Node40_15textWidth, Node40_15height]);
- Node40_15.a('node.color','rgba(0,0,0,1)');
- Node40_15.a('node.font','bold '+ Node40_15fontSize + 'px "UniDreamLED"');
- Node40_15.a('node.textvisible',true);
- Node40_15.a('node.linefeed',false);
- if (false) {
- Node40_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_15.a('node.text') || '166.79';
- var color=Node40_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_15width,Node40_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_15.a('node.underlinepoints',[Node40_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node40_15fontSize + 'px "UniDreamLED"').width + 6, (Node40_15height - Node40_15fontSize) * 0.5*_ratio.ratioY + Node40_15fontSize + 2 ]);
- Node40_15.a('node.underlinevisible',false);
- Node40_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_15);
- zoomNodeList.push({
- node: Node40_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_16 = new ht.Node();
- var Node40_16textStart, Node40_16textWidth, Node40_16lineStart, Node40_16align = 'center', Node40_16fontSize = 13.3333*_ratio.ratioY,Node40_16width = 110*_ratio.ratioX, Node40_16height = 27*_ratio.ratioY;
- (function () {
- if (Node40_16align === 'left') {
- Node40_16textStart = Node40_16fontSize * 0.2 > 2 ? Node40_16fontSize * 0.2 - 4 : Node40_16fontSize * 0.2 - 9;
- Node40_16textWidth = Node40_16width;
- Node40_16lineStart = 1;
- } else if (Node40_16align === 'right') {
- Node40_16textStart = 0;
- Node40_16textWidth =Node40_16fontSize <= 8 ? Node40_16width + Node40_16fontSize * 0.2 + 6 : Node40_16width - Node40_16fontSize * 0.2;
- Node40_16lineStart = (Node40_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node40_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_16align === 'center') {
- Node40_16textStart = -3;
- Node40_16textWidth = Node40_16width;
- Node40_16lineStart = Node40_16width - ht.Default.getTextSize('66.18', 'bold '+ Node40_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_16.setImage(GD.getTextJSON(Node40_16width, Node40_16height, true, false, false, 'bold '+ Node40_16fontSize + 'px "UniDreamLED"'))
- Node40_16.setPosition(1208*ratio.ratioX, 346*ratio.ratioY);
- Node40_16.setWidth(Node40_16width);
- Node40_16.setHeight(Node40_16height);
- Node40_16._nodeType = 'text';
- Node40_16._disallowEvert = true;
- Node40_16.setRotation(0*Math.PI/180);
- Node40_16.a('node.width', Node40_16width);
- Node40_16.a('node.height', Node40_16height);
- Node40_16.a('node.rect', [0, 0, Node40_16width, Node40_16height]);
- Node40_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_16.a('node.borderwidth', 0);
- Node40_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_16.a('node.gradient','');
- Node40_16.a('node.gradientcolor','');
- Node40_16.a('node.text','66.18');
- Node40_16.a('node.textalign','center');
- Node40_16.a('node.textvAlign','middle');
- Node40_16.a('node.textrect', [Node40_16textStart, 0, Node40_16textWidth, Node40_16height]);
- Node40_16.a('node.color','rgba(0,0,0,1)');
- Node40_16.a('node.font','bold '+ Node40_16fontSize + 'px "UniDreamLED"');
- Node40_16.a('node.textvisible',true);
- Node40_16.a('node.linefeed',false);
- if (false) {
- Node40_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_16.a('node.text') || '66.18';
- var color=Node40_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_16width,Node40_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_16.a('node.underlinepoints',[Node40_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node40_16fontSize + 'px "UniDreamLED"').width + 6, (Node40_16height - Node40_16fontSize) * 0.5*_ratio.ratioY + Node40_16fontSize + 2 ]);
- Node40_16.a('node.underlinevisible',false);
- Node40_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_16);
- zoomNodeList.push({
- node: Node40_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40_17 = new ht.Node();
- var Node40_17textStart, Node40_17textWidth, Node40_17lineStart, Node40_17align = 'center', Node40_17fontSize = 13.3333*_ratio.ratioY,Node40_17width = 110*_ratio.ratioX, Node40_17height = 27*_ratio.ratioY;
- (function () {
- if (Node40_17align === 'left') {
- Node40_17textStart = Node40_17fontSize * 0.2 > 2 ? Node40_17fontSize * 0.2 - 4 : Node40_17fontSize * 0.2 - 9;
- Node40_17textWidth = Node40_17width;
- Node40_17lineStart = 1;
- } else if (Node40_17align === 'right') {
- Node40_17textStart = 0;
- Node40_17textWidth =Node40_17fontSize <= 8 ? Node40_17width + Node40_17fontSize * 0.2 + 6 : Node40_17width - Node40_17fontSize * 0.2;
- Node40_17lineStart = (Node40_17width - (ht.Default.getTextSize('-', 'bold '+ Node40_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node40_17align === 'center') {
- Node40_17textStart = -3;
- Node40_17textWidth = Node40_17width;
- Node40_17lineStart = Node40_17width - ht.Default.getTextSize('-', 'bold '+ Node40_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node40_17.setImage(GD.getTextJSON(Node40_17width, Node40_17height, true, false, false, 'bold '+ Node40_17fontSize + 'px "UniDreamLED"'))
- Node40_17.setPosition(1208*ratio.ratioX, 377*ratio.ratioY);
- Node40_17.setWidth(Node40_17width);
- Node40_17.setHeight(Node40_17height);
- Node40_17._nodeType = 'text';
- Node40_17._disallowEvert = true;
- Node40_17.setRotation(0*Math.PI/180);
- Node40_17.a('node.width', Node40_17width);
- Node40_17.a('node.height', Node40_17height);
- Node40_17.a('node.rect', [0, 0, Node40_17width, Node40_17height]);
- Node40_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node40_17.a('node.borderwidth', 0);
- Node40_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node40_17.a('node.gradient','');
- Node40_17.a('node.gradientcolor','');
- Node40_17.a('node.text','-');
- Node40_17.a('node.textalign','center');
- Node40_17.a('node.textvAlign','middle');
- Node40_17.a('node.textrect', [Node40_17textStart, 0, Node40_17textWidth, Node40_17height]);
- Node40_17.a('node.color','rgba(0,0,0,1)');
- Node40_17.a('node.font','bold '+ Node40_17fontSize + 'px "UniDreamLED"');
- Node40_17.a('node.textvisible',true);
- Node40_17.a('node.linefeed',false);
- if (false) {
- Node40_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40_17.a('node.text') || '-';
- var color=Node40_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40_17width,Node40_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node40_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node40_17.a('node.underlinepoints',[Node40_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node40_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node40_17fontSize + 'px "UniDreamLED"').width + 6, (Node40_17height - Node40_17fontSize) * 0.5*_ratio.ratioY + Node40_17fontSize + 2 ]);
- Node40_17.a('node.underlinevisible',false);
- Node40_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40_17);
- zoomNodeList.push({
- node: Node40_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node41_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node41_0 = new ht.Node();
- Node41_0.setPosition(1208*ratio.ratioX, 237*ratio.ratioY);
- Node41_0.setSize(127*ratioX, 313*ratioY);
- Node41_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node41_0.setRotation(0*Math.PI/180);
- Node41_0._zoomBy = 'Default';
- Node41_0._nodeType = 'image';
- Node41_0._disallowEvert = true;
- dataModel.add(Node41_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41_1 = new ht.Node();
- var Node41_1textStart, Node41_1textWidth, Node41_1lineStart, Node41_1align = 'center', Node41_1fontSize = 13.3333*_ratio.ratioY,Node41_1width = 105*_ratio.ratioX, Node41_1height = 27*_ratio.ratioY;
- (function () {
- if (Node41_1align === 'left') {
- Node41_1textStart = Node41_1fontSize * 0.2 > 2 ? Node41_1fontSize * 0.2 - 4 : Node41_1fontSize * 0.2 - 9;
- Node41_1textWidth = Node41_1width;
- Node41_1lineStart = 1;
- } else if (Node41_1align === 'right') {
- Node41_1textStart = 0;
- Node41_1textWidth =Node41_1fontSize <= 8 ? Node41_1width + Node41_1fontSize * 0.2 + 6 : Node41_1width - Node41_1fontSize * 0.2;
- Node41_1lineStart = (Node41_1width - (ht.Default.getTextSize('理论发电量', 'bold '+ Node41_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node41_1align === 'center') {
- Node41_1textStart = -3;
- Node41_1textWidth = Node41_1width;
- Node41_1lineStart = Node41_1width - ht.Default.getTextSize('理论发电量', 'bold '+ Node41_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node41_1.setImage(GD.getTextJSON(Node41_1width, Node41_1height, true, false, false, 'bold '+ Node41_1fontSize + 'px "Arial"'))
- Node41_1.setPosition(1203*ratio.ratioX, 102*ratio.ratioY);
- Node41_1.setWidth(Node41_1width);
- Node41_1.setHeight(Node41_1height);
- Node41_1._nodeType = 'text';
- Node41_1._disallowEvert = true;
- Node41_1.setRotation(0*Math.PI/180);
- Node41_1.a('node.width', Node41_1width);
- Node41_1.a('node.height', Node41_1height);
- Node41_1.a('node.rect', [0, 0, Node41_1width, Node41_1height]);
- Node41_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node41_1.a('node.borderwidth', 0);
- Node41_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node41_1.a('node.gradient','');
- Node41_1.a('node.gradientcolor','');
- Node41_1.a('node.text','理论发电量');
- Node41_1.a('node.textalign','center');
- Node41_1.a('node.textvAlign','middle');
- Node41_1.a('node.textrect', [Node41_1textStart, 0, Node41_1textWidth, Node41_1height]);
- Node41_1.a('node.color','rgba(255,255,255,1)');
- Node41_1.a('node.font','bold '+ Node41_1fontSize + 'px "Arial"');
- Node41_1.a('node.textvisible',true);
- Node41_1.a('node.linefeed',false);
- if (false) {
- Node41_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41_1.a('node.text') || '理论发电量';
- var color=Node41_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41_1width,Node41_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node41_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node41_1.a('node.underlinepoints',[Node41_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node41_1fontSize + 2 , ht.Default.getTextSize('理论发电量', 'bold '+ Node41_1fontSize + 'px "Arial"').width + 6, (Node41_1height - Node41_1fontSize) * 0.5*_ratio.ratioY + Node41_1fontSize + 2 ]);
- Node41_1.a('node.underlinevisible',false);
- Node41_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41_1);
- zoomNodeList.push({
- node: Node41_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_0type = 'rect';
- var Node42_0 = new ht.Node(),
- Node42_0BorderWidth = 0*2;
- if (Node42_0type === 'arc') {
- Node42_0BorderWidth *= 0;
- }
- Node42_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_0.setPosition(1335*ratio.ratioX, 190*ratio.ratioY);
- Node42_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_0.a('node.width', 127*_ratio.ratioX);
- Node42_0.a('node.height', 32*_ratio.ratioY);
- Node42_0.a('node.type', Node42_0type);
- Node42_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_0.a('node.background', 'rgba(245,245,245,1)');
- Node42_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node42_0.a('node.gradient', '');
- Node42_0.a('node.borderwidth', Node42_0BorderWidth);
- Node42_0.a('node.color', 'rgba(192,192,192,0)');
- Node42_0.a('node.fillrect', [0,0,0,0]);
- Node42_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_0.a('node.fillgradient', '');
- if (Node42_0type !== 'rect') {
- Node42_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_0type === 'arc') {
- Node42_0.a('node.arcOval', true);
- }
- Node42_0.setRotation(0*Math.PI/180);
- Node42_0.borderWidth = Node42_0BorderWidth;
- Node42_0.borderFillwidth = Node42_0BorderWidth;
- dataModel.add(Node42_0);
- Node42_0._nodename = 'Node42_0'
- Node42_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_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);
- }
- })(Node42_0, Node42_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_1type = 'rect';
- var Node42_1 = new ht.Node(),
- Node42_1BorderWidth = 0*2;
- if (Node42_1type === 'arc') {
- Node42_1BorderWidth *= 0;
- }
- Node42_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_1.setPosition(1335*ratio.ratioX, 222*ratio.ratioY);
- Node42_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_1.a('node.width', 127*_ratio.ratioX);
- Node42_1.a('node.height', 32*_ratio.ratioY);
- Node42_1.a('node.type', Node42_1type);
- Node42_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node42_1.a('node.gradientcolor', '');
- Node42_1.a('node.gradient', '');
- Node42_1.a('node.borderwidth', Node42_1BorderWidth);
- Node42_1.a('node.color', 'rgba(192,192,192,0)');
- Node42_1.a('node.fillrect', [0,0,0,0]);
- Node42_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_1.a('node.fillgradient', '');
- if (Node42_1type !== 'rect') {
- Node42_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_1type === 'arc') {
- Node42_1.a('node.arcOval', true);
- }
- Node42_1.setRotation(0*Math.PI/180);
- Node42_1.borderWidth = Node42_1BorderWidth;
- Node42_1.borderFillwidth = Node42_1BorderWidth;
- dataModel.add(Node42_1);
- Node42_1._nodename = 'Node42_1'
- Node42_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_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);
- }
- })(Node42_1, Node42_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_2type = 'rect';
- var Node42_2 = new ht.Node(),
- Node42_2BorderWidth = 0*2;
- if (Node42_2type === 'arc') {
- Node42_2BorderWidth *= 0;
- }
- Node42_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_2.setPosition(1335*ratio.ratioX, 254*ratio.ratioY);
- Node42_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_2.a('node.width', 127*_ratio.ratioX);
- Node42_2.a('node.height', 32*_ratio.ratioY);
- Node42_2.a('node.type', Node42_2type);
- Node42_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_2.a('node.background', 'rgba(245,245,245,1)');
- Node42_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node42_2.a('node.gradient', '');
- Node42_2.a('node.borderwidth', Node42_2BorderWidth);
- Node42_2.a('node.color', 'rgba(192,192,192,0)');
- Node42_2.a('node.fillrect', [0,0,0,0]);
- Node42_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_2.a('node.fillgradient', '');
- if (Node42_2type !== 'rect') {
- Node42_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_2type === 'arc') {
- Node42_2.a('node.arcOval', true);
- }
- Node42_2.setRotation(0*Math.PI/180);
- Node42_2.borderWidth = Node42_2BorderWidth;
- Node42_2.borderFillwidth = Node42_2BorderWidth;
- dataModel.add(Node42_2);
- Node42_2._nodename = 'Node42_2'
- Node42_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node42_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_3type = 'rect';
- var Node42_3 = new ht.Node(),
- Node42_3BorderWidth = 0*2;
- if (Node42_3type === 'arc') {
- Node42_3BorderWidth *= 0;
- }
- Node42_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_3.setPosition(1335*ratio.ratioX, 285*ratio.ratioY);
- Node42_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_3.a('node.width', 127*_ratio.ratioX);
- Node42_3.a('node.height', 32*_ratio.ratioY);
- Node42_3.a('node.type', Node42_3type);
- Node42_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node42_3.a('node.gradientcolor', '');
- Node42_3.a('node.gradient', '');
- Node42_3.a('node.borderwidth', Node42_3BorderWidth);
- Node42_3.a('node.color', 'rgba(192,192,192,0)');
- Node42_3.a('node.fillrect', [0,0,0,0]);
- Node42_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_3.a('node.fillgradient', '');
- if (Node42_3type !== 'rect') {
- Node42_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_3type === 'arc') {
- Node42_3.a('node.arcOval', true);
- }
- Node42_3.setRotation(0*Math.PI/180);
- Node42_3.borderWidth = Node42_3BorderWidth;
- Node42_3.borderFillwidth = Node42_3BorderWidth;
- dataModel.add(Node42_3);
- Node42_3._nodename = 'Node42_3'
- Node42_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node42_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_4type = 'rect';
- var Node42_4 = new ht.Node(),
- Node42_4BorderWidth = 0*2;
- if (Node42_4type === 'arc') {
- Node42_4BorderWidth *= 0;
- }
- Node42_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_4.setPosition(1335*ratio.ratioX, 316*ratio.ratioY);
- Node42_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_4.a('node.width', 127*_ratio.ratioX);
- Node42_4.a('node.height', 32*_ratio.ratioY);
- Node42_4.a('node.type', Node42_4type);
- Node42_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_4.a('node.background', 'rgba(245,245,245,1)');
- Node42_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node42_4.a('node.gradient', '');
- Node42_4.a('node.borderwidth', Node42_4BorderWidth);
- Node42_4.a('node.color', 'rgba(192,192,192,0)');
- Node42_4.a('node.fillrect', [0,0,0,0]);
- Node42_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_4.a('node.fillgradient', '');
- if (Node42_4type !== 'rect') {
- Node42_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_4type === 'arc') {
- Node42_4.a('node.arcOval', true);
- }
- Node42_4.setRotation(0*Math.PI/180);
- Node42_4.borderWidth = Node42_4BorderWidth;
- Node42_4.borderFillwidth = Node42_4BorderWidth;
- dataModel.add(Node42_4);
- Node42_4._nodename = 'Node42_4'
- Node42_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node42_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_5type = 'rect';
- var Node42_5 = new ht.Node(),
- Node42_5BorderWidth = 0*2;
- if (Node42_5type === 'arc') {
- Node42_5BorderWidth *= 0;
- }
- Node42_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_5.setPosition(1335*ratio.ratioX, 347*ratio.ratioY);
- Node42_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_5.a('node.width', 127*_ratio.ratioX);
- Node42_5.a('node.height', 32*_ratio.ratioY);
- Node42_5.a('node.type', Node42_5type);
- Node42_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node42_5.a('node.gradientcolor', '');
- Node42_5.a('node.gradient', '');
- Node42_5.a('node.borderwidth', Node42_5BorderWidth);
- Node42_5.a('node.color', 'rgba(192,192,192,0)');
- Node42_5.a('node.fillrect', [0,0,0,0]);
- Node42_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_5.a('node.fillgradient', '');
- if (Node42_5type !== 'rect') {
- Node42_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_5type === 'arc') {
- Node42_5.a('node.arcOval', true);
- }
- Node42_5.setRotation(0*Math.PI/180);
- Node42_5.borderWidth = Node42_5BorderWidth;
- Node42_5.borderFillwidth = Node42_5BorderWidth;
- dataModel.add(Node42_5);
- Node42_5._nodename = 'Node42_5'
- Node42_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node42_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_6type = 'rect';
- var Node42_6 = new ht.Node(),
- Node42_6BorderWidth = 0*2;
- if (Node42_6type === 'arc') {
- Node42_6BorderWidth *= 0;
- }
- Node42_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node42_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_6.setPosition(1335*ratio.ratioX, 378*ratio.ratioY);
- Node42_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node42_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_6.a('node.width', 127*_ratio.ratioX);
- Node42_6.a('node.height', 32*_ratio.ratioY);
- Node42_6.a('node.type', Node42_6type);
- Node42_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node42_6.a('node.background', 'rgba(245,245,245,1)');
- Node42_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node42_6.a('node.gradient', '');
- Node42_6.a('node.borderwidth', Node42_6BorderWidth);
- Node42_6.a('node.color', 'rgba(192,192,192,0)');
- Node42_6.a('node.fillrect', [0,0,0,0]);
- Node42_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_6.a('node.fillgradient', '');
- if (Node42_6type !== 'rect') {
- Node42_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_6type === 'arc') {
- Node42_6.a('node.arcOval', true);
- }
- Node42_6.setRotation(0*Math.PI/180);
- Node42_6.borderWidth = Node42_6BorderWidth;
- Node42_6.borderFillwidth = Node42_6BorderWidth;
- dataModel.add(Node42_6);
- Node42_6._nodename = 'Node42_6'
- Node42_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node42_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_7type = 'rect';
- var Node42_7 = new ht.Node(),
- Node42_7BorderWidth = 1*2;
- if (Node42_7type === 'arc') {
- Node42_7BorderWidth *= 1;
- }
- Node42_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node42_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42_7.setPosition(1335*ratio.ratioX, 239*ratio.ratioY);
- Node42_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node42_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42_7.a('node.width', 127*_ratio.ratioX);
- Node42_7.a('node.height', 309*_ratio.ratioY);
- Node42_7.a('node.type', Node42_7type);
- Node42_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node42_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node42_7.a('node.gradientcolor', '');
- Node42_7.a('node.gradient', '');
- Node42_7.a('node.borderwidth', Node42_7BorderWidth);
- Node42_7.a('node.color', 'rgba(192,192,192,1)');
- Node42_7.a('node.fillrect', [0,0,0,0]);
- Node42_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42_7.a('node.fillgradient', '');
- if (Node42_7type !== 'rect') {
- Node42_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node42_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42_7type === 'arc') {
- Node42_7.a('node.arcOval', true);
- }
- Node42_7.setRotation(0*Math.PI/180);
- Node42_7.borderWidth = Node42_7BorderWidth;
- Node42_7.borderFillwidth = Node42_7BorderWidth;
- dataModel.add(Node42_7);
- Node42_7._nodename = 'Node42_7'
- Node42_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42_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);
- }
- })(Node42_7, Node42_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_8 = new ht.Node();
- var Node42_8textStart, Node42_8textWidth, Node42_8lineStart, Node42_8align = 'center', Node42_8fontSize = 13.3333*_ratio.ratioY,Node42_8width = 105*_ratio.ratioX, Node42_8height = 27*_ratio.ratioY;
- (function () {
- if (Node42_8align === 'left') {
- Node42_8textStart = Node42_8fontSize * 0.2 > 2 ? Node42_8fontSize * 0.2 - 4 : Node42_8fontSize * 0.2 - 9;
- Node42_8textWidth = Node42_8width;
- Node42_8lineStart = 1;
- } else if (Node42_8align === 'right') {
- Node42_8textStart = 0;
- Node42_8textWidth =Node42_8fontSize <= 8 ? Node42_8width + Node42_8fontSize * 0.2 + 6 : Node42_8width - Node42_8fontSize * 0.2;
- Node42_8lineStart = (Node42_8width - (ht.Default.getTextSize('维护损失电量', 'bold '+ Node42_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node42_8align === 'center') {
- Node42_8textStart = -3;
- Node42_8textWidth = Node42_8width;
- Node42_8lineStart = Node42_8width - ht.Default.getTextSize('维护损失电量', 'bold '+ Node42_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node42_8.setImage(GD.getTextJSON(Node42_8width, Node42_8height, true, false, false, 'bold '+ Node42_8fontSize + 'px "Arial"'))
- Node42_8.setPosition(1332*ratio.ratioX, 103*ratio.ratioY);
- Node42_8.setWidth(Node42_8width);
- Node42_8.setHeight(Node42_8height);
- Node42_8._nodeType = 'text';
- Node42_8._disallowEvert = true;
- Node42_8.setRotation(0*Math.PI/180);
- Node42_8.a('node.width', Node42_8width);
- Node42_8.a('node.height', Node42_8height);
- Node42_8.a('node.rect', [0, 0, Node42_8width, Node42_8height]);
- Node42_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node42_8.a('node.borderwidth', 0);
- Node42_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_8.a('node.gradient','');
- Node42_8.a('node.gradientcolor','');
- Node42_8.a('node.text','维护损失电量');
- Node42_8.a('node.textalign','center');
- Node42_8.a('node.textvAlign','middle');
- Node42_8.a('node.textrect', [Node42_8textStart, 0, Node42_8textWidth, Node42_8height]);
- Node42_8.a('node.color','rgba(255,255,255,1)');
- Node42_8.a('node.font','bold '+ Node42_8fontSize + 'px "Arial"');
- Node42_8.a('node.textvisible',true);
- Node42_8.a('node.linefeed',false);
- if (false) {
- Node42_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_8.a('node.text') || '维护损失电量';
- var color=Node42_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_8width,Node42_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node42_8.a('node.underlinepoints',[Node42_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_8fontSize + 2 , ht.Default.getTextSize('维护损失电量', 'bold '+ Node42_8fontSize + 'px "Arial"').width + 6, (Node42_8height - Node42_8fontSize) * 0.5*_ratio.ratioY + Node42_8fontSize + 2 ]);
- Node42_8.a('node.underlinevisible',false);
- Node42_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_8);
- zoomNodeList.push({
- node: Node42_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_9 = new ht.Node();
- var Node42_9textStart, Node42_9textWidth, Node42_9lineStart, Node42_9align = 'center', Node42_9fontSize = 11.99997*_ratio.ratioY,Node42_9width = 105*_ratio.ratioX, Node42_9height = 17*_ratio.ratioY;
- (function () {
- if (Node42_9align === 'left') {
- Node42_9textStart = Node42_9fontSize * 0.2 > 2 ? Node42_9fontSize * 0.2 - 4 : Node42_9fontSize * 0.2 - 9;
- Node42_9textWidth = Node42_9width;
- Node42_9lineStart = 1;
- } else if (Node42_9align === 'right') {
- Node42_9textStart = 0;
- Node42_9textWidth =Node42_9fontSize <= 8 ? Node42_9width + Node42_9fontSize * 0.2 + 6 : Node42_9width - Node42_9fontSize * 0.2;
- Node42_9lineStart = (Node42_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node42_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node42_9align === 'center') {
- Node42_9textStart = -3;
- Node42_9textWidth = Node42_9width;
- Node42_9lineStart = Node42_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node42_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node42_9.setImage(GD.getTextJSON(Node42_9width, Node42_9height, true, false, false, 'bold '+ Node42_9fontSize + 'px "Arial"'))
- Node42_9.setPosition(1332*ratio.ratioX, 131*ratio.ratioY);
- Node42_9.setWidth(Node42_9width);
- Node42_9.setHeight(Node42_9height);
- Node42_9._nodeType = 'text';
- Node42_9._disallowEvert = true;
- Node42_9.setRotation(0*Math.PI/180);
- Node42_9.a('node.width', Node42_9width);
- Node42_9.a('node.height', Node42_9height);
- Node42_9.a('node.rect', [0, 0, Node42_9width, Node42_9height]);
- Node42_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node42_9.a('node.borderwidth', 0);
- Node42_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_9.a('node.gradient','');
- Node42_9.a('node.gradientcolor','');
- Node42_9.a('node.text','万kwh');
- Node42_9.a('node.textalign','center');
- Node42_9.a('node.textvAlign','middle');
- Node42_9.a('node.textrect', [Node42_9textStart, 0, Node42_9textWidth, Node42_9height]);
- Node42_9.a('node.color','rgba(128,128,128,1)');
- Node42_9.a('node.font','bold '+ Node42_9fontSize + 'px "Arial"');
- Node42_9.a('node.textvisible',true);
- Node42_9.a('node.linefeed',false);
- if (false) {
- Node42_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_9.a('node.text') || '万kwh';
- var color=Node42_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node42_9width,Node42_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node42_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node42_9.a('node.underlinepoints',[Node42_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node42_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node42_9fontSize + 'px "Arial"').width + 6, (Node42_9height - Node42_9fontSize) * 0.5*_ratio.ratioY + Node42_9fontSize + 2 ]);
- Node42_9.a('node.underlinevisible',false);
- Node42_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_9);
- zoomNodeList.push({
- node: Node42_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_10 = new ht.Node();
- var Node42_10textStart, Node42_10textWidth, Node42_10lineStart, Node42_10align = 'center', Node42_10fontSize = 13.3333*_ratio.ratioY,Node42_10width = 105*_ratio.ratioX, Node42_10height = 27*_ratio.ratioY;
- (function () {
- if (Node42_10align === 'left') {
- Node42_10textStart = Node42_10fontSize * 0.2 > 2 ? Node42_10fontSize * 0.2 - 4 : Node42_10fontSize * 0.2 - 9;
- Node42_10textWidth = Node42_10width;
- Node42_10lineStart = 1;
- } else if (Node42_10align === 'right') {
- Node42_10textStart = 0;
- Node42_10textWidth =Node42_10fontSize <= 8 ? Node42_10width + Node42_10fontSize * 0.2 + 6 : Node42_10width - Node42_10fontSize * 0.2;
- Node42_10lineStart = (Node42_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node42_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_10align === 'center') {
- Node42_10textStart = -3;
- Node42_10textWidth = Node42_10width;
- Node42_10lineStart = Node42_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node42_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_10.setImage(GD.getTextJSON(Node42_10width, Node42_10height, true, false, false, 'bold '+ Node42_10fontSize + 'px "UniDreamLED"'))
- Node42_10.setPosition(1332*ratio.ratioX, 158*ratio.ratioY);
- Node42_10.setWidth(Node42_10width);
- Node42_10.setHeight(Node42_10height);
- Node42_10._nodeType = 'text';
- Node42_10._disallowEvert = true;
- Node42_10.setRotation(0*Math.PI/180);
- Node42_10.a('node.width', Node42_10width);
- Node42_10.a('node.height', Node42_10height);
- Node42_10.a('node.rect', [0, 0, Node42_10width, Node42_10height]);
- Node42_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_10.a('node.borderwidth', 0);
- Node42_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_10.a('node.gradient','');
- Node42_10.a('node.gradientcolor','');
- Node42_10.a('node.text','1134.76');
- Node42_10.a('node.textalign','center');
- Node42_10.a('node.textvAlign','middle');
- Node42_10.a('node.textrect', [Node42_10textStart, 0, Node42_10textWidth, Node42_10height]);
- Node42_10.a('node.color','rgba(0,0,0,1)');
- Node42_10.a('node.font','bold '+ Node42_10fontSize + 'px "UniDreamLED"');
- Node42_10.a('node.textvisible',true);
- Node42_10.a('node.linefeed',false);
- if (false) {
- Node42_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_10.a('node.text') || '1134.76';
- var color=Node42_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_10width,Node42_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_10.a('node.underlinepoints',[Node42_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node42_10fontSize + 'px "UniDreamLED"').width + 6, (Node42_10height - Node42_10fontSize) * 0.5*_ratio.ratioY + Node42_10fontSize + 2 ]);
- Node42_10.a('node.underlinevisible',false);
- Node42_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_10);
- zoomNodeList.push({
- node: Node42_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_11 = new ht.Node();
- var Node42_11textStart, Node42_11textWidth, Node42_11lineStart, Node42_11align = 'center', Node42_11fontSize = 13.3333*_ratio.ratioY,Node42_11width = 110*_ratio.ratioX, Node42_11height = 27*_ratio.ratioY;
- (function () {
- if (Node42_11align === 'left') {
- Node42_11textStart = Node42_11fontSize * 0.2 > 2 ? Node42_11fontSize * 0.2 - 4 : Node42_11fontSize * 0.2 - 9;
- Node42_11textWidth = Node42_11width;
- Node42_11lineStart = 1;
- } else if (Node42_11align === 'right') {
- Node42_11textStart = 0;
- Node42_11textWidth =Node42_11fontSize <= 8 ? Node42_11width + Node42_11fontSize * 0.2 + 6 : Node42_11width - Node42_11fontSize * 0.2;
- Node42_11lineStart = (Node42_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node42_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_11align === 'center') {
- Node42_11textStart = -3;
- Node42_11textWidth = Node42_11width;
- Node42_11lineStart = Node42_11width - ht.Default.getTextSize('171.51', 'bold '+ Node42_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_11.setImage(GD.getTextJSON(Node42_11width, Node42_11height, true, false, false, 'bold '+ Node42_11fontSize + 'px "UniDreamLED"'))
- Node42_11.setPosition(1335*ratio.ratioX, 190*ratio.ratioY);
- Node42_11.setWidth(Node42_11width);
- Node42_11.setHeight(Node42_11height);
- Node42_11._nodeType = 'text';
- Node42_11._disallowEvert = true;
- Node42_11.setRotation(0*Math.PI/180);
- Node42_11.a('node.width', Node42_11width);
- Node42_11.a('node.height', Node42_11height);
- Node42_11.a('node.rect', [0, 0, Node42_11width, Node42_11height]);
- Node42_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_11.a('node.borderwidth', 0);
- Node42_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_11.a('node.gradient','');
- Node42_11.a('node.gradientcolor','');
- Node42_11.a('node.text','171.51');
- Node42_11.a('node.textalign','center');
- Node42_11.a('node.textvAlign','middle');
- Node42_11.a('node.textrect', [Node42_11textStart, 0, Node42_11textWidth, Node42_11height]);
- Node42_11.a('node.color','rgba(0,0,0,1)');
- Node42_11.a('node.font','bold '+ Node42_11fontSize + 'px "UniDreamLED"');
- Node42_11.a('node.textvisible',true);
- Node42_11.a('node.linefeed',false);
- if (false) {
- Node42_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_11.a('node.text') || '171.51';
- var color=Node42_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_11width,Node42_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_11.a('node.underlinepoints',[Node42_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node42_11fontSize + 'px "UniDreamLED"').width + 6, (Node42_11height - Node42_11fontSize) * 0.5*_ratio.ratioY + Node42_11fontSize + 2 ]);
- Node42_11.a('node.underlinevisible',false);
- Node42_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_11);
- zoomNodeList.push({
- node: Node42_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_12 = new ht.Node();
- var Node42_12textStart, Node42_12textWidth, Node42_12lineStart, Node42_12align = 'center', Node42_12fontSize = 13.3333*_ratio.ratioY,Node42_12width = 110*_ratio.ratioX, Node42_12height = 27*_ratio.ratioY;
- (function () {
- if (Node42_12align === 'left') {
- Node42_12textStart = Node42_12fontSize * 0.2 > 2 ? Node42_12fontSize * 0.2 - 4 : Node42_12fontSize * 0.2 - 9;
- Node42_12textWidth = Node42_12width;
- Node42_12lineStart = 1;
- } else if (Node42_12align === 'right') {
- Node42_12textStart = 0;
- Node42_12textWidth =Node42_12fontSize <= 8 ? Node42_12width + Node42_12fontSize * 0.2 + 6 : Node42_12width - Node42_12fontSize * 0.2;
- Node42_12lineStart = (Node42_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node42_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_12align === 'center') {
- Node42_12textStart = -3;
- Node42_12textWidth = Node42_12width;
- Node42_12lineStart = Node42_12width - ht.Default.getTextSize('329.51', 'bold '+ Node42_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_12.setImage(GD.getTextJSON(Node42_12width, Node42_12height, true, false, false, 'bold '+ Node42_12fontSize + 'px "UniDreamLED"'))
- Node42_12.setPosition(1335*ratio.ratioX, 220*ratio.ratioY);
- Node42_12.setWidth(Node42_12width);
- Node42_12.setHeight(Node42_12height);
- Node42_12._nodeType = 'text';
- Node42_12._disallowEvert = true;
- Node42_12.setRotation(0*Math.PI/180);
- Node42_12.a('node.width', Node42_12width);
- Node42_12.a('node.height', Node42_12height);
- Node42_12.a('node.rect', [0, 0, Node42_12width, Node42_12height]);
- Node42_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_12.a('node.borderwidth', 0);
- Node42_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_12.a('node.gradient','');
- Node42_12.a('node.gradientcolor','');
- Node42_12.a('node.text','329.51');
- Node42_12.a('node.textalign','center');
- Node42_12.a('node.textvAlign','middle');
- Node42_12.a('node.textrect', [Node42_12textStart, 0, Node42_12textWidth, Node42_12height]);
- Node42_12.a('node.color','rgba(0,0,0,1)');
- Node42_12.a('node.font','bold '+ Node42_12fontSize + 'px "UniDreamLED"');
- Node42_12.a('node.textvisible',true);
- Node42_12.a('node.linefeed',false);
- if (false) {
- Node42_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_12.a('node.text') || '329.51';
- var color=Node42_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_12width,Node42_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_12.a('node.underlinepoints',[Node42_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node42_12fontSize + 'px "UniDreamLED"').width + 6, (Node42_12height - Node42_12fontSize) * 0.5*_ratio.ratioY + Node42_12fontSize + 2 ]);
- Node42_12.a('node.underlinevisible',false);
- Node42_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_12);
- zoomNodeList.push({
- node: Node42_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_13 = new ht.Node();
- var Node42_13textStart, Node42_13textWidth, Node42_13lineStart, Node42_13align = 'center', Node42_13fontSize = 13.3333*_ratio.ratioY,Node42_13width = 110*_ratio.ratioX, Node42_13height = 27*_ratio.ratioY;
- (function () {
- if (Node42_13align === 'left') {
- Node42_13textStart = Node42_13fontSize * 0.2 > 2 ? Node42_13fontSize * 0.2 - 4 : Node42_13fontSize * 0.2 - 9;
- Node42_13textWidth = Node42_13width;
- Node42_13lineStart = 1;
- } else if (Node42_13align === 'right') {
- Node42_13textStart = 0;
- Node42_13textWidth =Node42_13fontSize <= 8 ? Node42_13width + Node42_13fontSize * 0.2 + 6 : Node42_13width - Node42_13fontSize * 0.2;
- Node42_13lineStart = (Node42_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node42_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_13align === 'center') {
- Node42_13textStart = -3;
- Node42_13textWidth = Node42_13width;
- Node42_13lineStart = Node42_13width - ht.Default.getTextSize('340.14', 'bold '+ Node42_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_13.setImage(GD.getTextJSON(Node42_13width, Node42_13height, true, false, false, 'bold '+ Node42_13fontSize + 'px "UniDreamLED"'))
- Node42_13.setPosition(1335*ratio.ratioX, 250*ratio.ratioY);
- Node42_13.setWidth(Node42_13width);
- Node42_13.setHeight(Node42_13height);
- Node42_13._nodeType = 'text';
- Node42_13._disallowEvert = true;
- Node42_13.setRotation(0*Math.PI/180);
- Node42_13.a('node.width', Node42_13width);
- Node42_13.a('node.height', Node42_13height);
- Node42_13.a('node.rect', [0, 0, Node42_13width, Node42_13height]);
- Node42_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_13.a('node.borderwidth', 0);
- Node42_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_13.a('node.gradient','');
- Node42_13.a('node.gradientcolor','');
- Node42_13.a('node.text','340.14');
- Node42_13.a('node.textalign','center');
- Node42_13.a('node.textvAlign','middle');
- Node42_13.a('node.textrect', [Node42_13textStart, 0, Node42_13textWidth, Node42_13height]);
- Node42_13.a('node.color','rgba(0,0,0,1)');
- Node42_13.a('node.font','bold '+ Node42_13fontSize + 'px "UniDreamLED"');
- Node42_13.a('node.textvisible',true);
- Node42_13.a('node.linefeed',false);
- if (false) {
- Node42_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_13.a('node.text') || '340.14';
- var color=Node42_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_13width,Node42_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_13.a('node.underlinepoints',[Node42_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node42_13fontSize + 'px "UniDreamLED"').width + 6, (Node42_13height - Node42_13fontSize) * 0.5*_ratio.ratioY + Node42_13fontSize + 2 ]);
- Node42_13.a('node.underlinevisible',false);
- Node42_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_13);
- zoomNodeList.push({
- node: Node42_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_14 = new ht.Node();
- var Node42_14textStart, Node42_14textWidth, Node42_14lineStart, Node42_14align = 'center', Node42_14fontSize = 13.3333*_ratio.ratioY,Node42_14width = 110*_ratio.ratioX, Node42_14height = 27*_ratio.ratioY;
- (function () {
- if (Node42_14align === 'left') {
- Node42_14textStart = Node42_14fontSize * 0.2 > 2 ? Node42_14fontSize * 0.2 - 4 : Node42_14fontSize * 0.2 - 9;
- Node42_14textWidth = Node42_14width;
- Node42_14lineStart = 1;
- } else if (Node42_14align === 'right') {
- Node42_14textStart = 0;
- Node42_14textWidth =Node42_14fontSize <= 8 ? Node42_14width + Node42_14fontSize * 0.2 + 6 : Node42_14width - Node42_14fontSize * 0.2;
- Node42_14lineStart = (Node42_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node42_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_14align === 'center') {
- Node42_14textStart = -3;
- Node42_14textWidth = Node42_14width;
- Node42_14lineStart = Node42_14width - ht.Default.getTextSize('60.61', 'bold '+ Node42_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_14.setImage(GD.getTextJSON(Node42_14width, Node42_14height, true, false, false, 'bold '+ Node42_14fontSize + 'px "UniDreamLED"'))
- Node42_14.setPosition(1335*ratio.ratioX, 284*ratio.ratioY);
- Node42_14.setWidth(Node42_14width);
- Node42_14.setHeight(Node42_14height);
- Node42_14._nodeType = 'text';
- Node42_14._disallowEvert = true;
- Node42_14.setRotation(0*Math.PI/180);
- Node42_14.a('node.width', Node42_14width);
- Node42_14.a('node.height', Node42_14height);
- Node42_14.a('node.rect', [0, 0, Node42_14width, Node42_14height]);
- Node42_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_14.a('node.borderwidth', 0);
- Node42_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_14.a('node.gradient','');
- Node42_14.a('node.gradientcolor','');
- Node42_14.a('node.text','60.61');
- Node42_14.a('node.textalign','center');
- Node42_14.a('node.textvAlign','middle');
- Node42_14.a('node.textrect', [Node42_14textStart, 0, Node42_14textWidth, Node42_14height]);
- Node42_14.a('node.color','rgba(0,0,0,1)');
- Node42_14.a('node.font','bold '+ Node42_14fontSize + 'px "UniDreamLED"');
- Node42_14.a('node.textvisible',true);
- Node42_14.a('node.linefeed',false);
- if (false) {
- Node42_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_14.a('node.text') || '60.61';
- var color=Node42_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_14width,Node42_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_14.a('node.underlinepoints',[Node42_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node42_14fontSize + 'px "UniDreamLED"').width + 6, (Node42_14height - Node42_14fontSize) * 0.5*_ratio.ratioY + Node42_14fontSize + 2 ]);
- Node42_14.a('node.underlinevisible',false);
- Node42_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_14);
- zoomNodeList.push({
- node: Node42_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_15 = new ht.Node();
- var Node42_15textStart, Node42_15textWidth, Node42_15lineStart, Node42_15align = 'center', Node42_15fontSize = 13.3333*_ratio.ratioY,Node42_15width = 110*_ratio.ratioX, Node42_15height = 27*_ratio.ratioY;
- (function () {
- if (Node42_15align === 'left') {
- Node42_15textStart = Node42_15fontSize * 0.2 > 2 ? Node42_15fontSize * 0.2 - 4 : Node42_15fontSize * 0.2 - 9;
- Node42_15textWidth = Node42_15width;
- Node42_15lineStart = 1;
- } else if (Node42_15align === 'right') {
- Node42_15textStart = 0;
- Node42_15textWidth =Node42_15fontSize <= 8 ? Node42_15width + Node42_15fontSize * 0.2 + 6 : Node42_15width - Node42_15fontSize * 0.2;
- Node42_15lineStart = (Node42_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node42_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_15align === 'center') {
- Node42_15textStart = -3;
- Node42_15textWidth = Node42_15width;
- Node42_15lineStart = Node42_15width - ht.Default.getTextSize('166.79', 'bold '+ Node42_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_15.setImage(GD.getTextJSON(Node42_15width, Node42_15height, true, false, false, 'bold '+ Node42_15fontSize + 'px "UniDreamLED"'))
- Node42_15.setPosition(1335*ratio.ratioX, 317*ratio.ratioY);
- Node42_15.setWidth(Node42_15width);
- Node42_15.setHeight(Node42_15height);
- Node42_15._nodeType = 'text';
- Node42_15._disallowEvert = true;
- Node42_15.setRotation(0*Math.PI/180);
- Node42_15.a('node.width', Node42_15width);
- Node42_15.a('node.height', Node42_15height);
- Node42_15.a('node.rect', [0, 0, Node42_15width, Node42_15height]);
- Node42_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_15.a('node.borderwidth', 0);
- Node42_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_15.a('node.gradient','');
- Node42_15.a('node.gradientcolor','');
- Node42_15.a('node.text','166.79');
- Node42_15.a('node.textalign','center');
- Node42_15.a('node.textvAlign','middle');
- Node42_15.a('node.textrect', [Node42_15textStart, 0, Node42_15textWidth, Node42_15height]);
- Node42_15.a('node.color','rgba(0,0,0,1)');
- Node42_15.a('node.font','bold '+ Node42_15fontSize + 'px "UniDreamLED"');
- Node42_15.a('node.textvisible',true);
- Node42_15.a('node.linefeed',false);
- if (false) {
- Node42_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_15.a('node.text') || '166.79';
- var color=Node42_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_15width,Node42_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_15.a('node.underlinepoints',[Node42_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node42_15fontSize + 'px "UniDreamLED"').width + 6, (Node42_15height - Node42_15fontSize) * 0.5*_ratio.ratioY + Node42_15fontSize + 2 ]);
- Node42_15.a('node.underlinevisible',false);
- Node42_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_15);
- zoomNodeList.push({
- node: Node42_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_16 = new ht.Node();
- var Node42_16textStart, Node42_16textWidth, Node42_16lineStart, Node42_16align = 'center', Node42_16fontSize = 13.3333*_ratio.ratioY,Node42_16width = 110*_ratio.ratioX, Node42_16height = 27*_ratio.ratioY;
- (function () {
- if (Node42_16align === 'left') {
- Node42_16textStart = Node42_16fontSize * 0.2 > 2 ? Node42_16fontSize * 0.2 - 4 : Node42_16fontSize * 0.2 - 9;
- Node42_16textWidth = Node42_16width;
- Node42_16lineStart = 1;
- } else if (Node42_16align === 'right') {
- Node42_16textStart = 0;
- Node42_16textWidth =Node42_16fontSize <= 8 ? Node42_16width + Node42_16fontSize * 0.2 + 6 : Node42_16width - Node42_16fontSize * 0.2;
- Node42_16lineStart = (Node42_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node42_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_16align === 'center') {
- Node42_16textStart = -3;
- Node42_16textWidth = Node42_16width;
- Node42_16lineStart = Node42_16width - ht.Default.getTextSize('66.18', 'bold '+ Node42_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_16.setImage(GD.getTextJSON(Node42_16width, Node42_16height, true, false, false, 'bold '+ Node42_16fontSize + 'px "UniDreamLED"'))
- Node42_16.setPosition(1335*ratio.ratioX, 346*ratio.ratioY);
- Node42_16.setWidth(Node42_16width);
- Node42_16.setHeight(Node42_16height);
- Node42_16._nodeType = 'text';
- Node42_16._disallowEvert = true;
- Node42_16.setRotation(0*Math.PI/180);
- Node42_16.a('node.width', Node42_16width);
- Node42_16.a('node.height', Node42_16height);
- Node42_16.a('node.rect', [0, 0, Node42_16width, Node42_16height]);
- Node42_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_16.a('node.borderwidth', 0);
- Node42_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_16.a('node.gradient','');
- Node42_16.a('node.gradientcolor','');
- Node42_16.a('node.text','66.18');
- Node42_16.a('node.textalign','center');
- Node42_16.a('node.textvAlign','middle');
- Node42_16.a('node.textrect', [Node42_16textStart, 0, Node42_16textWidth, Node42_16height]);
- Node42_16.a('node.color','rgba(0,0,0,1)');
- Node42_16.a('node.font','bold '+ Node42_16fontSize + 'px "UniDreamLED"');
- Node42_16.a('node.textvisible',true);
- Node42_16.a('node.linefeed',false);
- if (false) {
- Node42_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_16.a('node.text') || '66.18';
- var color=Node42_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_16width,Node42_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_16.a('node.underlinepoints',[Node42_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node42_16fontSize + 'px "UniDreamLED"').width + 6, (Node42_16height - Node42_16fontSize) * 0.5*_ratio.ratioY + Node42_16fontSize + 2 ]);
- Node42_16.a('node.underlinevisible',false);
- Node42_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_16);
- zoomNodeList.push({
- node: Node42_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42_17 = new ht.Node();
- var Node42_17textStart, Node42_17textWidth, Node42_17lineStart, Node42_17align = 'center', Node42_17fontSize = 13.3333*_ratio.ratioY,Node42_17width = 110*_ratio.ratioX, Node42_17height = 27*_ratio.ratioY;
- (function () {
- if (Node42_17align === 'left') {
- Node42_17textStart = Node42_17fontSize * 0.2 > 2 ? Node42_17fontSize * 0.2 - 4 : Node42_17fontSize * 0.2 - 9;
- Node42_17textWidth = Node42_17width;
- Node42_17lineStart = 1;
- } else if (Node42_17align === 'right') {
- Node42_17textStart = 0;
- Node42_17textWidth =Node42_17fontSize <= 8 ? Node42_17width + Node42_17fontSize * 0.2 + 6 : Node42_17width - Node42_17fontSize * 0.2;
- Node42_17lineStart = (Node42_17width - (ht.Default.getTextSize('-', 'bold '+ Node42_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node42_17align === 'center') {
- Node42_17textStart = -3;
- Node42_17textWidth = Node42_17width;
- Node42_17lineStart = Node42_17width - ht.Default.getTextSize('-', 'bold '+ Node42_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node42_17.setImage(GD.getTextJSON(Node42_17width, Node42_17height, true, false, false, 'bold '+ Node42_17fontSize + 'px "UniDreamLED"'))
- Node42_17.setPosition(1335*ratio.ratioX, 377*ratio.ratioY);
- Node42_17.setWidth(Node42_17width);
- Node42_17.setHeight(Node42_17height);
- Node42_17._nodeType = 'text';
- Node42_17._disallowEvert = true;
- Node42_17.setRotation(0*Math.PI/180);
- Node42_17.a('node.width', Node42_17width);
- Node42_17.a('node.height', Node42_17height);
- Node42_17.a('node.rect', [0, 0, Node42_17width, Node42_17height]);
- Node42_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node42_17.a('node.borderwidth', 0);
- Node42_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node42_17.a('node.gradient','');
- Node42_17.a('node.gradientcolor','');
- Node42_17.a('node.text','-');
- Node42_17.a('node.textalign','center');
- Node42_17.a('node.textvAlign','middle');
- Node42_17.a('node.textrect', [Node42_17textStart, 0, Node42_17textWidth, Node42_17height]);
- Node42_17.a('node.color','rgba(0,0,0,1)');
- Node42_17.a('node.font','bold '+ Node42_17fontSize + 'px "UniDreamLED"');
- Node42_17.a('node.textvisible',true);
- Node42_17.a('node.linefeed',false);
- if (false) {
- Node42_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node42_17.a('node.text') || '-';
- var color=Node42_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node42_17width,Node42_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node42_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node42_17.a('node.underlinepoints',[Node42_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node42_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node42_17fontSize + 'px "UniDreamLED"').width + 6, (Node42_17height - Node42_17fontSize) * 0.5*_ratio.ratioY + Node42_17fontSize + 2 ]);
- Node42_17.a('node.underlinevisible',false);
- Node42_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node42_17);
- zoomNodeList.push({
- node: Node42_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node43_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node43_0 = new ht.Node();
- Node43_0.setPosition(1335*ratio.ratioX, 237*ratio.ratioY);
- Node43_0.setSize(127*ratioX, 313*ratioY);
- Node43_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node43_0.setRotation(0*Math.PI/180);
- Node43_0._zoomBy = 'Default';
- Node43_0._nodeType = 'image';
- Node43_0._disallowEvert = true;
- dataModel.add(Node43_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43_1 = new ht.Node();
- var Node43_1textStart, Node43_1textWidth, Node43_1lineStart, Node43_1align = 'center', Node43_1fontSize = 13.3333*_ratio.ratioY,Node43_1width = 105*_ratio.ratioX, Node43_1height = 27*_ratio.ratioY;
- (function () {
- if (Node43_1align === 'left') {
- Node43_1textStart = Node43_1fontSize * 0.2 > 2 ? Node43_1fontSize * 0.2 - 4 : Node43_1fontSize * 0.2 - 9;
- Node43_1textWidth = Node43_1width;
- Node43_1lineStart = 1;
- } else if (Node43_1align === 'right') {
- Node43_1textStart = 0;
- Node43_1textWidth =Node43_1fontSize <= 8 ? Node43_1width + Node43_1fontSize * 0.2 + 6 : Node43_1width - Node43_1fontSize * 0.2;
- Node43_1lineStart = (Node43_1width - (ht.Default.getTextSize('维护损失电量', 'bold '+ Node43_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node43_1align === 'center') {
- Node43_1textStart = -3;
- Node43_1textWidth = Node43_1width;
- Node43_1lineStart = Node43_1width - ht.Default.getTextSize('维护损失电量', 'bold '+ Node43_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node43_1.setImage(GD.getTextJSON(Node43_1width, Node43_1height, true, false, false, 'bold '+ Node43_1fontSize + 'px "Arial"'))
- Node43_1.setPosition(1330*ratio.ratioX, 102*ratio.ratioY);
- Node43_1.setWidth(Node43_1width);
- Node43_1.setHeight(Node43_1height);
- Node43_1._nodeType = 'text';
- Node43_1._disallowEvert = true;
- Node43_1.setRotation(0*Math.PI/180);
- Node43_1.a('node.width', Node43_1width);
- Node43_1.a('node.height', Node43_1height);
- Node43_1.a('node.rect', [0, 0, Node43_1width, Node43_1height]);
- Node43_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node43_1.a('node.borderwidth', 0);
- Node43_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node43_1.a('node.gradient','');
- Node43_1.a('node.gradientcolor','');
- Node43_1.a('node.text','维护损失电量');
- Node43_1.a('node.textalign','center');
- Node43_1.a('node.textvAlign','middle');
- Node43_1.a('node.textrect', [Node43_1textStart, 0, Node43_1textWidth, Node43_1height]);
- Node43_1.a('node.color','rgba(255,255,255,1)');
- Node43_1.a('node.font','bold '+ Node43_1fontSize + 'px "Arial"');
- Node43_1.a('node.textvisible',true);
- Node43_1.a('node.linefeed',false);
- if (false) {
- Node43_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node43_1.a('node.text') || '维护损失电量';
- var color=Node43_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node43_1width,Node43_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node43_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node43_1.a('node.underlinepoints',[Node43_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node43_1fontSize + 2 , ht.Default.getTextSize('维护损失电量', 'bold '+ Node43_1fontSize + 'px "Arial"').width + 6, (Node43_1height - Node43_1fontSize) * 0.5*_ratio.ratioY + Node43_1fontSize + 2 ]);
- Node43_1.a('node.underlinevisible',false);
- Node43_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node43_1);
- zoomNodeList.push({
- node: Node43_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_0type = 'rect';
- var Node44_0 = new ht.Node(),
- Node44_0BorderWidth = 0*2;
- if (Node44_0type === 'arc') {
- Node44_0BorderWidth *= 0;
- }
- Node44_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_0.setPosition(1462*ratio.ratioX, 190*ratio.ratioY);
- Node44_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_0.a('node.width', 127*_ratio.ratioX);
- Node44_0.a('node.height', 32*_ratio.ratioY);
- Node44_0.a('node.type', Node44_0type);
- Node44_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_0.a('node.background', 'rgba(245,245,245,1)');
- Node44_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node44_0.a('node.gradient', '');
- Node44_0.a('node.borderwidth', Node44_0BorderWidth);
- Node44_0.a('node.color', 'rgba(192,192,192,0)');
- Node44_0.a('node.fillrect', [0,0,0,0]);
- Node44_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_0.a('node.fillgradient', '');
- if (Node44_0type !== 'rect') {
- Node44_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_0type === 'arc') {
- Node44_0.a('node.arcOval', true);
- }
- Node44_0.setRotation(0*Math.PI/180);
- Node44_0.borderWidth = Node44_0BorderWidth;
- Node44_0.borderFillwidth = Node44_0BorderWidth;
- dataModel.add(Node44_0);
- Node44_0._nodename = 'Node44_0'
- Node44_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_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);
- }
- })(Node44_0, Node44_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_1type = 'rect';
- var Node44_1 = new ht.Node(),
- Node44_1BorderWidth = 0*2;
- if (Node44_1type === 'arc') {
- Node44_1BorderWidth *= 0;
- }
- Node44_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_1.setPosition(1462*ratio.ratioX, 222*ratio.ratioY);
- Node44_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_1.a('node.width', 127*_ratio.ratioX);
- Node44_1.a('node.height', 32*_ratio.ratioY);
- Node44_1.a('node.type', Node44_1type);
- Node44_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44_1.a('node.gradientcolor', '');
- Node44_1.a('node.gradient', '');
- Node44_1.a('node.borderwidth', Node44_1BorderWidth);
- Node44_1.a('node.color', 'rgba(192,192,192,0)');
- Node44_1.a('node.fillrect', [0,0,0,0]);
- Node44_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_1.a('node.fillgradient', '');
- if (Node44_1type !== 'rect') {
- Node44_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_1type === 'arc') {
- Node44_1.a('node.arcOval', true);
- }
- Node44_1.setRotation(0*Math.PI/180);
- Node44_1.borderWidth = Node44_1BorderWidth;
- Node44_1.borderFillwidth = Node44_1BorderWidth;
- dataModel.add(Node44_1);
- Node44_1._nodename = 'Node44_1'
- Node44_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_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);
- }
- })(Node44_1, Node44_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_2type = 'rect';
- var Node44_2 = new ht.Node(),
- Node44_2BorderWidth = 0*2;
- if (Node44_2type === 'arc') {
- Node44_2BorderWidth *= 0;
- }
- Node44_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_2.setPosition(1462*ratio.ratioX, 254*ratio.ratioY);
- Node44_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_2.a('node.width', 127*_ratio.ratioX);
- Node44_2.a('node.height', 32*_ratio.ratioY);
- Node44_2.a('node.type', Node44_2type);
- Node44_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_2.a('node.background', 'rgba(245,245,245,1)');
- Node44_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node44_2.a('node.gradient', '');
- Node44_2.a('node.borderwidth', Node44_2BorderWidth);
- Node44_2.a('node.color', 'rgba(192,192,192,0)');
- Node44_2.a('node.fillrect', [0,0,0,0]);
- Node44_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_2.a('node.fillgradient', '');
- if (Node44_2type !== 'rect') {
- Node44_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_2type === 'arc') {
- Node44_2.a('node.arcOval', true);
- }
- Node44_2.setRotation(0*Math.PI/180);
- Node44_2.borderWidth = Node44_2BorderWidth;
- Node44_2.borderFillwidth = Node44_2BorderWidth;
- dataModel.add(Node44_2);
- Node44_2._nodename = 'Node44_2'
- Node44_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node44_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_3type = 'rect';
- var Node44_3 = new ht.Node(),
- Node44_3BorderWidth = 0*2;
- if (Node44_3type === 'arc') {
- Node44_3BorderWidth *= 0;
- }
- Node44_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_3.setPosition(1462*ratio.ratioX, 285*ratio.ratioY);
- Node44_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_3.a('node.width', 127*_ratio.ratioX);
- Node44_3.a('node.height', 32*_ratio.ratioY);
- Node44_3.a('node.type', Node44_3type);
- Node44_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44_3.a('node.gradientcolor', '');
- Node44_3.a('node.gradient', '');
- Node44_3.a('node.borderwidth', Node44_3BorderWidth);
- Node44_3.a('node.color', 'rgba(192,192,192,0)');
- Node44_3.a('node.fillrect', [0,0,0,0]);
- Node44_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_3.a('node.fillgradient', '');
- if (Node44_3type !== 'rect') {
- Node44_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_3type === 'arc') {
- Node44_3.a('node.arcOval', true);
- }
- Node44_3.setRotation(0*Math.PI/180);
- Node44_3.borderWidth = Node44_3BorderWidth;
- Node44_3.borderFillwidth = Node44_3BorderWidth;
- dataModel.add(Node44_3);
- Node44_3._nodename = 'Node44_3'
- Node44_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node44_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_4type = 'rect';
- var Node44_4 = new ht.Node(),
- Node44_4BorderWidth = 0*2;
- if (Node44_4type === 'arc') {
- Node44_4BorderWidth *= 0;
- }
- Node44_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_4.setPosition(1462*ratio.ratioX, 316*ratio.ratioY);
- Node44_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_4.a('node.width', 127*_ratio.ratioX);
- Node44_4.a('node.height', 32*_ratio.ratioY);
- Node44_4.a('node.type', Node44_4type);
- Node44_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_4.a('node.background', 'rgba(245,245,245,1)');
- Node44_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node44_4.a('node.gradient', '');
- Node44_4.a('node.borderwidth', Node44_4BorderWidth);
- Node44_4.a('node.color', 'rgba(192,192,192,0)');
- Node44_4.a('node.fillrect', [0,0,0,0]);
- Node44_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_4.a('node.fillgradient', '');
- if (Node44_4type !== 'rect') {
- Node44_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_4type === 'arc') {
- Node44_4.a('node.arcOval', true);
- }
- Node44_4.setRotation(0*Math.PI/180);
- Node44_4.borderWidth = Node44_4BorderWidth;
- Node44_4.borderFillwidth = Node44_4BorderWidth;
- dataModel.add(Node44_4);
- Node44_4._nodename = 'Node44_4'
- Node44_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node44_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_5type = 'rect';
- var Node44_5 = new ht.Node(),
- Node44_5BorderWidth = 0*2;
- if (Node44_5type === 'arc') {
- Node44_5BorderWidth *= 0;
- }
- Node44_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_5.setPosition(1462*ratio.ratioX, 347*ratio.ratioY);
- Node44_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_5.a('node.width', 127*_ratio.ratioX);
- Node44_5.a('node.height', 32*_ratio.ratioY);
- Node44_5.a('node.type', Node44_5type);
- Node44_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44_5.a('node.gradientcolor', '');
- Node44_5.a('node.gradient', '');
- Node44_5.a('node.borderwidth', Node44_5BorderWidth);
- Node44_5.a('node.color', 'rgba(192,192,192,0)');
- Node44_5.a('node.fillrect', [0,0,0,0]);
- Node44_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_5.a('node.fillgradient', '');
- if (Node44_5type !== 'rect') {
- Node44_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_5type === 'arc') {
- Node44_5.a('node.arcOval', true);
- }
- Node44_5.setRotation(0*Math.PI/180);
- Node44_5.borderWidth = Node44_5BorderWidth;
- Node44_5.borderFillwidth = Node44_5BorderWidth;
- dataModel.add(Node44_5);
- Node44_5._nodename = 'Node44_5'
- Node44_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node44_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_6type = 'rect';
- var Node44_6 = new ht.Node(),
- Node44_6BorderWidth = 0*2;
- if (Node44_6type === 'arc') {
- Node44_6BorderWidth *= 0;
- }
- Node44_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node44_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_6.setPosition(1462*ratio.ratioX, 378*ratio.ratioY);
- Node44_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node44_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_6.a('node.width', 127*_ratio.ratioX);
- Node44_6.a('node.height', 32*_ratio.ratioY);
- Node44_6.a('node.type', Node44_6type);
- Node44_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node44_6.a('node.background', 'rgba(245,245,245,1)');
- Node44_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node44_6.a('node.gradient', '');
- Node44_6.a('node.borderwidth', Node44_6BorderWidth);
- Node44_6.a('node.color', 'rgba(192,192,192,0)');
- Node44_6.a('node.fillrect', [0,0,0,0]);
- Node44_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_6.a('node.fillgradient', '');
- if (Node44_6type !== 'rect') {
- Node44_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_6type === 'arc') {
- Node44_6.a('node.arcOval', true);
- }
- Node44_6.setRotation(0*Math.PI/180);
- Node44_6.borderWidth = Node44_6BorderWidth;
- Node44_6.borderFillwidth = Node44_6BorderWidth;
- dataModel.add(Node44_6);
- Node44_6._nodename = 'Node44_6'
- Node44_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node44_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_7type = 'rect';
- var Node44_7 = new ht.Node(),
- Node44_7BorderWidth = 1*2;
- if (Node44_7type === 'arc') {
- Node44_7BorderWidth *= 1;
- }
- Node44_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node44_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44_7.setPosition(1462*ratio.ratioX, 239*ratio.ratioY);
- Node44_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node44_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44_7.a('node.width', 127*_ratio.ratioX);
- Node44_7.a('node.height', 309*_ratio.ratioY);
- Node44_7.a('node.type', Node44_7type);
- Node44_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node44_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44_7.a('node.gradientcolor', '');
- Node44_7.a('node.gradient', '');
- Node44_7.a('node.borderwidth', Node44_7BorderWidth);
- Node44_7.a('node.color', 'rgba(192,192,192,1)');
- Node44_7.a('node.fillrect', [0,0,0,0]);
- Node44_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44_7.a('node.fillgradient', '');
- if (Node44_7type !== 'rect') {
- Node44_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node44_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44_7type === 'arc') {
- Node44_7.a('node.arcOval', true);
- }
- Node44_7.setRotation(0*Math.PI/180);
- Node44_7.borderWidth = Node44_7BorderWidth;
- Node44_7.borderFillwidth = Node44_7BorderWidth;
- dataModel.add(Node44_7);
- Node44_7._nodename = 'Node44_7'
- Node44_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44_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);
- }
- })(Node44_7, Node44_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_8 = new ht.Node();
- var Node44_8textStart, Node44_8textWidth, Node44_8lineStart, Node44_8align = 'center', Node44_8fontSize = 13.3333*_ratio.ratioY,Node44_8width = 105*_ratio.ratioX, Node44_8height = 27*_ratio.ratioY;
- (function () {
- if (Node44_8align === 'left') {
- Node44_8textStart = Node44_8fontSize * 0.2 > 2 ? Node44_8fontSize * 0.2 - 4 : Node44_8fontSize * 0.2 - 9;
- Node44_8textWidth = Node44_8width;
- Node44_8lineStart = 1;
- } else if (Node44_8align === 'right') {
- Node44_8textStart = 0;
- Node44_8textWidth =Node44_8fontSize <= 8 ? Node44_8width + Node44_8fontSize * 0.2 + 6 : Node44_8width - Node44_8fontSize * 0.2;
- Node44_8lineStart = (Node44_8width - (ht.Default.getTextSize('故障损失电量', 'bold '+ Node44_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node44_8align === 'center') {
- Node44_8textStart = -3;
- Node44_8textWidth = Node44_8width;
- Node44_8lineStart = Node44_8width - ht.Default.getTextSize('故障损失电量', 'bold '+ Node44_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node44_8.setImage(GD.getTextJSON(Node44_8width, Node44_8height, true, false, false, 'bold '+ Node44_8fontSize + 'px "Arial"'))
- Node44_8.setPosition(1459*ratio.ratioX, 103*ratio.ratioY);
- Node44_8.setWidth(Node44_8width);
- Node44_8.setHeight(Node44_8height);
- Node44_8._nodeType = 'text';
- Node44_8._disallowEvert = true;
- Node44_8.setRotation(0*Math.PI/180);
- Node44_8.a('node.width', Node44_8width);
- Node44_8.a('node.height', Node44_8height);
- Node44_8.a('node.rect', [0, 0, Node44_8width, Node44_8height]);
- Node44_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node44_8.a('node.borderwidth', 0);
- Node44_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_8.a('node.gradient','');
- Node44_8.a('node.gradientcolor','');
- Node44_8.a('node.text','故障损失电量');
- Node44_8.a('node.textalign','center');
- Node44_8.a('node.textvAlign','middle');
- Node44_8.a('node.textrect', [Node44_8textStart, 0, Node44_8textWidth, Node44_8height]);
- Node44_8.a('node.color','rgba(255,255,255,1)');
- Node44_8.a('node.font','bold '+ Node44_8fontSize + 'px "Arial"');
- Node44_8.a('node.textvisible',true);
- Node44_8.a('node.linefeed',false);
- if (false) {
- Node44_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_8.a('node.text') || '故障损失电量';
- var color=Node44_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_8width,Node44_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node44_8.a('node.underlinepoints',[Node44_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_8fontSize + 2 , ht.Default.getTextSize('故障损失电量', 'bold '+ Node44_8fontSize + 'px "Arial"').width + 6, (Node44_8height - Node44_8fontSize) * 0.5*_ratio.ratioY + Node44_8fontSize + 2 ]);
- Node44_8.a('node.underlinevisible',false);
- Node44_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_8);
- zoomNodeList.push({
- node: Node44_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_9 = new ht.Node();
- var Node44_9textStart, Node44_9textWidth, Node44_9lineStart, Node44_9align = 'center', Node44_9fontSize = 11.99997*_ratio.ratioY,Node44_9width = 105*_ratio.ratioX, Node44_9height = 17*_ratio.ratioY;
- (function () {
- if (Node44_9align === 'left') {
- Node44_9textStart = Node44_9fontSize * 0.2 > 2 ? Node44_9fontSize * 0.2 - 4 : Node44_9fontSize * 0.2 - 9;
- Node44_9textWidth = Node44_9width;
- Node44_9lineStart = 1;
- } else if (Node44_9align === 'right') {
- Node44_9textStart = 0;
- Node44_9textWidth =Node44_9fontSize <= 8 ? Node44_9width + Node44_9fontSize * 0.2 + 6 : Node44_9width - Node44_9fontSize * 0.2;
- Node44_9lineStart = (Node44_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node44_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node44_9align === 'center') {
- Node44_9textStart = -3;
- Node44_9textWidth = Node44_9width;
- Node44_9lineStart = Node44_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node44_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node44_9.setImage(GD.getTextJSON(Node44_9width, Node44_9height, true, false, false, 'bold '+ Node44_9fontSize + 'px "Arial"'))
- Node44_9.setPosition(1459*ratio.ratioX, 131*ratio.ratioY);
- Node44_9.setWidth(Node44_9width);
- Node44_9.setHeight(Node44_9height);
- Node44_9._nodeType = 'text';
- Node44_9._disallowEvert = true;
- Node44_9.setRotation(0*Math.PI/180);
- Node44_9.a('node.width', Node44_9width);
- Node44_9.a('node.height', Node44_9height);
- Node44_9.a('node.rect', [0, 0, Node44_9width, Node44_9height]);
- Node44_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node44_9.a('node.borderwidth', 0);
- Node44_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_9.a('node.gradient','');
- Node44_9.a('node.gradientcolor','');
- Node44_9.a('node.text','万kwh');
- Node44_9.a('node.textalign','center');
- Node44_9.a('node.textvAlign','middle');
- Node44_9.a('node.textrect', [Node44_9textStart, 0, Node44_9textWidth, Node44_9height]);
- Node44_9.a('node.color','rgba(128,128,128,1)');
- Node44_9.a('node.font','bold '+ Node44_9fontSize + 'px "Arial"');
- Node44_9.a('node.textvisible',true);
- Node44_9.a('node.linefeed',false);
- if (false) {
- Node44_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_9.a('node.text') || '万kwh';
- var color=Node44_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node44_9width,Node44_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node44_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node44_9.a('node.underlinepoints',[Node44_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node44_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node44_9fontSize + 'px "Arial"').width + 6, (Node44_9height - Node44_9fontSize) * 0.5*_ratio.ratioY + Node44_9fontSize + 2 ]);
- Node44_9.a('node.underlinevisible',false);
- Node44_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_9);
- zoomNodeList.push({
- node: Node44_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_10 = new ht.Node();
- var Node44_10textStart, Node44_10textWidth, Node44_10lineStart, Node44_10align = 'center', Node44_10fontSize = 13.3333*_ratio.ratioY,Node44_10width = 105*_ratio.ratioX, Node44_10height = 27*_ratio.ratioY;
- (function () {
- if (Node44_10align === 'left') {
- Node44_10textStart = Node44_10fontSize * 0.2 > 2 ? Node44_10fontSize * 0.2 - 4 : Node44_10fontSize * 0.2 - 9;
- Node44_10textWidth = Node44_10width;
- Node44_10lineStart = 1;
- } else if (Node44_10align === 'right') {
- Node44_10textStart = 0;
- Node44_10textWidth =Node44_10fontSize <= 8 ? Node44_10width + Node44_10fontSize * 0.2 + 6 : Node44_10width - Node44_10fontSize * 0.2;
- Node44_10lineStart = (Node44_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node44_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_10align === 'center') {
- Node44_10textStart = -3;
- Node44_10textWidth = Node44_10width;
- Node44_10lineStart = Node44_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node44_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_10.setImage(GD.getTextJSON(Node44_10width, Node44_10height, true, false, false, 'bold '+ Node44_10fontSize + 'px "UniDreamLED"'))
- Node44_10.setPosition(1459*ratio.ratioX, 158*ratio.ratioY);
- Node44_10.setWidth(Node44_10width);
- Node44_10.setHeight(Node44_10height);
- Node44_10._nodeType = 'text';
- Node44_10._disallowEvert = true;
- Node44_10.setRotation(0*Math.PI/180);
- Node44_10.a('node.width', Node44_10width);
- Node44_10.a('node.height', Node44_10height);
- Node44_10.a('node.rect', [0, 0, Node44_10width, Node44_10height]);
- Node44_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_10.a('node.borderwidth', 0);
- Node44_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_10.a('node.gradient','');
- Node44_10.a('node.gradientcolor','');
- Node44_10.a('node.text','1134.76');
- Node44_10.a('node.textalign','center');
- Node44_10.a('node.textvAlign','middle');
- Node44_10.a('node.textrect', [Node44_10textStart, 0, Node44_10textWidth, Node44_10height]);
- Node44_10.a('node.color','rgba(0,0,0,1)');
- Node44_10.a('node.font','bold '+ Node44_10fontSize + 'px "UniDreamLED"');
- Node44_10.a('node.textvisible',true);
- Node44_10.a('node.linefeed',false);
- if (false) {
- Node44_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_10.a('node.text') || '1134.76';
- var color=Node44_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_10width,Node44_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_10.a('node.underlinepoints',[Node44_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node44_10fontSize + 'px "UniDreamLED"').width + 6, (Node44_10height - Node44_10fontSize) * 0.5*_ratio.ratioY + Node44_10fontSize + 2 ]);
- Node44_10.a('node.underlinevisible',false);
- Node44_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_10);
- zoomNodeList.push({
- node: Node44_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_11 = new ht.Node();
- var Node44_11textStart, Node44_11textWidth, Node44_11lineStart, Node44_11align = 'center', Node44_11fontSize = 13.3333*_ratio.ratioY,Node44_11width = 110*_ratio.ratioX, Node44_11height = 27*_ratio.ratioY;
- (function () {
- if (Node44_11align === 'left') {
- Node44_11textStart = Node44_11fontSize * 0.2 > 2 ? Node44_11fontSize * 0.2 - 4 : Node44_11fontSize * 0.2 - 9;
- Node44_11textWidth = Node44_11width;
- Node44_11lineStart = 1;
- } else if (Node44_11align === 'right') {
- Node44_11textStart = 0;
- Node44_11textWidth =Node44_11fontSize <= 8 ? Node44_11width + Node44_11fontSize * 0.2 + 6 : Node44_11width - Node44_11fontSize * 0.2;
- Node44_11lineStart = (Node44_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node44_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_11align === 'center') {
- Node44_11textStart = -3;
- Node44_11textWidth = Node44_11width;
- Node44_11lineStart = Node44_11width - ht.Default.getTextSize('171.51', 'bold '+ Node44_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_11.setImage(GD.getTextJSON(Node44_11width, Node44_11height, true, false, false, 'bold '+ Node44_11fontSize + 'px "UniDreamLED"'))
- Node44_11.setPosition(1462*ratio.ratioX, 190*ratio.ratioY);
- Node44_11.setWidth(Node44_11width);
- Node44_11.setHeight(Node44_11height);
- Node44_11._nodeType = 'text';
- Node44_11._disallowEvert = true;
- Node44_11.setRotation(0*Math.PI/180);
- Node44_11.a('node.width', Node44_11width);
- Node44_11.a('node.height', Node44_11height);
- Node44_11.a('node.rect', [0, 0, Node44_11width, Node44_11height]);
- Node44_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_11.a('node.borderwidth', 0);
- Node44_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_11.a('node.gradient','');
- Node44_11.a('node.gradientcolor','');
- Node44_11.a('node.text','171.51');
- Node44_11.a('node.textalign','center');
- Node44_11.a('node.textvAlign','middle');
- Node44_11.a('node.textrect', [Node44_11textStart, 0, Node44_11textWidth, Node44_11height]);
- Node44_11.a('node.color','rgba(0,0,0,1)');
- Node44_11.a('node.font','bold '+ Node44_11fontSize + 'px "UniDreamLED"');
- Node44_11.a('node.textvisible',true);
- Node44_11.a('node.linefeed',false);
- if (false) {
- Node44_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_11.a('node.text') || '171.51';
- var color=Node44_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_11width,Node44_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_11.a('node.underlinepoints',[Node44_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node44_11fontSize + 'px "UniDreamLED"').width + 6, (Node44_11height - Node44_11fontSize) * 0.5*_ratio.ratioY + Node44_11fontSize + 2 ]);
- Node44_11.a('node.underlinevisible',false);
- Node44_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_11);
- zoomNodeList.push({
- node: Node44_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_12 = new ht.Node();
- var Node44_12textStart, Node44_12textWidth, Node44_12lineStart, Node44_12align = 'center', Node44_12fontSize = 13.3333*_ratio.ratioY,Node44_12width = 110*_ratio.ratioX, Node44_12height = 27*_ratio.ratioY;
- (function () {
- if (Node44_12align === 'left') {
- Node44_12textStart = Node44_12fontSize * 0.2 > 2 ? Node44_12fontSize * 0.2 - 4 : Node44_12fontSize * 0.2 - 9;
- Node44_12textWidth = Node44_12width;
- Node44_12lineStart = 1;
- } else if (Node44_12align === 'right') {
- Node44_12textStart = 0;
- Node44_12textWidth =Node44_12fontSize <= 8 ? Node44_12width + Node44_12fontSize * 0.2 + 6 : Node44_12width - Node44_12fontSize * 0.2;
- Node44_12lineStart = (Node44_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node44_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_12align === 'center') {
- Node44_12textStart = -3;
- Node44_12textWidth = Node44_12width;
- Node44_12lineStart = Node44_12width - ht.Default.getTextSize('329.51', 'bold '+ Node44_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_12.setImage(GD.getTextJSON(Node44_12width, Node44_12height, true, false, false, 'bold '+ Node44_12fontSize + 'px "UniDreamLED"'))
- Node44_12.setPosition(1462*ratio.ratioX, 220*ratio.ratioY);
- Node44_12.setWidth(Node44_12width);
- Node44_12.setHeight(Node44_12height);
- Node44_12._nodeType = 'text';
- Node44_12._disallowEvert = true;
- Node44_12.setRotation(0*Math.PI/180);
- Node44_12.a('node.width', Node44_12width);
- Node44_12.a('node.height', Node44_12height);
- Node44_12.a('node.rect', [0, 0, Node44_12width, Node44_12height]);
- Node44_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_12.a('node.borderwidth', 0);
- Node44_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_12.a('node.gradient','');
- Node44_12.a('node.gradientcolor','');
- Node44_12.a('node.text','329.51');
- Node44_12.a('node.textalign','center');
- Node44_12.a('node.textvAlign','middle');
- Node44_12.a('node.textrect', [Node44_12textStart, 0, Node44_12textWidth, Node44_12height]);
- Node44_12.a('node.color','rgba(0,0,0,1)');
- Node44_12.a('node.font','bold '+ Node44_12fontSize + 'px "UniDreamLED"');
- Node44_12.a('node.textvisible',true);
- Node44_12.a('node.linefeed',false);
- if (false) {
- Node44_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_12.a('node.text') || '329.51';
- var color=Node44_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_12width,Node44_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_12.a('node.underlinepoints',[Node44_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node44_12fontSize + 'px "UniDreamLED"').width + 6, (Node44_12height - Node44_12fontSize) * 0.5*_ratio.ratioY + Node44_12fontSize + 2 ]);
- Node44_12.a('node.underlinevisible',false);
- Node44_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_12);
- zoomNodeList.push({
- node: Node44_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_13 = new ht.Node();
- var Node44_13textStart, Node44_13textWidth, Node44_13lineStart, Node44_13align = 'center', Node44_13fontSize = 13.3333*_ratio.ratioY,Node44_13width = 110*_ratio.ratioX, Node44_13height = 27*_ratio.ratioY;
- (function () {
- if (Node44_13align === 'left') {
- Node44_13textStart = Node44_13fontSize * 0.2 > 2 ? Node44_13fontSize * 0.2 - 4 : Node44_13fontSize * 0.2 - 9;
- Node44_13textWidth = Node44_13width;
- Node44_13lineStart = 1;
- } else if (Node44_13align === 'right') {
- Node44_13textStart = 0;
- Node44_13textWidth =Node44_13fontSize <= 8 ? Node44_13width + Node44_13fontSize * 0.2 + 6 : Node44_13width - Node44_13fontSize * 0.2;
- Node44_13lineStart = (Node44_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node44_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_13align === 'center') {
- Node44_13textStart = -3;
- Node44_13textWidth = Node44_13width;
- Node44_13lineStart = Node44_13width - ht.Default.getTextSize('340.14', 'bold '+ Node44_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_13.setImage(GD.getTextJSON(Node44_13width, Node44_13height, true, false, false, 'bold '+ Node44_13fontSize + 'px "UniDreamLED"'))
- Node44_13.setPosition(1462*ratio.ratioX, 250*ratio.ratioY);
- Node44_13.setWidth(Node44_13width);
- Node44_13.setHeight(Node44_13height);
- Node44_13._nodeType = 'text';
- Node44_13._disallowEvert = true;
- Node44_13.setRotation(0*Math.PI/180);
- Node44_13.a('node.width', Node44_13width);
- Node44_13.a('node.height', Node44_13height);
- Node44_13.a('node.rect', [0, 0, Node44_13width, Node44_13height]);
- Node44_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_13.a('node.borderwidth', 0);
- Node44_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_13.a('node.gradient','');
- Node44_13.a('node.gradientcolor','');
- Node44_13.a('node.text','340.14');
- Node44_13.a('node.textalign','center');
- Node44_13.a('node.textvAlign','middle');
- Node44_13.a('node.textrect', [Node44_13textStart, 0, Node44_13textWidth, Node44_13height]);
- Node44_13.a('node.color','rgba(0,0,0,1)');
- Node44_13.a('node.font','bold '+ Node44_13fontSize + 'px "UniDreamLED"');
- Node44_13.a('node.textvisible',true);
- Node44_13.a('node.linefeed',false);
- if (false) {
- Node44_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_13.a('node.text') || '340.14';
- var color=Node44_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_13width,Node44_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_13.a('node.underlinepoints',[Node44_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node44_13fontSize + 'px "UniDreamLED"').width + 6, (Node44_13height - Node44_13fontSize) * 0.5*_ratio.ratioY + Node44_13fontSize + 2 ]);
- Node44_13.a('node.underlinevisible',false);
- Node44_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_13);
- zoomNodeList.push({
- node: Node44_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_14 = new ht.Node();
- var Node44_14textStart, Node44_14textWidth, Node44_14lineStart, Node44_14align = 'center', Node44_14fontSize = 13.3333*_ratio.ratioY,Node44_14width = 110*_ratio.ratioX, Node44_14height = 27*_ratio.ratioY;
- (function () {
- if (Node44_14align === 'left') {
- Node44_14textStart = Node44_14fontSize * 0.2 > 2 ? Node44_14fontSize * 0.2 - 4 : Node44_14fontSize * 0.2 - 9;
- Node44_14textWidth = Node44_14width;
- Node44_14lineStart = 1;
- } else if (Node44_14align === 'right') {
- Node44_14textStart = 0;
- Node44_14textWidth =Node44_14fontSize <= 8 ? Node44_14width + Node44_14fontSize * 0.2 + 6 : Node44_14width - Node44_14fontSize * 0.2;
- Node44_14lineStart = (Node44_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node44_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_14align === 'center') {
- Node44_14textStart = -3;
- Node44_14textWidth = Node44_14width;
- Node44_14lineStart = Node44_14width - ht.Default.getTextSize('60.61', 'bold '+ Node44_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_14.setImage(GD.getTextJSON(Node44_14width, Node44_14height, true, false, false, 'bold '+ Node44_14fontSize + 'px "UniDreamLED"'))
- Node44_14.setPosition(1462*ratio.ratioX, 284*ratio.ratioY);
- Node44_14.setWidth(Node44_14width);
- Node44_14.setHeight(Node44_14height);
- Node44_14._nodeType = 'text';
- Node44_14._disallowEvert = true;
- Node44_14.setRotation(0*Math.PI/180);
- Node44_14.a('node.width', Node44_14width);
- Node44_14.a('node.height', Node44_14height);
- Node44_14.a('node.rect', [0, 0, Node44_14width, Node44_14height]);
- Node44_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_14.a('node.borderwidth', 0);
- Node44_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_14.a('node.gradient','');
- Node44_14.a('node.gradientcolor','');
- Node44_14.a('node.text','60.61');
- Node44_14.a('node.textalign','center');
- Node44_14.a('node.textvAlign','middle');
- Node44_14.a('node.textrect', [Node44_14textStart, 0, Node44_14textWidth, Node44_14height]);
- Node44_14.a('node.color','rgba(0,0,0,1)');
- Node44_14.a('node.font','bold '+ Node44_14fontSize + 'px "UniDreamLED"');
- Node44_14.a('node.textvisible',true);
- Node44_14.a('node.linefeed',false);
- if (false) {
- Node44_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_14.a('node.text') || '60.61';
- var color=Node44_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_14width,Node44_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_14.a('node.underlinepoints',[Node44_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node44_14fontSize + 'px "UniDreamLED"').width + 6, (Node44_14height - Node44_14fontSize) * 0.5*_ratio.ratioY + Node44_14fontSize + 2 ]);
- Node44_14.a('node.underlinevisible',false);
- Node44_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_14);
- zoomNodeList.push({
- node: Node44_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_15 = new ht.Node();
- var Node44_15textStart, Node44_15textWidth, Node44_15lineStart, Node44_15align = 'center', Node44_15fontSize = 13.3333*_ratio.ratioY,Node44_15width = 110*_ratio.ratioX, Node44_15height = 27*_ratio.ratioY;
- (function () {
- if (Node44_15align === 'left') {
- Node44_15textStart = Node44_15fontSize * 0.2 > 2 ? Node44_15fontSize * 0.2 - 4 : Node44_15fontSize * 0.2 - 9;
- Node44_15textWidth = Node44_15width;
- Node44_15lineStart = 1;
- } else if (Node44_15align === 'right') {
- Node44_15textStart = 0;
- Node44_15textWidth =Node44_15fontSize <= 8 ? Node44_15width + Node44_15fontSize * 0.2 + 6 : Node44_15width - Node44_15fontSize * 0.2;
- Node44_15lineStart = (Node44_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node44_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_15align === 'center') {
- Node44_15textStart = -3;
- Node44_15textWidth = Node44_15width;
- Node44_15lineStart = Node44_15width - ht.Default.getTextSize('166.79', 'bold '+ Node44_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_15.setImage(GD.getTextJSON(Node44_15width, Node44_15height, true, false, false, 'bold '+ Node44_15fontSize + 'px "UniDreamLED"'))
- Node44_15.setPosition(1462*ratio.ratioX, 317*ratio.ratioY);
- Node44_15.setWidth(Node44_15width);
- Node44_15.setHeight(Node44_15height);
- Node44_15._nodeType = 'text';
- Node44_15._disallowEvert = true;
- Node44_15.setRotation(0*Math.PI/180);
- Node44_15.a('node.width', Node44_15width);
- Node44_15.a('node.height', Node44_15height);
- Node44_15.a('node.rect', [0, 0, Node44_15width, Node44_15height]);
- Node44_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_15.a('node.borderwidth', 0);
- Node44_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_15.a('node.gradient','');
- Node44_15.a('node.gradientcolor','');
- Node44_15.a('node.text','166.79');
- Node44_15.a('node.textalign','center');
- Node44_15.a('node.textvAlign','middle');
- Node44_15.a('node.textrect', [Node44_15textStart, 0, Node44_15textWidth, Node44_15height]);
- Node44_15.a('node.color','rgba(0,0,0,1)');
- Node44_15.a('node.font','bold '+ Node44_15fontSize + 'px "UniDreamLED"');
- Node44_15.a('node.textvisible',true);
- Node44_15.a('node.linefeed',false);
- if (false) {
- Node44_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_15.a('node.text') || '166.79';
- var color=Node44_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_15width,Node44_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_15.a('node.underlinepoints',[Node44_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node44_15fontSize + 'px "UniDreamLED"').width + 6, (Node44_15height - Node44_15fontSize) * 0.5*_ratio.ratioY + Node44_15fontSize + 2 ]);
- Node44_15.a('node.underlinevisible',false);
- Node44_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_15);
- zoomNodeList.push({
- node: Node44_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_16 = new ht.Node();
- var Node44_16textStart, Node44_16textWidth, Node44_16lineStart, Node44_16align = 'center', Node44_16fontSize = 13.3333*_ratio.ratioY,Node44_16width = 110*_ratio.ratioX, Node44_16height = 27*_ratio.ratioY;
- (function () {
- if (Node44_16align === 'left') {
- Node44_16textStart = Node44_16fontSize * 0.2 > 2 ? Node44_16fontSize * 0.2 - 4 : Node44_16fontSize * 0.2 - 9;
- Node44_16textWidth = Node44_16width;
- Node44_16lineStart = 1;
- } else if (Node44_16align === 'right') {
- Node44_16textStart = 0;
- Node44_16textWidth =Node44_16fontSize <= 8 ? Node44_16width + Node44_16fontSize * 0.2 + 6 : Node44_16width - Node44_16fontSize * 0.2;
- Node44_16lineStart = (Node44_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node44_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_16align === 'center') {
- Node44_16textStart = -3;
- Node44_16textWidth = Node44_16width;
- Node44_16lineStart = Node44_16width - ht.Default.getTextSize('66.18', 'bold '+ Node44_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_16.setImage(GD.getTextJSON(Node44_16width, Node44_16height, true, false, false, 'bold '+ Node44_16fontSize + 'px "UniDreamLED"'))
- Node44_16.setPosition(1462*ratio.ratioX, 346*ratio.ratioY);
- Node44_16.setWidth(Node44_16width);
- Node44_16.setHeight(Node44_16height);
- Node44_16._nodeType = 'text';
- Node44_16._disallowEvert = true;
- Node44_16.setRotation(0*Math.PI/180);
- Node44_16.a('node.width', Node44_16width);
- Node44_16.a('node.height', Node44_16height);
- Node44_16.a('node.rect', [0, 0, Node44_16width, Node44_16height]);
- Node44_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_16.a('node.borderwidth', 0);
- Node44_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_16.a('node.gradient','');
- Node44_16.a('node.gradientcolor','');
- Node44_16.a('node.text','66.18');
- Node44_16.a('node.textalign','center');
- Node44_16.a('node.textvAlign','middle');
- Node44_16.a('node.textrect', [Node44_16textStart, 0, Node44_16textWidth, Node44_16height]);
- Node44_16.a('node.color','rgba(0,0,0,1)');
- Node44_16.a('node.font','bold '+ Node44_16fontSize + 'px "UniDreamLED"');
- Node44_16.a('node.textvisible',true);
- Node44_16.a('node.linefeed',false);
- if (false) {
- Node44_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_16.a('node.text') || '66.18';
- var color=Node44_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_16width,Node44_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_16.a('node.underlinepoints',[Node44_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node44_16fontSize + 'px "UniDreamLED"').width + 6, (Node44_16height - Node44_16fontSize) * 0.5*_ratio.ratioY + Node44_16fontSize + 2 ]);
- Node44_16.a('node.underlinevisible',false);
- Node44_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_16);
- zoomNodeList.push({
- node: Node44_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44_17 = new ht.Node();
- var Node44_17textStart, Node44_17textWidth, Node44_17lineStart, Node44_17align = 'center', Node44_17fontSize = 13.3333*_ratio.ratioY,Node44_17width = 110*_ratio.ratioX, Node44_17height = 27*_ratio.ratioY;
- (function () {
- if (Node44_17align === 'left') {
- Node44_17textStart = Node44_17fontSize * 0.2 > 2 ? Node44_17fontSize * 0.2 - 4 : Node44_17fontSize * 0.2 - 9;
- Node44_17textWidth = Node44_17width;
- Node44_17lineStart = 1;
- } else if (Node44_17align === 'right') {
- Node44_17textStart = 0;
- Node44_17textWidth =Node44_17fontSize <= 8 ? Node44_17width + Node44_17fontSize * 0.2 + 6 : Node44_17width - Node44_17fontSize * 0.2;
- Node44_17lineStart = (Node44_17width - (ht.Default.getTextSize('-', 'bold '+ Node44_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node44_17align === 'center') {
- Node44_17textStart = -3;
- Node44_17textWidth = Node44_17width;
- Node44_17lineStart = Node44_17width - ht.Default.getTextSize('-', 'bold '+ Node44_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node44_17.setImage(GD.getTextJSON(Node44_17width, Node44_17height, true, false, false, 'bold '+ Node44_17fontSize + 'px "UniDreamLED"'))
- Node44_17.setPosition(1462*ratio.ratioX, 377*ratio.ratioY);
- Node44_17.setWidth(Node44_17width);
- Node44_17.setHeight(Node44_17height);
- Node44_17._nodeType = 'text';
- Node44_17._disallowEvert = true;
- Node44_17.setRotation(0*Math.PI/180);
- Node44_17.a('node.width', Node44_17width);
- Node44_17.a('node.height', Node44_17height);
- Node44_17.a('node.rect', [0, 0, Node44_17width, Node44_17height]);
- Node44_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node44_17.a('node.borderwidth', 0);
- Node44_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node44_17.a('node.gradient','');
- Node44_17.a('node.gradientcolor','');
- Node44_17.a('node.text','-');
- Node44_17.a('node.textalign','center');
- Node44_17.a('node.textvAlign','middle');
- Node44_17.a('node.textrect', [Node44_17textStart, 0, Node44_17textWidth, Node44_17height]);
- Node44_17.a('node.color','rgba(0,0,0,1)');
- Node44_17.a('node.font','bold '+ Node44_17fontSize + 'px "UniDreamLED"');
- Node44_17.a('node.textvisible',true);
- Node44_17.a('node.linefeed',false);
- if (false) {
- Node44_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node44_17.a('node.text') || '-';
- var color=Node44_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node44_17width,Node44_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node44_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node44_17.a('node.underlinepoints',[Node44_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node44_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node44_17fontSize + 'px "UniDreamLED"').width + 6, (Node44_17height - Node44_17fontSize) * 0.5*_ratio.ratioY + Node44_17fontSize + 2 ]);
- Node44_17.a('node.underlinevisible',false);
- Node44_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node44_17);
- zoomNodeList.push({
- node: Node44_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node45_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node45_0 = new ht.Node();
- Node45_0.setPosition(1462*ratio.ratioX, 237*ratio.ratioY);
- Node45_0.setSize(127*ratioX, 313*ratioY);
- Node45_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node45_0.setRotation(0*Math.PI/180);
- Node45_0._zoomBy = 'Default';
- Node45_0._nodeType = 'image';
- Node45_0._disallowEvert = true;
- dataModel.add(Node45_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45_1 = new ht.Node();
- var Node45_1textStart, Node45_1textWidth, Node45_1lineStart, Node45_1align = 'center', Node45_1fontSize = 13.3333*_ratio.ratioY,Node45_1width = 105*_ratio.ratioX, Node45_1height = 27*_ratio.ratioY;
- (function () {
- if (Node45_1align === 'left') {
- Node45_1textStart = Node45_1fontSize * 0.2 > 2 ? Node45_1fontSize * 0.2 - 4 : Node45_1fontSize * 0.2 - 9;
- Node45_1textWidth = Node45_1width;
- Node45_1lineStart = 1;
- } else if (Node45_1align === 'right') {
- Node45_1textStart = 0;
- Node45_1textWidth =Node45_1fontSize <= 8 ? Node45_1width + Node45_1fontSize * 0.2 + 6 : Node45_1width - Node45_1fontSize * 0.2;
- Node45_1lineStart = (Node45_1width - (ht.Default.getTextSize('故障损失电量', 'bold '+ Node45_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node45_1align === 'center') {
- Node45_1textStart = -3;
- Node45_1textWidth = Node45_1width;
- Node45_1lineStart = Node45_1width - ht.Default.getTextSize('故障损失电量', 'bold '+ Node45_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node45_1.setImage(GD.getTextJSON(Node45_1width, Node45_1height, true, false, false, 'bold '+ Node45_1fontSize + 'px "Arial"'))
- Node45_1.setPosition(1457*ratio.ratioX, 102*ratio.ratioY);
- Node45_1.setWidth(Node45_1width);
- Node45_1.setHeight(Node45_1height);
- Node45_1._nodeType = 'text';
- Node45_1._disallowEvert = true;
- Node45_1.setRotation(0*Math.PI/180);
- Node45_1.a('node.width', Node45_1width);
- Node45_1.a('node.height', Node45_1height);
- Node45_1.a('node.rect', [0, 0, Node45_1width, Node45_1height]);
- Node45_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node45_1.a('node.borderwidth', 0);
- Node45_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node45_1.a('node.gradient','');
- Node45_1.a('node.gradientcolor','');
- Node45_1.a('node.text','故障损失电量');
- Node45_1.a('node.textalign','center');
- Node45_1.a('node.textvAlign','middle');
- Node45_1.a('node.textrect', [Node45_1textStart, 0, Node45_1textWidth, Node45_1height]);
- Node45_1.a('node.color','rgba(255,255,255,1)');
- Node45_1.a('node.font','bold '+ Node45_1fontSize + 'px "Arial"');
- Node45_1.a('node.textvisible',true);
- Node45_1.a('node.linefeed',false);
- if (false) {
- Node45_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node45_1.a('node.text') || '故障损失电量';
- var color=Node45_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node45_1width,Node45_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node45_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node45_1.a('node.underlinepoints',[Node45_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node45_1fontSize + 2 , ht.Default.getTextSize('故障损失电量', 'bold '+ Node45_1fontSize + 'px "Arial"').width + 6, (Node45_1height - Node45_1fontSize) * 0.5*_ratio.ratioY + Node45_1fontSize + 2 ]);
- Node45_1.a('node.underlinevisible',false);
- Node45_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node45_1);
- zoomNodeList.push({
- node: Node45_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_0type = 'rect';
- var Node46_0 = new ht.Node(),
- Node46_0BorderWidth = 0*2;
- if (Node46_0type === 'arc') {
- Node46_0BorderWidth *= 0;
- }
- Node46_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_0.setPosition(1589*ratio.ratioX, 190*ratio.ratioY);
- Node46_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_0.a('node.width', 127*_ratio.ratioX);
- Node46_0.a('node.height', 32*_ratio.ratioY);
- Node46_0.a('node.type', Node46_0type);
- Node46_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_0.a('node.background', 'rgba(245,245,245,1)');
- Node46_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node46_0.a('node.gradient', '');
- Node46_0.a('node.borderwidth', Node46_0BorderWidth);
- Node46_0.a('node.color', 'rgba(192,192,192,0)');
- Node46_0.a('node.fillrect', [0,0,0,0]);
- Node46_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_0.a('node.fillgradient', '');
- if (Node46_0type !== 'rect') {
- Node46_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_0type === 'arc') {
- Node46_0.a('node.arcOval', true);
- }
- Node46_0.setRotation(0*Math.PI/180);
- Node46_0.borderWidth = Node46_0BorderWidth;
- Node46_0.borderFillwidth = Node46_0BorderWidth;
- dataModel.add(Node46_0);
- Node46_0._nodename = 'Node46_0'
- Node46_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_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);
- }
- })(Node46_0, Node46_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_1type = 'rect';
- var Node46_1 = new ht.Node(),
- Node46_1BorderWidth = 0*2;
- if (Node46_1type === 'arc') {
- Node46_1BorderWidth *= 0;
- }
- Node46_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_1.setPosition(1589*ratio.ratioX, 222*ratio.ratioY);
- Node46_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_1.a('node.width', 127*_ratio.ratioX);
- Node46_1.a('node.height', 32*_ratio.ratioY);
- Node46_1.a('node.type', Node46_1type);
- Node46_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node46_1.a('node.gradientcolor', '');
- Node46_1.a('node.gradient', '');
- Node46_1.a('node.borderwidth', Node46_1BorderWidth);
- Node46_1.a('node.color', 'rgba(192,192,192,0)');
- Node46_1.a('node.fillrect', [0,0,0,0]);
- Node46_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_1.a('node.fillgradient', '');
- if (Node46_1type !== 'rect') {
- Node46_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_1type === 'arc') {
- Node46_1.a('node.arcOval', true);
- }
- Node46_1.setRotation(0*Math.PI/180);
- Node46_1.borderWidth = Node46_1BorderWidth;
- Node46_1.borderFillwidth = Node46_1BorderWidth;
- dataModel.add(Node46_1);
- Node46_1._nodename = 'Node46_1'
- Node46_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_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);
- }
- })(Node46_1, Node46_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_2type = 'rect';
- var Node46_2 = new ht.Node(),
- Node46_2BorderWidth = 0*2;
- if (Node46_2type === 'arc') {
- Node46_2BorderWidth *= 0;
- }
- Node46_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_2.setPosition(1589*ratio.ratioX, 254*ratio.ratioY);
- Node46_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_2.a('node.width', 127*_ratio.ratioX);
- Node46_2.a('node.height', 32*_ratio.ratioY);
- Node46_2.a('node.type', Node46_2type);
- Node46_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_2.a('node.background', 'rgba(245,245,245,1)');
- Node46_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node46_2.a('node.gradient', '');
- Node46_2.a('node.borderwidth', Node46_2BorderWidth);
- Node46_2.a('node.color', 'rgba(192,192,192,0)');
- Node46_2.a('node.fillrect', [0,0,0,0]);
- Node46_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_2.a('node.fillgradient', '');
- if (Node46_2type !== 'rect') {
- Node46_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_2type === 'arc') {
- Node46_2.a('node.arcOval', true);
- }
- Node46_2.setRotation(0*Math.PI/180);
- Node46_2.borderWidth = Node46_2BorderWidth;
- Node46_2.borderFillwidth = Node46_2BorderWidth;
- dataModel.add(Node46_2);
- Node46_2._nodename = 'Node46_2'
- Node46_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node46_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_3type = 'rect';
- var Node46_3 = new ht.Node(),
- Node46_3BorderWidth = 0*2;
- if (Node46_3type === 'arc') {
- Node46_3BorderWidth *= 0;
- }
- Node46_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_3.setPosition(1589*ratio.ratioX, 285*ratio.ratioY);
- Node46_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_3.a('node.width', 127*_ratio.ratioX);
- Node46_3.a('node.height', 32*_ratio.ratioY);
- Node46_3.a('node.type', Node46_3type);
- Node46_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node46_3.a('node.gradientcolor', '');
- Node46_3.a('node.gradient', '');
- Node46_3.a('node.borderwidth', Node46_3BorderWidth);
- Node46_3.a('node.color', 'rgba(192,192,192,0)');
- Node46_3.a('node.fillrect', [0,0,0,0]);
- Node46_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_3.a('node.fillgradient', '');
- if (Node46_3type !== 'rect') {
- Node46_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_3type === 'arc') {
- Node46_3.a('node.arcOval', true);
- }
- Node46_3.setRotation(0*Math.PI/180);
- Node46_3.borderWidth = Node46_3BorderWidth;
- Node46_3.borderFillwidth = Node46_3BorderWidth;
- dataModel.add(Node46_3);
- Node46_3._nodename = 'Node46_3'
- Node46_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node46_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_4type = 'rect';
- var Node46_4 = new ht.Node(),
- Node46_4BorderWidth = 0*2;
- if (Node46_4type === 'arc') {
- Node46_4BorderWidth *= 0;
- }
- Node46_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_4.setPosition(1589*ratio.ratioX, 316*ratio.ratioY);
- Node46_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_4.a('node.width', 127*_ratio.ratioX);
- Node46_4.a('node.height', 32*_ratio.ratioY);
- Node46_4.a('node.type', Node46_4type);
- Node46_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_4.a('node.background', 'rgba(245,245,245,1)');
- Node46_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node46_4.a('node.gradient', '');
- Node46_4.a('node.borderwidth', Node46_4BorderWidth);
- Node46_4.a('node.color', 'rgba(192,192,192,0)');
- Node46_4.a('node.fillrect', [0,0,0,0]);
- Node46_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_4.a('node.fillgradient', '');
- if (Node46_4type !== 'rect') {
- Node46_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_4type === 'arc') {
- Node46_4.a('node.arcOval', true);
- }
- Node46_4.setRotation(0*Math.PI/180);
- Node46_4.borderWidth = Node46_4BorderWidth;
- Node46_4.borderFillwidth = Node46_4BorderWidth;
- dataModel.add(Node46_4);
- Node46_4._nodename = 'Node46_4'
- Node46_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node46_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_5type = 'rect';
- var Node46_5 = new ht.Node(),
- Node46_5BorderWidth = 0*2;
- if (Node46_5type === 'arc') {
- Node46_5BorderWidth *= 0;
- }
- Node46_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_5.setPosition(1589*ratio.ratioX, 347*ratio.ratioY);
- Node46_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_5.a('node.width', 127*_ratio.ratioX);
- Node46_5.a('node.height', 32*_ratio.ratioY);
- Node46_5.a('node.type', Node46_5type);
- Node46_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node46_5.a('node.gradientcolor', '');
- Node46_5.a('node.gradient', '');
- Node46_5.a('node.borderwidth', Node46_5BorderWidth);
- Node46_5.a('node.color', 'rgba(192,192,192,0)');
- Node46_5.a('node.fillrect', [0,0,0,0]);
- Node46_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_5.a('node.fillgradient', '');
- if (Node46_5type !== 'rect') {
- Node46_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_5type === 'arc') {
- Node46_5.a('node.arcOval', true);
- }
- Node46_5.setRotation(0*Math.PI/180);
- Node46_5.borderWidth = Node46_5BorderWidth;
- Node46_5.borderFillwidth = Node46_5BorderWidth;
- dataModel.add(Node46_5);
- Node46_5._nodename = 'Node46_5'
- Node46_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node46_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_6type = 'rect';
- var Node46_6 = new ht.Node(),
- Node46_6BorderWidth = 0*2;
- if (Node46_6type === 'arc') {
- Node46_6BorderWidth *= 0;
- }
- Node46_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node46_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_6.setPosition(1589*ratio.ratioX, 378*ratio.ratioY);
- Node46_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node46_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_6.a('node.width', 127*_ratio.ratioX);
- Node46_6.a('node.height', 32*_ratio.ratioY);
- Node46_6.a('node.type', Node46_6type);
- Node46_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node46_6.a('node.background', 'rgba(245,245,245,1)');
- Node46_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node46_6.a('node.gradient', '');
- Node46_6.a('node.borderwidth', Node46_6BorderWidth);
- Node46_6.a('node.color', 'rgba(192,192,192,0)');
- Node46_6.a('node.fillrect', [0,0,0,0]);
- Node46_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_6.a('node.fillgradient', '');
- if (Node46_6type !== 'rect') {
- Node46_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_6type === 'arc') {
- Node46_6.a('node.arcOval', true);
- }
- Node46_6.setRotation(0*Math.PI/180);
- Node46_6.borderWidth = Node46_6BorderWidth;
- Node46_6.borderFillwidth = Node46_6BorderWidth;
- dataModel.add(Node46_6);
- Node46_6._nodename = 'Node46_6'
- Node46_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node46_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_7type = 'rect';
- var Node46_7 = new ht.Node(),
- Node46_7BorderWidth = 1*2;
- if (Node46_7type === 'arc') {
- Node46_7BorderWidth *= 1;
- }
- Node46_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node46_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46_7.setPosition(1589*ratio.ratioX, 239*ratio.ratioY);
- Node46_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node46_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46_7.a('node.width', 127*_ratio.ratioX);
- Node46_7.a('node.height', 309*_ratio.ratioY);
- Node46_7.a('node.type', Node46_7type);
- Node46_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node46_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node46_7.a('node.gradientcolor', '');
- Node46_7.a('node.gradient', '');
- Node46_7.a('node.borderwidth', Node46_7BorderWidth);
- Node46_7.a('node.color', 'rgba(192,192,192,1)');
- Node46_7.a('node.fillrect', [0,0,0,0]);
- Node46_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46_7.a('node.fillgradient', '');
- if (Node46_7type !== 'rect') {
- Node46_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node46_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46_7type === 'arc') {
- Node46_7.a('node.arcOval', true);
- }
- Node46_7.setRotation(0*Math.PI/180);
- Node46_7.borderWidth = Node46_7BorderWidth;
- Node46_7.borderFillwidth = Node46_7BorderWidth;
- dataModel.add(Node46_7);
- Node46_7._nodename = 'Node46_7'
- Node46_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46_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);
- }
- })(Node46_7, Node46_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_8 = new ht.Node();
- var Node46_8textStart, Node46_8textWidth, Node46_8lineStart, Node46_8align = 'center', Node46_8fontSize = 13.3333*_ratio.ratioY,Node46_8width = 105*_ratio.ratioX, Node46_8height = 27*_ratio.ratioY;
- (function () {
- if (Node46_8align === 'left') {
- Node46_8textStart = Node46_8fontSize * 0.2 > 2 ? Node46_8fontSize * 0.2 - 4 : Node46_8fontSize * 0.2 - 9;
- Node46_8textWidth = Node46_8width;
- Node46_8lineStart = 1;
- } else if (Node46_8align === 'right') {
- Node46_8textStart = 0;
- Node46_8textWidth =Node46_8fontSize <= 8 ? Node46_8width + Node46_8fontSize * 0.2 + 6 : Node46_8width - Node46_8fontSize * 0.2;
- Node46_8lineStart = (Node46_8width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node46_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node46_8align === 'center') {
- Node46_8textStart = -3;
- Node46_8textWidth = Node46_8width;
- Node46_8lineStart = Node46_8width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node46_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node46_8.setImage(GD.getTextJSON(Node46_8width, Node46_8height, true, false, false, 'bold '+ Node46_8fontSize + 'px "Arial"'))
- Node46_8.setPosition(1586*ratio.ratioX, 103*ratio.ratioY);
- Node46_8.setWidth(Node46_8width);
- Node46_8.setHeight(Node46_8height);
- Node46_8._nodeType = 'text';
- Node46_8._disallowEvert = true;
- Node46_8.setRotation(0*Math.PI/180);
- Node46_8.a('node.width', Node46_8width);
- Node46_8.a('node.height', Node46_8height);
- Node46_8.a('node.rect', [0, 0, Node46_8width, Node46_8height]);
- Node46_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node46_8.a('node.borderwidth', 0);
- Node46_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_8.a('node.gradient','');
- Node46_8.a('node.gradientcolor','');
- Node46_8.a('node.text','限电损失电量');
- Node46_8.a('node.textalign','center');
- Node46_8.a('node.textvAlign','middle');
- Node46_8.a('node.textrect', [Node46_8textStart, 0, Node46_8textWidth, Node46_8height]);
- Node46_8.a('node.color','rgba(255,255,255,1)');
- Node46_8.a('node.font','bold '+ Node46_8fontSize + 'px "Arial"');
- Node46_8.a('node.textvisible',true);
- Node46_8.a('node.linefeed',false);
- if (false) {
- Node46_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_8.a('node.text') || '限电损失电量';
- var color=Node46_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_8width,Node46_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node46_8.a('node.underlinepoints',[Node46_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_8fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node46_8fontSize + 'px "Arial"').width + 6, (Node46_8height - Node46_8fontSize) * 0.5*_ratio.ratioY + Node46_8fontSize + 2 ]);
- Node46_8.a('node.underlinevisible',false);
- Node46_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_8);
- zoomNodeList.push({
- node: Node46_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_9 = new ht.Node();
- var Node46_9textStart, Node46_9textWidth, Node46_9lineStart, Node46_9align = 'center', Node46_9fontSize = 11.99997*_ratio.ratioY,Node46_9width = 105*_ratio.ratioX, Node46_9height = 17*_ratio.ratioY;
- (function () {
- if (Node46_9align === 'left') {
- Node46_9textStart = Node46_9fontSize * 0.2 > 2 ? Node46_9fontSize * 0.2 - 4 : Node46_9fontSize * 0.2 - 9;
- Node46_9textWidth = Node46_9width;
- Node46_9lineStart = 1;
- } else if (Node46_9align === 'right') {
- Node46_9textStart = 0;
- Node46_9textWidth =Node46_9fontSize <= 8 ? Node46_9width + Node46_9fontSize * 0.2 + 6 : Node46_9width - Node46_9fontSize * 0.2;
- Node46_9lineStart = (Node46_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node46_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node46_9align === 'center') {
- Node46_9textStart = -3;
- Node46_9textWidth = Node46_9width;
- Node46_9lineStart = Node46_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node46_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node46_9.setImage(GD.getTextJSON(Node46_9width, Node46_9height, true, false, false, 'bold '+ Node46_9fontSize + 'px "Arial"'))
- Node46_9.setPosition(1586*ratio.ratioX, 131*ratio.ratioY);
- Node46_9.setWidth(Node46_9width);
- Node46_9.setHeight(Node46_9height);
- Node46_9._nodeType = 'text';
- Node46_9._disallowEvert = true;
- Node46_9.setRotation(0*Math.PI/180);
- Node46_9.a('node.width', Node46_9width);
- Node46_9.a('node.height', Node46_9height);
- Node46_9.a('node.rect', [0, 0, Node46_9width, Node46_9height]);
- Node46_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node46_9.a('node.borderwidth', 0);
- Node46_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_9.a('node.gradient','');
- Node46_9.a('node.gradientcolor','');
- Node46_9.a('node.text','万kwh');
- Node46_9.a('node.textalign','center');
- Node46_9.a('node.textvAlign','middle');
- Node46_9.a('node.textrect', [Node46_9textStart, 0, Node46_9textWidth, Node46_9height]);
- Node46_9.a('node.color','rgba(128,128,128,1)');
- Node46_9.a('node.font','bold '+ Node46_9fontSize + 'px "Arial"');
- Node46_9.a('node.textvisible',true);
- Node46_9.a('node.linefeed',false);
- if (false) {
- Node46_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_9.a('node.text') || '万kwh';
- var color=Node46_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node46_9width,Node46_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node46_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node46_9.a('node.underlinepoints',[Node46_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node46_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node46_9fontSize + 'px "Arial"').width + 6, (Node46_9height - Node46_9fontSize) * 0.5*_ratio.ratioY + Node46_9fontSize + 2 ]);
- Node46_9.a('node.underlinevisible',false);
- Node46_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_9);
- zoomNodeList.push({
- node: Node46_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_10 = new ht.Node();
- var Node46_10textStart, Node46_10textWidth, Node46_10lineStart, Node46_10align = 'center', Node46_10fontSize = 13.3333*_ratio.ratioY,Node46_10width = 105*_ratio.ratioX, Node46_10height = 27*_ratio.ratioY;
- (function () {
- if (Node46_10align === 'left') {
- Node46_10textStart = Node46_10fontSize * 0.2 > 2 ? Node46_10fontSize * 0.2 - 4 : Node46_10fontSize * 0.2 - 9;
- Node46_10textWidth = Node46_10width;
- Node46_10lineStart = 1;
- } else if (Node46_10align === 'right') {
- Node46_10textStart = 0;
- Node46_10textWidth =Node46_10fontSize <= 8 ? Node46_10width + Node46_10fontSize * 0.2 + 6 : Node46_10width - Node46_10fontSize * 0.2;
- Node46_10lineStart = (Node46_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node46_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_10align === 'center') {
- Node46_10textStart = -3;
- Node46_10textWidth = Node46_10width;
- Node46_10lineStart = Node46_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node46_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_10.setImage(GD.getTextJSON(Node46_10width, Node46_10height, true, false, false, 'bold '+ Node46_10fontSize + 'px "UniDreamLED"'))
- Node46_10.setPosition(1586*ratio.ratioX, 158*ratio.ratioY);
- Node46_10.setWidth(Node46_10width);
- Node46_10.setHeight(Node46_10height);
- Node46_10._nodeType = 'text';
- Node46_10._disallowEvert = true;
- Node46_10.setRotation(0*Math.PI/180);
- Node46_10.a('node.width', Node46_10width);
- Node46_10.a('node.height', Node46_10height);
- Node46_10.a('node.rect', [0, 0, Node46_10width, Node46_10height]);
- Node46_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_10.a('node.borderwidth', 0);
- Node46_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_10.a('node.gradient','');
- Node46_10.a('node.gradientcolor','');
- Node46_10.a('node.text','1134.76');
- Node46_10.a('node.textalign','center');
- Node46_10.a('node.textvAlign','middle');
- Node46_10.a('node.textrect', [Node46_10textStart, 0, Node46_10textWidth, Node46_10height]);
- Node46_10.a('node.color','rgba(0,0,0,1)');
- Node46_10.a('node.font','bold '+ Node46_10fontSize + 'px "UniDreamLED"');
- Node46_10.a('node.textvisible',true);
- Node46_10.a('node.linefeed',false);
- if (false) {
- Node46_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_10.a('node.text') || '1134.76';
- var color=Node46_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_10width,Node46_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_10.a('node.underlinepoints',[Node46_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node46_10fontSize + 'px "UniDreamLED"').width + 6, (Node46_10height - Node46_10fontSize) * 0.5*_ratio.ratioY + Node46_10fontSize + 2 ]);
- Node46_10.a('node.underlinevisible',false);
- Node46_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_10);
- zoomNodeList.push({
- node: Node46_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_11 = new ht.Node();
- var Node46_11textStart, Node46_11textWidth, Node46_11lineStart, Node46_11align = 'center', Node46_11fontSize = 13.3333*_ratio.ratioY,Node46_11width = 110*_ratio.ratioX, Node46_11height = 27*_ratio.ratioY;
- (function () {
- if (Node46_11align === 'left') {
- Node46_11textStart = Node46_11fontSize * 0.2 > 2 ? Node46_11fontSize * 0.2 - 4 : Node46_11fontSize * 0.2 - 9;
- Node46_11textWidth = Node46_11width;
- Node46_11lineStart = 1;
- } else if (Node46_11align === 'right') {
- Node46_11textStart = 0;
- Node46_11textWidth =Node46_11fontSize <= 8 ? Node46_11width + Node46_11fontSize * 0.2 + 6 : Node46_11width - Node46_11fontSize * 0.2;
- Node46_11lineStart = (Node46_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node46_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_11align === 'center') {
- Node46_11textStart = -3;
- Node46_11textWidth = Node46_11width;
- Node46_11lineStart = Node46_11width - ht.Default.getTextSize('171.51', 'bold '+ Node46_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_11.setImage(GD.getTextJSON(Node46_11width, Node46_11height, true, false, false, 'bold '+ Node46_11fontSize + 'px "UniDreamLED"'))
- Node46_11.setPosition(1589*ratio.ratioX, 190*ratio.ratioY);
- Node46_11.setWidth(Node46_11width);
- Node46_11.setHeight(Node46_11height);
- Node46_11._nodeType = 'text';
- Node46_11._disallowEvert = true;
- Node46_11.setRotation(0*Math.PI/180);
- Node46_11.a('node.width', Node46_11width);
- Node46_11.a('node.height', Node46_11height);
- Node46_11.a('node.rect', [0, 0, Node46_11width, Node46_11height]);
- Node46_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_11.a('node.borderwidth', 0);
- Node46_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_11.a('node.gradient','');
- Node46_11.a('node.gradientcolor','');
- Node46_11.a('node.text','171.51');
- Node46_11.a('node.textalign','center');
- Node46_11.a('node.textvAlign','middle');
- Node46_11.a('node.textrect', [Node46_11textStart, 0, Node46_11textWidth, Node46_11height]);
- Node46_11.a('node.color','rgba(0,0,0,1)');
- Node46_11.a('node.font','bold '+ Node46_11fontSize + 'px "UniDreamLED"');
- Node46_11.a('node.textvisible',true);
- Node46_11.a('node.linefeed',false);
- if (false) {
- Node46_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_11.a('node.text') || '171.51';
- var color=Node46_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_11width,Node46_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_11.a('node.underlinepoints',[Node46_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node46_11fontSize + 'px "UniDreamLED"').width + 6, (Node46_11height - Node46_11fontSize) * 0.5*_ratio.ratioY + Node46_11fontSize + 2 ]);
- Node46_11.a('node.underlinevisible',false);
- Node46_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_11);
- zoomNodeList.push({
- node: Node46_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_12 = new ht.Node();
- var Node46_12textStart, Node46_12textWidth, Node46_12lineStart, Node46_12align = 'center', Node46_12fontSize = 13.3333*_ratio.ratioY,Node46_12width = 110*_ratio.ratioX, Node46_12height = 27*_ratio.ratioY;
- (function () {
- if (Node46_12align === 'left') {
- Node46_12textStart = Node46_12fontSize * 0.2 > 2 ? Node46_12fontSize * 0.2 - 4 : Node46_12fontSize * 0.2 - 9;
- Node46_12textWidth = Node46_12width;
- Node46_12lineStart = 1;
- } else if (Node46_12align === 'right') {
- Node46_12textStart = 0;
- Node46_12textWidth =Node46_12fontSize <= 8 ? Node46_12width + Node46_12fontSize * 0.2 + 6 : Node46_12width - Node46_12fontSize * 0.2;
- Node46_12lineStart = (Node46_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node46_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_12align === 'center') {
- Node46_12textStart = -3;
- Node46_12textWidth = Node46_12width;
- Node46_12lineStart = Node46_12width - ht.Default.getTextSize('329.51', 'bold '+ Node46_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_12.setImage(GD.getTextJSON(Node46_12width, Node46_12height, true, false, false, 'bold '+ Node46_12fontSize + 'px "UniDreamLED"'))
- Node46_12.setPosition(1589*ratio.ratioX, 220*ratio.ratioY);
- Node46_12.setWidth(Node46_12width);
- Node46_12.setHeight(Node46_12height);
- Node46_12._nodeType = 'text';
- Node46_12._disallowEvert = true;
- Node46_12.setRotation(0*Math.PI/180);
- Node46_12.a('node.width', Node46_12width);
- Node46_12.a('node.height', Node46_12height);
- Node46_12.a('node.rect', [0, 0, Node46_12width, Node46_12height]);
- Node46_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_12.a('node.borderwidth', 0);
- Node46_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_12.a('node.gradient','');
- Node46_12.a('node.gradientcolor','');
- Node46_12.a('node.text','329.51');
- Node46_12.a('node.textalign','center');
- Node46_12.a('node.textvAlign','middle');
- Node46_12.a('node.textrect', [Node46_12textStart, 0, Node46_12textWidth, Node46_12height]);
- Node46_12.a('node.color','rgba(0,0,0,1)');
- Node46_12.a('node.font','bold '+ Node46_12fontSize + 'px "UniDreamLED"');
- Node46_12.a('node.textvisible',true);
- Node46_12.a('node.linefeed',false);
- if (false) {
- Node46_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_12.a('node.text') || '329.51';
- var color=Node46_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_12width,Node46_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_12.a('node.underlinepoints',[Node46_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node46_12fontSize + 'px "UniDreamLED"').width + 6, (Node46_12height - Node46_12fontSize) * 0.5*_ratio.ratioY + Node46_12fontSize + 2 ]);
- Node46_12.a('node.underlinevisible',false);
- Node46_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_12);
- zoomNodeList.push({
- node: Node46_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_13 = new ht.Node();
- var Node46_13textStart, Node46_13textWidth, Node46_13lineStart, Node46_13align = 'center', Node46_13fontSize = 13.3333*_ratio.ratioY,Node46_13width = 110*_ratio.ratioX, Node46_13height = 27*_ratio.ratioY;
- (function () {
- if (Node46_13align === 'left') {
- Node46_13textStart = Node46_13fontSize * 0.2 > 2 ? Node46_13fontSize * 0.2 - 4 : Node46_13fontSize * 0.2 - 9;
- Node46_13textWidth = Node46_13width;
- Node46_13lineStart = 1;
- } else if (Node46_13align === 'right') {
- Node46_13textStart = 0;
- Node46_13textWidth =Node46_13fontSize <= 8 ? Node46_13width + Node46_13fontSize * 0.2 + 6 : Node46_13width - Node46_13fontSize * 0.2;
- Node46_13lineStart = (Node46_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node46_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_13align === 'center') {
- Node46_13textStart = -3;
- Node46_13textWidth = Node46_13width;
- Node46_13lineStart = Node46_13width - ht.Default.getTextSize('340.14', 'bold '+ Node46_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_13.setImage(GD.getTextJSON(Node46_13width, Node46_13height, true, false, false, 'bold '+ Node46_13fontSize + 'px "UniDreamLED"'))
- Node46_13.setPosition(1589*ratio.ratioX, 250*ratio.ratioY);
- Node46_13.setWidth(Node46_13width);
- Node46_13.setHeight(Node46_13height);
- Node46_13._nodeType = 'text';
- Node46_13._disallowEvert = true;
- Node46_13.setRotation(0*Math.PI/180);
- Node46_13.a('node.width', Node46_13width);
- Node46_13.a('node.height', Node46_13height);
- Node46_13.a('node.rect', [0, 0, Node46_13width, Node46_13height]);
- Node46_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_13.a('node.borderwidth', 0);
- Node46_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_13.a('node.gradient','');
- Node46_13.a('node.gradientcolor','');
- Node46_13.a('node.text','340.14');
- Node46_13.a('node.textalign','center');
- Node46_13.a('node.textvAlign','middle');
- Node46_13.a('node.textrect', [Node46_13textStart, 0, Node46_13textWidth, Node46_13height]);
- Node46_13.a('node.color','rgba(0,0,0,1)');
- Node46_13.a('node.font','bold '+ Node46_13fontSize + 'px "UniDreamLED"');
- Node46_13.a('node.textvisible',true);
- Node46_13.a('node.linefeed',false);
- if (false) {
- Node46_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_13.a('node.text') || '340.14';
- var color=Node46_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_13width,Node46_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_13.a('node.underlinepoints',[Node46_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node46_13fontSize + 'px "UniDreamLED"').width + 6, (Node46_13height - Node46_13fontSize) * 0.5*_ratio.ratioY + Node46_13fontSize + 2 ]);
- Node46_13.a('node.underlinevisible',false);
- Node46_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_13);
- zoomNodeList.push({
- node: Node46_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_14 = new ht.Node();
- var Node46_14textStart, Node46_14textWidth, Node46_14lineStart, Node46_14align = 'center', Node46_14fontSize = 13.3333*_ratio.ratioY,Node46_14width = 110*_ratio.ratioX, Node46_14height = 27*_ratio.ratioY;
- (function () {
- if (Node46_14align === 'left') {
- Node46_14textStart = Node46_14fontSize * 0.2 > 2 ? Node46_14fontSize * 0.2 - 4 : Node46_14fontSize * 0.2 - 9;
- Node46_14textWidth = Node46_14width;
- Node46_14lineStart = 1;
- } else if (Node46_14align === 'right') {
- Node46_14textStart = 0;
- Node46_14textWidth =Node46_14fontSize <= 8 ? Node46_14width + Node46_14fontSize * 0.2 + 6 : Node46_14width - Node46_14fontSize * 0.2;
- Node46_14lineStart = (Node46_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node46_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_14align === 'center') {
- Node46_14textStart = -3;
- Node46_14textWidth = Node46_14width;
- Node46_14lineStart = Node46_14width - ht.Default.getTextSize('60.61', 'bold '+ Node46_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_14.setImage(GD.getTextJSON(Node46_14width, Node46_14height, true, false, false, 'bold '+ Node46_14fontSize + 'px "UniDreamLED"'))
- Node46_14.setPosition(1589*ratio.ratioX, 284*ratio.ratioY);
- Node46_14.setWidth(Node46_14width);
- Node46_14.setHeight(Node46_14height);
- Node46_14._nodeType = 'text';
- Node46_14._disallowEvert = true;
- Node46_14.setRotation(0*Math.PI/180);
- Node46_14.a('node.width', Node46_14width);
- Node46_14.a('node.height', Node46_14height);
- Node46_14.a('node.rect', [0, 0, Node46_14width, Node46_14height]);
- Node46_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_14.a('node.borderwidth', 0);
- Node46_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_14.a('node.gradient','');
- Node46_14.a('node.gradientcolor','');
- Node46_14.a('node.text','60.61');
- Node46_14.a('node.textalign','center');
- Node46_14.a('node.textvAlign','middle');
- Node46_14.a('node.textrect', [Node46_14textStart, 0, Node46_14textWidth, Node46_14height]);
- Node46_14.a('node.color','rgba(0,0,0,1)');
- Node46_14.a('node.font','bold '+ Node46_14fontSize + 'px "UniDreamLED"');
- Node46_14.a('node.textvisible',true);
- Node46_14.a('node.linefeed',false);
- if (false) {
- Node46_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_14.a('node.text') || '60.61';
- var color=Node46_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_14width,Node46_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_14.a('node.underlinepoints',[Node46_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node46_14fontSize + 'px "UniDreamLED"').width + 6, (Node46_14height - Node46_14fontSize) * 0.5*_ratio.ratioY + Node46_14fontSize + 2 ]);
- Node46_14.a('node.underlinevisible',false);
- Node46_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_14);
- zoomNodeList.push({
- node: Node46_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_15 = new ht.Node();
- var Node46_15textStart, Node46_15textWidth, Node46_15lineStart, Node46_15align = 'center', Node46_15fontSize = 13.3333*_ratio.ratioY,Node46_15width = 110*_ratio.ratioX, Node46_15height = 27*_ratio.ratioY;
- (function () {
- if (Node46_15align === 'left') {
- Node46_15textStart = Node46_15fontSize * 0.2 > 2 ? Node46_15fontSize * 0.2 - 4 : Node46_15fontSize * 0.2 - 9;
- Node46_15textWidth = Node46_15width;
- Node46_15lineStart = 1;
- } else if (Node46_15align === 'right') {
- Node46_15textStart = 0;
- Node46_15textWidth =Node46_15fontSize <= 8 ? Node46_15width + Node46_15fontSize * 0.2 + 6 : Node46_15width - Node46_15fontSize * 0.2;
- Node46_15lineStart = (Node46_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node46_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_15align === 'center') {
- Node46_15textStart = -3;
- Node46_15textWidth = Node46_15width;
- Node46_15lineStart = Node46_15width - ht.Default.getTextSize('166.79', 'bold '+ Node46_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_15.setImage(GD.getTextJSON(Node46_15width, Node46_15height, true, false, false, 'bold '+ Node46_15fontSize + 'px "UniDreamLED"'))
- Node46_15.setPosition(1589*ratio.ratioX, 317*ratio.ratioY);
- Node46_15.setWidth(Node46_15width);
- Node46_15.setHeight(Node46_15height);
- Node46_15._nodeType = 'text';
- Node46_15._disallowEvert = true;
- Node46_15.setRotation(0*Math.PI/180);
- Node46_15.a('node.width', Node46_15width);
- Node46_15.a('node.height', Node46_15height);
- Node46_15.a('node.rect', [0, 0, Node46_15width, Node46_15height]);
- Node46_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_15.a('node.borderwidth', 0);
- Node46_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_15.a('node.gradient','');
- Node46_15.a('node.gradientcolor','');
- Node46_15.a('node.text','166.79');
- Node46_15.a('node.textalign','center');
- Node46_15.a('node.textvAlign','middle');
- Node46_15.a('node.textrect', [Node46_15textStart, 0, Node46_15textWidth, Node46_15height]);
- Node46_15.a('node.color','rgba(0,0,0,1)');
- Node46_15.a('node.font','bold '+ Node46_15fontSize + 'px "UniDreamLED"');
- Node46_15.a('node.textvisible',true);
- Node46_15.a('node.linefeed',false);
- if (false) {
- Node46_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_15.a('node.text') || '166.79';
- var color=Node46_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_15width,Node46_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_15.a('node.underlinepoints',[Node46_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node46_15fontSize + 'px "UniDreamLED"').width + 6, (Node46_15height - Node46_15fontSize) * 0.5*_ratio.ratioY + Node46_15fontSize + 2 ]);
- Node46_15.a('node.underlinevisible',false);
- Node46_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_15);
- zoomNodeList.push({
- node: Node46_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_16 = new ht.Node();
- var Node46_16textStart, Node46_16textWidth, Node46_16lineStart, Node46_16align = 'center', Node46_16fontSize = 13.3333*_ratio.ratioY,Node46_16width = 110*_ratio.ratioX, Node46_16height = 27*_ratio.ratioY;
- (function () {
- if (Node46_16align === 'left') {
- Node46_16textStart = Node46_16fontSize * 0.2 > 2 ? Node46_16fontSize * 0.2 - 4 : Node46_16fontSize * 0.2 - 9;
- Node46_16textWidth = Node46_16width;
- Node46_16lineStart = 1;
- } else if (Node46_16align === 'right') {
- Node46_16textStart = 0;
- Node46_16textWidth =Node46_16fontSize <= 8 ? Node46_16width + Node46_16fontSize * 0.2 + 6 : Node46_16width - Node46_16fontSize * 0.2;
- Node46_16lineStart = (Node46_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node46_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_16align === 'center') {
- Node46_16textStart = -3;
- Node46_16textWidth = Node46_16width;
- Node46_16lineStart = Node46_16width - ht.Default.getTextSize('66.18', 'bold '+ Node46_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_16.setImage(GD.getTextJSON(Node46_16width, Node46_16height, true, false, false, 'bold '+ Node46_16fontSize + 'px "UniDreamLED"'))
- Node46_16.setPosition(1589*ratio.ratioX, 346*ratio.ratioY);
- Node46_16.setWidth(Node46_16width);
- Node46_16.setHeight(Node46_16height);
- Node46_16._nodeType = 'text';
- Node46_16._disallowEvert = true;
- Node46_16.setRotation(0*Math.PI/180);
- Node46_16.a('node.width', Node46_16width);
- Node46_16.a('node.height', Node46_16height);
- Node46_16.a('node.rect', [0, 0, Node46_16width, Node46_16height]);
- Node46_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_16.a('node.borderwidth', 0);
- Node46_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_16.a('node.gradient','');
- Node46_16.a('node.gradientcolor','');
- Node46_16.a('node.text','66.18');
- Node46_16.a('node.textalign','center');
- Node46_16.a('node.textvAlign','middle');
- Node46_16.a('node.textrect', [Node46_16textStart, 0, Node46_16textWidth, Node46_16height]);
- Node46_16.a('node.color','rgba(0,0,0,1)');
- Node46_16.a('node.font','bold '+ Node46_16fontSize + 'px "UniDreamLED"');
- Node46_16.a('node.textvisible',true);
- Node46_16.a('node.linefeed',false);
- if (false) {
- Node46_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_16.a('node.text') || '66.18';
- var color=Node46_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_16width,Node46_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_16.a('node.underlinepoints',[Node46_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node46_16fontSize + 'px "UniDreamLED"').width + 6, (Node46_16height - Node46_16fontSize) * 0.5*_ratio.ratioY + Node46_16fontSize + 2 ]);
- Node46_16.a('node.underlinevisible',false);
- Node46_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_16);
- zoomNodeList.push({
- node: Node46_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46_17 = new ht.Node();
- var Node46_17textStart, Node46_17textWidth, Node46_17lineStart, Node46_17align = 'center', Node46_17fontSize = 13.3333*_ratio.ratioY,Node46_17width = 110*_ratio.ratioX, Node46_17height = 27*_ratio.ratioY;
- (function () {
- if (Node46_17align === 'left') {
- Node46_17textStart = Node46_17fontSize * 0.2 > 2 ? Node46_17fontSize * 0.2 - 4 : Node46_17fontSize * 0.2 - 9;
- Node46_17textWidth = Node46_17width;
- Node46_17lineStart = 1;
- } else if (Node46_17align === 'right') {
- Node46_17textStart = 0;
- Node46_17textWidth =Node46_17fontSize <= 8 ? Node46_17width + Node46_17fontSize * 0.2 + 6 : Node46_17width - Node46_17fontSize * 0.2;
- Node46_17lineStart = (Node46_17width - (ht.Default.getTextSize('-', 'bold '+ Node46_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node46_17align === 'center') {
- Node46_17textStart = -3;
- Node46_17textWidth = Node46_17width;
- Node46_17lineStart = Node46_17width - ht.Default.getTextSize('-', 'bold '+ Node46_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node46_17.setImage(GD.getTextJSON(Node46_17width, Node46_17height, true, false, false, 'bold '+ Node46_17fontSize + 'px "UniDreamLED"'))
- Node46_17.setPosition(1589*ratio.ratioX, 377*ratio.ratioY);
- Node46_17.setWidth(Node46_17width);
- Node46_17.setHeight(Node46_17height);
- Node46_17._nodeType = 'text';
- Node46_17._disallowEvert = true;
- Node46_17.setRotation(0*Math.PI/180);
- Node46_17.a('node.width', Node46_17width);
- Node46_17.a('node.height', Node46_17height);
- Node46_17.a('node.rect', [0, 0, Node46_17width, Node46_17height]);
- Node46_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node46_17.a('node.borderwidth', 0);
- Node46_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node46_17.a('node.gradient','');
- Node46_17.a('node.gradientcolor','');
- Node46_17.a('node.text','-');
- Node46_17.a('node.textalign','center');
- Node46_17.a('node.textvAlign','middle');
- Node46_17.a('node.textrect', [Node46_17textStart, 0, Node46_17textWidth, Node46_17height]);
- Node46_17.a('node.color','rgba(0,0,0,1)');
- Node46_17.a('node.font','bold '+ Node46_17fontSize + 'px "UniDreamLED"');
- Node46_17.a('node.textvisible',true);
- Node46_17.a('node.linefeed',false);
- if (false) {
- Node46_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46_17.a('node.text') || '-';
- var color=Node46_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46_17width,Node46_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node46_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node46_17.a('node.underlinepoints',[Node46_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node46_17fontSize + 'px "UniDreamLED"').width + 6, (Node46_17height - Node46_17fontSize) * 0.5*_ratio.ratioY + Node46_17fontSize + 2 ]);
- Node46_17.a('node.underlinevisible',false);
- Node46_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46_17);
- zoomNodeList.push({
- node: Node46_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node47_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node47_0 = new ht.Node();
- Node47_0.setPosition(1589*ratio.ratioX, 237*ratio.ratioY);
- Node47_0.setSize(127*ratioX, 313*ratioY);
- Node47_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node47_0.setRotation(0*Math.PI/180);
- Node47_0._zoomBy = 'Default';
- Node47_0._nodeType = 'image';
- Node47_0._disallowEvert = true;
- dataModel.add(Node47_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47_1 = new ht.Node();
- var Node47_1textStart, Node47_1textWidth, Node47_1lineStart, Node47_1align = 'center', Node47_1fontSize = 13.3333*_ratio.ratioY,Node47_1width = 105*_ratio.ratioX, Node47_1height = 27*_ratio.ratioY;
- (function () {
- if (Node47_1align === 'left') {
- Node47_1textStart = Node47_1fontSize * 0.2 > 2 ? Node47_1fontSize * 0.2 - 4 : Node47_1fontSize * 0.2 - 9;
- Node47_1textWidth = Node47_1width;
- Node47_1lineStart = 1;
- } else if (Node47_1align === 'right') {
- Node47_1textStart = 0;
- Node47_1textWidth =Node47_1fontSize <= 8 ? Node47_1width + Node47_1fontSize * 0.2 + 6 : Node47_1width - Node47_1fontSize * 0.2;
- Node47_1lineStart = (Node47_1width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node47_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node47_1align === 'center') {
- Node47_1textStart = -3;
- Node47_1textWidth = Node47_1width;
- Node47_1lineStart = Node47_1width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node47_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node47_1.setImage(GD.getTextJSON(Node47_1width, Node47_1height, true, false, false, 'bold '+ Node47_1fontSize + 'px "Arial"'))
- Node47_1.setPosition(1584*ratio.ratioX, 102*ratio.ratioY);
- Node47_1.setWidth(Node47_1width);
- Node47_1.setHeight(Node47_1height);
- Node47_1._nodeType = 'text';
- Node47_1._disallowEvert = true;
- Node47_1.setRotation(0*Math.PI/180);
- Node47_1.a('node.width', Node47_1width);
- Node47_1.a('node.height', Node47_1height);
- Node47_1.a('node.rect', [0, 0, Node47_1width, Node47_1height]);
- Node47_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node47_1.a('node.borderwidth', 0);
- Node47_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node47_1.a('node.gradient','');
- Node47_1.a('node.gradientcolor','');
- Node47_1.a('node.text','限电损失电量');
- Node47_1.a('node.textalign','center');
- Node47_1.a('node.textvAlign','middle');
- Node47_1.a('node.textrect', [Node47_1textStart, 0, Node47_1textWidth, Node47_1height]);
- Node47_1.a('node.color','rgba(255,255,255,1)');
- Node47_1.a('node.font','bold '+ Node47_1fontSize + 'px "Arial"');
- Node47_1.a('node.textvisible',true);
- Node47_1.a('node.linefeed',false);
- if (false) {
- Node47_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47_1.a('node.text') || '限电损失电量';
- var color=Node47_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47_1width,Node47_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node47_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node47_1.a('node.underlinepoints',[Node47_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node47_1fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node47_1fontSize + 'px "Arial"').width + 6, (Node47_1height - Node47_1fontSize) * 0.5*_ratio.ratioY + Node47_1fontSize + 2 ]);
- Node47_1.a('node.underlinevisible',false);
- Node47_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47_1);
- zoomNodeList.push({
- node: Node47_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_0type = 'rect';
- var Node48_0 = new ht.Node(),
- Node48_0BorderWidth = 0*2;
- if (Node48_0type === 'arc') {
- Node48_0BorderWidth *= 0;
- }
- Node48_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_0.setPosition(1716*ratio.ratioX, 190*ratio.ratioY);
- Node48_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_0.a('node.width', 127*_ratio.ratioX);
- Node48_0.a('node.height', 32*_ratio.ratioY);
- Node48_0.a('node.type', Node48_0type);
- Node48_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_0.a('node.background', 'rgba(245,245,245,1)');
- Node48_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node48_0.a('node.gradient', '');
- Node48_0.a('node.borderwidth', Node48_0BorderWidth);
- Node48_0.a('node.color', 'rgba(192,192,192,0)');
- Node48_0.a('node.fillrect', [0,0,0,0]);
- Node48_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_0.a('node.fillgradient', '');
- if (Node48_0type !== 'rect') {
- Node48_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_0type === 'arc') {
- Node48_0.a('node.arcOval', true);
- }
- Node48_0.setRotation(0*Math.PI/180);
- Node48_0.borderWidth = Node48_0BorderWidth;
- Node48_0.borderFillwidth = Node48_0BorderWidth;
- dataModel.add(Node48_0);
- Node48_0._nodename = 'Node48_0'
- Node48_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_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);
- }
- })(Node48_0, Node48_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_1type = 'rect';
- var Node48_1 = new ht.Node(),
- Node48_1BorderWidth = 0*2;
- if (Node48_1type === 'arc') {
- Node48_1BorderWidth *= 0;
- }
- Node48_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_1.setPosition(1716*ratio.ratioX, 222*ratio.ratioY);
- Node48_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_1.a('node.width', 127*_ratio.ratioX);
- Node48_1.a('node.height', 32*_ratio.ratioY);
- Node48_1.a('node.type', Node48_1type);
- Node48_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node48_1.a('node.gradientcolor', '');
- Node48_1.a('node.gradient', '');
- Node48_1.a('node.borderwidth', Node48_1BorderWidth);
- Node48_1.a('node.color', 'rgba(192,192,192,0)');
- Node48_1.a('node.fillrect', [0,0,0,0]);
- Node48_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_1.a('node.fillgradient', '');
- if (Node48_1type !== 'rect') {
- Node48_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_1type === 'arc') {
- Node48_1.a('node.arcOval', true);
- }
- Node48_1.setRotation(0*Math.PI/180);
- Node48_1.borderWidth = Node48_1BorderWidth;
- Node48_1.borderFillwidth = Node48_1BorderWidth;
- dataModel.add(Node48_1);
- Node48_1._nodename = 'Node48_1'
- Node48_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_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);
- }
- })(Node48_1, Node48_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_2type = 'rect';
- var Node48_2 = new ht.Node(),
- Node48_2BorderWidth = 0*2;
- if (Node48_2type === 'arc') {
- Node48_2BorderWidth *= 0;
- }
- Node48_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_2.setPosition(1716*ratio.ratioX, 254*ratio.ratioY);
- Node48_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_2.a('node.width', 127*_ratio.ratioX);
- Node48_2.a('node.height', 32*_ratio.ratioY);
- Node48_2.a('node.type', Node48_2type);
- Node48_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_2.a('node.background', 'rgba(245,245,245,1)');
- Node48_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node48_2.a('node.gradient', '');
- Node48_2.a('node.borderwidth', Node48_2BorderWidth);
- Node48_2.a('node.color', 'rgba(192,192,192,0)');
- Node48_2.a('node.fillrect', [0,0,0,0]);
- Node48_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_2.a('node.fillgradient', '');
- if (Node48_2type !== 'rect') {
- Node48_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_2type === 'arc') {
- Node48_2.a('node.arcOval', true);
- }
- Node48_2.setRotation(0*Math.PI/180);
- Node48_2.borderWidth = Node48_2BorderWidth;
- Node48_2.borderFillwidth = Node48_2BorderWidth;
- dataModel.add(Node48_2);
- Node48_2._nodename = 'Node48_2'
- Node48_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node48_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_3type = 'rect';
- var Node48_3 = new ht.Node(),
- Node48_3BorderWidth = 0*2;
- if (Node48_3type === 'arc') {
- Node48_3BorderWidth *= 0;
- }
- Node48_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_3.setPosition(1716*ratio.ratioX, 285*ratio.ratioY);
- Node48_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_3.a('node.width', 127*_ratio.ratioX);
- Node48_3.a('node.height', 32*_ratio.ratioY);
- Node48_3.a('node.type', Node48_3type);
- Node48_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node48_3.a('node.gradientcolor', '');
- Node48_3.a('node.gradient', '');
- Node48_3.a('node.borderwidth', Node48_3BorderWidth);
- Node48_3.a('node.color', 'rgba(192,192,192,0)');
- Node48_3.a('node.fillrect', [0,0,0,0]);
- Node48_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_3.a('node.fillgradient', '');
- if (Node48_3type !== 'rect') {
- Node48_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_3type === 'arc') {
- Node48_3.a('node.arcOval', true);
- }
- Node48_3.setRotation(0*Math.PI/180);
- Node48_3.borderWidth = Node48_3BorderWidth;
- Node48_3.borderFillwidth = Node48_3BorderWidth;
- dataModel.add(Node48_3);
- Node48_3._nodename = 'Node48_3'
- Node48_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node48_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_4type = 'rect';
- var Node48_4 = new ht.Node(),
- Node48_4BorderWidth = 0*2;
- if (Node48_4type === 'arc') {
- Node48_4BorderWidth *= 0;
- }
- Node48_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_4.setPosition(1716*ratio.ratioX, 316*ratio.ratioY);
- Node48_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_4.a('node.width', 127*_ratio.ratioX);
- Node48_4.a('node.height', 32*_ratio.ratioY);
- Node48_4.a('node.type', Node48_4type);
- Node48_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_4.a('node.background', 'rgba(245,245,245,1)');
- Node48_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node48_4.a('node.gradient', '');
- Node48_4.a('node.borderwidth', Node48_4BorderWidth);
- Node48_4.a('node.color', 'rgba(192,192,192,0)');
- Node48_4.a('node.fillrect', [0,0,0,0]);
- Node48_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_4.a('node.fillgradient', '');
- if (Node48_4type !== 'rect') {
- Node48_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_4type === 'arc') {
- Node48_4.a('node.arcOval', true);
- }
- Node48_4.setRotation(0*Math.PI/180);
- Node48_4.borderWidth = Node48_4BorderWidth;
- Node48_4.borderFillwidth = Node48_4BorderWidth;
- dataModel.add(Node48_4);
- Node48_4._nodename = 'Node48_4'
- Node48_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node48_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_5type = 'rect';
- var Node48_5 = new ht.Node(),
- Node48_5BorderWidth = 0*2;
- if (Node48_5type === 'arc') {
- Node48_5BorderWidth *= 0;
- }
- Node48_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_5.setPosition(1716*ratio.ratioX, 347*ratio.ratioY);
- Node48_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_5.a('node.width', 127*_ratio.ratioX);
- Node48_5.a('node.height', 32*_ratio.ratioY);
- Node48_5.a('node.type', Node48_5type);
- Node48_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node48_5.a('node.gradientcolor', '');
- Node48_5.a('node.gradient', '');
- Node48_5.a('node.borderwidth', Node48_5BorderWidth);
- Node48_5.a('node.color', 'rgba(192,192,192,0)');
- Node48_5.a('node.fillrect', [0,0,0,0]);
- Node48_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_5.a('node.fillgradient', '');
- if (Node48_5type !== 'rect') {
- Node48_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_5type === 'arc') {
- Node48_5.a('node.arcOval', true);
- }
- Node48_5.setRotation(0*Math.PI/180);
- Node48_5.borderWidth = Node48_5BorderWidth;
- Node48_5.borderFillwidth = Node48_5BorderWidth;
- dataModel.add(Node48_5);
- Node48_5._nodename = 'Node48_5'
- Node48_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node48_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_6type = 'rect';
- var Node48_6 = new ht.Node(),
- Node48_6BorderWidth = 0*2;
- if (Node48_6type === 'arc') {
- Node48_6BorderWidth *= 0;
- }
- Node48_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node48_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_6.setPosition(1716*ratio.ratioX, 378*ratio.ratioY);
- Node48_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node48_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_6.a('node.width', 127*_ratio.ratioX);
- Node48_6.a('node.height', 32*_ratio.ratioY);
- Node48_6.a('node.type', Node48_6type);
- Node48_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node48_6.a('node.background', 'rgba(245,245,245,1)');
- Node48_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node48_6.a('node.gradient', '');
- Node48_6.a('node.borderwidth', Node48_6BorderWidth);
- Node48_6.a('node.color', 'rgba(192,192,192,0)');
- Node48_6.a('node.fillrect', [0,0,0,0]);
- Node48_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_6.a('node.fillgradient', '');
- if (Node48_6type !== 'rect') {
- Node48_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_6type === 'arc') {
- Node48_6.a('node.arcOval', true);
- }
- Node48_6.setRotation(0*Math.PI/180);
- Node48_6.borderWidth = Node48_6BorderWidth;
- Node48_6.borderFillwidth = Node48_6BorderWidth;
- dataModel.add(Node48_6);
- Node48_6._nodename = 'Node48_6'
- Node48_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node48_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_7type = 'rect';
- var Node48_7 = new ht.Node(),
- Node48_7BorderWidth = 1*2;
- if (Node48_7type === 'arc') {
- Node48_7BorderWidth *= 1;
- }
- Node48_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node48_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node48_7.setPosition(1716*ratio.ratioX, 239*ratio.ratioY);
- Node48_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node48_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node48_7.a('node.width', 127*_ratio.ratioX);
- Node48_7.a('node.height', 309*_ratio.ratioY);
- Node48_7.a('node.type', Node48_7type);
- Node48_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node48_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node48_7.a('node.gradientcolor', '');
- Node48_7.a('node.gradient', '');
- Node48_7.a('node.borderwidth', Node48_7BorderWidth);
- Node48_7.a('node.color', 'rgba(192,192,192,1)');
- Node48_7.a('node.fillrect', [0,0,0,0]);
- Node48_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node48_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node48_7.a('node.fillgradient', '');
- if (Node48_7type !== 'rect') {
- Node48_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node48_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node48_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node48_7type === 'arc') {
- Node48_7.a('node.arcOval', true);
- }
- Node48_7.setRotation(0*Math.PI/180);
- Node48_7.borderWidth = Node48_7BorderWidth;
- Node48_7.borderFillwidth = Node48_7BorderWidth;
- dataModel.add(Node48_7);
- Node48_7._nodename = 'Node48_7'
- Node48_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node48_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);
- }
- })(Node48_7, Node48_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_8 = new ht.Node();
- var Node48_8textStart, Node48_8textWidth, Node48_8lineStart, Node48_8align = 'center', Node48_8fontSize = 13.3333*_ratio.ratioY,Node48_8width = 105*_ratio.ratioX, Node48_8height = 27*_ratio.ratioY;
- (function () {
- if (Node48_8align === 'left') {
- Node48_8textStart = Node48_8fontSize * 0.2 > 2 ? Node48_8fontSize * 0.2 - 4 : Node48_8fontSize * 0.2 - 9;
- Node48_8textWidth = Node48_8width;
- Node48_8lineStart = 1;
- } else if (Node48_8align === 'right') {
- Node48_8textStart = 0;
- Node48_8textWidth =Node48_8fontSize <= 8 ? Node48_8width + Node48_8fontSize * 0.2 + 6 : Node48_8width - Node48_8fontSize * 0.2;
- Node48_8lineStart = (Node48_8width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node48_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node48_8align === 'center') {
- Node48_8textStart = -3;
- Node48_8textWidth = Node48_8width;
- Node48_8lineStart = Node48_8width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node48_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node48_8.setImage(GD.getTextJSON(Node48_8width, Node48_8height, true, false, false, 'bold '+ Node48_8fontSize + 'px "Arial"'))
- Node48_8.setPosition(1713*ratio.ratioX, 103*ratio.ratioY);
- Node48_8.setWidth(Node48_8width);
- Node48_8.setHeight(Node48_8height);
- Node48_8._nodeType = 'text';
- Node48_8._disallowEvert = true;
- Node48_8.setRotation(0*Math.PI/180);
- Node48_8.a('node.width', Node48_8width);
- Node48_8.a('node.height', Node48_8height);
- Node48_8.a('node.rect', [0, 0, Node48_8width, Node48_8height]);
- Node48_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node48_8.a('node.borderwidth', 0);
- Node48_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_8.a('node.gradient','');
- Node48_8.a('node.gradientcolor','');
- Node48_8.a('node.text','受累损失电量');
- Node48_8.a('node.textalign','center');
- Node48_8.a('node.textvAlign','middle');
- Node48_8.a('node.textrect', [Node48_8textStart, 0, Node48_8textWidth, Node48_8height]);
- Node48_8.a('node.color','rgba(255,255,255,1)');
- Node48_8.a('node.font','bold '+ Node48_8fontSize + 'px "Arial"');
- Node48_8.a('node.textvisible',true);
- Node48_8.a('node.linefeed',false);
- if (false) {
- Node48_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_8.a('node.text') || '受累损失电量';
- var color=Node48_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_8width,Node48_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node48_8.a('node.underlinepoints',[Node48_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_8fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node48_8fontSize + 'px "Arial"').width + 6, (Node48_8height - Node48_8fontSize) * 0.5*_ratio.ratioY + Node48_8fontSize + 2 ]);
- Node48_8.a('node.underlinevisible',false);
- Node48_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_8);
- zoomNodeList.push({
- node: Node48_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_9 = new ht.Node();
- var Node48_9textStart, Node48_9textWidth, Node48_9lineStart, Node48_9align = 'center', Node48_9fontSize = 11.99997*_ratio.ratioY,Node48_9width = 105*_ratio.ratioX, Node48_9height = 17*_ratio.ratioY;
- (function () {
- if (Node48_9align === 'left') {
- Node48_9textStart = Node48_9fontSize * 0.2 > 2 ? Node48_9fontSize * 0.2 - 4 : Node48_9fontSize * 0.2 - 9;
- Node48_9textWidth = Node48_9width;
- Node48_9lineStart = 1;
- } else if (Node48_9align === 'right') {
- Node48_9textStart = 0;
- Node48_9textWidth =Node48_9fontSize <= 8 ? Node48_9width + Node48_9fontSize * 0.2 + 6 : Node48_9width - Node48_9fontSize * 0.2;
- Node48_9lineStart = (Node48_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node48_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node48_9align === 'center') {
- Node48_9textStart = -3;
- Node48_9textWidth = Node48_9width;
- Node48_9lineStart = Node48_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node48_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node48_9.setImage(GD.getTextJSON(Node48_9width, Node48_9height, true, false, false, 'bold '+ Node48_9fontSize + 'px "Arial"'))
- Node48_9.setPosition(1713*ratio.ratioX, 131*ratio.ratioY);
- Node48_9.setWidth(Node48_9width);
- Node48_9.setHeight(Node48_9height);
- Node48_9._nodeType = 'text';
- Node48_9._disallowEvert = true;
- Node48_9.setRotation(0*Math.PI/180);
- Node48_9.a('node.width', Node48_9width);
- Node48_9.a('node.height', Node48_9height);
- Node48_9.a('node.rect', [0, 0, Node48_9width, Node48_9height]);
- Node48_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node48_9.a('node.borderwidth', 0);
- Node48_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_9.a('node.gradient','');
- Node48_9.a('node.gradientcolor','');
- Node48_9.a('node.text','万kwh');
- Node48_9.a('node.textalign','center');
- Node48_9.a('node.textvAlign','middle');
- Node48_9.a('node.textrect', [Node48_9textStart, 0, Node48_9textWidth, Node48_9height]);
- Node48_9.a('node.color','rgba(128,128,128,1)');
- Node48_9.a('node.font','bold '+ Node48_9fontSize + 'px "Arial"');
- Node48_9.a('node.textvisible',true);
- Node48_9.a('node.linefeed',false);
- if (false) {
- Node48_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_9.a('node.text') || '万kwh';
- var color=Node48_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node48_9width,Node48_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node48_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node48_9.a('node.underlinepoints',[Node48_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node48_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node48_9fontSize + 'px "Arial"').width + 6, (Node48_9height - Node48_9fontSize) * 0.5*_ratio.ratioY + Node48_9fontSize + 2 ]);
- Node48_9.a('node.underlinevisible',false);
- Node48_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_9);
- zoomNodeList.push({
- node: Node48_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_10 = new ht.Node();
- var Node48_10textStart, Node48_10textWidth, Node48_10lineStart, Node48_10align = 'center', Node48_10fontSize = 13.3333*_ratio.ratioY,Node48_10width = 105*_ratio.ratioX, Node48_10height = 27*_ratio.ratioY;
- (function () {
- if (Node48_10align === 'left') {
- Node48_10textStart = Node48_10fontSize * 0.2 > 2 ? Node48_10fontSize * 0.2 - 4 : Node48_10fontSize * 0.2 - 9;
- Node48_10textWidth = Node48_10width;
- Node48_10lineStart = 1;
- } else if (Node48_10align === 'right') {
- Node48_10textStart = 0;
- Node48_10textWidth =Node48_10fontSize <= 8 ? Node48_10width + Node48_10fontSize * 0.2 + 6 : Node48_10width - Node48_10fontSize * 0.2;
- Node48_10lineStart = (Node48_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node48_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_10align === 'center') {
- Node48_10textStart = -3;
- Node48_10textWidth = Node48_10width;
- Node48_10lineStart = Node48_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node48_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_10.setImage(GD.getTextJSON(Node48_10width, Node48_10height, true, false, false, 'bold '+ Node48_10fontSize + 'px "UniDreamLED"'))
- Node48_10.setPosition(1713*ratio.ratioX, 158*ratio.ratioY);
- Node48_10.setWidth(Node48_10width);
- Node48_10.setHeight(Node48_10height);
- Node48_10._nodeType = 'text';
- Node48_10._disallowEvert = true;
- Node48_10.setRotation(0*Math.PI/180);
- Node48_10.a('node.width', Node48_10width);
- Node48_10.a('node.height', Node48_10height);
- Node48_10.a('node.rect', [0, 0, Node48_10width, Node48_10height]);
- Node48_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_10.a('node.borderwidth', 0);
- Node48_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_10.a('node.gradient','');
- Node48_10.a('node.gradientcolor','');
- Node48_10.a('node.text','1134.76');
- Node48_10.a('node.textalign','center');
- Node48_10.a('node.textvAlign','middle');
- Node48_10.a('node.textrect', [Node48_10textStart, 0, Node48_10textWidth, Node48_10height]);
- Node48_10.a('node.color','rgba(0,0,0,1)');
- Node48_10.a('node.font','bold '+ Node48_10fontSize + 'px "UniDreamLED"');
- Node48_10.a('node.textvisible',true);
- Node48_10.a('node.linefeed',false);
- if (false) {
- Node48_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_10.a('node.text') || '1134.76';
- var color=Node48_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_10width,Node48_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_10.a('node.underlinepoints',[Node48_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node48_10fontSize + 'px "UniDreamLED"').width + 6, (Node48_10height - Node48_10fontSize) * 0.5*_ratio.ratioY + Node48_10fontSize + 2 ]);
- Node48_10.a('node.underlinevisible',false);
- Node48_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_10);
- zoomNodeList.push({
- node: Node48_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_11 = new ht.Node();
- var Node48_11textStart, Node48_11textWidth, Node48_11lineStart, Node48_11align = 'center', Node48_11fontSize = 13.3333*_ratio.ratioY,Node48_11width = 110*_ratio.ratioX, Node48_11height = 27*_ratio.ratioY;
- (function () {
- if (Node48_11align === 'left') {
- Node48_11textStart = Node48_11fontSize * 0.2 > 2 ? Node48_11fontSize * 0.2 - 4 : Node48_11fontSize * 0.2 - 9;
- Node48_11textWidth = Node48_11width;
- Node48_11lineStart = 1;
- } else if (Node48_11align === 'right') {
- Node48_11textStart = 0;
- Node48_11textWidth =Node48_11fontSize <= 8 ? Node48_11width + Node48_11fontSize * 0.2 + 6 : Node48_11width - Node48_11fontSize * 0.2;
- Node48_11lineStart = (Node48_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node48_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_11align === 'center') {
- Node48_11textStart = -3;
- Node48_11textWidth = Node48_11width;
- Node48_11lineStart = Node48_11width - ht.Default.getTextSize('171.51', 'bold '+ Node48_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_11.setImage(GD.getTextJSON(Node48_11width, Node48_11height, true, false, false, 'bold '+ Node48_11fontSize + 'px "UniDreamLED"'))
- Node48_11.setPosition(1716*ratio.ratioX, 190*ratio.ratioY);
- Node48_11.setWidth(Node48_11width);
- Node48_11.setHeight(Node48_11height);
- Node48_11._nodeType = 'text';
- Node48_11._disallowEvert = true;
- Node48_11.setRotation(0*Math.PI/180);
- Node48_11.a('node.width', Node48_11width);
- Node48_11.a('node.height', Node48_11height);
- Node48_11.a('node.rect', [0, 0, Node48_11width, Node48_11height]);
- Node48_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_11.a('node.borderwidth', 0);
- Node48_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_11.a('node.gradient','');
- Node48_11.a('node.gradientcolor','');
- Node48_11.a('node.text','171.51');
- Node48_11.a('node.textalign','center');
- Node48_11.a('node.textvAlign','middle');
- Node48_11.a('node.textrect', [Node48_11textStart, 0, Node48_11textWidth, Node48_11height]);
- Node48_11.a('node.color','rgba(0,0,0,1)');
- Node48_11.a('node.font','bold '+ Node48_11fontSize + 'px "UniDreamLED"');
- Node48_11.a('node.textvisible',true);
- Node48_11.a('node.linefeed',false);
- if (false) {
- Node48_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_11.a('node.text') || '171.51';
- var color=Node48_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_11width,Node48_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_11.a('node.underlinepoints',[Node48_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node48_11fontSize + 'px "UniDreamLED"').width + 6, (Node48_11height - Node48_11fontSize) * 0.5*_ratio.ratioY + Node48_11fontSize + 2 ]);
- Node48_11.a('node.underlinevisible',false);
- Node48_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_11);
- zoomNodeList.push({
- node: Node48_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_12 = new ht.Node();
- var Node48_12textStart, Node48_12textWidth, Node48_12lineStart, Node48_12align = 'center', Node48_12fontSize = 13.3333*_ratio.ratioY,Node48_12width = 110*_ratio.ratioX, Node48_12height = 27*_ratio.ratioY;
- (function () {
- if (Node48_12align === 'left') {
- Node48_12textStart = Node48_12fontSize * 0.2 > 2 ? Node48_12fontSize * 0.2 - 4 : Node48_12fontSize * 0.2 - 9;
- Node48_12textWidth = Node48_12width;
- Node48_12lineStart = 1;
- } else if (Node48_12align === 'right') {
- Node48_12textStart = 0;
- Node48_12textWidth =Node48_12fontSize <= 8 ? Node48_12width + Node48_12fontSize * 0.2 + 6 : Node48_12width - Node48_12fontSize * 0.2;
- Node48_12lineStart = (Node48_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node48_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_12align === 'center') {
- Node48_12textStart = -3;
- Node48_12textWidth = Node48_12width;
- Node48_12lineStart = Node48_12width - ht.Default.getTextSize('329.51', 'bold '+ Node48_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_12.setImage(GD.getTextJSON(Node48_12width, Node48_12height, true, false, false, 'bold '+ Node48_12fontSize + 'px "UniDreamLED"'))
- Node48_12.setPosition(1716*ratio.ratioX, 220*ratio.ratioY);
- Node48_12.setWidth(Node48_12width);
- Node48_12.setHeight(Node48_12height);
- Node48_12._nodeType = 'text';
- Node48_12._disallowEvert = true;
- Node48_12.setRotation(0*Math.PI/180);
- Node48_12.a('node.width', Node48_12width);
- Node48_12.a('node.height', Node48_12height);
- Node48_12.a('node.rect', [0, 0, Node48_12width, Node48_12height]);
- Node48_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_12.a('node.borderwidth', 0);
- Node48_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_12.a('node.gradient','');
- Node48_12.a('node.gradientcolor','');
- Node48_12.a('node.text','329.51');
- Node48_12.a('node.textalign','center');
- Node48_12.a('node.textvAlign','middle');
- Node48_12.a('node.textrect', [Node48_12textStart, 0, Node48_12textWidth, Node48_12height]);
- Node48_12.a('node.color','rgba(0,0,0,1)');
- Node48_12.a('node.font','bold '+ Node48_12fontSize + 'px "UniDreamLED"');
- Node48_12.a('node.textvisible',true);
- Node48_12.a('node.linefeed',false);
- if (false) {
- Node48_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_12.a('node.text') || '329.51';
- var color=Node48_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_12width,Node48_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_12.a('node.underlinepoints',[Node48_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node48_12fontSize + 'px "UniDreamLED"').width + 6, (Node48_12height - Node48_12fontSize) * 0.5*_ratio.ratioY + Node48_12fontSize + 2 ]);
- Node48_12.a('node.underlinevisible',false);
- Node48_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_12);
- zoomNodeList.push({
- node: Node48_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_13 = new ht.Node();
- var Node48_13textStart, Node48_13textWidth, Node48_13lineStart, Node48_13align = 'center', Node48_13fontSize = 13.3333*_ratio.ratioY,Node48_13width = 110*_ratio.ratioX, Node48_13height = 27*_ratio.ratioY;
- (function () {
- if (Node48_13align === 'left') {
- Node48_13textStart = Node48_13fontSize * 0.2 > 2 ? Node48_13fontSize * 0.2 - 4 : Node48_13fontSize * 0.2 - 9;
- Node48_13textWidth = Node48_13width;
- Node48_13lineStart = 1;
- } else if (Node48_13align === 'right') {
- Node48_13textStart = 0;
- Node48_13textWidth =Node48_13fontSize <= 8 ? Node48_13width + Node48_13fontSize * 0.2 + 6 : Node48_13width - Node48_13fontSize * 0.2;
- Node48_13lineStart = (Node48_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node48_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_13align === 'center') {
- Node48_13textStart = -3;
- Node48_13textWidth = Node48_13width;
- Node48_13lineStart = Node48_13width - ht.Default.getTextSize('340.14', 'bold '+ Node48_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_13.setImage(GD.getTextJSON(Node48_13width, Node48_13height, true, false, false, 'bold '+ Node48_13fontSize + 'px "UniDreamLED"'))
- Node48_13.setPosition(1716*ratio.ratioX, 250*ratio.ratioY);
- Node48_13.setWidth(Node48_13width);
- Node48_13.setHeight(Node48_13height);
- Node48_13._nodeType = 'text';
- Node48_13._disallowEvert = true;
- Node48_13.setRotation(0*Math.PI/180);
- Node48_13.a('node.width', Node48_13width);
- Node48_13.a('node.height', Node48_13height);
- Node48_13.a('node.rect', [0, 0, Node48_13width, Node48_13height]);
- Node48_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_13.a('node.borderwidth', 0);
- Node48_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_13.a('node.gradient','');
- Node48_13.a('node.gradientcolor','');
- Node48_13.a('node.text','340.14');
- Node48_13.a('node.textalign','center');
- Node48_13.a('node.textvAlign','middle');
- Node48_13.a('node.textrect', [Node48_13textStart, 0, Node48_13textWidth, Node48_13height]);
- Node48_13.a('node.color','rgba(0,0,0,1)');
- Node48_13.a('node.font','bold '+ Node48_13fontSize + 'px "UniDreamLED"');
- Node48_13.a('node.textvisible',true);
- Node48_13.a('node.linefeed',false);
- if (false) {
- Node48_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_13.a('node.text') || '340.14';
- var color=Node48_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_13width,Node48_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_13.a('node.underlinepoints',[Node48_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node48_13fontSize + 'px "UniDreamLED"').width + 6, (Node48_13height - Node48_13fontSize) * 0.5*_ratio.ratioY + Node48_13fontSize + 2 ]);
- Node48_13.a('node.underlinevisible',false);
- Node48_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_13);
- zoomNodeList.push({
- node: Node48_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_14 = new ht.Node();
- var Node48_14textStart, Node48_14textWidth, Node48_14lineStart, Node48_14align = 'center', Node48_14fontSize = 13.3333*_ratio.ratioY,Node48_14width = 110*_ratio.ratioX, Node48_14height = 27*_ratio.ratioY;
- (function () {
- if (Node48_14align === 'left') {
- Node48_14textStart = Node48_14fontSize * 0.2 > 2 ? Node48_14fontSize * 0.2 - 4 : Node48_14fontSize * 0.2 - 9;
- Node48_14textWidth = Node48_14width;
- Node48_14lineStart = 1;
- } else if (Node48_14align === 'right') {
- Node48_14textStart = 0;
- Node48_14textWidth =Node48_14fontSize <= 8 ? Node48_14width + Node48_14fontSize * 0.2 + 6 : Node48_14width - Node48_14fontSize * 0.2;
- Node48_14lineStart = (Node48_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node48_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_14align === 'center') {
- Node48_14textStart = -3;
- Node48_14textWidth = Node48_14width;
- Node48_14lineStart = Node48_14width - ht.Default.getTextSize('60.61', 'bold '+ Node48_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_14.setImage(GD.getTextJSON(Node48_14width, Node48_14height, true, false, false, 'bold '+ Node48_14fontSize + 'px "UniDreamLED"'))
- Node48_14.setPosition(1716*ratio.ratioX, 284*ratio.ratioY);
- Node48_14.setWidth(Node48_14width);
- Node48_14.setHeight(Node48_14height);
- Node48_14._nodeType = 'text';
- Node48_14._disallowEvert = true;
- Node48_14.setRotation(0*Math.PI/180);
- Node48_14.a('node.width', Node48_14width);
- Node48_14.a('node.height', Node48_14height);
- Node48_14.a('node.rect', [0, 0, Node48_14width, Node48_14height]);
- Node48_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_14.a('node.borderwidth', 0);
- Node48_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_14.a('node.gradient','');
- Node48_14.a('node.gradientcolor','');
- Node48_14.a('node.text','60.61');
- Node48_14.a('node.textalign','center');
- Node48_14.a('node.textvAlign','middle');
- Node48_14.a('node.textrect', [Node48_14textStart, 0, Node48_14textWidth, Node48_14height]);
- Node48_14.a('node.color','rgba(0,0,0,1)');
- Node48_14.a('node.font','bold '+ Node48_14fontSize + 'px "UniDreamLED"');
- Node48_14.a('node.textvisible',true);
- Node48_14.a('node.linefeed',false);
- if (false) {
- Node48_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_14.a('node.text') || '60.61';
- var color=Node48_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_14width,Node48_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_14.a('node.underlinepoints',[Node48_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node48_14fontSize + 'px "UniDreamLED"').width + 6, (Node48_14height - Node48_14fontSize) * 0.5*_ratio.ratioY + Node48_14fontSize + 2 ]);
- Node48_14.a('node.underlinevisible',false);
- Node48_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_14);
- zoomNodeList.push({
- node: Node48_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_15 = new ht.Node();
- var Node48_15textStart, Node48_15textWidth, Node48_15lineStart, Node48_15align = 'center', Node48_15fontSize = 13.3333*_ratio.ratioY,Node48_15width = 110*_ratio.ratioX, Node48_15height = 27*_ratio.ratioY;
- (function () {
- if (Node48_15align === 'left') {
- Node48_15textStart = Node48_15fontSize * 0.2 > 2 ? Node48_15fontSize * 0.2 - 4 : Node48_15fontSize * 0.2 - 9;
- Node48_15textWidth = Node48_15width;
- Node48_15lineStart = 1;
- } else if (Node48_15align === 'right') {
- Node48_15textStart = 0;
- Node48_15textWidth =Node48_15fontSize <= 8 ? Node48_15width + Node48_15fontSize * 0.2 + 6 : Node48_15width - Node48_15fontSize * 0.2;
- Node48_15lineStart = (Node48_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node48_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_15align === 'center') {
- Node48_15textStart = -3;
- Node48_15textWidth = Node48_15width;
- Node48_15lineStart = Node48_15width - ht.Default.getTextSize('166.79', 'bold '+ Node48_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_15.setImage(GD.getTextJSON(Node48_15width, Node48_15height, true, false, false, 'bold '+ Node48_15fontSize + 'px "UniDreamLED"'))
- Node48_15.setPosition(1716*ratio.ratioX, 317*ratio.ratioY);
- Node48_15.setWidth(Node48_15width);
- Node48_15.setHeight(Node48_15height);
- Node48_15._nodeType = 'text';
- Node48_15._disallowEvert = true;
- Node48_15.setRotation(0*Math.PI/180);
- Node48_15.a('node.width', Node48_15width);
- Node48_15.a('node.height', Node48_15height);
- Node48_15.a('node.rect', [0, 0, Node48_15width, Node48_15height]);
- Node48_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_15.a('node.borderwidth', 0);
- Node48_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_15.a('node.gradient','');
- Node48_15.a('node.gradientcolor','');
- Node48_15.a('node.text','166.79');
- Node48_15.a('node.textalign','center');
- Node48_15.a('node.textvAlign','middle');
- Node48_15.a('node.textrect', [Node48_15textStart, 0, Node48_15textWidth, Node48_15height]);
- Node48_15.a('node.color','rgba(0,0,0,1)');
- Node48_15.a('node.font','bold '+ Node48_15fontSize + 'px "UniDreamLED"');
- Node48_15.a('node.textvisible',true);
- Node48_15.a('node.linefeed',false);
- if (false) {
- Node48_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_15.a('node.text') || '166.79';
- var color=Node48_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_15width,Node48_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_15.a('node.underlinepoints',[Node48_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node48_15fontSize + 'px "UniDreamLED"').width + 6, (Node48_15height - Node48_15fontSize) * 0.5*_ratio.ratioY + Node48_15fontSize + 2 ]);
- Node48_15.a('node.underlinevisible',false);
- Node48_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_15);
- zoomNodeList.push({
- node: Node48_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_16 = new ht.Node();
- var Node48_16textStart, Node48_16textWidth, Node48_16lineStart, Node48_16align = 'center', Node48_16fontSize = 13.3333*_ratio.ratioY,Node48_16width = 110*_ratio.ratioX, Node48_16height = 27*_ratio.ratioY;
- (function () {
- if (Node48_16align === 'left') {
- Node48_16textStart = Node48_16fontSize * 0.2 > 2 ? Node48_16fontSize * 0.2 - 4 : Node48_16fontSize * 0.2 - 9;
- Node48_16textWidth = Node48_16width;
- Node48_16lineStart = 1;
- } else if (Node48_16align === 'right') {
- Node48_16textStart = 0;
- Node48_16textWidth =Node48_16fontSize <= 8 ? Node48_16width + Node48_16fontSize * 0.2 + 6 : Node48_16width - Node48_16fontSize * 0.2;
- Node48_16lineStart = (Node48_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node48_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_16align === 'center') {
- Node48_16textStart = -3;
- Node48_16textWidth = Node48_16width;
- Node48_16lineStart = Node48_16width - ht.Default.getTextSize('66.18', 'bold '+ Node48_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_16.setImage(GD.getTextJSON(Node48_16width, Node48_16height, true, false, false, 'bold '+ Node48_16fontSize + 'px "UniDreamLED"'))
- Node48_16.setPosition(1716*ratio.ratioX, 346*ratio.ratioY);
- Node48_16.setWidth(Node48_16width);
- Node48_16.setHeight(Node48_16height);
- Node48_16._nodeType = 'text';
- Node48_16._disallowEvert = true;
- Node48_16.setRotation(0*Math.PI/180);
- Node48_16.a('node.width', Node48_16width);
- Node48_16.a('node.height', Node48_16height);
- Node48_16.a('node.rect', [0, 0, Node48_16width, Node48_16height]);
- Node48_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_16.a('node.borderwidth', 0);
- Node48_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_16.a('node.gradient','');
- Node48_16.a('node.gradientcolor','');
- Node48_16.a('node.text','66.18');
- Node48_16.a('node.textalign','center');
- Node48_16.a('node.textvAlign','middle');
- Node48_16.a('node.textrect', [Node48_16textStart, 0, Node48_16textWidth, Node48_16height]);
- Node48_16.a('node.color','rgba(0,0,0,1)');
- Node48_16.a('node.font','bold '+ Node48_16fontSize + 'px "UniDreamLED"');
- Node48_16.a('node.textvisible',true);
- Node48_16.a('node.linefeed',false);
- if (false) {
- Node48_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_16.a('node.text') || '66.18';
- var color=Node48_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_16width,Node48_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_16.a('node.underlinepoints',[Node48_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node48_16fontSize + 'px "UniDreamLED"').width + 6, (Node48_16height - Node48_16fontSize) * 0.5*_ratio.ratioY + Node48_16fontSize + 2 ]);
- Node48_16.a('node.underlinevisible',false);
- Node48_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_16);
- zoomNodeList.push({
- node: Node48_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48_17 = new ht.Node();
- var Node48_17textStart, Node48_17textWidth, Node48_17lineStart, Node48_17align = 'center', Node48_17fontSize = 13.3333*_ratio.ratioY,Node48_17width = 110*_ratio.ratioX, Node48_17height = 27*_ratio.ratioY;
- (function () {
- if (Node48_17align === 'left') {
- Node48_17textStart = Node48_17fontSize * 0.2 > 2 ? Node48_17fontSize * 0.2 - 4 : Node48_17fontSize * 0.2 - 9;
- Node48_17textWidth = Node48_17width;
- Node48_17lineStart = 1;
- } else if (Node48_17align === 'right') {
- Node48_17textStart = 0;
- Node48_17textWidth =Node48_17fontSize <= 8 ? Node48_17width + Node48_17fontSize * 0.2 + 6 : Node48_17width - Node48_17fontSize * 0.2;
- Node48_17lineStart = (Node48_17width - (ht.Default.getTextSize('-', 'bold '+ Node48_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node48_17align === 'center') {
- Node48_17textStart = -3;
- Node48_17textWidth = Node48_17width;
- Node48_17lineStart = Node48_17width - ht.Default.getTextSize('-', 'bold '+ Node48_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node48_17.setImage(GD.getTextJSON(Node48_17width, Node48_17height, true, false, false, 'bold '+ Node48_17fontSize + 'px "UniDreamLED"'))
- Node48_17.setPosition(1716*ratio.ratioX, 377*ratio.ratioY);
- Node48_17.setWidth(Node48_17width);
- Node48_17.setHeight(Node48_17height);
- Node48_17._nodeType = 'text';
- Node48_17._disallowEvert = true;
- Node48_17.setRotation(0*Math.PI/180);
- Node48_17.a('node.width', Node48_17width);
- Node48_17.a('node.height', Node48_17height);
- Node48_17.a('node.rect', [0, 0, Node48_17width, Node48_17height]);
- Node48_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node48_17.a('node.borderwidth', 0);
- Node48_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node48_17.a('node.gradient','');
- Node48_17.a('node.gradientcolor','');
- Node48_17.a('node.text','-');
- Node48_17.a('node.textalign','center');
- Node48_17.a('node.textvAlign','middle');
- Node48_17.a('node.textrect', [Node48_17textStart, 0, Node48_17textWidth, Node48_17height]);
- Node48_17.a('node.color','rgba(0,0,0,1)');
- Node48_17.a('node.font','bold '+ Node48_17fontSize + 'px "UniDreamLED"');
- Node48_17.a('node.textvisible',true);
- Node48_17.a('node.linefeed',false);
- if (false) {
- Node48_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48_17.a('node.text') || '-';
- var color=Node48_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48_17width,Node48_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node48_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node48_17.a('node.underlinepoints',[Node48_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node48_17fontSize + 'px "UniDreamLED"').width + 6, (Node48_17height - Node48_17fontSize) * 0.5*_ratio.ratioY + Node48_17fontSize + 2 ]);
- Node48_17.a('node.underlinevisible',false);
- Node48_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48_17);
- zoomNodeList.push({
- node: Node48_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node49_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node49_0 = new ht.Node();
- Node49_0.setPosition(1716*ratio.ratioX, 237*ratio.ratioY);
- Node49_0.setSize(127*ratioX, 313*ratioY);
- Node49_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node49_0.setRotation(0*Math.PI/180);
- Node49_0._zoomBy = 'Default';
- Node49_0._nodeType = 'image';
- Node49_0._disallowEvert = true;
- dataModel.add(Node49_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49_1 = new ht.Node();
- var Node49_1textStart, Node49_1textWidth, Node49_1lineStart, Node49_1align = 'center', Node49_1fontSize = 13.3333*_ratio.ratioY,Node49_1width = 105*_ratio.ratioX, Node49_1height = 27*_ratio.ratioY;
- (function () {
- if (Node49_1align === 'left') {
- Node49_1textStart = Node49_1fontSize * 0.2 > 2 ? Node49_1fontSize * 0.2 - 4 : Node49_1fontSize * 0.2 - 9;
- Node49_1textWidth = Node49_1width;
- Node49_1lineStart = 1;
- } else if (Node49_1align === 'right') {
- Node49_1textStart = 0;
- Node49_1textWidth =Node49_1fontSize <= 8 ? Node49_1width + Node49_1fontSize * 0.2 + 6 : Node49_1width - Node49_1fontSize * 0.2;
- Node49_1lineStart = (Node49_1width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node49_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node49_1align === 'center') {
- Node49_1textStart = -3;
- Node49_1textWidth = Node49_1width;
- Node49_1lineStart = Node49_1width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node49_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node49_1.setImage(GD.getTextJSON(Node49_1width, Node49_1height, true, false, false, 'bold '+ Node49_1fontSize + 'px "Arial"'))
- Node49_1.setPosition(1711*ratio.ratioX, 102*ratio.ratioY);
- Node49_1.setWidth(Node49_1width);
- Node49_1.setHeight(Node49_1height);
- Node49_1._nodeType = 'text';
- Node49_1._disallowEvert = true;
- Node49_1.setRotation(0*Math.PI/180);
- Node49_1.a('node.width', Node49_1width);
- Node49_1.a('node.height', Node49_1height);
- Node49_1.a('node.rect', [0, 0, Node49_1width, Node49_1height]);
- Node49_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node49_1.a('node.borderwidth', 0);
- Node49_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node49_1.a('node.gradient','');
- Node49_1.a('node.gradientcolor','');
- Node49_1.a('node.text','受累损失电量');
- Node49_1.a('node.textalign','center');
- Node49_1.a('node.textvAlign','middle');
- Node49_1.a('node.textrect', [Node49_1textStart, 0, Node49_1textWidth, Node49_1height]);
- Node49_1.a('node.color','rgba(255,255,255,1)');
- Node49_1.a('node.font','bold '+ Node49_1fontSize + 'px "Arial"');
- Node49_1.a('node.textvisible',true);
- Node49_1.a('node.linefeed',false);
- if (false) {
- Node49_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49_1.a('node.text') || '受累损失电量';
- var color=Node49_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49_1width,Node49_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node49_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node49_1.a('node.underlinepoints',[Node49_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node49_1fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node49_1fontSize + 'px "Arial"').width + 6, (Node49_1height - Node49_1fontSize) * 0.5*_ratio.ratioY + Node49_1fontSize + 2 ]);
- Node49_1.a('node.underlinevisible',false);
- Node49_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49_1);
- zoomNodeList.push({
- node: Node49_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_0type = 'rect';
- var Node50_0 = new ht.Node(),
- Node50_0BorderWidth = 0*2;
- if (Node50_0type === 'arc') {
- Node50_0BorderWidth *= 0;
- }
- Node50_0.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_0.setPosition(1838*ratio.ratioX, 189*ratio.ratioY);
- Node50_0.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_0.a('node.width', 117*_ratio.ratioX);
- Node50_0.a('node.height', 32*_ratio.ratioY);
- Node50_0.a('node.type', Node50_0type);
- Node50_0.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_0.a('node.background', 'rgba(245,245,245,1)');
- Node50_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node50_0.a('node.gradient', '');
- Node50_0.a('node.borderwidth', Node50_0BorderWidth);
- Node50_0.a('node.color', 'rgba(192,192,192,0)');
- Node50_0.a('node.fillrect', [0,0,0,0]);
- Node50_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_0.a('node.fillgradient', '');
- if (Node50_0type !== 'rect') {
- Node50_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_0type === 'arc') {
- Node50_0.a('node.arcOval', true);
- }
- Node50_0.setRotation(0*Math.PI/180);
- Node50_0.borderWidth = Node50_0BorderWidth;
- Node50_0.borderFillwidth = Node50_0BorderWidth;
- dataModel.add(Node50_0);
- Node50_0._nodename = 'Node50_0'
- Node50_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_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);
- }
- })(Node50_0, Node50_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_1type = 'rect';
- var Node50_1 = new ht.Node(),
- Node50_1BorderWidth = 0*2;
- if (Node50_1type === 'arc') {
- Node50_1BorderWidth *= 0;
- }
- Node50_1.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_1.setPosition(1838*ratio.ratioX, 221*ratio.ratioY);
- Node50_1.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_1.a('node.width', 117*_ratio.ratioX);
- Node50_1.a('node.height', 32*_ratio.ratioY);
- Node50_1.a('node.type', Node50_1type);
- Node50_1.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node50_1.a('node.gradientcolor', '');
- Node50_1.a('node.gradient', '');
- Node50_1.a('node.borderwidth', Node50_1BorderWidth);
- Node50_1.a('node.color', 'rgba(192,192,192,0)');
- Node50_1.a('node.fillrect', [0,0,0,0]);
- Node50_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_1.a('node.fillgradient', '');
- if (Node50_1type !== 'rect') {
- Node50_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_1type === 'arc') {
- Node50_1.a('node.arcOval', true);
- }
- Node50_1.setRotation(0*Math.PI/180);
- Node50_1.borderWidth = Node50_1BorderWidth;
- Node50_1.borderFillwidth = Node50_1BorderWidth;
- dataModel.add(Node50_1);
- Node50_1._nodename = 'Node50_1'
- Node50_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_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);
- }
- })(Node50_1, Node50_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_2type = 'rect';
- var Node50_2 = new ht.Node(),
- Node50_2BorderWidth = 0*2;
- if (Node50_2type === 'arc') {
- Node50_2BorderWidth *= 0;
- }
- Node50_2.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_2.setPosition(1838*ratio.ratioX, 253*ratio.ratioY);
- Node50_2.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_2.a('node.width', 117*_ratio.ratioX);
- Node50_2.a('node.height', 32*_ratio.ratioY);
- Node50_2.a('node.type', Node50_2type);
- Node50_2.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_2.a('node.background', 'rgba(245,245,245,1)');
- Node50_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node50_2.a('node.gradient', '');
- Node50_2.a('node.borderwidth', Node50_2BorderWidth);
- Node50_2.a('node.color', 'rgba(192,192,192,0)');
- Node50_2.a('node.fillrect', [0,0,0,0]);
- Node50_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_2.a('node.fillgradient', '');
- if (Node50_2type !== 'rect') {
- Node50_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_2type === 'arc') {
- Node50_2.a('node.arcOval', true);
- }
- Node50_2.setRotation(0*Math.PI/180);
- Node50_2.borderWidth = Node50_2BorderWidth;
- Node50_2.borderFillwidth = Node50_2BorderWidth;
- dataModel.add(Node50_2);
- Node50_2._nodename = 'Node50_2'
- Node50_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_2, Node50_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_3type = 'rect';
- var Node50_3 = new ht.Node(),
- Node50_3BorderWidth = 0*2;
- if (Node50_3type === 'arc') {
- Node50_3BorderWidth *= 0;
- }
- Node50_3.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_3.setPosition(1838*ratio.ratioX, 284*ratio.ratioY);
- Node50_3.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_3.a('node.width', 117*_ratio.ratioX);
- Node50_3.a('node.height', 32*_ratio.ratioY);
- Node50_3.a('node.type', Node50_3type);
- Node50_3.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node50_3.a('node.gradientcolor', '');
- Node50_3.a('node.gradient', '');
- Node50_3.a('node.borderwidth', Node50_3BorderWidth);
- Node50_3.a('node.color', 'rgba(192,192,192,0)');
- Node50_3.a('node.fillrect', [0,0,0,0]);
- Node50_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_3.a('node.fillgradient', '');
- if (Node50_3type !== 'rect') {
- Node50_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_3type === 'arc') {
- Node50_3.a('node.arcOval', true);
- }
- Node50_3.setRotation(0*Math.PI/180);
- Node50_3.borderWidth = Node50_3BorderWidth;
- Node50_3.borderFillwidth = Node50_3BorderWidth;
- dataModel.add(Node50_3);
- Node50_3._nodename = 'Node50_3'
- Node50_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_3, Node50_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_4type = 'rect';
- var Node50_4 = new ht.Node(),
- Node50_4BorderWidth = 0*2;
- if (Node50_4type === 'arc') {
- Node50_4BorderWidth *= 0;
- }
- Node50_4.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_4.setPosition(1838*ratio.ratioX, 315*ratio.ratioY);
- Node50_4.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_4.a('node.width', 117*_ratio.ratioX);
- Node50_4.a('node.height', 32*_ratio.ratioY);
- Node50_4.a('node.type', Node50_4type);
- Node50_4.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_4.a('node.background', 'rgba(245,245,245,1)');
- Node50_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node50_4.a('node.gradient', '');
- Node50_4.a('node.borderwidth', Node50_4BorderWidth);
- Node50_4.a('node.color', 'rgba(192,192,192,0)');
- Node50_4.a('node.fillrect', [0,0,0,0]);
- Node50_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_4.a('node.fillgradient', '');
- if (Node50_4type !== 'rect') {
- Node50_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_4type === 'arc') {
- Node50_4.a('node.arcOval', true);
- }
- Node50_4.setRotation(0*Math.PI/180);
- Node50_4.borderWidth = Node50_4BorderWidth;
- Node50_4.borderFillwidth = Node50_4BorderWidth;
- dataModel.add(Node50_4);
- Node50_4._nodename = 'Node50_4'
- Node50_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_4, Node50_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_5type = 'rect';
- var Node50_5 = new ht.Node(),
- Node50_5BorderWidth = 0*2;
- if (Node50_5type === 'arc') {
- Node50_5BorderWidth *= 0;
- }
- Node50_5.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_5.setPosition(1838*ratio.ratioX, 346*ratio.ratioY);
- Node50_5.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_5.a('node.width', 117*_ratio.ratioX);
- Node50_5.a('node.height', 32*_ratio.ratioY);
- Node50_5.a('node.type', Node50_5type);
- Node50_5.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node50_5.a('node.gradientcolor', '');
- Node50_5.a('node.gradient', '');
- Node50_5.a('node.borderwidth', Node50_5BorderWidth);
- Node50_5.a('node.color', 'rgba(192,192,192,0)');
- Node50_5.a('node.fillrect', [0,0,0,0]);
- Node50_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_5.a('node.fillgradient', '');
- if (Node50_5type !== 'rect') {
- Node50_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_5type === 'arc') {
- Node50_5.a('node.arcOval', true);
- }
- Node50_5.setRotation(0*Math.PI/180);
- Node50_5.borderWidth = Node50_5BorderWidth;
- Node50_5.borderFillwidth = Node50_5BorderWidth;
- dataModel.add(Node50_5);
- Node50_5._nodename = 'Node50_5'
- Node50_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_5, Node50_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_6type = 'rect';
- var Node50_6 = new ht.Node(),
- Node50_6BorderWidth = 0*2;
- if (Node50_6type === 'arc') {
- Node50_6BorderWidth *= 0;
- }
- Node50_6.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node50_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_6.setPosition(1838*ratio.ratioX, 377*ratio.ratioY);
- Node50_6.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node50_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_6.a('node.width', 117*_ratio.ratioX);
- Node50_6.a('node.height', 32*_ratio.ratioY);
- Node50_6.a('node.type', Node50_6type);
- Node50_6.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node50_6.a('node.background', 'rgba(245,245,245,1)');
- Node50_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node50_6.a('node.gradient', '');
- Node50_6.a('node.borderwidth', Node50_6BorderWidth);
- Node50_6.a('node.color', 'rgba(192,192,192,0)');
- Node50_6.a('node.fillrect', [0,0,0,0]);
- Node50_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_6.a('node.fillgradient', '');
- if (Node50_6type !== 'rect') {
- Node50_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_6type === 'arc') {
- Node50_6.a('node.arcOval', true);
- }
- Node50_6.setRotation(0*Math.PI/180);
- Node50_6.borderWidth = Node50_6BorderWidth;
- Node50_6.borderFillwidth = Node50_6BorderWidth;
- dataModel.add(Node50_6);
- Node50_6._nodename = 'Node50_6'
- Node50_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === 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_6, Node50_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_7type = 'rect';
- var Node50_7 = new ht.Node(),
- Node50_7BorderWidth = 1*2;
- if (Node50_7type === 'arc') {
- Node50_7BorderWidth *= 1;
- }
- Node50_7.setImage(GD.getRectJSON(117*_ratio.ratioX, 309*_ratio.ratioY, Node50_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node50_7.setPosition(1838*ratio.ratioX, 238*ratio.ratioY);
- Node50_7.setSize(117*_ratio.ratioX, 309*_ratio.ratioY);
- Node50_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node50_7.a('node.width', 117*_ratio.ratioX);
- Node50_7.a('node.height', 309*_ratio.ratioY);
- Node50_7.a('node.type', Node50_7type);
- Node50_7.a('node.rect', [0, 0, 117*_ratio.ratioX, 309*_ratio.ratioY]);
- Node50_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node50_7.a('node.gradientcolor', '');
- Node50_7.a('node.gradient', '');
- Node50_7.a('node.borderwidth', Node50_7BorderWidth);
- Node50_7.a('node.color', 'rgba(192,192,192,1)');
- Node50_7.a('node.fillrect', [0,0,0,0]);
- Node50_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node50_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node50_7.a('node.fillgradient', '');
- if (Node50_7type !== 'rect') {
- Node50_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node50_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node50_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node50_7type === 'arc') {
- Node50_7.a('node.arcOval', true);
- }
- Node50_7.setRotation(0*Math.PI/180);
- Node50_7.borderWidth = Node50_7BorderWidth;
- Node50_7.borderFillwidth = Node50_7BorderWidth;
- dataModel.add(Node50_7);
- Node50_7._nodename = 'Node50_7'
- Node50_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node50_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);
- }
- })(Node50_7, Node50_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_8 = new ht.Node();
- var Node50_8textStart, Node50_8textWidth, Node50_8lineStart, Node50_8align = 'center', Node50_8fontSize = 11.99997*_ratio.ratioY,Node50_8width = 97*_ratio.ratioX, Node50_8height = 27*_ratio.ratioY;
- (function () {
- if (Node50_8align === 'left') {
- Node50_8textStart = Node50_8fontSize * 0.2 > 2 ? Node50_8fontSize * 0.2 - 4 : Node50_8fontSize * 0.2 - 9;
- Node50_8textWidth = Node50_8width;
- Node50_8lineStart = 1;
- } else if (Node50_8align === 'right') {
- Node50_8textStart = 0;
- Node50_8textWidth =Node50_8fontSize <= 8 ? Node50_8width + Node50_8fontSize * 0.2 + 6 : Node50_8width - Node50_8fontSize * 0.2;
- Node50_8lineStart = (Node50_8width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node50_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50_8align === 'center') {
- Node50_8textStart = -3;
- Node50_8textWidth = Node50_8width;
- Node50_8lineStart = Node50_8width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node50_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50_8.setImage(GD.getTextJSON(Node50_8width, Node50_8height, true, false, false, 'bold '+ Node50_8fontSize + 'px "Arial"'))
- Node50_8.setPosition(1836*ratio.ratioX, 102*ratio.ratioY);
- Node50_8.setWidth(Node50_8width);
- Node50_8.setHeight(Node50_8height);
- Node50_8._nodeType = 'text';
- Node50_8._disallowEvert = true;
- Node50_8.setRotation(0*Math.PI/180);
- Node50_8.a('node.width', Node50_8width);
- Node50_8.a('node.height', Node50_8height);
- Node50_8.a('node.rect', [0, 0, Node50_8width, Node50_8height]);
- Node50_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node50_8.a('node.borderwidth', 0);
- Node50_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_8.a('node.gradient','');
- Node50_8.a('node.gradientcolor','');
- Node50_8.a('node.text','性能损失电量');
- Node50_8.a('node.textalign','center');
- Node50_8.a('node.textvAlign','middle');
- Node50_8.a('node.textrect', [Node50_8textStart, 0, Node50_8textWidth, Node50_8height]);
- Node50_8.a('node.color','rgba(255,255,255,1)');
- Node50_8.a('node.font','bold '+ Node50_8fontSize + 'px "Arial"');
- Node50_8.a('node.textvisible',true);
- Node50_8.a('node.linefeed',false);
- if (false) {
- Node50_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_8.a('node.text') || '性能损失电量';
- var color=Node50_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_8width,Node50_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50_8.a('node.underlinepoints',[Node50_8lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_8fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node50_8fontSize + 'px "Arial"').width + 6, (Node50_8height - Node50_8fontSize) * 0.5*_ratio.ratioY + Node50_8fontSize + 2 ]);
- Node50_8.a('node.underlinevisible',false);
- Node50_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_8);
- zoomNodeList.push({
- node: Node50_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_9 = new ht.Node();
- var Node50_9textStart, Node50_9textWidth, Node50_9lineStart, Node50_9align = 'center', Node50_9fontSize = 10.66664*_ratio.ratioY,Node50_9width = 97*_ratio.ratioX, Node50_9height = 17*_ratio.ratioY;
- (function () {
- if (Node50_9align === 'left') {
- Node50_9textStart = Node50_9fontSize * 0.2 > 2 ? Node50_9fontSize * 0.2 - 4 : Node50_9fontSize * 0.2 - 9;
- Node50_9textWidth = Node50_9width;
- Node50_9lineStart = 1;
- } else if (Node50_9align === 'right') {
- Node50_9textStart = 0;
- Node50_9textWidth =Node50_9fontSize <= 8 ? Node50_9width + Node50_9fontSize * 0.2 + 6 : Node50_9width - Node50_9fontSize * 0.2;
- Node50_9lineStart = (Node50_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node50_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50_9align === 'center') {
- Node50_9textStart = -3;
- Node50_9textWidth = Node50_9width;
- Node50_9lineStart = Node50_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node50_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50_9.setImage(GD.getTextJSON(Node50_9width, Node50_9height, true, false, false, 'bold '+ Node50_9fontSize + 'px "Arial"'))
- Node50_9.setPosition(1836*ratio.ratioX, 130*ratio.ratioY);
- Node50_9.setWidth(Node50_9width);
- Node50_9.setHeight(Node50_9height);
- Node50_9._nodeType = 'text';
- Node50_9._disallowEvert = true;
- Node50_9.setRotation(0*Math.PI/180);
- Node50_9.a('node.width', Node50_9width);
- Node50_9.a('node.height', Node50_9height);
- Node50_9.a('node.rect', [0, 0, Node50_9width, Node50_9height]);
- Node50_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node50_9.a('node.borderwidth', 0);
- Node50_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_9.a('node.gradient','');
- Node50_9.a('node.gradientcolor','');
- Node50_9.a('node.text','万kwh');
- Node50_9.a('node.textalign','center');
- Node50_9.a('node.textvAlign','middle');
- Node50_9.a('node.textrect', [Node50_9textStart, 0, Node50_9textWidth, Node50_9height]);
- Node50_9.a('node.color','rgba(128,128,128,1)');
- Node50_9.a('node.font','bold '+ Node50_9fontSize + 'px "Arial"');
- Node50_9.a('node.textvisible',true);
- Node50_9.a('node.linefeed',false);
- if (false) {
- Node50_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_9.a('node.text') || '万kwh';
- var color=Node50_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node50_9width,Node50_9height,10.66664*_ratio.ratioY,"center",color,'bold '+ Node50_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50_9.a('node.underlinepoints',[Node50_9lineStart, (17 - 10.66664) * 0.5 * _ratio.ratioY + Node50_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node50_9fontSize + 'px "Arial"').width + 6, (Node50_9height - Node50_9fontSize) * 0.5*_ratio.ratioY + Node50_9fontSize + 2 ]);
- Node50_9.a('node.underlinevisible',false);
- Node50_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_9);
- zoomNodeList.push({
- node: Node50_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_10 = new ht.Node();
- var Node50_10textStart, Node50_10textWidth, Node50_10lineStart, Node50_10align = 'center', Node50_10fontSize = 11.99997*_ratio.ratioY,Node50_10width = 97*_ratio.ratioX, Node50_10height = 27*_ratio.ratioY;
- (function () {
- if (Node50_10align === 'left') {
- Node50_10textStart = Node50_10fontSize * 0.2 > 2 ? Node50_10fontSize * 0.2 - 4 : Node50_10fontSize * 0.2 - 9;
- Node50_10textWidth = Node50_10width;
- Node50_10lineStart = 1;
- } else if (Node50_10align === 'right') {
- Node50_10textStart = 0;
- Node50_10textWidth =Node50_10fontSize <= 8 ? Node50_10width + Node50_10fontSize * 0.2 + 6 : Node50_10width - Node50_10fontSize * 0.2;
- Node50_10lineStart = (Node50_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node50_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_10align === 'center') {
- Node50_10textStart = -3;
- Node50_10textWidth = Node50_10width;
- Node50_10lineStart = Node50_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node50_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_10.setImage(GD.getTextJSON(Node50_10width, Node50_10height, true, false, false, 'bold '+ Node50_10fontSize + 'px "UniDreamLED"'))
- Node50_10.setPosition(1836*ratio.ratioX, 157*ratio.ratioY);
- Node50_10.setWidth(Node50_10width);
- Node50_10.setHeight(Node50_10height);
- Node50_10._nodeType = 'text';
- Node50_10._disallowEvert = true;
- Node50_10.setRotation(0*Math.PI/180);
- Node50_10.a('node.width', Node50_10width);
- Node50_10.a('node.height', Node50_10height);
- Node50_10.a('node.rect', [0, 0, Node50_10width, Node50_10height]);
- Node50_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_10.a('node.borderwidth', 0);
- Node50_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_10.a('node.gradient','');
- Node50_10.a('node.gradientcolor','');
- Node50_10.a('node.text','1134.76');
- Node50_10.a('node.textalign','center');
- Node50_10.a('node.textvAlign','middle');
- Node50_10.a('node.textrect', [Node50_10textStart, 0, Node50_10textWidth, Node50_10height]);
- Node50_10.a('node.color','rgba(0,0,0,1)');
- Node50_10.a('node.font','bold '+ Node50_10fontSize + 'px "UniDreamLED"');
- Node50_10.a('node.textvisible',true);
- Node50_10.a('node.linefeed',false);
- if (false) {
- Node50_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_10.a('node.text') || '1134.76';
- var color=Node50_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_10width,Node50_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_10.a('node.underlinepoints',[Node50_10lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node50_10fontSize + 'px "UniDreamLED"').width + 6, (Node50_10height - Node50_10fontSize) * 0.5*_ratio.ratioY + Node50_10fontSize + 2 ]);
- Node50_10.a('node.underlinevisible',false);
- Node50_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_10);
- zoomNodeList.push({
- node: Node50_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_11 = new ht.Node();
- var Node50_11textStart, Node50_11textWidth, Node50_11lineStart, Node50_11align = 'center', Node50_11fontSize = 11.99997*_ratio.ratioY,Node50_11width = 101*_ratio.ratioX, Node50_11height = 27*_ratio.ratioY;
- (function () {
- if (Node50_11align === 'left') {
- Node50_11textStart = Node50_11fontSize * 0.2 > 2 ? Node50_11fontSize * 0.2 - 4 : Node50_11fontSize * 0.2 - 9;
- Node50_11textWidth = Node50_11width;
- Node50_11lineStart = 1;
- } else if (Node50_11align === 'right') {
- Node50_11textStart = 0;
- Node50_11textWidth =Node50_11fontSize <= 8 ? Node50_11width + Node50_11fontSize * 0.2 + 6 : Node50_11width - Node50_11fontSize * 0.2;
- Node50_11lineStart = (Node50_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node50_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_11align === 'center') {
- Node50_11textStart = -3;
- Node50_11textWidth = Node50_11width;
- Node50_11lineStart = Node50_11width - ht.Default.getTextSize('171.51', 'bold '+ Node50_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_11.setImage(GD.getTextJSON(Node50_11width, Node50_11height, true, false, false, 'bold '+ Node50_11fontSize + 'px "UniDreamLED"'))
- Node50_11.setPosition(1838*ratio.ratioX, 189*ratio.ratioY);
- Node50_11.setWidth(Node50_11width);
- Node50_11.setHeight(Node50_11height);
- Node50_11._nodeType = 'text';
- Node50_11._disallowEvert = true;
- Node50_11.setRotation(0*Math.PI/180);
- Node50_11.a('node.width', Node50_11width);
- Node50_11.a('node.height', Node50_11height);
- Node50_11.a('node.rect', [0, 0, Node50_11width, Node50_11height]);
- Node50_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_11.a('node.borderwidth', 0);
- Node50_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_11.a('node.gradient','');
- Node50_11.a('node.gradientcolor','');
- Node50_11.a('node.text','171.51');
- Node50_11.a('node.textalign','center');
- Node50_11.a('node.textvAlign','middle');
- Node50_11.a('node.textrect', [Node50_11textStart, 0, Node50_11textWidth, Node50_11height]);
- Node50_11.a('node.color','rgba(0,0,0,1)');
- Node50_11.a('node.font','bold '+ Node50_11fontSize + 'px "UniDreamLED"');
- Node50_11.a('node.textvisible',true);
- Node50_11.a('node.linefeed',false);
- if (false) {
- Node50_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_11.a('node.text') || '171.51';
- var color=Node50_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_11width,Node50_11height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_11.a('node.underlinepoints',[Node50_11lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node50_11fontSize + 'px "UniDreamLED"').width + 6, (Node50_11height - Node50_11fontSize) * 0.5*_ratio.ratioY + Node50_11fontSize + 2 ]);
- Node50_11.a('node.underlinevisible',false);
- Node50_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_11);
- zoomNodeList.push({
- node: Node50_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_12 = new ht.Node();
- var Node50_12textStart, Node50_12textWidth, Node50_12lineStart, Node50_12align = 'center', Node50_12fontSize = 11.99997*_ratio.ratioY,Node50_12width = 101*_ratio.ratioX, Node50_12height = 27*_ratio.ratioY;
- (function () {
- if (Node50_12align === 'left') {
- Node50_12textStart = Node50_12fontSize * 0.2 > 2 ? Node50_12fontSize * 0.2 - 4 : Node50_12fontSize * 0.2 - 9;
- Node50_12textWidth = Node50_12width;
- Node50_12lineStart = 1;
- } else if (Node50_12align === 'right') {
- Node50_12textStart = 0;
- Node50_12textWidth =Node50_12fontSize <= 8 ? Node50_12width + Node50_12fontSize * 0.2 + 6 : Node50_12width - Node50_12fontSize * 0.2;
- Node50_12lineStart = (Node50_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node50_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_12align === 'center') {
- Node50_12textStart = -3;
- Node50_12textWidth = Node50_12width;
- Node50_12lineStart = Node50_12width - ht.Default.getTextSize('329.51', 'bold '+ Node50_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_12.setImage(GD.getTextJSON(Node50_12width, Node50_12height, true, false, false, 'bold '+ Node50_12fontSize + 'px "UniDreamLED"'))
- Node50_12.setPosition(1838*ratio.ratioX, 219*ratio.ratioY);
- Node50_12.setWidth(Node50_12width);
- Node50_12.setHeight(Node50_12height);
- Node50_12._nodeType = 'text';
- Node50_12._disallowEvert = true;
- Node50_12.setRotation(0*Math.PI/180);
- Node50_12.a('node.width', Node50_12width);
- Node50_12.a('node.height', Node50_12height);
- Node50_12.a('node.rect', [0, 0, Node50_12width, Node50_12height]);
- Node50_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_12.a('node.borderwidth', 0);
- Node50_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_12.a('node.gradient','');
- Node50_12.a('node.gradientcolor','');
- Node50_12.a('node.text','329.51');
- Node50_12.a('node.textalign','center');
- Node50_12.a('node.textvAlign','middle');
- Node50_12.a('node.textrect', [Node50_12textStart, 0, Node50_12textWidth, Node50_12height]);
- Node50_12.a('node.color','rgba(0,0,0,1)');
- Node50_12.a('node.font','bold '+ Node50_12fontSize + 'px "UniDreamLED"');
- Node50_12.a('node.textvisible',true);
- Node50_12.a('node.linefeed',false);
- if (false) {
- Node50_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_12.a('node.text') || '329.51';
- var color=Node50_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_12width,Node50_12height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_12.a('node.underlinepoints',[Node50_12lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node50_12fontSize + 'px "UniDreamLED"').width + 6, (Node50_12height - Node50_12fontSize) * 0.5*_ratio.ratioY + Node50_12fontSize + 2 ]);
- Node50_12.a('node.underlinevisible',false);
- Node50_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_12);
- zoomNodeList.push({
- node: Node50_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_13 = new ht.Node();
- var Node50_13textStart, Node50_13textWidth, Node50_13lineStart, Node50_13align = 'center', Node50_13fontSize = 11.99997*_ratio.ratioY,Node50_13width = 101*_ratio.ratioX, Node50_13height = 27*_ratio.ratioY;
- (function () {
- if (Node50_13align === 'left') {
- Node50_13textStart = Node50_13fontSize * 0.2 > 2 ? Node50_13fontSize * 0.2 - 4 : Node50_13fontSize * 0.2 - 9;
- Node50_13textWidth = Node50_13width;
- Node50_13lineStart = 1;
- } else if (Node50_13align === 'right') {
- Node50_13textStart = 0;
- Node50_13textWidth =Node50_13fontSize <= 8 ? Node50_13width + Node50_13fontSize * 0.2 + 6 : Node50_13width - Node50_13fontSize * 0.2;
- Node50_13lineStart = (Node50_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node50_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_13align === 'center') {
- Node50_13textStart = -3;
- Node50_13textWidth = Node50_13width;
- Node50_13lineStart = Node50_13width - ht.Default.getTextSize('340.14', 'bold '+ Node50_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_13.setImage(GD.getTextJSON(Node50_13width, Node50_13height, true, false, false, 'bold '+ Node50_13fontSize + 'px "UniDreamLED"'))
- Node50_13.setPosition(1838*ratio.ratioX, 249*ratio.ratioY);
- Node50_13.setWidth(Node50_13width);
- Node50_13.setHeight(Node50_13height);
- Node50_13._nodeType = 'text';
- Node50_13._disallowEvert = true;
- Node50_13.setRotation(0*Math.PI/180);
- Node50_13.a('node.width', Node50_13width);
- Node50_13.a('node.height', Node50_13height);
- Node50_13.a('node.rect', [0, 0, Node50_13width, Node50_13height]);
- Node50_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_13.a('node.borderwidth', 0);
- Node50_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_13.a('node.gradient','');
- Node50_13.a('node.gradientcolor','');
- Node50_13.a('node.text','340.14');
- Node50_13.a('node.textalign','center');
- Node50_13.a('node.textvAlign','middle');
- Node50_13.a('node.textrect', [Node50_13textStart, 0, Node50_13textWidth, Node50_13height]);
- Node50_13.a('node.color','rgba(0,0,0,1)');
- Node50_13.a('node.font','bold '+ Node50_13fontSize + 'px "UniDreamLED"');
- Node50_13.a('node.textvisible',true);
- Node50_13.a('node.linefeed',false);
- if (false) {
- Node50_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_13.a('node.text') || '340.14';
- var color=Node50_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_13width,Node50_13height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_13.a('node.underlinepoints',[Node50_13lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node50_13fontSize + 'px "UniDreamLED"').width + 6, (Node50_13height - Node50_13fontSize) * 0.5*_ratio.ratioY + Node50_13fontSize + 2 ]);
- Node50_13.a('node.underlinevisible',false);
- Node50_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_13);
- zoomNodeList.push({
- node: Node50_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_14 = new ht.Node();
- var Node50_14textStart, Node50_14textWidth, Node50_14lineStart, Node50_14align = 'center', Node50_14fontSize = 11.99997*_ratio.ratioY,Node50_14width = 101*_ratio.ratioX, Node50_14height = 27*_ratio.ratioY;
- (function () {
- if (Node50_14align === 'left') {
- Node50_14textStart = Node50_14fontSize * 0.2 > 2 ? Node50_14fontSize * 0.2 - 4 : Node50_14fontSize * 0.2 - 9;
- Node50_14textWidth = Node50_14width;
- Node50_14lineStart = 1;
- } else if (Node50_14align === 'right') {
- Node50_14textStart = 0;
- Node50_14textWidth =Node50_14fontSize <= 8 ? Node50_14width + Node50_14fontSize * 0.2 + 6 : Node50_14width - Node50_14fontSize * 0.2;
- Node50_14lineStart = (Node50_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node50_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_14align === 'center') {
- Node50_14textStart = -3;
- Node50_14textWidth = Node50_14width;
- Node50_14lineStart = Node50_14width - ht.Default.getTextSize('60.61', 'bold '+ Node50_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_14.setImage(GD.getTextJSON(Node50_14width, Node50_14height, true, false, false, 'bold '+ Node50_14fontSize + 'px "UniDreamLED"'))
- Node50_14.setPosition(1838*ratio.ratioX, 283*ratio.ratioY);
- Node50_14.setWidth(Node50_14width);
- Node50_14.setHeight(Node50_14height);
- Node50_14._nodeType = 'text';
- Node50_14._disallowEvert = true;
- Node50_14.setRotation(0*Math.PI/180);
- Node50_14.a('node.width', Node50_14width);
- Node50_14.a('node.height', Node50_14height);
- Node50_14.a('node.rect', [0, 0, Node50_14width, Node50_14height]);
- Node50_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_14.a('node.borderwidth', 0);
- Node50_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_14.a('node.gradient','');
- Node50_14.a('node.gradientcolor','');
- Node50_14.a('node.text','60.61');
- Node50_14.a('node.textalign','center');
- Node50_14.a('node.textvAlign','middle');
- Node50_14.a('node.textrect', [Node50_14textStart, 0, Node50_14textWidth, Node50_14height]);
- Node50_14.a('node.color','rgba(0,0,0,1)');
- Node50_14.a('node.font','bold '+ Node50_14fontSize + 'px "UniDreamLED"');
- Node50_14.a('node.textvisible',true);
- Node50_14.a('node.linefeed',false);
- if (false) {
- Node50_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_14.a('node.text') || '60.61';
- var color=Node50_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_14width,Node50_14height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_14.a('node.underlinepoints',[Node50_14lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node50_14fontSize + 'px "UniDreamLED"').width + 6, (Node50_14height - Node50_14fontSize) * 0.5*_ratio.ratioY + Node50_14fontSize + 2 ]);
- Node50_14.a('node.underlinevisible',false);
- Node50_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_14);
- zoomNodeList.push({
- node: Node50_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_15 = new ht.Node();
- var Node50_15textStart, Node50_15textWidth, Node50_15lineStart, Node50_15align = 'center', Node50_15fontSize = 11.99997*_ratio.ratioY,Node50_15width = 101*_ratio.ratioX, Node50_15height = 27*_ratio.ratioY;
- (function () {
- if (Node50_15align === 'left') {
- Node50_15textStart = Node50_15fontSize * 0.2 > 2 ? Node50_15fontSize * 0.2 - 4 : Node50_15fontSize * 0.2 - 9;
- Node50_15textWidth = Node50_15width;
- Node50_15lineStart = 1;
- } else if (Node50_15align === 'right') {
- Node50_15textStart = 0;
- Node50_15textWidth =Node50_15fontSize <= 8 ? Node50_15width + Node50_15fontSize * 0.2 + 6 : Node50_15width - Node50_15fontSize * 0.2;
- Node50_15lineStart = (Node50_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node50_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_15align === 'center') {
- Node50_15textStart = -3;
- Node50_15textWidth = Node50_15width;
- Node50_15lineStart = Node50_15width - ht.Default.getTextSize('166.79', 'bold '+ Node50_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_15.setImage(GD.getTextJSON(Node50_15width, Node50_15height, true, false, false, 'bold '+ Node50_15fontSize + 'px "UniDreamLED"'))
- Node50_15.setPosition(1838*ratio.ratioX, 316*ratio.ratioY);
- Node50_15.setWidth(Node50_15width);
- Node50_15.setHeight(Node50_15height);
- Node50_15._nodeType = 'text';
- Node50_15._disallowEvert = true;
- Node50_15.setRotation(0*Math.PI/180);
- Node50_15.a('node.width', Node50_15width);
- Node50_15.a('node.height', Node50_15height);
- Node50_15.a('node.rect', [0, 0, Node50_15width, Node50_15height]);
- Node50_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_15.a('node.borderwidth', 0);
- Node50_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_15.a('node.gradient','');
- Node50_15.a('node.gradientcolor','');
- Node50_15.a('node.text','166.79');
- Node50_15.a('node.textalign','center');
- Node50_15.a('node.textvAlign','middle');
- Node50_15.a('node.textrect', [Node50_15textStart, 0, Node50_15textWidth, Node50_15height]);
- Node50_15.a('node.color','rgba(0,0,0,1)');
- Node50_15.a('node.font','bold '+ Node50_15fontSize + 'px "UniDreamLED"');
- Node50_15.a('node.textvisible',true);
- Node50_15.a('node.linefeed',false);
- if (false) {
- Node50_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_15.a('node.text') || '166.79';
- var color=Node50_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_15width,Node50_15height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_15.a('node.underlinepoints',[Node50_15lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node50_15fontSize + 'px "UniDreamLED"').width + 6, (Node50_15height - Node50_15fontSize) * 0.5*_ratio.ratioY + Node50_15fontSize + 2 ]);
- Node50_15.a('node.underlinevisible',false);
- Node50_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_15);
- zoomNodeList.push({
- node: Node50_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_16 = new ht.Node();
- var Node50_16textStart, Node50_16textWidth, Node50_16lineStart, Node50_16align = 'center', Node50_16fontSize = 11.99997*_ratio.ratioY,Node50_16width = 101*_ratio.ratioX, Node50_16height = 27*_ratio.ratioY;
- (function () {
- if (Node50_16align === 'left') {
- Node50_16textStart = Node50_16fontSize * 0.2 > 2 ? Node50_16fontSize * 0.2 - 4 : Node50_16fontSize * 0.2 - 9;
- Node50_16textWidth = Node50_16width;
- Node50_16lineStart = 1;
- } else if (Node50_16align === 'right') {
- Node50_16textStart = 0;
- Node50_16textWidth =Node50_16fontSize <= 8 ? Node50_16width + Node50_16fontSize * 0.2 + 6 : Node50_16width - Node50_16fontSize * 0.2;
- Node50_16lineStart = (Node50_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node50_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_16align === 'center') {
- Node50_16textStart = -3;
- Node50_16textWidth = Node50_16width;
- Node50_16lineStart = Node50_16width - ht.Default.getTextSize('66.18', 'bold '+ Node50_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_16.setImage(GD.getTextJSON(Node50_16width, Node50_16height, true, false, false, 'bold '+ Node50_16fontSize + 'px "UniDreamLED"'))
- Node50_16.setPosition(1838*ratio.ratioX, 345*ratio.ratioY);
- Node50_16.setWidth(Node50_16width);
- Node50_16.setHeight(Node50_16height);
- Node50_16._nodeType = 'text';
- Node50_16._disallowEvert = true;
- Node50_16.setRotation(0*Math.PI/180);
- Node50_16.a('node.width', Node50_16width);
- Node50_16.a('node.height', Node50_16height);
- Node50_16.a('node.rect', [0, 0, Node50_16width, Node50_16height]);
- Node50_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_16.a('node.borderwidth', 0);
- Node50_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_16.a('node.gradient','');
- Node50_16.a('node.gradientcolor','');
- Node50_16.a('node.text','66.18');
- Node50_16.a('node.textalign','center');
- Node50_16.a('node.textvAlign','middle');
- Node50_16.a('node.textrect', [Node50_16textStart, 0, Node50_16textWidth, Node50_16height]);
- Node50_16.a('node.color','rgba(0,0,0,1)');
- Node50_16.a('node.font','bold '+ Node50_16fontSize + 'px "UniDreamLED"');
- Node50_16.a('node.textvisible',true);
- Node50_16.a('node.linefeed',false);
- if (false) {
- Node50_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_16.a('node.text') || '66.18';
- var color=Node50_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_16width,Node50_16height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_16.a('node.underlinepoints',[Node50_16lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node50_16fontSize + 'px "UniDreamLED"').width + 6, (Node50_16height - Node50_16fontSize) * 0.5*_ratio.ratioY + Node50_16fontSize + 2 ]);
- Node50_16.a('node.underlinevisible',false);
- Node50_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_16);
- zoomNodeList.push({
- node: Node50_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50_17 = new ht.Node();
- var Node50_17textStart, Node50_17textWidth, Node50_17lineStart, Node50_17align = 'center', Node50_17fontSize = 11.99997*_ratio.ratioY,Node50_17width = 101*_ratio.ratioX, Node50_17height = 27*_ratio.ratioY;
- (function () {
- if (Node50_17align === 'left') {
- Node50_17textStart = Node50_17fontSize * 0.2 > 2 ? Node50_17fontSize * 0.2 - 4 : Node50_17fontSize * 0.2 - 9;
- Node50_17textWidth = Node50_17width;
- Node50_17lineStart = 1;
- } else if (Node50_17align === 'right') {
- Node50_17textStart = 0;
- Node50_17textWidth =Node50_17fontSize <= 8 ? Node50_17width + Node50_17fontSize * 0.2 + 6 : Node50_17width - Node50_17fontSize * 0.2;
- Node50_17lineStart = (Node50_17width - (ht.Default.getTextSize('-', 'bold '+ Node50_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node50_17align === 'center') {
- Node50_17textStart = -3;
- Node50_17textWidth = Node50_17width;
- Node50_17lineStart = Node50_17width - ht.Default.getTextSize('-', 'bold '+ Node50_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node50_17.setImage(GD.getTextJSON(Node50_17width, Node50_17height, true, false, false, 'bold '+ Node50_17fontSize + 'px "UniDreamLED"'))
- Node50_17.setPosition(1838*ratio.ratioX, 376*ratio.ratioY);
- Node50_17.setWidth(Node50_17width);
- Node50_17.setHeight(Node50_17height);
- Node50_17._nodeType = 'text';
- Node50_17._disallowEvert = true;
- Node50_17.setRotation(0*Math.PI/180);
- Node50_17.a('node.width', Node50_17width);
- Node50_17.a('node.height', Node50_17height);
- Node50_17.a('node.rect', [0, 0, Node50_17width, Node50_17height]);
- Node50_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node50_17.a('node.borderwidth', 0);
- Node50_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node50_17.a('node.gradient','');
- Node50_17.a('node.gradientcolor','');
- Node50_17.a('node.text','-');
- Node50_17.a('node.textalign','center');
- Node50_17.a('node.textvAlign','middle');
- Node50_17.a('node.textrect', [Node50_17textStart, 0, Node50_17textWidth, Node50_17height]);
- Node50_17.a('node.color','rgba(0,0,0,1)');
- Node50_17.a('node.font','bold '+ Node50_17fontSize + 'px "UniDreamLED"');
- Node50_17.a('node.textvisible',true);
- Node50_17.a('node.linefeed',false);
- if (false) {
- Node50_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50_17.a('node.text') || '-';
- var color=Node50_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node50_17width,Node50_17height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node50_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node50_17.a('node.underlinepoints',[Node50_17lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node50_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node50_17fontSize + 'px "UniDreamLED"').width + 6, (Node50_17height - Node50_17fontSize) * 0.5*_ratio.ratioY + Node50_17fontSize + 2 ]);
- Node50_17.a('node.underlinevisible',false);
- Node50_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50_17);
- zoomNodeList.push({
- node: Node50_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node51_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node51_0 = new ht.Node();
- Node51_0.setPosition(1837*ratio.ratioX, 237*ratio.ratioY);
- Node51_0.setSize(117*ratioX, 313*ratioY);
- Node51_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node51_0.setRotation(0*Math.PI/180);
- Node51_0._zoomBy = 'Default';
- Node51_0._nodeType = 'image';
- Node51_0._disallowEvert = true;
- dataModel.add(Node51_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51_1 = new ht.Node();
- var Node51_1textStart, Node51_1textWidth, Node51_1lineStart, Node51_1align = 'center', Node51_1fontSize = 11.99997*_ratio.ratioY,Node51_1width = 97*_ratio.ratioX, Node51_1height = 27*_ratio.ratioY;
- (function () {
- if (Node51_1align === 'left') {
- Node51_1textStart = Node51_1fontSize * 0.2 > 2 ? Node51_1fontSize * 0.2 - 4 : Node51_1fontSize * 0.2 - 9;
- Node51_1textWidth = Node51_1width;
- Node51_1lineStart = 1;
- } else if (Node51_1align === 'right') {
- Node51_1textStart = 0;
- Node51_1textWidth =Node51_1fontSize <= 8 ? Node51_1width + Node51_1fontSize * 0.2 + 6 : Node51_1width - Node51_1fontSize * 0.2;
- Node51_1lineStart = (Node51_1width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node51_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node51_1align === 'center') {
- Node51_1textStart = -3;
- Node51_1textWidth = Node51_1width;
- Node51_1lineStart = Node51_1width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node51_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node51_1.setImage(GD.getTextJSON(Node51_1width, Node51_1height, true, false, false, 'bold '+ Node51_1fontSize + 'px "Arial"'))
- Node51_1.setPosition(1833*ratio.ratioX, 102*ratio.ratioY);
- Node51_1.setWidth(Node51_1width);
- Node51_1.setHeight(Node51_1height);
- Node51_1._nodeType = 'text';
- Node51_1._disallowEvert = true;
- Node51_1.setRotation(0*Math.PI/180);
- Node51_1.a('node.width', Node51_1width);
- Node51_1.a('node.height', Node51_1height);
- Node51_1.a('node.rect', [0, 0, Node51_1width, Node51_1height]);
- Node51_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node51_1.a('node.borderwidth', 0);
- Node51_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node51_1.a('node.gradient','');
- Node51_1.a('node.gradientcolor','');
- Node51_1.a('node.text','性能损失电量');
- Node51_1.a('node.textalign','center');
- Node51_1.a('node.textvAlign','middle');
- Node51_1.a('node.textrect', [Node51_1textStart, 0, Node51_1textWidth, Node51_1height]);
- Node51_1.a('node.color','rgba(255,255,255,1)');
- Node51_1.a('node.font','bold '+ Node51_1fontSize + 'px "Arial"');
- Node51_1.a('node.textvisible',true);
- Node51_1.a('node.linefeed',false);
- if (false) {
- Node51_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node51_1.a('node.text') || '性能损失电量';
- var color=Node51_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node51_1width,Node51_1height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node51_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node51_1.a('node.underlinepoints',[Node51_1lineStart, (27 - 11.99997) * 0.5 * _ratio.ratioY + Node51_1fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node51_1fontSize + 'px "Arial"').width + 6, (Node51_1height - Node51_1fontSize) * 0.5*_ratio.ratioY + Node51_1fontSize + 2 ]);
- Node51_1.a('node.underlinevisible',false);
- Node51_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node51_1);
- zoomNodeList.push({
- node: Node51_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52= new ht.Node();
- Node52._borderWidth = 1;
- Node52.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node52._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node52.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node52.background'},
- gradient: {value:'', func: 'attr@Node52.gradient'},
- gradientColor:{value:'', func: 'attr@Node52.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node52.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node52.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node52.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node52.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node52.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node52.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node52.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node52.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node52.borderPattern'}
- }
- ]
- });
- var Node52borderwidth = 1;
- var Node52borderFillwidth = 1*2;
- Node52 .setPosition(190*ratio.ratioX,451*ratio.ratioY);
- Node52.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node52.setRotation(0*Math.PI/180);
- Node52.s({'pixelPerfect':true});
- Node52.a('Node52.borderwidth',1);
- Node52.a('Node52.color','@bordercolor@');
- Node52.a('Node52.background','rgba(255,255,255,0.003921569)');
- Node52.a('Node52.gradient','');
- Node52.a('Node52.gradientcolor','');
- Node52.a('Node52.borderPattern',getDashStyle("Solid"));
- Node52.a('Node52.fillrect',[0,0,0,0]);
- Node52.a('Node52.fillbackcolor','rgba(0, 0, 0, 0)');
- Node52.a('Node52.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node52.a('Node52.fillgradient','');
- Node52borderwidth=1;
- dataModel.add(Node52);
- Node52.borderWidth = 1;
- Node52.borderFillwidth = 1*2;
- Node52._nodename = 'Node52';
- Node52._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node52,
- attr: 'Node52.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node52.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node52.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node52, Node52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53 = new ht.Node();
- var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 11.99997*_ratio.ratioY,Node53width = 150*_ratio.ratioX, Node53height = 25*_ratio.ratioY;
- (function () {
- if (Node53align === 'left') {
- Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9;
- Node53textWidth = Node53width;
- Node53lineStart = 1;
- } else if (Node53align === 'right') {
- Node53textStart = 0;
- Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2;
- Node53lineStart = (Node53width - (ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node53align === 'center') {
- Node53textStart = -3;
- Node53textWidth = Node53width;
- Node53lineStart = Node53width - ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node53fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, 'bold '+ Node53fontSize + 'px "Arial"'))
- Node53.setPosition(85*ratio.ratioX, 415*ratio.ratioY);
- Node53.setWidth(Node53width);
- Node53.setHeight(Node53height);
- Node53._nodeType = 'text';
- Node53._disallowEvert = true;
- Node53.setRotation(0*Math.PI/180);
- Node53.a('node.width', Node53width);
- Node53.a('node.height', Node53height);
- Node53.a('node.rect', [0, 0, Node53width, Node53height]);
- Node53.a('node.bordercolor','rgba(64,64,64,1)');
- Node53.a('node.borderwidth', 0);
- Node53.a('node.background','' || 'rgba(0,0,0,0)');
- Node53.a('node.gradient','');
- Node53.a('node.gradientcolor','');
- Node53.a('node.text','太旗卧牛山风电场');
- Node53.a('node.textalign','left');
- Node53.a('node.textvAlign','middle');
- Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
- Node53.a('node.color','rgba(64,64,64,1)');
- Node53.a('node.font','bold '+ Node53fontSize + 'px "Arial"');
- Node53.a('node.textvisible',true);
- Node53.a('node.linefeed',false);
- if (false) {
- Node53.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node53.a('node.text') || '太旗卧牛山风电场';
- var color=Node53.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node53width,Node53height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node53.a('node.underlinepoints',[Node53lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
- Node53.a('node.underlinevisible',false);
- Node53.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node53);
- zoomNodeList.push({
- node: Node53,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node54 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 415*ratio.ratioY, 0, {text:'99',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node55 = new ht.HtmlNode();
- Node55.setPosition({'x':70*ratio.ratioX,'y':484*ratio.ratioY});
- Node55.setWidth(180*_ratio.ratioX);
- Node55.setHeight(97*_ratio.ratioY);
- Node55.setScalable(false);
- Node55.setRotation(0);
- Node55.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node55.setHtml(chart);
- var Node55_chart = chart._chart;
- dataModel.add(Node55);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 11.99997*_ratio.ratioY,Node56width = 40*_ratio.ratioX, Node56height = 21*_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('4.48', ' '+ Node56fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('4.48', ' '+ Node56fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "UniDreamLED"'))
- Node56.setPosition(140*ratio.ratioX, 459*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','4.48');
- 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 "UniDreamLED"');
- 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') || '4.48';
- var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node56width,Node56height,11.99997*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node56fontSize + 'px "UniDreamLED"').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 = 'left', Node57fontSize = 11.99997*_ratio.ratioY,Node57width = 40*_ratio.ratioX, Node57height = 21*_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('m/s', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('m/s', ' '+ Node57fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"'))
- Node57.setPosition(140*ratio.ratioX, 480*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(0,0,0,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','');
- Node57.a('node.text','m/s');
- Node57.a('node.textalign','left');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(0,0,0,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || 'm/s';
- var color=Node57.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node57width,Node57height,11.99997*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 11.99997*_ratio.ratioY,Node58width = 40*_ratio.ratioX, Node58height = 21*_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('功率', 'bold '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('功率', 'bold '+ Node58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, 'bold '+ Node58fontSize + 'px "Arial"'))
- Node58.setPosition(200*ratio.ratioX, 447*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(64,64,64,1)');
- Node58.a('node.borderwidth', 0);
- Node58.a('node.background','' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','');
- Node58.a('node.text','功率');
- Node58.a('node.textalign','left');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(64,64,64,1)');
- Node58.a('node.font','bold '+ Node58fontSize + 'px "Arial"');
- Node58.a('node.textvisible',true);
- Node58.a('node.linefeed',false);
- if (false) {
- Node58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node58.a('node.text') || '功率';
- var color=Node58.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node58width,Node58height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ 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 = 'left', Node59fontSize = 11.99997*_ratio.ratioY,Node59width = 44*_ratio.ratioX, Node59height = 21*_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('发电量', 'bold '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('发电量', 'bold '+ Node59fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, 'bold '+ Node59fontSize + 'px "Arial"'))
- Node59.setPosition(202*ratio.ratioX, 481*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(64,64,64,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','发电量');
- Node59.a('node.textalign','left');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(64,64,64,1)');
- Node59.a('node.font','bold '+ Node59fontSize + 'px "Arial"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '发电量';
- var color=Node59.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node59width,Node59height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node59fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 29*_ratio.ratioX, Node60height = 25*_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('台', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('台', ' '+ Node60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
- Node60.setPosition(350*ratio.ratioX, 416*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(64,64,64,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','台');
- Node60.a('node.textalign','left');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(64,64,64,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') || '台';
- var color=Node60.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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, ratio);
- var Node61 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 447*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node62 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 447*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63 = new ht.Node();
- var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 29*_ratio.ratioX, Node63height = 25*_ratio.ratioY;
- (function () {
- if (Node63align === 'left') {
- Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9;
- Node63textWidth = Node63width;
- Node63lineStart = 1;
- } else if (Node63align === 'right') {
- Node63textStart = 0;
- Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2;
- Node63lineStart = (Node63width - (ht.Default.getTextSize('MW', ' '+ Node63fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node63align === 'center') {
- Node63textStart = -3;
- Node63textWidth = Node63width;
- Node63lineStart = Node63width - ht.Default.getTextSize('MW', ' '+ Node63fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "Arial"'))
- Node63.setPosition(342*ratio.ratioX, 446*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(64,64,64,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','MW');
- Node63.a('node.textalign','left');
- Node63.a('node.textvAlign','middle');
- Node63.a('node.textrect', [Node63textStart, 0, Node63textWidth, Node63height]);
- Node63.a('node.color','rgba(64,64,64,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') || 'MW';
- var color=Node63.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"left",color,' '+ Node63fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node63.a('node.underlinepoints',[Node63lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('MW', ' '+ 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, ratio);
- var Node64 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 481*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node65 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 481*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//page_ztjs_sx_z_bj.png'});_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 = 43*_ratio.ratioX, Node66height = 25*_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('万kwh', ' '+ Node66fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node66align === 'center') {
- Node66textStart = -3;
- Node66textWidth = Node66width;
- Node66lineStart = Node66width - ht.Default.getTextSize('万kwh', ' '+ Node66fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "Arial"'))
- Node66.setPosition(350*ratio.ratioX, 481*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(64,64,64,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','万kwh');
- Node66.a('node.textalign','left');
- Node66.a('node.textvAlign','middle');
- Node66.a('node.textrect', [Node66textStart, 0, Node66textWidth, Node66height]);
- Node66.a('node.color','rgba(64,64,64,1)');
- Node66.a('node.font',' '+ 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') || '万kwh';
- var color=Node66.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"left",color,' '+ Node66fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node66.a('node.underlinepoints',[Node66lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ 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 Node67type = 'rect';
- var Node67 = new ht.Node(),
- Node67BorderWidth = 1*2;
- if (Node67type === 'arc') {
- Node67BorderWidth *= 1;
- }
- Node67.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node67.setPosition(190*ratio.ratioX, 549*ratio.ratioY);
- Node67.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node67.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node67.a('node.width', 373*_ratio.ratioX);
- Node67.a('node.height', 93*_ratio.ratioY);
- Node67.a('node.type', Node67type);
- Node67.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node67.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node67.a('node.gradientcolor', '');
- Node67.a('node.gradient', '');
- Node67.a('node.borderwidth', Node67BorderWidth);
- Node67.a('node.color', 'rgba(192,192,192,1)');
- Node67.a('node.fillrect', [0,0,0,0]);
- Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradient', '');
- if (Node67type !== 'rect') {
- Node67.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node67.a('node.arcTo', parseFloat('@arcTo@'));
- Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node67type === 'arc') {
- Node67.a('node.arcOval', true);
- }
- Node67.setRotation(0*Math.PI/180);
- Node67.borderWidth = Node67BorderWidth;
- Node67.borderFillwidth = Node67BorderWidth;
- dataModel.add(Node67);
- Node67._nodename = 'Node67'
- Node67._nodeType = 'rect';
- zoomNodeList.push({
- node: Node67,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node67, Node67.getImage());var Node68points=[4, 534,377, 534],
- Node68rect=ht.Default.unionPoint([{x:4,y:534},{x:377,y:534}]),
- Node68compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node68points.length;i++){
- if(i%2==0){
- Node68compspts.push(Node68points[i]-Node68rect.x);
- }else{
- Node68compspts.push(Node68points[i]-Node68rect.y);
- }
- }
- var Node68ptslength=Node68compspts.length;
- if (Node68rect.height === 0) {
- Node68compspts[0] -= 0;
- Node68compspts[Node68ptslength-2] += 0;
- } else if (Node68rect.width === 0){
- Node68compspts[1] -= 0;
- Node68compspts[Node68ptslength-1] += 0;
- } else {
- Node68compspts[0] -= 0;
- Node68compspts[1] -= 0;
- Node68compspts[Node68ptslength-2] += 0;
- Node68compspts[Node68ptslength-1] += 0;
- }
- Node68 = new ht.Node();
- Node68.borderWidth = 1;
- Node68rect.width = Node68rect.width === 0 ? 0.0001 : Node68rect.width;
- Node68rect.height = Node68rect.height === 0 ? 0.0001 : Node68rect.height;
- var Node68endCompspts = [Node68compspts[Node68ptslength-2],Node68compspts[Node68ptslength-1],0,0];
- var Node68startCompspts = [Node68compspts[0],Node68compspts[1],0,0];
- Node68.setImage(GD.getPolyLineJSON());
- Node68.setPosition(Node68rect.x+Node68rect.width/2,Node68rect.y+Node68rect.height/2);
- Node68.setSize(Node68rect.width,Node68rect.height);
- Node68.setStyle("opacity",1);
- Node68.s({'pixelPerfect':true});
- Node68borderwidth=1;
- Node68.setRotation(0);
- dataModel.add(Node68);
- Node68.a('node.points',Node68compspts);
- Node68.a('node.segments',[1,2]);
- Node68.a('node.color','rgba(192,192,192,1)');
- Node68.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node68.a('node.borderColor','rgba(192,192,192,1)');
- Node68.a('node.background','rgba(192,192,192,1)');
- Node68.a('node.gradient','');
- Node68.a('node.gradientcolor','rgba(192,192,192,1)');
- Node68.a('node.endCompspts',Node68endCompspts);
- Node68.a('node.startCompspts',Node68startCompspts);
- (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 = 'Node68';
- 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);
- }
- })(Node68, Node68.getImage(), Node68compspts, Node68endCompspts, Node68startCompspts);
- var Node69points=[4, 565,377, 565],
- Node69rect=ht.Default.unionPoint([{x:4,y:565},{x:377,y:565}]),
- Node69compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node69points.length;i++){
- if(i%2==0){
- Node69compspts.push(Node69points[i]-Node69rect.x);
- }else{
- Node69compspts.push(Node69points[i]-Node69rect.y);
- }
- }
- var Node69ptslength=Node69compspts.length;
- if (Node69rect.height === 0) {
- Node69compspts[0] -= 0;
- Node69compspts[Node69ptslength-2] += 0;
- } else if (Node69rect.width === 0){
- Node69compspts[1] -= 0;
- Node69compspts[Node69ptslength-1] += 0;
- } else {
- Node69compspts[0] -= 0;
- Node69compspts[1] -= 0;
- Node69compspts[Node69ptslength-2] += 0;
- Node69compspts[Node69ptslength-1] += 0;
- }
- Node69 = new ht.Node();
- Node69.borderWidth = 1;
- Node69rect.width = Node69rect.width === 0 ? 0.0001 : Node69rect.width;
- Node69rect.height = Node69rect.height === 0 ? 0.0001 : Node69rect.height;
- var Node69endCompspts = [Node69compspts[Node69ptslength-2],Node69compspts[Node69ptslength-1],0,0];
- var Node69startCompspts = [Node69compspts[0],Node69compspts[1],0,0];
- Node69.setImage(GD.getPolyLineJSON());
- Node69.setPosition(Node69rect.x+Node69rect.width/2,Node69rect.y+Node69rect.height/2);
- Node69.setSize(Node69rect.width,Node69rect.height);
- Node69.setStyle("opacity",1);
- Node69.s({'pixelPerfect':true});
- Node69borderwidth=1;
- Node69.setRotation(0);
- dataModel.add(Node69);
- Node69.a('node.points',Node69compspts);
- Node69.a('node.segments',[1,2]);
- Node69.a('node.color','rgba(192,192,192,1)');
- Node69.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node69.a('node.borderColor','rgba(192,192,192,1)');
- Node69.a('node.background','rgba(192,192,192,1)');
- Node69.a('node.gradient','');
- Node69.a('node.gradientcolor','rgba(192,192,192,1)');
- Node69.a('node.endCompspts',Node69endCompspts);
- Node69.a('node.startCompspts',Node69startCompspts);
- (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 = 'Node69';
- 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);
- }
- })(Node69, Node69.getImage(), Node69compspts, Node69endCompspts, Node69startCompspts);
- var Node70points=[71, 504,71, 595],
- Node70rect=ht.Default.unionPoint([{x:71,y:504},{x:71,y:595}]),
- Node70compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node70points.length;i++){
- if(i%2==0){
- Node70compspts.push(Node70points[i]-Node70rect.x);
- }else{
- Node70compspts.push(Node70points[i]-Node70rect.y);
- }
- }
- var Node70ptslength=Node70compspts.length;
- if (Node70rect.height === 0) {
- Node70compspts[0] -= 0;
- Node70compspts[Node70ptslength-2] += 0;
- } else if (Node70rect.width === 0){
- Node70compspts[1] -= 0;
- Node70compspts[Node70ptslength-1] += 0;
- } else {
- Node70compspts[0] -= 0;
- Node70compspts[1] -= 0;
- Node70compspts[Node70ptslength-2] += 0;
- Node70compspts[Node70ptslength-1] += 0;
- }
- Node70 = new ht.Node();
- Node70.borderWidth = 1;
- Node70rect.width = Node70rect.width === 0 ? 0.0001 : Node70rect.width;
- Node70rect.height = Node70rect.height === 0 ? 0.0001 : Node70rect.height;
- var Node70endCompspts = [Node70compspts[Node70ptslength-2],Node70compspts[Node70ptslength-1],0,0];
- var Node70startCompspts = [Node70compspts[0],Node70compspts[1],0,0];
- Node70.setImage(GD.getPolyLineJSON());
- Node70.setPosition(Node70rect.x+Node70rect.width/2,Node70rect.y+Node70rect.height/2);
- Node70.setSize(Node70rect.width,Node70rect.height);
- Node70.setStyle("opacity",1);
- Node70.s({'pixelPerfect':true});
- Node70borderwidth=1;
- Node70.setRotation(0);
- dataModel.add(Node70);
- Node70.a('node.points',Node70compspts);
- Node70.a('node.segments',[1,2]);
- Node70.a('node.color','rgba(192,192,192,1)');
- Node70.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node70.a('node.borderColor','rgba(192,192,192,1)');
- Node70.a('node.background','rgba(192,192,192,1)');
- Node70.a('node.gradient','');
- Node70.a('node.gradientcolor','rgba(192,192,192,1)');
- Node70.a('node.endCompspts',Node70endCompspts);
- Node70.a('node.startCompspts',Node70startCompspts);
- (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 = 'Node70';
- 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);
- }
- })(Node70, Node70.getImage(), Node70compspts, Node70endCompspts, Node70startCompspts);
- var Node71points=[157, 503,157, 595],
- Node71rect=ht.Default.unionPoint([{x:157,y:503},{x:157,y:595}]),
- Node71compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node71points.length;i++){
- if(i%2==0){
- Node71compspts.push(Node71points[i]-Node71rect.x);
- }else{
- Node71compspts.push(Node71points[i]-Node71rect.y);
- }
- }
- var Node71ptslength=Node71compspts.length;
- if (Node71rect.height === 0) {
- Node71compspts[0] -= 0;
- Node71compspts[Node71ptslength-2] += 0;
- } else if (Node71rect.width === 0){
- Node71compspts[1] -= 0;
- Node71compspts[Node71ptslength-1] += 0;
- } else {
- Node71compspts[0] -= 0;
- Node71compspts[1] -= 0;
- Node71compspts[Node71ptslength-2] += 0;
- Node71compspts[Node71ptslength-1] += 0;
- }
- Node71 = new ht.Node();
- Node71.borderWidth = 1;
- Node71rect.width = Node71rect.width === 0 ? 0.0001 : Node71rect.width;
- Node71rect.height = Node71rect.height === 0 ? 0.0001 : Node71rect.height;
- var Node71endCompspts = [Node71compspts[Node71ptslength-2],Node71compspts[Node71ptslength-1],0,0];
- var Node71startCompspts = [Node71compspts[0],Node71compspts[1],0,0];
- Node71.setImage(GD.getPolyLineJSON());
- Node71.setPosition(Node71rect.x+Node71rect.width/2,Node71rect.y+Node71rect.height/2);
- Node71.setSize(Node71rect.width,Node71rect.height);
- Node71.setStyle("opacity",1);
- Node71.s({'pixelPerfect':true});
- Node71borderwidth=1;
- Node71.setRotation(0);
- dataModel.add(Node71);
- Node71.a('node.points',Node71compspts);
- Node71.a('node.segments',[1,2]);
- Node71.a('node.color','rgba(192,192,192,1)');
- Node71.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node71.a('node.borderColor','rgba(192,192,192,1)');
- Node71.a('node.background','rgba(192,192,192,1)');
- Node71.a('node.gradient','');
- Node71.a('node.gradientcolor','rgba(192,192,192,1)');
- Node71.a('node.endCompspts',Node71endCompspts);
- Node71.a('node.startCompspts',Node71startCompspts);
- (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 = 'Node71';
- 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);
- }
- })(Node71, Node71.getImage(), Node71compspts, Node71endCompspts, Node71startCompspts);
- var Node72points=[192, 504,192, 595],
- Node72rect=ht.Default.unionPoint([{x:192,y:504},{x:192,y:595}]),
- Node72compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node72points.length;i++){
- if(i%2==0){
- Node72compspts.push(Node72points[i]-Node72rect.x);
- }else{
- Node72compspts.push(Node72points[i]-Node72rect.y);
- }
- }
- var Node72ptslength=Node72compspts.length;
- if (Node72rect.height === 0) {
- Node72compspts[0] -= 0;
- Node72compspts[Node72ptslength-2] += 0;
- } else if (Node72rect.width === 0){
- Node72compspts[1] -= 0;
- Node72compspts[Node72ptslength-1] += 0;
- } else {
- Node72compspts[0] -= 0;
- Node72compspts[1] -= 0;
- Node72compspts[Node72ptslength-2] += 0;
- Node72compspts[Node72ptslength-1] += 0;
- }
- Node72 = new ht.Node();
- Node72.borderWidth = 1;
- Node72rect.width = Node72rect.width === 0 ? 0.0001 : Node72rect.width;
- Node72rect.height = Node72rect.height === 0 ? 0.0001 : Node72rect.height;
- var Node72endCompspts = [Node72compspts[Node72ptslength-2],Node72compspts[Node72ptslength-1],0,0];
- var Node72startCompspts = [Node72compspts[0],Node72compspts[1],0,0];
- Node72.setImage(GD.getPolyLineJSON());
- Node72.setPosition(Node72rect.x+Node72rect.width/2,Node72rect.y+Node72rect.height/2);
- Node72.setSize(Node72rect.width,Node72rect.height);
- Node72.setStyle("opacity",1);
- Node72.s({'pixelPerfect':true});
- Node72borderwidth=1;
- Node72.setRotation(0);
- dataModel.add(Node72);
- Node72.a('node.points',Node72compspts);
- Node72.a('node.segments',[1,2]);
- Node72.a('node.color','rgba(192,192,192,1)');
- Node72.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node72.a('node.borderColor','rgba(192,192,192,1)');
- Node72.a('node.background','rgba(192,192,192,1)');
- Node72.a('node.gradient','');
- Node72.a('node.gradientcolor','rgba(192,192,192,1)');
- Node72.a('node.endCompspts',Node72endCompspts);
- Node72.a('node.startCompspts',Node72startCompspts);
- (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 = 'Node72';
- 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);
- }
- })(Node72, Node72.getImage(), Node72compspts, Node72endCompspts, Node72startCompspts);
- var Node73points=[260, 504,260, 596],
- Node73rect=ht.Default.unionPoint([{x:260,y:504},{x:260,y:596}]),
- Node73compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node73points.length;i++){
- if(i%2==0){
- Node73compspts.push(Node73points[i]-Node73rect.x);
- }else{
- Node73compspts.push(Node73points[i]-Node73rect.y);
- }
- }
- var Node73ptslength=Node73compspts.length;
- if (Node73rect.height === 0) {
- Node73compspts[0] -= 0;
- Node73compspts[Node73ptslength-2] += 0;
- } else if (Node73rect.width === 0){
- Node73compspts[1] -= 0;
- Node73compspts[Node73ptslength-1] += 0;
- } else {
- Node73compspts[0] -= 0;
- Node73compspts[1] -= 0;
- Node73compspts[Node73ptslength-2] += 0;
- Node73compspts[Node73ptslength-1] += 0;
- }
- Node73 = new ht.Node();
- Node73.borderWidth = 1;
- Node73rect.width = Node73rect.width === 0 ? 0.0001 : Node73rect.width;
- Node73rect.height = Node73rect.height === 0 ? 0.0001 : Node73rect.height;
- var Node73endCompspts = [Node73compspts[Node73ptslength-2],Node73compspts[Node73ptslength-1],0,0];
- var Node73startCompspts = [Node73compspts[0],Node73compspts[1],0,0];
- Node73.setImage(GD.getPolyLineJSON());
- Node73.setPosition(Node73rect.x+Node73rect.width/2,Node73rect.y+Node73rect.height/2);
- Node73.setSize(Node73rect.width,Node73rect.height);
- Node73.setStyle("opacity",1);
- Node73.s({'pixelPerfect':true});
- Node73borderwidth=1;
- Node73.setRotation(0);
- dataModel.add(Node73);
- Node73.a('node.points',Node73compspts);
- Node73.a('node.segments',[1,2]);
- Node73.a('node.color','rgba(192,192,192,1)');
- Node73.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node73.a('node.borderColor','rgba(192,192,192,1)');
- Node73.a('node.background','rgba(192,192,192,1)');
- Node73.a('node.gradient','');
- Node73.a('node.gradientcolor','rgba(192,192,192,1)');
- Node73.a('node.endCompspts',Node73endCompspts);
- Node73.a('node.startCompspts',Node73startCompspts);
- (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 = 'Node73';
- 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);
- }
- })(Node73, Node73.getImage(), Node73compspts, Node73endCompspts, Node73startCompspts);
- var Node74points=[331, 504,331, 595],
- Node74rect=ht.Default.unionPoint([{x:331,y:504},{x:331,y:595}]),
- Node74compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node74points.length;i++){
- if(i%2==0){
- Node74compspts.push(Node74points[i]-Node74rect.x);
- }else{
- Node74compspts.push(Node74points[i]-Node74rect.y);
- }
- }
- var Node74ptslength=Node74compspts.length;
- if (Node74rect.height === 0) {
- Node74compspts[0] -= 0;
- Node74compspts[Node74ptslength-2] += 0;
- } else if (Node74rect.width === 0){
- Node74compspts[1] -= 0;
- Node74compspts[Node74ptslength-1] += 0;
- } else {
- Node74compspts[0] -= 0;
- Node74compspts[1] -= 0;
- Node74compspts[Node74ptslength-2] += 0;
- Node74compspts[Node74ptslength-1] += 0;
- }
- Node74 = new ht.Node();
- Node74.borderWidth = 1;
- Node74rect.width = Node74rect.width === 0 ? 0.0001 : Node74rect.width;
- Node74rect.height = Node74rect.height === 0 ? 0.0001 : Node74rect.height;
- var Node74endCompspts = [Node74compspts[Node74ptslength-2],Node74compspts[Node74ptslength-1],0,0];
- var Node74startCompspts = [Node74compspts[0],Node74compspts[1],0,0];
- Node74.setImage(GD.getPolyLineJSON());
- Node74.setPosition(Node74rect.x+Node74rect.width/2,Node74rect.y+Node74rect.height/2);
- Node74.setSize(Node74rect.width,Node74rect.height);
- Node74.setStyle("opacity",1);
- Node74.s({'pixelPerfect':true});
- Node74borderwidth=1;
- Node74.setRotation(0);
- dataModel.add(Node74);
- Node74.a('node.points',Node74compspts);
- Node74.a('node.segments',[1,2]);
- Node74.a('node.color','rgba(192,192,192,1)');
- Node74.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node74.a('node.borderColor','rgba(192,192,192,1)');
- Node74.a('node.background','rgba(192,192,192,1)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','rgba(192,192,192,1)');
- Node74.a('node.endCompspts',Node74endCompspts);
- Node74.a('node.startCompspts',Node74startCompspts);
- (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 = 'Node74';
- 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);
- }
- })(Node74, Node74.getImage(), Node74compspts, Node74endCompspts, Node74startCompspts);
- var Node75points=[5, 428,377, 428],
- Node75rect=ht.Default.unionPoint([{x:5,y:428},{x:377,y:428}]),
- Node75compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node75points.length;i++){
- if(i%2==0){
- Node75compspts.push(Node75points[i]-Node75rect.x);
- }else{
- Node75compspts.push(Node75points[i]-Node75rect.y);
- }
- }
- var Node75ptslength=Node75compspts.length;
- if (Node75rect.height === 0) {
- Node75compspts[0] -= 0;
- Node75compspts[Node75ptslength-2] += 0;
- } else if (Node75rect.width === 0){
- Node75compspts[1] -= 0;
- Node75compspts[Node75ptslength-1] += 0;
- } else {
- Node75compspts[0] -= 0;
- Node75compspts[1] -= 0;
- Node75compspts[Node75ptslength-2] += 0;
- Node75compspts[Node75ptslength-1] += 0;
- }
- Node75 = new ht.Node();
- Node75.borderWidth = 1;
- Node75rect.width = Node75rect.width === 0 ? 0.0001 : Node75rect.width;
- Node75rect.height = Node75rect.height === 0 ? 0.0001 : Node75rect.height;
- var Node75endCompspts = [Node75compspts[Node75ptslength-2],Node75compspts[Node75ptslength-1],0,0];
- var Node75startCompspts = [Node75compspts[0],Node75compspts[1],0,0];
- Node75.setImage(GD.getPolyLineJSON());
- Node75.setPosition(Node75rect.x+Node75rect.width/2,Node75rect.y+Node75rect.height/2);
- Node75.setSize(Node75rect.width,Node75rect.height);
- Node75.setStyle("opacity",1);
- Node75.s({'pixelPerfect':true});
- Node75borderwidth=1;
- Node75.setRotation(0);
- dataModel.add(Node75);
- Node75.a('node.points',Node75compspts);
- Node75.a('node.segments',[1,2]);
- Node75.a('node.color','rgba(192,192,192,1)');
- Node75.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node75.a('node.borderColor','rgba(192,192,192,1)');
- Node75.a('node.background','rgba(192,192,192,1)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','rgba(192,192,192,1)');
- Node75.a('node.endCompspts',Node75endCompspts);
- Node75.a('node.startCompspts',Node75startCompspts);
- (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 = 'Node75';
- 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);
- }
- })(Node75, Node75.getImage(), Node75compspts, Node75endCompspts, Node75startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76 = new ht.Node();
- var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 39*_ratio.ratioX, Node76height = 16*_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(36*ratio.ratioX, 520*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(128,128,255,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','left');
- Node76.a('node.textvAlign','middle');
- Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
- Node76.a('node.color','rgba(128,128,255,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(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,' '+ Node76fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (16 - 13.3333) * 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.Node();
- var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'left', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 39*_ratio.ratioX, Node77height = 16*_ratio.ratioY;
- (function () {
- if (Node77align === 'left') {
- Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
- Node77textWidth = Node77width;
- Node77lineStart = 1;
- } else if (Node77align === 'right') {
- Node77textStart = 0;
- Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
- Node77lineStart = (Node77width - (ht.Default.getTextSize('维护', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('维护', ' '+ Node77fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
- Node77.setPosition(37*ratio.ratioX, 550*ratio.ratioY);
- Node77.setWidth(Node77width);
- Node77.setHeight(Node77height);
- Node77._nodeType = 'text';
- Node77._disallowEvert = true;
- Node77.setRotation(0*Math.PI/180);
- Node77.a('node.width', Node77width);
- Node77.a('node.height', Node77height);
- Node77.a('node.rect', [0, 0, Node77width, Node77height]);
- Node77.a('node.bordercolor','rgba(192,64,0,1)');
- Node77.a('node.borderwidth', 0);
- Node77.a('node.background','' || 'rgba(0,0,0,0)');
- Node77.a('node.gradient','');
- Node77.a('node.gradientcolor','');
- Node77.a('node.text','维护');
- Node77.a('node.textalign','left');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(192,64,0,1)');
- Node77.a('node.font',' '+ Node77fontSize + 'px "Arial"');
- Node77.a('node.textvisible',true);
- Node77.a('node.linefeed',false);
- if (false) {
- Node77.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node77.a('node.text') || '维护';
- var color=Node77.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node77fontSize + 'px "Arial"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
- Node77.a('node.underlinevisible',false);
- Node77.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node77);
- zoomNodeList.push({
- node: Node77,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node78 = new ht.Node();
- var Node78textStart, Node78textWidth, Node78lineStart, Node78align = 'left', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 39*_ratio.ratioX, Node78height = 16*_ratio.ratioY;
- (function () {
- if (Node78align === 'left') {
- Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9;
- Node78textWidth = Node78width;
- Node78lineStart = 1;
- } else if (Node78align === 'right') {
- Node78textStart = 0;
- Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2;
- Node78lineStart = (Node78width - (ht.Default.getTextSize('限电', ' '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node78align === 'center') {
- Node78textStart = -3;
- Node78textWidth = Node78width;
- Node78lineStart = Node78width - ht.Default.getTextSize('限电', ' '+ Node78fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, ' '+ Node78fontSize + 'px "Arial"'))
- Node78.setPosition(37*ratio.ratioX, 580*ratio.ratioY);
- Node78.setWidth(Node78width);
- Node78.setHeight(Node78height);
- Node78._nodeType = 'text';
- Node78._disallowEvert = true;
- Node78.setRotation(0*Math.PI/180);
- Node78.a('node.width', Node78width);
- Node78.a('node.height', Node78height);
- Node78.a('node.rect', [0, 0, Node78width, Node78height]);
- Node78.a('node.bordercolor','rgba(128,0,128,1)');
- Node78.a('node.borderwidth', 0);
- Node78.a('node.background','' || 'rgba(0,0,0,0)');
- Node78.a('node.gradient','');
- Node78.a('node.gradientcolor','');
- Node78.a('node.text','限电');
- Node78.a('node.textalign','left');
- Node78.a('node.textvAlign','middle');
- Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]);
- Node78.a('node.color','rgba(128,0,128,1)');
- Node78.a('node.font',' '+ Node78fontSize + 'px "Arial"');
- Node78.a('node.textvisible',true);
- Node78.a('node.linefeed',false);
- if (false) {
- Node78.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node78.a('node.text') || '限电';
- var color=Node78.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"left",color,' '+ Node78fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node78.a('node.underlinepoints',[Node78lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node78fontSize + 'px "Arial"').width + 6, (Node78height - Node78fontSize) * 0.5*_ratio.ratioY + Node78fontSize + 2 ]);
- Node78.a('node.underlinevisible',false);
- Node78.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node78);
- zoomNodeList.push({
- node: Node78,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79 = new ht.Node();
- var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'left', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 39*_ratio.ratioX, Node79height = 16*_ratio.ratioY;
- (function () {
- if (Node79align === 'left') {
- Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9;
- Node79textWidth = Node79width;
- Node79lineStart = 1;
- } else if (Node79align === 'right') {
- Node79textStart = 0;
- Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2;
- Node79lineStart = (Node79width - (ht.Default.getTextSize('待机', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('待机', ' '+ Node79fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"'))
- Node79.setPosition(226*ratio.ratioX, 520*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,128,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','待机');
- Node79.a('node.textalign','left');
- Node79.a('node.textvAlign','middle');
- Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
- Node79.a('node.color','rgba(0,128,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') || '待机';
- var color=Node79.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"left",color,' '+ Node79fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('待机', ' '+ 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 = 39*_ratio.ratioX, Node80height = 16*_ratio.ratioY;
- (function () {
- if (Node80align === 'left') {
- Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
- Node80textWidth = Node80width;
- Node80lineStart = 1;
- } else if (Node80align === 'right') {
- Node80textStart = 0;
- Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
- Node80lineStart = (Node80width - (ht.Default.getTextSize('故障', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('故障', ' '+ Node80fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
- Node80.setPosition(227*ratio.ratioX, 550*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(192,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(192,0,0,1)');
- Node80.a('node.font',' '+ 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(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('故障', ' '+ 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 = 13.3333*_ratio.ratioY,Node81width = 39*_ratio.ratioX, Node81height = 16*_ratio.ratioY;
- (function () {
- if (Node81align === 'left') {
- Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
- Node81textWidth = Node81width;
- Node81lineStart = 1;
- } else if (Node81align === 'right') {
- Node81textStart = 0;
- Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
- Node81lineStart = (Node81width - (ht.Default.getTextSize('离线', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node81align === 'center') {
- Node81textStart = -3;
- Node81textWidth = Node81width;
- Node81lineStart = Node81width - ht.Default.getTextSize('离线', ' '+ Node81fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"'))
- Node81.setPosition(227*ratio.ratioX, 580*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(128,128,128,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','离线');
- Node81.a('node.textalign','left');
- Node81.a('node.textvAlign','middle');
- Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
- Node81.a('node.color','rgba(128,128,128,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') || '离线';
- var color=Node81.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"left",color,' '+ Node81fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node81.a('node.underlinepoints',[Node81lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('离线', ' '+ 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 Node82 = new ht.Node();
- var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'left', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 29*_ratio.ratioX, Node82height = 25*_ratio.ratioY;
- (function () {
- if (Node82align === 'left') {
- Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
- Node82textWidth = Node82width;
- Node82lineStart = 1;
- } else if (Node82align === 'right') {
- Node82textStart = 0;
- Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
- Node82lineStart = (Node82width - (ht.Default.getTextSize('台', ' '+ Node82fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node82align === 'center') {
- Node82textStart = -3;
- Node82textWidth = Node82width;
- Node82lineStart = Node82width - ht.Default.getTextSize('台', ' '+ Node82fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "UniDreamLED"'))
- Node82.setPosition(178*ratio.ratioX, 520*ratio.ratioY);
- Node82.setWidth(Node82width);
- Node82.setHeight(Node82height);
- Node82._nodeType = 'text';
- Node82._disallowEvert = true;
- Node82.setRotation(0*Math.PI/180);
- Node82.a('node.width', Node82width);
- Node82.a('node.height', Node82height);
- Node82.a('node.rect', [0, 0, Node82width, Node82height]);
- Node82.a('node.bordercolor','rgba(64,64,64,1)');
- Node82.a('node.borderwidth', 0);
- Node82.a('node.background','' || 'rgba(0,0,0,0)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','');
- Node82.a('node.text','台');
- Node82.a('node.textalign','left');
- Node82.a('node.textvAlign','middle');
- Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
- Node82.a('node.color','rgba(64,64,64,1)');
- Node82.a('node.font',' '+ Node82fontSize + 'px "UniDreamLED"');
- Node82.a('node.textvisible',true);
- Node82.a('node.linefeed',false);
- if (false) {
- Node82.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node82.a('node.text') || '台';
- var color=Node82.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"left",color,' '+ Node82fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node82.a('node.underlinepoints',[Node82lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node82fontSize + 'px "UniDreamLED"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
- Node82.a('node.underlinevisible',false);
- Node82.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node82);
- zoomNodeList.push({
- node: Node82,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83 = new ht.Node();
- var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'left', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 29*_ratio.ratioX, Node83height = 25*_ratio.ratioY;
- (function () {
- if (Node83align === 'left') {
- Node83textStart = Node83fontSize * 0.2 > 2 ? Node83fontSize * 0.2 - 4 : Node83fontSize * 0.2 - 9;
- Node83textWidth = Node83width;
- Node83lineStart = 1;
- } else if (Node83align === 'right') {
- Node83textStart = 0;
- Node83textWidth =Node83fontSize <= 8 ? Node83width + Node83fontSize * 0.2 + 6 : Node83width - Node83fontSize * 0.2;
- Node83lineStart = (Node83width - (ht.Default.getTextSize('台', ' '+ Node83fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node83align === 'center') {
- Node83textStart = -3;
- Node83textWidth = Node83width;
- Node83lineStart = Node83width - ht.Default.getTextSize('台', ' '+ Node83fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "UniDreamLED"'))
- Node83.setPosition(178*ratio.ratioX, 551*ratio.ratioY);
- Node83.setWidth(Node83width);
- Node83.setHeight(Node83height);
- Node83._nodeType = 'text';
- Node83._disallowEvert = true;
- Node83.setRotation(0*Math.PI/180);
- Node83.a('node.width', Node83width);
- Node83.a('node.height', Node83height);
- Node83.a('node.rect', [0, 0, Node83width, Node83height]);
- Node83.a('node.bordercolor','rgba(64,64,64,1)');
- Node83.a('node.borderwidth', 0);
- Node83.a('node.background','' || 'rgba(0,0,0,0)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','');
- Node83.a('node.text','台');
- Node83.a('node.textalign','left');
- Node83.a('node.textvAlign','middle');
- Node83.a('node.textrect', [Node83textStart, 0, Node83textWidth, Node83height]);
- Node83.a('node.color','rgba(64,64,64,1)');
- Node83.a('node.font',' '+ Node83fontSize + 'px "UniDreamLED"');
- Node83.a('node.textvisible',true);
- Node83.a('node.linefeed',false);
- if (false) {
- Node83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node83.a('node.text') || '台';
- var color=Node83.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node83width,Node83height,13.3333*_ratio.ratioY,"left",color,' '+ Node83fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node83.a('node.underlinepoints',[Node83lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node83fontSize + 'px "UniDreamLED"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
- Node83.a('node.underlinevisible',false);
- Node83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node83);
- zoomNodeList.push({
- node: Node83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84 = new ht.Node();
- var Node84textStart, Node84textWidth, Node84lineStart, Node84align = 'left', Node84fontSize = 13.3333*_ratio.ratioY,Node84width = 29*_ratio.ratioX, Node84height = 25*_ratio.ratioY;
- (function () {
- if (Node84align === 'left') {
- Node84textStart = Node84fontSize * 0.2 > 2 ? Node84fontSize * 0.2 - 4 : Node84fontSize * 0.2 - 9;
- Node84textWidth = Node84width;
- Node84lineStart = 1;
- } else if (Node84align === 'right') {
- Node84textStart = 0;
- Node84textWidth =Node84fontSize <= 8 ? Node84width + Node84fontSize * 0.2 + 6 : Node84width - Node84fontSize * 0.2;
- Node84lineStart = (Node84width - (ht.Default.getTextSize('台', ' '+ Node84fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node84align === 'center') {
- Node84textStart = -3;
- Node84textWidth = Node84width;
- Node84lineStart = Node84width - ht.Default.getTextSize('台', ' '+ Node84fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node84.setImage(GD.getTextJSON(Node84width, Node84height, true, false, false, ' '+ Node84fontSize + 'px "UniDreamLED"'))
- Node84.setPosition(179*ratio.ratioX, 580*ratio.ratioY);
- Node84.setWidth(Node84width);
- Node84.setHeight(Node84height);
- Node84._nodeType = 'text';
- Node84._disallowEvert = true;
- Node84.setRotation(0*Math.PI/180);
- Node84.a('node.width', Node84width);
- Node84.a('node.height', Node84height);
- Node84.a('node.rect', [0, 0, Node84width, Node84height]);
- Node84.a('node.bordercolor','rgba(64,64,64,1)');
- Node84.a('node.borderwidth', 0);
- Node84.a('node.background','' || 'rgba(0,0,0,0)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','');
- Node84.a('node.text','台');
- Node84.a('node.textalign','left');
- Node84.a('node.textvAlign','middle');
- Node84.a('node.textrect', [Node84textStart, 0, Node84textWidth, Node84height]);
- Node84.a('node.color','rgba(64,64,64,1)');
- Node84.a('node.font',' '+ Node84fontSize + 'px "UniDreamLED"');
- Node84.a('node.textvisible',true);
- Node84.a('node.linefeed',false);
- if (false) {
- Node84.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node84.a('node.text') || '台';
- var color=Node84.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node84width,Node84height,13.3333*_ratio.ratioY,"left",color,' '+ Node84fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node84.a('node.underlinepoints',[Node84lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node84fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node84fontSize + 'px "UniDreamLED"').width + 6, (Node84height - Node84fontSize) * 0.5*_ratio.ratioY + Node84fontSize + 2 ]);
- Node84.a('node.underlinevisible',false);
- Node84.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node84);
- zoomNodeList.push({
- node: Node84,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85 = new ht.Node();
- var Node85textStart, Node85textWidth, Node85lineStart, Node85align = 'left', Node85fontSize = 13.3333*_ratio.ratioY,Node85width = 29*_ratio.ratioX, Node85height = 25*_ratio.ratioY;
- (function () {
- if (Node85align === 'left') {
- Node85textStart = Node85fontSize * 0.2 > 2 ? Node85fontSize * 0.2 - 4 : Node85fontSize * 0.2 - 9;
- Node85textWidth = Node85width;
- Node85lineStart = 1;
- } else if (Node85align === 'right') {
- Node85textStart = 0;
- Node85textWidth =Node85fontSize <= 8 ? Node85width + Node85fontSize * 0.2 + 6 : Node85width - Node85fontSize * 0.2;
- Node85lineStart = (Node85width - (ht.Default.getTextSize('99', ' '+ Node85fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node85align === 'center') {
- Node85textStart = -3;
- Node85textWidth = Node85width;
- Node85lineStart = Node85width - ht.Default.getTextSize('99', ' '+ Node85fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node85.setImage(GD.getTextJSON(Node85width, Node85height, true, false, false, ' '+ Node85fontSize + 'px "UniDreamLED"'))
- Node85.setPosition(123*ratio.ratioX, 520*ratio.ratioY);
- Node85.setWidth(Node85width);
- Node85.setHeight(Node85height);
- Node85._nodeType = 'text';
- Node85._disallowEvert = true;
- Node85.setRotation(0*Math.PI/180);
- Node85.a('node.width', Node85width);
- Node85.a('node.height', Node85height);
- Node85.a('node.rect', [0, 0, Node85width, Node85height]);
- Node85.a('node.bordercolor','rgba(64,64,64,1)');
- Node85.a('node.borderwidth', 0);
- Node85.a('node.background','' || 'rgba(0,0,0,0)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','');
- Node85.a('node.text','99');
- Node85.a('node.textalign','left');
- Node85.a('node.textvAlign','middle');
- Node85.a('node.textrect', [Node85textStart, 0, Node85textWidth, Node85height]);
- Node85.a('node.color','rgba(64,64,64,1)');
- Node85.a('node.font',' '+ Node85fontSize + 'px "UniDreamLED"');
- Node85.a('node.textvisible',true);
- Node85.a('node.linefeed',false);
- if (false) {
- Node85.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node85.a('node.text') || '99';
- var color=Node85.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node85width,Node85height,13.3333*_ratio.ratioY,"left",color,' '+ Node85fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node85.a('node.underlinepoints',[Node85lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node85fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node85fontSize + 'px "UniDreamLED"').width + 6, (Node85height - Node85fontSize) * 0.5*_ratio.ratioY + Node85fontSize + 2 ]);
- Node85.a('node.underlinevisible',false);
- Node85.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node85);
- zoomNodeList.push({
- node: Node85,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 29*_ratio.ratioX, Node86height = 25*_ratio.ratioY;
- (function () {
- if (Node86align === 'left') {
- Node86textStart = Node86fontSize * 0.2 > 2 ? Node86fontSize * 0.2 - 4 : Node86fontSize * 0.2 - 9;
- Node86textWidth = Node86width;
- Node86lineStart = 1;
- } else if (Node86align === 'right') {
- Node86textStart = 0;
- Node86textWidth =Node86fontSize <= 8 ? Node86width + Node86fontSize * 0.2 + 6 : Node86width - Node86fontSize * 0.2;
- Node86lineStart = (Node86width - (ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "UniDreamLED"'))
- Node86.setPosition(123*ratio.ratioX, 549*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(64,64,64,1)');
- Node86.a('node.borderwidth', 0);
- Node86.a('node.background','' || 'rgba(0,0,0,0)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','');
- Node86.a('node.text','0');
- Node86.a('node.textalign','left');
- Node86.a('node.textvAlign','middle');
- Node86.a('node.textrect', [Node86textStart, 0, Node86textWidth, Node86height]);
- Node86.a('node.color','rgba(64,64,64,1)');
- Node86.a('node.font',' '+ Node86fontSize + 'px "UniDreamLED"');
- Node86.a('node.textvisible',true);
- Node86.a('node.linefeed',false);
- if (false) {
- Node86.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node86.a('node.text') || '0';
- var color=Node86.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node86width,Node86height,13.3333*_ratio.ratioY,"left",color,' '+ Node86fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node86fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node87height = 25*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "UniDreamLED"'))
- Node87.setPosition(123*ratio.ratioX, 580*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(64,64,64,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','0');
- Node87.a('node.textalign','left');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(64,64,64,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "UniDreamLED"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || '0';
- var color=Node87.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"left",color,' '+ Node87fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node87fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node88height = 25*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "UniDreamLED"'))
- Node88.setPosition(300*ratio.ratioX, 520*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(64,64,64,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','0');
- Node88.a('node.textalign','left');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(64,64,64,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "UniDreamLED"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || '0';
- var color=Node88.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"left",color,' '+ Node88fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node88fontSize + 'px "UniDreamLED"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.Node();
- var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'left', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 29*_ratio.ratioX, Node89height = 25*_ratio.ratioY;
- (function () {
- if (Node89align === 'left') {
- Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
- Node89textWidth = Node89width;
- Node89lineStart = 1;
- } else if (Node89align === 'right') {
- Node89textStart = 0;
- Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
- Node89lineStart = (Node89width - (ht.Default.getTextSize('0', ' '+ Node89fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node89align === 'center') {
- Node89textStart = -3;
- Node89textWidth = Node89width;
- Node89lineStart = Node89width - ht.Default.getTextSize('0', ' '+ Node89fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "UniDreamLED"'))
- Node89.setPosition(300*ratio.ratioX, 549*ratio.ratioY);
- Node89.setWidth(Node89width);
- Node89.setHeight(Node89height);
- Node89._nodeType = 'text';
- Node89._disallowEvert = true;
- Node89.setRotation(0*Math.PI/180);
- Node89.a('node.width', Node89width);
- Node89.a('node.height', Node89height);
- Node89.a('node.rect', [0, 0, Node89width, Node89height]);
- Node89.a('node.bordercolor','rgba(64,64,64,1)');
- Node89.a('node.borderwidth', 0);
- Node89.a('node.background','' || 'rgba(0,0,0,0)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','');
- Node89.a('node.text','0');
- Node89.a('node.textalign','left');
- Node89.a('node.textvAlign','middle');
- Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
- Node89.a('node.color','rgba(64,64,64,1)');
- Node89.a('node.font',' '+ Node89fontSize + 'px "UniDreamLED"');
- Node89.a('node.textvisible',true);
- Node89.a('node.linefeed',false);
- if (false) {
- Node89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node89.a('node.text') || '0';
- var color=Node89.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"left",color,' '+ Node89fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node89.a('node.underlinepoints',[Node89lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node89fontSize + 'px "UniDreamLED"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
- Node89.a('node.underlinevisible',false);
- Node89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node89);
- zoomNodeList.push({
- node: Node89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 29*_ratio.ratioX, Node90height = 25*_ratio.ratioY;
- (function () {
- if (Node90align === 'left') {
- Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
- Node90textWidth = Node90width;
- Node90lineStart = 1;
- } else if (Node90align === 'right') {
- Node90textStart = 0;
- Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
- Node90lineStart = (Node90width - (ht.Default.getTextSize('0', ' '+ Node90fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('0', ' '+ Node90fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "UniDreamLED"'))
- Node90.setPosition(300*ratio.ratioX, 580*ratio.ratioY);
- Node90.setWidth(Node90width);
- Node90.setHeight(Node90height);
- Node90._nodeType = 'text';
- Node90._disallowEvert = true;
- Node90.setRotation(0*Math.PI/180);
- Node90.a('node.width', Node90width);
- Node90.a('node.height', Node90height);
- Node90.a('node.rect', [0, 0, Node90width, Node90height]);
- Node90.a('node.bordercolor','rgba(64,64,64,1)');
- Node90.a('node.borderwidth', 0);
- Node90.a('node.background','' || 'rgba(0,0,0,0)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','');
- Node90.a('node.text','0');
- Node90.a('node.textalign','left');
- Node90.a('node.textvAlign','middle');
- Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
- Node90.a('node.color','rgba(64,64,64,1)');
- Node90.a('node.font',' '+ Node90fontSize + 'px "UniDreamLED"');
- Node90.a('node.textvisible',true);
- Node90.a('node.linefeed',false);
- if (false) {
- Node90.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node90.a('node.text') || '0';
- var color=Node90.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"left",color,' '+ Node90fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node90.a('node.underlinepoints',[Node90lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node90fontSize + 'px "UniDreamLED"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 29*_ratio.ratioX, Node91height = 25*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('台', ' '+ Node91fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('台', ' '+ Node91fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "UniDreamLED"'))
- Node91.setPosition(354*ratio.ratioX, 519*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(64,64,64,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','台');
- Node91.a('node.textalign','left');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(64,64,64,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "UniDreamLED"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || '台';
- var color=Node91.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"left",color,' '+ Node91fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node91fontSize + 'px "UniDreamLED"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92 = new ht.Node();
- var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 29*_ratio.ratioX, Node92height = 25*_ratio.ratioY;
- (function () {
- if (Node92align === 'left') {
- Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
- Node92textWidth = Node92width;
- Node92lineStart = 1;
- } else if (Node92align === 'right') {
- Node92textStart = 0;
- Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
- Node92lineStart = (Node92width - (ht.Default.getTextSize('台', ' '+ Node92fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('台', ' '+ Node92fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "UniDreamLED"'))
- Node92.setPosition(354*ratio.ratioX, 550*ratio.ratioY);
- Node92.setWidth(Node92width);
- Node92.setHeight(Node92height);
- Node92._nodeType = 'text';
- Node92._disallowEvert = true;
- Node92.setRotation(0*Math.PI/180);
- Node92.a('node.width', Node92width);
- Node92.a('node.height', Node92height);
- Node92.a('node.rect', [0, 0, Node92width, Node92height]);
- Node92.a('node.bordercolor','rgba(64,64,64,1)');
- Node92.a('node.borderwidth', 0);
- Node92.a('node.background','' || 'rgba(0,0,0,0)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','');
- Node92.a('node.text','台');
- Node92.a('node.textalign','left');
- Node92.a('node.textvAlign','middle');
- Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
- Node92.a('node.color','rgba(64,64,64,1)');
- Node92.a('node.font',' '+ Node92fontSize + 'px "UniDreamLED"');
- Node92.a('node.textvisible',true);
- Node92.a('node.linefeed',false);
- if (false) {
- Node92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node92.a('node.text') || '台';
- var color=Node92.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node92.a('node.underlinepoints',[Node92lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node92fontSize + 'px "UniDreamLED"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
- Node92.a('node.underlinevisible',false);
- Node92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node92);
- zoomNodeList.push({
- node: Node92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 29*_ratio.ratioX, Node93height = 25*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('台', ' '+ Node93fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "UniDreamLED"'))
- Node93.setPosition(355*ratio.ratioX, 579*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(64,64,64,1)');
- Node93.a('node.borderwidth', 0);
- Node93.a('node.background','' || 'rgba(0,0,0,0)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','');
- Node93.a('node.text','台');
- Node93.a('node.textalign','left');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(64,64,64,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node93fontSize + 'px "UniDreamLED"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
- Node93.a('node.underlinevisible',false);
- Node93.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node93);
- zoomNodeList.push({
- node: Node93,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94type = 'rect';
- var Node94 = new ht.Node(),
- Node94BorderWidth = 0*2;
- if (Node94type === 'arc') {
- Node94BorderWidth *= 0;
- }
- Node94.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node94.setPosition(603*ratio.ratioX, 581*ratio.ratioY);
- Node94.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node94.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node94.a('node.width', 66*_ratio.ratioX);
- Node94.a('node.height', 30*_ratio.ratioY);
- Node94.a('node.type', Node94type);
- Node94.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node94.a('node.background', 'rgba(245,245,245,1)');
- Node94.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node94.a('node.gradient', '');
- Node94.a('node.borderwidth', Node94BorderWidth);
- Node94.a('node.color', 'rgba(224,224,224,0)');
- Node94.a('node.fillrect', [0,0,0,0]);
- Node94.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradient', '');
- if (Node94type !== 'rect') {
- Node94.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node94.a('node.arcTo', parseFloat('@arcTo@'));
- Node94.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node94type === 'arc') {
- Node94.a('node.arcOval', true);
- }
- Node94.setRotation(0*Math.PI/180);
- Node94.borderWidth = Node94BorderWidth;
- Node94.borderFillwidth = Node94BorderWidth;
- dataModel.add(Node94);
- Node94._nodename = 'Node94'
- Node94._nodeType = 'rect';
- zoomNodeList.push({
- node: Node94,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node94, Node94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95type = 'rect';
- var Node95 = new ht.Node(),
- Node95BorderWidth = 0*2;
- if (Node95type === 'arc') {
- Node95BorderWidth *= 0;
- }
- Node95.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node95.setPosition(603*ratio.ratioX, 550*ratio.ratioY);
- Node95.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node95.a('node.width', 66*_ratio.ratioX);
- Node95.a('node.height', 30*_ratio.ratioY);
- Node95.a('node.type', Node95type);
- Node95.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node95.a('node.background', 'rgba(245,245,245,1)');
- Node95.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node95.a('node.gradient', '');
- Node95.a('node.borderwidth', Node95BorderWidth);
- Node95.a('node.color', 'rgba(224,224,224,0)');
- Node95.a('node.fillrect', [0,0,0,0]);
- Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradient', '');
- if (Node95type !== 'rect') {
- Node95.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node95.a('node.arcTo', parseFloat('@arcTo@'));
- Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node95type === 'arc') {
- Node95.a('node.arcOval', true);
- }
- Node95.setRotation(0*Math.PI/180);
- Node95.borderWidth = Node95BorderWidth;
- Node95.borderFillwidth = Node95BorderWidth;
- dataModel.add(Node95);
- Node95._nodename = 'Node95'
- Node95._nodeType = 'rect';
- zoomNodeList.push({
- node: Node95,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96type = 'rect';
- var Node96 = new ht.Node(),
- Node96BorderWidth = 0*2;
- if (Node96type === 'arc') {
- Node96BorderWidth *= 0;
- }
- Node96.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node96.setPosition(603*ratio.ratioX, 519*ratio.ratioY);
- Node96.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node96.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node96.a('node.width', 66*_ratio.ratioX);
- Node96.a('node.height', 30*_ratio.ratioY);
- Node96.a('node.type', Node96type);
- Node96.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node96.a('node.background', 'rgba(245,245,245,1)');
- Node96.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node96.a('node.gradient', '');
- Node96.a('node.borderwidth', Node96BorderWidth);
- Node96.a('node.color', 'rgba(224,224,224,0)');
- Node96.a('node.fillrect', [0,0,0,0]);
- Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradient', '');
- if (Node96type !== 'rect') {
- Node96.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node96.a('node.arcTo', parseFloat('@arcTo@'));
- Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node96type === 'arc') {
- Node96.a('node.arcOval', true);
- }
- Node96.setRotation(0*Math.PI/180);
- Node96.borderWidth = Node96BorderWidth;
- Node96.borderFillwidth = Node96BorderWidth;
- dataModel.add(Node96);
- Node96._nodename = 'Node96'
- Node96._nodeType = 'rect';
- zoomNodeList.push({
- node: Node96,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97type = 'rect';
- var Node97 = new ht.Node(),
- Node97BorderWidth = 0*2;
- if (Node97type === 'arc') {
- Node97BorderWidth *= 0;
- }
- Node97.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node97.setPosition(414*ratio.ratioX, 581*ratio.ratioY);
- Node97.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node97.a('node.width', 66*_ratio.ratioX);
- Node97.a('node.height', 30*_ratio.ratioY);
- Node97.a('node.type', Node97type);
- Node97.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node97.a('node.background', 'rgba(245,245,245,1)');
- Node97.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node97.a('node.gradient', '');
- Node97.a('node.borderwidth', Node97BorderWidth);
- Node97.a('node.color', 'rgba(224,224,224,0)');
- 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 = 0*2;
- if (Node98type === 'arc') {
- Node98BorderWidth *= 0;
- }
- Node98.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node98type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node98.setPosition(414*ratio.ratioX, 549*ratio.ratioY);
- Node98.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node98.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node98.a('node.width', 66*_ratio.ratioX);
- Node98.a('node.height', 30*_ratio.ratioY);
- Node98.a('node.type', Node98type);
- Node98.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node98.a('node.background', 'rgba(245,245,245,1)');
- Node98.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node98.a('node.gradient', '');
- Node98.a('node.borderwidth', Node98BorderWidth);
- Node98.a('node.color', 'rgba(224,224,224,0)');
- 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 = 0*2;
- if (Node99type === 'arc') {
- Node99BorderWidth *= 0;
- }
- Node99.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node99type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node99.setPosition(415*ratio.ratioX, 518*ratio.ratioY);
- Node99.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node99.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node99.a('node.width', 66*_ratio.ratioX);
- Node99.a('node.height', 30*_ratio.ratioY);
- Node99.a('node.type', Node99type);
- Node99.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node99.a('node.background', 'rgba(245,245,245,1)');
- Node99.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node99.a('node.gradient', '');
- Node99.a('node.borderwidth', Node99BorderWidth);
- Node99.a('node.color', 'rgba(224,224,224,0)');
- Node99.a('node.fillrect', [0,0,0,0]);
- Node99.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node99.a('node.fillgradient', '');
- if (Node99type !== 'rect') {
- Node99.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node99.a('node.arcTo', parseFloat('@arcTo@'));
- Node99.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node99type === 'arc') {
- Node99.a('node.arcOval', true);
- }
- Node99.setRotation(0*Math.PI/180);
- Node99.borderWidth = Node99BorderWidth;
- Node99.borderFillwidth = Node99BorderWidth;
- dataModel.add(Node99);
- Node99._nodename = 'Node99'
- Node99._nodeType = 'rect';
- zoomNodeList.push({
- node: Node99,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node99, Node99.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100= new ht.Node();
- Node100._borderWidth = 1;
- Node100.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node100._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node100.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node100.background'},
- gradient: {value:'', func: 'attr@Node100.gradient'},
- gradientColor:{value:'', func: 'attr@Node100.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node100.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node100.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node100.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node100.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node100.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node100.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node100.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node100.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node100.borderPattern'}
- }
- ]
- });
- var Node100borderwidth = 1;
- var Node100borderFillwidth = 1*2;
- Node100 .setPosition(567*ratio.ratioX,451*ratio.ratioY);
- Node100.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node100.setRotation(0*Math.PI/180);
- Node100.s({'pixelPerfect':true});
- Node100.a('Node100.borderwidth',1);
- Node100.a('Node100.color','@bordercolor@');
- Node100.a('Node100.background','rgba(255,255,255,0.003921569)');
- Node100.a('Node100.gradient','');
- Node100.a('Node100.gradientcolor','');
- Node100.a('Node100.borderPattern',getDashStyle("Solid"));
- Node100.a('Node100.fillrect',[0,0,0,0]);
- Node100.a('Node100.fillbackcolor','rgba(0, 0, 0, 0)');
- Node100.a('Node100.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node100.a('Node100.fillgradient','');
- Node100borderwidth=1;
- dataModel.add(Node100);
- Node100.borderWidth = 1;
- Node100.borderFillwidth = 1*2;
- Node100._nodename = 'Node100';
- Node100._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node100,
- attr: 'Node100.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node100.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node100.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 = 'left', Node101fontSize = 11.99997*_ratio.ratioY,Node101width = 150*_ratio.ratioX, Node101height = 25*_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('右玉高家堡风电场', 'bold '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, 'bold '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(462*ratio.ratioX, 415*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(64,64,64,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','left');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(64,64,64,1)');
- Node101.a('node.font','bold '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '右玉高家堡风电场';
- var color=Node101.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node101width,Node101height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node102 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 662*ratio.ratioX, 415*ratio.ratioY, 0, {text:'132',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 11.99997*_ratio.ratioY,Node103width = 40*_ratio.ratioX, Node103height = 21*_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('4.48', ' '+ Node103fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('4.48', ' '+ Node103fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "UniDreamLED"'))
- Node103.setPosition(517*ratio.ratioX, 459*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','4.48');
- Node103.a('node.textalign','left');
- 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 "UniDreamLED"');
- 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') || '4.48';
- var color=Node103.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node103width,Node103height,11.99997*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node103fontSize + 'px "UniDreamLED"').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 = 'left', Node104fontSize = 11.99997*_ratio.ratioY,Node104width = 40*_ratio.ratioX, Node104height = 21*_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('m/s', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('m/s', ' '+ Node104fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
- Node104.setPosition(517*ratio.ratioX, 480*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','m/s');
- Node104.a('node.textalign','left');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(0,0,0,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || 'm/s';
- var color=Node104.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node104width,Node104height,11.99997*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
- Node104.a('node.underlinevisible',false);
- Node104.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node104);
- zoomNodeList.push({
- node: Node104,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105 = new ht.Node();
- var Node105textStart, Node105textWidth, Node105lineStart, Node105align = 'left', Node105fontSize = 11.99997*_ratio.ratioY,Node105width = 40*_ratio.ratioX, Node105height = 21*_ratio.ratioY;
- (function () {
- if (Node105align === 'left') {
- Node105textStart = Node105fontSize * 0.2 > 2 ? Node105fontSize * 0.2 - 4 : Node105fontSize * 0.2 - 9;
- Node105textWidth = Node105width;
- Node105lineStart = 1;
- } else if (Node105align === 'right') {
- Node105textStart = 0;
- Node105textWidth =Node105fontSize <= 8 ? Node105width + Node105fontSize * 0.2 + 6 : Node105width - Node105fontSize * 0.2;
- Node105lineStart = (Node105width - (ht.Default.getTextSize('功率', 'bold '+ Node105fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node105align === 'center') {
- Node105textStart = -3;
- Node105textWidth = Node105width;
- Node105lineStart = Node105width - ht.Default.getTextSize('功率', 'bold '+ Node105fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, 'bold '+ Node105fontSize + 'px "Arial"'))
- Node105.setPosition(577*ratio.ratioX, 447*ratio.ratioY);
- Node105.setWidth(Node105width);
- Node105.setHeight(Node105height);
- Node105._nodeType = 'text';
- Node105._disallowEvert = true;
- Node105.setRotation(0*Math.PI/180);
- Node105.a('node.width', Node105width);
- Node105.a('node.height', Node105height);
- Node105.a('node.rect', [0, 0, Node105width, Node105height]);
- Node105.a('node.bordercolor','rgba(64,64,64,1)');
- Node105.a('node.borderwidth', 0);
- Node105.a('node.background','' || 'rgba(0,0,0,0)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','');
- Node105.a('node.text','功率');
- Node105.a('node.textalign','left');
- Node105.a('node.textvAlign','middle');
- Node105.a('node.textrect', [Node105textStart, 0, Node105textWidth, Node105height]);
- Node105.a('node.color','rgba(64,64,64,1)');
- Node105.a('node.font','bold '+ Node105fontSize + 'px "Arial"');
- Node105.a('node.textvisible',true);
- Node105.a('node.linefeed',false);
- if (false) {
- Node105.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node105.a('node.text') || '功率';
- var color=Node105.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node105width,Node105height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node105fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node105.a('node.underlinepoints',[Node105lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node105fontSize + 'px "Arial"').width + 6, (Node105height - Node105fontSize) * 0.5*_ratio.ratioY + Node105fontSize + 2 ]);
- Node105.a('node.underlinevisible',false);
- Node105.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node105);
- zoomNodeList.push({
- node: Node105,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106 = new ht.Node();
- var Node106textStart, Node106textWidth, Node106lineStart, Node106align = 'left', Node106fontSize = 11.99997*_ratio.ratioY,Node106width = 44*_ratio.ratioX, Node106height = 21*_ratio.ratioY;
- (function () {
- if (Node106align === 'left') {
- Node106textStart = Node106fontSize * 0.2 > 2 ? Node106fontSize * 0.2 - 4 : Node106fontSize * 0.2 - 9;
- Node106textWidth = Node106width;
- Node106lineStart = 1;
- } else if (Node106align === 'right') {
- Node106textStart = 0;
- Node106textWidth =Node106fontSize <= 8 ? Node106width + Node106fontSize * 0.2 + 6 : Node106width - Node106fontSize * 0.2;
- Node106lineStart = (Node106width - (ht.Default.getTextSize('发电量', 'bold '+ Node106fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node106align === 'center') {
- Node106textStart = -3;
- Node106textWidth = Node106width;
- Node106lineStart = Node106width - ht.Default.getTextSize('发电量', 'bold '+ Node106fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, 'bold '+ Node106fontSize + 'px "Arial"'))
- Node106.setPosition(579*ratio.ratioX, 481*ratio.ratioY);
- Node106.setWidth(Node106width);
- Node106.setHeight(Node106height);
- Node106._nodeType = 'text';
- Node106._disallowEvert = true;
- Node106.setRotation(0*Math.PI/180);
- Node106.a('node.width', Node106width);
- Node106.a('node.height', Node106height);
- Node106.a('node.rect', [0, 0, Node106width, Node106height]);
- Node106.a('node.bordercolor','rgba(64,64,64,1)');
- Node106.a('node.borderwidth', 0);
- Node106.a('node.background','' || 'rgba(0,0,0,0)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','');
- Node106.a('node.text','发电量');
- Node106.a('node.textalign','left');
- Node106.a('node.textvAlign','middle');
- Node106.a('node.textrect', [Node106textStart, 0, Node106textWidth, Node106height]);
- Node106.a('node.color','rgba(64,64,64,1)');
- Node106.a('node.font','bold '+ Node106fontSize + 'px "Arial"');
- Node106.a('node.textvisible',true);
- Node106.a('node.linefeed',false);
- if (false) {
- Node106.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node106.a('node.text') || '发电量';
- var color=Node106.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node106width,Node106height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node106fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node106.a('node.underlinepoints',[Node106lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node106fontSize + 'px "Arial"').width + 6, (Node106height - Node106fontSize) * 0.5*_ratio.ratioY + Node106fontSize + 2 ]);
- Node106.a('node.underlinevisible',false);
- Node106.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node106);
- zoomNodeList.push({
- node: Node106,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107 = new ht.Node();
- var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'left', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 29*_ratio.ratioX, Node107height = 25*_ratio.ratioY;
- (function () {
- if (Node107align === 'left') {
- Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9;
- Node107textWidth = Node107width;
- Node107lineStart = 1;
- } else if (Node107align === 'right') {
- Node107textStart = 0;
- Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2;
- Node107lineStart = (Node107width - (ht.Default.getTextSize('台', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node107align === 'center') {
- Node107textStart = -3;
- Node107textWidth = Node107width;
- Node107lineStart = Node107width - ht.Default.getTextSize('台', ' '+ Node107fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"'))
- Node107.setPosition(727*ratio.ratioX, 416*ratio.ratioY);
- Node107.setWidth(Node107width);
- Node107.setHeight(Node107height);
- Node107._nodeType = 'text';
- Node107._disallowEvert = true;
- Node107.setRotation(0*Math.PI/180);
- Node107.a('node.width', Node107width);
- Node107.a('node.height', Node107height);
- Node107.a('node.rect', [0, 0, Node107width, Node107height]);
- Node107.a('node.bordercolor','rgba(64,64,64,1)');
- Node107.a('node.borderwidth', 0);
- Node107.a('node.background','' || 'rgba(0,0,0,0)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','');
- Node107.a('node.text','台');
- Node107.a('node.textalign','left');
- Node107.a('node.textvAlign','middle');
- Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]);
- Node107.a('node.color','rgba(64,64,64,1)');
- Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"');
- Node107.a('node.textvisible',true);
- Node107.a('node.linefeed',false);
- if (false) {
- Node107.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node107.a('node.text') || '台';
- var color=Node107.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"left",color,' '+ Node107fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node107.a('node.underlinepoints',[Node107lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
- Node107.a('node.underlinevisible',false);
- Node107.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node107);
- zoomNodeList.push({
- node: Node107,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node108 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 447*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node109 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 447*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 29*_ratio.ratioX, Node110height = 25*_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('MW', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('MW', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(719*ratio.ratioX, 446*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(64,64,64,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','MW');
- Node110.a('node.textalign','left');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(64,64,64,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') || 'MW';
- var color=Node110.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('MW', ' '+ 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, ratio);
- var Node111 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 481*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node112 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 481*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.Node();
- var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 43*_ratio.ratioX, Node113height = 25*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('万kwh', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('万kwh', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(727*ratio.ratioX, 481*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(64,64,64,1)');
- Node113.a('node.borderwidth', 0);
- Node113.a('node.background','' || 'rgba(0,0,0,0)');
- Node113.a('node.gradient','');
- Node113.a('node.gradientcolor','');
- Node113.a('node.text','万kwh');
- Node113.a('node.textalign','left');
- Node113.a('node.textvAlign','middle');
- Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
- Node113.a('node.color','rgba(64,64,64,1)');
- Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
- Node113.a('node.textvisible',true);
- Node113.a('node.linefeed',false);
- if (false) {
- Node113.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node113.a('node.text') || '万kwh';
- var color=Node113.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
- Node113.a('node.underlinevisible',false);
- Node113.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node113);
- zoomNodeList.push({
- node: Node113,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114type = 'rect';
- var Node114 = new ht.Node(),
- Node114BorderWidth = 1*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 1;
- }
- Node114.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(567*ratio.ratioX, 549*ratio.ratioY);
- Node114.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 373*_ratio.ratioX);
- Node114.a('node.height', 93*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_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(192,192,192,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());var Node115points=[381, 534,754, 534],
- Node115rect=ht.Default.unionPoint([{x:381,y:534},{x:754,y:534}]),
- Node115compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node115points.length;i++){
- if(i%2==0){
- Node115compspts.push(Node115points[i]-Node115rect.x);
- }else{
- Node115compspts.push(Node115points[i]-Node115rect.y);
- }
- }
- var Node115ptslength=Node115compspts.length;
- if (Node115rect.height === 0) {
- Node115compspts[0] -= 0;
- Node115compspts[Node115ptslength-2] += 0;
- } else if (Node115rect.width === 0){
- Node115compspts[1] -= 0;
- Node115compspts[Node115ptslength-1] += 0;
- } else {
- Node115compspts[0] -= 0;
- Node115compspts[1] -= 0;
- Node115compspts[Node115ptslength-2] += 0;
- Node115compspts[Node115ptslength-1] += 0;
- }
- Node115 = new ht.Node();
- Node115.borderWidth = 1;
- Node115rect.width = Node115rect.width === 0 ? 0.0001 : Node115rect.width;
- Node115rect.height = Node115rect.height === 0 ? 0.0001 : Node115rect.height;
- var Node115endCompspts = [Node115compspts[Node115ptslength-2],Node115compspts[Node115ptslength-1],0,0];
- var Node115startCompspts = [Node115compspts[0],Node115compspts[1],0,0];
- Node115.setImage(GD.getPolyLineJSON());
- Node115.setPosition(Node115rect.x+Node115rect.width/2,Node115rect.y+Node115rect.height/2);
- Node115.setSize(Node115rect.width,Node115rect.height);
- Node115.setStyle("opacity",1);
- Node115.s({'pixelPerfect':true});
- Node115borderwidth=1;
- Node115.setRotation(0);
- dataModel.add(Node115);
- Node115.a('node.points',Node115compspts);
- Node115.a('node.segments',[1,2]);
- Node115.a('node.color','rgba(192,192,192,1)');
- Node115.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node115.a('node.borderColor','rgba(192,192,192,1)');
- Node115.a('node.background','rgba(192,192,192,1)');
- Node115.a('node.gradient','');
- Node115.a('node.gradientcolor','rgba(192,192,192,1)');
- Node115.a('node.endCompspts',Node115endCompspts);
- Node115.a('node.startCompspts',Node115startCompspts);
- (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 = 'Node115';
- 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);
- }
- })(Node115, Node115.getImage(), Node115compspts, Node115endCompspts, Node115startCompspts);
- var Node116points=[381, 565,754, 565],
- Node116rect=ht.Default.unionPoint([{x:381,y:565},{x:754,y:565}]),
- Node116compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node116points.length;i++){
- if(i%2==0){
- Node116compspts.push(Node116points[i]-Node116rect.x);
- }else{
- Node116compspts.push(Node116points[i]-Node116rect.y);
- }
- }
- var Node116ptslength=Node116compspts.length;
- if (Node116rect.height === 0) {
- Node116compspts[0] -= 0;
- Node116compspts[Node116ptslength-2] += 0;
- } else if (Node116rect.width === 0){
- Node116compspts[1] -= 0;
- Node116compspts[Node116ptslength-1] += 0;
- } else {
- Node116compspts[0] -= 0;
- Node116compspts[1] -= 0;
- Node116compspts[Node116ptslength-2] += 0;
- Node116compspts[Node116ptslength-1] += 0;
- }
- Node116 = new ht.Node();
- Node116.borderWidth = 1;
- Node116rect.width = Node116rect.width === 0 ? 0.0001 : Node116rect.width;
- Node116rect.height = Node116rect.height === 0 ? 0.0001 : Node116rect.height;
- var Node116endCompspts = [Node116compspts[Node116ptslength-2],Node116compspts[Node116ptslength-1],0,0];
- var Node116startCompspts = [Node116compspts[0],Node116compspts[1],0,0];
- Node116.setImage(GD.getPolyLineJSON());
- Node116.setPosition(Node116rect.x+Node116rect.width/2,Node116rect.y+Node116rect.height/2);
- Node116.setSize(Node116rect.width,Node116rect.height);
- Node116.setStyle("opacity",1);
- Node116.s({'pixelPerfect':true});
- Node116borderwidth=1;
- Node116.setRotation(0);
- dataModel.add(Node116);
- Node116.a('node.points',Node116compspts);
- Node116.a('node.segments',[1,2]);
- Node116.a('node.color','rgba(192,192,192,1)');
- Node116.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node116.a('node.borderColor','rgba(192,192,192,1)');
- Node116.a('node.background','rgba(192,192,192,1)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','rgba(192,192,192,1)');
- Node116.a('node.endCompspts',Node116endCompspts);
- Node116.a('node.startCompspts',Node116startCompspts);
- (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 = 'Node116';
- 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);
- }
- })(Node116, Node116.getImage(), Node116compspts, Node116endCompspts, Node116startCompspts);
- var Node117points=[448, 504,448, 595],
- Node117rect=ht.Default.unionPoint([{x:448,y:504},{x:448,y:595}]),
- Node117compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node117points.length;i++){
- if(i%2==0){
- Node117compspts.push(Node117points[i]-Node117rect.x);
- }else{
- Node117compspts.push(Node117points[i]-Node117rect.y);
- }
- }
- var Node117ptslength=Node117compspts.length;
- if (Node117rect.height === 0) {
- Node117compspts[0] -= 0;
- Node117compspts[Node117ptslength-2] += 0;
- } else if (Node117rect.width === 0){
- Node117compspts[1] -= 0;
- Node117compspts[Node117ptslength-1] += 0;
- } else {
- Node117compspts[0] -= 0;
- Node117compspts[1] -= 0;
- Node117compspts[Node117ptslength-2] += 0;
- Node117compspts[Node117ptslength-1] += 0;
- }
- Node117 = new ht.Node();
- Node117.borderWidth = 1;
- Node117rect.width = Node117rect.width === 0 ? 0.0001 : Node117rect.width;
- Node117rect.height = Node117rect.height === 0 ? 0.0001 : Node117rect.height;
- var Node117endCompspts = [Node117compspts[Node117ptslength-2],Node117compspts[Node117ptslength-1],0,0];
- var Node117startCompspts = [Node117compspts[0],Node117compspts[1],0,0];
- Node117.setImage(GD.getPolyLineJSON());
- Node117.setPosition(Node117rect.x+Node117rect.width/2,Node117rect.y+Node117rect.height/2);
- Node117.setSize(Node117rect.width,Node117rect.height);
- Node117.setStyle("opacity",1);
- Node117.s({'pixelPerfect':true});
- Node117borderwidth=1;
- Node117.setRotation(0);
- dataModel.add(Node117);
- Node117.a('node.points',Node117compspts);
- Node117.a('node.segments',[1,2]);
- Node117.a('node.color','rgba(192,192,192,1)');
- Node117.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node117.a('node.borderColor','rgba(192,192,192,1)');
- Node117.a('node.background','rgba(192,192,192,1)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','rgba(192,192,192,1)');
- Node117.a('node.endCompspts',Node117endCompspts);
- Node117.a('node.startCompspts',Node117startCompspts);
- (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 = 'Node117';
- 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);
- }
- })(Node117, Node117.getImage(), Node117compspts, Node117endCompspts, Node117startCompspts);
- var Node118points=[534, 503,534, 595],
- Node118rect=ht.Default.unionPoint([{x:534,y:503},{x:534,y:595}]),
- Node118compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node118points.length;i++){
- if(i%2==0){
- Node118compspts.push(Node118points[i]-Node118rect.x);
- }else{
- Node118compspts.push(Node118points[i]-Node118rect.y);
- }
- }
- var Node118ptslength=Node118compspts.length;
- if (Node118rect.height === 0) {
- Node118compspts[0] -= 0;
- Node118compspts[Node118ptslength-2] += 0;
- } else if (Node118rect.width === 0){
- Node118compspts[1] -= 0;
- Node118compspts[Node118ptslength-1] += 0;
- } else {
- Node118compspts[0] -= 0;
- Node118compspts[1] -= 0;
- Node118compspts[Node118ptslength-2] += 0;
- Node118compspts[Node118ptslength-1] += 0;
- }
- Node118 = new ht.Node();
- Node118.borderWidth = 1;
- Node118rect.width = Node118rect.width === 0 ? 0.0001 : Node118rect.width;
- Node118rect.height = Node118rect.height === 0 ? 0.0001 : Node118rect.height;
- var Node118endCompspts = [Node118compspts[Node118ptslength-2],Node118compspts[Node118ptslength-1],0,0];
- var Node118startCompspts = [Node118compspts[0],Node118compspts[1],0,0];
- Node118.setImage(GD.getPolyLineJSON());
- Node118.setPosition(Node118rect.x+Node118rect.width/2,Node118rect.y+Node118rect.height/2);
- Node118.setSize(Node118rect.width,Node118rect.height);
- Node118.setStyle("opacity",1);
- Node118.s({'pixelPerfect':true});
- Node118borderwidth=1;
- Node118.setRotation(0);
- dataModel.add(Node118);
- Node118.a('node.points',Node118compspts);
- Node118.a('node.segments',[1,2]);
- Node118.a('node.color','rgba(192,192,192,1)');
- Node118.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node118.a('node.borderColor','rgba(192,192,192,1)');
- Node118.a('node.background','rgba(192,192,192,1)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','rgba(192,192,192,1)');
- Node118.a('node.endCompspts',Node118endCompspts);
- Node118.a('node.startCompspts',Node118startCompspts);
- (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 = 'Node118';
- 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);
- }
- })(Node118, Node118.getImage(), Node118compspts, Node118endCompspts, Node118startCompspts);
- var Node119points=[569, 504,569, 595],
- Node119rect=ht.Default.unionPoint([{x:569,y:504},{x:569,y:595}]),
- Node119compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node119points.length;i++){
- if(i%2==0){
- Node119compspts.push(Node119points[i]-Node119rect.x);
- }else{
- Node119compspts.push(Node119points[i]-Node119rect.y);
- }
- }
- var Node119ptslength=Node119compspts.length;
- if (Node119rect.height === 0) {
- Node119compspts[0] -= 0;
- Node119compspts[Node119ptslength-2] += 0;
- } else if (Node119rect.width === 0){
- Node119compspts[1] -= 0;
- Node119compspts[Node119ptslength-1] += 0;
- } else {
- Node119compspts[0] -= 0;
- Node119compspts[1] -= 0;
- Node119compspts[Node119ptslength-2] += 0;
- Node119compspts[Node119ptslength-1] += 0;
- }
- Node119 = new ht.Node();
- Node119.borderWidth = 1;
- Node119rect.width = Node119rect.width === 0 ? 0.0001 : Node119rect.width;
- Node119rect.height = Node119rect.height === 0 ? 0.0001 : Node119rect.height;
- var Node119endCompspts = [Node119compspts[Node119ptslength-2],Node119compspts[Node119ptslength-1],0,0];
- var Node119startCompspts = [Node119compspts[0],Node119compspts[1],0,0];
- Node119.setImage(GD.getPolyLineJSON());
- Node119.setPosition(Node119rect.x+Node119rect.width/2,Node119rect.y+Node119rect.height/2);
- Node119.setSize(Node119rect.width,Node119rect.height);
- Node119.setStyle("opacity",1);
- Node119.s({'pixelPerfect':true});
- Node119borderwidth=1;
- Node119.setRotation(0);
- dataModel.add(Node119);
- Node119.a('node.points',Node119compspts);
- Node119.a('node.segments',[1,2]);
- Node119.a('node.color','rgba(192,192,192,1)');
- Node119.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node119.a('node.borderColor','rgba(192,192,192,1)');
- Node119.a('node.background','rgba(192,192,192,1)');
- Node119.a('node.gradient','');
- Node119.a('node.gradientcolor','rgba(192,192,192,1)');
- Node119.a('node.endCompspts',Node119endCompspts);
- Node119.a('node.startCompspts',Node119startCompspts);
- (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 = 'Node119';
- 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);
- }
- })(Node119, Node119.getImage(), Node119compspts, Node119endCompspts, Node119startCompspts);
- var Node120points=[637, 504,637, 596],
- Node120rect=ht.Default.unionPoint([{x:637,y:504},{x:637,y:596}]),
- Node120compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node120points.length;i++){
- if(i%2==0){
- Node120compspts.push(Node120points[i]-Node120rect.x);
- }else{
- Node120compspts.push(Node120points[i]-Node120rect.y);
- }
- }
- var Node120ptslength=Node120compspts.length;
- if (Node120rect.height === 0) {
- Node120compspts[0] -= 0;
- Node120compspts[Node120ptslength-2] += 0;
- } else if (Node120rect.width === 0){
- Node120compspts[1] -= 0;
- Node120compspts[Node120ptslength-1] += 0;
- } else {
- Node120compspts[0] -= 0;
- Node120compspts[1] -= 0;
- Node120compspts[Node120ptslength-2] += 0;
- Node120compspts[Node120ptslength-1] += 0;
- }
- Node120 = new ht.Node();
- Node120.borderWidth = 1;
- Node120rect.width = Node120rect.width === 0 ? 0.0001 : Node120rect.width;
- Node120rect.height = Node120rect.height === 0 ? 0.0001 : Node120rect.height;
- var Node120endCompspts = [Node120compspts[Node120ptslength-2],Node120compspts[Node120ptslength-1],0,0];
- var Node120startCompspts = [Node120compspts[0],Node120compspts[1],0,0];
- Node120.setImage(GD.getPolyLineJSON());
- Node120.setPosition(Node120rect.x+Node120rect.width/2,Node120rect.y+Node120rect.height/2);
- Node120.setSize(Node120rect.width,Node120rect.height);
- Node120.setStyle("opacity",1);
- Node120.s({'pixelPerfect':true});
- Node120borderwidth=1;
- Node120.setRotation(0);
- dataModel.add(Node120);
- Node120.a('node.points',Node120compspts);
- Node120.a('node.segments',[1,2]);
- Node120.a('node.color','rgba(192,192,192,1)');
- Node120.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node120.a('node.borderColor','rgba(192,192,192,1)');
- Node120.a('node.background','rgba(192,192,192,1)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','rgba(192,192,192,1)');
- Node120.a('node.endCompspts',Node120endCompspts);
- Node120.a('node.startCompspts',Node120startCompspts);
- (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 = 'Node120';
- 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);
- }
- })(Node120, Node120.getImage(), Node120compspts, Node120endCompspts, Node120startCompspts);
- var Node121points=[708, 504,708, 595],
- Node121rect=ht.Default.unionPoint([{x:708,y:504},{x:708,y:595}]),
- Node121compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node121points.length;i++){
- if(i%2==0){
- Node121compspts.push(Node121points[i]-Node121rect.x);
- }else{
- Node121compspts.push(Node121points[i]-Node121rect.y);
- }
- }
- var Node121ptslength=Node121compspts.length;
- if (Node121rect.height === 0) {
- Node121compspts[0] -= 0;
- Node121compspts[Node121ptslength-2] += 0;
- } else if (Node121rect.width === 0){
- Node121compspts[1] -= 0;
- Node121compspts[Node121ptslength-1] += 0;
- } else {
- Node121compspts[0] -= 0;
- Node121compspts[1] -= 0;
- Node121compspts[Node121ptslength-2] += 0;
- Node121compspts[Node121ptslength-1] += 0;
- }
- Node121 = new ht.Node();
- Node121.borderWidth = 1;
- Node121rect.width = Node121rect.width === 0 ? 0.0001 : Node121rect.width;
- Node121rect.height = Node121rect.height === 0 ? 0.0001 : Node121rect.height;
- var Node121endCompspts = [Node121compspts[Node121ptslength-2],Node121compspts[Node121ptslength-1],0,0];
- var Node121startCompspts = [Node121compspts[0],Node121compspts[1],0,0];
- Node121.setImage(GD.getPolyLineJSON());
- Node121.setPosition(Node121rect.x+Node121rect.width/2,Node121rect.y+Node121rect.height/2);
- Node121.setSize(Node121rect.width,Node121rect.height);
- Node121.setStyle("opacity",1);
- Node121.s({'pixelPerfect':true});
- Node121borderwidth=1;
- Node121.setRotation(0);
- dataModel.add(Node121);
- Node121.a('node.points',Node121compspts);
- Node121.a('node.segments',[1,2]);
- Node121.a('node.color','rgba(192,192,192,1)');
- Node121.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node121.a('node.borderColor','rgba(192,192,192,1)');
- Node121.a('node.background','rgba(192,192,192,1)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','rgba(192,192,192,1)');
- Node121.a('node.endCompspts',Node121endCompspts);
- Node121.a('node.startCompspts',Node121startCompspts);
- (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 = 'Node121';
- 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);
- }
- })(Node121, Node121.getImage(), Node121compspts, Node121endCompspts, Node121startCompspts);
- var Node122points=[382, 428,754, 428],
- Node122rect=ht.Default.unionPoint([{x:382,y:428},{x:754,y:428}]),
- Node122compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node122points.length;i++){
- if(i%2==0){
- Node122compspts.push(Node122points[i]-Node122rect.x);
- }else{
- Node122compspts.push(Node122points[i]-Node122rect.y);
- }
- }
- var Node122ptslength=Node122compspts.length;
- if (Node122rect.height === 0) {
- Node122compspts[0] -= 0;
- Node122compspts[Node122ptslength-2] += 0;
- } else if (Node122rect.width === 0){
- Node122compspts[1] -= 0;
- Node122compspts[Node122ptslength-1] += 0;
- } else {
- Node122compspts[0] -= 0;
- Node122compspts[1] -= 0;
- Node122compspts[Node122ptslength-2] += 0;
- Node122compspts[Node122ptslength-1] += 0;
- }
- Node122 = new ht.Node();
- Node122.borderWidth = 1;
- Node122rect.width = Node122rect.width === 0 ? 0.0001 : Node122rect.width;
- Node122rect.height = Node122rect.height === 0 ? 0.0001 : Node122rect.height;
- var Node122endCompspts = [Node122compspts[Node122ptslength-2],Node122compspts[Node122ptslength-1],0,0];
- var Node122startCompspts = [Node122compspts[0],Node122compspts[1],0,0];
- Node122.setImage(GD.getPolyLineJSON());
- Node122.setPosition(Node122rect.x+Node122rect.width/2,Node122rect.y+Node122rect.height/2);
- Node122.setSize(Node122rect.width,Node122rect.height);
- Node122.setStyle("opacity",1);
- Node122.s({'pixelPerfect':true});
- Node122borderwidth=1;
- Node122.setRotation(0);
- dataModel.add(Node122);
- Node122.a('node.points',Node122compspts);
- Node122.a('node.segments',[1,2]);
- Node122.a('node.color','rgba(192,192,192,1)');
- Node122.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node122.a('node.borderColor','rgba(192,192,192,1)');
- Node122.a('node.background','rgba(192,192,192,1)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','rgba(192,192,192,1)');
- Node122.a('node.endCompspts',Node122endCompspts);
- Node122.a('node.startCompspts',Node122startCompspts);
- (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 = 'Node122';
- 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);
- }
- })(Node122, Node122.getImage(), Node122compspts, Node122endCompspts, Node122startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123 = new ht.Node();
- var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'left', Node123fontSize = 13.3333*_ratio.ratioY,Node123width = 39*_ratio.ratioX, Node123height = 16*_ratio.ratioY;
- (function () {
- if (Node123align === 'left') {
- Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9;
- Node123textWidth = Node123width;
- Node123lineStart = 1;
- } else if (Node123align === 'right') {
- Node123textStart = 0;
- Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2;
- Node123lineStart = (Node123width - (ht.Default.getTextSize('并网', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node123align === 'center') {
- Node123textStart = -3;
- Node123textWidth = Node123width;
- Node123lineStart = Node123width - ht.Default.getTextSize('并网', ' '+ Node123fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"'))
- Node123.setPosition(413*ratio.ratioX, 520*ratio.ratioY);
- Node123.setWidth(Node123width);
- Node123.setHeight(Node123height);
- Node123._nodeType = 'text';
- Node123._disallowEvert = true;
- Node123.setRotation(0*Math.PI/180);
- Node123.a('node.width', Node123width);
- Node123.a('node.height', Node123height);
- Node123.a('node.rect', [0, 0, Node123width, Node123height]);
- Node123.a('node.bordercolor','rgba(128,128,255,1)');
- Node123.a('node.borderwidth', 0);
- Node123.a('node.background','' || 'rgba(0,0,0,0)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','');
- Node123.a('node.text','并网');
- Node123.a('node.textalign','left');
- Node123.a('node.textvAlign','middle');
- Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]);
- Node123.a('node.color','rgba(128,128,255,1)');
- Node123.a('node.font',' '+ Node123fontSize + 'px "Arial"');
- Node123.a('node.textvisible',true);
- Node123.a('node.linefeed',false);
- if (false) {
- Node123.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node123.a('node.text') || '并网';
- var color=Node123.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node123width,Node123height,13.3333*_ratio.ratioY,"left",color,' '+ Node123fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node123.a('node.underlinepoints',[Node123lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node123fontSize + 'px "Arial"').width + 6, (Node123height - Node123fontSize) * 0.5*_ratio.ratioY + Node123fontSize + 2 ]);
- Node123.a('node.underlinevisible',false);
- Node123.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node123);
- zoomNodeList.push({
- node: Node123,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124 = new ht.Node();
- var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 39*_ratio.ratioX, Node124height = 16*_ratio.ratioY;
- (function () {
- if (Node124align === 'left') {
- Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
- Node124textWidth = Node124width;
- Node124lineStart = 1;
- } else if (Node124align === 'right') {
- Node124textStart = 0;
- Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
- Node124lineStart = (Node124width - (ht.Default.getTextSize('维护', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node124align === 'center') {
- Node124textStart = -3;
- Node124textWidth = Node124width;
- Node124lineStart = Node124width - ht.Default.getTextSize('维护', ' '+ Node124fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
- Node124.setPosition(414*ratio.ratioX, 550*ratio.ratioY);
- Node124.setWidth(Node124width);
- Node124.setHeight(Node124height);
- Node124._nodeType = 'text';
- Node124._disallowEvert = true;
- Node124.setRotation(0*Math.PI/180);
- Node124.a('node.width', Node124width);
- Node124.a('node.height', Node124height);
- Node124.a('node.rect', [0, 0, Node124width, Node124height]);
- Node124.a('node.bordercolor','rgba(192,64,0,1)');
- Node124.a('node.borderwidth', 0);
- Node124.a('node.background','' || 'rgba(0,0,0,0)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','');
- Node124.a('node.text','维护');
- Node124.a('node.textalign','left');
- Node124.a('node.textvAlign','middle');
- Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
- Node124.a('node.color','rgba(192,64,0,1)');
- Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
- Node124.a('node.textvisible',true);
- Node124.a('node.linefeed',false);
- if (false) {
- Node124.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node124.a('node.text') || '维护';
- var color=Node124.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node124.a('node.underlinepoints',[Node124lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
- Node124.a('node.underlinevisible',false);
- Node124.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node124);
- zoomNodeList.push({
- node: Node124,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 39*_ratio.ratioX, Node125height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('限电', ' '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(414*ratio.ratioX, 580*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(128,0,128,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','限电');
- Node125.a('node.textalign','left');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(128,0,128,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
- Node125.a('node.textvisible',true);
- Node125.a('node.linefeed',false);
- if (false) {
- Node125.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node125.a('node.text') || '限电';
- var color=Node125.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
- Node125.a('node.underlinevisible',false);
- Node125.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node125);
- zoomNodeList.push({
- node: Node125,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 39*_ratio.ratioX, Node126height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('待机', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(603*ratio.ratioX, 520*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,128,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','left');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(0,128,0,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
- Node126.a('node.textvisible',true);
- Node126.a('node.linefeed',false);
- if (false) {
- Node126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node126.a('node.text') || '待机';
- var color=Node126.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127 = new ht.Node();
- var Node127textStart, Node127textWidth, Node127lineStart, Node127align = 'left', Node127fontSize = 13.3333*_ratio.ratioY,Node127width = 39*_ratio.ratioX, Node127height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node127align === 'center') {
- Node127textStart = -3;
- Node127textWidth = Node127width;
- Node127lineStart = Node127width - ht.Default.getTextSize('故障', ' '+ Node127fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node127.setImage(GD.getTextJSON(Node127width, Node127height, true, false, false, ' '+ Node127fontSize + 'px "Arial"'))
- Node127.setPosition(604*ratio.ratioX, 550*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(192,0,0,1)');
- Node127.a('node.borderwidth', 0);
- Node127.a('node.background','' || 'rgba(0,0,0,0)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','');
- Node127.a('node.text','故障');
- Node127.a('node.textalign','left');
- Node127.a('node.textvAlign','middle');
- Node127.a('node.textrect', [Node127textStart, 0, Node127textWidth, Node127height]);
- Node127.a('node.color','rgba(192,0,0,1)');
- Node127.a('node.font',' '+ Node127fontSize + 'px "Arial"');
- Node127.a('node.textvisible',true);
- Node127.a('node.linefeed',false);
- if (false) {
- Node127.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node127.a('node.text') || '故障';
- var color=Node127.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node127width,Node127height,13.3333*_ratio.ratioY,"left",color,' '+ Node127fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node127.a('node.underlinepoints',[Node127lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node127fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node127fontSize + 'px "Arial"').width + 6, (Node127height - Node127fontSize) * 0.5*_ratio.ratioY + Node127fontSize + 2 ]);
- Node127.a('node.underlinevisible',false);
- Node127.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node127);
- zoomNodeList.push({
- node: Node127,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'left', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 39*_ratio.ratioX, Node128height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('离线', ' '+ Node128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
- Node128.setPosition(604*ratio.ratioX, 580*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(128,128,128,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','离线');
- Node128.a('node.textalign','left');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(128,128,128,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '离线';
- var color=Node128.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"left",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129 = new ht.Node();
- var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'left', Node129fontSize = 13.3333*_ratio.ratioY,Node129width = 29*_ratio.ratioX, Node129height = 25*_ratio.ratioY;
- (function () {
- if (Node129align === 'left') {
- Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
- Node129textWidth = Node129width;
- Node129lineStart = 1;
- } else if (Node129align === 'right') {
- Node129textStart = 0;
- Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
- Node129lineStart = (Node129width - (ht.Default.getTextSize('台', ' '+ Node129fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node129align === 'center') {
- Node129textStart = -3;
- Node129textWidth = Node129width;
- Node129lineStart = Node129width - ht.Default.getTextSize('台', ' '+ Node129fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "UniDreamLED"'))
- Node129.setPosition(555*ratio.ratioX, 520*ratio.ratioY);
- Node129.setWidth(Node129width);
- Node129.setHeight(Node129height);
- Node129._nodeType = 'text';
- Node129._disallowEvert = true;
- Node129.setRotation(0*Math.PI/180);
- Node129.a('node.width', Node129width);
- Node129.a('node.height', Node129height);
- Node129.a('node.rect', [0, 0, Node129width, Node129height]);
- Node129.a('node.bordercolor','rgba(64,64,64,1)');
- Node129.a('node.borderwidth', 0);
- Node129.a('node.background','' || 'rgba(0,0,0,0)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','');
- Node129.a('node.text','台');
- Node129.a('node.textalign','left');
- Node129.a('node.textvAlign','middle');
- Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
- Node129.a('node.color','rgba(64,64,64,1)');
- Node129.a('node.font',' '+ Node129fontSize + 'px "UniDreamLED"');
- Node129.a('node.textvisible',true);
- Node129.a('node.linefeed',false);
- if (false) {
- Node129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129.a('node.text') || '台';
- var color=Node129.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node129width,Node129height,13.3333*_ratio.ratioY,"left",color,' '+ Node129fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node129.a('node.underlinepoints',[Node129lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node129fontSize + 'px "UniDreamLED"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
- Node129.a('node.underlinevisible',false);
- Node129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129);
- zoomNodeList.push({
- node: Node129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 29*_ratio.ratioX, Node130height = 25*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('台', ' '+ Node130fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('台', ' '+ Node130fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "UniDreamLED"'))
- Node130.setPosition(555*ratio.ratioX, 551*ratio.ratioY);
- Node130.setWidth(Node130width);
- Node130.setHeight(Node130height);
- Node130._nodeType = 'text';
- Node130._disallowEvert = true;
- Node130.setRotation(0*Math.PI/180);
- Node130.a('node.width', Node130width);
- Node130.a('node.height', Node130height);
- Node130.a('node.rect', [0, 0, Node130width, Node130height]);
- Node130.a('node.bordercolor','rgba(64,64,64,1)');
- Node130.a('node.borderwidth', 0);
- Node130.a('node.background','' || 'rgba(0,0,0,0)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','');
- Node130.a('node.text','台');
- Node130.a('node.textalign','left');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(64,64,64,1)');
- Node130.a('node.font',' '+ Node130fontSize + 'px "UniDreamLED"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || '台';
- var color=Node130.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"left",color,' '+ Node130fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node130fontSize + 'px "UniDreamLED"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'left', Node131fontSize = 13.3333*_ratio.ratioY,Node131width = 29*_ratio.ratioX, Node131height = 25*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('台', ' '+ Node131fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('台', ' '+ Node131fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "UniDreamLED"'))
- Node131.setPosition(556*ratio.ratioX, 580*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(64,64,64,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','台');
- Node131.a('node.textalign','left');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(64,64,64,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "UniDreamLED"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '台';
- var color=Node131.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131width,Node131height,13.3333*_ratio.ratioY,"left",color,' '+ Node131fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node131fontSize + 'px "UniDreamLED"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132 = new ht.Node();
- var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'left', Node132fontSize = 13.3333*_ratio.ratioY,Node132width = 29*_ratio.ratioX, Node132height = 25*_ratio.ratioY;
- (function () {
- if (Node132align === 'left') {
- Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9;
- Node132textWidth = Node132width;
- Node132lineStart = 1;
- } else if (Node132align === 'right') {
- Node132textStart = 0;
- Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2;
- Node132lineStart = (Node132width - (ht.Default.getTextSize('132', ' '+ Node132fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node132align === 'center') {
- Node132textStart = -3;
- Node132textWidth = Node132width;
- Node132lineStart = Node132width - ht.Default.getTextSize('132', ' '+ Node132fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, ' '+ Node132fontSize + 'px "UniDreamLED"'))
- Node132.setPosition(500*ratio.ratioX, 520*ratio.ratioY);
- Node132.setWidth(Node132width);
- Node132.setHeight(Node132height);
- Node132._nodeType = 'text';
- Node132._disallowEvert = true;
- Node132.setRotation(0*Math.PI/180);
- Node132.a('node.width', Node132width);
- Node132.a('node.height', Node132height);
- Node132.a('node.rect', [0, 0, Node132width, Node132height]);
- Node132.a('node.bordercolor','rgba(64,64,64,1)');
- Node132.a('node.borderwidth', 0);
- Node132.a('node.background','' || 'rgba(0,0,0,0)');
- Node132.a('node.gradient','');
- Node132.a('node.gradientcolor','');
- Node132.a('node.text','132');
- Node132.a('node.textalign','left');
- Node132.a('node.textvAlign','middle');
- Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]);
- Node132.a('node.color','rgba(64,64,64,1)');
- Node132.a('node.font',' '+ Node132fontSize + 'px "UniDreamLED"');
- Node132.a('node.textvisible',true);
- Node132.a('node.linefeed',false);
- if (false) {
- Node132.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132.a('node.text') || '132';
- var color=Node132.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132width,Node132height,13.3333*_ratio.ratioY,"left",color,' '+ Node132fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node132.a('node.underlinepoints',[Node132lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('132', ' '+ Node132fontSize + 'px "UniDreamLED"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]);
- Node132.a('node.underlinevisible',false);
- Node132.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132);
- zoomNodeList.push({
- node: Node132,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133 = new ht.Node();
- var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'left', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 29*_ratio.ratioX, Node133height = 25*_ratio.ratioY;
- (function () {
- if (Node133align === 'left') {
- Node133textStart = Node133fontSize * 0.2 > 2 ? Node133fontSize * 0.2 - 4 : Node133fontSize * 0.2 - 9;
- Node133textWidth = Node133width;
- Node133lineStart = 1;
- } else if (Node133align === 'right') {
- Node133textStart = 0;
- Node133textWidth =Node133fontSize <= 8 ? Node133width + Node133fontSize * 0.2 + 6 : Node133width - Node133fontSize * 0.2;
- Node133lineStart = (Node133width - (ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node133align === 'center') {
- Node133textStart = -3;
- Node133textWidth = Node133width;
- Node133lineStart = Node133width - ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "UniDreamLED"'))
- Node133.setPosition(500*ratio.ratioX, 549*ratio.ratioY);
- Node133.setWidth(Node133width);
- Node133.setHeight(Node133height);
- Node133._nodeType = 'text';
- Node133._disallowEvert = true;
- Node133.setRotation(0*Math.PI/180);
- Node133.a('node.width', Node133width);
- Node133.a('node.height', Node133height);
- Node133.a('node.rect', [0, 0, Node133width, Node133height]);
- Node133.a('node.bordercolor','rgba(64,64,64,1)');
- Node133.a('node.borderwidth', 0);
- Node133.a('node.background','' || 'rgba(0,0,0,0)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','');
- Node133.a('node.text','0');
- Node133.a('node.textalign','left');
- Node133.a('node.textvAlign','middle');
- Node133.a('node.textrect', [Node133textStart, 0, Node133textWidth, Node133height]);
- Node133.a('node.color','rgba(64,64,64,1)');
- Node133.a('node.font',' '+ Node133fontSize + 'px "UniDreamLED"');
- Node133.a('node.textvisible',true);
- Node133.a('node.linefeed',false);
- if (false) {
- Node133.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node133.a('node.text') || '0';
- var color=Node133.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node133width,Node133height,13.3333*_ratio.ratioY,"left",color,' '+ Node133fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node133.a('node.underlinepoints',[Node133lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node133fontSize + 'px "UniDreamLED"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
- Node133.a('node.underlinevisible',false);
- Node133.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node133);
- zoomNodeList.push({
- node: Node133,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 29*_ratio.ratioX, Node134height = 25*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node134align === 'center') {
- Node134textStart = -3;
- Node134textWidth = Node134width;
- Node134lineStart = Node134width - ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "UniDreamLED"'))
- Node134.setPosition(500*ratio.ratioX, 580*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(64,64,64,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','left');
- Node134.a('node.textvAlign','middle');
- Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
- Node134.a('node.color','rgba(64,64,64,1)');
- Node134.a('node.font',' '+ Node134fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,' '+ Node134fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node134.a('node.underlinepoints',[Node134lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node134fontSize + 'px "UniDreamLED"').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 = 'left', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 29*_ratio.ratioX, Node135height = 25*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node135align === 'center') {
- Node135textStart = -3;
- Node135textWidth = Node135width;
- Node135lineStart = Node135width - ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "UniDreamLED"'))
- Node135.setPosition(677*ratio.ratioX, 520*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(64,64,64,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','left');
- Node135.a('node.textvAlign','middle');
- Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
- Node135.a('node.color','rgba(64,64,64,1)');
- Node135.a('node.font',' '+ Node135fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node135.a('node.underlinepoints',[Node135lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node135fontSize + 'px "UniDreamLED"').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 = 'left', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 29*_ratio.ratioX, Node136height = 25*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "UniDreamLED"'))
- Node136.setPosition(677*ratio.ratioX, 549*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(64,64,64,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','left');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(64,64,64,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node136fontSize + 'px "UniDreamLED"').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 = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 29*_ratio.ratioX, Node137height = 25*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "UniDreamLED"'))
- Node137.setPosition(677*ratio.ratioX, 580*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(64,64,64,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','left');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(64,64,64,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node137fontSize + 'px "UniDreamLED"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 29*_ratio.ratioX, Node138height = 25*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('台', ' '+ Node138fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('台', ' '+ Node138fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "UniDreamLED"'))
- Node138.setPosition(731*ratio.ratioX, 519*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(64,64,64,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','台');
- Node138.a('node.textalign','left');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(64,64,64,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "UniDreamLED"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '台';
- var color=Node138.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"left",color,' '+ Node138fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node138fontSize + 'px "UniDreamLED"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.Node();
- var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'left', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 29*_ratio.ratioX, Node139height = 25*_ratio.ratioY;
- (function () {
- if (Node139align === 'left') {
- Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9;
- Node139textWidth = Node139width;
- Node139lineStart = 1;
- } else if (Node139align === 'right') {
- Node139textStart = 0;
- Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2;
- Node139lineStart = (Node139width - (ht.Default.getTextSize('台', ' '+ Node139fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('台', ' '+ Node139fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "UniDreamLED"'))
- Node139.setPosition(731*ratio.ratioX, 550*ratio.ratioY);
- Node139.setWidth(Node139width);
- Node139.setHeight(Node139height);
- Node139._nodeType = 'text';
- Node139._disallowEvert = true;
- Node139.setRotation(0*Math.PI/180);
- Node139.a('node.width', Node139width);
- Node139.a('node.height', Node139height);
- Node139.a('node.rect', [0, 0, Node139width, Node139height]);
- Node139.a('node.bordercolor','rgba(64,64,64,1)');
- Node139.a('node.borderwidth', 0);
- Node139.a('node.background','' || 'rgba(0,0,0,0)');
- Node139.a('node.gradient','');
- Node139.a('node.gradientcolor','');
- Node139.a('node.text','台');
- Node139.a('node.textalign','left');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(64,64,64,1)');
- Node139.a('node.font',' '+ Node139fontSize + 'px "UniDreamLED"');
- Node139.a('node.textvisible',true);
- Node139.a('node.linefeed',false);
- if (false) {
- Node139.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139.a('node.text') || '台';
- var color=Node139.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"left",color,' '+ Node139fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node139fontSize + 'px "UniDreamLED"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]);
- Node139.a('node.underlinevisible',false);
- Node139.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139);
- zoomNodeList.push({
- node: Node139,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140 = new ht.Node();
- var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'left', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 29*_ratio.ratioX, Node140height = 25*_ratio.ratioY;
- (function () {
- if (Node140align === 'left') {
- Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
- Node140textWidth = Node140width;
- Node140lineStart = 1;
- } else if (Node140align === 'right') {
- Node140textStart = 0;
- Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
- Node140lineStart = (Node140width - (ht.Default.getTextSize('台', ' '+ Node140fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('台', ' '+ Node140fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "UniDreamLED"'))
- Node140.setPosition(732*ratio.ratioX, 579*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(64,64,64,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','台');
- Node140.a('node.textalign','left');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(64,64,64,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "UniDreamLED"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || '台';
- var color=Node140.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"left",color,' '+ Node140fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node140fontSize + 'px "UniDreamLED"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
- Node140.a('node.underlinevisible',false);
- Node140.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node140);
- zoomNodeList.push({
- node: Node140,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141type = 'rect';
- var Node141 = new ht.Node(),
- Node141BorderWidth = 0*2;
- if (Node141type === 'arc') {
- Node141BorderWidth *= 0;
- }
- Node141.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node141type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node141.setPosition(981*ratio.ratioX, 582*ratio.ratioY);
- Node141.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node141.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node141.a('node.width', 66*_ratio.ratioX);
- Node141.a('node.height', 30*_ratio.ratioY);
- Node141.a('node.type', Node141type);
- Node141.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node141.a('node.background', 'rgba(245,245,245,1)');
- Node141.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node141.a('node.gradient', '');
- Node141.a('node.borderwidth', Node141BorderWidth);
- Node141.a('node.color', 'rgba(224,224,224,0)');
- Node141.a('node.fillrect', [0,0,0,0]);
- Node141.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node141.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node141.a('node.fillgradient', '');
- if (Node141type !== 'rect') {
- Node141.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node141.a('node.arcTo', parseFloat('@arcTo@'));
- Node141.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node141type === 'arc') {
- Node141.a('node.arcOval', true);
- }
- Node141.setRotation(0*Math.PI/180);
- Node141.borderWidth = Node141BorderWidth;
- Node141.borderFillwidth = Node141BorderWidth;
- dataModel.add(Node141);
- Node141._nodename = 'Node141'
- Node141._nodeType = 'rect';
- zoomNodeList.push({
- node: Node141,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node141, Node141.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node142type = 'rect';
- var Node142 = new ht.Node(),
- Node142BorderWidth = 0*2;
- if (Node142type === 'arc') {
- Node142BorderWidth *= 0;
- }
- Node142.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node142type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node142.setPosition(981*ratio.ratioX, 551*ratio.ratioY);
- Node142.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node142.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node142.a('node.width', 66*_ratio.ratioX);
- Node142.a('node.height', 30*_ratio.ratioY);
- Node142.a('node.type', Node142type);
- Node142.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node142.a('node.background', 'rgba(245,245,245,1)');
- Node142.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node142.a('node.gradient', '');
- Node142.a('node.borderwidth', Node142BorderWidth);
- Node142.a('node.color', 'rgba(224,224,224,0)');
- Node142.a('node.fillrect', [0,0,0,0]);
- Node142.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node142.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node142.a('node.fillgradient', '');
- if (Node142type !== 'rect') {
- Node142.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node142.a('node.arcTo', parseFloat('@arcTo@'));
- Node142.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node142type === 'arc') {
- Node142.a('node.arcOval', true);
- }
- Node142.setRotation(0*Math.PI/180);
- Node142.borderWidth = Node142BorderWidth;
- Node142.borderFillwidth = Node142BorderWidth;
- dataModel.add(Node142);
- Node142._nodename = 'Node142'
- Node142._nodeType = 'rect';
- zoomNodeList.push({
- node: Node142,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node142, Node142.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143type = 'rect';
- var Node143 = new ht.Node(),
- Node143BorderWidth = 0*2;
- if (Node143type === 'arc') {
- Node143BorderWidth *= 0;
- }
- Node143.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node143.setPosition(981*ratio.ratioX, 520*ratio.ratioY);
- Node143.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node143.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node143.a('node.width', 66*_ratio.ratioX);
- Node143.a('node.height', 30*_ratio.ratioY);
- Node143.a('node.type', Node143type);
- Node143.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node143.a('node.background', 'rgba(245,245,245,1)');
- Node143.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node143.a('node.gradient', '');
- Node143.a('node.borderwidth', Node143BorderWidth);
- Node143.a('node.color', 'rgba(224,224,224,0)');
- Node143.a('node.fillrect', [0,0,0,0]);
- Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradient', '');
- if (Node143type !== 'rect') {
- Node143.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node143.a('node.arcTo', parseFloat('@arcTo@'));
- Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node143type === 'arc') {
- Node143.a('node.arcOval', true);
- }
- Node143.setRotation(0*Math.PI/180);
- Node143.borderWidth = Node143BorderWidth;
- Node143.borderFillwidth = Node143BorderWidth;
- dataModel.add(Node143);
- Node143._nodename = 'Node143'
- Node143._nodeType = 'rect';
- zoomNodeList.push({
- node: Node143,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144type = 'rect';
- var Node144 = new ht.Node(),
- Node144BorderWidth = 0*2;
- if (Node144type === 'arc') {
- Node144BorderWidth *= 0;
- }
- Node144.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node144.setPosition(792*ratio.ratioX, 582*ratio.ratioY);
- Node144.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node144.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node144.a('node.width', 66*_ratio.ratioX);
- Node144.a('node.height', 30*_ratio.ratioY);
- Node144.a('node.type', Node144type);
- Node144.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node144.a('node.background', 'rgba(245,245,245,1)');
- Node144.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node144.a('node.gradient', '');
- Node144.a('node.borderwidth', Node144BorderWidth);
- Node144.a('node.color', 'rgba(224,224,224,0)');
- Node144.a('node.fillrect', [0,0,0,0]);
- Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradient', '');
- if (Node144type !== 'rect') {
- Node144.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node144.a('node.arcTo', parseFloat('@arcTo@'));
- Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node144type === 'arc') {
- Node144.a('node.arcOval', true);
- }
- Node144.setRotation(0*Math.PI/180);
- Node144.borderWidth = Node144BorderWidth;
- Node144.borderFillwidth = Node144BorderWidth;
- dataModel.add(Node144);
- Node144._nodename = 'Node144'
- Node144._nodeType = 'rect';
- zoomNodeList.push({
- node: Node144,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145type = 'rect';
- var Node145 = new ht.Node(),
- Node145BorderWidth = 0*2;
- if (Node145type === 'arc') {
- Node145BorderWidth *= 0;
- }
- Node145.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node145.setPosition(792*ratio.ratioX, 550*ratio.ratioY);
- Node145.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node145.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node145.a('node.width', 66*_ratio.ratioX);
- Node145.a('node.height', 30*_ratio.ratioY);
- Node145.a('node.type', Node145type);
- Node145.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node145.a('node.background', 'rgba(245,245,245,1)');
- Node145.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node145.a('node.gradient', '');
- Node145.a('node.borderwidth', Node145BorderWidth);
- Node145.a('node.color', 'rgba(224,224,224,0)');
- Node145.a('node.fillrect', [0,0,0,0]);
- Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradient', '');
- if (Node145type !== 'rect') {
- Node145.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node145.a('node.arcTo', parseFloat('@arcTo@'));
- Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node145type === 'arc') {
- Node145.a('node.arcOval', true);
- }
- Node145.setRotation(0*Math.PI/180);
- Node145.borderWidth = Node145BorderWidth;
- Node145.borderFillwidth = Node145BorderWidth;
- dataModel.add(Node145);
- Node145._nodename = 'Node145'
- Node145._nodeType = 'rect';
- zoomNodeList.push({
- node: Node145,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146type = 'rect';
- var Node146 = new ht.Node(),
- Node146BorderWidth = 0*2;
- if (Node146type === 'arc') {
- Node146BorderWidth *= 0;
- }
- Node146.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node146.setPosition(793*ratio.ratioX, 519*ratio.ratioY);
- Node146.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node146.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node146.a('node.width', 66*_ratio.ratioX);
- Node146.a('node.height', 30*_ratio.ratioY);
- Node146.a('node.type', Node146type);
- Node146.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node146.a('node.background', 'rgba(245,245,245,1)');
- Node146.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node146.a('node.gradient', '');
- Node146.a('node.borderwidth', Node146BorderWidth);
- Node146.a('node.color', 'rgba(224,224,224,0)');
- 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 Node147= new ht.Node();
- Node147._borderWidth = 1;
- Node147.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node147._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node147.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node147.background'},
- gradient: {value:'', func: 'attr@Node147.gradient'},
- gradientColor:{value:'', func: 'attr@Node147.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node147.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node147.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node147.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node147.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node147.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node147.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node147.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node147.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node147.borderPattern'}
- }
- ]
- });
- var Node147borderwidth = 1;
- var Node147borderFillwidth = 1*2;
- Node147 .setPosition(945*ratio.ratioX,452*ratio.ratioY);
- Node147.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node147.setRotation(0*Math.PI/180);
- Node147.s({'pixelPerfect':true});
- Node147.a('Node147.borderwidth',1);
- Node147.a('Node147.color','@bordercolor@');
- Node147.a('Node147.background','rgba(255,255,255,0.003921569)');
- Node147.a('Node147.gradient','');
- Node147.a('Node147.gradientcolor','');
- Node147.a('Node147.borderPattern',getDashStyle("Solid"));
- Node147.a('Node147.fillrect',[0,0,0,0]);
- Node147.a('Node147.fillbackcolor','rgba(0, 0, 0, 0)');
- Node147.a('Node147.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node147.a('Node147.fillgradient','');
- Node147borderwidth=1;
- dataModel.add(Node147);
- Node147.borderWidth = 1;
- Node147.borderFillwidth = 1*2;
- Node147._nodename = 'Node147';
- Node147._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node147,
- attr: 'Node147.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node147.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node147.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node147, Node147.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'left', Node148fontSize = 11.99997*_ratio.ratioY,Node148width = 150*_ratio.ratioX, Node148height = 25*_ratio.ratioY;
- (function () {
- if (Node148align === 'left') {
- Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9;
- Node148textWidth = Node148width;
- Node148lineStart = 1;
- } else if (Node148align === 'right') {
- Node148textStart = 0;
- Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2;
- Node148lineStart = (Node148width - (ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, 'bold '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(840*ratio.ratioX, 416*ratio.ratioY);
- Node148.setWidth(Node148width);
- Node148.setHeight(Node148height);
- Node148._nodeType = 'text';
- Node148._disallowEvert = true;
- Node148.setRotation(0*Math.PI/180);
- Node148.a('node.width', Node148width);
- Node148.a('node.height', Node148height);
- Node148.a('node.rect', [0, 0, Node148width, Node148height]);
- Node148.a('node.bordercolor','rgba(64,64,64,1)');
- Node148.a('node.borderwidth', 0);
- Node148.a('node.background','' || 'rgba(0,0,0,0)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','');
- Node148.a('node.text','平鲁虎头山风电场');
- Node148.a('node.textalign','left');
- Node148.a('node.textvAlign','middle');
- Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
- Node148.a('node.color','rgba(64,64,64,1)');
- Node148.a('node.font','bold '+ Node148fontSize + 'px "Arial"');
- Node148.a('node.textvisible',true);
- Node148.a('node.linefeed',false);
- if (false) {
- Node148.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node148.a('node.text') || '平鲁虎头山风电场';
- var color=Node148.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node148width,Node148height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
- Node148.a('node.underlinevisible',false);
- Node148.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node148);
- zoomNodeList.push({
- node: Node148,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node149 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1040*ratio.ratioX, 416*ratio.ratioY, 0, {text:'101',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150 = new ht.Node();
- var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'left', Node150fontSize = 11.99997*_ratio.ratioY,Node150width = 40*_ratio.ratioX, Node150height = 21*_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('4.48', ' '+ Node150fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node150align === 'center') {
- Node150textStart = -3;
- Node150textWidth = Node150width;
- Node150lineStart = Node150width - ht.Default.getTextSize('4.48', ' '+ Node150fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "UniDreamLED"'))
- Node150.setPosition(895*ratio.ratioX, 460*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','4.48');
- Node150.a('node.textalign','left');
- 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 "UniDreamLED"');
- 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') || '4.48';
- var color=Node150.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node150width,Node150height,11.99997*_ratio.ratioY,"left",color,' '+ Node150fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node150.a('node.underlinepoints',[Node150lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node150fontSize + 'px "UniDreamLED"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]);
- Node150.a('node.underlinevisible',false);
- Node150.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node150);
- zoomNodeList.push({
- node: Node150,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151 = new ht.Node();
- var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'left', Node151fontSize = 11.99997*_ratio.ratioY,Node151width = 40*_ratio.ratioX, Node151height = 21*_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('m/s', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('m/s', ' '+ Node151fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"'))
- Node151.setPosition(895*ratio.ratioX, 481*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','m/s');
- Node151.a('node.textalign','left');
- 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') || 'm/s';
- var color=Node151.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node151width,Node151height,11.99997*_ratio.ratioY,"left",color,' '+ Node151fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]);
- Node151.a('node.underlinevisible',false);
- Node151.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node151);
- zoomNodeList.push({
- node: Node151,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152 = new ht.Node();
- var Node152textStart, Node152textWidth, Node152lineStart, Node152align = 'left', Node152fontSize = 11.99997*_ratio.ratioY,Node152width = 40*_ratio.ratioX, Node152height = 21*_ratio.ratioY;
- (function () {
- if (Node152align === 'left') {
- Node152textStart = Node152fontSize * 0.2 > 2 ? Node152fontSize * 0.2 - 4 : Node152fontSize * 0.2 - 9;
- Node152textWidth = Node152width;
- Node152lineStart = 1;
- } else if (Node152align === 'right') {
- Node152textStart = 0;
- Node152textWidth =Node152fontSize <= 8 ? Node152width + Node152fontSize * 0.2 + 6 : Node152width - Node152fontSize * 0.2;
- Node152lineStart = (Node152width - (ht.Default.getTextSize('功率', 'bold '+ Node152fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node152align === 'center') {
- Node152textStart = -3;
- Node152textWidth = Node152width;
- Node152lineStart = Node152width - ht.Default.getTextSize('功率', 'bold '+ Node152fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node152.setImage(GD.getTextJSON(Node152width, Node152height, true, false, false, 'bold '+ Node152fontSize + 'px "Arial"'))
- Node152.setPosition(955*ratio.ratioX, 448*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(64,64,64,1)');
- Node152.a('node.borderwidth', 0);
- Node152.a('node.background','' || 'rgba(0,0,0,0)');
- Node152.a('node.gradient','');
- Node152.a('node.gradientcolor','');
- Node152.a('node.text','功率');
- Node152.a('node.textalign','left');
- Node152.a('node.textvAlign','middle');
- Node152.a('node.textrect', [Node152textStart, 0, Node152textWidth, Node152height]);
- Node152.a('node.color','rgba(64,64,64,1)');
- Node152.a('node.font','bold '+ Node152fontSize + 'px "Arial"');
- Node152.a('node.textvisible',true);
- Node152.a('node.linefeed',false);
- if (false) {
- Node152.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node152.a('node.text') || '功率';
- var color=Node152.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node152width,Node152height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node152fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node152.a('node.underlinepoints',[Node152lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node152fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node152fontSize + 'px "Arial"').width + 6, (Node152height - Node152fontSize) * 0.5*_ratio.ratioY + Node152fontSize + 2 ]);
- Node152.a('node.underlinevisible',false);
- Node152.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node152);
- zoomNodeList.push({
- node: Node152,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.Node();
- var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'left', Node153fontSize = 11.99997*_ratio.ratioY,Node153width = 44*_ratio.ratioX, Node153height = 21*_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('发电量', 'bold '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node153align === 'center') {
- Node153textStart = -3;
- Node153textWidth = Node153width;
- Node153lineStart = Node153width - ht.Default.getTextSize('发电量', 'bold '+ Node153fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, 'bold '+ Node153fontSize + 'px "Arial"'))
- Node153.setPosition(957*ratio.ratioX, 482*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(64,64,64,1)');
- Node153.a('node.borderwidth', 0);
- Node153.a('node.background','' || 'rgba(0,0,0,0)');
- Node153.a('node.gradient','');
- Node153.a('node.gradientcolor','');
- Node153.a('node.text','发电量');
- Node153.a('node.textalign','left');
- Node153.a('node.textvAlign','middle');
- Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]);
- Node153.a('node.color','rgba(64,64,64,1)');
- Node153.a('node.font','bold '+ Node153fontSize + 'px "Arial"');
- Node153.a('node.textvisible',true);
- Node153.a('node.linefeed',false);
- if (false) {
- Node153.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node153.a('node.text') || '发电量';
- var color=Node153.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node153width,Node153height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node153fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node153.a('node.underlinepoints',[Node153lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node153fontSize + 'px "Arial"').width + 6, (Node153height - Node153fontSize) * 0.5*_ratio.ratioY + Node153fontSize + 2 ]);
- Node153.a('node.underlinevisible',false);
- Node153.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node153);
- zoomNodeList.push({
- node: Node153,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154 = new ht.Node();
- var Node154textStart, Node154textWidth, Node154lineStart, Node154align = 'left', Node154fontSize = 13.3333*_ratio.ratioY,Node154width = 29*_ratio.ratioX, Node154height = 25*_ratio.ratioY;
- (function () {
- if (Node154align === 'left') {
- Node154textStart = Node154fontSize * 0.2 > 2 ? Node154fontSize * 0.2 - 4 : Node154fontSize * 0.2 - 9;
- Node154textWidth = Node154width;
- Node154lineStart = 1;
- } else if (Node154align === 'right') {
- Node154textStart = 0;
- Node154textWidth =Node154fontSize <= 8 ? Node154width + Node154fontSize * 0.2 + 6 : Node154width - Node154fontSize * 0.2;
- Node154lineStart = (Node154width - (ht.Default.getTextSize('台', ' '+ Node154fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node154align === 'center') {
- Node154textStart = -3;
- Node154textWidth = Node154width;
- Node154lineStart = Node154width - ht.Default.getTextSize('台', ' '+ Node154fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node154.setImage(GD.getTextJSON(Node154width, Node154height, true, false, false, ' '+ Node154fontSize + 'px "Arial"'))
- Node154.setPosition(1105*ratio.ratioX, 417*ratio.ratioY);
- Node154.setWidth(Node154width);
- Node154.setHeight(Node154height);
- Node154._nodeType = 'text';
- Node154._disallowEvert = true;
- Node154.setRotation(0*Math.PI/180);
- Node154.a('node.width', Node154width);
- Node154.a('node.height', Node154height);
- Node154.a('node.rect', [0, 0, Node154width, Node154height]);
- Node154.a('node.bordercolor','rgba(64,64,64,1)');
- Node154.a('node.borderwidth', 0);
- Node154.a('node.background','' || 'rgba(0,0,0,0)');
- Node154.a('node.gradient','');
- Node154.a('node.gradientcolor','');
- Node154.a('node.text','台');
- Node154.a('node.textalign','left');
- Node154.a('node.textvAlign','middle');
- Node154.a('node.textrect', [Node154textStart, 0, Node154textWidth, Node154height]);
- Node154.a('node.color','rgba(64,64,64,1)');
- Node154.a('node.font',' '+ Node154fontSize + 'px "Arial"');
- Node154.a('node.textvisible',true);
- Node154.a('node.linefeed',false);
- if (false) {
- Node154.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node154.a('node.text') || '台';
- var color=Node154.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node154width,Node154height,13.3333*_ratio.ratioY,"left",color,' '+ Node154fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node154.a('node.underlinepoints',[Node154lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node154fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node154fontSize + 'px "Arial"').width + 6, (Node154height - Node154fontSize) * 0.5*_ratio.ratioY + Node154fontSize + 2 ]);
- Node154.a('node.underlinevisible',false);
- Node154.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node154);
- zoomNodeList.push({
- node: Node154,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node155 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 448*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node156 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 448*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 29*_ratio.ratioX, Node157height = 25*_ratio.ratioY;
- (function () {
- if (Node157align === 'left') {
- Node157textStart = Node157fontSize * 0.2 > 2 ? Node157fontSize * 0.2 - 4 : Node157fontSize * 0.2 - 9;
- Node157textWidth = Node157width;
- Node157lineStart = 1;
- } else if (Node157align === 'right') {
- Node157textStart = 0;
- Node157textWidth =Node157fontSize <= 8 ? Node157width + Node157fontSize * 0.2 + 6 : Node157width - Node157fontSize * 0.2;
- Node157lineStart = (Node157width - (ht.Default.getTextSize('MW', ' '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('MW', ' '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(1097*ratio.ratioX, 447*ratio.ratioY);
- Node157.setWidth(Node157width);
- Node157.setHeight(Node157height);
- Node157._nodeType = 'text';
- Node157._disallowEvert = true;
- Node157.setRotation(0*Math.PI/180);
- Node157.a('node.width', Node157width);
- Node157.a('node.height', Node157height);
- Node157.a('node.rect', [0, 0, Node157width, Node157height]);
- Node157.a('node.bordercolor','rgba(64,64,64,1)');
- Node157.a('node.borderwidth', 0);
- Node157.a('node.background','' || 'rgba(0,0,0,0)');
- Node157.a('node.gradient','');
- Node157.a('node.gradientcolor','');
- Node157.a('node.text','MW');
- Node157.a('node.textalign','left');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(64,64,64,1)');
- Node157.a('node.font',' '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || 'MW';
- var color=Node157.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node157width,Node157height,13.3333*_ratio.ratioY,"left",color,' '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node158 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 482*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node159 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 482*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 43*_ratio.ratioX, Node160height = 25*_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('万kwh', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('万kwh', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(1105*ratio.ratioX, 482*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(64,64,64,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','万kwh');
- Node160.a('node.textalign','left');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(64,64,64,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') || '万kwh';
- var color=Node160.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ 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 Node161type = 'rect';
- var Node161 = new ht.Node(),
- Node161BorderWidth = 1*2;
- if (Node161type === 'arc') {
- Node161BorderWidth *= 1;
- }
- Node161.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node161.setPosition(945*ratio.ratioX, 550*ratio.ratioY);
- Node161.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node161.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node161.a('node.width', 373*_ratio.ratioX);
- Node161.a('node.height', 93*_ratio.ratioY);
- Node161.a('node.type', Node161type);
- Node161.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node161.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node161.a('node.gradientcolor', '');
- Node161.a('node.gradient', '');
- Node161.a('node.borderwidth', Node161BorderWidth);
- Node161.a('node.color', 'rgba(192,192,192,1)');
- Node161.a('node.fillrect', [0,0,0,0]);
- Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradient', '');
- if (Node161type !== 'rect') {
- Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node161.a('node.arcTo', parseFloat('@arcTo@'));
- Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node161type === 'arc') {
- Node161.a('node.arcOval', true);
- }
- Node161.setRotation(0*Math.PI/180);
- Node161.borderWidth = Node161BorderWidth;
- Node161.borderFillwidth = Node161BorderWidth;
- dataModel.add(Node161);
- Node161._nodename = 'Node161'
- Node161._nodeType = 'rect';
- zoomNodeList.push({
- node: Node161,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node161, Node161.getImage());var Node162points=[759, 535,1132, 535],
- Node162rect=ht.Default.unionPoint([{x:759,y:535},{x:1132,y:535}]),
- Node162compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node162points.length;i++){
- if(i%2==0){
- Node162compspts.push(Node162points[i]-Node162rect.x);
- }else{
- Node162compspts.push(Node162points[i]-Node162rect.y);
- }
- }
- var Node162ptslength=Node162compspts.length;
- if (Node162rect.height === 0) {
- Node162compspts[0] -= 0;
- Node162compspts[Node162ptslength-2] += 0;
- } else if (Node162rect.width === 0){
- Node162compspts[1] -= 0;
- Node162compspts[Node162ptslength-1] += 0;
- } else {
- Node162compspts[0] -= 0;
- Node162compspts[1] -= 0;
- Node162compspts[Node162ptslength-2] += 0;
- Node162compspts[Node162ptslength-1] += 0;
- }
- Node162 = new ht.Node();
- Node162.borderWidth = 1;
- Node162rect.width = Node162rect.width === 0 ? 0.0001 : Node162rect.width;
- Node162rect.height = Node162rect.height === 0 ? 0.0001 : Node162rect.height;
- var Node162endCompspts = [Node162compspts[Node162ptslength-2],Node162compspts[Node162ptslength-1],0,0];
- var Node162startCompspts = [Node162compspts[0],Node162compspts[1],0,0];
- Node162.setImage(GD.getPolyLineJSON());
- Node162.setPosition(Node162rect.x+Node162rect.width/2,Node162rect.y+Node162rect.height/2);
- Node162.setSize(Node162rect.width,Node162rect.height);
- Node162.setStyle("opacity",1);
- Node162.s({'pixelPerfect':true});
- Node162borderwidth=1;
- Node162.setRotation(0);
- dataModel.add(Node162);
- Node162.a('node.points',Node162compspts);
- Node162.a('node.segments',[1,2]);
- Node162.a('node.color','rgba(192,192,192,1)');
- Node162.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node162.a('node.borderColor','rgba(192,192,192,1)');
- Node162.a('node.background','rgba(192,192,192,1)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','rgba(192,192,192,1)');
- Node162.a('node.endCompspts',Node162endCompspts);
- Node162.a('node.startCompspts',Node162startCompspts);
- (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 = 'Node162';
- 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);
- }
- })(Node162, Node162.getImage(), Node162compspts, Node162endCompspts, Node162startCompspts);
- var Node163points=[759, 566,1132, 566],
- Node163rect=ht.Default.unionPoint([{x:759,y:566},{x:1132,y:566}]),
- Node163compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node163points.length;i++){
- if(i%2==0){
- Node163compspts.push(Node163points[i]-Node163rect.x);
- }else{
- Node163compspts.push(Node163points[i]-Node163rect.y);
- }
- }
- var Node163ptslength=Node163compspts.length;
- if (Node163rect.height === 0) {
- Node163compspts[0] -= 0;
- Node163compspts[Node163ptslength-2] += 0;
- } else if (Node163rect.width === 0){
- Node163compspts[1] -= 0;
- Node163compspts[Node163ptslength-1] += 0;
- } else {
- Node163compspts[0] -= 0;
- Node163compspts[1] -= 0;
- Node163compspts[Node163ptslength-2] += 0;
- Node163compspts[Node163ptslength-1] += 0;
- }
- Node163 = new ht.Node();
- Node163.borderWidth = 1;
- Node163rect.width = Node163rect.width === 0 ? 0.0001 : Node163rect.width;
- Node163rect.height = Node163rect.height === 0 ? 0.0001 : Node163rect.height;
- var Node163endCompspts = [Node163compspts[Node163ptslength-2],Node163compspts[Node163ptslength-1],0,0];
- var Node163startCompspts = [Node163compspts[0],Node163compspts[1],0,0];
- Node163.setImage(GD.getPolyLineJSON());
- Node163.setPosition(Node163rect.x+Node163rect.width/2,Node163rect.y+Node163rect.height/2);
- Node163.setSize(Node163rect.width,Node163rect.height);
- Node163.setStyle("opacity",1);
- Node163.s({'pixelPerfect':true});
- Node163borderwidth=1;
- Node163.setRotation(0);
- dataModel.add(Node163);
- Node163.a('node.points',Node163compspts);
- Node163.a('node.segments',[1,2]);
- Node163.a('node.color','rgba(192,192,192,1)');
- Node163.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node163.a('node.borderColor','rgba(192,192,192,1)');
- Node163.a('node.background','rgba(192,192,192,1)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','rgba(192,192,192,1)');
- Node163.a('node.endCompspts',Node163endCompspts);
- Node163.a('node.startCompspts',Node163startCompspts);
- (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 = 'Node163';
- 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);
- }
- })(Node163, Node163.getImage(), Node163compspts, Node163endCompspts, Node163startCompspts);
- var Node164points=[826, 505,826, 596],
- Node164rect=ht.Default.unionPoint([{x:826,y:505},{x:826,y:596}]),
- Node164compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node164points.length;i++){
- if(i%2==0){
- Node164compspts.push(Node164points[i]-Node164rect.x);
- }else{
- Node164compspts.push(Node164points[i]-Node164rect.y);
- }
- }
- var Node164ptslength=Node164compspts.length;
- if (Node164rect.height === 0) {
- Node164compspts[0] -= 0;
- Node164compspts[Node164ptslength-2] += 0;
- } else if (Node164rect.width === 0){
- Node164compspts[1] -= 0;
- Node164compspts[Node164ptslength-1] += 0;
- } else {
- Node164compspts[0] -= 0;
- Node164compspts[1] -= 0;
- Node164compspts[Node164ptslength-2] += 0;
- Node164compspts[Node164ptslength-1] += 0;
- }
- Node164 = new ht.Node();
- Node164.borderWidth = 1;
- Node164rect.width = Node164rect.width === 0 ? 0.0001 : Node164rect.width;
- Node164rect.height = Node164rect.height === 0 ? 0.0001 : Node164rect.height;
- var Node164endCompspts = [Node164compspts[Node164ptslength-2],Node164compspts[Node164ptslength-1],0,0];
- var Node164startCompspts = [Node164compspts[0],Node164compspts[1],0,0];
- Node164.setImage(GD.getPolyLineJSON());
- Node164.setPosition(Node164rect.x+Node164rect.width/2,Node164rect.y+Node164rect.height/2);
- Node164.setSize(Node164rect.width,Node164rect.height);
- Node164.setStyle("opacity",1);
- Node164.s({'pixelPerfect':true});
- Node164borderwidth=1;
- Node164.setRotation(0);
- dataModel.add(Node164);
- Node164.a('node.points',Node164compspts);
- Node164.a('node.segments',[1,2]);
- Node164.a('node.color','rgba(192,192,192,1)');
- Node164.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node164.a('node.borderColor','rgba(192,192,192,1)');
- Node164.a('node.background','rgba(192,192,192,1)');
- Node164.a('node.gradient','');
- Node164.a('node.gradientcolor','rgba(192,192,192,1)');
- Node164.a('node.endCompspts',Node164endCompspts);
- Node164.a('node.startCompspts',Node164startCompspts);
- (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 = 'Node164';
- 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);
- }
- })(Node164, Node164.getImage(), Node164compspts, Node164endCompspts, Node164startCompspts);
- var Node165points=[912, 504,912, 596],
- Node165rect=ht.Default.unionPoint([{x:912,y:504},{x:912,y:596}]),
- Node165compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node165points.length;i++){
- if(i%2==0){
- Node165compspts.push(Node165points[i]-Node165rect.x);
- }else{
- Node165compspts.push(Node165points[i]-Node165rect.y);
- }
- }
- var Node165ptslength=Node165compspts.length;
- if (Node165rect.height === 0) {
- Node165compspts[0] -= 0;
- Node165compspts[Node165ptslength-2] += 0;
- } else if (Node165rect.width === 0){
- Node165compspts[1] -= 0;
- Node165compspts[Node165ptslength-1] += 0;
- } else {
- Node165compspts[0] -= 0;
- Node165compspts[1] -= 0;
- Node165compspts[Node165ptslength-2] += 0;
- Node165compspts[Node165ptslength-1] += 0;
- }
- Node165 = new ht.Node();
- Node165.borderWidth = 1;
- Node165rect.width = Node165rect.width === 0 ? 0.0001 : Node165rect.width;
- Node165rect.height = Node165rect.height === 0 ? 0.0001 : Node165rect.height;
- var Node165endCompspts = [Node165compspts[Node165ptslength-2],Node165compspts[Node165ptslength-1],0,0];
- var Node165startCompspts = [Node165compspts[0],Node165compspts[1],0,0];
- Node165.setImage(GD.getPolyLineJSON());
- Node165.setPosition(Node165rect.x+Node165rect.width/2,Node165rect.y+Node165rect.height/2);
- Node165.setSize(Node165rect.width,Node165rect.height);
- Node165.setStyle("opacity",1);
- Node165.s({'pixelPerfect':true});
- Node165borderwidth=1;
- Node165.setRotation(0);
- dataModel.add(Node165);
- Node165.a('node.points',Node165compspts);
- Node165.a('node.segments',[1,2]);
- Node165.a('node.color','rgba(192,192,192,1)');
- Node165.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node165.a('node.borderColor','rgba(192,192,192,1)');
- Node165.a('node.background','rgba(192,192,192,1)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','rgba(192,192,192,1)');
- Node165.a('node.endCompspts',Node165endCompspts);
- Node165.a('node.startCompspts',Node165startCompspts);
- (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 = 'Node165';
- 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);
- }
- })(Node165, Node165.getImage(), Node165compspts, Node165endCompspts, Node165startCompspts);
- var Node166points=[947, 505,947, 596],
- Node166rect=ht.Default.unionPoint([{x:947,y:505},{x:947,y:596}]),
- Node166compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node166points.length;i++){
- if(i%2==0){
- Node166compspts.push(Node166points[i]-Node166rect.x);
- }else{
- Node166compspts.push(Node166points[i]-Node166rect.y);
- }
- }
- var Node166ptslength=Node166compspts.length;
- if (Node166rect.height === 0) {
- Node166compspts[0] -= 0;
- Node166compspts[Node166ptslength-2] += 0;
- } else if (Node166rect.width === 0){
- Node166compspts[1] -= 0;
- Node166compspts[Node166ptslength-1] += 0;
- } else {
- Node166compspts[0] -= 0;
- Node166compspts[1] -= 0;
- Node166compspts[Node166ptslength-2] += 0;
- Node166compspts[Node166ptslength-1] += 0;
- }
- Node166 = new ht.Node();
- Node166.borderWidth = 1;
- Node166rect.width = Node166rect.width === 0 ? 0.0001 : Node166rect.width;
- Node166rect.height = Node166rect.height === 0 ? 0.0001 : Node166rect.height;
- var Node166endCompspts = [Node166compspts[Node166ptslength-2],Node166compspts[Node166ptslength-1],0,0];
- var Node166startCompspts = [Node166compspts[0],Node166compspts[1],0,0];
- Node166.setImage(GD.getPolyLineJSON());
- Node166.setPosition(Node166rect.x+Node166rect.width/2,Node166rect.y+Node166rect.height/2);
- Node166.setSize(Node166rect.width,Node166rect.height);
- Node166.setStyle("opacity",1);
- Node166.s({'pixelPerfect':true});
- Node166borderwidth=1;
- Node166.setRotation(0);
- dataModel.add(Node166);
- Node166.a('node.points',Node166compspts);
- Node166.a('node.segments',[1,2]);
- Node166.a('node.color','rgba(192,192,192,1)');
- Node166.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node166.a('node.borderColor','rgba(192,192,192,1)');
- Node166.a('node.background','rgba(192,192,192,1)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','rgba(192,192,192,1)');
- Node166.a('node.endCompspts',Node166endCompspts);
- Node166.a('node.startCompspts',Node166startCompspts);
- (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 = 'Node166';
- 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);
- }
- })(Node166, Node166.getImage(), Node166compspts, Node166endCompspts, Node166startCompspts);
- var Node167points=[1015, 505,1015, 597],
- Node167rect=ht.Default.unionPoint([{x:1015,y:505},{x:1015,y:597}]),
- Node167compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node167points.length;i++){
- if(i%2==0){
- Node167compspts.push(Node167points[i]-Node167rect.x);
- }else{
- Node167compspts.push(Node167points[i]-Node167rect.y);
- }
- }
- var Node167ptslength=Node167compspts.length;
- if (Node167rect.height === 0) {
- Node167compspts[0] -= 0;
- Node167compspts[Node167ptslength-2] += 0;
- } else if (Node167rect.width === 0){
- Node167compspts[1] -= 0;
- Node167compspts[Node167ptslength-1] += 0;
- } else {
- Node167compspts[0] -= 0;
- Node167compspts[1] -= 0;
- Node167compspts[Node167ptslength-2] += 0;
- Node167compspts[Node167ptslength-1] += 0;
- }
- Node167 = new ht.Node();
- Node167.borderWidth = 1;
- Node167rect.width = Node167rect.width === 0 ? 0.0001 : Node167rect.width;
- Node167rect.height = Node167rect.height === 0 ? 0.0001 : Node167rect.height;
- var Node167endCompspts = [Node167compspts[Node167ptslength-2],Node167compspts[Node167ptslength-1],0,0];
- var Node167startCompspts = [Node167compspts[0],Node167compspts[1],0,0];
- Node167.setImage(GD.getPolyLineJSON());
- Node167.setPosition(Node167rect.x+Node167rect.width/2,Node167rect.y+Node167rect.height/2);
- Node167.setSize(Node167rect.width,Node167rect.height);
- Node167.setStyle("opacity",1);
- Node167.s({'pixelPerfect':true});
- Node167borderwidth=1;
- Node167.setRotation(0);
- dataModel.add(Node167);
- Node167.a('node.points',Node167compspts);
- Node167.a('node.segments',[1,2]);
- Node167.a('node.color','rgba(192,192,192,1)');
- Node167.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node167.a('node.borderColor','rgba(192,192,192,1)');
- Node167.a('node.background','rgba(192,192,192,1)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','rgba(192,192,192,1)');
- Node167.a('node.endCompspts',Node167endCompspts);
- Node167.a('node.startCompspts',Node167startCompspts);
- (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 = 'Node167';
- 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);
- }
- })(Node167, Node167.getImage(), Node167compspts, Node167endCompspts, Node167startCompspts);
- var Node168points=[1086, 505,1086, 596],
- Node168rect=ht.Default.unionPoint([{x:1086,y:505},{x:1086,y:596}]),
- Node168compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node168points.length;i++){
- if(i%2==0){
- Node168compspts.push(Node168points[i]-Node168rect.x);
- }else{
- Node168compspts.push(Node168points[i]-Node168rect.y);
- }
- }
- var Node168ptslength=Node168compspts.length;
- if (Node168rect.height === 0) {
- Node168compspts[0] -= 0;
- Node168compspts[Node168ptslength-2] += 0;
- } else if (Node168rect.width === 0){
- Node168compspts[1] -= 0;
- Node168compspts[Node168ptslength-1] += 0;
- } else {
- Node168compspts[0] -= 0;
- Node168compspts[1] -= 0;
- Node168compspts[Node168ptslength-2] += 0;
- Node168compspts[Node168ptslength-1] += 0;
- }
- Node168 = new ht.Node();
- Node168.borderWidth = 1;
- Node168rect.width = Node168rect.width === 0 ? 0.0001 : Node168rect.width;
- Node168rect.height = Node168rect.height === 0 ? 0.0001 : Node168rect.height;
- var Node168endCompspts = [Node168compspts[Node168ptslength-2],Node168compspts[Node168ptslength-1],0,0];
- var Node168startCompspts = [Node168compspts[0],Node168compspts[1],0,0];
- Node168.setImage(GD.getPolyLineJSON());
- Node168.setPosition(Node168rect.x+Node168rect.width/2,Node168rect.y+Node168rect.height/2);
- Node168.setSize(Node168rect.width,Node168rect.height);
- Node168.setStyle("opacity",1);
- Node168.s({'pixelPerfect':true});
- Node168borderwidth=1;
- Node168.setRotation(0);
- dataModel.add(Node168);
- Node168.a('node.points',Node168compspts);
- Node168.a('node.segments',[1,2]);
- Node168.a('node.color','rgba(192,192,192,1)');
- Node168.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node168.a('node.borderColor','rgba(192,192,192,1)');
- Node168.a('node.background','rgba(192,192,192,1)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','rgba(192,192,192,1)');
- Node168.a('node.endCompspts',Node168endCompspts);
- Node168.a('node.startCompspts',Node168startCompspts);
- (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 = 'Node168';
- 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);
- }
- })(Node168, Node168.getImage(), Node168compspts, Node168endCompspts, Node168startCompspts);
- var Node169points=[760, 429,1132, 429],
- Node169rect=ht.Default.unionPoint([{x:760,y:429},{x:1132,y:429}]),
- Node169compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node169points.length;i++){
- if(i%2==0){
- Node169compspts.push(Node169points[i]-Node169rect.x);
- }else{
- Node169compspts.push(Node169points[i]-Node169rect.y);
- }
- }
- var Node169ptslength=Node169compspts.length;
- if (Node169rect.height === 0) {
- Node169compspts[0] -= 0;
- Node169compspts[Node169ptslength-2] += 0;
- } else if (Node169rect.width === 0){
- Node169compspts[1] -= 0;
- Node169compspts[Node169ptslength-1] += 0;
- } else {
- Node169compspts[0] -= 0;
- Node169compspts[1] -= 0;
- Node169compspts[Node169ptslength-2] += 0;
- Node169compspts[Node169ptslength-1] += 0;
- }
- Node169 = new ht.Node();
- Node169.borderWidth = 1;
- Node169rect.width = Node169rect.width === 0 ? 0.0001 : Node169rect.width;
- Node169rect.height = Node169rect.height === 0 ? 0.0001 : Node169rect.height;
- var Node169endCompspts = [Node169compspts[Node169ptslength-2],Node169compspts[Node169ptslength-1],0,0];
- var Node169startCompspts = [Node169compspts[0],Node169compspts[1],0,0];
- Node169.setImage(GD.getPolyLineJSON());
- Node169.setPosition(Node169rect.x+Node169rect.width/2,Node169rect.y+Node169rect.height/2);
- Node169.setSize(Node169rect.width,Node169rect.height);
- Node169.setStyle("opacity",1);
- Node169.s({'pixelPerfect':true});
- Node169borderwidth=1;
- Node169.setRotation(0);
- dataModel.add(Node169);
- Node169.a('node.points',Node169compspts);
- Node169.a('node.segments',[1,2]);
- Node169.a('node.color','rgba(192,192,192,1)');
- Node169.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node169.a('node.borderColor','rgba(192,192,192,1)');
- Node169.a('node.background','rgba(192,192,192,1)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','rgba(192,192,192,1)');
- Node169.a('node.endCompspts',Node169endCompspts);
- Node169.a('node.startCompspts',Node169startCompspts);
- (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 = 'Node169';
- 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);
- }
- })(Node169, Node169.getImage(), Node169compspts, Node169endCompspts, Node169startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 39*_ratio.ratioX, Node170height = 16*_ratio.ratioY;
- (function () {
- if (Node170align === 'left') {
- Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
- Node170textWidth = Node170width;
- Node170lineStart = 1;
- } else if (Node170align === 'right') {
- Node170textStart = 0;
- Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
- Node170lineStart = (Node170width - (ht.Default.getTextSize('并网', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('并网', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(791*ratio.ratioX, 521*ratio.ratioY);
- Node170.setWidth(Node170width);
- Node170.setHeight(Node170height);
- Node170._nodeType = 'text';
- Node170._disallowEvert = true;
- Node170.setRotation(0*Math.PI/180);
- Node170.a('node.width', Node170width);
- Node170.a('node.height', Node170height);
- Node170.a('node.rect', [0, 0, Node170width, Node170height]);
- Node170.a('node.bordercolor','rgba(128,128,255,1)');
- Node170.a('node.borderwidth', 0);
- Node170.a('node.background','' || 'rgba(0,0,0,0)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','');
- Node170.a('node.text','并网');
- Node170.a('node.textalign','left');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(128,128,255,1)');
- Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"');
- Node170.a('node.textvisible',true);
- Node170.a('node.linefeed',false);
- if (false) {
- Node170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node170.a('node.text') || '并网';
- var color=Node170.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"left",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.Node();
- var Node171textStart, Node171textWidth, Node171lineStart, Node171align = 'left', Node171fontSize = 13.3333*_ratio.ratioY,Node171width = 39*_ratio.ratioX, Node171height = 16*_ratio.ratioY;
- (function () {
- if (Node171align === 'left') {
- Node171textStart = Node171fontSize * 0.2 > 2 ? Node171fontSize * 0.2 - 4 : Node171fontSize * 0.2 - 9;
- Node171textWidth = Node171width;
- Node171lineStart = 1;
- } else if (Node171align === 'right') {
- Node171textStart = 0;
- Node171textWidth =Node171fontSize <= 8 ? Node171width + Node171fontSize * 0.2 + 6 : Node171width - Node171fontSize * 0.2;
- Node171lineStart = (Node171width - (ht.Default.getTextSize('维护', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('维护', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(792*ratio.ratioX, 551*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(192,64,0,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','维护');
- Node171.a('node.textalign','left');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(192,64,0,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"');
- Node171.a('node.textvisible',true);
- Node171.a('node.linefeed',false);
- if (false) {
- Node171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node171.a('node.text') || '维护';
- var color=Node171.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node171width,Node171height,13.3333*_ratio.ratioY,"left",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node171fontSize + 'px "Arial"').width + 6, (Node171height - Node171fontSize) * 0.5*_ratio.ratioY + Node171fontSize + 2 ]);
- Node171.a('node.underlinevisible',false);
- Node171.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node171);
- zoomNodeList.push({
- node: Node171,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172 = new ht.Node();
- var Node172textStart, Node172textWidth, Node172lineStart, Node172align = 'left', Node172fontSize = 13.3333*_ratio.ratioY,Node172width = 39*_ratio.ratioX, Node172height = 16*_ratio.ratioY;
- (function () {
- if (Node172align === 'left') {
- Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9;
- Node172textWidth = Node172width;
- Node172lineStart = 1;
- } else if (Node172align === 'right') {
- Node172textStart = 0;
- Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2;
- Node172lineStart = (Node172width - (ht.Default.getTextSize('限电', ' '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('限电', ' '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, ' '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(792*ratio.ratioX, 581*ratio.ratioY);
- Node172.setWidth(Node172width);
- Node172.setHeight(Node172height);
- Node172._nodeType = 'text';
- Node172._disallowEvert = true;
- Node172.setRotation(0*Math.PI/180);
- Node172.a('node.width', Node172width);
- Node172.a('node.height', Node172height);
- Node172.a('node.rect', [0, 0, Node172width, Node172height]);
- Node172.a('node.bordercolor','rgba(128,0,128,1)');
- Node172.a('node.borderwidth', 0);
- Node172.a('node.background','' || 'rgba(0,0,0,0)');
- Node172.a('node.gradient','');
- Node172.a('node.gradientcolor','');
- Node172.a('node.text','限电');
- Node172.a('node.textalign','left');
- Node172.a('node.textvAlign','middle');
- Node172.a('node.textrect', [Node172textStart, 0, Node172textWidth, Node172height]);
- Node172.a('node.color','rgba(128,0,128,1)');
- Node172.a('node.font',' '+ Node172fontSize + 'px "Arial"');
- Node172.a('node.textvisible',true);
- Node172.a('node.linefeed',false);
- if (false) {
- Node172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node172.a('node.text') || '限电';
- var color=Node172.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node172width,Node172height,13.3333*_ratio.ratioY,"left",color,' '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]);
- Node172.a('node.underlinevisible',false);
- Node172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node172);
- zoomNodeList.push({
- node: Node172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.Node();
- var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 39*_ratio.ratioX, Node173height = 16*_ratio.ratioY;
- (function () {
- if (Node173align === 'left') {
- Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9;
- Node173textWidth = Node173width;
- Node173lineStart = 1;
- } else if (Node173align === 'right') {
- Node173textStart = 0;
- Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2;
- Node173lineStart = (Node173width - (ht.Default.getTextSize('待机', ' '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node173align === 'center') {
- Node173textStart = -3;
- Node173textWidth = Node173width;
- Node173lineStart = Node173width - ht.Default.getTextSize('待机', ' '+ Node173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, ' '+ Node173fontSize + 'px "Arial"'))
- Node173.setPosition(981*ratio.ratioX, 521*ratio.ratioY);
- Node173.setWidth(Node173width);
- Node173.setHeight(Node173height);
- Node173._nodeType = 'text';
- Node173._disallowEvert = true;
- Node173.setRotation(0*Math.PI/180);
- Node173.a('node.width', Node173width);
- Node173.a('node.height', Node173height);
- Node173.a('node.rect', [0, 0, Node173width, Node173height]);
- Node173.a('node.bordercolor','rgba(0,128,0,1)');
- Node173.a('node.borderwidth', 0);
- Node173.a('node.background','' || 'rgba(0,0,0,0)');
- Node173.a('node.gradient','');
- Node173.a('node.gradientcolor','');
- Node173.a('node.text','待机');
- Node173.a('node.textalign','left');
- Node173.a('node.textvAlign','middle');
- Node173.a('node.textrect', [Node173textStart, 0, Node173textWidth, Node173height]);
- Node173.a('node.color','rgba(0,128,0,1)');
- Node173.a('node.font',' '+ Node173fontSize + 'px "Arial"');
- Node173.a('node.textvisible',true);
- Node173.a('node.linefeed',false);
- if (false) {
- Node173.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node173.a('node.text') || '待机';
- var color=Node173.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node173width,Node173height,13.3333*_ratio.ratioY,"left",color,' '+ Node173fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node173.a('node.underlinepoints',[Node173lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]);
- Node173.a('node.underlinevisible',false);
- Node173.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node173);
- zoomNodeList.push({
- node: Node173,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 39*_ratio.ratioX, Node174height = 16*_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('故障', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('故障', ' '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(982*ratio.ratioX, 551*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(192,0,0,1)');
- Node174.a('node.borderwidth', 0);
- Node174.a('node.background','' || 'rgba(0,0,0,0)');
- Node174.a('node.gradient','');
- Node174.a('node.gradientcolor','');
- Node174.a('node.text','故障');
- Node174.a('node.textalign','left');
- Node174.a('node.textvAlign','middle');
- Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]);
- Node174.a('node.color','rgba(192,0,0,1)');
- Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"');
- Node174.a('node.textvisible',true);
- Node174.a('node.linefeed',false);
- if (false) {
- Node174.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node174.a('node.text') || '故障';
- var color=Node174.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node174width,Node174height,13.3333*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node174.a('node.underlinepoints',[Node174lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('故障', ' '+ 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 = 'left', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 39*_ratio.ratioX, Node175height = 16*_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('离线', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('离线', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(982*ratio.ratioX, 581*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','离线');
- Node175.a('node.textalign','left');
- 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') || '离线';
- 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,"left",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('离线', ' '+ 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 = 'left', Node176fontSize = 13.3333*_ratio.ratioY,Node176width = 29*_ratio.ratioX, Node176height = 25*_ratio.ratioY;
- (function () {
- if (Node176align === 'left') {
- Node176textStart = Node176fontSize * 0.2 > 2 ? Node176fontSize * 0.2 - 4 : Node176fontSize * 0.2 - 9;
- Node176textWidth = Node176width;
- Node176lineStart = 1;
- } else if (Node176align === 'right') {
- Node176textStart = 0;
- Node176textWidth =Node176fontSize <= 8 ? Node176width + Node176fontSize * 0.2 + 6 : Node176width - Node176fontSize * 0.2;
- Node176lineStart = (Node176width - (ht.Default.getTextSize('台', ' '+ Node176fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node176align === 'center') {
- Node176textStart = -3;
- Node176textWidth = Node176width;
- Node176lineStart = Node176width - ht.Default.getTextSize('台', ' '+ Node176fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node176.setImage(GD.getTextJSON(Node176width, Node176height, true, false, false, ' '+ Node176fontSize + 'px "UniDreamLED"'))
- Node176.setPosition(933*ratio.ratioX, 521*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(64,64,64,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','台');
- Node176.a('node.textalign','left');
- Node176.a('node.textvAlign','middle');
- Node176.a('node.textrect', [Node176textStart, 0, Node176textWidth, Node176height]);
- Node176.a('node.color','rgba(64,64,64,1)');
- Node176.a('node.font',' '+ Node176fontSize + 'px "UniDreamLED"');
- Node176.a('node.textvisible',true);
- Node176.a('node.linefeed',false);
- if (false) {
- Node176.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node176.a('node.text') || '台';
- var color=Node176.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node176width,Node176height,13.3333*_ratio.ratioY,"left",color,' '+ Node176fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node176.a('node.underlinepoints',[Node176lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node176fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node176fontSize + 'px "UniDreamLED"').width + 6, (Node176height - Node176fontSize) * 0.5*_ratio.ratioY + Node176fontSize + 2 ]);
- Node176.a('node.underlinevisible',false);
- Node176.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node176);
- zoomNodeList.push({
- node: Node176,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'left', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 29*_ratio.ratioX, Node177height = 25*_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('台', ' '+ Node177fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('台', ' '+ Node177fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "UniDreamLED"'))
- Node177.setPosition(933*ratio.ratioX, 552*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(64,64,64,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','台');
- Node177.a('node.textalign','left');
- Node177.a('node.textvAlign','middle');
- Node177.a('node.textrect', [Node177textStart, 0, Node177textWidth, Node177height]);
- Node177.a('node.color','rgba(64,64,64,1)');
- Node177.a('node.font',' '+ Node177fontSize + 'px "UniDreamLED"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || '台';
- var color=Node177.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node177width,Node177height,13.3333*_ratio.ratioY,"left",color,' '+ Node177fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node177fontSize + 'px "UniDreamLED"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 29*_ratio.ratioX, Node178height = 25*_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('台', ' '+ Node178fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('台', ' '+ Node178fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "UniDreamLED"'))
- Node178.setPosition(934*ratio.ratioX, 581*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(64,64,64,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(64,64,64,1)');
- Node178.a('node.font',' '+ Node178fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node178fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node179width = 29*_ratio.ratioX, Node179height = 25*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('101', ' '+ Node179fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('101', ' '+ Node179fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "UniDreamLED"'))
- Node179.setPosition(878*ratio.ratioX, 521*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(64,64,64,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','101');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(64,64,64,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "UniDreamLED"');
- 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') || '101';
- var color=Node179.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('101', ' '+ Node179fontSize + 'px "UniDreamLED"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 29*_ratio.ratioX, Node180height = 25*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "UniDreamLED"'))
- Node180.setPosition(878*ratio.ratioX, 550*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(64,64,64,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','0');
- Node180.a('node.textalign','left');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(64,64,64,1)');
- Node180.a('node.font',' '+ Node180fontSize + 'px "UniDreamLED"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '0';
- var color=Node180.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node180fontSize + 'px "UniDreamLED"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.Node();
- var Node181textStart, Node181textWidth, Node181lineStart, Node181align = 'left', Node181fontSize = 13.3333*_ratio.ratioY,Node181width = 29*_ratio.ratioX, Node181height = 25*_ratio.ratioY;
- (function () {
- if (Node181align === 'left') {
- Node181textStart = Node181fontSize * 0.2 > 2 ? Node181fontSize * 0.2 - 4 : Node181fontSize * 0.2 - 9;
- Node181textWidth = Node181width;
- Node181lineStart = 1;
- } else if (Node181align === 'right') {
- Node181textStart = 0;
- Node181textWidth =Node181fontSize <= 8 ? Node181width + Node181fontSize * 0.2 + 6 : Node181width - Node181fontSize * 0.2;
- Node181lineStart = (Node181width - (ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node181align === 'center') {
- Node181textStart = -3;
- Node181textWidth = Node181width;
- Node181lineStart = Node181width - ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node181.setImage(GD.getTextJSON(Node181width, Node181height, true, false, false, ' '+ Node181fontSize + 'px "UniDreamLED"'))
- Node181.setPosition(878*ratio.ratioX, 581*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(64,64,64,1)');
- Node181.a('node.borderwidth', 0);
- Node181.a('node.background','' || 'rgba(0,0,0,0)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','');
- Node181.a('node.text','0');
- Node181.a('node.textalign','left');
- Node181.a('node.textvAlign','middle');
- Node181.a('node.textrect', [Node181textStart, 0, Node181textWidth, Node181height]);
- Node181.a('node.color','rgba(64,64,64,1)');
- Node181.a('node.font',' '+ Node181fontSize + 'px "UniDreamLED"');
- Node181.a('node.textvisible',true);
- Node181.a('node.linefeed',false);
- if (false) {
- Node181.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node181.a('node.text') || '0';
- var color=Node181.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node181width,Node181height,13.3333*_ratio.ratioY,"left",color,' '+ Node181fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node181.a('node.underlinepoints',[Node181lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node181fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node181fontSize + 'px "UniDreamLED"').width + 6, (Node181height - Node181fontSize) * 0.5*_ratio.ratioY + Node181fontSize + 2 ]);
- Node181.a('node.underlinevisible',false);
- Node181.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node181);
- zoomNodeList.push({
- node: Node181,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.Node();
- var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 29*_ratio.ratioX, Node182height = 25*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('0', ' '+ Node182fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('0', ' '+ Node182fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "UniDreamLED"'))
- Node182.setPosition(1055*ratio.ratioX, 521*ratio.ratioY);
- Node182.setWidth(Node182width);
- Node182.setHeight(Node182height);
- Node182._nodeType = 'text';
- Node182._disallowEvert = true;
- Node182.setRotation(0*Math.PI/180);
- Node182.a('node.width', Node182width);
- Node182.a('node.height', Node182height);
- Node182.a('node.rect', [0, 0, Node182width, Node182height]);
- Node182.a('node.bordercolor','rgba(64,64,64,1)');
- Node182.a('node.borderwidth', 0);
- Node182.a('node.background','' || 'rgba(0,0,0,0)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','');
- Node182.a('node.text','0');
- Node182.a('node.textalign','left');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(64,64,64,1)');
- Node182.a('node.font',' '+ Node182fontSize + 'px "UniDreamLED"');
- Node182.a('node.textvisible',true);
- Node182.a('node.linefeed',false);
- if (false) {
- Node182.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182.a('node.text') || '0';
- var color=Node182.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"left",color,' '+ Node182fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node182fontSize + 'px "UniDreamLED"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
- Node182.a('node.underlinevisible',false);
- Node182.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182);
- zoomNodeList.push({
- node: Node182,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.Node();
- var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 29*_ratio.ratioX, Node183height = 25*_ratio.ratioY;
- (function () {
- if (Node183align === 'left') {
- Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
- Node183textWidth = Node183width;
- Node183lineStart = 1;
- } else if (Node183align === 'right') {
- Node183textStart = 0;
- Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
- Node183lineStart = (Node183width - (ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "UniDreamLED"'))
- Node183.setPosition(1055*ratio.ratioX, 550*ratio.ratioY);
- Node183.setWidth(Node183width);
- Node183.setHeight(Node183height);
- Node183._nodeType = 'text';
- Node183._disallowEvert = true;
- Node183.setRotation(0*Math.PI/180);
- Node183.a('node.width', Node183width);
- Node183.a('node.height', Node183height);
- Node183.a('node.rect', [0, 0, Node183width, Node183height]);
- Node183.a('node.bordercolor','rgba(64,64,64,1)');
- Node183.a('node.borderwidth', 0);
- Node183.a('node.background','' || 'rgba(0,0,0,0)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','');
- Node183.a('node.text','0');
- Node183.a('node.textalign','left');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(64,64,64,1)');
- Node183.a('node.font',' '+ Node183fontSize + 'px "UniDreamLED"');
- Node183.a('node.textvisible',true);
- Node183.a('node.linefeed',false);
- if (false) {
- Node183.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node183.a('node.text') || '0';
- var color=Node183.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"left",color,' '+ Node183fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "UniDreamLED"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
- Node183.a('node.underlinevisible',false);
- Node183.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node183);
- zoomNodeList.push({
- node: Node183,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('0', ' '+ Node184fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "UniDreamLED"'))
- Node184.setPosition(1055*ratio.ratioX, 581*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(64,64,64,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(64,64,64,1)');
- Node184.a('node.font',' '+ Node184fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node184fontSize + 'px "UniDreamLED"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
- Node184.a('node.underlinevisible',false);
- Node184.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node184);
- zoomNodeList.push({
- node: Node184,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.Node();
- var Node185textStart, Node185textWidth, Node185lineStart, Node185align = 'left', Node185fontSize = 13.3333*_ratio.ratioY,Node185width = 29*_ratio.ratioX, Node185height = 25*_ratio.ratioY;
- (function () {
- if (Node185align === 'left') {
- Node185textStart = Node185fontSize * 0.2 > 2 ? Node185fontSize * 0.2 - 4 : Node185fontSize * 0.2 - 9;
- Node185textWidth = Node185width;
- Node185lineStart = 1;
- } else if (Node185align === 'right') {
- Node185textStart = 0;
- Node185textWidth =Node185fontSize <= 8 ? Node185width + Node185fontSize * 0.2 + 6 : Node185width - Node185fontSize * 0.2;
- Node185lineStart = (Node185width - (ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node185align === 'center') {
- Node185textStart = -3;
- Node185textWidth = Node185width;
- Node185lineStart = Node185width - ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node185.setImage(GD.getTextJSON(Node185width, Node185height, true, false, false, ' '+ Node185fontSize + 'px "UniDreamLED"'))
- Node185.setPosition(1109*ratio.ratioX, 520*ratio.ratioY);
- Node185.setWidth(Node185width);
- Node185.setHeight(Node185height);
- Node185._nodeType = 'text';
- Node185._disallowEvert = true;
- Node185.setRotation(0*Math.PI/180);
- Node185.a('node.width', Node185width);
- Node185.a('node.height', Node185height);
- Node185.a('node.rect', [0, 0, Node185width, Node185height]);
- Node185.a('node.bordercolor','rgba(64,64,64,1)');
- Node185.a('node.borderwidth', 0);
- Node185.a('node.background','' || 'rgba(0,0,0,0)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','');
- Node185.a('node.text','台');
- Node185.a('node.textalign','left');
- Node185.a('node.textvAlign','middle');
- Node185.a('node.textrect', [Node185textStart, 0, Node185textWidth, Node185height]);
- Node185.a('node.color','rgba(64,64,64,1)');
- Node185.a('node.font',' '+ Node185fontSize + 'px "UniDreamLED"');
- Node185.a('node.textvisible',true);
- Node185.a('node.linefeed',false);
- if (false) {
- Node185.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node185.a('node.text') || '台';
- var color=Node185.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node185width,Node185height,13.3333*_ratio.ratioY,"left",color,' '+ Node185fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node185.a('node.underlinepoints',[Node185lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node185fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node185fontSize + 'px "UniDreamLED"').width + 6, (Node185height - Node185fontSize) * 0.5*_ratio.ratioY + Node185fontSize + 2 ]);
- Node185.a('node.underlinevisible',false);
- Node185.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node185);
- zoomNodeList.push({
- node: Node185,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 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('台', ' '+ Node186fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('台', ' '+ Node186fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "UniDreamLED"'))
- Node186.setPosition(1109*ratio.ratioX, 551*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(64,64,64,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','台');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(64,64,64,1)');
- Node186.a('node.font',' '+ Node186fontSize + 'px "UniDreamLED"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '台';
- var color=Node186.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node186fontSize + 'px "UniDreamLED"').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 = 29*_ratio.ratioX, Node187height = 25*_ratio.ratioY;
- (function () {
- if (Node187align === 'left') {
- Node187textStart = Node187fontSize * 0.2 > 2 ? Node187fontSize * 0.2 - 4 : Node187fontSize * 0.2 - 9;
- Node187textWidth = Node187width;
- Node187lineStart = 1;
- } else if (Node187align === 'right') {
- Node187textStart = 0;
- Node187textWidth =Node187fontSize <= 8 ? Node187width + Node187fontSize * 0.2 + 6 : Node187width - Node187fontSize * 0.2;
- Node187lineStart = (Node187width - (ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "UniDreamLED"'))
- Node187.setPosition(1110*ratio.ratioX, 580*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(64,64,64,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(64,64,64,1)');
- Node187.a('node.font',' '+ Node187fontSize + 'px "UniDreamLED"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node187.a('node.underlinepoints',[Node187lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node187fontSize + 'px "UniDreamLED"').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 Node188type = 'rect';
- var Node188 = new ht.Node(),
- Node188BorderWidth = 0*2;
- if (Node188type === 'arc') {
- Node188BorderWidth *= 0;
- }
- Node188.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node188type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node188.setPosition(1359*ratio.ratioX, 583*ratio.ratioY);
- Node188.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node188.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node188.a('node.width', 66*_ratio.ratioX);
- Node188.a('node.height', 30*_ratio.ratioY);
- Node188.a('node.type', Node188type);
- Node188.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node188.a('node.background', 'rgba(245,245,245,1)');
- Node188.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node188.a('node.gradient', '');
- Node188.a('node.borderwidth', Node188BorderWidth);
- Node188.a('node.color', 'rgba(224,224,224,0)');
- Node188.a('node.fillrect', [0,0,0,0]);
- Node188.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node188.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node188.a('node.fillgradient', '');
- if (Node188type !== 'rect') {
- Node188.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node188.a('node.arcTo', parseFloat('@arcTo@'));
- Node188.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node188type === 'arc') {
- Node188.a('node.arcOval', true);
- }
- Node188.setRotation(0*Math.PI/180);
- Node188.borderWidth = Node188BorderWidth;
- Node188.borderFillwidth = Node188BorderWidth;
- dataModel.add(Node188);
- Node188._nodename = 'Node188'
- Node188._nodeType = 'rect';
- zoomNodeList.push({
- node: Node188,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node188, Node188.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189type = 'rect';
- var Node189 = new ht.Node(),
- Node189BorderWidth = 0*2;
- if (Node189type === 'arc') {
- Node189BorderWidth *= 0;
- }
- Node189.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node189type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node189.setPosition(1359*ratio.ratioX, 552*ratio.ratioY);
- Node189.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node189.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node189.a('node.width', 66*_ratio.ratioX);
- Node189.a('node.height', 30*_ratio.ratioY);
- Node189.a('node.type', Node189type);
- Node189.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node189.a('node.background', 'rgba(245,245,245,1)');
- Node189.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node189.a('node.gradient', '');
- Node189.a('node.borderwidth', Node189BorderWidth);
- Node189.a('node.color', 'rgba(224,224,224,0)');
- Node189.a('node.fillrect', [0,0,0,0]);
- Node189.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node189.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node189.a('node.fillgradient', '');
- if (Node189type !== 'rect') {
- Node189.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node189.a('node.arcTo', parseFloat('@arcTo@'));
- Node189.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node189type === 'arc') {
- Node189.a('node.arcOval', true);
- }
- Node189.setRotation(0*Math.PI/180);
- Node189.borderWidth = Node189BorderWidth;
- Node189.borderFillwidth = Node189BorderWidth;
- dataModel.add(Node189);
- Node189._nodename = 'Node189'
- Node189._nodeType = 'rect';
- zoomNodeList.push({
- node: Node189,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node189, Node189.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190type = 'rect';
- var Node190 = new ht.Node(),
- Node190BorderWidth = 0*2;
- if (Node190type === 'arc') {
- Node190BorderWidth *= 0;
- }
- Node190.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node190type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node190.setPosition(1359*ratio.ratioX, 521*ratio.ratioY);
- Node190.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node190.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node190.a('node.width', 66*_ratio.ratioX);
- Node190.a('node.height', 30*_ratio.ratioY);
- Node190.a('node.type', Node190type);
- Node190.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node190.a('node.background', 'rgba(245,245,245,1)');
- Node190.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node190.a('node.gradient', '');
- Node190.a('node.borderwidth', Node190BorderWidth);
- Node190.a('node.color', 'rgba(224,224,224,0)');
- Node190.a('node.fillrect', [0,0,0,0]);
- Node190.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node190.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node190.a('node.fillgradient', '');
- if (Node190type !== 'rect') {
- Node190.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node190.a('node.arcTo', parseFloat('@arcTo@'));
- Node190.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node190type === 'arc') {
- Node190.a('node.arcOval', true);
- }
- Node190.setRotation(0*Math.PI/180);
- Node190.borderWidth = Node190BorderWidth;
- Node190.borderFillwidth = Node190BorderWidth;
- dataModel.add(Node190);
- Node190._nodename = 'Node190'
- Node190._nodeType = 'rect';
- zoomNodeList.push({
- node: Node190,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node190, Node190.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node191type = 'rect';
- var Node191 = new ht.Node(),
- Node191BorderWidth = 0*2;
- if (Node191type === 'arc') {
- Node191BorderWidth *= 0;
- }
- Node191.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node191type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node191.setPosition(1170*ratio.ratioX, 583*ratio.ratioY);
- Node191.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node191.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node191.a('node.width', 66*_ratio.ratioX);
- Node191.a('node.height', 30*_ratio.ratioY);
- Node191.a('node.type', Node191type);
- Node191.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node191.a('node.background', 'rgba(245,245,245,1)');
- Node191.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node191.a('node.gradient', '');
- Node191.a('node.borderwidth', Node191BorderWidth);
- Node191.a('node.color', 'rgba(224,224,224,0)');
- Node191.a('node.fillrect', [0,0,0,0]);
- Node191.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node191.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node191.a('node.fillgradient', '');
- if (Node191type !== 'rect') {
- Node191.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node191.a('node.arcTo', parseFloat('@arcTo@'));
- Node191.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node191type === 'arc') {
- Node191.a('node.arcOval', true);
- }
- Node191.setRotation(0*Math.PI/180);
- Node191.borderWidth = Node191BorderWidth;
- Node191.borderFillwidth = Node191BorderWidth;
- dataModel.add(Node191);
- Node191._nodename = 'Node191'
- Node191._nodeType = 'rect';
- zoomNodeList.push({
- node: Node191,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node191, Node191.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192type = 'rect';
- var Node192 = new ht.Node(),
- Node192BorderWidth = 0*2;
- if (Node192type === 'arc') {
- Node192BorderWidth *= 0;
- }
- Node192.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node192type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node192.setPosition(1170*ratio.ratioX, 551*ratio.ratioY);
- Node192.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node192.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node192.a('node.width', 66*_ratio.ratioX);
- Node192.a('node.height', 30*_ratio.ratioY);
- Node192.a('node.type', Node192type);
- Node192.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node192.a('node.background', 'rgba(245,245,245,1)');
- Node192.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node192.a('node.gradient', '');
- Node192.a('node.borderwidth', Node192BorderWidth);
- Node192.a('node.color', 'rgba(224,224,224,0)');
- Node192.a('node.fillrect', [0,0,0,0]);
- Node192.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node192.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node192.a('node.fillgradient', '');
- if (Node192type !== 'rect') {
- Node192.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node192.a('node.arcTo', parseFloat('@arcTo@'));
- Node192.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node192type === 'arc') {
- Node192.a('node.arcOval', true);
- }
- Node192.setRotation(0*Math.PI/180);
- Node192.borderWidth = Node192BorderWidth;
- Node192.borderFillwidth = Node192BorderWidth;
- dataModel.add(Node192);
- Node192._nodename = 'Node192'
- Node192._nodeType = 'rect';
- zoomNodeList.push({
- node: Node192,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node192, Node192.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193type = 'rect';
- var Node193 = new ht.Node(),
- Node193BorderWidth = 0*2;
- if (Node193type === 'arc') {
- Node193BorderWidth *= 0;
- }
- Node193.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node193type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node193.setPosition(1171*ratio.ratioX, 520*ratio.ratioY);
- Node193.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node193.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node193.a('node.width', 66*_ratio.ratioX);
- Node193.a('node.height', 30*_ratio.ratioY);
- Node193.a('node.type', Node193type);
- Node193.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node193.a('node.background', 'rgba(245,245,245,1)');
- Node193.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node193.a('node.gradient', '');
- Node193.a('node.borderwidth', Node193BorderWidth);
- Node193.a('node.color', 'rgba(224,224,224,0)');
- Node193.a('node.fillrect', [0,0,0,0]);
- Node193.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node193.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node193.a('node.fillgradient', '');
- if (Node193type !== 'rect') {
- Node193.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node193.a('node.arcTo', parseFloat('@arcTo@'));
- Node193.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node193type === 'arc') {
- Node193.a('node.arcOval', true);
- }
- Node193.setRotation(0*Math.PI/180);
- Node193.borderWidth = Node193BorderWidth;
- Node193.borderFillwidth = Node193BorderWidth;
- dataModel.add(Node193);
- Node193._nodename = 'Node193'
- Node193._nodeType = 'rect';
- zoomNodeList.push({
- node: Node193,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node193, Node193.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194= new ht.Node();
- Node194._borderWidth = 1;
- Node194.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node194._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node194.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node194.background'},
- gradient: {value:'', func: 'attr@Node194.gradient'},
- gradientColor:{value:'', func: 'attr@Node194.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node194.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node194.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node194.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node194.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node194.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node194.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node194.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node194.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node194.borderPattern'}
- }
- ]
- });
- var Node194borderwidth = 1;
- var Node194borderFillwidth = 1*2;
- Node194 .setPosition(1323*ratio.ratioX,453*ratio.ratioY);
- Node194.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node194.setRotation(0*Math.PI/180);
- Node194.s({'pixelPerfect':true});
- Node194.a('Node194.borderwidth',1);
- Node194.a('Node194.color','@bordercolor@');
- Node194.a('Node194.background','rgba(255,255,255,0.003921569)');
- Node194.a('Node194.gradient','');
- Node194.a('Node194.gradientcolor','');
- Node194.a('Node194.borderPattern',getDashStyle("Solid"));
- Node194.a('Node194.fillrect',[0,0,0,0]);
- Node194.a('Node194.fillbackcolor','rgba(0, 0, 0, 0)');
- Node194.a('Node194.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node194.a('Node194.fillgradient','');
- Node194borderwidth=1;
- dataModel.add(Node194);
- Node194.borderWidth = 1;
- Node194.borderFillwidth = 1*2;
- Node194._nodename = 'Node194';
- Node194._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node194,
- attr: 'Node194.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node194.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node194.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node194, Node194.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195 = new ht.Node();
- var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'left', Node195fontSize = 11.99997*_ratio.ratioY,Node195width = 150*_ratio.ratioX, Node195height = 25*_ratio.ratioY;
- (function () {
- if (Node195align === 'left') {
- Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9;
- Node195textWidth = Node195width;
- Node195lineStart = 1;
- } else if (Node195align === 'right') {
- Node195textStart = 0;
- Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2;
- Node195lineStart = (Node195width - (ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node195fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195align === 'center') {
- Node195textStart = -3;
- Node195textWidth = Node195width;
- Node195lineStart = Node195width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node195fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, 'bold '+ Node195fontSize + 'px "Arial"'))
- Node195.setPosition(1218*ratio.ratioX, 417*ratio.ratioY);
- Node195.setWidth(Node195width);
- Node195.setHeight(Node195height);
- Node195._nodeType = 'text';
- Node195._disallowEvert = true;
- Node195.setRotation(0*Math.PI/180);
- Node195.a('node.width', Node195width);
- Node195.a('node.height', Node195height);
- Node195.a('node.rect', [0, 0, Node195width, Node195height]);
- Node195.a('node.bordercolor','rgba(64,64,64,1)');
- Node195.a('node.borderwidth', 0);
- Node195.a('node.background','' || 'rgba(0,0,0,0)');
- Node195.a('node.gradient','');
- Node195.a('node.gradientcolor','');
- Node195.a('node.text','平鲁虎头山风电场');
- Node195.a('node.textalign','left');
- Node195.a('node.textvAlign','middle');
- Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]);
- Node195.a('node.color','rgba(64,64,64,1)');
- Node195.a('node.font','bold '+ Node195fontSize + 'px "Arial"');
- Node195.a('node.textvisible',true);
- Node195.a('node.linefeed',false);
- if (false) {
- Node195.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195.a('node.text') || '平鲁虎头山风电场';
- var color=Node195.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node195width,Node195height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node195fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195.a('node.underlinepoints',[Node195lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node195fontSize + 'px "Arial"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]);
- Node195.a('node.underlinevisible',false);
- Node195.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195);
- zoomNodeList.push({
- node: Node195,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node196 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1418*ratio.ratioX, 417*ratio.ratioY, 0, {text:'24',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node197 = new ht.Node();
- var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'left', Node197fontSize = 11.99997*_ratio.ratioY,Node197width = 40*_ratio.ratioX, Node197height = 21*_ratio.ratioY;
- (function () {
- if (Node197align === 'left') {
- Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9;
- Node197textWidth = Node197width;
- Node197lineStart = 1;
- } else if (Node197align === 'right') {
- Node197textStart = 0;
- Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2;
- Node197lineStart = (Node197width - (ht.Default.getTextSize('4.48', ' '+ Node197fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('4.48', ' '+ Node197fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "UniDreamLED"'))
- Node197.setPosition(1273*ratio.ratioX, 461*ratio.ratioY);
- Node197.setWidth(Node197width);
- Node197.setHeight(Node197height);
- Node197._nodeType = 'text';
- Node197._disallowEvert = true;
- Node197.setRotation(0*Math.PI/180);
- Node197.a('node.width', Node197width);
- Node197.a('node.height', Node197height);
- Node197.a('node.rect', [0, 0, Node197width, Node197height]);
- Node197.a('node.bordercolor','rgba(0,0,0,1)');
- Node197.a('node.borderwidth', 0);
- Node197.a('node.background','' || 'rgba(0,0,0,0)');
- Node197.a('node.gradient','');
- Node197.a('node.gradientcolor','');
- Node197.a('node.text','4.48');
- Node197.a('node.textalign','left');
- Node197.a('node.textvAlign','middle');
- Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
- Node197.a('node.color','rgba(0,0,0,1)');
- Node197.a('node.font',' '+ Node197fontSize + 'px "UniDreamLED"');
- Node197.a('node.textvisible',true);
- Node197.a('node.linefeed',false);
- if (false) {
- Node197.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node197.a('node.text') || '4.48';
- var color=Node197.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node197width,Node197height,11.99997*_ratio.ratioY,"left",color,' '+ Node197fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node197fontSize + 'px "UniDreamLED"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]);
- Node197.a('node.underlinevisible',false);
- Node197.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node197);
- zoomNodeList.push({
- node: Node197,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node198 = new ht.Node();
- var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 11.99997*_ratio.ratioY,Node198width = 40*_ratio.ratioX, Node198height = 21*_ratio.ratioY;
- (function () {
- if (Node198align === 'left') {
- Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9;
- Node198textWidth = Node198width;
- Node198lineStart = 1;
- } else if (Node198align === 'right') {
- Node198textStart = 0;
- Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2;
- Node198lineStart = (Node198width - (ht.Default.getTextSize('m/s', ' '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('m/s', ' '+ Node198fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "Arial"'))
- Node198.setPosition(1273*ratio.ratioX, 482*ratio.ratioY);
- Node198.setWidth(Node198width);
- Node198.setHeight(Node198height);
- Node198._nodeType = 'text';
- Node198._disallowEvert = true;
- Node198.setRotation(0*Math.PI/180);
- Node198.a('node.width', Node198width);
- Node198.a('node.height', Node198height);
- Node198.a('node.rect', [0, 0, Node198width, Node198height]);
- Node198.a('node.bordercolor','rgba(0,0,0,1)');
- Node198.a('node.borderwidth', 0);
- Node198.a('node.background','' || 'rgba(0,0,0,0)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','');
- Node198.a('node.text','m/s');
- Node198.a('node.textalign','left');
- Node198.a('node.textvAlign','middle');
- Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
- Node198.a('node.color','rgba(0,0,0,1)');
- Node198.a('node.font',' '+ Node198fontSize + 'px "Arial"');
- Node198.a('node.textvisible',true);
- Node198.a('node.linefeed',false);
- if (false) {
- Node198.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node198.a('node.text') || 'm/s';
- var color=Node198.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node198width,Node198height,11.99997*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
- Node198.a('node.underlinevisible',false);
- Node198.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node198);
- zoomNodeList.push({
- node: Node198,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.Node();
- var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'left', Node199fontSize = 11.99997*_ratio.ratioY,Node199width = 40*_ratio.ratioX, Node199height = 21*_ratio.ratioY;
- (function () {
- if (Node199align === 'left') {
- Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9;
- Node199textWidth = Node199width;
- Node199lineStart = 1;
- } else if (Node199align === 'right') {
- Node199textStart = 0;
- Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2;
- Node199lineStart = (Node199width - (ht.Default.getTextSize('功率', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node199align === 'center') {
- Node199textStart = -3;
- Node199textWidth = Node199width;
- Node199lineStart = Node199width - ht.Default.getTextSize('功率', 'bold '+ Node199fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"'))
- Node199.setPosition(1333*ratio.ratioX, 449*ratio.ratioY);
- Node199.setWidth(Node199width);
- Node199.setHeight(Node199height);
- Node199._nodeType = 'text';
- Node199._disallowEvert = true;
- Node199.setRotation(0*Math.PI/180);
- Node199.a('node.width', Node199width);
- Node199.a('node.height', Node199height);
- Node199.a('node.rect', [0, 0, Node199width, Node199height]);
- Node199.a('node.bordercolor','rgba(64,64,64,1)');
- Node199.a('node.borderwidth', 0);
- Node199.a('node.background','' || 'rgba(0,0,0,0)');
- Node199.a('node.gradient','');
- Node199.a('node.gradientcolor','');
- Node199.a('node.text','功率');
- Node199.a('node.textalign','left');
- Node199.a('node.textvAlign','middle');
- Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]);
- Node199.a('node.color','rgba(64,64,64,1)');
- Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"');
- Node199.a('node.textvisible',true);
- Node199.a('node.linefeed',false);
- if (false) {
- Node199.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node199.a('node.text') || '功率';
- var color=Node199.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node199width,Node199height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node199.a('node.underlinepoints',[Node199lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
- Node199.a('node.underlinevisible',false);
- Node199.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node199);
- zoomNodeList.push({
- node: Node199,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.Node();
- var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 11.99997*_ratio.ratioY,Node200width = 44*_ratio.ratioX, Node200height = 21*_ratio.ratioY;
- (function () {
- if (Node200align === 'left') {
- Node200textStart = Node200fontSize * 0.2 > 2 ? Node200fontSize * 0.2 - 4 : Node200fontSize * 0.2 - 9;
- Node200textWidth = Node200width;
- Node200lineStart = 1;
- } else if (Node200align === 'right') {
- Node200textStart = 0;
- Node200textWidth =Node200fontSize <= 8 ? Node200width + Node200fontSize * 0.2 + 6 : Node200width - Node200fontSize * 0.2;
- Node200lineStart = (Node200width - (ht.Default.getTextSize('发电量', 'bold '+ Node200fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node200align === 'center') {
- Node200textStart = -3;
- Node200textWidth = Node200width;
- Node200lineStart = Node200width - ht.Default.getTextSize('发电量', 'bold '+ Node200fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, 'bold '+ Node200fontSize + 'px "Arial"'))
- Node200.setPosition(1335*ratio.ratioX, 483*ratio.ratioY);
- Node200.setWidth(Node200width);
- Node200.setHeight(Node200height);
- Node200._nodeType = 'text';
- Node200._disallowEvert = true;
- Node200.setRotation(0*Math.PI/180);
- Node200.a('node.width', Node200width);
- Node200.a('node.height', Node200height);
- Node200.a('node.rect', [0, 0, Node200width, Node200height]);
- Node200.a('node.bordercolor','rgba(64,64,64,1)');
- Node200.a('node.borderwidth', 0);
- Node200.a('node.background','' || 'rgba(0,0,0,0)');
- Node200.a('node.gradient','');
- Node200.a('node.gradientcolor','');
- Node200.a('node.text','发电量');
- Node200.a('node.textalign','left');
- Node200.a('node.textvAlign','middle');
- Node200.a('node.textrect', [Node200textStart, 0, Node200textWidth, Node200height]);
- Node200.a('node.color','rgba(64,64,64,1)');
- Node200.a('node.font','bold '+ Node200fontSize + 'px "Arial"');
- Node200.a('node.textvisible',true);
- Node200.a('node.linefeed',false);
- if (false) {
- Node200.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node200.a('node.text') || '发电量';
- var color=Node200.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node200width,Node200height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node200fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node200.a('node.underlinepoints',[Node200lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node200fontSize + 'px "Arial"').width + 6, (Node200height - Node200fontSize) * 0.5*_ratio.ratioY + Node200fontSize + 2 ]);
- Node200.a('node.underlinevisible',false);
- Node200.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node200);
- zoomNodeList.push({
- node: Node200,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node201 = new ht.Node();
- var Node201textStart, Node201textWidth, Node201lineStart, Node201align = 'left', Node201fontSize = 13.3333*_ratio.ratioY,Node201width = 29*_ratio.ratioX, Node201height = 25*_ratio.ratioY;
- (function () {
- if (Node201align === 'left') {
- Node201textStart = Node201fontSize * 0.2 > 2 ? Node201fontSize * 0.2 - 4 : Node201fontSize * 0.2 - 9;
- Node201textWidth = Node201width;
- Node201lineStart = 1;
- } else if (Node201align === 'right') {
- Node201textStart = 0;
- Node201textWidth =Node201fontSize <= 8 ? Node201width + Node201fontSize * 0.2 + 6 : Node201width - Node201fontSize * 0.2;
- Node201lineStart = (Node201width - (ht.Default.getTextSize('台', ' '+ Node201fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node201align === 'center') {
- Node201textStart = -3;
- Node201textWidth = Node201width;
- Node201lineStart = Node201width - ht.Default.getTextSize('台', ' '+ Node201fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node201.setImage(GD.getTextJSON(Node201width, Node201height, true, false, false, ' '+ Node201fontSize + 'px "Arial"'))
- Node201.setPosition(1483*ratio.ratioX, 418*ratio.ratioY);
- Node201.setWidth(Node201width);
- Node201.setHeight(Node201height);
- Node201._nodeType = 'text';
- Node201._disallowEvert = true;
- Node201.setRotation(0*Math.PI/180);
- Node201.a('node.width', Node201width);
- Node201.a('node.height', Node201height);
- Node201.a('node.rect', [0, 0, Node201width, Node201height]);
- Node201.a('node.bordercolor','rgba(64,64,64,1)');
- Node201.a('node.borderwidth', 0);
- Node201.a('node.background','' || 'rgba(0,0,0,0)');
- Node201.a('node.gradient','');
- Node201.a('node.gradientcolor','');
- Node201.a('node.text','台');
- Node201.a('node.textalign','left');
- Node201.a('node.textvAlign','middle');
- Node201.a('node.textrect', [Node201textStart, 0, Node201textWidth, Node201height]);
- Node201.a('node.color','rgba(64,64,64,1)');
- Node201.a('node.font',' '+ Node201fontSize + 'px "Arial"');
- Node201.a('node.textvisible',true);
- Node201.a('node.linefeed',false);
- if (false) {
- Node201.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node201.a('node.text') || '台';
- var color=Node201.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node201width,Node201height,13.3333*_ratio.ratioY,"left",color,' '+ Node201fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node201.a('node.underlinepoints',[Node201lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node201fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node201fontSize + 'px "Arial"').width + 6, (Node201height - Node201fontSize) * 0.5*_ratio.ratioY + Node201fontSize + 2 ]);
- Node201.a('node.underlinevisible',false);
- Node201.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node201);
- zoomNodeList.push({
- node: Node201,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node202 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1404*ratio.ratioX, 449*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node203 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1404*ratio.ratioX, 449*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204 = new ht.Node();
- var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'left', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 29*_ratio.ratioX, Node204height = 25*_ratio.ratioY;
- (function () {
- if (Node204align === 'left') {
- Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9;
- Node204textWidth = Node204width;
- Node204lineStart = 1;
- } else if (Node204align === 'right') {
- Node204textStart = 0;
- Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2;
- Node204lineStart = (Node204width - (ht.Default.getTextSize('MW', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204align === 'center') {
- Node204textStart = -3;
- Node204textWidth = Node204width;
- Node204lineStart = Node204width - ht.Default.getTextSize('MW', ' '+ Node204fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204.setImage(GD.getTextJSON(Node204width, Node204height, true, false, false, ' '+ Node204fontSize + 'px "Arial"'))
- Node204.setPosition(1475*ratio.ratioX, 448*ratio.ratioY);
- Node204.setWidth(Node204width);
- Node204.setHeight(Node204height);
- Node204._nodeType = 'text';
- Node204._disallowEvert = true;
- Node204.setRotation(0*Math.PI/180);
- Node204.a('node.width', Node204width);
- Node204.a('node.height', Node204height);
- Node204.a('node.rect', [0, 0, Node204width, Node204height]);
- Node204.a('node.bordercolor','rgba(64,64,64,1)');
- Node204.a('node.borderwidth', 0);
- Node204.a('node.background','' || 'rgba(0,0,0,0)');
- Node204.a('node.gradient','');
- Node204.a('node.gradientcolor','');
- Node204.a('node.text','MW');
- Node204.a('node.textalign','left');
- Node204.a('node.textvAlign','middle');
- Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]);
- Node204.a('node.color','rgba(64,64,64,1)');
- Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"');
- Node204.a('node.textvisible',true);
- Node204.a('node.linefeed',false);
- if (false) {
- Node204.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204.a('node.text') || 'MW';
- var color=Node204.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"left",color,' '+ Node204fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204.a('node.underlinepoints',[Node204lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]);
- Node204.a('node.underlinevisible',false);
- Node204.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204);
- zoomNodeList.push({
- node: Node204,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node205 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1405*ratio.ratioX, 483*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node206 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1405*ratio.ratioX, 483*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node207 = new ht.Node();
- var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'left', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 43*_ratio.ratioX, Node207height = 25*_ratio.ratioY;
- (function () {
- if (Node207align === 'left') {
- Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9;
- Node207textWidth = Node207width;
- Node207lineStart = 1;
- } else if (Node207align === 'right') {
- Node207textStart = 0;
- Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2;
- Node207lineStart = (Node207width - (ht.Default.getTextSize('万kwh', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node207align === 'center') {
- Node207textStart = -3;
- Node207textWidth = Node207width;
- Node207lineStart = Node207width - ht.Default.getTextSize('万kwh', ' '+ Node207fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node207.setImage(GD.getTextJSON(Node207width, Node207height, true, false, false, ' '+ Node207fontSize + 'px "Arial"'))
- Node207.setPosition(1483*ratio.ratioX, 483*ratio.ratioY);
- Node207.setWidth(Node207width);
- Node207.setHeight(Node207height);
- Node207._nodeType = 'text';
- Node207._disallowEvert = true;
- Node207.setRotation(0*Math.PI/180);
- Node207.a('node.width', Node207width);
- Node207.a('node.height', Node207height);
- Node207.a('node.rect', [0, 0, Node207width, Node207height]);
- Node207.a('node.bordercolor','rgba(64,64,64,1)');
- Node207.a('node.borderwidth', 0);
- Node207.a('node.background','' || 'rgba(0,0,0,0)');
- Node207.a('node.gradient','');
- Node207.a('node.gradientcolor','');
- Node207.a('node.text','万kwh');
- Node207.a('node.textalign','left');
- Node207.a('node.textvAlign','middle');
- Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]);
- Node207.a('node.color','rgba(64,64,64,1)');
- Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"');
- Node207.a('node.textvisible',true);
- Node207.a('node.linefeed',false);
- if (false) {
- Node207.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node207.a('node.text') || '万kwh';
- var color=Node207.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"left",color,' '+ Node207fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node207.a('node.underlinepoints',[Node207lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]);
- Node207.a('node.underlinevisible',false);
- Node207.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node207);
- zoomNodeList.push({
- node: Node207,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node208type = 'rect';
- var Node208 = new ht.Node(),
- Node208BorderWidth = 1*2;
- if (Node208type === 'arc') {
- Node208BorderWidth *= 1;
- }
- Node208.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node208type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node208.setPosition(1323*ratio.ratioX, 551*ratio.ratioY);
- Node208.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node208.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node208.a('node.width', 373*_ratio.ratioX);
- Node208.a('node.height', 93*_ratio.ratioY);
- Node208.a('node.type', Node208type);
- Node208.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node208.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node208.a('node.gradientcolor', '');
- Node208.a('node.gradient', '');
- Node208.a('node.borderwidth', Node208BorderWidth);
- Node208.a('node.color', 'rgba(192,192,192,1)');
- Node208.a('node.fillrect', [0,0,0,0]);
- Node208.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node208.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node208.a('node.fillgradient', '');
- if (Node208type !== 'rect') {
- Node208.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node208.a('node.arcTo', parseFloat('@arcTo@'));
- Node208.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node208type === 'arc') {
- Node208.a('node.arcOval', true);
- }
- Node208.setRotation(0*Math.PI/180);
- Node208.borderWidth = Node208BorderWidth;
- Node208.borderFillwidth = Node208BorderWidth;
- dataModel.add(Node208);
- Node208._nodename = 'Node208'
- Node208._nodeType = 'rect';
- zoomNodeList.push({
- node: Node208,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node208, Node208.getImage());var Node209points=[1137, 536,1510, 536],
- Node209rect=ht.Default.unionPoint([{x:1137,y:536},{x:1510,y:536}]),
- Node209compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node209points.length;i++){
- if(i%2==0){
- Node209compspts.push(Node209points[i]-Node209rect.x);
- }else{
- Node209compspts.push(Node209points[i]-Node209rect.y);
- }
- }
- var Node209ptslength=Node209compspts.length;
- if (Node209rect.height === 0) {
- Node209compspts[0] -= 0;
- Node209compspts[Node209ptslength-2] += 0;
- } else if (Node209rect.width === 0){
- Node209compspts[1] -= 0;
- Node209compspts[Node209ptslength-1] += 0;
- } else {
- Node209compspts[0] -= 0;
- Node209compspts[1] -= 0;
- Node209compspts[Node209ptslength-2] += 0;
- Node209compspts[Node209ptslength-1] += 0;
- }
- Node209 = new ht.Node();
- Node209.borderWidth = 1;
- Node209rect.width = Node209rect.width === 0 ? 0.0001 : Node209rect.width;
- Node209rect.height = Node209rect.height === 0 ? 0.0001 : Node209rect.height;
- var Node209endCompspts = [Node209compspts[Node209ptslength-2],Node209compspts[Node209ptslength-1],0,0];
- var Node209startCompspts = [Node209compspts[0],Node209compspts[1],0,0];
- Node209.setImage(GD.getPolyLineJSON());
- Node209.setPosition(Node209rect.x+Node209rect.width/2,Node209rect.y+Node209rect.height/2);
- Node209.setSize(Node209rect.width,Node209rect.height);
- Node209.setStyle("opacity",1);
- Node209.s({'pixelPerfect':true});
- Node209borderwidth=1;
- Node209.setRotation(0);
- dataModel.add(Node209);
- Node209.a('node.points',Node209compspts);
- Node209.a('node.segments',[1,2]);
- Node209.a('node.color','rgba(192,192,192,1)');
- Node209.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node209.a('node.borderColor','rgba(192,192,192,1)');
- Node209.a('node.background','rgba(192,192,192,1)');
- Node209.a('node.gradient','');
- Node209.a('node.gradientcolor','rgba(192,192,192,1)');
- Node209.a('node.endCompspts',Node209endCompspts);
- Node209.a('node.startCompspts',Node209startCompspts);
- (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 = 'Node209';
- 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);
- }
- })(Node209, Node209.getImage(), Node209compspts, Node209endCompspts, Node209startCompspts);
- var Node210points=[1137, 567,1510, 567],
- Node210rect=ht.Default.unionPoint([{x:1137,y:567},{x:1510,y:567}]),
- Node210compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node210points.length;i++){
- if(i%2==0){
- Node210compspts.push(Node210points[i]-Node210rect.x);
- }else{
- Node210compspts.push(Node210points[i]-Node210rect.y);
- }
- }
- var Node210ptslength=Node210compspts.length;
- if (Node210rect.height === 0) {
- Node210compspts[0] -= 0;
- Node210compspts[Node210ptslength-2] += 0;
- } else if (Node210rect.width === 0){
- Node210compspts[1] -= 0;
- Node210compspts[Node210ptslength-1] += 0;
- } else {
- Node210compspts[0] -= 0;
- Node210compspts[1] -= 0;
- Node210compspts[Node210ptslength-2] += 0;
- Node210compspts[Node210ptslength-1] += 0;
- }
- Node210 = new ht.Node();
- Node210.borderWidth = 1;
- Node210rect.width = Node210rect.width === 0 ? 0.0001 : Node210rect.width;
- Node210rect.height = Node210rect.height === 0 ? 0.0001 : Node210rect.height;
- var Node210endCompspts = [Node210compspts[Node210ptslength-2],Node210compspts[Node210ptslength-1],0,0];
- var Node210startCompspts = [Node210compspts[0],Node210compspts[1],0,0];
- Node210.setImage(GD.getPolyLineJSON());
- Node210.setPosition(Node210rect.x+Node210rect.width/2,Node210rect.y+Node210rect.height/2);
- Node210.setSize(Node210rect.width,Node210rect.height);
- Node210.setStyle("opacity",1);
- Node210.s({'pixelPerfect':true});
- Node210borderwidth=1;
- Node210.setRotation(0);
- dataModel.add(Node210);
- Node210.a('node.points',Node210compspts);
- Node210.a('node.segments',[1,2]);
- Node210.a('node.color','rgba(192,192,192,1)');
- Node210.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node210.a('node.borderColor','rgba(192,192,192,1)');
- Node210.a('node.background','rgba(192,192,192,1)');
- Node210.a('node.gradient','');
- Node210.a('node.gradientcolor','rgba(192,192,192,1)');
- Node210.a('node.endCompspts',Node210endCompspts);
- Node210.a('node.startCompspts',Node210startCompspts);
- (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 = 'Node210';
- 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);
- }
- })(Node210, Node210.getImage(), Node210compspts, Node210endCompspts, Node210startCompspts);
- var Node211points=[1204, 506,1204, 597],
- Node211rect=ht.Default.unionPoint([{x:1204,y:506},{x:1204,y:597}]),
- Node211compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node211points.length;i++){
- if(i%2==0){
- Node211compspts.push(Node211points[i]-Node211rect.x);
- }else{
- Node211compspts.push(Node211points[i]-Node211rect.y);
- }
- }
- var Node211ptslength=Node211compspts.length;
- if (Node211rect.height === 0) {
- Node211compspts[0] -= 0;
- Node211compspts[Node211ptslength-2] += 0;
- } else if (Node211rect.width === 0){
- Node211compspts[1] -= 0;
- Node211compspts[Node211ptslength-1] += 0;
- } else {
- Node211compspts[0] -= 0;
- Node211compspts[1] -= 0;
- Node211compspts[Node211ptslength-2] += 0;
- Node211compspts[Node211ptslength-1] += 0;
- }
- Node211 = new ht.Node();
- Node211.borderWidth = 1;
- Node211rect.width = Node211rect.width === 0 ? 0.0001 : Node211rect.width;
- Node211rect.height = Node211rect.height === 0 ? 0.0001 : Node211rect.height;
- var Node211endCompspts = [Node211compspts[Node211ptslength-2],Node211compspts[Node211ptslength-1],0,0];
- var Node211startCompspts = [Node211compspts[0],Node211compspts[1],0,0];
- Node211.setImage(GD.getPolyLineJSON());
- Node211.setPosition(Node211rect.x+Node211rect.width/2,Node211rect.y+Node211rect.height/2);
- Node211.setSize(Node211rect.width,Node211rect.height);
- Node211.setStyle("opacity",1);
- Node211.s({'pixelPerfect':true});
- Node211borderwidth=1;
- Node211.setRotation(0);
- dataModel.add(Node211);
- Node211.a('node.points',Node211compspts);
- Node211.a('node.segments',[1,2]);
- Node211.a('node.color','rgba(192,192,192,1)');
- Node211.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node211.a('node.borderColor','rgba(192,192,192,1)');
- Node211.a('node.background','rgba(192,192,192,1)');
- Node211.a('node.gradient','');
- Node211.a('node.gradientcolor','rgba(192,192,192,1)');
- Node211.a('node.endCompspts',Node211endCompspts);
- Node211.a('node.startCompspts',Node211startCompspts);
- (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 = 'Node211';
- 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);
- }
- })(Node211, Node211.getImage(), Node211compspts, Node211endCompspts, Node211startCompspts);
- var Node212points=[1290, 505,1290, 597],
- Node212rect=ht.Default.unionPoint([{x:1290,y:505},{x:1290,y:597}]),
- Node212compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node212points.length;i++){
- if(i%2==0){
- Node212compspts.push(Node212points[i]-Node212rect.x);
- }else{
- Node212compspts.push(Node212points[i]-Node212rect.y);
- }
- }
- var Node212ptslength=Node212compspts.length;
- if (Node212rect.height === 0) {
- Node212compspts[0] -= 0;
- Node212compspts[Node212ptslength-2] += 0;
- } else if (Node212rect.width === 0){
- Node212compspts[1] -= 0;
- Node212compspts[Node212ptslength-1] += 0;
- } else {
- Node212compspts[0] -= 0;
- Node212compspts[1] -= 0;
- Node212compspts[Node212ptslength-2] += 0;
- Node212compspts[Node212ptslength-1] += 0;
- }
- Node212 = new ht.Node();
- Node212.borderWidth = 1;
- Node212rect.width = Node212rect.width === 0 ? 0.0001 : Node212rect.width;
- Node212rect.height = Node212rect.height === 0 ? 0.0001 : Node212rect.height;
- var Node212endCompspts = [Node212compspts[Node212ptslength-2],Node212compspts[Node212ptslength-1],0,0];
- var Node212startCompspts = [Node212compspts[0],Node212compspts[1],0,0];
- Node212.setImage(GD.getPolyLineJSON());
- Node212.setPosition(Node212rect.x+Node212rect.width/2,Node212rect.y+Node212rect.height/2);
- Node212.setSize(Node212rect.width,Node212rect.height);
- Node212.setStyle("opacity",1);
- Node212.s({'pixelPerfect':true});
- Node212borderwidth=1;
- Node212.setRotation(0);
- dataModel.add(Node212);
- Node212.a('node.points',Node212compspts);
- Node212.a('node.segments',[1,2]);
- Node212.a('node.color','rgba(192,192,192,1)');
- Node212.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node212.a('node.borderColor','rgba(192,192,192,1)');
- Node212.a('node.background','rgba(192,192,192,1)');
- Node212.a('node.gradient','');
- Node212.a('node.gradientcolor','rgba(192,192,192,1)');
- Node212.a('node.endCompspts',Node212endCompspts);
- Node212.a('node.startCompspts',Node212startCompspts);
- (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 = 'Node212';
- 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);
- }
- })(Node212, Node212.getImage(), Node212compspts, Node212endCompspts, Node212startCompspts);
- var Node213points=[1325, 506,1325, 597],
- Node213rect=ht.Default.unionPoint([{x:1325,y:506},{x:1325,y:597}]),
- Node213compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node213points.length;i++){
- if(i%2==0){
- Node213compspts.push(Node213points[i]-Node213rect.x);
- }else{
- Node213compspts.push(Node213points[i]-Node213rect.y);
- }
- }
- var Node213ptslength=Node213compspts.length;
- if (Node213rect.height === 0) {
- Node213compspts[0] -= 0;
- Node213compspts[Node213ptslength-2] += 0;
- } else if (Node213rect.width === 0){
- Node213compspts[1] -= 0;
- Node213compspts[Node213ptslength-1] += 0;
- } else {
- Node213compspts[0] -= 0;
- Node213compspts[1] -= 0;
- Node213compspts[Node213ptslength-2] += 0;
- Node213compspts[Node213ptslength-1] += 0;
- }
- Node213 = new ht.Node();
- Node213.borderWidth = 1;
- Node213rect.width = Node213rect.width === 0 ? 0.0001 : Node213rect.width;
- Node213rect.height = Node213rect.height === 0 ? 0.0001 : Node213rect.height;
- var Node213endCompspts = [Node213compspts[Node213ptslength-2],Node213compspts[Node213ptslength-1],0,0];
- var Node213startCompspts = [Node213compspts[0],Node213compspts[1],0,0];
- Node213.setImage(GD.getPolyLineJSON());
- Node213.setPosition(Node213rect.x+Node213rect.width/2,Node213rect.y+Node213rect.height/2);
- Node213.setSize(Node213rect.width,Node213rect.height);
- Node213.setStyle("opacity",1);
- Node213.s({'pixelPerfect':true});
- Node213borderwidth=1;
- Node213.setRotation(0);
- dataModel.add(Node213);
- Node213.a('node.points',Node213compspts);
- Node213.a('node.segments',[1,2]);
- Node213.a('node.color','rgba(192,192,192,1)');
- Node213.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node213.a('node.borderColor','rgba(192,192,192,1)');
- Node213.a('node.background','rgba(192,192,192,1)');
- Node213.a('node.gradient','');
- Node213.a('node.gradientcolor','rgba(192,192,192,1)');
- Node213.a('node.endCompspts',Node213endCompspts);
- Node213.a('node.startCompspts',Node213startCompspts);
- (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 = 'Node213';
- 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);
- }
- })(Node213, Node213.getImage(), Node213compspts, Node213endCompspts, Node213startCompspts);
- var Node214points=[1393, 506,1393, 598],
- Node214rect=ht.Default.unionPoint([{x:1393,y:506},{x:1393,y:598}]),
- Node214compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node214points.length;i++){
- if(i%2==0){
- Node214compspts.push(Node214points[i]-Node214rect.x);
- }else{
- Node214compspts.push(Node214points[i]-Node214rect.y);
- }
- }
- var Node214ptslength=Node214compspts.length;
- if (Node214rect.height === 0) {
- Node214compspts[0] -= 0;
- Node214compspts[Node214ptslength-2] += 0;
- } else if (Node214rect.width === 0){
- Node214compspts[1] -= 0;
- Node214compspts[Node214ptslength-1] += 0;
- } else {
- Node214compspts[0] -= 0;
- Node214compspts[1] -= 0;
- Node214compspts[Node214ptslength-2] += 0;
- Node214compspts[Node214ptslength-1] += 0;
- }
- Node214 = new ht.Node();
- Node214.borderWidth = 1;
- Node214rect.width = Node214rect.width === 0 ? 0.0001 : Node214rect.width;
- Node214rect.height = Node214rect.height === 0 ? 0.0001 : Node214rect.height;
- var Node214endCompspts = [Node214compspts[Node214ptslength-2],Node214compspts[Node214ptslength-1],0,0];
- var Node214startCompspts = [Node214compspts[0],Node214compspts[1],0,0];
- Node214.setImage(GD.getPolyLineJSON());
- Node214.setPosition(Node214rect.x+Node214rect.width/2,Node214rect.y+Node214rect.height/2);
- Node214.setSize(Node214rect.width,Node214rect.height);
- Node214.setStyle("opacity",1);
- Node214.s({'pixelPerfect':true});
- Node214borderwidth=1;
- Node214.setRotation(0);
- dataModel.add(Node214);
- Node214.a('node.points',Node214compspts);
- Node214.a('node.segments',[1,2]);
- Node214.a('node.color','rgba(192,192,192,1)');
- Node214.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node214.a('node.borderColor','rgba(192,192,192,1)');
- Node214.a('node.background','rgba(192,192,192,1)');
- Node214.a('node.gradient','');
- Node214.a('node.gradientcolor','rgba(192,192,192,1)');
- Node214.a('node.endCompspts',Node214endCompspts);
- Node214.a('node.startCompspts',Node214startCompspts);
- (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 = 'Node214';
- 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);
- }
- })(Node214, Node214.getImage(), Node214compspts, Node214endCompspts, Node214startCompspts);
- var Node215points=[1464, 506,1464, 597],
- Node215rect=ht.Default.unionPoint([{x:1464,y:506},{x:1464,y:597}]),
- Node215compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node215points.length;i++){
- if(i%2==0){
- Node215compspts.push(Node215points[i]-Node215rect.x);
- }else{
- Node215compspts.push(Node215points[i]-Node215rect.y);
- }
- }
- var Node215ptslength=Node215compspts.length;
- if (Node215rect.height === 0) {
- Node215compspts[0] -= 0;
- Node215compspts[Node215ptslength-2] += 0;
- } else if (Node215rect.width === 0){
- Node215compspts[1] -= 0;
- Node215compspts[Node215ptslength-1] += 0;
- } else {
- Node215compspts[0] -= 0;
- Node215compspts[1] -= 0;
- Node215compspts[Node215ptslength-2] += 0;
- Node215compspts[Node215ptslength-1] += 0;
- }
- Node215 = new ht.Node();
- Node215.borderWidth = 1;
- Node215rect.width = Node215rect.width === 0 ? 0.0001 : Node215rect.width;
- Node215rect.height = Node215rect.height === 0 ? 0.0001 : Node215rect.height;
- var Node215endCompspts = [Node215compspts[Node215ptslength-2],Node215compspts[Node215ptslength-1],0,0];
- var Node215startCompspts = [Node215compspts[0],Node215compspts[1],0,0];
- Node215.setImage(GD.getPolyLineJSON());
- Node215.setPosition(Node215rect.x+Node215rect.width/2,Node215rect.y+Node215rect.height/2);
- Node215.setSize(Node215rect.width,Node215rect.height);
- Node215.setStyle("opacity",1);
- Node215.s({'pixelPerfect':true});
- Node215borderwidth=1;
- Node215.setRotation(0);
- dataModel.add(Node215);
- Node215.a('node.points',Node215compspts);
- Node215.a('node.segments',[1,2]);
- Node215.a('node.color','rgba(192,192,192,1)');
- Node215.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node215.a('node.borderColor','rgba(192,192,192,1)');
- Node215.a('node.background','rgba(192,192,192,1)');
- Node215.a('node.gradient','');
- Node215.a('node.gradientcolor','rgba(192,192,192,1)');
- Node215.a('node.endCompspts',Node215endCompspts);
- Node215.a('node.startCompspts',Node215startCompspts);
- (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 = 'Node215';
- 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);
- }
- })(Node215, Node215.getImage(), Node215compspts, Node215endCompspts, Node215startCompspts);
- var Node216points=[1138, 430,1510, 430],
- Node216rect=ht.Default.unionPoint([{x:1138,y:430},{x:1510,y:430}]),
- Node216compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node216points.length;i++){
- if(i%2==0){
- Node216compspts.push(Node216points[i]-Node216rect.x);
- }else{
- Node216compspts.push(Node216points[i]-Node216rect.y);
- }
- }
- var Node216ptslength=Node216compspts.length;
- if (Node216rect.height === 0) {
- Node216compspts[0] -= 0;
- Node216compspts[Node216ptslength-2] += 0;
- } else if (Node216rect.width === 0){
- Node216compspts[1] -= 0;
- Node216compspts[Node216ptslength-1] += 0;
- } else {
- Node216compspts[0] -= 0;
- Node216compspts[1] -= 0;
- Node216compspts[Node216ptslength-2] += 0;
- Node216compspts[Node216ptslength-1] += 0;
- }
- Node216 = new ht.Node();
- Node216.borderWidth = 1;
- Node216rect.width = Node216rect.width === 0 ? 0.0001 : Node216rect.width;
- Node216rect.height = Node216rect.height === 0 ? 0.0001 : Node216rect.height;
- var Node216endCompspts = [Node216compspts[Node216ptslength-2],Node216compspts[Node216ptslength-1],0,0];
- var Node216startCompspts = [Node216compspts[0],Node216compspts[1],0,0];
- Node216.setImage(GD.getPolyLineJSON());
- Node216.setPosition(Node216rect.x+Node216rect.width/2,Node216rect.y+Node216rect.height/2);
- Node216.setSize(Node216rect.width,Node216rect.height);
- Node216.setStyle("opacity",1);
- Node216.s({'pixelPerfect':true});
- Node216borderwidth=1;
- Node216.setRotation(0);
- dataModel.add(Node216);
- Node216.a('node.points',Node216compspts);
- Node216.a('node.segments',[1,2]);
- Node216.a('node.color','rgba(192,192,192,1)');
- Node216.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node216.a('node.borderColor','rgba(192,192,192,1)');
- Node216.a('node.background','rgba(192,192,192,1)');
- Node216.a('node.gradient','');
- Node216.a('node.gradientcolor','rgba(192,192,192,1)');
- Node216.a('node.endCompspts',Node216endCompspts);
- Node216.a('node.startCompspts',Node216startCompspts);
- (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 = 'Node216';
- 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);
- }
- })(Node216, Node216.getImage(), Node216compspts, Node216endCompspts, Node216startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node217 = new ht.Node();
- var Node217textStart, Node217textWidth, Node217lineStart, Node217align = 'left', Node217fontSize = 13.3333*_ratio.ratioY,Node217width = 39*_ratio.ratioX, Node217height = 16*_ratio.ratioY;
- (function () {
- if (Node217align === 'left') {
- Node217textStart = Node217fontSize * 0.2 > 2 ? Node217fontSize * 0.2 - 4 : Node217fontSize * 0.2 - 9;
- Node217textWidth = Node217width;
- Node217lineStart = 1;
- } else if (Node217align === 'right') {
- Node217textStart = 0;
- Node217textWidth =Node217fontSize <= 8 ? Node217width + Node217fontSize * 0.2 + 6 : Node217width - Node217fontSize * 0.2;
- Node217lineStart = (Node217width - (ht.Default.getTextSize('并网', ' '+ Node217fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node217align === 'center') {
- Node217textStart = -3;
- Node217textWidth = Node217width;
- Node217lineStart = Node217width - ht.Default.getTextSize('并网', ' '+ Node217fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node217.setImage(GD.getTextJSON(Node217width, Node217height, true, false, false, ' '+ Node217fontSize + 'px "Arial"'))
- Node217.setPosition(1169*ratio.ratioX, 522*ratio.ratioY);
- Node217.setWidth(Node217width);
- Node217.setHeight(Node217height);
- Node217._nodeType = 'text';
- Node217._disallowEvert = true;
- Node217.setRotation(0*Math.PI/180);
- Node217.a('node.width', Node217width);
- Node217.a('node.height', Node217height);
- Node217.a('node.rect', [0, 0, Node217width, Node217height]);
- Node217.a('node.bordercolor','rgba(128,128,255,1)');
- Node217.a('node.borderwidth', 0);
- Node217.a('node.background','' || 'rgba(0,0,0,0)');
- Node217.a('node.gradient','');
- Node217.a('node.gradientcolor','');
- Node217.a('node.text','并网');
- Node217.a('node.textalign','left');
- Node217.a('node.textvAlign','middle');
- Node217.a('node.textrect', [Node217textStart, 0, Node217textWidth, Node217height]);
- Node217.a('node.color','rgba(128,128,255,1)');
- Node217.a('node.font',' '+ Node217fontSize + 'px "Arial"');
- Node217.a('node.textvisible',true);
- Node217.a('node.linefeed',false);
- if (false) {
- Node217.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node217.a('node.text') || '并网';
- var color=Node217.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node217width,Node217height,13.3333*_ratio.ratioY,"left",color,' '+ Node217fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node217.a('node.underlinepoints',[Node217lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node217fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node217fontSize + 'px "Arial"').width + 6, (Node217height - Node217fontSize) * 0.5*_ratio.ratioY + Node217fontSize + 2 ]);
- Node217.a('node.underlinevisible',false);
- Node217.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node217);
- zoomNodeList.push({
- node: Node217,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node218 = new ht.Node();
- var Node218textStart, Node218textWidth, Node218lineStart, Node218align = 'left', Node218fontSize = 13.3333*_ratio.ratioY,Node218width = 39*_ratio.ratioX, Node218height = 16*_ratio.ratioY;
- (function () {
- if (Node218align === 'left') {
- Node218textStart = Node218fontSize * 0.2 > 2 ? Node218fontSize * 0.2 - 4 : Node218fontSize * 0.2 - 9;
- Node218textWidth = Node218width;
- Node218lineStart = 1;
- } else if (Node218align === 'right') {
- Node218textStart = 0;
- Node218textWidth =Node218fontSize <= 8 ? Node218width + Node218fontSize * 0.2 + 6 : Node218width - Node218fontSize * 0.2;
- Node218lineStart = (Node218width - (ht.Default.getTextSize('维护', ' '+ Node218fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node218align === 'center') {
- Node218textStart = -3;
- Node218textWidth = Node218width;
- Node218lineStart = Node218width - ht.Default.getTextSize('维护', ' '+ Node218fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node218.setImage(GD.getTextJSON(Node218width, Node218height, true, false, false, ' '+ Node218fontSize + 'px "Arial"'))
- Node218.setPosition(1170*ratio.ratioX, 552*ratio.ratioY);
- Node218.setWidth(Node218width);
- Node218.setHeight(Node218height);
- Node218._nodeType = 'text';
- Node218._disallowEvert = true;
- Node218.setRotation(0*Math.PI/180);
- Node218.a('node.width', Node218width);
- Node218.a('node.height', Node218height);
- Node218.a('node.rect', [0, 0, Node218width, Node218height]);
- Node218.a('node.bordercolor','rgba(192,64,0,1)');
- Node218.a('node.borderwidth', 0);
- Node218.a('node.background','' || 'rgba(0,0,0,0)');
- Node218.a('node.gradient','');
- Node218.a('node.gradientcolor','');
- Node218.a('node.text','维护');
- Node218.a('node.textalign','left');
- Node218.a('node.textvAlign','middle');
- Node218.a('node.textrect', [Node218textStart, 0, Node218textWidth, Node218height]);
- Node218.a('node.color','rgba(192,64,0,1)');
- Node218.a('node.font',' '+ Node218fontSize + 'px "Arial"');
- Node218.a('node.textvisible',true);
- Node218.a('node.linefeed',false);
- if (false) {
- Node218.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node218.a('node.text') || '维护';
- var color=Node218.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node218width,Node218height,13.3333*_ratio.ratioY,"left",color,' '+ Node218fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node218.a('node.underlinepoints',[Node218lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node218fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node218fontSize + 'px "Arial"').width + 6, (Node218height - Node218fontSize) * 0.5*_ratio.ratioY + Node218fontSize + 2 ]);
- Node218.a('node.underlinevisible',false);
- Node218.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node218);
- zoomNodeList.push({
- node: Node218,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node219 = new ht.Node();
- var Node219textStart, Node219textWidth, Node219lineStart, Node219align = 'left', Node219fontSize = 13.3333*_ratio.ratioY,Node219width = 39*_ratio.ratioX, Node219height = 16*_ratio.ratioY;
- (function () {
- if (Node219align === 'left') {
- Node219textStart = Node219fontSize * 0.2 > 2 ? Node219fontSize * 0.2 - 4 : Node219fontSize * 0.2 - 9;
- Node219textWidth = Node219width;
- Node219lineStart = 1;
- } else if (Node219align === 'right') {
- Node219textStart = 0;
- Node219textWidth =Node219fontSize <= 8 ? Node219width + Node219fontSize * 0.2 + 6 : Node219width - Node219fontSize * 0.2;
- Node219lineStart = (Node219width - (ht.Default.getTextSize('限电', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node219align === 'center') {
- Node219textStart = -3;
- Node219textWidth = Node219width;
- Node219lineStart = Node219width - ht.Default.getTextSize('限电', ' '+ Node219fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"'))
- Node219.setPosition(1170*ratio.ratioX, 582*ratio.ratioY);
- Node219.setWidth(Node219width);
- Node219.setHeight(Node219height);
- Node219._nodeType = 'text';
- Node219._disallowEvert = true;
- Node219.setRotation(0*Math.PI/180);
- Node219.a('node.width', Node219width);
- Node219.a('node.height', Node219height);
- Node219.a('node.rect', [0, 0, Node219width, Node219height]);
- Node219.a('node.bordercolor','rgba(128,0,128,1)');
- Node219.a('node.borderwidth', 0);
- Node219.a('node.background','' || 'rgba(0,0,0,0)');
- Node219.a('node.gradient','');
- Node219.a('node.gradientcolor','');
- Node219.a('node.text','限电');
- Node219.a('node.textalign','left');
- Node219.a('node.textvAlign','middle');
- Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]);
- Node219.a('node.color','rgba(128,0,128,1)');
- Node219.a('node.font',' '+ Node219fontSize + 'px "Arial"');
- Node219.a('node.textvisible',true);
- Node219.a('node.linefeed',false);
- if (false) {
- Node219.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node219.a('node.text') || '限电';
- var color=Node219.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node219width,Node219height,13.3333*_ratio.ratioY,"left",color,' '+ Node219fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node219.a('node.underlinepoints',[Node219lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node219fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node219fontSize + 'px "Arial"').width + 6, (Node219height - Node219fontSize) * 0.5*_ratio.ratioY + Node219fontSize + 2 ]);
- Node219.a('node.underlinevisible',false);
- Node219.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node219);
- zoomNodeList.push({
- node: Node219,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node220 = new ht.Node();
- var Node220textStart, Node220textWidth, Node220lineStart, Node220align = 'left', Node220fontSize = 13.3333*_ratio.ratioY,Node220width = 39*_ratio.ratioX, Node220height = 16*_ratio.ratioY;
- (function () {
- if (Node220align === 'left') {
- Node220textStart = Node220fontSize * 0.2 > 2 ? Node220fontSize * 0.2 - 4 : Node220fontSize * 0.2 - 9;
- Node220textWidth = Node220width;
- Node220lineStart = 1;
- } else if (Node220align === 'right') {
- Node220textStart = 0;
- Node220textWidth =Node220fontSize <= 8 ? Node220width + Node220fontSize * 0.2 + 6 : Node220width - Node220fontSize * 0.2;
- Node220lineStart = (Node220width - (ht.Default.getTextSize('待机', ' '+ Node220fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node220align === 'center') {
- Node220textStart = -3;
- Node220textWidth = Node220width;
- Node220lineStart = Node220width - ht.Default.getTextSize('待机', ' '+ Node220fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node220.setImage(GD.getTextJSON(Node220width, Node220height, true, false, false, ' '+ Node220fontSize + 'px "Arial"'))
- Node220.setPosition(1359*ratio.ratioX, 522*ratio.ratioY);
- Node220.setWidth(Node220width);
- Node220.setHeight(Node220height);
- Node220._nodeType = 'text';
- Node220._disallowEvert = true;
- Node220.setRotation(0*Math.PI/180);
- Node220.a('node.width', Node220width);
- Node220.a('node.height', Node220height);
- Node220.a('node.rect', [0, 0, Node220width, Node220height]);
- Node220.a('node.bordercolor','rgba(0,128,0,1)');
- Node220.a('node.borderwidth', 0);
- Node220.a('node.background','' || 'rgba(0,0,0,0)');
- Node220.a('node.gradient','');
- Node220.a('node.gradientcolor','');
- Node220.a('node.text','待机');
- Node220.a('node.textalign','left');
- Node220.a('node.textvAlign','middle');
- Node220.a('node.textrect', [Node220textStart, 0, Node220textWidth, Node220height]);
- Node220.a('node.color','rgba(0,128,0,1)');
- Node220.a('node.font',' '+ Node220fontSize + 'px "Arial"');
- Node220.a('node.textvisible',true);
- Node220.a('node.linefeed',false);
- if (false) {
- Node220.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node220.a('node.text') || '待机';
- var color=Node220.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node220width,Node220height,13.3333*_ratio.ratioY,"left",color,' '+ Node220fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node220.a('node.underlinepoints',[Node220lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node220fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node220fontSize + 'px "Arial"').width + 6, (Node220height - Node220fontSize) * 0.5*_ratio.ratioY + Node220fontSize + 2 ]);
- Node220.a('node.underlinevisible',false);
- Node220.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node220);
- zoomNodeList.push({
- node: Node220,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node221 = new ht.Node();
- var Node221textStart, Node221textWidth, Node221lineStart, Node221align = 'left', Node221fontSize = 13.3333*_ratio.ratioY,Node221width = 39*_ratio.ratioX, Node221height = 16*_ratio.ratioY;
- (function () {
- if (Node221align === 'left') {
- Node221textStart = Node221fontSize * 0.2 > 2 ? Node221fontSize * 0.2 - 4 : Node221fontSize * 0.2 - 9;
- Node221textWidth = Node221width;
- Node221lineStart = 1;
- } else if (Node221align === 'right') {
- Node221textStart = 0;
- Node221textWidth =Node221fontSize <= 8 ? Node221width + Node221fontSize * 0.2 + 6 : Node221width - Node221fontSize * 0.2;
- Node221lineStart = (Node221width - (ht.Default.getTextSize('故障', ' '+ Node221fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node221align === 'center') {
- Node221textStart = -3;
- Node221textWidth = Node221width;
- Node221lineStart = Node221width - ht.Default.getTextSize('故障', ' '+ Node221fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node221.setImage(GD.getTextJSON(Node221width, Node221height, true, false, false, ' '+ Node221fontSize + 'px "Arial"'))
- Node221.setPosition(1360*ratio.ratioX, 552*ratio.ratioY);
- Node221.setWidth(Node221width);
- Node221.setHeight(Node221height);
- Node221._nodeType = 'text';
- Node221._disallowEvert = true;
- Node221.setRotation(0*Math.PI/180);
- Node221.a('node.width', Node221width);
- Node221.a('node.height', Node221height);
- Node221.a('node.rect', [0, 0, Node221width, Node221height]);
- Node221.a('node.bordercolor','rgba(192,0,0,1)');
- Node221.a('node.borderwidth', 0);
- Node221.a('node.background','' || 'rgba(0,0,0,0)');
- Node221.a('node.gradient','');
- Node221.a('node.gradientcolor','');
- Node221.a('node.text','故障');
- Node221.a('node.textalign','left');
- Node221.a('node.textvAlign','middle');
- Node221.a('node.textrect', [Node221textStart, 0, Node221textWidth, Node221height]);
- Node221.a('node.color','rgba(192,0,0,1)');
- Node221.a('node.font',' '+ Node221fontSize + 'px "Arial"');
- Node221.a('node.textvisible',true);
- Node221.a('node.linefeed',false);
- if (false) {
- Node221.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node221.a('node.text') || '故障';
- var color=Node221.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node221width,Node221height,13.3333*_ratio.ratioY,"left",color,' '+ Node221fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node221.a('node.underlinepoints',[Node221lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node221fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node221fontSize + 'px "Arial"').width + 6, (Node221height - Node221fontSize) * 0.5*_ratio.ratioY + Node221fontSize + 2 ]);
- Node221.a('node.underlinevisible',false);
- Node221.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node221);
- zoomNodeList.push({
- node: Node221,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node222 = new ht.Node();
- var Node222textStart, Node222textWidth, Node222lineStart, Node222align = 'left', Node222fontSize = 13.3333*_ratio.ratioY,Node222width = 39*_ratio.ratioX, Node222height = 16*_ratio.ratioY;
- (function () {
- if (Node222align === 'left') {
- Node222textStart = Node222fontSize * 0.2 > 2 ? Node222fontSize * 0.2 - 4 : Node222fontSize * 0.2 - 9;
- Node222textWidth = Node222width;
- Node222lineStart = 1;
- } else if (Node222align === 'right') {
- Node222textStart = 0;
- Node222textWidth =Node222fontSize <= 8 ? Node222width + Node222fontSize * 0.2 + 6 : Node222width - Node222fontSize * 0.2;
- Node222lineStart = (Node222width - (ht.Default.getTextSize('离线', ' '+ Node222fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node222align === 'center') {
- Node222textStart = -3;
- Node222textWidth = Node222width;
- Node222lineStart = Node222width - ht.Default.getTextSize('离线', ' '+ Node222fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node222.setImage(GD.getTextJSON(Node222width, Node222height, true, false, false, ' '+ Node222fontSize + 'px "Arial"'))
- Node222.setPosition(1360*ratio.ratioX, 582*ratio.ratioY);
- Node222.setWidth(Node222width);
- Node222.setHeight(Node222height);
- Node222._nodeType = 'text';
- Node222._disallowEvert = true;
- Node222.setRotation(0*Math.PI/180);
- Node222.a('node.width', Node222width);
- Node222.a('node.height', Node222height);
- Node222.a('node.rect', [0, 0, Node222width, Node222height]);
- Node222.a('node.bordercolor','rgba(128,128,128,1)');
- Node222.a('node.borderwidth', 0);
- Node222.a('node.background','' || 'rgba(0,0,0,0)');
- Node222.a('node.gradient','');
- Node222.a('node.gradientcolor','');
- Node222.a('node.text','离线');
- Node222.a('node.textalign','left');
- Node222.a('node.textvAlign','middle');
- Node222.a('node.textrect', [Node222textStart, 0, Node222textWidth, Node222height]);
- Node222.a('node.color','rgba(128,128,128,1)');
- Node222.a('node.font',' '+ Node222fontSize + 'px "Arial"');
- Node222.a('node.textvisible',true);
- Node222.a('node.linefeed',false);
- if (false) {
- Node222.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node222.a('node.text') || '离线';
- var color=Node222.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node222width,Node222height,13.3333*_ratio.ratioY,"left",color,' '+ Node222fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node222.a('node.underlinepoints',[Node222lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node222fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node222fontSize + 'px "Arial"').width + 6, (Node222height - Node222fontSize) * 0.5*_ratio.ratioY + Node222fontSize + 2 ]);
- Node222.a('node.underlinevisible',false);
- Node222.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node222);
- zoomNodeList.push({
- node: Node222,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node223 = new ht.Node();
- var Node223textStart, Node223textWidth, Node223lineStart, Node223align = 'left', Node223fontSize = 13.3333*_ratio.ratioY,Node223width = 29*_ratio.ratioX, Node223height = 25*_ratio.ratioY;
- (function () {
- if (Node223align === 'left') {
- Node223textStart = Node223fontSize * 0.2 > 2 ? Node223fontSize * 0.2 - 4 : Node223fontSize * 0.2 - 9;
- Node223textWidth = Node223width;
- Node223lineStart = 1;
- } else if (Node223align === 'right') {
- Node223textStart = 0;
- Node223textWidth =Node223fontSize <= 8 ? Node223width + Node223fontSize * 0.2 + 6 : Node223width - Node223fontSize * 0.2;
- Node223lineStart = (Node223width - (ht.Default.getTextSize('台', ' '+ Node223fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node223align === 'center') {
- Node223textStart = -3;
- Node223textWidth = Node223width;
- Node223lineStart = Node223width - ht.Default.getTextSize('台', ' '+ Node223fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node223.setImage(GD.getTextJSON(Node223width, Node223height, true, false, false, ' '+ Node223fontSize + 'px "UniDreamLED"'))
- Node223.setPosition(1311*ratio.ratioX, 522*ratio.ratioY);
- Node223.setWidth(Node223width);
- Node223.setHeight(Node223height);
- Node223._nodeType = 'text';
- Node223._disallowEvert = true;
- Node223.setRotation(0*Math.PI/180);
- Node223.a('node.width', Node223width);
- Node223.a('node.height', Node223height);
- Node223.a('node.rect', [0, 0, Node223width, Node223height]);
- Node223.a('node.bordercolor','rgba(64,64,64,1)');
- Node223.a('node.borderwidth', 0);
- Node223.a('node.background','' || 'rgba(0,0,0,0)');
- Node223.a('node.gradient','');
- Node223.a('node.gradientcolor','');
- Node223.a('node.text','台');
- Node223.a('node.textalign','left');
- Node223.a('node.textvAlign','middle');
- Node223.a('node.textrect', [Node223textStart, 0, Node223textWidth, Node223height]);
- Node223.a('node.color','rgba(64,64,64,1)');
- Node223.a('node.font',' '+ Node223fontSize + 'px "UniDreamLED"');
- Node223.a('node.textvisible',true);
- Node223.a('node.linefeed',false);
- if (false) {
- Node223.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node223.a('node.text') || '台';
- var color=Node223.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node223width,Node223height,13.3333*_ratio.ratioY,"left",color,' '+ Node223fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node223.a('node.underlinepoints',[Node223lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node223fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node223fontSize + 'px "UniDreamLED"').width + 6, (Node223height - Node223fontSize) * 0.5*_ratio.ratioY + Node223fontSize + 2 ]);
- Node223.a('node.underlinevisible',false);
- Node223.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node223);
- zoomNodeList.push({
- node: Node223,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node224 = new ht.Node();
- var Node224textStart, Node224textWidth, Node224lineStart, Node224align = 'left', Node224fontSize = 13.3333*_ratio.ratioY,Node224width = 29*_ratio.ratioX, Node224height = 25*_ratio.ratioY;
- (function () {
- if (Node224align === 'left') {
- Node224textStart = Node224fontSize * 0.2 > 2 ? Node224fontSize * 0.2 - 4 : Node224fontSize * 0.2 - 9;
- Node224textWidth = Node224width;
- Node224lineStart = 1;
- } else if (Node224align === 'right') {
- Node224textStart = 0;
- Node224textWidth =Node224fontSize <= 8 ? Node224width + Node224fontSize * 0.2 + 6 : Node224width - Node224fontSize * 0.2;
- Node224lineStart = (Node224width - (ht.Default.getTextSize('台', ' '+ Node224fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node224align === 'center') {
- Node224textStart = -3;
- Node224textWidth = Node224width;
- Node224lineStart = Node224width - ht.Default.getTextSize('台', ' '+ Node224fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node224.setImage(GD.getTextJSON(Node224width, Node224height, true, false, false, ' '+ Node224fontSize + 'px "UniDreamLED"'))
- Node224.setPosition(1311*ratio.ratioX, 553*ratio.ratioY);
- Node224.setWidth(Node224width);
- Node224.setHeight(Node224height);
- Node224._nodeType = 'text';
- Node224._disallowEvert = true;
- Node224.setRotation(0*Math.PI/180);
- Node224.a('node.width', Node224width);
- Node224.a('node.height', Node224height);
- Node224.a('node.rect', [0, 0, Node224width, Node224height]);
- Node224.a('node.bordercolor','rgba(64,64,64,1)');
- Node224.a('node.borderwidth', 0);
- Node224.a('node.background','' || 'rgba(0,0,0,0)');
- Node224.a('node.gradient','');
- Node224.a('node.gradientcolor','');
- Node224.a('node.text','台');
- Node224.a('node.textalign','left');
- Node224.a('node.textvAlign','middle');
- Node224.a('node.textrect', [Node224textStart, 0, Node224textWidth, Node224height]);
- Node224.a('node.color','rgba(64,64,64,1)');
- Node224.a('node.font',' '+ Node224fontSize + 'px "UniDreamLED"');
- Node224.a('node.textvisible',true);
- Node224.a('node.linefeed',false);
- if (false) {
- Node224.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node224.a('node.text') || '台';
- var color=Node224.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node224width,Node224height,13.3333*_ratio.ratioY,"left",color,' '+ Node224fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node224.a('node.underlinepoints',[Node224lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node224fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node224fontSize + 'px "UniDreamLED"').width + 6, (Node224height - Node224fontSize) * 0.5*_ratio.ratioY + Node224fontSize + 2 ]);
- Node224.a('node.underlinevisible',false);
- Node224.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node224);
- zoomNodeList.push({
- node: Node224,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node225 = new ht.Node();
- var Node225textStart, Node225textWidth, Node225lineStart, Node225align = 'left', Node225fontSize = 13.3333*_ratio.ratioY,Node225width = 29*_ratio.ratioX, Node225height = 25*_ratio.ratioY;
- (function () {
- if (Node225align === 'left') {
- Node225textStart = Node225fontSize * 0.2 > 2 ? Node225fontSize * 0.2 - 4 : Node225fontSize * 0.2 - 9;
- Node225textWidth = Node225width;
- Node225lineStart = 1;
- } else if (Node225align === 'right') {
- Node225textStart = 0;
- Node225textWidth =Node225fontSize <= 8 ? Node225width + Node225fontSize * 0.2 + 6 : Node225width - Node225fontSize * 0.2;
- Node225lineStart = (Node225width - (ht.Default.getTextSize('台', ' '+ Node225fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node225align === 'center') {
- Node225textStart = -3;
- Node225textWidth = Node225width;
- Node225lineStart = Node225width - ht.Default.getTextSize('台', ' '+ Node225fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node225.setImage(GD.getTextJSON(Node225width, Node225height, true, false, false, ' '+ Node225fontSize + 'px "UniDreamLED"'))
- Node225.setPosition(1312*ratio.ratioX, 582*ratio.ratioY);
- Node225.setWidth(Node225width);
- Node225.setHeight(Node225height);
- Node225._nodeType = 'text';
- Node225._disallowEvert = true;
- Node225.setRotation(0*Math.PI/180);
- Node225.a('node.width', Node225width);
- Node225.a('node.height', Node225height);
- Node225.a('node.rect', [0, 0, Node225width, Node225height]);
- Node225.a('node.bordercolor','rgba(64,64,64,1)');
- Node225.a('node.borderwidth', 0);
- Node225.a('node.background','' || 'rgba(0,0,0,0)');
- Node225.a('node.gradient','');
- Node225.a('node.gradientcolor','');
- Node225.a('node.text','台');
- Node225.a('node.textalign','left');
- Node225.a('node.textvAlign','middle');
- Node225.a('node.textrect', [Node225textStart, 0, Node225textWidth, Node225height]);
- Node225.a('node.color','rgba(64,64,64,1)');
- Node225.a('node.font',' '+ Node225fontSize + 'px "UniDreamLED"');
- Node225.a('node.textvisible',true);
- Node225.a('node.linefeed',false);
- if (false) {
- Node225.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node225.a('node.text') || '台';
- var color=Node225.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node225width,Node225height,13.3333*_ratio.ratioY,"left",color,' '+ Node225fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node225.a('node.underlinepoints',[Node225lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node225fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node225fontSize + 'px "UniDreamLED"').width + 6, (Node225height - Node225fontSize) * 0.5*_ratio.ratioY + Node225fontSize + 2 ]);
- Node225.a('node.underlinevisible',false);
- Node225.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node225);
- zoomNodeList.push({
- node: Node225,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node226 = new ht.Node();
- var Node226textStart, Node226textWidth, Node226lineStart, Node226align = 'left', Node226fontSize = 13.3333*_ratio.ratioY,Node226width = 29*_ratio.ratioX, Node226height = 25*_ratio.ratioY;
- (function () {
- if (Node226align === 'left') {
- Node226textStart = Node226fontSize * 0.2 > 2 ? Node226fontSize * 0.2 - 4 : Node226fontSize * 0.2 - 9;
- Node226textWidth = Node226width;
- Node226lineStart = 1;
- } else if (Node226align === 'right') {
- Node226textStart = 0;
- Node226textWidth =Node226fontSize <= 8 ? Node226width + Node226fontSize * 0.2 + 6 : Node226width - Node226fontSize * 0.2;
- Node226lineStart = (Node226width - (ht.Default.getTextSize('24', ' '+ Node226fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node226align === 'center') {
- Node226textStart = -3;
- Node226textWidth = Node226width;
- Node226lineStart = Node226width - ht.Default.getTextSize('24', ' '+ Node226fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node226.setImage(GD.getTextJSON(Node226width, Node226height, true, false, false, ' '+ Node226fontSize + 'px "UniDreamLED"'))
- Node226.setPosition(1256*ratio.ratioX, 522*ratio.ratioY);
- Node226.setWidth(Node226width);
- Node226.setHeight(Node226height);
- Node226._nodeType = 'text';
- Node226._disallowEvert = true;
- Node226.setRotation(0*Math.PI/180);
- Node226.a('node.width', Node226width);
- Node226.a('node.height', Node226height);
- Node226.a('node.rect', [0, 0, Node226width, Node226height]);
- Node226.a('node.bordercolor','rgba(64,64,64,1)');
- Node226.a('node.borderwidth', 0);
- Node226.a('node.background','' || 'rgba(0,0,0,0)');
- Node226.a('node.gradient','');
- Node226.a('node.gradientcolor','');
- Node226.a('node.text','24');
- Node226.a('node.textalign','left');
- Node226.a('node.textvAlign','middle');
- Node226.a('node.textrect', [Node226textStart, 0, Node226textWidth, Node226height]);
- Node226.a('node.color','rgba(64,64,64,1)');
- Node226.a('node.font',' '+ Node226fontSize + 'px "UniDreamLED"');
- Node226.a('node.textvisible',true);
- Node226.a('node.linefeed',false);
- if (false) {
- Node226.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node226.a('node.text') || '24';
- var color=Node226.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node226width,Node226height,13.3333*_ratio.ratioY,"left",color,' '+ Node226fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node226.a('node.underlinepoints',[Node226lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node226fontSize + 2 , ht.Default.getTextSize('24', ' '+ Node226fontSize + 'px "UniDreamLED"').width + 6, (Node226height - Node226fontSize) * 0.5*_ratio.ratioY + Node226fontSize + 2 ]);
- Node226.a('node.underlinevisible',false);
- Node226.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node226);
- zoomNodeList.push({
- node: Node226,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node227 = new ht.Node();
- var Node227textStart, Node227textWidth, Node227lineStart, Node227align = 'left', Node227fontSize = 13.3333*_ratio.ratioY,Node227width = 29*_ratio.ratioX, Node227height = 25*_ratio.ratioY;
- (function () {
- if (Node227align === 'left') {
- Node227textStart = Node227fontSize * 0.2 > 2 ? Node227fontSize * 0.2 - 4 : Node227fontSize * 0.2 - 9;
- Node227textWidth = Node227width;
- Node227lineStart = 1;
- } else if (Node227align === 'right') {
- Node227textStart = 0;
- Node227textWidth =Node227fontSize <= 8 ? Node227width + Node227fontSize * 0.2 + 6 : Node227width - Node227fontSize * 0.2;
- Node227lineStart = (Node227width - (ht.Default.getTextSize('0', ' '+ Node227fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node227align === 'center') {
- Node227textStart = -3;
- Node227textWidth = Node227width;
- Node227lineStart = Node227width - ht.Default.getTextSize('0', ' '+ Node227fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node227.setImage(GD.getTextJSON(Node227width, Node227height, true, false, false, ' '+ Node227fontSize + 'px "UniDreamLED"'))
- Node227.setPosition(1256*ratio.ratioX, 551*ratio.ratioY);
- Node227.setWidth(Node227width);
- Node227.setHeight(Node227height);
- Node227._nodeType = 'text';
- Node227._disallowEvert = true;
- Node227.setRotation(0*Math.PI/180);
- Node227.a('node.width', Node227width);
- Node227.a('node.height', Node227height);
- Node227.a('node.rect', [0, 0, Node227width, Node227height]);
- Node227.a('node.bordercolor','rgba(64,64,64,1)');
- Node227.a('node.borderwidth', 0);
- Node227.a('node.background','' || 'rgba(0,0,0,0)');
- Node227.a('node.gradient','');
- Node227.a('node.gradientcolor','');
- Node227.a('node.text','0');
- Node227.a('node.textalign','left');
- Node227.a('node.textvAlign','middle');
- Node227.a('node.textrect', [Node227textStart, 0, Node227textWidth, Node227height]);
- Node227.a('node.color','rgba(64,64,64,1)');
- Node227.a('node.font',' '+ Node227fontSize + 'px "UniDreamLED"');
- Node227.a('node.textvisible',true);
- Node227.a('node.linefeed',false);
- if (false) {
- Node227.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node227.a('node.text') || '0';
- var color=Node227.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node227width,Node227height,13.3333*_ratio.ratioY,"left",color,' '+ Node227fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node227.a('node.underlinepoints',[Node227lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node227fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node227fontSize + 'px "UniDreamLED"').width + 6, (Node227height - Node227fontSize) * 0.5*_ratio.ratioY + Node227fontSize + 2 ]);
- Node227.a('node.underlinevisible',false);
- Node227.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node227);
- zoomNodeList.push({
- node: Node227,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node228 = new ht.Node();
- var Node228textStart, Node228textWidth, Node228lineStart, Node228align = 'left', Node228fontSize = 13.3333*_ratio.ratioY,Node228width = 29*_ratio.ratioX, Node228height = 25*_ratio.ratioY;
- (function () {
- if (Node228align === 'left') {
- Node228textStart = Node228fontSize * 0.2 > 2 ? Node228fontSize * 0.2 - 4 : Node228fontSize * 0.2 - 9;
- Node228textWidth = Node228width;
- Node228lineStart = 1;
- } else if (Node228align === 'right') {
- Node228textStart = 0;
- Node228textWidth =Node228fontSize <= 8 ? Node228width + Node228fontSize * 0.2 + 6 : Node228width - Node228fontSize * 0.2;
- Node228lineStart = (Node228width - (ht.Default.getTextSize('0', ' '+ Node228fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node228align === 'center') {
- Node228textStart = -3;
- Node228textWidth = Node228width;
- Node228lineStart = Node228width - ht.Default.getTextSize('0', ' '+ Node228fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node228.setImage(GD.getTextJSON(Node228width, Node228height, true, false, false, ' '+ Node228fontSize + 'px "UniDreamLED"'))
- Node228.setPosition(1256*ratio.ratioX, 582*ratio.ratioY);
- Node228.setWidth(Node228width);
- Node228.setHeight(Node228height);
- Node228._nodeType = 'text';
- Node228._disallowEvert = true;
- Node228.setRotation(0*Math.PI/180);
- Node228.a('node.width', Node228width);
- Node228.a('node.height', Node228height);
- Node228.a('node.rect', [0, 0, Node228width, Node228height]);
- Node228.a('node.bordercolor','rgba(64,64,64,1)');
- Node228.a('node.borderwidth', 0);
- Node228.a('node.background','' || 'rgba(0,0,0,0)');
- Node228.a('node.gradient','');
- Node228.a('node.gradientcolor','');
- Node228.a('node.text','0');
- Node228.a('node.textalign','left');
- Node228.a('node.textvAlign','middle');
- Node228.a('node.textrect', [Node228textStart, 0, Node228textWidth, Node228height]);
- Node228.a('node.color','rgba(64,64,64,1)');
- Node228.a('node.font',' '+ Node228fontSize + 'px "UniDreamLED"');
- Node228.a('node.textvisible',true);
- Node228.a('node.linefeed',false);
- if (false) {
- Node228.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node228.a('node.text') || '0';
- var color=Node228.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node228width,Node228height,13.3333*_ratio.ratioY,"left",color,' '+ Node228fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node228.a('node.underlinepoints',[Node228lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node228fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node228fontSize + 'px "UniDreamLED"').width + 6, (Node228height - Node228fontSize) * 0.5*_ratio.ratioY + Node228fontSize + 2 ]);
- Node228.a('node.underlinevisible',false);
- Node228.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node228);
- zoomNodeList.push({
- node: Node228,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node229 = new ht.Node();
- var Node229textStart, Node229textWidth, Node229lineStart, Node229align = 'left', Node229fontSize = 13.3333*_ratio.ratioY,Node229width = 29*_ratio.ratioX, Node229height = 25*_ratio.ratioY;
- (function () {
- if (Node229align === 'left') {
- Node229textStart = Node229fontSize * 0.2 > 2 ? Node229fontSize * 0.2 - 4 : Node229fontSize * 0.2 - 9;
- Node229textWidth = Node229width;
- Node229lineStart = 1;
- } else if (Node229align === 'right') {
- Node229textStart = 0;
- Node229textWidth =Node229fontSize <= 8 ? Node229width + Node229fontSize * 0.2 + 6 : Node229width - Node229fontSize * 0.2;
- Node229lineStart = (Node229width - (ht.Default.getTextSize('0', ' '+ Node229fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node229align === 'center') {
- Node229textStart = -3;
- Node229textWidth = Node229width;
- Node229lineStart = Node229width - ht.Default.getTextSize('0', ' '+ Node229fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node229.setImage(GD.getTextJSON(Node229width, Node229height, true, false, false, ' '+ Node229fontSize + 'px "UniDreamLED"'))
- Node229.setPosition(1433*ratio.ratioX, 522*ratio.ratioY);
- Node229.setWidth(Node229width);
- Node229.setHeight(Node229height);
- Node229._nodeType = 'text';
- Node229._disallowEvert = true;
- Node229.setRotation(0*Math.PI/180);
- Node229.a('node.width', Node229width);
- Node229.a('node.height', Node229height);
- Node229.a('node.rect', [0, 0, Node229width, Node229height]);
- Node229.a('node.bordercolor','rgba(64,64,64,1)');
- Node229.a('node.borderwidth', 0);
- Node229.a('node.background','' || 'rgba(0,0,0,0)');
- Node229.a('node.gradient','');
- Node229.a('node.gradientcolor','');
- Node229.a('node.text','0');
- Node229.a('node.textalign','left');
- Node229.a('node.textvAlign','middle');
- Node229.a('node.textrect', [Node229textStart, 0, Node229textWidth, Node229height]);
- Node229.a('node.color','rgba(64,64,64,1)');
- Node229.a('node.font',' '+ Node229fontSize + 'px "UniDreamLED"');
- Node229.a('node.textvisible',true);
- Node229.a('node.linefeed',false);
- if (false) {
- Node229.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node229.a('node.text') || '0';
- var color=Node229.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node229width,Node229height,13.3333*_ratio.ratioY,"left",color,' '+ Node229fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node229.a('node.underlinepoints',[Node229lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node229fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node229fontSize + 'px "UniDreamLED"').width + 6, (Node229height - Node229fontSize) * 0.5*_ratio.ratioY + Node229fontSize + 2 ]);
- Node229.a('node.underlinevisible',false);
- Node229.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node229);
- zoomNodeList.push({
- node: Node229,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node230 = new ht.Node();
- var Node230textStart, Node230textWidth, Node230lineStart, Node230align = 'left', Node230fontSize = 13.3333*_ratio.ratioY,Node230width = 29*_ratio.ratioX, Node230height = 25*_ratio.ratioY;
- (function () {
- if (Node230align === 'left') {
- Node230textStart = Node230fontSize * 0.2 > 2 ? Node230fontSize * 0.2 - 4 : Node230fontSize * 0.2 - 9;
- Node230textWidth = Node230width;
- Node230lineStart = 1;
- } else if (Node230align === 'right') {
- Node230textStart = 0;
- Node230textWidth =Node230fontSize <= 8 ? Node230width + Node230fontSize * 0.2 + 6 : Node230width - Node230fontSize * 0.2;
- Node230lineStart = (Node230width - (ht.Default.getTextSize('0', ' '+ Node230fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node230align === 'center') {
- Node230textStart = -3;
- Node230textWidth = Node230width;
- Node230lineStart = Node230width - ht.Default.getTextSize('0', ' '+ Node230fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node230.setImage(GD.getTextJSON(Node230width, Node230height, true, false, false, ' '+ Node230fontSize + 'px "UniDreamLED"'))
- Node230.setPosition(1433*ratio.ratioX, 551*ratio.ratioY);
- Node230.setWidth(Node230width);
- Node230.setHeight(Node230height);
- Node230._nodeType = 'text';
- Node230._disallowEvert = true;
- Node230.setRotation(0*Math.PI/180);
- Node230.a('node.width', Node230width);
- Node230.a('node.height', Node230height);
- Node230.a('node.rect', [0, 0, Node230width, Node230height]);
- Node230.a('node.bordercolor','rgba(64,64,64,1)');
- Node230.a('node.borderwidth', 0);
- Node230.a('node.background','' || 'rgba(0,0,0,0)');
- Node230.a('node.gradient','');
- Node230.a('node.gradientcolor','');
- Node230.a('node.text','0');
- Node230.a('node.textalign','left');
- Node230.a('node.textvAlign','middle');
- Node230.a('node.textrect', [Node230textStart, 0, Node230textWidth, Node230height]);
- Node230.a('node.color','rgba(64,64,64,1)');
- Node230.a('node.font',' '+ Node230fontSize + 'px "UniDreamLED"');
- Node230.a('node.textvisible',true);
- Node230.a('node.linefeed',false);
- if (false) {
- Node230.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node230.a('node.text') || '0';
- var color=Node230.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node230width,Node230height,13.3333*_ratio.ratioY,"left",color,' '+ Node230fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node230.a('node.underlinepoints',[Node230lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node230fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node230fontSize + 'px "UniDreamLED"').width + 6, (Node230height - Node230fontSize) * 0.5*_ratio.ratioY + Node230fontSize + 2 ]);
- Node230.a('node.underlinevisible',false);
- Node230.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node230);
- zoomNodeList.push({
- node: Node230,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node231 = new ht.Node();
- var Node231textStart, Node231textWidth, Node231lineStart, Node231align = 'left', Node231fontSize = 13.3333*_ratio.ratioY,Node231width = 29*_ratio.ratioX, Node231height = 25*_ratio.ratioY;
- (function () {
- if (Node231align === 'left') {
- Node231textStart = Node231fontSize * 0.2 > 2 ? Node231fontSize * 0.2 - 4 : Node231fontSize * 0.2 - 9;
- Node231textWidth = Node231width;
- Node231lineStart = 1;
- } else if (Node231align === 'right') {
- Node231textStart = 0;
- Node231textWidth =Node231fontSize <= 8 ? Node231width + Node231fontSize * 0.2 + 6 : Node231width - Node231fontSize * 0.2;
- Node231lineStart = (Node231width - (ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node231align === 'center') {
- Node231textStart = -3;
- Node231textWidth = Node231width;
- Node231lineStart = Node231width - ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node231.setImage(GD.getTextJSON(Node231width, Node231height, true, false, false, ' '+ Node231fontSize + 'px "UniDreamLED"'))
- Node231.setPosition(1433*ratio.ratioX, 582*ratio.ratioY);
- Node231.setWidth(Node231width);
- Node231.setHeight(Node231height);
- Node231._nodeType = 'text';
- Node231._disallowEvert = true;
- Node231.setRotation(0*Math.PI/180);
- Node231.a('node.width', Node231width);
- Node231.a('node.height', Node231height);
- Node231.a('node.rect', [0, 0, Node231width, Node231height]);
- Node231.a('node.bordercolor','rgba(64,64,64,1)');
- Node231.a('node.borderwidth', 0);
- Node231.a('node.background','' || 'rgba(0,0,0,0)');
- Node231.a('node.gradient','');
- Node231.a('node.gradientcolor','');
- Node231.a('node.text','0');
- Node231.a('node.textalign','left');
- Node231.a('node.textvAlign','middle');
- Node231.a('node.textrect', [Node231textStart, 0, Node231textWidth, Node231height]);
- Node231.a('node.color','rgba(64,64,64,1)');
- Node231.a('node.font',' '+ Node231fontSize + 'px "UniDreamLED"');
- Node231.a('node.textvisible',true);
- Node231.a('node.linefeed',false);
- if (false) {
- Node231.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node231.a('node.text') || '0';
- var color=Node231.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node231width,Node231height,13.3333*_ratio.ratioY,"left",color,' '+ Node231fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node231.a('node.underlinepoints',[Node231lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node231fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node231fontSize + 'px "UniDreamLED"').width + 6, (Node231height - Node231fontSize) * 0.5*_ratio.ratioY + Node231fontSize + 2 ]);
- Node231.a('node.underlinevisible',false);
- Node231.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node231);
- zoomNodeList.push({
- node: Node231,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node232 = new ht.Node();
- var Node232textStart, Node232textWidth, Node232lineStart, Node232align = 'left', Node232fontSize = 13.3333*_ratio.ratioY,Node232width = 29*_ratio.ratioX, Node232height = 25*_ratio.ratioY;
- (function () {
- if (Node232align === 'left') {
- Node232textStart = Node232fontSize * 0.2 > 2 ? Node232fontSize * 0.2 - 4 : Node232fontSize * 0.2 - 9;
- Node232textWidth = Node232width;
- Node232lineStart = 1;
- } else if (Node232align === 'right') {
- Node232textStart = 0;
- Node232textWidth =Node232fontSize <= 8 ? Node232width + Node232fontSize * 0.2 + 6 : Node232width - Node232fontSize * 0.2;
- Node232lineStart = (Node232width - (ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node232align === 'center') {
- Node232textStart = -3;
- Node232textWidth = Node232width;
- Node232lineStart = Node232width - ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node232.setImage(GD.getTextJSON(Node232width, Node232height, true, false, false, ' '+ Node232fontSize + 'px "UniDreamLED"'))
- Node232.setPosition(1487*ratio.ratioX, 521*ratio.ratioY);
- Node232.setWidth(Node232width);
- Node232.setHeight(Node232height);
- Node232._nodeType = 'text';
- Node232._disallowEvert = true;
- Node232.setRotation(0*Math.PI/180);
- Node232.a('node.width', Node232width);
- Node232.a('node.height', Node232height);
- Node232.a('node.rect', [0, 0, Node232width, Node232height]);
- Node232.a('node.bordercolor','rgba(64,64,64,1)');
- Node232.a('node.borderwidth', 0);
- Node232.a('node.background','' || 'rgba(0,0,0,0)');
- Node232.a('node.gradient','');
- Node232.a('node.gradientcolor','');
- Node232.a('node.text','台');
- Node232.a('node.textalign','left');
- Node232.a('node.textvAlign','middle');
- Node232.a('node.textrect', [Node232textStart, 0, Node232textWidth, Node232height]);
- Node232.a('node.color','rgba(64,64,64,1)');
- Node232.a('node.font',' '+ Node232fontSize + 'px "UniDreamLED"');
- Node232.a('node.textvisible',true);
- Node232.a('node.linefeed',false);
- if (false) {
- Node232.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node232.a('node.text') || '台';
- var color=Node232.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node232width,Node232height,13.3333*_ratio.ratioY,"left",color,' '+ Node232fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node232.a('node.underlinepoints',[Node232lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node232fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node232fontSize + 'px "UniDreamLED"').width + 6, (Node232height - Node232fontSize) * 0.5*_ratio.ratioY + Node232fontSize + 2 ]);
- Node232.a('node.underlinevisible',false);
- Node232.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node232);
- zoomNodeList.push({
- node: Node232,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node233 = new ht.Node();
- var Node233textStart, Node233textWidth, Node233lineStart, Node233align = 'left', Node233fontSize = 13.3333*_ratio.ratioY,Node233width = 29*_ratio.ratioX, Node233height = 25*_ratio.ratioY;
- (function () {
- if (Node233align === 'left') {
- Node233textStart = Node233fontSize * 0.2 > 2 ? Node233fontSize * 0.2 - 4 : Node233fontSize * 0.2 - 9;
- Node233textWidth = Node233width;
- Node233lineStart = 1;
- } else if (Node233align === 'right') {
- Node233textStart = 0;
- Node233textWidth =Node233fontSize <= 8 ? Node233width + Node233fontSize * 0.2 + 6 : Node233width - Node233fontSize * 0.2;
- Node233lineStart = (Node233width - (ht.Default.getTextSize('台', ' '+ Node233fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node233align === 'center') {
- Node233textStart = -3;
- Node233textWidth = Node233width;
- Node233lineStart = Node233width - ht.Default.getTextSize('台', ' '+ Node233fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node233.setImage(GD.getTextJSON(Node233width, Node233height, true, false, false, ' '+ Node233fontSize + 'px "UniDreamLED"'))
- Node233.setPosition(1487*ratio.ratioX, 552*ratio.ratioY);
- Node233.setWidth(Node233width);
- Node233.setHeight(Node233height);
- Node233._nodeType = 'text';
- Node233._disallowEvert = true;
- Node233.setRotation(0*Math.PI/180);
- Node233.a('node.width', Node233width);
- Node233.a('node.height', Node233height);
- Node233.a('node.rect', [0, 0, Node233width, Node233height]);
- Node233.a('node.bordercolor','rgba(64,64,64,1)');
- Node233.a('node.borderwidth', 0);
- Node233.a('node.background','' || 'rgba(0,0,0,0)');
- Node233.a('node.gradient','');
- Node233.a('node.gradientcolor','');
- Node233.a('node.text','台');
- Node233.a('node.textalign','left');
- Node233.a('node.textvAlign','middle');
- Node233.a('node.textrect', [Node233textStart, 0, Node233textWidth, Node233height]);
- Node233.a('node.color','rgba(64,64,64,1)');
- Node233.a('node.font',' '+ Node233fontSize + 'px "UniDreamLED"');
- Node233.a('node.textvisible',true);
- Node233.a('node.linefeed',false);
- if (false) {
- Node233.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node233.a('node.text') || '台';
- var color=Node233.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node233width,Node233height,13.3333*_ratio.ratioY,"left",color,' '+ Node233fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node233.a('node.underlinepoints',[Node233lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node233fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node233fontSize + 'px "UniDreamLED"').width + 6, (Node233height - Node233fontSize) * 0.5*_ratio.ratioY + Node233fontSize + 2 ]);
- Node233.a('node.underlinevisible',false);
- Node233.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node233);
- zoomNodeList.push({
- node: Node233,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node234 = new ht.Node();
- var Node234textStart, Node234textWidth, Node234lineStart, Node234align = 'left', Node234fontSize = 13.3333*_ratio.ratioY,Node234width = 29*_ratio.ratioX, Node234height = 25*_ratio.ratioY;
- (function () {
- if (Node234align === 'left') {
- Node234textStart = Node234fontSize * 0.2 > 2 ? Node234fontSize * 0.2 - 4 : Node234fontSize * 0.2 - 9;
- Node234textWidth = Node234width;
- Node234lineStart = 1;
- } else if (Node234align === 'right') {
- Node234textStart = 0;
- Node234textWidth =Node234fontSize <= 8 ? Node234width + Node234fontSize * 0.2 + 6 : Node234width - Node234fontSize * 0.2;
- Node234lineStart = (Node234width - (ht.Default.getTextSize('台', ' '+ Node234fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node234align === 'center') {
- Node234textStart = -3;
- Node234textWidth = Node234width;
- Node234lineStart = Node234width - ht.Default.getTextSize('台', ' '+ Node234fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node234.setImage(GD.getTextJSON(Node234width, Node234height, true, false, false, ' '+ Node234fontSize + 'px "UniDreamLED"'))
- Node234.setPosition(1488*ratio.ratioX, 581*ratio.ratioY);
- Node234.setWidth(Node234width);
- Node234.setHeight(Node234height);
- Node234._nodeType = 'text';
- Node234._disallowEvert = true;
- Node234.setRotation(0*Math.PI/180);
- Node234.a('node.width', Node234width);
- Node234.a('node.height', Node234height);
- Node234.a('node.rect', [0, 0, Node234width, Node234height]);
- Node234.a('node.bordercolor','rgba(64,64,64,1)');
- Node234.a('node.borderwidth', 0);
- Node234.a('node.background','' || 'rgba(0,0,0,0)');
- Node234.a('node.gradient','');
- Node234.a('node.gradientcolor','');
- Node234.a('node.text','台');
- Node234.a('node.textalign','left');
- Node234.a('node.textvAlign','middle');
- Node234.a('node.textrect', [Node234textStart, 0, Node234textWidth, Node234height]);
- Node234.a('node.color','rgba(64,64,64,1)');
- Node234.a('node.font',' '+ Node234fontSize + 'px "UniDreamLED"');
- Node234.a('node.textvisible',true);
- Node234.a('node.linefeed',false);
- if (false) {
- Node234.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node234.a('node.text') || '台';
- var color=Node234.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node234width,Node234height,13.3333*_ratio.ratioY,"left",color,' '+ Node234fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node234.a('node.underlinepoints',[Node234lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node234fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node234fontSize + 'px "UniDreamLED"').width + 6, (Node234height - Node234fontSize) * 0.5*_ratio.ratioY + Node234fontSize + 2 ]);
- Node234.a('node.underlinevisible',false);
- Node234.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node234);
- zoomNodeList.push({
- node: Node234,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node235type = 'rect';
- var Node235 = new ht.Node(),
- Node235BorderWidth = 0*2;
- if (Node235type === 'arc') {
- Node235BorderWidth *= 0;
- }
- Node235.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node235type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node235.setPosition(1738*ratio.ratioX, 584*ratio.ratioY);
- Node235.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node235.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node235.a('node.width', 66*_ratio.ratioX);
- Node235.a('node.height', 30*_ratio.ratioY);
- Node235.a('node.type', Node235type);
- Node235.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node235.a('node.background', 'rgba(245,245,245,1)');
- Node235.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node235.a('node.gradient', '');
- Node235.a('node.borderwidth', Node235BorderWidth);
- Node235.a('node.color', 'rgba(224,224,224,0)');
- Node235.a('node.fillrect', [0,0,0,0]);
- Node235.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node235.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node235.a('node.fillgradient', '');
- if (Node235type !== 'rect') {
- Node235.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node235.a('node.arcTo', parseFloat('@arcTo@'));
- Node235.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node235type === 'arc') {
- Node235.a('node.arcOval', true);
- }
- Node235.setRotation(0*Math.PI/180);
- Node235.borderWidth = Node235BorderWidth;
- Node235.borderFillwidth = Node235BorderWidth;
- dataModel.add(Node235);
- Node235._nodename = 'Node235'
- Node235._nodeType = 'rect';
- zoomNodeList.push({
- node: Node235,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node235, Node235.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node236type = 'rect';
- var Node236 = new ht.Node(),
- Node236BorderWidth = 0*2;
- if (Node236type === 'arc') {
- Node236BorderWidth *= 0;
- }
- Node236.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node236type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node236.setPosition(1738*ratio.ratioX, 553*ratio.ratioY);
- Node236.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node236.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node236.a('node.width', 66*_ratio.ratioX);
- Node236.a('node.height', 30*_ratio.ratioY);
- Node236.a('node.type', Node236type);
- Node236.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node236.a('node.background', 'rgba(245,245,245,1)');
- Node236.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node236.a('node.gradient', '');
- Node236.a('node.borderwidth', Node236BorderWidth);
- Node236.a('node.color', 'rgba(224,224,224,0)');
- Node236.a('node.fillrect', [0,0,0,0]);
- Node236.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node236.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node236.a('node.fillgradient', '');
- if (Node236type !== 'rect') {
- Node236.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node236.a('node.arcTo', parseFloat('@arcTo@'));
- Node236.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node236type === 'arc') {
- Node236.a('node.arcOval', true);
- }
- Node236.setRotation(0*Math.PI/180);
- Node236.borderWidth = Node236BorderWidth;
- Node236.borderFillwidth = Node236BorderWidth;
- dataModel.add(Node236);
- Node236._nodename = 'Node236'
- Node236._nodeType = 'rect';
- zoomNodeList.push({
- node: Node236,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node236, Node236.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node237type = 'rect';
- var Node237 = new ht.Node(),
- Node237BorderWidth = 0*2;
- if (Node237type === 'arc') {
- Node237BorderWidth *= 0;
- }
- Node237.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node237type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node237.setPosition(1738*ratio.ratioX, 522*ratio.ratioY);
- Node237.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node237.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node237.a('node.width', 66*_ratio.ratioX);
- Node237.a('node.height', 30*_ratio.ratioY);
- Node237.a('node.type', Node237type);
- Node237.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node237.a('node.background', 'rgba(245,245,245,1)');
- Node237.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node237.a('node.gradient', '');
- Node237.a('node.borderwidth', Node237BorderWidth);
- Node237.a('node.color', 'rgba(224,224,224,0)');
- Node237.a('node.fillrect', [0,0,0,0]);
- Node237.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node237.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node237.a('node.fillgradient', '');
- if (Node237type !== 'rect') {
- Node237.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node237.a('node.arcTo', parseFloat('@arcTo@'));
- Node237.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node237type === 'arc') {
- Node237.a('node.arcOval', true);
- }
- Node237.setRotation(0*Math.PI/180);
- Node237.borderWidth = Node237BorderWidth;
- Node237.borderFillwidth = Node237BorderWidth;
- dataModel.add(Node237);
- Node237._nodename = 'Node237'
- Node237._nodeType = 'rect';
- zoomNodeList.push({
- node: Node237,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node237, Node237.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node238type = 'rect';
- var Node238 = new ht.Node(),
- Node238BorderWidth = 0*2;
- if (Node238type === 'arc') {
- Node238BorderWidth *= 0;
- }
- Node238.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node238type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node238.setPosition(1549*ratio.ratioX, 584*ratio.ratioY);
- Node238.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node238.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node238.a('node.width', 66*_ratio.ratioX);
- Node238.a('node.height', 30*_ratio.ratioY);
- Node238.a('node.type', Node238type);
- Node238.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node238.a('node.background', 'rgba(245,245,245,1)');
- Node238.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node238.a('node.gradient', '');
- Node238.a('node.borderwidth', Node238BorderWidth);
- Node238.a('node.color', 'rgba(224,224,224,0)');
- Node238.a('node.fillrect', [0,0,0,0]);
- Node238.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node238.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node238.a('node.fillgradient', '');
- if (Node238type !== 'rect') {
- Node238.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node238.a('node.arcTo', parseFloat('@arcTo@'));
- Node238.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node238type === 'arc') {
- Node238.a('node.arcOval', true);
- }
- Node238.setRotation(0*Math.PI/180);
- Node238.borderWidth = Node238BorderWidth;
- Node238.borderFillwidth = Node238BorderWidth;
- dataModel.add(Node238);
- Node238._nodename = 'Node238'
- Node238._nodeType = 'rect';
- zoomNodeList.push({
- node: Node238,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node238, Node238.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node239type = 'rect';
- var Node239 = new ht.Node(),
- Node239BorderWidth = 0*2;
- if (Node239type === 'arc') {
- Node239BorderWidth *= 0;
- }
- Node239.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node239type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node239.setPosition(1549*ratio.ratioX, 552*ratio.ratioY);
- Node239.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node239.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node239.a('node.width', 66*_ratio.ratioX);
- Node239.a('node.height', 30*_ratio.ratioY);
- Node239.a('node.type', Node239type);
- Node239.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node239.a('node.background', 'rgba(245,245,245,1)');
- Node239.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node239.a('node.gradient', '');
- Node239.a('node.borderwidth', Node239BorderWidth);
- Node239.a('node.color', 'rgba(224,224,224,0)');
- Node239.a('node.fillrect', [0,0,0,0]);
- Node239.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node239.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node239.a('node.fillgradient', '');
- if (Node239type !== 'rect') {
- Node239.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node239.a('node.arcTo', parseFloat('@arcTo@'));
- Node239.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node239type === 'arc') {
- Node239.a('node.arcOval', true);
- }
- Node239.setRotation(0*Math.PI/180);
- Node239.borderWidth = Node239BorderWidth;
- Node239.borderFillwidth = Node239BorderWidth;
- dataModel.add(Node239);
- Node239._nodename = 'Node239'
- Node239._nodeType = 'rect';
- zoomNodeList.push({
- node: Node239,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node239, Node239.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node240type = 'rect';
- var Node240 = new ht.Node(),
- Node240BorderWidth = 0*2;
- if (Node240type === 'arc') {
- Node240BorderWidth *= 0;
- }
- Node240.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node240type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node240.setPosition(1550*ratio.ratioX, 521*ratio.ratioY);
- Node240.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node240.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node240.a('node.width', 66*_ratio.ratioX);
- Node240.a('node.height', 30*_ratio.ratioY);
- Node240.a('node.type', Node240type);
- Node240.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node240.a('node.background', 'rgba(245,245,245,1)');
- Node240.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node240.a('node.gradient', '');
- Node240.a('node.borderwidth', Node240BorderWidth);
- Node240.a('node.color', 'rgba(224,224,224,0)');
- Node240.a('node.fillrect', [0,0,0,0]);
- Node240.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node240.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node240.a('node.fillgradient', '');
- if (Node240type !== 'rect') {
- Node240.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node240.a('node.arcTo', parseFloat('@arcTo@'));
- Node240.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node240type === 'arc') {
- Node240.a('node.arcOval', true);
- }
- Node240.setRotation(0*Math.PI/180);
- Node240.borderWidth = Node240BorderWidth;
- Node240.borderFillwidth = Node240BorderWidth;
- dataModel.add(Node240);
- Node240._nodename = 'Node240'
- Node240._nodeType = 'rect';
- zoomNodeList.push({
- node: Node240,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node240, Node240.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node241= new ht.Node();
- Node241._borderWidth = 1;
- Node241.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node241._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node241.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node241.background'},
- gradient: {value:'', func: 'attr@Node241.gradient'},
- gradientColor:{value:'', func: 'attr@Node241.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node241.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node241.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node241.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node241.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node241.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node241.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node241.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node241.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node241.borderPattern'}
- }
- ]
- });
- var Node241borderwidth = 1;
- var Node241borderFillwidth = 1*2;
- Node241 .setPosition(1702*ratio.ratioX,454*ratio.ratioY);
- Node241.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node241.setRotation(0*Math.PI/180);
- Node241.s({'pixelPerfect':true});
- Node241.a('Node241.borderwidth',1);
- Node241.a('Node241.color','@bordercolor@');
- Node241.a('Node241.background','rgba(255,255,255,0.003921569)');
- Node241.a('Node241.gradient','');
- Node241.a('Node241.gradientcolor','');
- Node241.a('Node241.borderPattern',getDashStyle("Solid"));
- Node241.a('Node241.fillrect',[0,0,0,0]);
- Node241.a('Node241.fillbackcolor','rgba(0, 0, 0, 0)');
- Node241.a('Node241.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node241.a('Node241.fillgradient','');
- Node241borderwidth=1;
- dataModel.add(Node241);
- Node241.borderWidth = 1;
- Node241.borderFillwidth = 1*2;
- Node241._nodename = 'Node241';
- Node241._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node241,
- attr: 'Node241.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node241.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node241.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node241, Node241.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node242 = new ht.Node();
- var Node242textStart, Node242textWidth, Node242lineStart, Node242align = 'left', Node242fontSize = 11.99997*_ratio.ratioY,Node242width = 150*_ratio.ratioX, Node242height = 25*_ratio.ratioY;
- (function () {
- if (Node242align === 'left') {
- Node242textStart = Node242fontSize * 0.2 > 2 ? Node242fontSize * 0.2 - 4 : Node242fontSize * 0.2 - 9;
- Node242textWidth = Node242width;
- Node242lineStart = 1;
- } else if (Node242align === 'right') {
- Node242textStart = 0;
- Node242textWidth =Node242fontSize <= 8 ? Node242width + Node242fontSize * 0.2 + 6 : Node242width - Node242fontSize * 0.2;
- Node242lineStart = (Node242width - (ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node242fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node242align === 'center') {
- Node242textStart = -3;
- Node242textWidth = Node242width;
- Node242lineStart = Node242width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node242fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node242.setImage(GD.getTextJSON(Node242width, Node242height, true, false, false, 'bold '+ Node242fontSize + 'px "Arial"'))
- Node242.setPosition(1597*ratio.ratioX, 418*ratio.ratioY);
- Node242.setWidth(Node242width);
- Node242.setHeight(Node242height);
- Node242._nodeType = 'text';
- Node242._disallowEvert = true;
- Node242.setRotation(0*Math.PI/180);
- Node242.a('node.width', Node242width);
- Node242.a('node.height', Node242height);
- Node242.a('node.rect', [0, 0, Node242width, Node242height]);
- Node242.a('node.bordercolor','rgba(64,64,64,1)');
- Node242.a('node.borderwidth', 0);
- Node242.a('node.background','' || 'rgba(0,0,0,0)');
- Node242.a('node.gradient','');
- Node242.a('node.gradientcolor','');
- Node242.a('node.text','平鲁虎头山风电场');
- Node242.a('node.textalign','left');
- Node242.a('node.textvAlign','middle');
- Node242.a('node.textrect', [Node242textStart, 0, Node242textWidth, Node242height]);
- Node242.a('node.color','rgba(64,64,64,1)');
- Node242.a('node.font','bold '+ Node242fontSize + 'px "Arial"');
- Node242.a('node.textvisible',true);
- Node242.a('node.linefeed',false);
- if (false) {
- Node242.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node242.a('node.text') || '平鲁虎头山风电场';
- var color=Node242.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node242width,Node242height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node242fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node242.a('node.underlinepoints',[Node242lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node242fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node242fontSize + 'px "Arial"').width + 6, (Node242height - Node242fontSize) * 0.5*_ratio.ratioY + Node242fontSize + 2 ]);
- Node242.a('node.underlinevisible',false);
- Node242.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node242);
- zoomNodeList.push({
- node: Node242,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node243 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1797*ratio.ratioX, 418*ratio.ratioY, 0, {text:'83',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node244 = new ht.Node();
- var Node244textStart, Node244textWidth, Node244lineStart, Node244align = 'left', Node244fontSize = 11.99997*_ratio.ratioY,Node244width = 40*_ratio.ratioX, Node244height = 21*_ratio.ratioY;
- (function () {
- if (Node244align === 'left') {
- Node244textStart = Node244fontSize * 0.2 > 2 ? Node244fontSize * 0.2 - 4 : Node244fontSize * 0.2 - 9;
- Node244textWidth = Node244width;
- Node244lineStart = 1;
- } else if (Node244align === 'right') {
- Node244textStart = 0;
- Node244textWidth =Node244fontSize <= 8 ? Node244width + Node244fontSize * 0.2 + 6 : Node244width - Node244fontSize * 0.2;
- Node244lineStart = (Node244width - (ht.Default.getTextSize('4.48', ' '+ Node244fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node244align === 'center') {
- Node244textStart = -3;
- Node244textWidth = Node244width;
- Node244lineStart = Node244width - ht.Default.getTextSize('4.48', ' '+ Node244fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node244.setImage(GD.getTextJSON(Node244width, Node244height, true, false, false, ' '+ Node244fontSize + 'px "UniDreamLED"'))
- Node244.setPosition(1652*ratio.ratioX, 462*ratio.ratioY);
- Node244.setWidth(Node244width);
- Node244.setHeight(Node244height);
- Node244._nodeType = 'text';
- Node244._disallowEvert = true;
- Node244.setRotation(0*Math.PI/180);
- Node244.a('node.width', Node244width);
- Node244.a('node.height', Node244height);
- Node244.a('node.rect', [0, 0, Node244width, Node244height]);
- Node244.a('node.bordercolor','rgba(0,0,0,1)');
- Node244.a('node.borderwidth', 0);
- Node244.a('node.background','' || 'rgba(0,0,0,0)');
- Node244.a('node.gradient','');
- Node244.a('node.gradientcolor','');
- Node244.a('node.text','4.48');
- Node244.a('node.textalign','left');
- Node244.a('node.textvAlign','middle');
- Node244.a('node.textrect', [Node244textStart, 0, Node244textWidth, Node244height]);
- Node244.a('node.color','rgba(0,0,0,1)');
- Node244.a('node.font',' '+ Node244fontSize + 'px "UniDreamLED"');
- Node244.a('node.textvisible',true);
- Node244.a('node.linefeed',false);
- if (false) {
- Node244.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node244.a('node.text') || '4.48';
- var color=Node244.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node244width,Node244height,11.99997*_ratio.ratioY,"left",color,' '+ Node244fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node244.a('node.underlinepoints',[Node244lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node244fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node244fontSize + 'px "UniDreamLED"').width + 6, (Node244height - Node244fontSize) * 0.5*_ratio.ratioY + Node244fontSize + 2 ]);
- Node244.a('node.underlinevisible',false);
- Node244.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node244);
- zoomNodeList.push({
- node: Node244,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node245 = new ht.Node();
- var Node245textStart, Node245textWidth, Node245lineStart, Node245align = 'left', Node245fontSize = 11.99997*_ratio.ratioY,Node245width = 40*_ratio.ratioX, Node245height = 21*_ratio.ratioY;
- (function () {
- if (Node245align === 'left') {
- Node245textStart = Node245fontSize * 0.2 > 2 ? Node245fontSize * 0.2 - 4 : Node245fontSize * 0.2 - 9;
- Node245textWidth = Node245width;
- Node245lineStart = 1;
- } else if (Node245align === 'right') {
- Node245textStart = 0;
- Node245textWidth =Node245fontSize <= 8 ? Node245width + Node245fontSize * 0.2 + 6 : Node245width - Node245fontSize * 0.2;
- Node245lineStart = (Node245width - (ht.Default.getTextSize('m/s', ' '+ Node245fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node245align === 'center') {
- Node245textStart = -3;
- Node245textWidth = Node245width;
- Node245lineStart = Node245width - ht.Default.getTextSize('m/s', ' '+ Node245fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node245.setImage(GD.getTextJSON(Node245width, Node245height, true, false, false, ' '+ Node245fontSize + 'px "Arial"'))
- Node245.setPosition(1652*ratio.ratioX, 483*ratio.ratioY);
- Node245.setWidth(Node245width);
- Node245.setHeight(Node245height);
- Node245._nodeType = 'text';
- Node245._disallowEvert = true;
- Node245.setRotation(0*Math.PI/180);
- Node245.a('node.width', Node245width);
- Node245.a('node.height', Node245height);
- Node245.a('node.rect', [0, 0, Node245width, Node245height]);
- Node245.a('node.bordercolor','rgba(0,0,0,1)');
- Node245.a('node.borderwidth', 0);
- Node245.a('node.background','' || 'rgba(0,0,0,0)');
- Node245.a('node.gradient','');
- Node245.a('node.gradientcolor','');
- Node245.a('node.text','m/s');
- Node245.a('node.textalign','left');
- Node245.a('node.textvAlign','middle');
- Node245.a('node.textrect', [Node245textStart, 0, Node245textWidth, Node245height]);
- Node245.a('node.color','rgba(0,0,0,1)');
- Node245.a('node.font',' '+ Node245fontSize + 'px "Arial"');
- Node245.a('node.textvisible',true);
- Node245.a('node.linefeed',false);
- if (false) {
- Node245.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node245.a('node.text') || 'm/s';
- var color=Node245.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node245width,Node245height,11.99997*_ratio.ratioY,"left",color,' '+ Node245fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node245.a('node.underlinepoints',[Node245lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node245fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node245fontSize + 'px "Arial"').width + 6, (Node245height - Node245fontSize) * 0.5*_ratio.ratioY + Node245fontSize + 2 ]);
- Node245.a('node.underlinevisible',false);
- Node245.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node245);
- zoomNodeList.push({
- node: Node245,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node246 = new ht.Node();
- var Node246textStart, Node246textWidth, Node246lineStart, Node246align = 'left', Node246fontSize = 11.99997*_ratio.ratioY,Node246width = 40*_ratio.ratioX, Node246height = 21*_ratio.ratioY;
- (function () {
- if (Node246align === 'left') {
- Node246textStart = Node246fontSize * 0.2 > 2 ? Node246fontSize * 0.2 - 4 : Node246fontSize * 0.2 - 9;
- Node246textWidth = Node246width;
- Node246lineStart = 1;
- } else if (Node246align === 'right') {
- Node246textStart = 0;
- Node246textWidth =Node246fontSize <= 8 ? Node246width + Node246fontSize * 0.2 + 6 : Node246width - Node246fontSize * 0.2;
- Node246lineStart = (Node246width - (ht.Default.getTextSize('功率', 'bold '+ Node246fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node246align === 'center') {
- Node246textStart = -3;
- Node246textWidth = Node246width;
- Node246lineStart = Node246width - ht.Default.getTextSize('功率', 'bold '+ Node246fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node246.setImage(GD.getTextJSON(Node246width, Node246height, true, false, false, 'bold '+ Node246fontSize + 'px "Arial"'))
- Node246.setPosition(1712*ratio.ratioX, 450*ratio.ratioY);
- Node246.setWidth(Node246width);
- Node246.setHeight(Node246height);
- Node246._nodeType = 'text';
- Node246._disallowEvert = true;
- Node246.setRotation(0*Math.PI/180);
- Node246.a('node.width', Node246width);
- Node246.a('node.height', Node246height);
- Node246.a('node.rect', [0, 0, Node246width, Node246height]);
- Node246.a('node.bordercolor','rgba(64,64,64,1)');
- Node246.a('node.borderwidth', 0);
- Node246.a('node.background','' || 'rgba(0,0,0,0)');
- Node246.a('node.gradient','');
- Node246.a('node.gradientcolor','');
- Node246.a('node.text','功率');
- Node246.a('node.textalign','left');
- Node246.a('node.textvAlign','middle');
- Node246.a('node.textrect', [Node246textStart, 0, Node246textWidth, Node246height]);
- Node246.a('node.color','rgba(64,64,64,1)');
- Node246.a('node.font','bold '+ Node246fontSize + 'px "Arial"');
- Node246.a('node.textvisible',true);
- Node246.a('node.linefeed',false);
- if (false) {
- Node246.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node246.a('node.text') || '功率';
- var color=Node246.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node246width,Node246height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node246fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node246.a('node.underlinepoints',[Node246lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node246fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node246fontSize + 'px "Arial"').width + 6, (Node246height - Node246fontSize) * 0.5*_ratio.ratioY + Node246fontSize + 2 ]);
- Node246.a('node.underlinevisible',false);
- Node246.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node246);
- zoomNodeList.push({
- node: Node246,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node247 = new ht.Node();
- var Node247textStart, Node247textWidth, Node247lineStart, Node247align = 'left', Node247fontSize = 11.99997*_ratio.ratioY,Node247width = 44*_ratio.ratioX, Node247height = 21*_ratio.ratioY;
- (function () {
- if (Node247align === 'left') {
- Node247textStart = Node247fontSize * 0.2 > 2 ? Node247fontSize * 0.2 - 4 : Node247fontSize * 0.2 - 9;
- Node247textWidth = Node247width;
- Node247lineStart = 1;
- } else if (Node247align === 'right') {
- Node247textStart = 0;
- Node247textWidth =Node247fontSize <= 8 ? Node247width + Node247fontSize * 0.2 + 6 : Node247width - Node247fontSize * 0.2;
- Node247lineStart = (Node247width - (ht.Default.getTextSize('发电量', 'bold '+ Node247fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node247align === 'center') {
- Node247textStart = -3;
- Node247textWidth = Node247width;
- Node247lineStart = Node247width - ht.Default.getTextSize('发电量', 'bold '+ Node247fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, 'bold '+ Node247fontSize + 'px "Arial"'))
- Node247.setPosition(1714*ratio.ratioX, 484*ratio.ratioY);
- Node247.setWidth(Node247width);
- Node247.setHeight(Node247height);
- Node247._nodeType = 'text';
- Node247._disallowEvert = true;
- Node247.setRotation(0*Math.PI/180);
- Node247.a('node.width', Node247width);
- Node247.a('node.height', Node247height);
- Node247.a('node.rect', [0, 0, Node247width, Node247height]);
- Node247.a('node.bordercolor','rgba(64,64,64,1)');
- Node247.a('node.borderwidth', 0);
- Node247.a('node.background','' || 'rgba(0,0,0,0)');
- Node247.a('node.gradient','');
- Node247.a('node.gradientcolor','');
- Node247.a('node.text','发电量');
- Node247.a('node.textalign','left');
- Node247.a('node.textvAlign','middle');
- Node247.a('node.textrect', [Node247textStart, 0, Node247textWidth, Node247height]);
- Node247.a('node.color','rgba(64,64,64,1)');
- Node247.a('node.font','bold '+ Node247fontSize + 'px "Arial"');
- Node247.a('node.textvisible',true);
- Node247.a('node.linefeed',false);
- if (false) {
- Node247.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node247.a('node.text') || '发电量';
- var color=Node247.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node247width,Node247height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node247fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node247.a('node.underlinepoints',[Node247lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node247fontSize + 'px "Arial"').width + 6, (Node247height - Node247fontSize) * 0.5*_ratio.ratioY + Node247fontSize + 2 ]);
- Node247.a('node.underlinevisible',false);
- Node247.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node247);
- zoomNodeList.push({
- node: Node247,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node248 = new ht.Node();
- var Node248textStart, Node248textWidth, Node248lineStart, Node248align = 'left', Node248fontSize = 13.3333*_ratio.ratioY,Node248width = 29*_ratio.ratioX, Node248height = 25*_ratio.ratioY;
- (function () {
- if (Node248align === 'left') {
- Node248textStart = Node248fontSize * 0.2 > 2 ? Node248fontSize * 0.2 - 4 : Node248fontSize * 0.2 - 9;
- Node248textWidth = Node248width;
- Node248lineStart = 1;
- } else if (Node248align === 'right') {
- Node248textStart = 0;
- Node248textWidth =Node248fontSize <= 8 ? Node248width + Node248fontSize * 0.2 + 6 : Node248width - Node248fontSize * 0.2;
- Node248lineStart = (Node248width - (ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node248align === 'center') {
- Node248textStart = -3;
- Node248textWidth = Node248width;
- Node248lineStart = Node248width - ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "Arial"'))
- Node248.setPosition(1862*ratio.ratioX, 419*ratio.ratioY);
- Node248.setWidth(Node248width);
- Node248.setHeight(Node248height);
- Node248._nodeType = 'text';
- Node248._disallowEvert = true;
- Node248.setRotation(0*Math.PI/180);
- Node248.a('node.width', Node248width);
- Node248.a('node.height', Node248height);
- Node248.a('node.rect', [0, 0, Node248width, Node248height]);
- Node248.a('node.bordercolor','rgba(64,64,64,1)');
- Node248.a('node.borderwidth', 0);
- Node248.a('node.background','' || 'rgba(0,0,0,0)');
- Node248.a('node.gradient','');
- Node248.a('node.gradientcolor','');
- Node248.a('node.text','台');
- Node248.a('node.textalign','left');
- Node248.a('node.textvAlign','middle');
- Node248.a('node.textrect', [Node248textStart, 0, Node248textWidth, Node248height]);
- Node248.a('node.color','rgba(64,64,64,1)');
- Node248.a('node.font',' '+ Node248fontSize + 'px "Arial"');
- Node248.a('node.textvisible',true);
- Node248.a('node.linefeed',false);
- if (false) {
- Node248.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node248.a('node.text') || '台';
- var color=Node248.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node248width,Node248height,13.3333*_ratio.ratioY,"left",color,' '+ Node248fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node248.a('node.underlinepoints',[Node248lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "Arial"').width + 6, (Node248height - Node248fontSize) * 0.5*_ratio.ratioY + Node248fontSize + 2 ]);
- Node248.a('node.underlinevisible',false);
- Node248.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node248);
- zoomNodeList.push({
- node: Node248,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node249 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1783*ratio.ratioX, 450*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node250 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1783*ratio.ratioX, 450*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node251 = new ht.Node();
- var Node251textStart, Node251textWidth, Node251lineStart, Node251align = 'left', Node251fontSize = 13.3333*_ratio.ratioY,Node251width = 29*_ratio.ratioX, Node251height = 25*_ratio.ratioY;
- (function () {
- if (Node251align === 'left') {
- Node251textStart = Node251fontSize * 0.2 > 2 ? Node251fontSize * 0.2 - 4 : Node251fontSize * 0.2 - 9;
- Node251textWidth = Node251width;
- Node251lineStart = 1;
- } else if (Node251align === 'right') {
- Node251textStart = 0;
- Node251textWidth =Node251fontSize <= 8 ? Node251width + Node251fontSize * 0.2 + 6 : Node251width - Node251fontSize * 0.2;
- Node251lineStart = (Node251width - (ht.Default.getTextSize('MW', ' '+ Node251fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node251align === 'center') {
- Node251textStart = -3;
- Node251textWidth = Node251width;
- Node251lineStart = Node251width - ht.Default.getTextSize('MW', ' '+ Node251fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node251.setImage(GD.getTextJSON(Node251width, Node251height, true, false, false, ' '+ Node251fontSize + 'px "Arial"'))
- Node251.setPosition(1854*ratio.ratioX, 449*ratio.ratioY);
- Node251.setWidth(Node251width);
- Node251.setHeight(Node251height);
- Node251._nodeType = 'text';
- Node251._disallowEvert = true;
- Node251.setRotation(0*Math.PI/180);
- Node251.a('node.width', Node251width);
- Node251.a('node.height', Node251height);
- Node251.a('node.rect', [0, 0, Node251width, Node251height]);
- Node251.a('node.bordercolor','rgba(64,64,64,1)');
- Node251.a('node.borderwidth', 0);
- Node251.a('node.background','' || 'rgba(0,0,0,0)');
- Node251.a('node.gradient','');
- Node251.a('node.gradientcolor','');
- Node251.a('node.text','MW');
- Node251.a('node.textalign','left');
- Node251.a('node.textvAlign','middle');
- Node251.a('node.textrect', [Node251textStart, 0, Node251textWidth, Node251height]);
- Node251.a('node.color','rgba(64,64,64,1)');
- Node251.a('node.font',' '+ Node251fontSize + 'px "Arial"');
- Node251.a('node.textvisible',true);
- Node251.a('node.linefeed',false);
- if (false) {
- Node251.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node251.a('node.text') || 'MW';
- var color=Node251.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node251width,Node251height,13.3333*_ratio.ratioY,"left",color,' '+ Node251fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node251.a('node.underlinepoints',[Node251lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node251fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node251fontSize + 'px "Arial"').width + 6, (Node251height - Node251fontSize) * 0.5*_ratio.ratioY + Node251fontSize + 2 ]);
- Node251.a('node.underlinevisible',false);
- Node251.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node251);
- zoomNodeList.push({
- node: Node251,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node252 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1784*ratio.ratioX, 484*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node253 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1784*ratio.ratioX, 484*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node254 = new ht.Node();
- var Node254textStart, Node254textWidth, Node254lineStart, Node254align = 'left', Node254fontSize = 13.3333*_ratio.ratioY,Node254width = 43*_ratio.ratioX, Node254height = 25*_ratio.ratioY;
- (function () {
- if (Node254align === 'left') {
- Node254textStart = Node254fontSize * 0.2 > 2 ? Node254fontSize * 0.2 - 4 : Node254fontSize * 0.2 - 9;
- Node254textWidth = Node254width;
- Node254lineStart = 1;
- } else if (Node254align === 'right') {
- Node254textStart = 0;
- Node254textWidth =Node254fontSize <= 8 ? Node254width + Node254fontSize * 0.2 + 6 : Node254width - Node254fontSize * 0.2;
- Node254lineStart = (Node254width - (ht.Default.getTextSize('万kwh', ' '+ Node254fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node254align === 'center') {
- Node254textStart = -3;
- Node254textWidth = Node254width;
- Node254lineStart = Node254width - ht.Default.getTextSize('万kwh', ' '+ Node254fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node254.setImage(GD.getTextJSON(Node254width, Node254height, true, false, false, ' '+ Node254fontSize + 'px "Arial"'))
- Node254.setPosition(1862*ratio.ratioX, 484*ratio.ratioY);
- Node254.setWidth(Node254width);
- Node254.setHeight(Node254height);
- Node254._nodeType = 'text';
- Node254._disallowEvert = true;
- Node254.setRotation(0*Math.PI/180);
- Node254.a('node.width', Node254width);
- Node254.a('node.height', Node254height);
- Node254.a('node.rect', [0, 0, Node254width, Node254height]);
- Node254.a('node.bordercolor','rgba(64,64,64,1)');
- Node254.a('node.borderwidth', 0);
- Node254.a('node.background','' || 'rgba(0,0,0,0)');
- Node254.a('node.gradient','');
- Node254.a('node.gradientcolor','');
- Node254.a('node.text','万kwh');
- Node254.a('node.textalign','left');
- Node254.a('node.textvAlign','middle');
- Node254.a('node.textrect', [Node254textStart, 0, Node254textWidth, Node254height]);
- Node254.a('node.color','rgba(64,64,64,1)');
- Node254.a('node.font',' '+ Node254fontSize + 'px "Arial"');
- Node254.a('node.textvisible',true);
- Node254.a('node.linefeed',false);
- if (false) {
- Node254.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node254.a('node.text') || '万kwh';
- var color=Node254.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node254width,Node254height,13.3333*_ratio.ratioY,"left",color,' '+ Node254fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node254.a('node.underlinepoints',[Node254lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node254fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node254fontSize + 'px "Arial"').width + 6, (Node254height - Node254fontSize) * 0.5*_ratio.ratioY + Node254fontSize + 2 ]);
- Node254.a('node.underlinevisible',false);
- Node254.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node254);
- zoomNodeList.push({
- node: Node254,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node255type = 'rect';
- var Node255 = new ht.Node(),
- Node255BorderWidth = 1*2;
- if (Node255type === 'arc') {
- Node255BorderWidth *= 1;
- }
- Node255.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node255type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node255.setPosition(1702*ratio.ratioX, 552*ratio.ratioY);
- Node255.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node255.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node255.a('node.width', 373*_ratio.ratioX);
- Node255.a('node.height', 93*_ratio.ratioY);
- Node255.a('node.type', Node255type);
- Node255.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node255.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node255.a('node.gradientcolor', '');
- Node255.a('node.gradient', '');
- Node255.a('node.borderwidth', Node255BorderWidth);
- Node255.a('node.color', 'rgba(192,192,192,1)');
- Node255.a('node.fillrect', [0,0,0,0]);
- Node255.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node255.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node255.a('node.fillgradient', '');
- if (Node255type !== 'rect') {
- Node255.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node255.a('node.arcTo', parseFloat('@arcTo@'));
- Node255.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node255type === 'arc') {
- Node255.a('node.arcOval', true);
- }
- Node255.setRotation(0*Math.PI/180);
- Node255.borderWidth = Node255BorderWidth;
- Node255.borderFillwidth = Node255BorderWidth;
- dataModel.add(Node255);
- Node255._nodename = 'Node255'
- Node255._nodeType = 'rect';
- zoomNodeList.push({
- node: Node255,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node255, Node255.getImage());var Node256points=[1516, 537,1889, 537],
- Node256rect=ht.Default.unionPoint([{x:1516,y:537},{x:1889,y:537}]),
- Node256compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node256points.length;i++){
- if(i%2==0){
- Node256compspts.push(Node256points[i]-Node256rect.x);
- }else{
- Node256compspts.push(Node256points[i]-Node256rect.y);
- }
- }
- var Node256ptslength=Node256compspts.length;
- if (Node256rect.height === 0) {
- Node256compspts[0] -= 0;
- Node256compspts[Node256ptslength-2] += 0;
- } else if (Node256rect.width === 0){
- Node256compspts[1] -= 0;
- Node256compspts[Node256ptslength-1] += 0;
- } else {
- Node256compspts[0] -= 0;
- Node256compspts[1] -= 0;
- Node256compspts[Node256ptslength-2] += 0;
- Node256compspts[Node256ptslength-1] += 0;
- }
- Node256 = new ht.Node();
- Node256.borderWidth = 1;
- Node256rect.width = Node256rect.width === 0 ? 0.0001 : Node256rect.width;
- Node256rect.height = Node256rect.height === 0 ? 0.0001 : Node256rect.height;
- var Node256endCompspts = [Node256compspts[Node256ptslength-2],Node256compspts[Node256ptslength-1],0,0];
- var Node256startCompspts = [Node256compspts[0],Node256compspts[1],0,0];
- Node256.setImage(GD.getPolyLineJSON());
- Node256.setPosition(Node256rect.x+Node256rect.width/2,Node256rect.y+Node256rect.height/2);
- Node256.setSize(Node256rect.width,Node256rect.height);
- Node256.setStyle("opacity",1);
- Node256.s({'pixelPerfect':true});
- Node256borderwidth=1;
- Node256.setRotation(0);
- dataModel.add(Node256);
- Node256.a('node.points',Node256compspts);
- Node256.a('node.segments',[1,2]);
- Node256.a('node.color','rgba(192,192,192,1)');
- Node256.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node256.a('node.borderColor','rgba(192,192,192,1)');
- Node256.a('node.background','rgba(192,192,192,1)');
- Node256.a('node.gradient','');
- Node256.a('node.gradientcolor','rgba(192,192,192,1)');
- Node256.a('node.endCompspts',Node256endCompspts);
- Node256.a('node.startCompspts',Node256startCompspts);
- (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 = 'Node256';
- 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);
- }
- })(Node256, Node256.getImage(), Node256compspts, Node256endCompspts, Node256startCompspts);
- var Node257points=[1516, 568,1889, 568],
- Node257rect=ht.Default.unionPoint([{x:1516,y:568},{x:1889,y:568}]),
- Node257compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node257points.length;i++){
- if(i%2==0){
- Node257compspts.push(Node257points[i]-Node257rect.x);
- }else{
- Node257compspts.push(Node257points[i]-Node257rect.y);
- }
- }
- var Node257ptslength=Node257compspts.length;
- if (Node257rect.height === 0) {
- Node257compspts[0] -= 0;
- Node257compspts[Node257ptslength-2] += 0;
- } else if (Node257rect.width === 0){
- Node257compspts[1] -= 0;
- Node257compspts[Node257ptslength-1] += 0;
- } else {
- Node257compspts[0] -= 0;
- Node257compspts[1] -= 0;
- Node257compspts[Node257ptslength-2] += 0;
- Node257compspts[Node257ptslength-1] += 0;
- }
- Node257 = new ht.Node();
- Node257.borderWidth = 1;
- Node257rect.width = Node257rect.width === 0 ? 0.0001 : Node257rect.width;
- Node257rect.height = Node257rect.height === 0 ? 0.0001 : Node257rect.height;
- var Node257endCompspts = [Node257compspts[Node257ptslength-2],Node257compspts[Node257ptslength-1],0,0];
- var Node257startCompspts = [Node257compspts[0],Node257compspts[1],0,0];
- Node257.setImage(GD.getPolyLineJSON());
- Node257.setPosition(Node257rect.x+Node257rect.width/2,Node257rect.y+Node257rect.height/2);
- Node257.setSize(Node257rect.width,Node257rect.height);
- Node257.setStyle("opacity",1);
- Node257.s({'pixelPerfect':true});
- Node257borderwidth=1;
- Node257.setRotation(0);
- dataModel.add(Node257);
- Node257.a('node.points',Node257compspts);
- Node257.a('node.segments',[1,2]);
- Node257.a('node.color','rgba(192,192,192,1)');
- Node257.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node257.a('node.borderColor','rgba(192,192,192,1)');
- Node257.a('node.background','rgba(192,192,192,1)');
- Node257.a('node.gradient','');
- Node257.a('node.gradientcolor','rgba(192,192,192,1)');
- Node257.a('node.endCompspts',Node257endCompspts);
- Node257.a('node.startCompspts',Node257startCompspts);
- (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 = 'Node257';
- 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);
- }
- })(Node257, Node257.getImage(), Node257compspts, Node257endCompspts, Node257startCompspts);
- var Node258points=[1583, 507,1583, 598],
- Node258rect=ht.Default.unionPoint([{x:1583,y:507},{x:1583,y:598}]),
- Node258compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node258points.length;i++){
- if(i%2==0){
- Node258compspts.push(Node258points[i]-Node258rect.x);
- }else{
- Node258compspts.push(Node258points[i]-Node258rect.y);
- }
- }
- var Node258ptslength=Node258compspts.length;
- if (Node258rect.height === 0) {
- Node258compspts[0] -= 0;
- Node258compspts[Node258ptslength-2] += 0;
- } else if (Node258rect.width === 0){
- Node258compspts[1] -= 0;
- Node258compspts[Node258ptslength-1] += 0;
- } else {
- Node258compspts[0] -= 0;
- Node258compspts[1] -= 0;
- Node258compspts[Node258ptslength-2] += 0;
- Node258compspts[Node258ptslength-1] += 0;
- }
- Node258 = new ht.Node();
- Node258.borderWidth = 1;
- Node258rect.width = Node258rect.width === 0 ? 0.0001 : Node258rect.width;
- Node258rect.height = Node258rect.height === 0 ? 0.0001 : Node258rect.height;
- var Node258endCompspts = [Node258compspts[Node258ptslength-2],Node258compspts[Node258ptslength-1],0,0];
- var Node258startCompspts = [Node258compspts[0],Node258compspts[1],0,0];
- Node258.setImage(GD.getPolyLineJSON());
- Node258.setPosition(Node258rect.x+Node258rect.width/2,Node258rect.y+Node258rect.height/2);
- Node258.setSize(Node258rect.width,Node258rect.height);
- Node258.setStyle("opacity",1);
- Node258.s({'pixelPerfect':true});
- Node258borderwidth=1;
- Node258.setRotation(0);
- dataModel.add(Node258);
- Node258.a('node.points',Node258compspts);
- Node258.a('node.segments',[1,2]);
- Node258.a('node.color','rgba(192,192,192,1)');
- Node258.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node258.a('node.borderColor','rgba(192,192,192,1)');
- Node258.a('node.background','rgba(192,192,192,1)');
- Node258.a('node.gradient','');
- Node258.a('node.gradientcolor','rgba(192,192,192,1)');
- Node258.a('node.endCompspts',Node258endCompspts);
- Node258.a('node.startCompspts',Node258startCompspts);
- (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 = 'Node258';
- 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);
- }
- })(Node258, Node258.getImage(), Node258compspts, Node258endCompspts, Node258startCompspts);
- var Node259points=[1669, 506,1669, 598],
- Node259rect=ht.Default.unionPoint([{x:1669,y:506},{x:1669,y:598}]),
- Node259compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node259points.length;i++){
- if(i%2==0){
- Node259compspts.push(Node259points[i]-Node259rect.x);
- }else{
- Node259compspts.push(Node259points[i]-Node259rect.y);
- }
- }
- var Node259ptslength=Node259compspts.length;
- if (Node259rect.height === 0) {
- Node259compspts[0] -= 0;
- Node259compspts[Node259ptslength-2] += 0;
- } else if (Node259rect.width === 0){
- Node259compspts[1] -= 0;
- Node259compspts[Node259ptslength-1] += 0;
- } else {
- Node259compspts[0] -= 0;
- Node259compspts[1] -= 0;
- Node259compspts[Node259ptslength-2] += 0;
- Node259compspts[Node259ptslength-1] += 0;
- }
- Node259 = new ht.Node();
- Node259.borderWidth = 1;
- Node259rect.width = Node259rect.width === 0 ? 0.0001 : Node259rect.width;
- Node259rect.height = Node259rect.height === 0 ? 0.0001 : Node259rect.height;
- var Node259endCompspts = [Node259compspts[Node259ptslength-2],Node259compspts[Node259ptslength-1],0,0];
- var Node259startCompspts = [Node259compspts[0],Node259compspts[1],0,0];
- Node259.setImage(GD.getPolyLineJSON());
- Node259.setPosition(Node259rect.x+Node259rect.width/2,Node259rect.y+Node259rect.height/2);
- Node259.setSize(Node259rect.width,Node259rect.height);
- Node259.setStyle("opacity",1);
- Node259.s({'pixelPerfect':true});
- Node259borderwidth=1;
- Node259.setRotation(0);
- dataModel.add(Node259);
- Node259.a('node.points',Node259compspts);
- Node259.a('node.segments',[1,2]);
- Node259.a('node.color','rgba(192,192,192,1)');
- Node259.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node259.a('node.borderColor','rgba(192,192,192,1)');
- Node259.a('node.background','rgba(192,192,192,1)');
- Node259.a('node.gradient','');
- Node259.a('node.gradientcolor','rgba(192,192,192,1)');
- Node259.a('node.endCompspts',Node259endCompspts);
- Node259.a('node.startCompspts',Node259startCompspts);
- (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 = 'Node259';
- 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);
- }
- })(Node259, Node259.getImage(), Node259compspts, Node259endCompspts, Node259startCompspts);
- var Node260points=[1704, 507,1704, 598],
- Node260rect=ht.Default.unionPoint([{x:1704,y:507},{x:1704,y:598}]),
- Node260compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node260points.length;i++){
- if(i%2==0){
- Node260compspts.push(Node260points[i]-Node260rect.x);
- }else{
- Node260compspts.push(Node260points[i]-Node260rect.y);
- }
- }
- var Node260ptslength=Node260compspts.length;
- if (Node260rect.height === 0) {
- Node260compspts[0] -= 0;
- Node260compspts[Node260ptslength-2] += 0;
- } else if (Node260rect.width === 0){
- Node260compspts[1] -= 0;
- Node260compspts[Node260ptslength-1] += 0;
- } else {
- Node260compspts[0] -= 0;
- Node260compspts[1] -= 0;
- Node260compspts[Node260ptslength-2] += 0;
- Node260compspts[Node260ptslength-1] += 0;
- }
- Node260 = new ht.Node();
- Node260.borderWidth = 1;
- Node260rect.width = Node260rect.width === 0 ? 0.0001 : Node260rect.width;
- Node260rect.height = Node260rect.height === 0 ? 0.0001 : Node260rect.height;
- var Node260endCompspts = [Node260compspts[Node260ptslength-2],Node260compspts[Node260ptslength-1],0,0];
- var Node260startCompspts = [Node260compspts[0],Node260compspts[1],0,0];
- Node260.setImage(GD.getPolyLineJSON());
- Node260.setPosition(Node260rect.x+Node260rect.width/2,Node260rect.y+Node260rect.height/2);
- Node260.setSize(Node260rect.width,Node260rect.height);
- Node260.setStyle("opacity",1);
- Node260.s({'pixelPerfect':true});
- Node260borderwidth=1;
- Node260.setRotation(0);
- dataModel.add(Node260);
- Node260.a('node.points',Node260compspts);
- Node260.a('node.segments',[1,2]);
- Node260.a('node.color','rgba(192,192,192,1)');
- Node260.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node260.a('node.borderColor','rgba(192,192,192,1)');
- Node260.a('node.background','rgba(192,192,192,1)');
- Node260.a('node.gradient','');
- Node260.a('node.gradientcolor','rgba(192,192,192,1)');
- Node260.a('node.endCompspts',Node260endCompspts);
- Node260.a('node.startCompspts',Node260startCompspts);
- (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 = 'Node260';
- 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);
- }
- })(Node260, Node260.getImage(), Node260compspts, Node260endCompspts, Node260startCompspts);
- var Node261points=[1772, 507,1772, 599],
- Node261rect=ht.Default.unionPoint([{x:1772,y:507},{x:1772,y:599}]),
- Node261compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node261points.length;i++){
- if(i%2==0){
- Node261compspts.push(Node261points[i]-Node261rect.x);
- }else{
- Node261compspts.push(Node261points[i]-Node261rect.y);
- }
- }
- var Node261ptslength=Node261compspts.length;
- if (Node261rect.height === 0) {
- Node261compspts[0] -= 0;
- Node261compspts[Node261ptslength-2] += 0;
- } else if (Node261rect.width === 0){
- Node261compspts[1] -= 0;
- Node261compspts[Node261ptslength-1] += 0;
- } else {
- Node261compspts[0] -= 0;
- Node261compspts[1] -= 0;
- Node261compspts[Node261ptslength-2] += 0;
- Node261compspts[Node261ptslength-1] += 0;
- }
- Node261 = new ht.Node();
- Node261.borderWidth = 1;
- Node261rect.width = Node261rect.width === 0 ? 0.0001 : Node261rect.width;
- Node261rect.height = Node261rect.height === 0 ? 0.0001 : Node261rect.height;
- var Node261endCompspts = [Node261compspts[Node261ptslength-2],Node261compspts[Node261ptslength-1],0,0];
- var Node261startCompspts = [Node261compspts[0],Node261compspts[1],0,0];
- Node261.setImage(GD.getPolyLineJSON());
- Node261.setPosition(Node261rect.x+Node261rect.width/2,Node261rect.y+Node261rect.height/2);
- Node261.setSize(Node261rect.width,Node261rect.height);
- Node261.setStyle("opacity",1);
- Node261.s({'pixelPerfect':true});
- Node261borderwidth=1;
- Node261.setRotation(0);
- dataModel.add(Node261);
- Node261.a('node.points',Node261compspts);
- Node261.a('node.segments',[1,2]);
- Node261.a('node.color','rgba(192,192,192,1)');
- Node261.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node261.a('node.borderColor','rgba(192,192,192,1)');
- Node261.a('node.background','rgba(192,192,192,1)');
- Node261.a('node.gradient','');
- Node261.a('node.gradientcolor','rgba(192,192,192,1)');
- Node261.a('node.endCompspts',Node261endCompspts);
- Node261.a('node.startCompspts',Node261startCompspts);
- (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 = 'Node261';
- 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);
- }
- })(Node261, Node261.getImage(), Node261compspts, Node261endCompspts, Node261startCompspts);
- var Node262points=[1843, 507,1843, 598],
- Node262rect=ht.Default.unionPoint([{x:1843,y:507},{x:1843,y:598}]),
- Node262compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node262points.length;i++){
- if(i%2==0){
- Node262compspts.push(Node262points[i]-Node262rect.x);
- }else{
- Node262compspts.push(Node262points[i]-Node262rect.y);
- }
- }
- var Node262ptslength=Node262compspts.length;
- if (Node262rect.height === 0) {
- Node262compspts[0] -= 0;
- Node262compspts[Node262ptslength-2] += 0;
- } else if (Node262rect.width === 0){
- Node262compspts[1] -= 0;
- Node262compspts[Node262ptslength-1] += 0;
- } else {
- Node262compspts[0] -= 0;
- Node262compspts[1] -= 0;
- Node262compspts[Node262ptslength-2] += 0;
- Node262compspts[Node262ptslength-1] += 0;
- }
- Node262 = new ht.Node();
- Node262.borderWidth = 1;
- Node262rect.width = Node262rect.width === 0 ? 0.0001 : Node262rect.width;
- Node262rect.height = Node262rect.height === 0 ? 0.0001 : Node262rect.height;
- var Node262endCompspts = [Node262compspts[Node262ptslength-2],Node262compspts[Node262ptslength-1],0,0];
- var Node262startCompspts = [Node262compspts[0],Node262compspts[1],0,0];
- Node262.setImage(GD.getPolyLineJSON());
- Node262.setPosition(Node262rect.x+Node262rect.width/2,Node262rect.y+Node262rect.height/2);
- Node262.setSize(Node262rect.width,Node262rect.height);
- Node262.setStyle("opacity",1);
- Node262.s({'pixelPerfect':true});
- Node262borderwidth=1;
- Node262.setRotation(0);
- dataModel.add(Node262);
- Node262.a('node.points',Node262compspts);
- Node262.a('node.segments',[1,2]);
- Node262.a('node.color','rgba(192,192,192,1)');
- Node262.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node262.a('node.borderColor','rgba(192,192,192,1)');
- Node262.a('node.background','rgba(192,192,192,1)');
- Node262.a('node.gradient','');
- Node262.a('node.gradientcolor','rgba(192,192,192,1)');
- Node262.a('node.endCompspts',Node262endCompspts);
- Node262.a('node.startCompspts',Node262startCompspts);
- (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 = 'Node262';
- 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);
- }
- })(Node262, Node262.getImage(), Node262compspts, Node262endCompspts, Node262startCompspts);
- var Node263points=[1517, 431,1889, 431],
- Node263rect=ht.Default.unionPoint([{x:1517,y:431},{x:1889,y:431}]),
- Node263compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node263points.length;i++){
- if(i%2==0){
- Node263compspts.push(Node263points[i]-Node263rect.x);
- }else{
- Node263compspts.push(Node263points[i]-Node263rect.y);
- }
- }
- var Node263ptslength=Node263compspts.length;
- if (Node263rect.height === 0) {
- Node263compspts[0] -= 0;
- Node263compspts[Node263ptslength-2] += 0;
- } else if (Node263rect.width === 0){
- Node263compspts[1] -= 0;
- Node263compspts[Node263ptslength-1] += 0;
- } else {
- Node263compspts[0] -= 0;
- Node263compspts[1] -= 0;
- Node263compspts[Node263ptslength-2] += 0;
- Node263compspts[Node263ptslength-1] += 0;
- }
- Node263 = new ht.Node();
- Node263.borderWidth = 1;
- Node263rect.width = Node263rect.width === 0 ? 0.0001 : Node263rect.width;
- Node263rect.height = Node263rect.height === 0 ? 0.0001 : Node263rect.height;
- var Node263endCompspts = [Node263compspts[Node263ptslength-2],Node263compspts[Node263ptslength-1],0,0];
- var Node263startCompspts = [Node263compspts[0],Node263compspts[1],0,0];
- Node263.setImage(GD.getPolyLineJSON());
- Node263.setPosition(Node263rect.x+Node263rect.width/2,Node263rect.y+Node263rect.height/2);
- Node263.setSize(Node263rect.width,Node263rect.height);
- Node263.setStyle("opacity",1);
- Node263.s({'pixelPerfect':true});
- Node263borderwidth=1;
- Node263.setRotation(0);
- dataModel.add(Node263);
- Node263.a('node.points',Node263compspts);
- Node263.a('node.segments',[1,2]);
- Node263.a('node.color','rgba(192,192,192,1)');
- Node263.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node263.a('node.borderColor','rgba(192,192,192,1)');
- Node263.a('node.background','rgba(192,192,192,1)');
- Node263.a('node.gradient','');
- Node263.a('node.gradientcolor','rgba(192,192,192,1)');
- Node263.a('node.endCompspts',Node263endCompspts);
- Node263.a('node.startCompspts',Node263startCompspts);
- (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 = 'Node263';
- 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);
- }
- })(Node263, Node263.getImage(), Node263compspts, Node263endCompspts, Node263startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node264 = new ht.Node();
- var Node264textStart, Node264textWidth, Node264lineStart, Node264align = 'left', Node264fontSize = 13.3333*_ratio.ratioY,Node264width = 39*_ratio.ratioX, Node264height = 16*_ratio.ratioY;
- (function () {
- if (Node264align === 'left') {
- Node264textStart = Node264fontSize * 0.2 > 2 ? Node264fontSize * 0.2 - 4 : Node264fontSize * 0.2 - 9;
- Node264textWidth = Node264width;
- Node264lineStart = 1;
- } else if (Node264align === 'right') {
- Node264textStart = 0;
- Node264textWidth =Node264fontSize <= 8 ? Node264width + Node264fontSize * 0.2 + 6 : Node264width - Node264fontSize * 0.2;
- Node264lineStart = (Node264width - (ht.Default.getTextSize('并网', ' '+ Node264fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node264align === 'center') {
- Node264textStart = -3;
- Node264textWidth = Node264width;
- Node264lineStart = Node264width - ht.Default.getTextSize('并网', ' '+ Node264fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node264.setImage(GD.getTextJSON(Node264width, Node264height, true, false, false, ' '+ Node264fontSize + 'px "Arial"'))
- Node264.setPosition(1548*ratio.ratioX, 523*ratio.ratioY);
- Node264.setWidth(Node264width);
- Node264.setHeight(Node264height);
- Node264._nodeType = 'text';
- Node264._disallowEvert = true;
- Node264.setRotation(0*Math.PI/180);
- Node264.a('node.width', Node264width);
- Node264.a('node.height', Node264height);
- Node264.a('node.rect', [0, 0, Node264width, Node264height]);
- Node264.a('node.bordercolor','rgba(128,128,255,1)');
- Node264.a('node.borderwidth', 0);
- Node264.a('node.background','' || 'rgba(0,0,0,0)');
- Node264.a('node.gradient','');
- Node264.a('node.gradientcolor','');
- Node264.a('node.text','并网');
- Node264.a('node.textalign','left');
- Node264.a('node.textvAlign','middle');
- Node264.a('node.textrect', [Node264textStart, 0, Node264textWidth, Node264height]);
- Node264.a('node.color','rgba(128,128,255,1)');
- Node264.a('node.font',' '+ Node264fontSize + 'px "Arial"');
- Node264.a('node.textvisible',true);
- Node264.a('node.linefeed',false);
- if (false) {
- Node264.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node264.a('node.text') || '并网';
- var color=Node264.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264width,Node264height,13.3333*_ratio.ratioY,"left",color,' '+ Node264fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node264.a('node.underlinepoints',[Node264lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node264fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node264fontSize + 'px "Arial"').width + 6, (Node264height - Node264fontSize) * 0.5*_ratio.ratioY + Node264fontSize + 2 ]);
- Node264.a('node.underlinevisible',false);
- Node264.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node264);
- zoomNodeList.push({
- node: Node264,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node265 = new ht.Node();
- var Node265textStart, Node265textWidth, Node265lineStart, Node265align = 'left', Node265fontSize = 13.3333*_ratio.ratioY,Node265width = 39*_ratio.ratioX, Node265height = 16*_ratio.ratioY;
- (function () {
- if (Node265align === 'left') {
- Node265textStart = Node265fontSize * 0.2 > 2 ? Node265fontSize * 0.2 - 4 : Node265fontSize * 0.2 - 9;
- Node265textWidth = Node265width;
- Node265lineStart = 1;
- } else if (Node265align === 'right') {
- Node265textStart = 0;
- Node265textWidth =Node265fontSize <= 8 ? Node265width + Node265fontSize * 0.2 + 6 : Node265width - Node265fontSize * 0.2;
- Node265lineStart = (Node265width - (ht.Default.getTextSize('维护', ' '+ Node265fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node265align === 'center') {
- Node265textStart = -3;
- Node265textWidth = Node265width;
- Node265lineStart = Node265width - ht.Default.getTextSize('维护', ' '+ Node265fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, ' '+ Node265fontSize + 'px "Arial"'))
- Node265.setPosition(1549*ratio.ratioX, 553*ratio.ratioY);
- Node265.setWidth(Node265width);
- Node265.setHeight(Node265height);
- Node265._nodeType = 'text';
- Node265._disallowEvert = true;
- Node265.setRotation(0*Math.PI/180);
- Node265.a('node.width', Node265width);
- Node265.a('node.height', Node265height);
- Node265.a('node.rect', [0, 0, Node265width, Node265height]);
- Node265.a('node.bordercolor','rgba(192,64,0,1)');
- Node265.a('node.borderwidth', 0);
- Node265.a('node.background','' || 'rgba(0,0,0,0)');
- Node265.a('node.gradient','');
- Node265.a('node.gradientcolor','');
- Node265.a('node.text','维护');
- Node265.a('node.textalign','left');
- Node265.a('node.textvAlign','middle');
- Node265.a('node.textrect', [Node265textStart, 0, Node265textWidth, Node265height]);
- Node265.a('node.color','rgba(192,64,0,1)');
- Node265.a('node.font',' '+ Node265fontSize + 'px "Arial"');
- Node265.a('node.textvisible',true);
- Node265.a('node.linefeed',false);
- if (false) {
- Node265.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node265.a('node.text') || '维护';
- var color=Node265.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265width,Node265height,13.3333*_ratio.ratioY,"left",color,' '+ Node265fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node265.a('node.underlinepoints',[Node265lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node265fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node265fontSize + 'px "Arial"').width + 6, (Node265height - Node265fontSize) * 0.5*_ratio.ratioY + Node265fontSize + 2 ]);
- Node265.a('node.underlinevisible',false);
- Node265.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node265);
- zoomNodeList.push({
- node: Node265,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266 = new ht.Node();
- var Node266textStart, Node266textWidth, Node266lineStart, Node266align = 'left', Node266fontSize = 13.3333*_ratio.ratioY,Node266width = 39*_ratio.ratioX, Node266height = 16*_ratio.ratioY;
- (function () {
- if (Node266align === 'left') {
- Node266textStart = Node266fontSize * 0.2 > 2 ? Node266fontSize * 0.2 - 4 : Node266fontSize * 0.2 - 9;
- Node266textWidth = Node266width;
- Node266lineStart = 1;
- } else if (Node266align === 'right') {
- Node266textStart = 0;
- Node266textWidth =Node266fontSize <= 8 ? Node266width + Node266fontSize * 0.2 + 6 : Node266width - Node266fontSize * 0.2;
- Node266lineStart = (Node266width - (ht.Default.getTextSize('限电', ' '+ Node266fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node266align === 'center') {
- Node266textStart = -3;
- Node266textWidth = Node266width;
- Node266lineStart = Node266width - ht.Default.getTextSize('限电', ' '+ Node266fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node266.setImage(GD.getTextJSON(Node266width, Node266height, true, false, false, ' '+ Node266fontSize + 'px "Arial"'))
- Node266.setPosition(1549*ratio.ratioX, 583*ratio.ratioY);
- Node266.setWidth(Node266width);
- Node266.setHeight(Node266height);
- Node266._nodeType = 'text';
- Node266._disallowEvert = true;
- Node266.setRotation(0*Math.PI/180);
- Node266.a('node.width', Node266width);
- Node266.a('node.height', Node266height);
- Node266.a('node.rect', [0, 0, Node266width, Node266height]);
- Node266.a('node.bordercolor','rgba(128,0,128,1)');
- Node266.a('node.borderwidth', 0);
- Node266.a('node.background','' || 'rgba(0,0,0,0)');
- Node266.a('node.gradient','');
- Node266.a('node.gradientcolor','');
- Node266.a('node.text','限电');
- Node266.a('node.textalign','left');
- Node266.a('node.textvAlign','middle');
- Node266.a('node.textrect', [Node266textStart, 0, Node266textWidth, Node266height]);
- Node266.a('node.color','rgba(128,0,128,1)');
- Node266.a('node.font',' '+ Node266fontSize + 'px "Arial"');
- Node266.a('node.textvisible',true);
- Node266.a('node.linefeed',false);
- if (false) {
- Node266.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266.a('node.text') || '限电';
- var color=Node266.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266width,Node266height,13.3333*_ratio.ratioY,"left",color,' '+ Node266fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node266.a('node.underlinepoints',[Node266lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node266fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node266fontSize + 'px "Arial"').width + 6, (Node266height - Node266fontSize) * 0.5*_ratio.ratioY + Node266fontSize + 2 ]);
- Node266.a('node.underlinevisible',false);
- Node266.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266);
- zoomNodeList.push({
- node: Node266,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267 = new ht.Node();
- var Node267textStart, Node267textWidth, Node267lineStart, Node267align = 'left', Node267fontSize = 13.3333*_ratio.ratioY,Node267width = 39*_ratio.ratioX, Node267height = 16*_ratio.ratioY;
- (function () {
- if (Node267align === 'left') {
- Node267textStart = Node267fontSize * 0.2 > 2 ? Node267fontSize * 0.2 - 4 : Node267fontSize * 0.2 - 9;
- Node267textWidth = Node267width;
- Node267lineStart = 1;
- } else if (Node267align === 'right') {
- Node267textStart = 0;
- Node267textWidth =Node267fontSize <= 8 ? Node267width + Node267fontSize * 0.2 + 6 : Node267width - Node267fontSize * 0.2;
- Node267lineStart = (Node267width - (ht.Default.getTextSize('待机', ' '+ Node267fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node267align === 'center') {
- Node267textStart = -3;
- Node267textWidth = Node267width;
- Node267lineStart = Node267width - ht.Default.getTextSize('待机', ' '+ Node267fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node267.setImage(GD.getTextJSON(Node267width, Node267height, true, false, false, ' '+ Node267fontSize + 'px "Arial"'))
- Node267.setPosition(1738*ratio.ratioX, 523*ratio.ratioY);
- Node267.setWidth(Node267width);
- Node267.setHeight(Node267height);
- Node267._nodeType = 'text';
- Node267._disallowEvert = true;
- Node267.setRotation(0*Math.PI/180);
- Node267.a('node.width', Node267width);
- Node267.a('node.height', Node267height);
- Node267.a('node.rect', [0, 0, Node267width, Node267height]);
- Node267.a('node.bordercolor','rgba(0,128,0,1)');
- Node267.a('node.borderwidth', 0);
- Node267.a('node.background','' || 'rgba(0,0,0,0)');
- Node267.a('node.gradient','');
- Node267.a('node.gradientcolor','');
- Node267.a('node.text','待机');
- Node267.a('node.textalign','left');
- Node267.a('node.textvAlign','middle');
- Node267.a('node.textrect', [Node267textStart, 0, Node267textWidth, Node267height]);
- Node267.a('node.color','rgba(0,128,0,1)');
- Node267.a('node.font',' '+ Node267fontSize + 'px "Arial"');
- Node267.a('node.textvisible',true);
- Node267.a('node.linefeed',false);
- if (false) {
- Node267.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node267.a('node.text') || '待机';
- var color=Node267.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267width,Node267height,13.3333*_ratio.ratioY,"left",color,' '+ Node267fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node267.a('node.underlinepoints',[Node267lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node267fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node267fontSize + 'px "Arial"').width + 6, (Node267height - Node267fontSize) * 0.5*_ratio.ratioY + Node267fontSize + 2 ]);
- Node267.a('node.underlinevisible',false);
- Node267.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node267);
- zoomNodeList.push({
- node: Node267,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node268 = new ht.Node();
- var Node268textStart, Node268textWidth, Node268lineStart, Node268align = 'left', Node268fontSize = 13.3333*_ratio.ratioY,Node268width = 39*_ratio.ratioX, Node268height = 16*_ratio.ratioY;
- (function () {
- if (Node268align === 'left') {
- Node268textStart = Node268fontSize * 0.2 > 2 ? Node268fontSize * 0.2 - 4 : Node268fontSize * 0.2 - 9;
- Node268textWidth = Node268width;
- Node268lineStart = 1;
- } else if (Node268align === 'right') {
- Node268textStart = 0;
- Node268textWidth =Node268fontSize <= 8 ? Node268width + Node268fontSize * 0.2 + 6 : Node268width - Node268fontSize * 0.2;
- Node268lineStart = (Node268width - (ht.Default.getTextSize('故障', ' '+ Node268fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node268align === 'center') {
- Node268textStart = -3;
- Node268textWidth = Node268width;
- Node268lineStart = Node268width - ht.Default.getTextSize('故障', ' '+ Node268fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node268.setImage(GD.getTextJSON(Node268width, Node268height, true, false, false, ' '+ Node268fontSize + 'px "Arial"'))
- Node268.setPosition(1739*ratio.ratioX, 553*ratio.ratioY);
- Node268.setWidth(Node268width);
- Node268.setHeight(Node268height);
- Node268._nodeType = 'text';
- Node268._disallowEvert = true;
- Node268.setRotation(0*Math.PI/180);
- Node268.a('node.width', Node268width);
- Node268.a('node.height', Node268height);
- Node268.a('node.rect', [0, 0, Node268width, Node268height]);
- Node268.a('node.bordercolor','rgba(192,0,0,1)');
- Node268.a('node.borderwidth', 0);
- Node268.a('node.background','' || 'rgba(0,0,0,0)');
- Node268.a('node.gradient','');
- Node268.a('node.gradientcolor','');
- Node268.a('node.text','故障');
- Node268.a('node.textalign','left');
- Node268.a('node.textvAlign','middle');
- Node268.a('node.textrect', [Node268textStart, 0, Node268textWidth, Node268height]);
- Node268.a('node.color','rgba(192,0,0,1)');
- Node268.a('node.font',' '+ Node268fontSize + 'px "Arial"');
- Node268.a('node.textvisible',true);
- Node268.a('node.linefeed',false);
- if (false) {
- Node268.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node268.a('node.text') || '故障';
- var color=Node268.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268width,Node268height,13.3333*_ratio.ratioY,"left",color,' '+ Node268fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node268.a('node.underlinepoints',[Node268lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node268fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node268fontSize + 'px "Arial"').width + 6, (Node268height - Node268fontSize) * 0.5*_ratio.ratioY + Node268fontSize + 2 ]);
- Node268.a('node.underlinevisible',false);
- Node268.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node268);
- zoomNodeList.push({
- node: Node268,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269 = new ht.Node();
- var Node269textStart, Node269textWidth, Node269lineStart, Node269align = 'left', Node269fontSize = 13.3333*_ratio.ratioY,Node269width = 39*_ratio.ratioX, Node269height = 16*_ratio.ratioY;
- (function () {
- if (Node269align === 'left') {
- Node269textStart = Node269fontSize * 0.2 > 2 ? Node269fontSize * 0.2 - 4 : Node269fontSize * 0.2 - 9;
- Node269textWidth = Node269width;
- Node269lineStart = 1;
- } else if (Node269align === 'right') {
- Node269textStart = 0;
- Node269textWidth =Node269fontSize <= 8 ? Node269width + Node269fontSize * 0.2 + 6 : Node269width - Node269fontSize * 0.2;
- Node269lineStart = (Node269width - (ht.Default.getTextSize('离线', ' '+ Node269fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node269align === 'center') {
- Node269textStart = -3;
- Node269textWidth = Node269width;
- Node269lineStart = Node269width - ht.Default.getTextSize('离线', ' '+ Node269fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node269.setImage(GD.getTextJSON(Node269width, Node269height, true, false, false, ' '+ Node269fontSize + 'px "Arial"'))
- Node269.setPosition(1739*ratio.ratioX, 583*ratio.ratioY);
- Node269.setWidth(Node269width);
- Node269.setHeight(Node269height);
- Node269._nodeType = 'text';
- Node269._disallowEvert = true;
- Node269.setRotation(0*Math.PI/180);
- Node269.a('node.width', Node269width);
- Node269.a('node.height', Node269height);
- Node269.a('node.rect', [0, 0, Node269width, Node269height]);
- Node269.a('node.bordercolor','rgba(128,128,128,1)');
- Node269.a('node.borderwidth', 0);
- Node269.a('node.background','' || 'rgba(0,0,0,0)');
- Node269.a('node.gradient','');
- Node269.a('node.gradientcolor','');
- Node269.a('node.text','离线');
- Node269.a('node.textalign','left');
- Node269.a('node.textvAlign','middle');
- Node269.a('node.textrect', [Node269textStart, 0, Node269textWidth, Node269height]);
- Node269.a('node.color','rgba(128,128,128,1)');
- Node269.a('node.font',' '+ Node269fontSize + 'px "Arial"');
- Node269.a('node.textvisible',true);
- Node269.a('node.linefeed',false);
- if (false) {
- Node269.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node269.a('node.text') || '离线';
- var color=Node269.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269width,Node269height,13.3333*_ratio.ratioY,"left",color,' '+ Node269fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node269.a('node.underlinepoints',[Node269lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node269fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node269fontSize + 'px "Arial"').width + 6, (Node269height - Node269fontSize) * 0.5*_ratio.ratioY + Node269fontSize + 2 ]);
- Node269.a('node.underlinevisible',false);
- Node269.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node269);
- zoomNodeList.push({
- node: Node269,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node270 = new ht.Node();
- var Node270textStart, Node270textWidth, Node270lineStart, Node270align = 'left', Node270fontSize = 13.3333*_ratio.ratioY,Node270width = 29*_ratio.ratioX, Node270height = 25*_ratio.ratioY;
- (function () {
- if (Node270align === 'left') {
- Node270textStart = Node270fontSize * 0.2 > 2 ? Node270fontSize * 0.2 - 4 : Node270fontSize * 0.2 - 9;
- Node270textWidth = Node270width;
- Node270lineStart = 1;
- } else if (Node270align === 'right') {
- Node270textStart = 0;
- Node270textWidth =Node270fontSize <= 8 ? Node270width + Node270fontSize * 0.2 + 6 : Node270width - Node270fontSize * 0.2;
- Node270lineStart = (Node270width - (ht.Default.getTextSize('台', ' '+ Node270fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node270align === 'center') {
- Node270textStart = -3;
- Node270textWidth = Node270width;
- Node270lineStart = Node270width - ht.Default.getTextSize('台', ' '+ Node270fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node270.setImage(GD.getTextJSON(Node270width, Node270height, true, false, false, ' '+ Node270fontSize + 'px "UniDreamLED"'))
- Node270.setPosition(1690*ratio.ratioX, 523*ratio.ratioY);
- Node270.setWidth(Node270width);
- Node270.setHeight(Node270height);
- Node270._nodeType = 'text';
- Node270._disallowEvert = true;
- Node270.setRotation(0*Math.PI/180);
- Node270.a('node.width', Node270width);
- Node270.a('node.height', Node270height);
- Node270.a('node.rect', [0, 0, Node270width, Node270height]);
- Node270.a('node.bordercolor','rgba(64,64,64,1)');
- Node270.a('node.borderwidth', 0);
- Node270.a('node.background','' || 'rgba(0,0,0,0)');
- Node270.a('node.gradient','');
- Node270.a('node.gradientcolor','');
- Node270.a('node.text','台');
- Node270.a('node.textalign','left');
- Node270.a('node.textvAlign','middle');
- Node270.a('node.textrect', [Node270textStart, 0, Node270textWidth, Node270height]);
- Node270.a('node.color','rgba(64,64,64,1)');
- Node270.a('node.font',' '+ Node270fontSize + 'px "UniDreamLED"');
- Node270.a('node.textvisible',true);
- Node270.a('node.linefeed',false);
- if (false) {
- Node270.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node270.a('node.text') || '台';
- var color=Node270.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node270width,Node270height,13.3333*_ratio.ratioY,"left",color,' '+ Node270fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node270.a('node.underlinepoints',[Node270lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node270fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node270fontSize + 'px "UniDreamLED"').width + 6, (Node270height - Node270fontSize) * 0.5*_ratio.ratioY + Node270fontSize + 2 ]);
- Node270.a('node.underlinevisible',false);
- Node270.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node270);
- zoomNodeList.push({
- node: Node270,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node271 = new ht.Node();
- var Node271textStart, Node271textWidth, Node271lineStart, Node271align = 'left', Node271fontSize = 13.3333*_ratio.ratioY,Node271width = 29*_ratio.ratioX, Node271height = 25*_ratio.ratioY;
- (function () {
- if (Node271align === 'left') {
- Node271textStart = Node271fontSize * 0.2 > 2 ? Node271fontSize * 0.2 - 4 : Node271fontSize * 0.2 - 9;
- Node271textWidth = Node271width;
- Node271lineStart = 1;
- } else if (Node271align === 'right') {
- Node271textStart = 0;
- Node271textWidth =Node271fontSize <= 8 ? Node271width + Node271fontSize * 0.2 + 6 : Node271width - Node271fontSize * 0.2;
- Node271lineStart = (Node271width - (ht.Default.getTextSize('台', ' '+ Node271fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node271align === 'center') {
- Node271textStart = -3;
- Node271textWidth = Node271width;
- Node271lineStart = Node271width - ht.Default.getTextSize('台', ' '+ Node271fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node271.setImage(GD.getTextJSON(Node271width, Node271height, true, false, false, ' '+ Node271fontSize + 'px "UniDreamLED"'))
- Node271.setPosition(1690*ratio.ratioX, 554*ratio.ratioY);
- Node271.setWidth(Node271width);
- Node271.setHeight(Node271height);
- Node271._nodeType = 'text';
- Node271._disallowEvert = true;
- Node271.setRotation(0*Math.PI/180);
- Node271.a('node.width', Node271width);
- Node271.a('node.height', Node271height);
- Node271.a('node.rect', [0, 0, Node271width, Node271height]);
- Node271.a('node.bordercolor','rgba(64,64,64,1)');
- Node271.a('node.borderwidth', 0);
- Node271.a('node.background','' || 'rgba(0,0,0,0)');
- Node271.a('node.gradient','');
- Node271.a('node.gradientcolor','');
- Node271.a('node.text','台');
- Node271.a('node.textalign','left');
- Node271.a('node.textvAlign','middle');
- Node271.a('node.textrect', [Node271textStart, 0, Node271textWidth, Node271height]);
- Node271.a('node.color','rgba(64,64,64,1)');
- Node271.a('node.font',' '+ Node271fontSize + 'px "UniDreamLED"');
- Node271.a('node.textvisible',true);
- Node271.a('node.linefeed',false);
- if (false) {
- Node271.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node271.a('node.text') || '台';
- var color=Node271.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271width,Node271height,13.3333*_ratio.ratioY,"left",color,' '+ Node271fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node271.a('node.underlinepoints',[Node271lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node271fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node271fontSize + 'px "UniDreamLED"').width + 6, (Node271height - Node271fontSize) * 0.5*_ratio.ratioY + Node271fontSize + 2 ]);
- Node271.a('node.underlinevisible',false);
- Node271.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node271);
- zoomNodeList.push({
- node: Node271,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node272 = new ht.Node();
- var Node272textStart, Node272textWidth, Node272lineStart, Node272align = 'left', Node272fontSize = 13.3333*_ratio.ratioY,Node272width = 29*_ratio.ratioX, Node272height = 25*_ratio.ratioY;
- (function () {
- if (Node272align === 'left') {
- Node272textStart = Node272fontSize * 0.2 > 2 ? Node272fontSize * 0.2 - 4 : Node272fontSize * 0.2 - 9;
- Node272textWidth = Node272width;
- Node272lineStart = 1;
- } else if (Node272align === 'right') {
- Node272textStart = 0;
- Node272textWidth =Node272fontSize <= 8 ? Node272width + Node272fontSize * 0.2 + 6 : Node272width - Node272fontSize * 0.2;
- Node272lineStart = (Node272width - (ht.Default.getTextSize('台', ' '+ Node272fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node272align === 'center') {
- Node272textStart = -3;
- Node272textWidth = Node272width;
- Node272lineStart = Node272width - ht.Default.getTextSize('台', ' '+ Node272fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node272.setImage(GD.getTextJSON(Node272width, Node272height, true, false, false, ' '+ Node272fontSize + 'px "UniDreamLED"'))
- Node272.setPosition(1691*ratio.ratioX, 583*ratio.ratioY);
- Node272.setWidth(Node272width);
- Node272.setHeight(Node272height);
- Node272._nodeType = 'text';
- Node272._disallowEvert = true;
- Node272.setRotation(0*Math.PI/180);
- Node272.a('node.width', Node272width);
- Node272.a('node.height', Node272height);
- Node272.a('node.rect', [0, 0, Node272width, Node272height]);
- Node272.a('node.bordercolor','rgba(64,64,64,1)');
- Node272.a('node.borderwidth', 0);
- Node272.a('node.background','' || 'rgba(0,0,0,0)');
- Node272.a('node.gradient','');
- Node272.a('node.gradientcolor','');
- Node272.a('node.text','台');
- Node272.a('node.textalign','left');
- Node272.a('node.textvAlign','middle');
- Node272.a('node.textrect', [Node272textStart, 0, Node272textWidth, Node272height]);
- Node272.a('node.color','rgba(64,64,64,1)');
- Node272.a('node.font',' '+ Node272fontSize + 'px "UniDreamLED"');
- Node272.a('node.textvisible',true);
- Node272.a('node.linefeed',false);
- if (false) {
- Node272.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node272.a('node.text') || '台';
- var color=Node272.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node272width,Node272height,13.3333*_ratio.ratioY,"left",color,' '+ Node272fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node272.a('node.underlinepoints',[Node272lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node272fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node272fontSize + 'px "UniDreamLED"').width + 6, (Node272height - Node272fontSize) * 0.5*_ratio.ratioY + Node272fontSize + 2 ]);
- Node272.a('node.underlinevisible',false);
- Node272.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node272);
- zoomNodeList.push({
- node: Node272,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273 = new ht.Node();
- var Node273textStart, Node273textWidth, Node273lineStart, Node273align = 'left', Node273fontSize = 13.3333*_ratio.ratioY,Node273width = 29*_ratio.ratioX, Node273height = 25*_ratio.ratioY;
- (function () {
- if (Node273align === 'left') {
- Node273textStart = Node273fontSize * 0.2 > 2 ? Node273fontSize * 0.2 - 4 : Node273fontSize * 0.2 - 9;
- Node273textWidth = Node273width;
- Node273lineStart = 1;
- } else if (Node273align === 'right') {
- Node273textStart = 0;
- Node273textWidth =Node273fontSize <= 8 ? Node273width + Node273fontSize * 0.2 + 6 : Node273width - Node273fontSize * 0.2;
- Node273lineStart = (Node273width - (ht.Default.getTextSize('83', ' '+ Node273fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node273align === 'center') {
- Node273textStart = -3;
- Node273textWidth = Node273width;
- Node273lineStart = Node273width - ht.Default.getTextSize('83', ' '+ Node273fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node273.setImage(GD.getTextJSON(Node273width, Node273height, true, false, false, ' '+ Node273fontSize + 'px "UniDreamLED"'))
- Node273.setPosition(1635*ratio.ratioX, 523*ratio.ratioY);
- Node273.setWidth(Node273width);
- Node273.setHeight(Node273height);
- Node273._nodeType = 'text';
- Node273._disallowEvert = true;
- Node273.setRotation(0*Math.PI/180);
- Node273.a('node.width', Node273width);
- Node273.a('node.height', Node273height);
- Node273.a('node.rect', [0, 0, Node273width, Node273height]);
- Node273.a('node.bordercolor','rgba(64,64,64,1)');
- Node273.a('node.borderwidth', 0);
- Node273.a('node.background','' || 'rgba(0,0,0,0)');
- Node273.a('node.gradient','');
- Node273.a('node.gradientcolor','');
- Node273.a('node.text','83');
- Node273.a('node.textalign','left');
- Node273.a('node.textvAlign','middle');
- Node273.a('node.textrect', [Node273textStart, 0, Node273textWidth, Node273height]);
- Node273.a('node.color','rgba(64,64,64,1)');
- Node273.a('node.font',' '+ Node273fontSize + 'px "UniDreamLED"');
- Node273.a('node.textvisible',true);
- Node273.a('node.linefeed',false);
- if (false) {
- Node273.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273.a('node.text') || '83';
- var color=Node273.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node273width,Node273height,13.3333*_ratio.ratioY,"left",color,' '+ Node273fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node273.a('node.underlinepoints',[Node273lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node273fontSize + 2 , ht.Default.getTextSize('83', ' '+ Node273fontSize + 'px "UniDreamLED"').width + 6, (Node273height - Node273fontSize) * 0.5*_ratio.ratioY + Node273fontSize + 2 ]);
- Node273.a('node.underlinevisible',false);
- Node273.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273);
- zoomNodeList.push({
- node: Node273,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274 = new ht.Node();
- var Node274textStart, Node274textWidth, Node274lineStart, Node274align = 'left', Node274fontSize = 13.3333*_ratio.ratioY,Node274width = 29*_ratio.ratioX, Node274height = 25*_ratio.ratioY;
- (function () {
- if (Node274align === 'left') {
- Node274textStart = Node274fontSize * 0.2 > 2 ? Node274fontSize * 0.2 - 4 : Node274fontSize * 0.2 - 9;
- Node274textWidth = Node274width;
- Node274lineStart = 1;
- } else if (Node274align === 'right') {
- Node274textStart = 0;
- Node274textWidth =Node274fontSize <= 8 ? Node274width + Node274fontSize * 0.2 + 6 : Node274width - Node274fontSize * 0.2;
- Node274lineStart = (Node274width - (ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node274align === 'center') {
- Node274textStart = -3;
- Node274textWidth = Node274width;
- Node274lineStart = Node274width - ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node274.setImage(GD.getTextJSON(Node274width, Node274height, true, false, false, ' '+ Node274fontSize + 'px "UniDreamLED"'))
- Node274.setPosition(1635*ratio.ratioX, 552*ratio.ratioY);
- Node274.setWidth(Node274width);
- Node274.setHeight(Node274height);
- Node274._nodeType = 'text';
- Node274._disallowEvert = true;
- Node274.setRotation(0*Math.PI/180);
- Node274.a('node.width', Node274width);
- Node274.a('node.height', Node274height);
- Node274.a('node.rect', [0, 0, Node274width, Node274height]);
- Node274.a('node.bordercolor','rgba(64,64,64,1)');
- Node274.a('node.borderwidth', 0);
- Node274.a('node.background','' || 'rgba(0,0,0,0)');
- Node274.a('node.gradient','');
- Node274.a('node.gradientcolor','');
- Node274.a('node.text','0');
- Node274.a('node.textalign','left');
- Node274.a('node.textvAlign','middle');
- Node274.a('node.textrect', [Node274textStart, 0, Node274textWidth, Node274height]);
- Node274.a('node.color','rgba(64,64,64,1)');
- Node274.a('node.font',' '+ Node274fontSize + 'px "UniDreamLED"');
- Node274.a('node.textvisible',true);
- Node274.a('node.linefeed',false);
- if (false) {
- Node274.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274.a('node.text') || '0';
- var color=Node274.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node274width,Node274height,13.3333*_ratio.ratioY,"left",color,' '+ Node274fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node274.a('node.underlinepoints',[Node274lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node274fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node274fontSize + 'px "UniDreamLED"').width + 6, (Node274height - Node274fontSize) * 0.5*_ratio.ratioY + Node274fontSize + 2 ]);
- Node274.a('node.underlinevisible',false);
- Node274.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274);
- zoomNodeList.push({
- node: Node274,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275 = new ht.Node();
- var Node275textStart, Node275textWidth, Node275lineStart, Node275align = 'left', Node275fontSize = 13.3333*_ratio.ratioY,Node275width = 29*_ratio.ratioX, Node275height = 25*_ratio.ratioY;
- (function () {
- if (Node275align === 'left') {
- Node275textStart = Node275fontSize * 0.2 > 2 ? Node275fontSize * 0.2 - 4 : Node275fontSize * 0.2 - 9;
- Node275textWidth = Node275width;
- Node275lineStart = 1;
- } else if (Node275align === 'right') {
- Node275textStart = 0;
- Node275textWidth =Node275fontSize <= 8 ? Node275width + Node275fontSize * 0.2 + 6 : Node275width - Node275fontSize * 0.2;
- Node275lineStart = (Node275width - (ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node275align === 'center') {
- Node275textStart = -3;
- Node275textWidth = Node275width;
- Node275lineStart = Node275width - ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node275.setImage(GD.getTextJSON(Node275width, Node275height, true, false, false, ' '+ Node275fontSize + 'px "UniDreamLED"'))
- Node275.setPosition(1635*ratio.ratioX, 583*ratio.ratioY);
- Node275.setWidth(Node275width);
- Node275.setHeight(Node275height);
- Node275._nodeType = 'text';
- Node275._disallowEvert = true;
- Node275.setRotation(0*Math.PI/180);
- Node275.a('node.width', Node275width);
- Node275.a('node.height', Node275height);
- Node275.a('node.rect', [0, 0, Node275width, Node275height]);
- Node275.a('node.bordercolor','rgba(64,64,64,1)');
- Node275.a('node.borderwidth', 0);
- Node275.a('node.background','' || 'rgba(0,0,0,0)');
- Node275.a('node.gradient','');
- Node275.a('node.gradientcolor','');
- Node275.a('node.text','0');
- Node275.a('node.textalign','left');
- Node275.a('node.textvAlign','middle');
- Node275.a('node.textrect', [Node275textStart, 0, Node275textWidth, Node275height]);
- Node275.a('node.color','rgba(64,64,64,1)');
- Node275.a('node.font',' '+ Node275fontSize + 'px "UniDreamLED"');
- Node275.a('node.textvisible',true);
- Node275.a('node.linefeed',false);
- if (false) {
- Node275.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275.a('node.text') || '0';
- var color=Node275.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node275width,Node275height,13.3333*_ratio.ratioY,"left",color,' '+ Node275fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node275.a('node.underlinepoints',[Node275lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node275fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node275fontSize + 'px "UniDreamLED"').width + 6, (Node275height - Node275fontSize) * 0.5*_ratio.ratioY + Node275fontSize + 2 ]);
- Node275.a('node.underlinevisible',false);
- Node275.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275);
- zoomNodeList.push({
- node: Node275,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276 = new ht.Node();
- var Node276textStart, Node276textWidth, Node276lineStart, Node276align = 'left', Node276fontSize = 13.3333*_ratio.ratioY,Node276width = 29*_ratio.ratioX, Node276height = 25*_ratio.ratioY;
- (function () {
- if (Node276align === 'left') {
- Node276textStart = Node276fontSize * 0.2 > 2 ? Node276fontSize * 0.2 - 4 : Node276fontSize * 0.2 - 9;
- Node276textWidth = Node276width;
- Node276lineStart = 1;
- } else if (Node276align === 'right') {
- Node276textStart = 0;
- Node276textWidth =Node276fontSize <= 8 ? Node276width + Node276fontSize * 0.2 + 6 : Node276width - Node276fontSize * 0.2;
- Node276lineStart = (Node276width - (ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node276align === 'center') {
- Node276textStart = -3;
- Node276textWidth = Node276width;
- Node276lineStart = Node276width - ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node276.setImage(GD.getTextJSON(Node276width, Node276height, true, false, false, ' '+ Node276fontSize + 'px "UniDreamLED"'))
- Node276.setPosition(1812*ratio.ratioX, 523*ratio.ratioY);
- Node276.setWidth(Node276width);
- Node276.setHeight(Node276height);
- Node276._nodeType = 'text';
- Node276._disallowEvert = true;
- Node276.setRotation(0*Math.PI/180);
- Node276.a('node.width', Node276width);
- Node276.a('node.height', Node276height);
- Node276.a('node.rect', [0, 0, Node276width, Node276height]);
- Node276.a('node.bordercolor','rgba(64,64,64,1)');
- Node276.a('node.borderwidth', 0);
- Node276.a('node.background','' || 'rgba(0,0,0,0)');
- Node276.a('node.gradient','');
- Node276.a('node.gradientcolor','');
- Node276.a('node.text','0');
- Node276.a('node.textalign','left');
- Node276.a('node.textvAlign','middle');
- Node276.a('node.textrect', [Node276textStart, 0, Node276textWidth, Node276height]);
- Node276.a('node.color','rgba(64,64,64,1)');
- Node276.a('node.font',' '+ Node276fontSize + 'px "UniDreamLED"');
- Node276.a('node.textvisible',true);
- Node276.a('node.linefeed',false);
- if (false) {
- Node276.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276.a('node.text') || '0';
- var color=Node276.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node276width,Node276height,13.3333*_ratio.ratioY,"left",color,' '+ Node276fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node276.a('node.underlinepoints',[Node276lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node276fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node276fontSize + 'px "UniDreamLED"').width + 6, (Node276height - Node276fontSize) * 0.5*_ratio.ratioY + Node276fontSize + 2 ]);
- Node276.a('node.underlinevisible',false);
- Node276.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276);
- zoomNodeList.push({
- node: Node276,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277 = new ht.Node();
- var Node277textStart, Node277textWidth, Node277lineStart, Node277align = 'left', Node277fontSize = 13.3333*_ratio.ratioY,Node277width = 29*_ratio.ratioX, Node277height = 25*_ratio.ratioY;
- (function () {
- if (Node277align === 'left') {
- Node277textStart = Node277fontSize * 0.2 > 2 ? Node277fontSize * 0.2 - 4 : Node277fontSize * 0.2 - 9;
- Node277textWidth = Node277width;
- Node277lineStart = 1;
- } else if (Node277align === 'right') {
- Node277textStart = 0;
- Node277textWidth =Node277fontSize <= 8 ? Node277width + Node277fontSize * 0.2 + 6 : Node277width - Node277fontSize * 0.2;
- Node277lineStart = (Node277width - (ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node277align === 'center') {
- Node277textStart = -3;
- Node277textWidth = Node277width;
- Node277lineStart = Node277width - ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node277.setImage(GD.getTextJSON(Node277width, Node277height, true, false, false, ' '+ Node277fontSize + 'px "UniDreamLED"'))
- Node277.setPosition(1812*ratio.ratioX, 552*ratio.ratioY);
- Node277.setWidth(Node277width);
- Node277.setHeight(Node277height);
- Node277._nodeType = 'text';
- Node277._disallowEvert = true;
- Node277.setRotation(0*Math.PI/180);
- Node277.a('node.width', Node277width);
- Node277.a('node.height', Node277height);
- Node277.a('node.rect', [0, 0, Node277width, Node277height]);
- Node277.a('node.bordercolor','rgba(64,64,64,1)');
- Node277.a('node.borderwidth', 0);
- Node277.a('node.background','' || 'rgba(0,0,0,0)');
- Node277.a('node.gradient','');
- Node277.a('node.gradientcolor','');
- Node277.a('node.text','0');
- Node277.a('node.textalign','left');
- Node277.a('node.textvAlign','middle');
- Node277.a('node.textrect', [Node277textStart, 0, Node277textWidth, Node277height]);
- Node277.a('node.color','rgba(64,64,64,1)');
- Node277.a('node.font',' '+ Node277fontSize + 'px "UniDreamLED"');
- Node277.a('node.textvisible',true);
- Node277.a('node.linefeed',false);
- if (false) {
- Node277.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277.a('node.text') || '0';
- var color=Node277.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node277width,Node277height,13.3333*_ratio.ratioY,"left",color,' '+ Node277fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node277.a('node.underlinepoints',[Node277lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node277fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node277fontSize + 'px "UniDreamLED"').width + 6, (Node277height - Node277fontSize) * 0.5*_ratio.ratioY + Node277fontSize + 2 ]);
- Node277.a('node.underlinevisible',false);
- Node277.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277);
- zoomNodeList.push({
- node: Node277,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278 = new ht.Node();
- var Node278textStart, Node278textWidth, Node278lineStart, Node278align = 'left', Node278fontSize = 13.3333*_ratio.ratioY,Node278width = 29*_ratio.ratioX, Node278height = 25*_ratio.ratioY;
- (function () {
- if (Node278align === 'left') {
- Node278textStart = Node278fontSize * 0.2 > 2 ? Node278fontSize * 0.2 - 4 : Node278fontSize * 0.2 - 9;
- Node278textWidth = Node278width;
- Node278lineStart = 1;
- } else if (Node278align === 'right') {
- Node278textStart = 0;
- Node278textWidth =Node278fontSize <= 8 ? Node278width + Node278fontSize * 0.2 + 6 : Node278width - Node278fontSize * 0.2;
- Node278lineStart = (Node278width - (ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node278align === 'center') {
- Node278textStart = -3;
- Node278textWidth = Node278width;
- Node278lineStart = Node278width - ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node278.setImage(GD.getTextJSON(Node278width, Node278height, true, false, false, ' '+ Node278fontSize + 'px "UniDreamLED"'))
- Node278.setPosition(1812*ratio.ratioX, 583*ratio.ratioY);
- Node278.setWidth(Node278width);
- Node278.setHeight(Node278height);
- Node278._nodeType = 'text';
- Node278._disallowEvert = true;
- Node278.setRotation(0*Math.PI/180);
- Node278.a('node.width', Node278width);
- Node278.a('node.height', Node278height);
- Node278.a('node.rect', [0, 0, Node278width, Node278height]);
- Node278.a('node.bordercolor','rgba(64,64,64,1)');
- Node278.a('node.borderwidth', 0);
- Node278.a('node.background','' || 'rgba(0,0,0,0)');
- Node278.a('node.gradient','');
- Node278.a('node.gradientcolor','');
- Node278.a('node.text','0');
- Node278.a('node.textalign','left');
- Node278.a('node.textvAlign','middle');
- Node278.a('node.textrect', [Node278textStart, 0, Node278textWidth, Node278height]);
- Node278.a('node.color','rgba(64,64,64,1)');
- Node278.a('node.font',' '+ Node278fontSize + 'px "UniDreamLED"');
- Node278.a('node.textvisible',true);
- Node278.a('node.linefeed',false);
- if (false) {
- Node278.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278.a('node.text') || '0';
- var color=Node278.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node278width,Node278height,13.3333*_ratio.ratioY,"left",color,' '+ Node278fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node278.a('node.underlinepoints',[Node278lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node278fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node278fontSize + 'px "UniDreamLED"').width + 6, (Node278height - Node278fontSize) * 0.5*_ratio.ratioY + Node278fontSize + 2 ]);
- Node278.a('node.underlinevisible',false);
- Node278.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278);
- zoomNodeList.push({
- node: Node278,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279 = new ht.Node();
- var Node279textStart, Node279textWidth, Node279lineStart, Node279align = 'left', Node279fontSize = 13.3333*_ratio.ratioY,Node279width = 29*_ratio.ratioX, Node279height = 25*_ratio.ratioY;
- (function () {
- if (Node279align === 'left') {
- Node279textStart = Node279fontSize * 0.2 > 2 ? Node279fontSize * 0.2 - 4 : Node279fontSize * 0.2 - 9;
- Node279textWidth = Node279width;
- Node279lineStart = 1;
- } else if (Node279align === 'right') {
- Node279textStart = 0;
- Node279textWidth =Node279fontSize <= 8 ? Node279width + Node279fontSize * 0.2 + 6 : Node279width - Node279fontSize * 0.2;
- Node279lineStart = (Node279width - (ht.Default.getTextSize('台', ' '+ Node279fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node279align === 'center') {
- Node279textStart = -3;
- Node279textWidth = Node279width;
- Node279lineStart = Node279width - ht.Default.getTextSize('台', ' '+ Node279fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node279.setImage(GD.getTextJSON(Node279width, Node279height, true, false, false, ' '+ Node279fontSize + 'px "UniDreamLED"'))
- Node279.setPosition(1866*ratio.ratioX, 522*ratio.ratioY);
- Node279.setWidth(Node279width);
- Node279.setHeight(Node279height);
- Node279._nodeType = 'text';
- Node279._disallowEvert = true;
- Node279.setRotation(0*Math.PI/180);
- Node279.a('node.width', Node279width);
- Node279.a('node.height', Node279height);
- Node279.a('node.rect', [0, 0, Node279width, Node279height]);
- Node279.a('node.bordercolor','rgba(64,64,64,1)');
- Node279.a('node.borderwidth', 0);
- Node279.a('node.background','' || 'rgba(0,0,0,0)');
- Node279.a('node.gradient','');
- Node279.a('node.gradientcolor','');
- Node279.a('node.text','台');
- Node279.a('node.textalign','left');
- Node279.a('node.textvAlign','middle');
- Node279.a('node.textrect', [Node279textStart, 0, Node279textWidth, Node279height]);
- Node279.a('node.color','rgba(64,64,64,1)');
- Node279.a('node.font',' '+ Node279fontSize + 'px "UniDreamLED"');
- Node279.a('node.textvisible',true);
- Node279.a('node.linefeed',false);
- if (false) {
- Node279.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279.a('node.text') || '台';
- var color=Node279.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node279width,Node279height,13.3333*_ratio.ratioY,"left",color,' '+ Node279fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node279.a('node.underlinepoints',[Node279lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node279fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node279fontSize + 'px "UniDreamLED"').width + 6, (Node279height - Node279fontSize) * 0.5*_ratio.ratioY + Node279fontSize + 2 ]);
- Node279.a('node.underlinevisible',false);
- Node279.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279);
- zoomNodeList.push({
- node: Node279,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node280 = new ht.Node();
- var Node280textStart, Node280textWidth, Node280lineStart, Node280align = 'left', Node280fontSize = 13.3333*_ratio.ratioY,Node280width = 29*_ratio.ratioX, Node280height = 25*_ratio.ratioY;
- (function () {
- if (Node280align === 'left') {
- Node280textStart = Node280fontSize * 0.2 > 2 ? Node280fontSize * 0.2 - 4 : Node280fontSize * 0.2 - 9;
- Node280textWidth = Node280width;
- Node280lineStart = 1;
- } else if (Node280align === 'right') {
- Node280textStart = 0;
- Node280textWidth =Node280fontSize <= 8 ? Node280width + Node280fontSize * 0.2 + 6 : Node280width - Node280fontSize * 0.2;
- Node280lineStart = (Node280width - (ht.Default.getTextSize('台', ' '+ Node280fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node280align === 'center') {
- Node280textStart = -3;
- Node280textWidth = Node280width;
- Node280lineStart = Node280width - ht.Default.getTextSize('台', ' '+ Node280fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node280.setImage(GD.getTextJSON(Node280width, Node280height, true, false, false, ' '+ Node280fontSize + 'px "UniDreamLED"'))
- Node280.setPosition(1866*ratio.ratioX, 553*ratio.ratioY);
- Node280.setWidth(Node280width);
- Node280.setHeight(Node280height);
- Node280._nodeType = 'text';
- Node280._disallowEvert = true;
- Node280.setRotation(0*Math.PI/180);
- Node280.a('node.width', Node280width);
- Node280.a('node.height', Node280height);
- Node280.a('node.rect', [0, 0, Node280width, Node280height]);
- Node280.a('node.bordercolor','rgba(64,64,64,1)');
- Node280.a('node.borderwidth', 0);
- Node280.a('node.background','' || 'rgba(0,0,0,0)');
- Node280.a('node.gradient','');
- Node280.a('node.gradientcolor','');
- Node280.a('node.text','台');
- Node280.a('node.textalign','left');
- Node280.a('node.textvAlign','middle');
- Node280.a('node.textrect', [Node280textStart, 0, Node280textWidth, Node280height]);
- Node280.a('node.color','rgba(64,64,64,1)');
- Node280.a('node.font',' '+ Node280fontSize + 'px "UniDreamLED"');
- Node280.a('node.textvisible',true);
- Node280.a('node.linefeed',false);
- if (false) {
- Node280.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node280.a('node.text') || '台';
- var color=Node280.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node280width,Node280height,13.3333*_ratio.ratioY,"left",color,' '+ Node280fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node280.a('node.underlinepoints',[Node280lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node280fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node280fontSize + 'px "UniDreamLED"').width + 6, (Node280height - Node280fontSize) * 0.5*_ratio.ratioY + Node280fontSize + 2 ]);
- Node280.a('node.underlinevisible',false);
- Node280.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node280);
- zoomNodeList.push({
- node: Node280,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node281 = new ht.Node();
- var Node281textStart, Node281textWidth, Node281lineStart, Node281align = 'left', Node281fontSize = 13.3333*_ratio.ratioY,Node281width = 29*_ratio.ratioX, Node281height = 25*_ratio.ratioY;
- (function () {
- if (Node281align === 'left') {
- Node281textStart = Node281fontSize * 0.2 > 2 ? Node281fontSize * 0.2 - 4 : Node281fontSize * 0.2 - 9;
- Node281textWidth = Node281width;
- Node281lineStart = 1;
- } else if (Node281align === 'right') {
- Node281textStart = 0;
- Node281textWidth =Node281fontSize <= 8 ? Node281width + Node281fontSize * 0.2 + 6 : Node281width - Node281fontSize * 0.2;
- Node281lineStart = (Node281width - (ht.Default.getTextSize('台', ' '+ Node281fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node281align === 'center') {
- Node281textStart = -3;
- Node281textWidth = Node281width;
- Node281lineStart = Node281width - ht.Default.getTextSize('台', ' '+ Node281fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node281.setImage(GD.getTextJSON(Node281width, Node281height, true, false, false, ' '+ Node281fontSize + 'px "UniDreamLED"'))
- Node281.setPosition(1867*ratio.ratioX, 582*ratio.ratioY);
- Node281.setWidth(Node281width);
- Node281.setHeight(Node281height);
- Node281._nodeType = 'text';
- Node281._disallowEvert = true;
- Node281.setRotation(0*Math.PI/180);
- Node281.a('node.width', Node281width);
- Node281.a('node.height', Node281height);
- Node281.a('node.rect', [0, 0, Node281width, Node281height]);
- Node281.a('node.bordercolor','rgba(64,64,64,1)');
- Node281.a('node.borderwidth', 0);
- Node281.a('node.background','' || 'rgba(0,0,0,0)');
- Node281.a('node.gradient','');
- Node281.a('node.gradientcolor','');
- Node281.a('node.text','台');
- Node281.a('node.textalign','left');
- Node281.a('node.textvAlign','middle');
- Node281.a('node.textrect', [Node281textStart, 0, Node281textWidth, Node281height]);
- Node281.a('node.color','rgba(64,64,64,1)');
- Node281.a('node.font',' '+ Node281fontSize + 'px "UniDreamLED"');
- Node281.a('node.textvisible',true);
- Node281.a('node.linefeed',false);
- if (false) {
- Node281.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node281.a('node.text') || '台';
- var color=Node281.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node281width,Node281height,13.3333*_ratio.ratioY,"left",color,' '+ Node281fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node281.a('node.underlinepoints',[Node281lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node281fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node281fontSize + 'px "UniDreamLED"').width + 6, (Node281height - Node281fontSize) * 0.5*_ratio.ratioY + Node281fontSize + 2 ]);
- Node281.a('node.underlinevisible',false);
- Node281.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node281);
- zoomNodeList.push({
- node: Node281,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node282 = new ht.HtmlNode();
- Node282.setPosition({'x':448*ratio.ratioX,'y':484*ratio.ratioY});
- Node282.setWidth(180*_ratio.ratioX);
- Node282.setHeight(97*_ratio.ratioY);
- Node282.setScalable(false);
- Node282.setRotation(0);
- Node282.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node282.setHtml(chart);
- var Node282_chart = chart._chart;
- dataModel.add(Node282);option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node283 = new ht.HtmlNode();
- Node283.setPosition({'x':826*ratio.ratioX,'y':485*ratio.ratioY});
- Node283.setWidth(180*_ratio.ratioX);
- Node283.setHeight(97*_ratio.ratioY);
- Node283.setScalable(false);
- Node283.setRotation(0);
- Node283.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node283.setHtml(chart);
- var Node283_chart = chart._chart;
- dataModel.add(Node283);option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node284 = new ht.HtmlNode();
- Node284.setPosition({'x':1205*ratio.ratioX,'y':485*ratio.ratioY});
- Node284.setWidth(180*_ratio.ratioX);
- Node284.setHeight(97*_ratio.ratioY);
- Node284.setScalable(false);
- Node284.setRotation(0);
- Node284.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node284.setHtml(chart);
- var Node284_chart = chart._chart;
- dataModel.add(Node284);option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node285 = new ht.HtmlNode();
- Node285.setPosition({'x':1582*ratio.ratioX,'y':486*ratio.ratioY});
- Node285.setWidth(180*_ratio.ratioX);
- Node285.setHeight(97*_ratio.ratioY);
- Node285.setScalable(false);
- Node285.setRotation(0);
- Node285.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node285.setHtml(chart);
- var Node285_chart = chart._chart;
- dataModel.add(Node285);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286type = 'rect';
- var Node286 = new ht.Node(),
- Node286BorderWidth = 0*2;
- if (Node286type === 'arc') {
- Node286BorderWidth *= 0;
- }
- Node286.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node286type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node286.setPosition(226*ratio.ratioX, 784*ratio.ratioY);
- Node286.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node286.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node286.a('node.width', 66*_ratio.ratioX);
- Node286.a('node.height', 30*_ratio.ratioY);
- Node286.a('node.type', Node286type);
- Node286.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node286.a('node.background', 'rgba(245,245,245,1)');
- Node286.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node286.a('node.gradient', '');
- Node286.a('node.borderwidth', Node286BorderWidth);
- Node286.a('node.color', 'rgba(224,224,224,0)');
- Node286.a('node.fillrect', [0,0,0,0]);
- Node286.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node286.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node286.a('node.fillgradient', '');
- if (Node286type !== 'rect') {
- Node286.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node286.a('node.arcTo', parseFloat('@arcTo@'));
- Node286.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node286type === 'arc') {
- Node286.a('node.arcOval', true);
- }
- Node286.setRotation(0*Math.PI/180);
- Node286.borderWidth = Node286BorderWidth;
- Node286.borderFillwidth = Node286BorderWidth;
- dataModel.add(Node286);
- Node286._nodename = 'Node286'
- Node286._nodeType = 'rect';
- zoomNodeList.push({
- node: Node286,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node286, Node286.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node287type = 'rect';
- var Node287 = new ht.Node(),
- Node287BorderWidth = 0*2;
- if (Node287type === 'arc') {
- Node287BorderWidth *= 0;
- }
- Node287.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node287type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node287.setPosition(226*ratio.ratioX, 753*ratio.ratioY);
- Node287.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node287.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node287.a('node.width', 66*_ratio.ratioX);
- Node287.a('node.height', 30*_ratio.ratioY);
- Node287.a('node.type', Node287type);
- Node287.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node287.a('node.background', 'rgba(245,245,245,1)');
- Node287.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node287.a('node.gradient', '');
- Node287.a('node.borderwidth', Node287BorderWidth);
- Node287.a('node.color', 'rgba(224,224,224,0)');
- Node287.a('node.fillrect', [0,0,0,0]);
- Node287.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node287.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node287.a('node.fillgradient', '');
- if (Node287type !== 'rect') {
- Node287.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node287.a('node.arcTo', parseFloat('@arcTo@'));
- Node287.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node287type === 'arc') {
- Node287.a('node.arcOval', true);
- }
- Node287.setRotation(0*Math.PI/180);
- Node287.borderWidth = Node287BorderWidth;
- Node287.borderFillwidth = Node287BorderWidth;
- dataModel.add(Node287);
- Node287._nodename = 'Node287'
- Node287._nodeType = 'rect';
- zoomNodeList.push({
- node: Node287,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node287, Node287.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node288type = 'rect';
- var Node288 = new ht.Node(),
- Node288BorderWidth = 0*2;
- if (Node288type === 'arc') {
- Node288BorderWidth *= 0;
- }
- Node288.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node288type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node288.setPosition(226*ratio.ratioX, 722*ratio.ratioY);
- Node288.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node288.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node288.a('node.width', 66*_ratio.ratioX);
- Node288.a('node.height', 30*_ratio.ratioY);
- Node288.a('node.type', Node288type);
- Node288.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node288.a('node.background', 'rgba(245,245,245,1)');
- Node288.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node288.a('node.gradient', '');
- Node288.a('node.borderwidth', Node288BorderWidth);
- Node288.a('node.color', 'rgba(224,224,224,0)');
- Node288.a('node.fillrect', [0,0,0,0]);
- Node288.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node288.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node288.a('node.fillgradient', '');
- if (Node288type !== 'rect') {
- Node288.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node288.a('node.arcTo', parseFloat('@arcTo@'));
- Node288.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node288type === 'arc') {
- Node288.a('node.arcOval', true);
- }
- Node288.setRotation(0*Math.PI/180);
- Node288.borderWidth = Node288BorderWidth;
- Node288.borderFillwidth = Node288BorderWidth;
- dataModel.add(Node288);
- Node288._nodename = 'Node288'
- Node288._nodeType = 'rect';
- zoomNodeList.push({
- node: Node288,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node288, Node288.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node289type = 'rect';
- var Node289 = new ht.Node(),
- Node289BorderWidth = 0*2;
- if (Node289type === 'arc') {
- Node289BorderWidth *= 0;
- }
- Node289.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node289type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node289.setPosition(37*ratio.ratioX, 784*ratio.ratioY);
- Node289.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node289.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node289.a('node.width', 66*_ratio.ratioX);
- Node289.a('node.height', 30*_ratio.ratioY);
- Node289.a('node.type', Node289type);
- Node289.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node289.a('node.background', 'rgba(245,245,245,1)');
- Node289.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node289.a('node.gradient', '');
- Node289.a('node.borderwidth', Node289BorderWidth);
- Node289.a('node.color', 'rgba(224,224,224,0)');
- Node289.a('node.fillrect', [0,0,0,0]);
- Node289.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node289.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node289.a('node.fillgradient', '');
- if (Node289type !== 'rect') {
- Node289.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node289.a('node.arcTo', parseFloat('@arcTo@'));
- Node289.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node289type === 'arc') {
- Node289.a('node.arcOval', true);
- }
- Node289.setRotation(0*Math.PI/180);
- Node289.borderWidth = Node289BorderWidth;
- Node289.borderFillwidth = Node289BorderWidth;
- dataModel.add(Node289);
- Node289._nodename = 'Node289'
- Node289._nodeType = 'rect';
- zoomNodeList.push({
- node: Node289,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node289, Node289.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node290type = 'rect';
- var Node290 = new ht.Node(),
- Node290BorderWidth = 0*2;
- if (Node290type === 'arc') {
- Node290BorderWidth *= 0;
- }
- Node290.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node290type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node290.setPosition(37*ratio.ratioX, 752*ratio.ratioY);
- Node290.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node290.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node290.a('node.width', 66*_ratio.ratioX);
- Node290.a('node.height', 30*_ratio.ratioY);
- Node290.a('node.type', Node290type);
- Node290.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node290.a('node.background', 'rgba(245,245,245,1)');
- Node290.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node290.a('node.gradient', '');
- Node290.a('node.borderwidth', Node290BorderWidth);
- Node290.a('node.color', 'rgba(224,224,224,0)');
- Node290.a('node.fillrect', [0,0,0,0]);
- Node290.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node290.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node290.a('node.fillgradient', '');
- if (Node290type !== 'rect') {
- Node290.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node290.a('node.arcTo', parseFloat('@arcTo@'));
- Node290.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node290type === 'arc') {
- Node290.a('node.arcOval', true);
- }
- Node290.setRotation(0*Math.PI/180);
- Node290.borderWidth = Node290BorderWidth;
- Node290.borderFillwidth = Node290BorderWidth;
- dataModel.add(Node290);
- Node290._nodename = 'Node290'
- Node290._nodeType = 'rect';
- zoomNodeList.push({
- node: Node290,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node290, Node290.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node291type = 'rect';
- var Node291 = new ht.Node(),
- Node291BorderWidth = 0*2;
- if (Node291type === 'arc') {
- Node291BorderWidth *= 0;
- }
- Node291.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node291type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node291.setPosition(38*ratio.ratioX, 721*ratio.ratioY);
- Node291.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node291.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node291.a('node.width', 66*_ratio.ratioX);
- Node291.a('node.height', 30*_ratio.ratioY);
- Node291.a('node.type', Node291type);
- Node291.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node291.a('node.background', 'rgba(245,245,245,1)');
- Node291.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node291.a('node.gradient', '');
- Node291.a('node.borderwidth', Node291BorderWidth);
- Node291.a('node.color', 'rgba(224,224,224,0)');
- Node291.a('node.fillrect', [0,0,0,0]);
- Node291.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node291.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node291.a('node.fillgradient', '');
- if (Node291type !== 'rect') {
- Node291.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node291.a('node.arcTo', parseFloat('@arcTo@'));
- Node291.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node291type === 'arc') {
- Node291.a('node.arcOval', true);
- }
- Node291.setRotation(0*Math.PI/180);
- Node291.borderWidth = Node291BorderWidth;
- Node291.borderFillwidth = Node291BorderWidth;
- dataModel.add(Node291);
- Node291._nodename = 'Node291'
- Node291._nodeType = 'rect';
- zoomNodeList.push({
- node: Node291,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node291, Node291.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node292= new ht.Node();
- Node292._borderWidth = 1;
- Node292.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node292._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node292.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node292.background'},
- gradient: {value:'', func: 'attr@Node292.gradient'},
- gradientColor:{value:'', func: 'attr@Node292.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node292.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node292.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node292.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node292.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node292.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node292.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node292.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node292.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node292.borderPattern'}
- }
- ]
- });
- var Node292borderwidth = 1;
- var Node292borderFillwidth = 1*2;
- Node292 .setPosition(190*ratio.ratioX,654*ratio.ratioY);
- Node292.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node292.setRotation(0*Math.PI/180);
- Node292.s({'pixelPerfect':true});
- Node292.a('Node292.borderwidth',1);
- Node292.a('Node292.color','@bordercolor@');
- Node292.a('Node292.background','rgba(255,255,255,0.003921569)');
- Node292.a('Node292.gradient','');
- Node292.a('Node292.gradientcolor','');
- Node292.a('Node292.borderPattern',getDashStyle("Solid"));
- Node292.a('Node292.fillrect',[0,0,0,0]);
- Node292.a('Node292.fillbackcolor','rgba(0, 0, 0, 0)');
- Node292.a('Node292.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node292.a('Node292.fillgradient','');
- Node292borderwidth=1;
- dataModel.add(Node292);
- Node292.borderWidth = 1;
- Node292.borderFillwidth = 1*2;
- Node292._nodename = 'Node292';
- Node292._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node292,
- attr: 'Node292.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node292.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node292.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node292, Node292.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node293 = new ht.Node();
- var Node293textStart, Node293textWidth, Node293lineStart, Node293align = 'left', Node293fontSize = 11.99997*_ratio.ratioY,Node293width = 150*_ratio.ratioX, Node293height = 25*_ratio.ratioY;
- (function () {
- if (Node293align === 'left') {
- Node293textStart = Node293fontSize * 0.2 > 2 ? Node293fontSize * 0.2 - 4 : Node293fontSize * 0.2 - 9;
- Node293textWidth = Node293width;
- Node293lineStart = 1;
- } else if (Node293align === 'right') {
- Node293textStart = 0;
- Node293textWidth =Node293fontSize <= 8 ? Node293width + Node293fontSize * 0.2 + 6 : Node293width - Node293fontSize * 0.2;
- Node293lineStart = (Node293width - (ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node293fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node293align === 'center') {
- Node293textStart = -3;
- Node293textWidth = Node293width;
- Node293lineStart = Node293width - ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node293fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node293.setImage(GD.getTextJSON(Node293width, Node293height, true, false, false, 'bold '+ Node293fontSize + 'px "Arial"'))
- Node293.setPosition(85*ratio.ratioX, 618*ratio.ratioY);
- Node293.setWidth(Node293width);
- Node293.setHeight(Node293height);
- Node293._nodeType = 'text';
- Node293._disallowEvert = true;
- Node293.setRotation(0*Math.PI/180);
- Node293.a('node.width', Node293width);
- Node293.a('node.height', Node293height);
- Node293.a('node.rect', [0, 0, Node293width, Node293height]);
- Node293.a('node.bordercolor','rgba(64,64,64,1)');
- Node293.a('node.borderwidth', 0);
- Node293.a('node.background','' || 'rgba(0,0,0,0)');
- Node293.a('node.gradient','');
- Node293.a('node.gradientcolor','');
- Node293.a('node.text','太旗卧牛山风电场');
- Node293.a('node.textalign','left');
- Node293.a('node.textvAlign','middle');
- Node293.a('node.textrect', [Node293textStart, 0, Node293textWidth, Node293height]);
- Node293.a('node.color','rgba(64,64,64,1)');
- Node293.a('node.font','bold '+ Node293fontSize + 'px "Arial"');
- Node293.a('node.textvisible',true);
- Node293.a('node.linefeed',false);
- if (false) {
- Node293.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node293.a('node.text') || '太旗卧牛山风电场';
- var color=Node293.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node293width,Node293height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node293fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node293.a('node.underlinepoints',[Node293lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node293fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node293fontSize + 'px "Arial"').width + 6, (Node293height - Node293fontSize) * 0.5*_ratio.ratioY + Node293fontSize + 2 ]);
- Node293.a('node.underlinevisible',false);
- Node293.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node293);
- zoomNodeList.push({
- node: Node293,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node294 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 285*ratio.ratioX, 618*ratio.ratioY, 0, {text:'99',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node295 = new ht.HtmlNode();
- Node295.setPosition({'x':70*ratio.ratioX,'y':687*ratio.ratioY});
- Node295.setWidth(180*_ratio.ratioX);
- Node295.setHeight(97*_ratio.ratioY);
- Node295.setScalable(false);
- Node295.setRotation(0);
- Node295.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node295.setHtml(chart);
- var Node295_chart = chart._chart;
- dataModel.add(Node295);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node296 = new ht.Node();
- var Node296textStart, Node296textWidth, Node296lineStart, Node296align = 'left', Node296fontSize = 11.99997*_ratio.ratioY,Node296width = 40*_ratio.ratioX, Node296height = 21*_ratio.ratioY;
- (function () {
- if (Node296align === 'left') {
- Node296textStart = Node296fontSize * 0.2 > 2 ? Node296fontSize * 0.2 - 4 : Node296fontSize * 0.2 - 9;
- Node296textWidth = Node296width;
- Node296lineStart = 1;
- } else if (Node296align === 'right') {
- Node296textStart = 0;
- Node296textWidth =Node296fontSize <= 8 ? Node296width + Node296fontSize * 0.2 + 6 : Node296width - Node296fontSize * 0.2;
- Node296lineStart = (Node296width - (ht.Default.getTextSize('4.48', ' '+ Node296fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node296align === 'center') {
- Node296textStart = -3;
- Node296textWidth = Node296width;
- Node296lineStart = Node296width - ht.Default.getTextSize('4.48', ' '+ Node296fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node296.setImage(GD.getTextJSON(Node296width, Node296height, true, false, false, ' '+ Node296fontSize + 'px "UniDreamLED"'))
- Node296.setPosition(140*ratio.ratioX, 662*ratio.ratioY);
- Node296.setWidth(Node296width);
- Node296.setHeight(Node296height);
- Node296._nodeType = 'text';
- Node296._disallowEvert = true;
- Node296.setRotation(0*Math.PI/180);
- Node296.a('node.width', Node296width);
- Node296.a('node.height', Node296height);
- Node296.a('node.rect', [0, 0, Node296width, Node296height]);
- Node296.a('node.bordercolor','rgba(0,0,0,1)');
- Node296.a('node.borderwidth', 0);
- Node296.a('node.background','' || 'rgba(0,0,0,0)');
- Node296.a('node.gradient','');
- Node296.a('node.gradientcolor','');
- Node296.a('node.text','4.48');
- Node296.a('node.textalign','left');
- Node296.a('node.textvAlign','middle');
- Node296.a('node.textrect', [Node296textStart, 0, Node296textWidth, Node296height]);
- Node296.a('node.color','rgba(0,0,0,1)');
- Node296.a('node.font',' '+ Node296fontSize + 'px "UniDreamLED"');
- Node296.a('node.textvisible',true);
- Node296.a('node.linefeed',false);
- if (false) {
- Node296.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node296.a('node.text') || '4.48';
- var color=Node296.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node296width,Node296height,11.99997*_ratio.ratioY,"left",color,' '+ Node296fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node296.a('node.underlinepoints',[Node296lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node296fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node296fontSize + 'px "UniDreamLED"').width + 6, (Node296height - Node296fontSize) * 0.5*_ratio.ratioY + Node296fontSize + 2 ]);
- Node296.a('node.underlinevisible',false);
- Node296.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node296);
- zoomNodeList.push({
- node: Node296,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node297 = new ht.Node();
- var Node297textStart, Node297textWidth, Node297lineStart, Node297align = 'left', Node297fontSize = 11.99997*_ratio.ratioY,Node297width = 40*_ratio.ratioX, Node297height = 21*_ratio.ratioY;
- (function () {
- if (Node297align === 'left') {
- Node297textStart = Node297fontSize * 0.2 > 2 ? Node297fontSize * 0.2 - 4 : Node297fontSize * 0.2 - 9;
- Node297textWidth = Node297width;
- Node297lineStart = 1;
- } else if (Node297align === 'right') {
- Node297textStart = 0;
- Node297textWidth =Node297fontSize <= 8 ? Node297width + Node297fontSize * 0.2 + 6 : Node297width - Node297fontSize * 0.2;
- Node297lineStart = (Node297width - (ht.Default.getTextSize('m/s', ' '+ Node297fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node297align === 'center') {
- Node297textStart = -3;
- Node297textWidth = Node297width;
- Node297lineStart = Node297width - ht.Default.getTextSize('m/s', ' '+ Node297fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node297.setImage(GD.getTextJSON(Node297width, Node297height, true, false, false, ' '+ Node297fontSize + 'px "Arial"'))
- Node297.setPosition(140*ratio.ratioX, 683*ratio.ratioY);
- Node297.setWidth(Node297width);
- Node297.setHeight(Node297height);
- Node297._nodeType = 'text';
- Node297._disallowEvert = true;
- Node297.setRotation(0*Math.PI/180);
- Node297.a('node.width', Node297width);
- Node297.a('node.height', Node297height);
- Node297.a('node.rect', [0, 0, Node297width, Node297height]);
- Node297.a('node.bordercolor','rgba(0,0,0,1)');
- Node297.a('node.borderwidth', 0);
- Node297.a('node.background','' || 'rgba(0,0,0,0)');
- Node297.a('node.gradient','');
- Node297.a('node.gradientcolor','');
- Node297.a('node.text','m/s');
- Node297.a('node.textalign','left');
- Node297.a('node.textvAlign','middle');
- Node297.a('node.textrect', [Node297textStart, 0, Node297textWidth, Node297height]);
- Node297.a('node.color','rgba(0,0,0,1)');
- Node297.a('node.font',' '+ Node297fontSize + 'px "Arial"');
- Node297.a('node.textvisible',true);
- Node297.a('node.linefeed',false);
- if (false) {
- Node297.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node297.a('node.text') || 'm/s';
- var color=Node297.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node297width,Node297height,11.99997*_ratio.ratioY,"left",color,' '+ Node297fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node297.a('node.underlinepoints',[Node297lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node297fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node297fontSize + 'px "Arial"').width + 6, (Node297height - Node297fontSize) * 0.5*_ratio.ratioY + Node297fontSize + 2 ]);
- Node297.a('node.underlinevisible',false);
- Node297.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node297);
- zoomNodeList.push({
- node: Node297,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node298 = new ht.Node();
- var Node298textStart, Node298textWidth, Node298lineStart, Node298align = 'left', Node298fontSize = 11.99997*_ratio.ratioY,Node298width = 40*_ratio.ratioX, Node298height = 21*_ratio.ratioY;
- (function () {
- if (Node298align === 'left') {
- Node298textStart = Node298fontSize * 0.2 > 2 ? Node298fontSize * 0.2 - 4 : Node298fontSize * 0.2 - 9;
- Node298textWidth = Node298width;
- Node298lineStart = 1;
- } else if (Node298align === 'right') {
- Node298textStart = 0;
- Node298textWidth =Node298fontSize <= 8 ? Node298width + Node298fontSize * 0.2 + 6 : Node298width - Node298fontSize * 0.2;
- Node298lineStart = (Node298width - (ht.Default.getTextSize('功率', 'bold '+ Node298fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node298align === 'center') {
- Node298textStart = -3;
- Node298textWidth = Node298width;
- Node298lineStart = Node298width - ht.Default.getTextSize('功率', 'bold '+ Node298fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node298.setImage(GD.getTextJSON(Node298width, Node298height, true, false, false, 'bold '+ Node298fontSize + 'px "Arial"'))
- Node298.setPosition(200*ratio.ratioX, 650*ratio.ratioY);
- Node298.setWidth(Node298width);
- Node298.setHeight(Node298height);
- Node298._nodeType = 'text';
- Node298._disallowEvert = true;
- Node298.setRotation(0*Math.PI/180);
- Node298.a('node.width', Node298width);
- Node298.a('node.height', Node298height);
- Node298.a('node.rect', [0, 0, Node298width, Node298height]);
- Node298.a('node.bordercolor','rgba(64,64,64,1)');
- Node298.a('node.borderwidth', 0);
- Node298.a('node.background','' || 'rgba(0,0,0,0)');
- Node298.a('node.gradient','');
- Node298.a('node.gradientcolor','');
- Node298.a('node.text','功率');
- Node298.a('node.textalign','left');
- Node298.a('node.textvAlign','middle');
- Node298.a('node.textrect', [Node298textStart, 0, Node298textWidth, Node298height]);
- Node298.a('node.color','rgba(64,64,64,1)');
- Node298.a('node.font','bold '+ Node298fontSize + 'px "Arial"');
- Node298.a('node.textvisible',true);
- Node298.a('node.linefeed',false);
- if (false) {
- Node298.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node298.a('node.text') || '功率';
- var color=Node298.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node298width,Node298height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node298fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node298.a('node.underlinepoints',[Node298lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node298fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node298fontSize + 'px "Arial"').width + 6, (Node298height - Node298fontSize) * 0.5*_ratio.ratioY + Node298fontSize + 2 ]);
- Node298.a('node.underlinevisible',false);
- Node298.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node298);
- zoomNodeList.push({
- node: Node298,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node299 = new ht.Node();
- var Node299textStart, Node299textWidth, Node299lineStart, Node299align = 'left', Node299fontSize = 11.99997*_ratio.ratioY,Node299width = 44*_ratio.ratioX, Node299height = 21*_ratio.ratioY;
- (function () {
- if (Node299align === 'left') {
- Node299textStart = Node299fontSize * 0.2 > 2 ? Node299fontSize * 0.2 - 4 : Node299fontSize * 0.2 - 9;
- Node299textWidth = Node299width;
- Node299lineStart = 1;
- } else if (Node299align === 'right') {
- Node299textStart = 0;
- Node299textWidth =Node299fontSize <= 8 ? Node299width + Node299fontSize * 0.2 + 6 : Node299width - Node299fontSize * 0.2;
- Node299lineStart = (Node299width - (ht.Default.getTextSize('发电量', 'bold '+ Node299fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node299align === 'center') {
- Node299textStart = -3;
- Node299textWidth = Node299width;
- Node299lineStart = Node299width - ht.Default.getTextSize('发电量', 'bold '+ Node299fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node299.setImage(GD.getTextJSON(Node299width, Node299height, true, false, false, 'bold '+ Node299fontSize + 'px "Arial"'))
- Node299.setPosition(202*ratio.ratioX, 684*ratio.ratioY);
- Node299.setWidth(Node299width);
- Node299.setHeight(Node299height);
- Node299._nodeType = 'text';
- Node299._disallowEvert = true;
- Node299.setRotation(0*Math.PI/180);
- Node299.a('node.width', Node299width);
- Node299.a('node.height', Node299height);
- Node299.a('node.rect', [0, 0, Node299width, Node299height]);
- Node299.a('node.bordercolor','rgba(64,64,64,1)');
- Node299.a('node.borderwidth', 0);
- Node299.a('node.background','' || 'rgba(0,0,0,0)');
- Node299.a('node.gradient','');
- Node299.a('node.gradientcolor','');
- Node299.a('node.text','发电量');
- Node299.a('node.textalign','left');
- Node299.a('node.textvAlign','middle');
- Node299.a('node.textrect', [Node299textStart, 0, Node299textWidth, Node299height]);
- Node299.a('node.color','rgba(64,64,64,1)');
- Node299.a('node.font','bold '+ Node299fontSize + 'px "Arial"');
- Node299.a('node.textvisible',true);
- Node299.a('node.linefeed',false);
- if (false) {
- Node299.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node299.a('node.text') || '发电量';
- var color=Node299.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node299width,Node299height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node299fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node299.a('node.underlinepoints',[Node299lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node299fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node299fontSize + 'px "Arial"').width + 6, (Node299height - Node299fontSize) * 0.5*_ratio.ratioY + Node299fontSize + 2 ]);
- Node299.a('node.underlinevisible',false);
- Node299.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node299);
- zoomNodeList.push({
- node: Node299,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node300 = new ht.Node();
- var Node300textStart, Node300textWidth, Node300lineStart, Node300align = 'left', Node300fontSize = 13.3333*_ratio.ratioY,Node300width = 29*_ratio.ratioX, Node300height = 25*_ratio.ratioY;
- (function () {
- if (Node300align === 'left') {
- Node300textStart = Node300fontSize * 0.2 > 2 ? Node300fontSize * 0.2 - 4 : Node300fontSize * 0.2 - 9;
- Node300textWidth = Node300width;
- Node300lineStart = 1;
- } else if (Node300align === 'right') {
- Node300textStart = 0;
- Node300textWidth =Node300fontSize <= 8 ? Node300width + Node300fontSize * 0.2 + 6 : Node300width - Node300fontSize * 0.2;
- Node300lineStart = (Node300width - (ht.Default.getTextSize('台', ' '+ Node300fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node300align === 'center') {
- Node300textStart = -3;
- Node300textWidth = Node300width;
- Node300lineStart = Node300width - ht.Default.getTextSize('台', ' '+ Node300fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node300.setImage(GD.getTextJSON(Node300width, Node300height, true, false, false, ' '+ Node300fontSize + 'px "Arial"'))
- Node300.setPosition(350*ratio.ratioX, 619*ratio.ratioY);
- Node300.setWidth(Node300width);
- Node300.setHeight(Node300height);
- Node300._nodeType = 'text';
- Node300._disallowEvert = true;
- Node300.setRotation(0*Math.PI/180);
- Node300.a('node.width', Node300width);
- Node300.a('node.height', Node300height);
- Node300.a('node.rect', [0, 0, Node300width, Node300height]);
- Node300.a('node.bordercolor','rgba(64,64,64,1)');
- Node300.a('node.borderwidth', 0);
- Node300.a('node.background','' || 'rgba(0,0,0,0)');
- Node300.a('node.gradient','');
- Node300.a('node.gradientcolor','');
- Node300.a('node.text','台');
- Node300.a('node.textalign','left');
- Node300.a('node.textvAlign','middle');
- Node300.a('node.textrect', [Node300textStart, 0, Node300textWidth, Node300height]);
- Node300.a('node.color','rgba(64,64,64,1)');
- Node300.a('node.font',' '+ Node300fontSize + 'px "Arial"');
- Node300.a('node.textvisible',true);
- Node300.a('node.linefeed',false);
- if (false) {
- Node300.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node300.a('node.text') || '台';
- var color=Node300.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node300width,Node300height,13.3333*_ratio.ratioY,"left",color,' '+ Node300fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node300.a('node.underlinepoints',[Node300lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node300fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node300fontSize + 'px "Arial"').width + 6, (Node300height - Node300fontSize) * 0.5*_ratio.ratioY + Node300fontSize + 2 ]);
- Node300.a('node.underlinevisible',false);
- Node300.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node300);
- zoomNodeList.push({
- node: Node300,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node301 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 650*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node302 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 271*ratio.ratioX, 650*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node303 = new ht.Node();
- var Node303textStart, Node303textWidth, Node303lineStart, Node303align = 'left', Node303fontSize = 13.3333*_ratio.ratioY,Node303width = 29*_ratio.ratioX, Node303height = 25*_ratio.ratioY;
- (function () {
- if (Node303align === 'left') {
- Node303textStart = Node303fontSize * 0.2 > 2 ? Node303fontSize * 0.2 - 4 : Node303fontSize * 0.2 - 9;
- Node303textWidth = Node303width;
- Node303lineStart = 1;
- } else if (Node303align === 'right') {
- Node303textStart = 0;
- Node303textWidth =Node303fontSize <= 8 ? Node303width + Node303fontSize * 0.2 + 6 : Node303width - Node303fontSize * 0.2;
- Node303lineStart = (Node303width - (ht.Default.getTextSize('MW', ' '+ Node303fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node303align === 'center') {
- Node303textStart = -3;
- Node303textWidth = Node303width;
- Node303lineStart = Node303width - ht.Default.getTextSize('MW', ' '+ Node303fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node303.setImage(GD.getTextJSON(Node303width, Node303height, true, false, false, ' '+ Node303fontSize + 'px "Arial"'))
- Node303.setPosition(342*ratio.ratioX, 649*ratio.ratioY);
- Node303.setWidth(Node303width);
- Node303.setHeight(Node303height);
- Node303._nodeType = 'text';
- Node303._disallowEvert = true;
- Node303.setRotation(0*Math.PI/180);
- Node303.a('node.width', Node303width);
- Node303.a('node.height', Node303height);
- Node303.a('node.rect', [0, 0, Node303width, Node303height]);
- Node303.a('node.bordercolor','rgba(64,64,64,1)');
- Node303.a('node.borderwidth', 0);
- Node303.a('node.background','' || 'rgba(0,0,0,0)');
- Node303.a('node.gradient','');
- Node303.a('node.gradientcolor','');
- Node303.a('node.text','MW');
- Node303.a('node.textalign','left');
- Node303.a('node.textvAlign','middle');
- Node303.a('node.textrect', [Node303textStart, 0, Node303textWidth, Node303height]);
- Node303.a('node.color','rgba(64,64,64,1)');
- Node303.a('node.font',' '+ Node303fontSize + 'px "Arial"');
- Node303.a('node.textvisible',true);
- Node303.a('node.linefeed',false);
- if (false) {
- Node303.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node303.a('node.text') || 'MW';
- var color=Node303.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node303width,Node303height,13.3333*_ratio.ratioY,"left",color,' '+ Node303fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node303.a('node.underlinepoints',[Node303lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node303fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node303fontSize + 'px "Arial"').width + 6, (Node303height - Node303fontSize) * 0.5*_ratio.ratioY + Node303fontSize + 2 ]);
- Node303.a('node.underlinevisible',false);
- Node303.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node303);
- zoomNodeList.push({
- node: Node303,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node304 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 684*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node305 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 272*ratio.ratioX, 684*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node306 = new ht.Node();
- var Node306textStart, Node306textWidth, Node306lineStart, Node306align = 'left', Node306fontSize = 13.3333*_ratio.ratioY,Node306width = 43*_ratio.ratioX, Node306height = 25*_ratio.ratioY;
- (function () {
- if (Node306align === 'left') {
- Node306textStart = Node306fontSize * 0.2 > 2 ? Node306fontSize * 0.2 - 4 : Node306fontSize * 0.2 - 9;
- Node306textWidth = Node306width;
- Node306lineStart = 1;
- } else if (Node306align === 'right') {
- Node306textStart = 0;
- Node306textWidth =Node306fontSize <= 8 ? Node306width + Node306fontSize * 0.2 + 6 : Node306width - Node306fontSize * 0.2;
- Node306lineStart = (Node306width - (ht.Default.getTextSize('万kwh', ' '+ Node306fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node306align === 'center') {
- Node306textStart = -3;
- Node306textWidth = Node306width;
- Node306lineStart = Node306width - ht.Default.getTextSize('万kwh', ' '+ Node306fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node306.setImage(GD.getTextJSON(Node306width, Node306height, true, false, false, ' '+ Node306fontSize + 'px "Arial"'))
- Node306.setPosition(350*ratio.ratioX, 684*ratio.ratioY);
- Node306.setWidth(Node306width);
- Node306.setHeight(Node306height);
- Node306._nodeType = 'text';
- Node306._disallowEvert = true;
- Node306.setRotation(0*Math.PI/180);
- Node306.a('node.width', Node306width);
- Node306.a('node.height', Node306height);
- Node306.a('node.rect', [0, 0, Node306width, Node306height]);
- Node306.a('node.bordercolor','rgba(64,64,64,1)');
- Node306.a('node.borderwidth', 0);
- Node306.a('node.background','' || 'rgba(0,0,0,0)');
- Node306.a('node.gradient','');
- Node306.a('node.gradientcolor','');
- Node306.a('node.text','万kwh');
- Node306.a('node.textalign','left');
- Node306.a('node.textvAlign','middle');
- Node306.a('node.textrect', [Node306textStart, 0, Node306textWidth, Node306height]);
- Node306.a('node.color','rgba(64,64,64,1)');
- Node306.a('node.font',' '+ Node306fontSize + 'px "Arial"');
- Node306.a('node.textvisible',true);
- Node306.a('node.linefeed',false);
- if (false) {
- Node306.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node306.a('node.text') || '万kwh';
- var color=Node306.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node306width,Node306height,13.3333*_ratio.ratioY,"left",color,' '+ Node306fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node306.a('node.underlinepoints',[Node306lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node306fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node306fontSize + 'px "Arial"').width + 6, (Node306height - Node306fontSize) * 0.5*_ratio.ratioY + Node306fontSize + 2 ]);
- Node306.a('node.underlinevisible',false);
- Node306.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node306);
- zoomNodeList.push({
- node: Node306,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node307type = 'rect';
- var Node307 = new ht.Node(),
- Node307BorderWidth = 1*2;
- if (Node307type === 'arc') {
- Node307BorderWidth *= 1;
- }
- Node307.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node307type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node307.setPosition(190*ratio.ratioX, 752*ratio.ratioY);
- Node307.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node307.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node307.a('node.width', 373*_ratio.ratioX);
- Node307.a('node.height', 93*_ratio.ratioY);
- Node307.a('node.type', Node307type);
- Node307.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node307.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node307.a('node.gradientcolor', '');
- Node307.a('node.gradient', '');
- Node307.a('node.borderwidth', Node307BorderWidth);
- Node307.a('node.color', 'rgba(192,192,192,1)');
- Node307.a('node.fillrect', [0,0,0,0]);
- Node307.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node307.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node307.a('node.fillgradient', '');
- if (Node307type !== 'rect') {
- Node307.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node307.a('node.arcTo', parseFloat('@arcTo@'));
- Node307.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node307type === 'arc') {
- Node307.a('node.arcOval', true);
- }
- Node307.setRotation(0*Math.PI/180);
- Node307.borderWidth = Node307BorderWidth;
- Node307.borderFillwidth = Node307BorderWidth;
- dataModel.add(Node307);
- Node307._nodename = 'Node307'
- Node307._nodeType = 'rect';
- zoomNodeList.push({
- node: Node307,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node307, Node307.getImage());var Node308points=[4, 737,377, 737],
- Node308rect=ht.Default.unionPoint([{x:4,y:737},{x:377,y:737}]),
- Node308compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node308points.length;i++){
- if(i%2==0){
- Node308compspts.push(Node308points[i]-Node308rect.x);
- }else{
- Node308compspts.push(Node308points[i]-Node308rect.y);
- }
- }
- var Node308ptslength=Node308compspts.length;
- if (Node308rect.height === 0) {
- Node308compspts[0] -= 0;
- Node308compspts[Node308ptslength-2] += 0;
- } else if (Node308rect.width === 0){
- Node308compspts[1] -= 0;
- Node308compspts[Node308ptslength-1] += 0;
- } else {
- Node308compspts[0] -= 0;
- Node308compspts[1] -= 0;
- Node308compspts[Node308ptslength-2] += 0;
- Node308compspts[Node308ptslength-1] += 0;
- }
- Node308 = new ht.Node();
- Node308.borderWidth = 1;
- Node308rect.width = Node308rect.width === 0 ? 0.0001 : Node308rect.width;
- Node308rect.height = Node308rect.height === 0 ? 0.0001 : Node308rect.height;
- var Node308endCompspts = [Node308compspts[Node308ptslength-2],Node308compspts[Node308ptslength-1],0,0];
- var Node308startCompspts = [Node308compspts[0],Node308compspts[1],0,0];
- Node308.setImage(GD.getPolyLineJSON());
- Node308.setPosition(Node308rect.x+Node308rect.width/2,Node308rect.y+Node308rect.height/2);
- Node308.setSize(Node308rect.width,Node308rect.height);
- Node308.setStyle("opacity",1);
- Node308.s({'pixelPerfect':true});
- Node308borderwidth=1;
- Node308.setRotation(0);
- dataModel.add(Node308);
- Node308.a('node.points',Node308compspts);
- Node308.a('node.segments',[1,2]);
- Node308.a('node.color','rgba(192,192,192,1)');
- Node308.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node308.a('node.borderColor','rgba(192,192,192,1)');
- Node308.a('node.background','rgba(192,192,192,1)');
- Node308.a('node.gradient','');
- Node308.a('node.gradientcolor','rgba(192,192,192,1)');
- Node308.a('node.endCompspts',Node308endCompspts);
- Node308.a('node.startCompspts',Node308startCompspts);
- (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 = 'Node308';
- 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);
- }
- })(Node308, Node308.getImage(), Node308compspts, Node308endCompspts, Node308startCompspts);
- var Node309points=[4, 768,377, 768],
- Node309rect=ht.Default.unionPoint([{x:4,y:768},{x:377,y:768}]),
- Node309compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node309points.length;i++){
- if(i%2==0){
- Node309compspts.push(Node309points[i]-Node309rect.x);
- }else{
- Node309compspts.push(Node309points[i]-Node309rect.y);
- }
- }
- var Node309ptslength=Node309compspts.length;
- if (Node309rect.height === 0) {
- Node309compspts[0] -= 0;
- Node309compspts[Node309ptslength-2] += 0;
- } else if (Node309rect.width === 0){
- Node309compspts[1] -= 0;
- Node309compspts[Node309ptslength-1] += 0;
- } else {
- Node309compspts[0] -= 0;
- Node309compspts[1] -= 0;
- Node309compspts[Node309ptslength-2] += 0;
- Node309compspts[Node309ptslength-1] += 0;
- }
- Node309 = new ht.Node();
- Node309.borderWidth = 1;
- Node309rect.width = Node309rect.width === 0 ? 0.0001 : Node309rect.width;
- Node309rect.height = Node309rect.height === 0 ? 0.0001 : Node309rect.height;
- var Node309endCompspts = [Node309compspts[Node309ptslength-2],Node309compspts[Node309ptslength-1],0,0];
- var Node309startCompspts = [Node309compspts[0],Node309compspts[1],0,0];
- Node309.setImage(GD.getPolyLineJSON());
- Node309.setPosition(Node309rect.x+Node309rect.width/2,Node309rect.y+Node309rect.height/2);
- Node309.setSize(Node309rect.width,Node309rect.height);
- Node309.setStyle("opacity",1);
- Node309.s({'pixelPerfect':true});
- Node309borderwidth=1;
- Node309.setRotation(0);
- dataModel.add(Node309);
- Node309.a('node.points',Node309compspts);
- Node309.a('node.segments',[1,2]);
- Node309.a('node.color','rgba(192,192,192,1)');
- Node309.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node309.a('node.borderColor','rgba(192,192,192,1)');
- Node309.a('node.background','rgba(192,192,192,1)');
- Node309.a('node.gradient','');
- Node309.a('node.gradientcolor','rgba(192,192,192,1)');
- Node309.a('node.endCompspts',Node309endCompspts);
- Node309.a('node.startCompspts',Node309startCompspts);
- (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 = 'Node309';
- 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);
- }
- })(Node309, Node309.getImage(), Node309compspts, Node309endCompspts, Node309startCompspts);
- var Node310points=[71, 707,71, 798],
- Node310rect=ht.Default.unionPoint([{x:71,y:707},{x:71,y:798}]),
- Node310compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node310points.length;i++){
- if(i%2==0){
- Node310compspts.push(Node310points[i]-Node310rect.x);
- }else{
- Node310compspts.push(Node310points[i]-Node310rect.y);
- }
- }
- var Node310ptslength=Node310compspts.length;
- if (Node310rect.height === 0) {
- Node310compspts[0] -= 0;
- Node310compspts[Node310ptslength-2] += 0;
- } else if (Node310rect.width === 0){
- Node310compspts[1] -= 0;
- Node310compspts[Node310ptslength-1] += 0;
- } else {
- Node310compspts[0] -= 0;
- Node310compspts[1] -= 0;
- Node310compspts[Node310ptslength-2] += 0;
- Node310compspts[Node310ptslength-1] += 0;
- }
- Node310 = new ht.Node();
- Node310.borderWidth = 1;
- Node310rect.width = Node310rect.width === 0 ? 0.0001 : Node310rect.width;
- Node310rect.height = Node310rect.height === 0 ? 0.0001 : Node310rect.height;
- var Node310endCompspts = [Node310compspts[Node310ptslength-2],Node310compspts[Node310ptslength-1],0,0];
- var Node310startCompspts = [Node310compspts[0],Node310compspts[1],0,0];
- Node310.setImage(GD.getPolyLineJSON());
- Node310.setPosition(Node310rect.x+Node310rect.width/2,Node310rect.y+Node310rect.height/2);
- Node310.setSize(Node310rect.width,Node310rect.height);
- Node310.setStyle("opacity",1);
- Node310.s({'pixelPerfect':true});
- Node310borderwidth=1;
- Node310.setRotation(0);
- dataModel.add(Node310);
- Node310.a('node.points',Node310compspts);
- Node310.a('node.segments',[1,2]);
- Node310.a('node.color','rgba(192,192,192,1)');
- Node310.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node310.a('node.borderColor','rgba(192,192,192,1)');
- Node310.a('node.background','rgba(192,192,192,1)');
- Node310.a('node.gradient','');
- Node310.a('node.gradientcolor','rgba(192,192,192,1)');
- Node310.a('node.endCompspts',Node310endCompspts);
- Node310.a('node.startCompspts',Node310startCompspts);
- (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 = 'Node310';
- 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);
- }
- })(Node310, Node310.getImage(), Node310compspts, Node310endCompspts, Node310startCompspts);
- var Node311points=[157, 706,157, 798],
- Node311rect=ht.Default.unionPoint([{x:157,y:706},{x:157,y:798}]),
- Node311compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node311points.length;i++){
- if(i%2==0){
- Node311compspts.push(Node311points[i]-Node311rect.x);
- }else{
- Node311compspts.push(Node311points[i]-Node311rect.y);
- }
- }
- var Node311ptslength=Node311compspts.length;
- if (Node311rect.height === 0) {
- Node311compspts[0] -= 0;
- Node311compspts[Node311ptslength-2] += 0;
- } else if (Node311rect.width === 0){
- Node311compspts[1] -= 0;
- Node311compspts[Node311ptslength-1] += 0;
- } else {
- Node311compspts[0] -= 0;
- Node311compspts[1] -= 0;
- Node311compspts[Node311ptslength-2] += 0;
- Node311compspts[Node311ptslength-1] += 0;
- }
- Node311 = new ht.Node();
- Node311.borderWidth = 1;
- Node311rect.width = Node311rect.width === 0 ? 0.0001 : Node311rect.width;
- Node311rect.height = Node311rect.height === 0 ? 0.0001 : Node311rect.height;
- var Node311endCompspts = [Node311compspts[Node311ptslength-2],Node311compspts[Node311ptslength-1],0,0];
- var Node311startCompspts = [Node311compspts[0],Node311compspts[1],0,0];
- Node311.setImage(GD.getPolyLineJSON());
- Node311.setPosition(Node311rect.x+Node311rect.width/2,Node311rect.y+Node311rect.height/2);
- Node311.setSize(Node311rect.width,Node311rect.height);
- Node311.setStyle("opacity",1);
- Node311.s({'pixelPerfect':true});
- Node311borderwidth=1;
- Node311.setRotation(0);
- dataModel.add(Node311);
- Node311.a('node.points',Node311compspts);
- Node311.a('node.segments',[1,2]);
- Node311.a('node.color','rgba(192,192,192,1)');
- Node311.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node311.a('node.borderColor','rgba(192,192,192,1)');
- Node311.a('node.background','rgba(192,192,192,1)');
- Node311.a('node.gradient','');
- Node311.a('node.gradientcolor','rgba(192,192,192,1)');
- Node311.a('node.endCompspts',Node311endCompspts);
- Node311.a('node.startCompspts',Node311startCompspts);
- (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 = 'Node311';
- 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);
- }
- })(Node311, Node311.getImage(), Node311compspts, Node311endCompspts, Node311startCompspts);
- var Node312points=[192, 707,192, 798],
- Node312rect=ht.Default.unionPoint([{x:192,y:707},{x:192,y:798}]),
- Node312compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node312points.length;i++){
- if(i%2==0){
- Node312compspts.push(Node312points[i]-Node312rect.x);
- }else{
- Node312compspts.push(Node312points[i]-Node312rect.y);
- }
- }
- var Node312ptslength=Node312compspts.length;
- if (Node312rect.height === 0) {
- Node312compspts[0] -= 0;
- Node312compspts[Node312ptslength-2] += 0;
- } else if (Node312rect.width === 0){
- Node312compspts[1] -= 0;
- Node312compspts[Node312ptslength-1] += 0;
- } else {
- Node312compspts[0] -= 0;
- Node312compspts[1] -= 0;
- Node312compspts[Node312ptslength-2] += 0;
- Node312compspts[Node312ptslength-1] += 0;
- }
- Node312 = new ht.Node();
- Node312.borderWidth = 1;
- Node312rect.width = Node312rect.width === 0 ? 0.0001 : Node312rect.width;
- Node312rect.height = Node312rect.height === 0 ? 0.0001 : Node312rect.height;
- var Node312endCompspts = [Node312compspts[Node312ptslength-2],Node312compspts[Node312ptslength-1],0,0];
- var Node312startCompspts = [Node312compspts[0],Node312compspts[1],0,0];
- Node312.setImage(GD.getPolyLineJSON());
- Node312.setPosition(Node312rect.x+Node312rect.width/2,Node312rect.y+Node312rect.height/2);
- Node312.setSize(Node312rect.width,Node312rect.height);
- Node312.setStyle("opacity",1);
- Node312.s({'pixelPerfect':true});
- Node312borderwidth=1;
- Node312.setRotation(0);
- dataModel.add(Node312);
- Node312.a('node.points',Node312compspts);
- Node312.a('node.segments',[1,2]);
- Node312.a('node.color','rgba(192,192,192,1)');
- Node312.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node312.a('node.borderColor','rgba(192,192,192,1)');
- Node312.a('node.background','rgba(192,192,192,1)');
- Node312.a('node.gradient','');
- Node312.a('node.gradientcolor','rgba(192,192,192,1)');
- Node312.a('node.endCompspts',Node312endCompspts);
- Node312.a('node.startCompspts',Node312startCompspts);
- (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 = 'Node312';
- 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);
- }
- })(Node312, Node312.getImage(), Node312compspts, Node312endCompspts, Node312startCompspts);
- var Node313points=[260, 707,260, 799],
- Node313rect=ht.Default.unionPoint([{x:260,y:707},{x:260,y:799}]),
- Node313compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node313points.length;i++){
- if(i%2==0){
- Node313compspts.push(Node313points[i]-Node313rect.x);
- }else{
- Node313compspts.push(Node313points[i]-Node313rect.y);
- }
- }
- var Node313ptslength=Node313compspts.length;
- if (Node313rect.height === 0) {
- Node313compspts[0] -= 0;
- Node313compspts[Node313ptslength-2] += 0;
- } else if (Node313rect.width === 0){
- Node313compspts[1] -= 0;
- Node313compspts[Node313ptslength-1] += 0;
- } else {
- Node313compspts[0] -= 0;
- Node313compspts[1] -= 0;
- Node313compspts[Node313ptslength-2] += 0;
- Node313compspts[Node313ptslength-1] += 0;
- }
- Node313 = new ht.Node();
- Node313.borderWidth = 1;
- Node313rect.width = Node313rect.width === 0 ? 0.0001 : Node313rect.width;
- Node313rect.height = Node313rect.height === 0 ? 0.0001 : Node313rect.height;
- var Node313endCompspts = [Node313compspts[Node313ptslength-2],Node313compspts[Node313ptslength-1],0,0];
- var Node313startCompspts = [Node313compspts[0],Node313compspts[1],0,0];
- Node313.setImage(GD.getPolyLineJSON());
- Node313.setPosition(Node313rect.x+Node313rect.width/2,Node313rect.y+Node313rect.height/2);
- Node313.setSize(Node313rect.width,Node313rect.height);
- Node313.setStyle("opacity",1);
- Node313.s({'pixelPerfect':true});
- Node313borderwidth=1;
- Node313.setRotation(0);
- dataModel.add(Node313);
- Node313.a('node.points',Node313compspts);
- Node313.a('node.segments',[1,2]);
- Node313.a('node.color','rgba(192,192,192,1)');
- Node313.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node313.a('node.borderColor','rgba(192,192,192,1)');
- Node313.a('node.background','rgba(192,192,192,1)');
- Node313.a('node.gradient','');
- Node313.a('node.gradientcolor','rgba(192,192,192,1)');
- Node313.a('node.endCompspts',Node313endCompspts);
- Node313.a('node.startCompspts',Node313startCompspts);
- (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 = 'Node313';
- 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);
- }
- })(Node313, Node313.getImage(), Node313compspts, Node313endCompspts, Node313startCompspts);
- var Node314points=[331, 707,331, 798],
- Node314rect=ht.Default.unionPoint([{x:331,y:707},{x:331,y:798}]),
- Node314compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node314points.length;i++){
- if(i%2==0){
- Node314compspts.push(Node314points[i]-Node314rect.x);
- }else{
- Node314compspts.push(Node314points[i]-Node314rect.y);
- }
- }
- var Node314ptslength=Node314compspts.length;
- if (Node314rect.height === 0) {
- Node314compspts[0] -= 0;
- Node314compspts[Node314ptslength-2] += 0;
- } else if (Node314rect.width === 0){
- Node314compspts[1] -= 0;
- Node314compspts[Node314ptslength-1] += 0;
- } else {
- Node314compspts[0] -= 0;
- Node314compspts[1] -= 0;
- Node314compspts[Node314ptslength-2] += 0;
- Node314compspts[Node314ptslength-1] += 0;
- }
- Node314 = new ht.Node();
- Node314.borderWidth = 1;
- Node314rect.width = Node314rect.width === 0 ? 0.0001 : Node314rect.width;
- Node314rect.height = Node314rect.height === 0 ? 0.0001 : Node314rect.height;
- var Node314endCompspts = [Node314compspts[Node314ptslength-2],Node314compspts[Node314ptslength-1],0,0];
- var Node314startCompspts = [Node314compspts[0],Node314compspts[1],0,0];
- Node314.setImage(GD.getPolyLineJSON());
- Node314.setPosition(Node314rect.x+Node314rect.width/2,Node314rect.y+Node314rect.height/2);
- Node314.setSize(Node314rect.width,Node314rect.height);
- Node314.setStyle("opacity",1);
- Node314.s({'pixelPerfect':true});
- Node314borderwidth=1;
- Node314.setRotation(0);
- dataModel.add(Node314);
- Node314.a('node.points',Node314compspts);
- Node314.a('node.segments',[1,2]);
- Node314.a('node.color','rgba(192,192,192,1)');
- Node314.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node314.a('node.borderColor','rgba(192,192,192,1)');
- Node314.a('node.background','rgba(192,192,192,1)');
- Node314.a('node.gradient','');
- Node314.a('node.gradientcolor','rgba(192,192,192,1)');
- Node314.a('node.endCompspts',Node314endCompspts);
- Node314.a('node.startCompspts',Node314startCompspts);
- (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 = 'Node314';
- 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);
- }
- })(Node314, Node314.getImage(), Node314compspts, Node314endCompspts, Node314startCompspts);
- var Node315points=[5, 631,377, 631],
- Node315rect=ht.Default.unionPoint([{x:5,y:631},{x:377,y:631}]),
- Node315compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node315points.length;i++){
- if(i%2==0){
- Node315compspts.push(Node315points[i]-Node315rect.x);
- }else{
- Node315compspts.push(Node315points[i]-Node315rect.y);
- }
- }
- var Node315ptslength=Node315compspts.length;
- if (Node315rect.height === 0) {
- Node315compspts[0] -= 0;
- Node315compspts[Node315ptslength-2] += 0;
- } else if (Node315rect.width === 0){
- Node315compspts[1] -= 0;
- Node315compspts[Node315ptslength-1] += 0;
- } else {
- Node315compspts[0] -= 0;
- Node315compspts[1] -= 0;
- Node315compspts[Node315ptslength-2] += 0;
- Node315compspts[Node315ptslength-1] += 0;
- }
- Node315 = new ht.Node();
- Node315.borderWidth = 1;
- Node315rect.width = Node315rect.width === 0 ? 0.0001 : Node315rect.width;
- Node315rect.height = Node315rect.height === 0 ? 0.0001 : Node315rect.height;
- var Node315endCompspts = [Node315compspts[Node315ptslength-2],Node315compspts[Node315ptslength-1],0,0];
- var Node315startCompspts = [Node315compspts[0],Node315compspts[1],0,0];
- Node315.setImage(GD.getPolyLineJSON());
- Node315.setPosition(Node315rect.x+Node315rect.width/2,Node315rect.y+Node315rect.height/2);
- Node315.setSize(Node315rect.width,Node315rect.height);
- Node315.setStyle("opacity",1);
- Node315.s({'pixelPerfect':true});
- Node315borderwidth=1;
- Node315.setRotation(0);
- dataModel.add(Node315);
- Node315.a('node.points',Node315compspts);
- Node315.a('node.segments',[1,2]);
- Node315.a('node.color','rgba(192,192,192,1)');
- Node315.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node315.a('node.borderColor','rgba(192,192,192,1)');
- Node315.a('node.background','rgba(192,192,192,1)');
- Node315.a('node.gradient','');
- Node315.a('node.gradientcolor','rgba(192,192,192,1)');
- Node315.a('node.endCompspts',Node315endCompspts);
- Node315.a('node.startCompspts',Node315startCompspts);
- (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 = 'Node315';
- 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);
- }
- })(Node315, Node315.getImage(), Node315compspts, Node315endCompspts, Node315startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node316 = new ht.Node();
- var Node316textStart, Node316textWidth, Node316lineStart, Node316align = 'left', Node316fontSize = 13.3333*_ratio.ratioY,Node316width = 39*_ratio.ratioX, Node316height = 16*_ratio.ratioY;
- (function () {
- if (Node316align === 'left') {
- Node316textStart = Node316fontSize * 0.2 > 2 ? Node316fontSize * 0.2 - 4 : Node316fontSize * 0.2 - 9;
- Node316textWidth = Node316width;
- Node316lineStart = 1;
- } else if (Node316align === 'right') {
- Node316textStart = 0;
- Node316textWidth =Node316fontSize <= 8 ? Node316width + Node316fontSize * 0.2 + 6 : Node316width - Node316fontSize * 0.2;
- Node316lineStart = (Node316width - (ht.Default.getTextSize('并网', ' '+ Node316fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node316align === 'center') {
- Node316textStart = -3;
- Node316textWidth = Node316width;
- Node316lineStart = Node316width - ht.Default.getTextSize('并网', ' '+ Node316fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node316.setImage(GD.getTextJSON(Node316width, Node316height, true, false, false, ' '+ Node316fontSize + 'px "Arial"'))
- Node316.setPosition(36*ratio.ratioX, 723*ratio.ratioY);
- Node316.setWidth(Node316width);
- Node316.setHeight(Node316height);
- Node316._nodeType = 'text';
- Node316._disallowEvert = true;
- Node316.setRotation(0*Math.PI/180);
- Node316.a('node.width', Node316width);
- Node316.a('node.height', Node316height);
- Node316.a('node.rect', [0, 0, Node316width, Node316height]);
- Node316.a('node.bordercolor','rgba(128,128,255,1)');
- Node316.a('node.borderwidth', 0);
- Node316.a('node.background','' || 'rgba(0,0,0,0)');
- Node316.a('node.gradient','');
- Node316.a('node.gradientcolor','');
- Node316.a('node.text','并网');
- Node316.a('node.textalign','left');
- Node316.a('node.textvAlign','middle');
- Node316.a('node.textrect', [Node316textStart, 0, Node316textWidth, Node316height]);
- Node316.a('node.color','rgba(128,128,255,1)');
- Node316.a('node.font',' '+ Node316fontSize + 'px "Arial"');
- Node316.a('node.textvisible',true);
- Node316.a('node.linefeed',false);
- if (false) {
- Node316.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node316.a('node.text') || '并网';
- var color=Node316.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node316width,Node316height,13.3333*_ratio.ratioY,"left",color,' '+ Node316fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node316.a('node.underlinepoints',[Node316lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node316fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node316fontSize + 'px "Arial"').width + 6, (Node316height - Node316fontSize) * 0.5*_ratio.ratioY + Node316fontSize + 2 ]);
- Node316.a('node.underlinevisible',false);
- Node316.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node316);
- zoomNodeList.push({
- node: Node316,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node317 = new ht.Node();
- var Node317textStart, Node317textWidth, Node317lineStart, Node317align = 'left', Node317fontSize = 13.3333*_ratio.ratioY,Node317width = 39*_ratio.ratioX, Node317height = 16*_ratio.ratioY;
- (function () {
- if (Node317align === 'left') {
- Node317textStart = Node317fontSize * 0.2 > 2 ? Node317fontSize * 0.2 - 4 : Node317fontSize * 0.2 - 9;
- Node317textWidth = Node317width;
- Node317lineStart = 1;
- } else if (Node317align === 'right') {
- Node317textStart = 0;
- Node317textWidth =Node317fontSize <= 8 ? Node317width + Node317fontSize * 0.2 + 6 : Node317width - Node317fontSize * 0.2;
- Node317lineStart = (Node317width - (ht.Default.getTextSize('维护', ' '+ Node317fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node317align === 'center') {
- Node317textStart = -3;
- Node317textWidth = Node317width;
- Node317lineStart = Node317width - ht.Default.getTextSize('维护', ' '+ Node317fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node317.setImage(GD.getTextJSON(Node317width, Node317height, true, false, false, ' '+ Node317fontSize + 'px "Arial"'))
- Node317.setPosition(37*ratio.ratioX, 753*ratio.ratioY);
- Node317.setWidth(Node317width);
- Node317.setHeight(Node317height);
- Node317._nodeType = 'text';
- Node317._disallowEvert = true;
- Node317.setRotation(0*Math.PI/180);
- Node317.a('node.width', Node317width);
- Node317.a('node.height', Node317height);
- Node317.a('node.rect', [0, 0, Node317width, Node317height]);
- Node317.a('node.bordercolor','rgba(192,64,0,1)');
- Node317.a('node.borderwidth', 0);
- Node317.a('node.background','' || 'rgba(0,0,0,0)');
- Node317.a('node.gradient','');
- Node317.a('node.gradientcolor','');
- Node317.a('node.text','维护');
- Node317.a('node.textalign','left');
- Node317.a('node.textvAlign','middle');
- Node317.a('node.textrect', [Node317textStart, 0, Node317textWidth, Node317height]);
- Node317.a('node.color','rgba(192,64,0,1)');
- Node317.a('node.font',' '+ Node317fontSize + 'px "Arial"');
- Node317.a('node.textvisible',true);
- Node317.a('node.linefeed',false);
- if (false) {
- Node317.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node317.a('node.text') || '维护';
- var color=Node317.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node317width,Node317height,13.3333*_ratio.ratioY,"left",color,' '+ Node317fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node317.a('node.underlinepoints',[Node317lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node317fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node317fontSize + 'px "Arial"').width + 6, (Node317height - Node317fontSize) * 0.5*_ratio.ratioY + Node317fontSize + 2 ]);
- Node317.a('node.underlinevisible',false);
- Node317.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node317);
- zoomNodeList.push({
- node: Node317,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node318 = new ht.Node();
- var Node318textStart, Node318textWidth, Node318lineStart, Node318align = 'left', Node318fontSize = 13.3333*_ratio.ratioY,Node318width = 39*_ratio.ratioX, Node318height = 16*_ratio.ratioY;
- (function () {
- if (Node318align === 'left') {
- Node318textStart = Node318fontSize * 0.2 > 2 ? Node318fontSize * 0.2 - 4 : Node318fontSize * 0.2 - 9;
- Node318textWidth = Node318width;
- Node318lineStart = 1;
- } else if (Node318align === 'right') {
- Node318textStart = 0;
- Node318textWidth =Node318fontSize <= 8 ? Node318width + Node318fontSize * 0.2 + 6 : Node318width - Node318fontSize * 0.2;
- Node318lineStart = (Node318width - (ht.Default.getTextSize('限电', ' '+ Node318fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node318align === 'center') {
- Node318textStart = -3;
- Node318textWidth = Node318width;
- Node318lineStart = Node318width - ht.Default.getTextSize('限电', ' '+ Node318fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node318.setImage(GD.getTextJSON(Node318width, Node318height, true, false, false, ' '+ Node318fontSize + 'px "Arial"'))
- Node318.setPosition(37*ratio.ratioX, 783*ratio.ratioY);
- Node318.setWidth(Node318width);
- Node318.setHeight(Node318height);
- Node318._nodeType = 'text';
- Node318._disallowEvert = true;
- Node318.setRotation(0*Math.PI/180);
- Node318.a('node.width', Node318width);
- Node318.a('node.height', Node318height);
- Node318.a('node.rect', [0, 0, Node318width, Node318height]);
- Node318.a('node.bordercolor','rgba(128,0,128,1)');
- Node318.a('node.borderwidth', 0);
- Node318.a('node.background','' || 'rgba(0,0,0,0)');
- Node318.a('node.gradient','');
- Node318.a('node.gradientcolor','');
- Node318.a('node.text','限电');
- Node318.a('node.textalign','left');
- Node318.a('node.textvAlign','middle');
- Node318.a('node.textrect', [Node318textStart, 0, Node318textWidth, Node318height]);
- Node318.a('node.color','rgba(128,0,128,1)');
- Node318.a('node.font',' '+ Node318fontSize + 'px "Arial"');
- Node318.a('node.textvisible',true);
- Node318.a('node.linefeed',false);
- if (false) {
- Node318.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node318.a('node.text') || '限电';
- var color=Node318.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node318width,Node318height,13.3333*_ratio.ratioY,"left",color,' '+ Node318fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node318.a('node.underlinepoints',[Node318lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node318fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node318fontSize + 'px "Arial"').width + 6, (Node318height - Node318fontSize) * 0.5*_ratio.ratioY + Node318fontSize + 2 ]);
- Node318.a('node.underlinevisible',false);
- Node318.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node318);
- zoomNodeList.push({
- node: Node318,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node319 = new ht.Node();
- var Node319textStart, Node319textWidth, Node319lineStart, Node319align = 'left', Node319fontSize = 13.3333*_ratio.ratioY,Node319width = 39*_ratio.ratioX, Node319height = 16*_ratio.ratioY;
- (function () {
- if (Node319align === 'left') {
- Node319textStart = Node319fontSize * 0.2 > 2 ? Node319fontSize * 0.2 - 4 : Node319fontSize * 0.2 - 9;
- Node319textWidth = Node319width;
- Node319lineStart = 1;
- } else if (Node319align === 'right') {
- Node319textStart = 0;
- Node319textWidth =Node319fontSize <= 8 ? Node319width + Node319fontSize * 0.2 + 6 : Node319width - Node319fontSize * 0.2;
- Node319lineStart = (Node319width - (ht.Default.getTextSize('待机', ' '+ Node319fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node319align === 'center') {
- Node319textStart = -3;
- Node319textWidth = Node319width;
- Node319lineStart = Node319width - ht.Default.getTextSize('待机', ' '+ Node319fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node319.setImage(GD.getTextJSON(Node319width, Node319height, true, false, false, ' '+ Node319fontSize + 'px "Arial"'))
- Node319.setPosition(226*ratio.ratioX, 723*ratio.ratioY);
- Node319.setWidth(Node319width);
- Node319.setHeight(Node319height);
- Node319._nodeType = 'text';
- Node319._disallowEvert = true;
- Node319.setRotation(0*Math.PI/180);
- Node319.a('node.width', Node319width);
- Node319.a('node.height', Node319height);
- Node319.a('node.rect', [0, 0, Node319width, Node319height]);
- Node319.a('node.bordercolor','rgba(0,128,0,1)');
- Node319.a('node.borderwidth', 0);
- Node319.a('node.background','' || 'rgba(0,0,0,0)');
- Node319.a('node.gradient','');
- Node319.a('node.gradientcolor','');
- Node319.a('node.text','待机');
- Node319.a('node.textalign','left');
- Node319.a('node.textvAlign','middle');
- Node319.a('node.textrect', [Node319textStart, 0, Node319textWidth, Node319height]);
- Node319.a('node.color','rgba(0,128,0,1)');
- Node319.a('node.font',' '+ Node319fontSize + 'px "Arial"');
- Node319.a('node.textvisible',true);
- Node319.a('node.linefeed',false);
- if (false) {
- Node319.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node319.a('node.text') || '待机';
- var color=Node319.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node319width,Node319height,13.3333*_ratio.ratioY,"left",color,' '+ Node319fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node319.a('node.underlinepoints',[Node319lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node319fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node319fontSize + 'px "Arial"').width + 6, (Node319height - Node319fontSize) * 0.5*_ratio.ratioY + Node319fontSize + 2 ]);
- Node319.a('node.underlinevisible',false);
- Node319.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node319);
- zoomNodeList.push({
- node: Node319,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node320 = new ht.Node();
- var Node320textStart, Node320textWidth, Node320lineStart, Node320align = 'left', Node320fontSize = 13.3333*_ratio.ratioY,Node320width = 39*_ratio.ratioX, Node320height = 16*_ratio.ratioY;
- (function () {
- if (Node320align === 'left') {
- Node320textStart = Node320fontSize * 0.2 > 2 ? Node320fontSize * 0.2 - 4 : Node320fontSize * 0.2 - 9;
- Node320textWidth = Node320width;
- Node320lineStart = 1;
- } else if (Node320align === 'right') {
- Node320textStart = 0;
- Node320textWidth =Node320fontSize <= 8 ? Node320width + Node320fontSize * 0.2 + 6 : Node320width - Node320fontSize * 0.2;
- Node320lineStart = (Node320width - (ht.Default.getTextSize('故障', ' '+ Node320fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node320align === 'center') {
- Node320textStart = -3;
- Node320textWidth = Node320width;
- Node320lineStart = Node320width - ht.Default.getTextSize('故障', ' '+ Node320fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node320.setImage(GD.getTextJSON(Node320width, Node320height, true, false, false, ' '+ Node320fontSize + 'px "Arial"'))
- Node320.setPosition(227*ratio.ratioX, 753*ratio.ratioY);
- Node320.setWidth(Node320width);
- Node320.setHeight(Node320height);
- Node320._nodeType = 'text';
- Node320._disallowEvert = true;
- Node320.setRotation(0*Math.PI/180);
- Node320.a('node.width', Node320width);
- Node320.a('node.height', Node320height);
- Node320.a('node.rect', [0, 0, Node320width, Node320height]);
- Node320.a('node.bordercolor','rgba(192,0,0,1)');
- Node320.a('node.borderwidth', 0);
- Node320.a('node.background','' || 'rgba(0,0,0,0)');
- Node320.a('node.gradient','');
- Node320.a('node.gradientcolor','');
- Node320.a('node.text','故障');
- Node320.a('node.textalign','left');
- Node320.a('node.textvAlign','middle');
- Node320.a('node.textrect', [Node320textStart, 0, Node320textWidth, Node320height]);
- Node320.a('node.color','rgba(192,0,0,1)');
- Node320.a('node.font',' '+ Node320fontSize + 'px "Arial"');
- Node320.a('node.textvisible',true);
- Node320.a('node.linefeed',false);
- if (false) {
- Node320.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node320.a('node.text') || '故障';
- var color=Node320.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node320width,Node320height,13.3333*_ratio.ratioY,"left",color,' '+ Node320fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node320.a('node.underlinepoints',[Node320lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node320fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node320fontSize + 'px "Arial"').width + 6, (Node320height - Node320fontSize) * 0.5*_ratio.ratioY + Node320fontSize + 2 ]);
- Node320.a('node.underlinevisible',false);
- Node320.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node320);
- zoomNodeList.push({
- node: Node320,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node321 = new ht.Node();
- var Node321textStart, Node321textWidth, Node321lineStart, Node321align = 'left', Node321fontSize = 13.3333*_ratio.ratioY,Node321width = 39*_ratio.ratioX, Node321height = 16*_ratio.ratioY;
- (function () {
- if (Node321align === 'left') {
- Node321textStart = Node321fontSize * 0.2 > 2 ? Node321fontSize * 0.2 - 4 : Node321fontSize * 0.2 - 9;
- Node321textWidth = Node321width;
- Node321lineStart = 1;
- } else if (Node321align === 'right') {
- Node321textStart = 0;
- Node321textWidth =Node321fontSize <= 8 ? Node321width + Node321fontSize * 0.2 + 6 : Node321width - Node321fontSize * 0.2;
- Node321lineStart = (Node321width - (ht.Default.getTextSize('离线', ' '+ Node321fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node321align === 'center') {
- Node321textStart = -3;
- Node321textWidth = Node321width;
- Node321lineStart = Node321width - ht.Default.getTextSize('离线', ' '+ Node321fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node321.setImage(GD.getTextJSON(Node321width, Node321height, true, false, false, ' '+ Node321fontSize + 'px "Arial"'))
- Node321.setPosition(227*ratio.ratioX, 783*ratio.ratioY);
- Node321.setWidth(Node321width);
- Node321.setHeight(Node321height);
- Node321._nodeType = 'text';
- Node321._disallowEvert = true;
- Node321.setRotation(0*Math.PI/180);
- Node321.a('node.width', Node321width);
- Node321.a('node.height', Node321height);
- Node321.a('node.rect', [0, 0, Node321width, Node321height]);
- Node321.a('node.bordercolor','rgba(128,128,128,1)');
- Node321.a('node.borderwidth', 0);
- Node321.a('node.background','' || 'rgba(0,0,0,0)');
- Node321.a('node.gradient','');
- Node321.a('node.gradientcolor','');
- Node321.a('node.text','离线');
- Node321.a('node.textalign','left');
- Node321.a('node.textvAlign','middle');
- Node321.a('node.textrect', [Node321textStart, 0, Node321textWidth, Node321height]);
- Node321.a('node.color','rgba(128,128,128,1)');
- Node321.a('node.font',' '+ Node321fontSize + 'px "Arial"');
- Node321.a('node.textvisible',true);
- Node321.a('node.linefeed',false);
- if (false) {
- Node321.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node321.a('node.text') || '离线';
- var color=Node321.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node321width,Node321height,13.3333*_ratio.ratioY,"left",color,' '+ Node321fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node321.a('node.underlinepoints',[Node321lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node321fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node321fontSize + 'px "Arial"').width + 6, (Node321height - Node321fontSize) * 0.5*_ratio.ratioY + Node321fontSize + 2 ]);
- Node321.a('node.underlinevisible',false);
- Node321.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node321);
- zoomNodeList.push({
- node: Node321,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node322 = new ht.Node();
- var Node322textStart, Node322textWidth, Node322lineStart, Node322align = 'left', Node322fontSize = 13.3333*_ratio.ratioY,Node322width = 29*_ratio.ratioX, Node322height = 25*_ratio.ratioY;
- (function () {
- if (Node322align === 'left') {
- Node322textStart = Node322fontSize * 0.2 > 2 ? Node322fontSize * 0.2 - 4 : Node322fontSize * 0.2 - 9;
- Node322textWidth = Node322width;
- Node322lineStart = 1;
- } else if (Node322align === 'right') {
- Node322textStart = 0;
- Node322textWidth =Node322fontSize <= 8 ? Node322width + Node322fontSize * 0.2 + 6 : Node322width - Node322fontSize * 0.2;
- Node322lineStart = (Node322width - (ht.Default.getTextSize('台', ' '+ Node322fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node322align === 'center') {
- Node322textStart = -3;
- Node322textWidth = Node322width;
- Node322lineStart = Node322width - ht.Default.getTextSize('台', ' '+ Node322fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, ' '+ Node322fontSize + 'px "UniDreamLED"'))
- Node322.setPosition(178*ratio.ratioX, 723*ratio.ratioY);
- Node322.setWidth(Node322width);
- Node322.setHeight(Node322height);
- Node322._nodeType = 'text';
- Node322._disallowEvert = true;
- Node322.setRotation(0*Math.PI/180);
- Node322.a('node.width', Node322width);
- Node322.a('node.height', Node322height);
- Node322.a('node.rect', [0, 0, Node322width, Node322height]);
- Node322.a('node.bordercolor','rgba(64,64,64,1)');
- Node322.a('node.borderwidth', 0);
- Node322.a('node.background','' || 'rgba(0,0,0,0)');
- Node322.a('node.gradient','');
- Node322.a('node.gradientcolor','');
- Node322.a('node.text','台');
- Node322.a('node.textalign','left');
- Node322.a('node.textvAlign','middle');
- Node322.a('node.textrect', [Node322textStart, 0, Node322textWidth, Node322height]);
- Node322.a('node.color','rgba(64,64,64,1)');
- Node322.a('node.font',' '+ Node322fontSize + 'px "UniDreamLED"');
- Node322.a('node.textvisible',true);
- Node322.a('node.linefeed',false);
- if (false) {
- Node322.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node322.a('node.text') || '台';
- var color=Node322.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node322width,Node322height,13.3333*_ratio.ratioY,"left",color,' '+ Node322fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node322.a('node.underlinepoints',[Node322lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node322fontSize + 'px "UniDreamLED"').width + 6, (Node322height - Node322fontSize) * 0.5*_ratio.ratioY + Node322fontSize + 2 ]);
- Node322.a('node.underlinevisible',false);
- Node322.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node322);
- zoomNodeList.push({
- node: Node322,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node323 = new ht.Node();
- var Node323textStart, Node323textWidth, Node323lineStart, Node323align = 'left', Node323fontSize = 13.3333*_ratio.ratioY,Node323width = 29*_ratio.ratioX, Node323height = 25*_ratio.ratioY;
- (function () {
- if (Node323align === 'left') {
- Node323textStart = Node323fontSize * 0.2 > 2 ? Node323fontSize * 0.2 - 4 : Node323fontSize * 0.2 - 9;
- Node323textWidth = Node323width;
- Node323lineStart = 1;
- } else if (Node323align === 'right') {
- Node323textStart = 0;
- Node323textWidth =Node323fontSize <= 8 ? Node323width + Node323fontSize * 0.2 + 6 : Node323width - Node323fontSize * 0.2;
- Node323lineStart = (Node323width - (ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node323align === 'center') {
- Node323textStart = -3;
- Node323textWidth = Node323width;
- Node323lineStart = Node323width - ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node323.setImage(GD.getTextJSON(Node323width, Node323height, true, false, false, ' '+ Node323fontSize + 'px "UniDreamLED"'))
- Node323.setPosition(178*ratio.ratioX, 754*ratio.ratioY);
- Node323.setWidth(Node323width);
- Node323.setHeight(Node323height);
- Node323._nodeType = 'text';
- Node323._disallowEvert = true;
- Node323.setRotation(0*Math.PI/180);
- Node323.a('node.width', Node323width);
- Node323.a('node.height', Node323height);
- Node323.a('node.rect', [0, 0, Node323width, Node323height]);
- Node323.a('node.bordercolor','rgba(64,64,64,1)');
- Node323.a('node.borderwidth', 0);
- Node323.a('node.background','' || 'rgba(0,0,0,0)');
- Node323.a('node.gradient','');
- Node323.a('node.gradientcolor','');
- Node323.a('node.text','台');
- Node323.a('node.textalign','left');
- Node323.a('node.textvAlign','middle');
- Node323.a('node.textrect', [Node323textStart, 0, Node323textWidth, Node323height]);
- Node323.a('node.color','rgba(64,64,64,1)');
- Node323.a('node.font',' '+ Node323fontSize + 'px "UniDreamLED"');
- Node323.a('node.textvisible',true);
- Node323.a('node.linefeed',false);
- if (false) {
- Node323.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node323.a('node.text') || '台';
- var color=Node323.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node323width,Node323height,13.3333*_ratio.ratioY,"left",color,' '+ Node323fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node323.a('node.underlinepoints',[Node323lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node323fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node323fontSize + 'px "UniDreamLED"').width + 6, (Node323height - Node323fontSize) * 0.5*_ratio.ratioY + Node323fontSize + 2 ]);
- Node323.a('node.underlinevisible',false);
- Node323.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node323);
- zoomNodeList.push({
- node: Node323,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node324 = new ht.Node();
- var Node324textStart, Node324textWidth, Node324lineStart, Node324align = 'left', Node324fontSize = 13.3333*_ratio.ratioY,Node324width = 29*_ratio.ratioX, Node324height = 25*_ratio.ratioY;
- (function () {
- if (Node324align === 'left') {
- Node324textStart = Node324fontSize * 0.2 > 2 ? Node324fontSize * 0.2 - 4 : Node324fontSize * 0.2 - 9;
- Node324textWidth = Node324width;
- Node324lineStart = 1;
- } else if (Node324align === 'right') {
- Node324textStart = 0;
- Node324textWidth =Node324fontSize <= 8 ? Node324width + Node324fontSize * 0.2 + 6 : Node324width - Node324fontSize * 0.2;
- Node324lineStart = (Node324width - (ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node324align === 'center') {
- Node324textStart = -3;
- Node324textWidth = Node324width;
- Node324lineStart = Node324width - ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "UniDreamLED"'))
- Node324.setPosition(179*ratio.ratioX, 783*ratio.ratioY);
- Node324.setWidth(Node324width);
- Node324.setHeight(Node324height);
- Node324._nodeType = 'text';
- Node324._disallowEvert = true;
- Node324.setRotation(0*Math.PI/180);
- Node324.a('node.width', Node324width);
- Node324.a('node.height', Node324height);
- Node324.a('node.rect', [0, 0, Node324width, Node324height]);
- Node324.a('node.bordercolor','rgba(64,64,64,1)');
- Node324.a('node.borderwidth', 0);
- Node324.a('node.background','' || 'rgba(0,0,0,0)');
- Node324.a('node.gradient','');
- Node324.a('node.gradientcolor','');
- Node324.a('node.text','台');
- Node324.a('node.textalign','left');
- Node324.a('node.textvAlign','middle');
- Node324.a('node.textrect', [Node324textStart, 0, Node324textWidth, Node324height]);
- Node324.a('node.color','rgba(64,64,64,1)');
- Node324.a('node.font',' '+ Node324fontSize + 'px "UniDreamLED"');
- Node324.a('node.textvisible',true);
- Node324.a('node.linefeed',false);
- if (false) {
- Node324.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node324.a('node.text') || '台';
- var color=Node324.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node324width,Node324height,13.3333*_ratio.ratioY,"left",color,' '+ Node324fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node324.a('node.underlinepoints',[Node324lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node324fontSize + 'px "UniDreamLED"').width + 6, (Node324height - Node324fontSize) * 0.5*_ratio.ratioY + Node324fontSize + 2 ]);
- Node324.a('node.underlinevisible',false);
- Node324.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node324);
- zoomNodeList.push({
- node: Node324,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node325 = new ht.Node();
- var Node325textStart, Node325textWidth, Node325lineStart, Node325align = 'left', Node325fontSize = 13.3333*_ratio.ratioY,Node325width = 29*_ratio.ratioX, Node325height = 25*_ratio.ratioY;
- (function () {
- if (Node325align === 'left') {
- Node325textStart = Node325fontSize * 0.2 > 2 ? Node325fontSize * 0.2 - 4 : Node325fontSize * 0.2 - 9;
- Node325textWidth = Node325width;
- Node325lineStart = 1;
- } else if (Node325align === 'right') {
- Node325textStart = 0;
- Node325textWidth =Node325fontSize <= 8 ? Node325width + Node325fontSize * 0.2 + 6 : Node325width - Node325fontSize * 0.2;
- Node325lineStart = (Node325width - (ht.Default.getTextSize('99', ' '+ Node325fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node325align === 'center') {
- Node325textStart = -3;
- Node325textWidth = Node325width;
- Node325lineStart = Node325width - ht.Default.getTextSize('99', ' '+ Node325fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node325.setImage(GD.getTextJSON(Node325width, Node325height, true, false, false, ' '+ Node325fontSize + 'px "UniDreamLED"'))
- Node325.setPosition(123*ratio.ratioX, 723*ratio.ratioY);
- Node325.setWidth(Node325width);
- Node325.setHeight(Node325height);
- Node325._nodeType = 'text';
- Node325._disallowEvert = true;
- Node325.setRotation(0*Math.PI/180);
- Node325.a('node.width', Node325width);
- Node325.a('node.height', Node325height);
- Node325.a('node.rect', [0, 0, Node325width, Node325height]);
- Node325.a('node.bordercolor','rgba(64,64,64,1)');
- Node325.a('node.borderwidth', 0);
- Node325.a('node.background','' || 'rgba(0,0,0,0)');
- Node325.a('node.gradient','');
- Node325.a('node.gradientcolor','');
- Node325.a('node.text','99');
- Node325.a('node.textalign','left');
- Node325.a('node.textvAlign','middle');
- Node325.a('node.textrect', [Node325textStart, 0, Node325textWidth, Node325height]);
- Node325.a('node.color','rgba(64,64,64,1)');
- Node325.a('node.font',' '+ Node325fontSize + 'px "UniDreamLED"');
- Node325.a('node.textvisible',true);
- Node325.a('node.linefeed',false);
- if (false) {
- Node325.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node325.a('node.text') || '99';
- var color=Node325.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node325width,Node325height,13.3333*_ratio.ratioY,"left",color,' '+ Node325fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node325.a('node.underlinepoints',[Node325lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node325fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node325fontSize + 'px "UniDreamLED"').width + 6, (Node325height - Node325fontSize) * 0.5*_ratio.ratioY + Node325fontSize + 2 ]);
- Node325.a('node.underlinevisible',false);
- Node325.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node325);
- zoomNodeList.push({
- node: Node325,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node326 = new ht.Node();
- var Node326textStart, Node326textWidth, Node326lineStart, Node326align = 'left', Node326fontSize = 13.3333*_ratio.ratioY,Node326width = 29*_ratio.ratioX, Node326height = 25*_ratio.ratioY;
- (function () {
- if (Node326align === 'left') {
- Node326textStart = Node326fontSize * 0.2 > 2 ? Node326fontSize * 0.2 - 4 : Node326fontSize * 0.2 - 9;
- Node326textWidth = Node326width;
- Node326lineStart = 1;
- } else if (Node326align === 'right') {
- Node326textStart = 0;
- Node326textWidth =Node326fontSize <= 8 ? Node326width + Node326fontSize * 0.2 + 6 : Node326width - Node326fontSize * 0.2;
- Node326lineStart = (Node326width - (ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node326align === 'center') {
- Node326textStart = -3;
- Node326textWidth = Node326width;
- Node326lineStart = Node326width - ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node326.setImage(GD.getTextJSON(Node326width, Node326height, true, false, false, ' '+ Node326fontSize + 'px "UniDreamLED"'))
- Node326.setPosition(123*ratio.ratioX, 752*ratio.ratioY);
- Node326.setWidth(Node326width);
- Node326.setHeight(Node326height);
- Node326._nodeType = 'text';
- Node326._disallowEvert = true;
- Node326.setRotation(0*Math.PI/180);
- Node326.a('node.width', Node326width);
- Node326.a('node.height', Node326height);
- Node326.a('node.rect', [0, 0, Node326width, Node326height]);
- Node326.a('node.bordercolor','rgba(64,64,64,1)');
- Node326.a('node.borderwidth', 0);
- Node326.a('node.background','' || 'rgba(0,0,0,0)');
- Node326.a('node.gradient','');
- Node326.a('node.gradientcolor','');
- Node326.a('node.text','0');
- Node326.a('node.textalign','left');
- Node326.a('node.textvAlign','middle');
- Node326.a('node.textrect', [Node326textStart, 0, Node326textWidth, Node326height]);
- Node326.a('node.color','rgba(64,64,64,1)');
- Node326.a('node.font',' '+ Node326fontSize + 'px "UniDreamLED"');
- Node326.a('node.textvisible',true);
- Node326.a('node.linefeed',false);
- if (false) {
- Node326.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node326.a('node.text') || '0';
- var color=Node326.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node326width,Node326height,13.3333*_ratio.ratioY,"left",color,' '+ Node326fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node326.a('node.underlinepoints',[Node326lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node326fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node326fontSize + 'px "UniDreamLED"').width + 6, (Node326height - Node326fontSize) * 0.5*_ratio.ratioY + Node326fontSize + 2 ]);
- Node326.a('node.underlinevisible',false);
- Node326.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node326);
- zoomNodeList.push({
- node: Node326,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node327 = new ht.Node();
- var Node327textStart, Node327textWidth, Node327lineStart, Node327align = 'left', Node327fontSize = 13.3333*_ratio.ratioY,Node327width = 29*_ratio.ratioX, Node327height = 25*_ratio.ratioY;
- (function () {
- if (Node327align === 'left') {
- Node327textStart = Node327fontSize * 0.2 > 2 ? Node327fontSize * 0.2 - 4 : Node327fontSize * 0.2 - 9;
- Node327textWidth = Node327width;
- Node327lineStart = 1;
- } else if (Node327align === 'right') {
- Node327textStart = 0;
- Node327textWidth =Node327fontSize <= 8 ? Node327width + Node327fontSize * 0.2 + 6 : Node327width - Node327fontSize * 0.2;
- Node327lineStart = (Node327width - (ht.Default.getTextSize('0', ' '+ Node327fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node327align === 'center') {
- Node327textStart = -3;
- Node327textWidth = Node327width;
- Node327lineStart = Node327width - ht.Default.getTextSize('0', ' '+ Node327fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node327.setImage(GD.getTextJSON(Node327width, Node327height, true, false, false, ' '+ Node327fontSize + 'px "UniDreamLED"'))
- Node327.setPosition(123*ratio.ratioX, 783*ratio.ratioY);
- Node327.setWidth(Node327width);
- Node327.setHeight(Node327height);
- Node327._nodeType = 'text';
- Node327._disallowEvert = true;
- Node327.setRotation(0*Math.PI/180);
- Node327.a('node.width', Node327width);
- Node327.a('node.height', Node327height);
- Node327.a('node.rect', [0, 0, Node327width, Node327height]);
- Node327.a('node.bordercolor','rgba(64,64,64,1)');
- Node327.a('node.borderwidth', 0);
- Node327.a('node.background','' || 'rgba(0,0,0,0)');
- Node327.a('node.gradient','');
- Node327.a('node.gradientcolor','');
- Node327.a('node.text','0');
- Node327.a('node.textalign','left');
- Node327.a('node.textvAlign','middle');
- Node327.a('node.textrect', [Node327textStart, 0, Node327textWidth, Node327height]);
- Node327.a('node.color','rgba(64,64,64,1)');
- Node327.a('node.font',' '+ Node327fontSize + 'px "UniDreamLED"');
- Node327.a('node.textvisible',true);
- Node327.a('node.linefeed',false);
- if (false) {
- Node327.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node327.a('node.text') || '0';
- var color=Node327.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node327width,Node327height,13.3333*_ratio.ratioY,"left",color,' '+ Node327fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node327.a('node.underlinepoints',[Node327lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node327fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node327fontSize + 'px "UniDreamLED"').width + 6, (Node327height - Node327fontSize) * 0.5*_ratio.ratioY + Node327fontSize + 2 ]);
- Node327.a('node.underlinevisible',false);
- Node327.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node327);
- zoomNodeList.push({
- node: Node327,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node328 = new ht.Node();
- var Node328textStart, Node328textWidth, Node328lineStart, Node328align = 'left', Node328fontSize = 13.3333*_ratio.ratioY,Node328width = 29*_ratio.ratioX, Node328height = 25*_ratio.ratioY;
- (function () {
- if (Node328align === 'left') {
- Node328textStart = Node328fontSize * 0.2 > 2 ? Node328fontSize * 0.2 - 4 : Node328fontSize * 0.2 - 9;
- Node328textWidth = Node328width;
- Node328lineStart = 1;
- } else if (Node328align === 'right') {
- Node328textStart = 0;
- Node328textWidth =Node328fontSize <= 8 ? Node328width + Node328fontSize * 0.2 + 6 : Node328width - Node328fontSize * 0.2;
- Node328lineStart = (Node328width - (ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node328align === 'center') {
- Node328textStart = -3;
- Node328textWidth = Node328width;
- Node328lineStart = Node328width - ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node328.setImage(GD.getTextJSON(Node328width, Node328height, true, false, false, ' '+ Node328fontSize + 'px "UniDreamLED"'))
- Node328.setPosition(300*ratio.ratioX, 723*ratio.ratioY);
- Node328.setWidth(Node328width);
- Node328.setHeight(Node328height);
- Node328._nodeType = 'text';
- Node328._disallowEvert = true;
- Node328.setRotation(0*Math.PI/180);
- Node328.a('node.width', Node328width);
- Node328.a('node.height', Node328height);
- Node328.a('node.rect', [0, 0, Node328width, Node328height]);
- Node328.a('node.bordercolor','rgba(64,64,64,1)');
- Node328.a('node.borderwidth', 0);
- Node328.a('node.background','' || 'rgba(0,0,0,0)');
- Node328.a('node.gradient','');
- Node328.a('node.gradientcolor','');
- Node328.a('node.text','0');
- Node328.a('node.textalign','left');
- Node328.a('node.textvAlign','middle');
- Node328.a('node.textrect', [Node328textStart, 0, Node328textWidth, Node328height]);
- Node328.a('node.color','rgba(64,64,64,1)');
- Node328.a('node.font',' '+ Node328fontSize + 'px "UniDreamLED"');
- Node328.a('node.textvisible',true);
- Node328.a('node.linefeed',false);
- if (false) {
- Node328.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node328.a('node.text') || '0';
- var color=Node328.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node328width,Node328height,13.3333*_ratio.ratioY,"left",color,' '+ Node328fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node328.a('node.underlinepoints',[Node328lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node328fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node328fontSize + 'px "UniDreamLED"').width + 6, (Node328height - Node328fontSize) * 0.5*_ratio.ratioY + Node328fontSize + 2 ]);
- Node328.a('node.underlinevisible',false);
- Node328.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node328);
- zoomNodeList.push({
- node: Node328,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node329 = new ht.Node();
- var Node329textStart, Node329textWidth, Node329lineStart, Node329align = 'left', Node329fontSize = 13.3333*_ratio.ratioY,Node329width = 29*_ratio.ratioX, Node329height = 25*_ratio.ratioY;
- (function () {
- if (Node329align === 'left') {
- Node329textStart = Node329fontSize * 0.2 > 2 ? Node329fontSize * 0.2 - 4 : Node329fontSize * 0.2 - 9;
- Node329textWidth = Node329width;
- Node329lineStart = 1;
- } else if (Node329align === 'right') {
- Node329textStart = 0;
- Node329textWidth =Node329fontSize <= 8 ? Node329width + Node329fontSize * 0.2 + 6 : Node329width - Node329fontSize * 0.2;
- Node329lineStart = (Node329width - (ht.Default.getTextSize('0', ' '+ Node329fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node329align === 'center') {
- Node329textStart = -3;
- Node329textWidth = Node329width;
- Node329lineStart = Node329width - ht.Default.getTextSize('0', ' '+ Node329fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node329.setImage(GD.getTextJSON(Node329width, Node329height, true, false, false, ' '+ Node329fontSize + 'px "UniDreamLED"'))
- Node329.setPosition(300*ratio.ratioX, 752*ratio.ratioY);
- Node329.setWidth(Node329width);
- Node329.setHeight(Node329height);
- Node329._nodeType = 'text';
- Node329._disallowEvert = true;
- Node329.setRotation(0*Math.PI/180);
- Node329.a('node.width', Node329width);
- Node329.a('node.height', Node329height);
- Node329.a('node.rect', [0, 0, Node329width, Node329height]);
- Node329.a('node.bordercolor','rgba(64,64,64,1)');
- Node329.a('node.borderwidth', 0);
- Node329.a('node.background','' || 'rgba(0,0,0,0)');
- Node329.a('node.gradient','');
- Node329.a('node.gradientcolor','');
- Node329.a('node.text','0');
- Node329.a('node.textalign','left');
- Node329.a('node.textvAlign','middle');
- Node329.a('node.textrect', [Node329textStart, 0, Node329textWidth, Node329height]);
- Node329.a('node.color','rgba(64,64,64,1)');
- Node329.a('node.font',' '+ Node329fontSize + 'px "UniDreamLED"');
- Node329.a('node.textvisible',true);
- Node329.a('node.linefeed',false);
- if (false) {
- Node329.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node329.a('node.text') || '0';
- var color=Node329.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node329width,Node329height,13.3333*_ratio.ratioY,"left",color,' '+ Node329fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node329.a('node.underlinepoints',[Node329lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node329fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node329fontSize + 'px "UniDreamLED"').width + 6, (Node329height - Node329fontSize) * 0.5*_ratio.ratioY + Node329fontSize + 2 ]);
- Node329.a('node.underlinevisible',false);
- Node329.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node329);
- zoomNodeList.push({
- node: Node329,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node330 = new ht.Node();
- var Node330textStart, Node330textWidth, Node330lineStart, Node330align = 'left', Node330fontSize = 13.3333*_ratio.ratioY,Node330width = 29*_ratio.ratioX, Node330height = 25*_ratio.ratioY;
- (function () {
- if (Node330align === 'left') {
- Node330textStart = Node330fontSize * 0.2 > 2 ? Node330fontSize * 0.2 - 4 : Node330fontSize * 0.2 - 9;
- Node330textWidth = Node330width;
- Node330lineStart = 1;
- } else if (Node330align === 'right') {
- Node330textStart = 0;
- Node330textWidth =Node330fontSize <= 8 ? Node330width + Node330fontSize * 0.2 + 6 : Node330width - Node330fontSize * 0.2;
- Node330lineStart = (Node330width - (ht.Default.getTextSize('0', ' '+ Node330fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node330align === 'center') {
- Node330textStart = -3;
- Node330textWidth = Node330width;
- Node330lineStart = Node330width - ht.Default.getTextSize('0', ' '+ Node330fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node330.setImage(GD.getTextJSON(Node330width, Node330height, true, false, false, ' '+ Node330fontSize + 'px "UniDreamLED"'))
- Node330.setPosition(300*ratio.ratioX, 783*ratio.ratioY);
- Node330.setWidth(Node330width);
- Node330.setHeight(Node330height);
- Node330._nodeType = 'text';
- Node330._disallowEvert = true;
- Node330.setRotation(0*Math.PI/180);
- Node330.a('node.width', Node330width);
- Node330.a('node.height', Node330height);
- Node330.a('node.rect', [0, 0, Node330width, Node330height]);
- Node330.a('node.bordercolor','rgba(64,64,64,1)');
- Node330.a('node.borderwidth', 0);
- Node330.a('node.background','' || 'rgba(0,0,0,0)');
- Node330.a('node.gradient','');
- Node330.a('node.gradientcolor','');
- Node330.a('node.text','0');
- Node330.a('node.textalign','left');
- Node330.a('node.textvAlign','middle');
- Node330.a('node.textrect', [Node330textStart, 0, Node330textWidth, Node330height]);
- Node330.a('node.color','rgba(64,64,64,1)');
- Node330.a('node.font',' '+ Node330fontSize + 'px "UniDreamLED"');
- Node330.a('node.textvisible',true);
- Node330.a('node.linefeed',false);
- if (false) {
- Node330.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node330.a('node.text') || '0';
- var color=Node330.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node330width,Node330height,13.3333*_ratio.ratioY,"left",color,' '+ Node330fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node330.a('node.underlinepoints',[Node330lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node330fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node330fontSize + 'px "UniDreamLED"').width + 6, (Node330height - Node330fontSize) * 0.5*_ratio.ratioY + Node330fontSize + 2 ]);
- Node330.a('node.underlinevisible',false);
- Node330.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node330);
- zoomNodeList.push({
- node: Node330,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node331 = new ht.Node();
- var Node331textStart, Node331textWidth, Node331lineStart, Node331align = 'left', Node331fontSize = 13.3333*_ratio.ratioY,Node331width = 29*_ratio.ratioX, Node331height = 25*_ratio.ratioY;
- (function () {
- if (Node331align === 'left') {
- Node331textStart = Node331fontSize * 0.2 > 2 ? Node331fontSize * 0.2 - 4 : Node331fontSize * 0.2 - 9;
- Node331textWidth = Node331width;
- Node331lineStart = 1;
- } else if (Node331align === 'right') {
- Node331textStart = 0;
- Node331textWidth =Node331fontSize <= 8 ? Node331width + Node331fontSize * 0.2 + 6 : Node331width - Node331fontSize * 0.2;
- Node331lineStart = (Node331width - (ht.Default.getTextSize('台', ' '+ Node331fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node331align === 'center') {
- Node331textStart = -3;
- Node331textWidth = Node331width;
- Node331lineStart = Node331width - ht.Default.getTextSize('台', ' '+ Node331fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node331.setImage(GD.getTextJSON(Node331width, Node331height, true, false, false, ' '+ Node331fontSize + 'px "UniDreamLED"'))
- Node331.setPosition(354*ratio.ratioX, 722*ratio.ratioY);
- Node331.setWidth(Node331width);
- Node331.setHeight(Node331height);
- Node331._nodeType = 'text';
- Node331._disallowEvert = true;
- Node331.setRotation(0*Math.PI/180);
- Node331.a('node.width', Node331width);
- Node331.a('node.height', Node331height);
- Node331.a('node.rect', [0, 0, Node331width, Node331height]);
- Node331.a('node.bordercolor','rgba(64,64,64,1)');
- Node331.a('node.borderwidth', 0);
- Node331.a('node.background','' || 'rgba(0,0,0,0)');
- Node331.a('node.gradient','');
- Node331.a('node.gradientcolor','');
- Node331.a('node.text','台');
- Node331.a('node.textalign','left');
- Node331.a('node.textvAlign','middle');
- Node331.a('node.textrect', [Node331textStart, 0, Node331textWidth, Node331height]);
- Node331.a('node.color','rgba(64,64,64,1)');
- Node331.a('node.font',' '+ Node331fontSize + 'px "UniDreamLED"');
- Node331.a('node.textvisible',true);
- Node331.a('node.linefeed',false);
- if (false) {
- Node331.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node331.a('node.text') || '台';
- var color=Node331.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node331width,Node331height,13.3333*_ratio.ratioY,"left",color,' '+ Node331fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node331.a('node.underlinepoints',[Node331lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node331fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node331fontSize + 'px "UniDreamLED"').width + 6, (Node331height - Node331fontSize) * 0.5*_ratio.ratioY + Node331fontSize + 2 ]);
- Node331.a('node.underlinevisible',false);
- Node331.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node331);
- zoomNodeList.push({
- node: Node331,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node332 = new ht.Node();
- var Node332textStart, Node332textWidth, Node332lineStart, Node332align = 'left', Node332fontSize = 13.3333*_ratio.ratioY,Node332width = 29*_ratio.ratioX, Node332height = 25*_ratio.ratioY;
- (function () {
- if (Node332align === 'left') {
- Node332textStart = Node332fontSize * 0.2 > 2 ? Node332fontSize * 0.2 - 4 : Node332fontSize * 0.2 - 9;
- Node332textWidth = Node332width;
- Node332lineStart = 1;
- } else if (Node332align === 'right') {
- Node332textStart = 0;
- Node332textWidth =Node332fontSize <= 8 ? Node332width + Node332fontSize * 0.2 + 6 : Node332width - Node332fontSize * 0.2;
- Node332lineStart = (Node332width - (ht.Default.getTextSize('台', ' '+ Node332fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node332align === 'center') {
- Node332textStart = -3;
- Node332textWidth = Node332width;
- Node332lineStart = Node332width - ht.Default.getTextSize('台', ' '+ Node332fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node332.setImage(GD.getTextJSON(Node332width, Node332height, true, false, false, ' '+ Node332fontSize + 'px "UniDreamLED"'))
- Node332.setPosition(354*ratio.ratioX, 753*ratio.ratioY);
- Node332.setWidth(Node332width);
- Node332.setHeight(Node332height);
- Node332._nodeType = 'text';
- Node332._disallowEvert = true;
- Node332.setRotation(0*Math.PI/180);
- Node332.a('node.width', Node332width);
- Node332.a('node.height', Node332height);
- Node332.a('node.rect', [0, 0, Node332width, Node332height]);
- Node332.a('node.bordercolor','rgba(64,64,64,1)');
- Node332.a('node.borderwidth', 0);
- Node332.a('node.background','' || 'rgba(0,0,0,0)');
- Node332.a('node.gradient','');
- Node332.a('node.gradientcolor','');
- Node332.a('node.text','台');
- Node332.a('node.textalign','left');
- Node332.a('node.textvAlign','middle');
- Node332.a('node.textrect', [Node332textStart, 0, Node332textWidth, Node332height]);
- Node332.a('node.color','rgba(64,64,64,1)');
- Node332.a('node.font',' '+ Node332fontSize + 'px "UniDreamLED"');
- Node332.a('node.textvisible',true);
- Node332.a('node.linefeed',false);
- if (false) {
- Node332.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node332.a('node.text') || '台';
- var color=Node332.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node332width,Node332height,13.3333*_ratio.ratioY,"left",color,' '+ Node332fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node332.a('node.underlinepoints',[Node332lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node332fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node332fontSize + 'px "UniDreamLED"').width + 6, (Node332height - Node332fontSize) * 0.5*_ratio.ratioY + Node332fontSize + 2 ]);
- Node332.a('node.underlinevisible',false);
- Node332.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node332);
- zoomNodeList.push({
- node: Node332,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node333 = new ht.Node();
- var Node333textStart, Node333textWidth, Node333lineStart, Node333align = 'left', Node333fontSize = 13.3333*_ratio.ratioY,Node333width = 29*_ratio.ratioX, Node333height = 25*_ratio.ratioY;
- (function () {
- if (Node333align === 'left') {
- Node333textStart = Node333fontSize * 0.2 > 2 ? Node333fontSize * 0.2 - 4 : Node333fontSize * 0.2 - 9;
- Node333textWidth = Node333width;
- Node333lineStart = 1;
- } else if (Node333align === 'right') {
- Node333textStart = 0;
- Node333textWidth =Node333fontSize <= 8 ? Node333width + Node333fontSize * 0.2 + 6 : Node333width - Node333fontSize * 0.2;
- Node333lineStart = (Node333width - (ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node333align === 'center') {
- Node333textStart = -3;
- Node333textWidth = Node333width;
- Node333lineStart = Node333width - ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node333.setImage(GD.getTextJSON(Node333width, Node333height, true, false, false, ' '+ Node333fontSize + 'px "UniDreamLED"'))
- Node333.setPosition(355*ratio.ratioX, 782*ratio.ratioY);
- Node333.setWidth(Node333width);
- Node333.setHeight(Node333height);
- Node333._nodeType = 'text';
- Node333._disallowEvert = true;
- Node333.setRotation(0*Math.PI/180);
- Node333.a('node.width', Node333width);
- Node333.a('node.height', Node333height);
- Node333.a('node.rect', [0, 0, Node333width, Node333height]);
- Node333.a('node.bordercolor','rgba(64,64,64,1)');
- Node333.a('node.borderwidth', 0);
- Node333.a('node.background','' || 'rgba(0,0,0,0)');
- Node333.a('node.gradient','');
- Node333.a('node.gradientcolor','');
- Node333.a('node.text','台');
- Node333.a('node.textalign','left');
- Node333.a('node.textvAlign','middle');
- Node333.a('node.textrect', [Node333textStart, 0, Node333textWidth, Node333height]);
- Node333.a('node.color','rgba(64,64,64,1)');
- Node333.a('node.font',' '+ Node333fontSize + 'px "UniDreamLED"');
- Node333.a('node.textvisible',true);
- Node333.a('node.linefeed',false);
- if (false) {
- Node333.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node333.a('node.text') || '台';
- var color=Node333.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node333width,Node333height,13.3333*_ratio.ratioY,"left",color,' '+ Node333fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node333.a('node.underlinepoints',[Node333lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node333fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node333fontSize + 'px "UniDreamLED"').width + 6, (Node333height - Node333fontSize) * 0.5*_ratio.ratioY + Node333fontSize + 2 ]);
- Node333.a('node.underlinevisible',false);
- Node333.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node333);
- zoomNodeList.push({
- node: Node333,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node334type = 'rect';
- var Node334 = new ht.Node(),
- Node334BorderWidth = 0*2;
- if (Node334type === 'arc') {
- Node334BorderWidth *= 0;
- }
- Node334.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node334type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node334.setPosition(603*ratio.ratioX, 784*ratio.ratioY);
- Node334.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node334.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node334.a('node.width', 66*_ratio.ratioX);
- Node334.a('node.height', 30*_ratio.ratioY);
- Node334.a('node.type', Node334type);
- Node334.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node334.a('node.background', 'rgba(245,245,245,1)');
- Node334.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node334.a('node.gradient', '');
- Node334.a('node.borderwidth', Node334BorderWidth);
- Node334.a('node.color', 'rgba(224,224,224,0)');
- Node334.a('node.fillrect', [0,0,0,0]);
- Node334.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node334.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node334.a('node.fillgradient', '');
- if (Node334type !== 'rect') {
- Node334.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node334.a('node.arcTo', parseFloat('@arcTo@'));
- Node334.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node334type === 'arc') {
- Node334.a('node.arcOval', true);
- }
- Node334.setRotation(0*Math.PI/180);
- Node334.borderWidth = Node334BorderWidth;
- Node334.borderFillwidth = Node334BorderWidth;
- dataModel.add(Node334);
- Node334._nodename = 'Node334'
- Node334._nodeType = 'rect';
- zoomNodeList.push({
- node: Node334,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node334, Node334.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node335type = 'rect';
- var Node335 = new ht.Node(),
- Node335BorderWidth = 0*2;
- if (Node335type === 'arc') {
- Node335BorderWidth *= 0;
- }
- Node335.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node335type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node335.setPosition(603*ratio.ratioX, 753*ratio.ratioY);
- Node335.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node335.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node335.a('node.width', 66*_ratio.ratioX);
- Node335.a('node.height', 30*_ratio.ratioY);
- Node335.a('node.type', Node335type);
- Node335.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node335.a('node.background', 'rgba(245,245,245,1)');
- Node335.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node335.a('node.gradient', '');
- Node335.a('node.borderwidth', Node335BorderWidth);
- Node335.a('node.color', 'rgba(224,224,224,0)');
- Node335.a('node.fillrect', [0,0,0,0]);
- Node335.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node335.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node335.a('node.fillgradient', '');
- if (Node335type !== 'rect') {
- Node335.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node335.a('node.arcTo', parseFloat('@arcTo@'));
- Node335.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node335type === 'arc') {
- Node335.a('node.arcOval', true);
- }
- Node335.setRotation(0*Math.PI/180);
- Node335.borderWidth = Node335BorderWidth;
- Node335.borderFillwidth = Node335BorderWidth;
- dataModel.add(Node335);
- Node335._nodename = 'Node335'
- Node335._nodeType = 'rect';
- zoomNodeList.push({
- node: Node335,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node335, Node335.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node336type = 'rect';
- var Node336 = new ht.Node(),
- Node336BorderWidth = 0*2;
- if (Node336type === 'arc') {
- Node336BorderWidth *= 0;
- }
- Node336.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node336type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node336.setPosition(603*ratio.ratioX, 722*ratio.ratioY);
- Node336.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node336.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node336.a('node.width', 66*_ratio.ratioX);
- Node336.a('node.height', 30*_ratio.ratioY);
- Node336.a('node.type', Node336type);
- Node336.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node336.a('node.background', 'rgba(245,245,245,1)');
- Node336.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node336.a('node.gradient', '');
- Node336.a('node.borderwidth', Node336BorderWidth);
- Node336.a('node.color', 'rgba(224,224,224,0)');
- Node336.a('node.fillrect', [0,0,0,0]);
- Node336.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node336.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node336.a('node.fillgradient', '');
- if (Node336type !== 'rect') {
- Node336.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node336.a('node.arcTo', parseFloat('@arcTo@'));
- Node336.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node336type === 'arc') {
- Node336.a('node.arcOval', true);
- }
- Node336.setRotation(0*Math.PI/180);
- Node336.borderWidth = Node336BorderWidth;
- Node336.borderFillwidth = Node336BorderWidth;
- dataModel.add(Node336);
- Node336._nodename = 'Node336'
- Node336._nodeType = 'rect';
- zoomNodeList.push({
- node: Node336,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node336, Node336.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node337type = 'rect';
- var Node337 = new ht.Node(),
- Node337BorderWidth = 0*2;
- if (Node337type === 'arc') {
- Node337BorderWidth *= 0;
- }
- Node337.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node337type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node337.setPosition(414*ratio.ratioX, 784*ratio.ratioY);
- Node337.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node337.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node337.a('node.width', 66*_ratio.ratioX);
- Node337.a('node.height', 30*_ratio.ratioY);
- Node337.a('node.type', Node337type);
- Node337.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node337.a('node.background', 'rgba(245,245,245,1)');
- Node337.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node337.a('node.gradient', '');
- Node337.a('node.borderwidth', Node337BorderWidth);
- Node337.a('node.color', 'rgba(224,224,224,0)');
- Node337.a('node.fillrect', [0,0,0,0]);
- Node337.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node337.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node337.a('node.fillgradient', '');
- if (Node337type !== 'rect') {
- Node337.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node337.a('node.arcTo', parseFloat('@arcTo@'));
- Node337.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node337type === 'arc') {
- Node337.a('node.arcOval', true);
- }
- Node337.setRotation(0*Math.PI/180);
- Node337.borderWidth = Node337BorderWidth;
- Node337.borderFillwidth = Node337BorderWidth;
- dataModel.add(Node337);
- Node337._nodename = 'Node337'
- Node337._nodeType = 'rect';
- zoomNodeList.push({
- node: Node337,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node337, Node337.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node338type = 'rect';
- var Node338 = new ht.Node(),
- Node338BorderWidth = 0*2;
- if (Node338type === 'arc') {
- Node338BorderWidth *= 0;
- }
- Node338.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node338type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node338.setPosition(414*ratio.ratioX, 752*ratio.ratioY);
- Node338.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node338.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node338.a('node.width', 66*_ratio.ratioX);
- Node338.a('node.height', 30*_ratio.ratioY);
- Node338.a('node.type', Node338type);
- Node338.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node338.a('node.background', 'rgba(245,245,245,1)');
- Node338.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node338.a('node.gradient', '');
- Node338.a('node.borderwidth', Node338BorderWidth);
- Node338.a('node.color', 'rgba(224,224,224,0)');
- Node338.a('node.fillrect', [0,0,0,0]);
- Node338.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node338.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node338.a('node.fillgradient', '');
- if (Node338type !== 'rect') {
- Node338.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node338.a('node.arcTo', parseFloat('@arcTo@'));
- Node338.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node338type === 'arc') {
- Node338.a('node.arcOval', true);
- }
- Node338.setRotation(0*Math.PI/180);
- Node338.borderWidth = Node338BorderWidth;
- Node338.borderFillwidth = Node338BorderWidth;
- dataModel.add(Node338);
- Node338._nodename = 'Node338'
- Node338._nodeType = 'rect';
- zoomNodeList.push({
- node: Node338,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node338, Node338.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node339type = 'rect';
- var Node339 = new ht.Node(),
- Node339BorderWidth = 0*2;
- if (Node339type === 'arc') {
- Node339BorderWidth *= 0;
- }
- Node339.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node339type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node339.setPosition(415*ratio.ratioX, 721*ratio.ratioY);
- Node339.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node339.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node339.a('node.width', 66*_ratio.ratioX);
- Node339.a('node.height', 30*_ratio.ratioY);
- Node339.a('node.type', Node339type);
- Node339.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node339.a('node.background', 'rgba(245,245,245,1)');
- Node339.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node339.a('node.gradient', '');
- Node339.a('node.borderwidth', Node339BorderWidth);
- Node339.a('node.color', 'rgba(224,224,224,0)');
- Node339.a('node.fillrect', [0,0,0,0]);
- Node339.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node339.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node339.a('node.fillgradient', '');
- if (Node339type !== 'rect') {
- Node339.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node339.a('node.arcTo', parseFloat('@arcTo@'));
- Node339.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node339type === 'arc') {
- Node339.a('node.arcOval', true);
- }
- Node339.setRotation(0*Math.PI/180);
- Node339.borderWidth = Node339BorderWidth;
- Node339.borderFillwidth = Node339BorderWidth;
- dataModel.add(Node339);
- Node339._nodename = 'Node339'
- Node339._nodeType = 'rect';
- zoomNodeList.push({
- node: Node339,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node339, Node339.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node340= new ht.Node();
- Node340._borderWidth = 1;
- Node340.setImage({
- width: 373*_ratio.ratioX,
- height:103*_ratio.ratioY,
- clip:function(g, width, height, data){
- drawRoundRect(g,0,0,width,height,3,3,'rgba(192,192,192,1)', Node340._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node340.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node340.background'},
- gradient: {value:'', func: 'attr@Node340.gradient'},
- gradientColor:{value:'', func: 'attr@Node340.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node340.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node340.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node340.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node340.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node340.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node340.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node340.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node340.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node340.borderPattern'}
- }
- ]
- });
- var Node340borderwidth = 1;
- var Node340borderFillwidth = 1*2;
- Node340 .setPosition(567*ratio.ratioX,654*ratio.ratioY);
- Node340.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node340.setRotation(0*Math.PI/180);
- Node340.s({'pixelPerfect':true});
- Node340.a('Node340.borderwidth',1);
- Node340.a('Node340.color','@bordercolor@');
- Node340.a('Node340.background','rgba(255,255,255,0.003921569)');
- Node340.a('Node340.gradient','');
- Node340.a('Node340.gradientcolor','');
- Node340.a('Node340.borderPattern',getDashStyle("Solid"));
- Node340.a('Node340.fillrect',[0,0,0,0]);
- Node340.a('Node340.fillbackcolor','rgba(0, 0, 0, 0)');
- Node340.a('Node340.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node340.a('Node340.fillgradient','');
- Node340borderwidth=1;
- dataModel.add(Node340);
- Node340.borderWidth = 1;
- Node340.borderFillwidth = 1*2;
- Node340._nodename = 'Node340';
- Node340._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node340,
- attr: 'Node340.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- _img.width = width;
- this.a('Node340.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- _img.height = height;
- this.a('Node340.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node340, Node340.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node341 = new ht.Node();
- var Node341textStart, Node341textWidth, Node341lineStart, Node341align = 'left', Node341fontSize = 11.99997*_ratio.ratioY,Node341width = 150*_ratio.ratioX, Node341height = 25*_ratio.ratioY;
- (function () {
- if (Node341align === 'left') {
- Node341textStart = Node341fontSize * 0.2 > 2 ? Node341fontSize * 0.2 - 4 : Node341fontSize * 0.2 - 9;
- Node341textWidth = Node341width;
- Node341lineStart = 1;
- } else if (Node341align === 'right') {
- Node341textStart = 0;
- Node341textWidth =Node341fontSize <= 8 ? Node341width + Node341fontSize * 0.2 + 6 : Node341width - Node341fontSize * 0.2;
- Node341lineStart = (Node341width - (ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node341fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node341align === 'center') {
- Node341textStart = -3;
- Node341textWidth = Node341width;
- Node341lineStart = Node341width - ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node341fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node341.setImage(GD.getTextJSON(Node341width, Node341height, true, false, false, 'bold '+ Node341fontSize + 'px "Arial"'))
- Node341.setPosition(462*ratio.ratioX, 618*ratio.ratioY);
- Node341.setWidth(Node341width);
- Node341.setHeight(Node341height);
- Node341._nodeType = 'text';
- Node341._disallowEvert = true;
- Node341.setRotation(0*Math.PI/180);
- Node341.a('node.width', Node341width);
- Node341.a('node.height', Node341height);
- Node341.a('node.rect', [0, 0, Node341width, Node341height]);
- Node341.a('node.bordercolor','rgba(64,64,64,1)');
- Node341.a('node.borderwidth', 0);
- Node341.a('node.background','' || 'rgba(0,0,0,0)');
- Node341.a('node.gradient','');
- Node341.a('node.gradientcolor','');
- Node341.a('node.text','右玉高家堡风电场');
- Node341.a('node.textalign','left');
- Node341.a('node.textvAlign','middle');
- Node341.a('node.textrect', [Node341textStart, 0, Node341textWidth, Node341height]);
- Node341.a('node.color','rgba(64,64,64,1)');
- Node341.a('node.font','bold '+ Node341fontSize + 'px "Arial"');
- Node341.a('node.textvisible',true);
- Node341.a('node.linefeed',false);
- if (false) {
- Node341.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node341.a('node.text') || '右玉高家堡风电场';
- var color=Node341.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node341width,Node341height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node341fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node341.a('node.underlinepoints',[Node341lineStart, (25 - 11.99997) * 0.5 * _ratio.ratioY + Node341fontSize + 2 , ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node341fontSize + 'px "Arial"').width + 6, (Node341height - Node341fontSize) * 0.5*_ratio.ratioY + Node341fontSize + 2 ]);
- Node341.a('node.underlinevisible',false);
- Node341.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node341);
- zoomNodeList.push({
- node: Node341,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node342 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 662*ratio.ratioX, 618*ratio.ratioY, 0, {text:'132',visible:true,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:true,italic:false,textAlign:'center',backImage:'image//img//page_ztjs_sx_lv.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node343 = new ht.Node();
- var Node343textStart, Node343textWidth, Node343lineStart, Node343align = 'left', Node343fontSize = 11.99997*_ratio.ratioY,Node343width = 40*_ratio.ratioX, Node343height = 21*_ratio.ratioY;
- (function () {
- if (Node343align === 'left') {
- Node343textStart = Node343fontSize * 0.2 > 2 ? Node343fontSize * 0.2 - 4 : Node343fontSize * 0.2 - 9;
- Node343textWidth = Node343width;
- Node343lineStart = 1;
- } else if (Node343align === 'right') {
- Node343textStart = 0;
- Node343textWidth =Node343fontSize <= 8 ? Node343width + Node343fontSize * 0.2 + 6 : Node343width - Node343fontSize * 0.2;
- Node343lineStart = (Node343width - (ht.Default.getTextSize('4.48', ' '+ Node343fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node343align === 'center') {
- Node343textStart = -3;
- Node343textWidth = Node343width;
- Node343lineStart = Node343width - ht.Default.getTextSize('4.48', ' '+ Node343fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node343.setImage(GD.getTextJSON(Node343width, Node343height, true, false, false, ' '+ Node343fontSize + 'px "UniDreamLED"'))
- Node343.setPosition(517*ratio.ratioX, 662*ratio.ratioY);
- Node343.setWidth(Node343width);
- Node343.setHeight(Node343height);
- Node343._nodeType = 'text';
- Node343._disallowEvert = true;
- Node343.setRotation(0*Math.PI/180);
- Node343.a('node.width', Node343width);
- Node343.a('node.height', Node343height);
- Node343.a('node.rect', [0, 0, Node343width, Node343height]);
- Node343.a('node.bordercolor','rgba(0,0,0,1)');
- Node343.a('node.borderwidth', 0);
- Node343.a('node.background','' || 'rgba(0,0,0,0)');
- Node343.a('node.gradient','');
- Node343.a('node.gradientcolor','');
- Node343.a('node.text','4.48');
- Node343.a('node.textalign','left');
- Node343.a('node.textvAlign','middle');
- Node343.a('node.textrect', [Node343textStart, 0, Node343textWidth, Node343height]);
- Node343.a('node.color','rgba(0,0,0,1)');
- Node343.a('node.font',' '+ Node343fontSize + 'px "UniDreamLED"');
- Node343.a('node.textvisible',true);
- Node343.a('node.linefeed',false);
- if (false) {
- Node343.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node343.a('node.text') || '4.48';
- var color=Node343.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node343width,Node343height,11.99997*_ratio.ratioY,"left",color,' '+ Node343fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node343.a('node.underlinepoints',[Node343lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node343fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node343fontSize + 'px "UniDreamLED"').width + 6, (Node343height - Node343fontSize) * 0.5*_ratio.ratioY + Node343fontSize + 2 ]);
- Node343.a('node.underlinevisible',false);
- Node343.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node343);
- zoomNodeList.push({
- node: Node343,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node344 = new ht.Node();
- var Node344textStart, Node344textWidth, Node344lineStart, Node344align = 'left', Node344fontSize = 11.99997*_ratio.ratioY,Node344width = 40*_ratio.ratioX, Node344height = 21*_ratio.ratioY;
- (function () {
- if (Node344align === 'left') {
- Node344textStart = Node344fontSize * 0.2 > 2 ? Node344fontSize * 0.2 - 4 : Node344fontSize * 0.2 - 9;
- Node344textWidth = Node344width;
- Node344lineStart = 1;
- } else if (Node344align === 'right') {
- Node344textStart = 0;
- Node344textWidth =Node344fontSize <= 8 ? Node344width + Node344fontSize * 0.2 + 6 : Node344width - Node344fontSize * 0.2;
- Node344lineStart = (Node344width - (ht.Default.getTextSize('m/s', ' '+ Node344fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node344align === 'center') {
- Node344textStart = -3;
- Node344textWidth = Node344width;
- Node344lineStart = Node344width - ht.Default.getTextSize('m/s', ' '+ Node344fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node344.setImage(GD.getTextJSON(Node344width, Node344height, true, false, false, ' '+ Node344fontSize + 'px "Arial"'))
- Node344.setPosition(517*ratio.ratioX, 683*ratio.ratioY);
- Node344.setWidth(Node344width);
- Node344.setHeight(Node344height);
- Node344._nodeType = 'text';
- Node344._disallowEvert = true;
- Node344.setRotation(0*Math.PI/180);
- Node344.a('node.width', Node344width);
- Node344.a('node.height', Node344height);
- Node344.a('node.rect', [0, 0, Node344width, Node344height]);
- Node344.a('node.bordercolor','rgba(0,0,0,1)');
- Node344.a('node.borderwidth', 0);
- Node344.a('node.background','' || 'rgba(0,0,0,0)');
- Node344.a('node.gradient','');
- Node344.a('node.gradientcolor','');
- Node344.a('node.text','m/s');
- Node344.a('node.textalign','left');
- Node344.a('node.textvAlign','middle');
- Node344.a('node.textrect', [Node344textStart, 0, Node344textWidth, Node344height]);
- Node344.a('node.color','rgba(0,0,0,1)');
- Node344.a('node.font',' '+ Node344fontSize + 'px "Arial"');
- Node344.a('node.textvisible',true);
- Node344.a('node.linefeed',false);
- if (false) {
- Node344.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node344.a('node.text') || 'm/s';
- var color=Node344.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node344width,Node344height,11.99997*_ratio.ratioY,"left",color,' '+ Node344fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node344.a('node.underlinepoints',[Node344lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node344fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node344fontSize + 'px "Arial"').width + 6, (Node344height - Node344fontSize) * 0.5*_ratio.ratioY + Node344fontSize + 2 ]);
- Node344.a('node.underlinevisible',false);
- Node344.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node344);
- zoomNodeList.push({
- node: Node344,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node345 = new ht.Node();
- var Node345textStart, Node345textWidth, Node345lineStart, Node345align = 'left', Node345fontSize = 11.99997*_ratio.ratioY,Node345width = 40*_ratio.ratioX, Node345height = 21*_ratio.ratioY;
- (function () {
- if (Node345align === 'left') {
- Node345textStart = Node345fontSize * 0.2 > 2 ? Node345fontSize * 0.2 - 4 : Node345fontSize * 0.2 - 9;
- Node345textWidth = Node345width;
- Node345lineStart = 1;
- } else if (Node345align === 'right') {
- Node345textStart = 0;
- Node345textWidth =Node345fontSize <= 8 ? Node345width + Node345fontSize * 0.2 + 6 : Node345width - Node345fontSize * 0.2;
- Node345lineStart = (Node345width - (ht.Default.getTextSize('功率', 'bold '+ Node345fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node345align === 'center') {
- Node345textStart = -3;
- Node345textWidth = Node345width;
- Node345lineStart = Node345width - ht.Default.getTextSize('功率', 'bold '+ Node345fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node345.setImage(GD.getTextJSON(Node345width, Node345height, true, false, false, 'bold '+ Node345fontSize + 'px "Arial"'))
- Node345.setPosition(577*ratio.ratioX, 650*ratio.ratioY);
- Node345.setWidth(Node345width);
- Node345.setHeight(Node345height);
- Node345._nodeType = 'text';
- Node345._disallowEvert = true;
- Node345.setRotation(0*Math.PI/180);
- Node345.a('node.width', Node345width);
- Node345.a('node.height', Node345height);
- Node345.a('node.rect', [0, 0, Node345width, Node345height]);
- Node345.a('node.bordercolor','rgba(64,64,64,1)');
- Node345.a('node.borderwidth', 0);
- Node345.a('node.background','' || 'rgba(0,0,0,0)');
- Node345.a('node.gradient','');
- Node345.a('node.gradientcolor','');
- Node345.a('node.text','功率');
- Node345.a('node.textalign','left');
- Node345.a('node.textvAlign','middle');
- Node345.a('node.textrect', [Node345textStart, 0, Node345textWidth, Node345height]);
- Node345.a('node.color','rgba(64,64,64,1)');
- Node345.a('node.font','bold '+ Node345fontSize + 'px "Arial"');
- Node345.a('node.textvisible',true);
- Node345.a('node.linefeed',false);
- if (false) {
- Node345.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node345.a('node.text') || '功率';
- var color=Node345.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node345width,Node345height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node345fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node345.a('node.underlinepoints',[Node345lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node345fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node345fontSize + 'px "Arial"').width + 6, (Node345height - Node345fontSize) * 0.5*_ratio.ratioY + Node345fontSize + 2 ]);
- Node345.a('node.underlinevisible',false);
- Node345.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node345);
- zoomNodeList.push({
- node: Node345,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node346 = new ht.Node();
- var Node346textStart, Node346textWidth, Node346lineStart, Node346align = 'left', Node346fontSize = 11.99997*_ratio.ratioY,Node346width = 44*_ratio.ratioX, Node346height = 21*_ratio.ratioY;
- (function () {
- if (Node346align === 'left') {
- Node346textStart = Node346fontSize * 0.2 > 2 ? Node346fontSize * 0.2 - 4 : Node346fontSize * 0.2 - 9;
- Node346textWidth = Node346width;
- Node346lineStart = 1;
- } else if (Node346align === 'right') {
- Node346textStart = 0;
- Node346textWidth =Node346fontSize <= 8 ? Node346width + Node346fontSize * 0.2 + 6 : Node346width - Node346fontSize * 0.2;
- Node346lineStart = (Node346width - (ht.Default.getTextSize('发电量', 'bold '+ Node346fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node346align === 'center') {
- Node346textStart = -3;
- Node346textWidth = Node346width;
- Node346lineStart = Node346width - ht.Default.getTextSize('发电量', 'bold '+ Node346fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node346.setImage(GD.getTextJSON(Node346width, Node346height, true, false, false, 'bold '+ Node346fontSize + 'px "Arial"'))
- Node346.setPosition(579*ratio.ratioX, 684*ratio.ratioY);
- Node346.setWidth(Node346width);
- Node346.setHeight(Node346height);
- Node346._nodeType = 'text';
- Node346._disallowEvert = true;
- Node346.setRotation(0*Math.PI/180);
- Node346.a('node.width', Node346width);
- Node346.a('node.height', Node346height);
- Node346.a('node.rect', [0, 0, Node346width, Node346height]);
- Node346.a('node.bordercolor','rgba(64,64,64,1)');
- Node346.a('node.borderwidth', 0);
- Node346.a('node.background','' || 'rgba(0,0,0,0)');
- Node346.a('node.gradient','');
- Node346.a('node.gradientcolor','');
- Node346.a('node.text','发电量');
- Node346.a('node.textalign','left');
- Node346.a('node.textvAlign','middle');
- Node346.a('node.textrect', [Node346textStart, 0, Node346textWidth, Node346height]);
- Node346.a('node.color','rgba(64,64,64,1)');
- Node346.a('node.font','bold '+ Node346fontSize + 'px "Arial"');
- Node346.a('node.textvisible',true);
- Node346.a('node.linefeed',false);
- if (false) {
- Node346.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node346.a('node.text') || '发电量';
- var color=Node346.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node346width,Node346height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node346fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node346.a('node.underlinepoints',[Node346lineStart, (21 - 11.99997) * 0.5 * _ratio.ratioY + Node346fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node346fontSize + 'px "Arial"').width + 6, (Node346height - Node346fontSize) * 0.5*_ratio.ratioY + Node346fontSize + 2 ]);
- Node346.a('node.underlinevisible',false);
- Node346.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node346);
- zoomNodeList.push({
- node: Node346,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node347 = new ht.Node();
- var Node347textStart, Node347textWidth, Node347lineStart, Node347align = 'left', Node347fontSize = 13.3333*_ratio.ratioY,Node347width = 29*_ratio.ratioX, Node347height = 25*_ratio.ratioY;
- (function () {
- if (Node347align === 'left') {
- Node347textStart = Node347fontSize * 0.2 > 2 ? Node347fontSize * 0.2 - 4 : Node347fontSize * 0.2 - 9;
- Node347textWidth = Node347width;
- Node347lineStart = 1;
- } else if (Node347align === 'right') {
- Node347textStart = 0;
- Node347textWidth =Node347fontSize <= 8 ? Node347width + Node347fontSize * 0.2 + 6 : Node347width - Node347fontSize * 0.2;
- Node347lineStart = (Node347width - (ht.Default.getTextSize('台', ' '+ Node347fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node347align === 'center') {
- Node347textStart = -3;
- Node347textWidth = Node347width;
- Node347lineStart = Node347width - ht.Default.getTextSize('台', ' '+ Node347fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node347.setImage(GD.getTextJSON(Node347width, Node347height, true, false, false, ' '+ Node347fontSize + 'px "Arial"'))
- Node347.setPosition(727*ratio.ratioX, 619*ratio.ratioY);
- Node347.setWidth(Node347width);
- Node347.setHeight(Node347height);
- Node347._nodeType = 'text';
- Node347._disallowEvert = true;
- Node347.setRotation(0*Math.PI/180);
- Node347.a('node.width', Node347width);
- Node347.a('node.height', Node347height);
- Node347.a('node.rect', [0, 0, Node347width, Node347height]);
- Node347.a('node.bordercolor','rgba(64,64,64,1)');
- Node347.a('node.borderwidth', 0);
- Node347.a('node.background','' || 'rgba(0,0,0,0)');
- Node347.a('node.gradient','');
- Node347.a('node.gradientcolor','');
- Node347.a('node.text','台');
- Node347.a('node.textalign','left');
- Node347.a('node.textvAlign','middle');
- Node347.a('node.textrect', [Node347textStart, 0, Node347textWidth, Node347height]);
- Node347.a('node.color','rgba(64,64,64,1)');
- Node347.a('node.font',' '+ Node347fontSize + 'px "Arial"');
- Node347.a('node.textvisible',true);
- Node347.a('node.linefeed',false);
- if (false) {
- Node347.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node347.a('node.text') || '台';
- var color=Node347.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node347width,Node347height,13.3333*_ratio.ratioY,"left",color,' '+ Node347fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node347.a('node.underlinepoints',[Node347lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node347fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node347fontSize + 'px "Arial"').width + 6, (Node347height - Node347fontSize) * 0.5*_ratio.ratioY + Node347fontSize + 2 ]);
- Node347.a('node.underlinevisible',false);
- Node347.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node347);
- zoomNodeList.push({
- node: Node347,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node348 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 650*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node349 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 648*ratio.ratioX, 650*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node350 = new ht.Node();
- var Node350textStart, Node350textWidth, Node350lineStart, Node350align = 'left', Node350fontSize = 13.3333*_ratio.ratioY,Node350width = 29*_ratio.ratioX, Node350height = 25*_ratio.ratioY;
- (function () {
- if (Node350align === 'left') {
- Node350textStart = Node350fontSize * 0.2 > 2 ? Node350fontSize * 0.2 - 4 : Node350fontSize * 0.2 - 9;
- Node350textWidth = Node350width;
- Node350lineStart = 1;
- } else if (Node350align === 'right') {
- Node350textStart = 0;
- Node350textWidth =Node350fontSize <= 8 ? Node350width + Node350fontSize * 0.2 + 6 : Node350width - Node350fontSize * 0.2;
- Node350lineStart = (Node350width - (ht.Default.getTextSize('MW', ' '+ Node350fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node350align === 'center') {
- Node350textStart = -3;
- Node350textWidth = Node350width;
- Node350lineStart = Node350width - ht.Default.getTextSize('MW', ' '+ Node350fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node350.setImage(GD.getTextJSON(Node350width, Node350height, true, false, false, ' '+ Node350fontSize + 'px "Arial"'))
- Node350.setPosition(719*ratio.ratioX, 649*ratio.ratioY);
- Node350.setWidth(Node350width);
- Node350.setHeight(Node350height);
- Node350._nodeType = 'text';
- Node350._disallowEvert = true;
- Node350.setRotation(0*Math.PI/180);
- Node350.a('node.width', Node350width);
- Node350.a('node.height', Node350height);
- Node350.a('node.rect', [0, 0, Node350width, Node350height]);
- Node350.a('node.bordercolor','rgba(64,64,64,1)');
- Node350.a('node.borderwidth', 0);
- Node350.a('node.background','' || 'rgba(0,0,0,0)');
- Node350.a('node.gradient','');
- Node350.a('node.gradientcolor','');
- Node350.a('node.text','MW');
- Node350.a('node.textalign','left');
- Node350.a('node.textvAlign','middle');
- Node350.a('node.textrect', [Node350textStart, 0, Node350textWidth, Node350height]);
- Node350.a('node.color','rgba(64,64,64,1)');
- Node350.a('node.font',' '+ Node350fontSize + 'px "Arial"');
- Node350.a('node.textvisible',true);
- Node350.a('node.linefeed',false);
- if (false) {
- Node350.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node350.a('node.text') || 'MW';
- var color=Node350.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node350width,Node350height,13.3333*_ratio.ratioY,"left",color,' '+ Node350fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node350.a('node.underlinepoints',[Node350lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node350fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node350fontSize + 'px "Arial"').width + 6, (Node350height - Node350fontSize) * 0.5*_ratio.ratioY + Node350fontSize + 2 ]);
- Node350.a('node.underlinevisible',false);
- Node350.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node350);
- zoomNodeList.push({
- node: Node350,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node351 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 684*ratio.ratioY, 0, {text:'-',visible:false,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//page_ztjs_sx_jingguo.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node352 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 649*ratio.ratioX, 684*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//page_ztjs_sx_z_bj.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node353 = new ht.Node();
- var Node353textStart, Node353textWidth, Node353lineStart, Node353align = 'left', Node353fontSize = 13.3333*_ratio.ratioY,Node353width = 43*_ratio.ratioX, Node353height = 25*_ratio.ratioY;
- (function () {
- if (Node353align === 'left') {
- Node353textStart = Node353fontSize * 0.2 > 2 ? Node353fontSize * 0.2 - 4 : Node353fontSize * 0.2 - 9;
- Node353textWidth = Node353width;
- Node353lineStart = 1;
- } else if (Node353align === 'right') {
- Node353textStart = 0;
- Node353textWidth =Node353fontSize <= 8 ? Node353width + Node353fontSize * 0.2 + 6 : Node353width - Node353fontSize * 0.2;
- Node353lineStart = (Node353width - (ht.Default.getTextSize('万kwh', ' '+ Node353fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node353align === 'center') {
- Node353textStart = -3;
- Node353textWidth = Node353width;
- Node353lineStart = Node353width - ht.Default.getTextSize('万kwh', ' '+ Node353fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node353.setImage(GD.getTextJSON(Node353width, Node353height, true, false, false, ' '+ Node353fontSize + 'px "Arial"'))
- Node353.setPosition(727*ratio.ratioX, 684*ratio.ratioY);
- Node353.setWidth(Node353width);
- Node353.setHeight(Node353height);
- Node353._nodeType = 'text';
- Node353._disallowEvert = true;
- Node353.setRotation(0*Math.PI/180);
- Node353.a('node.width', Node353width);
- Node353.a('node.height', Node353height);
- Node353.a('node.rect', [0, 0, Node353width, Node353height]);
- Node353.a('node.bordercolor','rgba(64,64,64,1)');
- Node353.a('node.borderwidth', 0);
- Node353.a('node.background','' || 'rgba(0,0,0,0)');
- Node353.a('node.gradient','');
- Node353.a('node.gradientcolor','');
- Node353.a('node.text','万kwh');
- Node353.a('node.textalign','left');
- Node353.a('node.textvAlign','middle');
- Node353.a('node.textrect', [Node353textStart, 0, Node353textWidth, Node353height]);
- Node353.a('node.color','rgba(64,64,64,1)');
- Node353.a('node.font',' '+ Node353fontSize + 'px "Arial"');
- Node353.a('node.textvisible',true);
- Node353.a('node.linefeed',false);
- if (false) {
- Node353.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node353.a('node.text') || '万kwh';
- var color=Node353.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node353width,Node353height,13.3333*_ratio.ratioY,"left",color,' '+ Node353fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node353.a('node.underlinepoints',[Node353lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node353fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node353fontSize + 'px "Arial"').width + 6, (Node353height - Node353fontSize) * 0.5*_ratio.ratioY + Node353fontSize + 2 ]);
- Node353.a('node.underlinevisible',false);
- Node353.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node353);
- zoomNodeList.push({
- node: Node353,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node354type = 'rect';
- var Node354 = new ht.Node(),
- Node354BorderWidth = 1*2;
- if (Node354type === 'arc') {
- Node354BorderWidth *= 1;
- }
- Node354.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node354type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node354.setPosition(567*ratio.ratioX, 752*ratio.ratioY);
- Node354.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node354.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node354.a('node.width', 373*_ratio.ratioX);
- Node354.a('node.height', 93*_ratio.ratioY);
- Node354.a('node.type', Node354type);
- Node354.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node354.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node354.a('node.gradientcolor', '');
- Node354.a('node.gradient', '');
- Node354.a('node.borderwidth', Node354BorderWidth);
- Node354.a('node.color', 'rgba(192,192,192,1)');
- Node354.a('node.fillrect', [0,0,0,0]);
- Node354.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node354.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node354.a('node.fillgradient', '');
- if (Node354type !== 'rect') {
- Node354.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node354.a('node.arcTo', parseFloat('@arcTo@'));
- Node354.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node354type === 'arc') {
- Node354.a('node.arcOval', true);
- }
- Node354.setRotation(0*Math.PI/180);
- Node354.borderWidth = Node354BorderWidth;
- Node354.borderFillwidth = Node354BorderWidth;
- dataModel.add(Node354);
- Node354._nodename = 'Node354'
- Node354._nodeType = 'rect';
- zoomNodeList.push({
- node: Node354,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node354, Node354.getImage());var Node355points=[381, 737,754, 737],
- Node355rect=ht.Default.unionPoint([{x:381,y:737},{x:754,y:737}]),
- Node355compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node355points.length;i++){
- if(i%2==0){
- Node355compspts.push(Node355points[i]-Node355rect.x);
- }else{
- Node355compspts.push(Node355points[i]-Node355rect.y);
- }
- }
- var Node355ptslength=Node355compspts.length;
- if (Node355rect.height === 0) {
- Node355compspts[0] -= 0;
- Node355compspts[Node355ptslength-2] += 0;
- } else if (Node355rect.width === 0){
- Node355compspts[1] -= 0;
- Node355compspts[Node355ptslength-1] += 0;
- } else {
- Node355compspts[0] -= 0;
- Node355compspts[1] -= 0;
- Node355compspts[Node355ptslength-2] += 0;
- Node355compspts[Node355ptslength-1] += 0;
- }
- Node355 = new ht.Node();
- Node355.borderWidth = 1;
- Node355rect.width = Node355rect.width === 0 ? 0.0001 : Node355rect.width;
- Node355rect.height = Node355rect.height === 0 ? 0.0001 : Node355rect.height;
- var Node355endCompspts = [Node355compspts[Node355ptslength-2],Node355compspts[Node355ptslength-1],0,0];
- var Node355startCompspts = [Node355compspts[0],Node355compspts[1],0,0];
- Node355.setImage(GD.getPolyLineJSON());
- Node355.setPosition(Node355rect.x+Node355rect.width/2,Node355rect.y+Node355rect.height/2);
- Node355.setSize(Node355rect.width,Node355rect.height);
- Node355.setStyle("opacity",1);
- Node355.s({'pixelPerfect':true});
- Node355borderwidth=1;
- Node355.setRotation(0);
- dataModel.add(Node355);
- Node355.a('node.points',Node355compspts);
- Node355.a('node.segments',[1,2]);
- Node355.a('node.color','rgba(192,192,192,1)');
- Node355.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node355.a('node.borderColor','rgba(192,192,192,1)');
- Node355.a('node.background','rgba(192,192,192,1)');
- Node355.a('node.gradient','');
- Node355.a('node.gradientcolor','rgba(192,192,192,1)');
- Node355.a('node.endCompspts',Node355endCompspts);
- Node355.a('node.startCompspts',Node355startCompspts);
- (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 = 'Node355';
- 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);
- }
- })(Node355, Node355.getImage(), Node355compspts, Node355endCompspts, Node355startCompspts);
- var Node356points=[381, 768,754, 768],
- Node356rect=ht.Default.unionPoint([{x:381,y:768},{x:754,y:768}]),
- Node356compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node356points.length;i++){
- if(i%2==0){
- Node356compspts.push(Node356points[i]-Node356rect.x);
- }else{
- Node356compspts.push(Node356points[i]-Node356rect.y);
- }
- }
- var Node356ptslength=Node356compspts.length;
- if (Node356rect.height === 0) {
- Node356compspts[0] -= 0;
- Node356compspts[Node356ptslength-2] += 0;
- } else if (Node356rect.width === 0){
- Node356compspts[1] -= 0;
- Node356compspts[Node356ptslength-1] += 0;
- } else {
- Node356compspts[0] -= 0;
- Node356compspts[1] -= 0;
- Node356compspts[Node356ptslength-2] += 0;
- Node356compspts[Node356ptslength-1] += 0;
- }
- Node356 = new ht.Node();
- Node356.borderWidth = 1;
- Node356rect.width = Node356rect.width === 0 ? 0.0001 : Node356rect.width;
- Node356rect.height = Node356rect.height === 0 ? 0.0001 : Node356rect.height;
- var Node356endCompspts = [Node356compspts[Node356ptslength-2],Node356compspts[Node356ptslength-1],0,0];
- var Node356startCompspts = [Node356compspts[0],Node356compspts[1],0,0];
- Node356.setImage(GD.getPolyLineJSON());
- Node356.setPosition(Node356rect.x+Node356rect.width/2,Node356rect.y+Node356rect.height/2);
- Node356.setSize(Node356rect.width,Node356rect.height);
- Node356.setStyle("opacity",1);
- Node356.s({'pixelPerfect':true});
- Node356borderwidth=1;
- Node356.setRotation(0);
- dataModel.add(Node356);
- Node356.a('node.points',Node356compspts);
- Node356.a('node.segments',[1,2]);
- Node356.a('node.color','rgba(192,192,192,1)');
- Node356.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node356.a('node.borderColor','rgba(192,192,192,1)');
- Node356.a('node.background','rgba(192,192,192,1)');
- Node356.a('node.gradient','');
- Node356.a('node.gradientcolor','rgba(192,192,192,1)');
- Node356.a('node.endCompspts',Node356endCompspts);
- Node356.a('node.startCompspts',Node356startCompspts);
- (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 = 'Node356';
- 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);
- }
- })(Node356, Node356.getImage(), Node356compspts, Node356endCompspts, Node356startCompspts);
- var Node357points=[448, 707,448, 798],
- Node357rect=ht.Default.unionPoint([{x:448,y:707},{x:448,y:798}]),
- Node357compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node357points.length;i++){
- if(i%2==0){
- Node357compspts.push(Node357points[i]-Node357rect.x);
- }else{
- Node357compspts.push(Node357points[i]-Node357rect.y);
- }
- }
- var Node357ptslength=Node357compspts.length;
- if (Node357rect.height === 0) {
- Node357compspts[0] -= 0;
- Node357compspts[Node357ptslength-2] += 0;
- } else if (Node357rect.width === 0){
- Node357compspts[1] -= 0;
- Node357compspts[Node357ptslength-1] += 0;
- } else {
- Node357compspts[0] -= 0;
- Node357compspts[1] -= 0;
- Node357compspts[Node357ptslength-2] += 0;
- Node357compspts[Node357ptslength-1] += 0;
- }
- Node357 = new ht.Node();
- Node357.borderWidth = 1;
- Node357rect.width = Node357rect.width === 0 ? 0.0001 : Node357rect.width;
- Node357rect.height = Node357rect.height === 0 ? 0.0001 : Node357rect.height;
- var Node357endCompspts = [Node357compspts[Node357ptslength-2],Node357compspts[Node357ptslength-1],0,0];
- var Node357startCompspts = [Node357compspts[0],Node357compspts[1],0,0];
- Node357.setImage(GD.getPolyLineJSON());
- Node357.setPosition(Node357rect.x+Node357rect.width/2,Node357rect.y+Node357rect.height/2);
- Node357.setSize(Node357rect.width,Node357rect.height);
- Node357.setStyle("opacity",1);
- Node357.s({'pixelPerfect':true});
- Node357borderwidth=1;
- Node357.setRotation(0);
- dataModel.add(Node357);
- Node357.a('node.points',Node357compspts);
- Node357.a('node.segments',[1,2]);
- Node357.a('node.color','rgba(192,192,192,1)');
- Node357.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node357.a('node.borderColor','rgba(192,192,192,1)');
- Node357.a('node.background','rgba(192,192,192,1)');
- Node357.a('node.gradient','');
- Node357.a('node.gradientcolor','rgba(192,192,192,1)');
- Node357.a('node.endCompspts',Node357endCompspts);
- Node357.a('node.startCompspts',Node357startCompspts);
- (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 = 'Node357';
- 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);
- }
- })(Node357, Node357.getImage(), Node357compspts, Node357endCompspts, Node357startCompspts);
- var Node358points=[534, 706,534, 798],
- Node358rect=ht.Default.unionPoint([{x:534,y:706},{x:534,y:798}]),
- Node358compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node358points.length;i++){
- if(i%2==0){
- Node358compspts.push(Node358points[i]-Node358rect.x);
- }else{
- Node358compspts.push(Node358points[i]-Node358rect.y);
- }
- }
- var Node358ptslength=Node358compspts.length;
- if (Node358rect.height === 0) {
- Node358compspts[0] -= 0;
- Node358compspts[Node358ptslength-2] += 0;
- } else if (Node358rect.width === 0){
- Node358compspts[1] -= 0;
- Node358compspts[Node358ptslength-1] += 0;
- } else {
- Node358compspts[0] -= 0;
- Node358compspts[1] -= 0;
- Node358compspts[Node358ptslength-2] += 0;
- Node358compspts[Node358ptslength-1] += 0;
- }
- Node358 = new ht.Node();
- Node358.borderWidth = 1;
- Node358rect.width = Node358rect.width === 0 ? 0.0001 : Node358rect.width;
- Node358rect.height = Node358rect.height === 0 ? 0.0001 : Node358rect.height;
- var Node358endCompspts = [Node358compspts[Node358ptslength-2],Node358compspts[Node358ptslength-1],0,0];
- var Node358startCompspts = [Node358compspts[0],Node358compspts[1],0,0];
- Node358.setImage(GD.getPolyLineJSON());
- Node358.setPosition(Node358rect.x+Node358rect.width/2,Node358rect.y+Node358rect.height/2);
- Node358.setSize(Node358rect.width,Node358rect.height);
- Node358.setStyle("opacity",1);
- Node358.s({'pixelPerfect':true});
- Node358borderwidth=1;
- Node358.setRotation(0);
- dataModel.add(Node358);
- Node358.a('node.points',Node358compspts);
- Node358.a('node.segments',[1,2]);
- Node358.a('node.color','rgba(192,192,192,1)');
- Node358.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node358.a('node.borderColor','rgba(192,192,192,1)');
- Node358.a('node.background','rgba(192,192,192,1)');
- Node358.a('node.gradient','');
- Node358.a('node.gradientcolor','rgba(192,192,192,1)');
- Node358.a('node.endCompspts',Node358endCompspts);
- Node358.a('node.startCompspts',Node358startCompspts);
- (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 = 'Node358';
- 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);
- }
- })(Node358, Node358.getImage(), Node358compspts, Node358endCompspts, Node358startCompspts);
- var Node359points=[569, 707,569, 798],
- Node359rect=ht.Default.unionPoint([{x:569,y:707},{x:569,y:798}]),
- Node359compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node359points.length;i++){
- if(i%2==0){
- Node359compspts.push(Node359points[i]-Node359rect.x);
- }else{
- Node359compspts.push(Node359points[i]-Node359rect.y);
- }
- }
- var Node359ptslength=Node359compspts.length;
- if (Node359rect.height === 0) {
- Node359compspts[0] -= 0;
- Node359compspts[Node359ptslength-2] += 0;
- } else if (Node359rect.width === 0){
- Node359compspts[1] -= 0;
- Node359compspts[Node359ptslength-1] += 0;
- } else {
- Node359compspts[0] -= 0;
- Node359compspts[1] -= 0;
- Node359compspts[Node359ptslength-2] += 0;
- Node359compspts[Node359ptslength-1] += 0;
- }
- Node359 = new ht.Node();
- Node359.borderWidth = 1;
- Node359rect.width = Node359rect.width === 0 ? 0.0001 : Node359rect.width;
- Node359rect.height = Node359rect.height === 0 ? 0.0001 : Node359rect.height;
- var Node359endCompspts = [Node359compspts[Node359ptslength-2],Node359compspts[Node359ptslength-1],0,0];
- var Node359startCompspts = [Node359compspts[0],Node359compspts[1],0,0];
- Node359.setImage(GD.getPolyLineJSON());
- Node359.setPosition(Node359rect.x+Node359rect.width/2,Node359rect.y+Node359rect.height/2);
- Node359.setSize(Node359rect.width,Node359rect.height);
- Node359.setStyle("opacity",1);
- Node359.s({'pixelPerfect':true});
- Node359borderwidth=1;
- Node359.setRotation(0);
- dataModel.add(Node359);
- Node359.a('node.points',Node359compspts);
- Node359.a('node.segments',[1,2]);
- Node359.a('node.color','rgba(192,192,192,1)');
- Node359.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node359.a('node.borderColor','rgba(192,192,192,1)');
- Node359.a('node.background','rgba(192,192,192,1)');
- Node359.a('node.gradient','');
- Node359.a('node.gradientcolor','rgba(192,192,192,1)');
- Node359.a('node.endCompspts',Node359endCompspts);
- Node359.a('node.startCompspts',Node359startCompspts);
- (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 = 'Node359';
- 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);
- }
- })(Node359, Node359.getImage(), Node359compspts, Node359endCompspts, Node359startCompspts);
- var Node360points=[637, 707,637, 799],
- Node360rect=ht.Default.unionPoint([{x:637,y:707},{x:637,y:799}]),
- Node360compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node360points.length;i++){
- if(i%2==0){
- Node360compspts.push(Node360points[i]-Node360rect.x);
- }else{
- Node360compspts.push(Node360points[i]-Node360rect.y);
- }
- }
- var Node360ptslength=Node360compspts.length;
- if (Node360rect.height === 0) {
- Node360compspts[0] -= 0;
- Node360compspts[Node360ptslength-2] += 0;
- } else if (Node360rect.width === 0){
- Node360compspts[1] -= 0;
- Node360compspts[Node360ptslength-1] += 0;
- } else {
- Node360compspts[0] -= 0;
- Node360compspts[1] -= 0;
- Node360compspts[Node360ptslength-2] += 0;
- Node360compspts[Node360ptslength-1] += 0;
- }
- Node360 = new ht.Node();
- Node360.borderWidth = 1;
- Node360rect.width = Node360rect.width === 0 ? 0.0001 : Node360rect.width;
- Node360rect.height = Node360rect.height === 0 ? 0.0001 : Node360rect.height;
- var Node360endCompspts = [Node360compspts[Node360ptslength-2],Node360compspts[Node360ptslength-1],0,0];
- var Node360startCompspts = [Node360compspts[0],Node360compspts[1],0,0];
- Node360.setImage(GD.getPolyLineJSON());
- Node360.setPosition(Node360rect.x+Node360rect.width/2,Node360rect.y+Node360rect.height/2);
- Node360.setSize(Node360rect.width,Node360rect.height);
- Node360.setStyle("opacity",1);
- Node360.s({'pixelPerfect':true});
- Node360borderwidth=1;
- Node360.setRotation(0);
- dataModel.add(Node360);
- Node360.a('node.points',Node360compspts);
- Node360.a('node.segments',[1,2]);
- Node360.a('node.color','rgba(192,192,192,1)');
- Node360.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node360.a('node.borderColor','rgba(192,192,192,1)');
- Node360.a('node.background','rgba(192,192,192,1)');
- Node360.a('node.gradient','');
- Node360.a('node.gradientcolor','rgba(192,192,192,1)');
- Node360.a('node.endCompspts',Node360endCompspts);
- Node360.a('node.startCompspts',Node360startCompspts);
- (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 = 'Node360';
- 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);
- }
- })(Node360, Node360.getImage(), Node360compspts, Node360endCompspts, Node360startCompspts);
- var Node361points=[708, 707,708, 798],
- Node361rect=ht.Default.unionPoint([{x:708,y:707},{x:708,y:798}]),
- Node361compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node361points.length;i++){
- if(i%2==0){
- Node361compspts.push(Node361points[i]-Node361rect.x);
- }else{
- Node361compspts.push(Node361points[i]-Node361rect.y);
- }
- }
- var Node361ptslength=Node361compspts.length;
- if (Node361rect.height === 0) {
- Node361compspts[0] -= 0;
- Node361compspts[Node361ptslength-2] += 0;
- } else if (Node361rect.width === 0){
- Node361compspts[1] -= 0;
- Node361compspts[Node361ptslength-1] += 0;
- } else {
- Node361compspts[0] -= 0;
- Node361compspts[1] -= 0;
- Node361compspts[Node361ptslength-2] += 0;
- Node361compspts[Node361ptslength-1] += 0;
- }
- Node361 = new ht.Node();
- Node361.borderWidth = 1;
- Node361rect.width = Node361rect.width === 0 ? 0.0001 : Node361rect.width;
- Node361rect.height = Node361rect.height === 0 ? 0.0001 : Node361rect.height;
- var Node361endCompspts = [Node361compspts[Node361ptslength-2],Node361compspts[Node361ptslength-1],0,0];
- var Node361startCompspts = [Node361compspts[0],Node361compspts[1],0,0];
- Node361.setImage(GD.getPolyLineJSON());
- Node361.setPosition(Node361rect.x+Node361rect.width/2,Node361rect.y+Node361rect.height/2);
- Node361.setSize(Node361rect.width,Node361rect.height);
- Node361.setStyle("opacity",1);
- Node361.s({'pixelPerfect':true});
- Node361borderwidth=1;
- Node361.setRotation(0);
- dataModel.add(Node361);
- Node361.a('node.points',Node361compspts);
- Node361.a('node.segments',[1,2]);
- Node361.a('node.color','rgba(192,192,192,1)');
- Node361.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node361.a('node.borderColor','rgba(192,192,192,1)');
- Node361.a('node.background','rgba(192,192,192,1)');
- Node361.a('node.gradient','');
- Node361.a('node.gradientcolor','rgba(192,192,192,1)');
- Node361.a('node.endCompspts',Node361endCompspts);
- Node361.a('node.startCompspts',Node361startCompspts);
- (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 = 'Node361';
- 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);
- }
- })(Node361, Node361.getImage(), Node361compspts, Node361endCompspts, Node361startCompspts);
- var Node362points=[382, 631,754, 631],
- Node362rect=ht.Default.unionPoint([{x:382,y:631},{x:754,y:631}]),
- Node362compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node362points.length;i++){
- if(i%2==0){
- Node362compspts.push(Node362points[i]-Node362rect.x);
- }else{
- Node362compspts.push(Node362points[i]-Node362rect.y);
- }
- }
- var Node362ptslength=Node362compspts.length;
- if (Node362rect.height === 0) {
- Node362compspts[0] -= 0;
- Node362compspts[Node362ptslength-2] += 0;
- } else if (Node362rect.width === 0){
- Node362compspts[1] -= 0;
- Node362compspts[Node362ptslength-1] += 0;
- } else {
- Node362compspts[0] -= 0;
- Node362compspts[1] -= 0;
- Node362compspts[Node362ptslength-2] += 0;
- Node362compspts[Node362ptslength-1] += 0;
- }
- Node362 = new ht.Node();
- Node362.borderWidth = 1;
- Node362rect.width = Node362rect.width === 0 ? 0.0001 : Node362rect.width;
- Node362rect.height = Node362rect.height === 0 ? 0.0001 : Node362rect.height;
- var Node362endCompspts = [Node362compspts[Node362ptslength-2],Node362compspts[Node362ptslength-1],0,0];
- var Node362startCompspts = [Node362compspts[0],Node362compspts[1],0,0];
- Node362.setImage(GD.getPolyLineJSON());
- Node362.setPosition(Node362rect.x+Node362rect.width/2,Node362rect.y+Node362rect.height/2);
- Node362.setSize(Node362rect.width,Node362rect.height);
- Node362.setStyle("opacity",1);
- Node362.s({'pixelPerfect':true});
- Node362borderwidth=1;
- Node362.setRotation(0);
- dataModel.add(Node362);
- Node362.a('node.points',Node362compspts);
- Node362.a('node.segments',[1,2]);
- Node362.a('node.color','rgba(192,192,192,1)');
- Node362.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node362.a('node.borderColor','rgba(192,192,192,1)');
- Node362.a('node.background','rgba(192,192,192,1)');
- Node362.a('node.gradient','');
- Node362.a('node.gradientcolor','rgba(192,192,192,1)');
- Node362.a('node.endCompspts',Node362endCompspts);
- Node362.a('node.startCompspts',Node362startCompspts);
- (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 = 'Node362';
- 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);
- }
- })(Node362, Node362.getImage(), Node362compspts, Node362endCompspts, Node362startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node363 = new ht.Node();
- var Node363textStart, Node363textWidth, Node363lineStart, Node363align = 'left', Node363fontSize = 13.3333*_ratio.ratioY,Node363width = 39*_ratio.ratioX, Node363height = 16*_ratio.ratioY;
- (function () {
- if (Node363align === 'left') {
- Node363textStart = Node363fontSize * 0.2 > 2 ? Node363fontSize * 0.2 - 4 : Node363fontSize * 0.2 - 9;
- Node363textWidth = Node363width;
- Node363lineStart = 1;
- } else if (Node363align === 'right') {
- Node363textStart = 0;
- Node363textWidth =Node363fontSize <= 8 ? Node363width + Node363fontSize * 0.2 + 6 : Node363width - Node363fontSize * 0.2;
- Node363lineStart = (Node363width - (ht.Default.getTextSize('并网', ' '+ Node363fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node363align === 'center') {
- Node363textStart = -3;
- Node363textWidth = Node363width;
- Node363lineStart = Node363width - ht.Default.getTextSize('并网', ' '+ Node363fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node363.setImage(GD.getTextJSON(Node363width, Node363height, true, false, false, ' '+ Node363fontSize + 'px "Arial"'))
- Node363.setPosition(413*ratio.ratioX, 723*ratio.ratioY);
- Node363.setWidth(Node363width);
- Node363.setHeight(Node363height);
- Node363._nodeType = 'text';
- Node363._disallowEvert = true;
- Node363.setRotation(0*Math.PI/180);
- Node363.a('node.width', Node363width);
- Node363.a('node.height', Node363height);
- Node363.a('node.rect', [0, 0, Node363width, Node363height]);
- Node363.a('node.bordercolor','rgba(128,128,255,1)');
- Node363.a('node.borderwidth', 0);
- Node363.a('node.background','' || 'rgba(0,0,0,0)');
- Node363.a('node.gradient','');
- Node363.a('node.gradientcolor','');
- Node363.a('node.text','并网');
- Node363.a('node.textalign','left');
- Node363.a('node.textvAlign','middle');
- Node363.a('node.textrect', [Node363textStart, 0, Node363textWidth, Node363height]);
- Node363.a('node.color','rgba(128,128,255,1)');
- Node363.a('node.font',' '+ Node363fontSize + 'px "Arial"');
- Node363.a('node.textvisible',true);
- Node363.a('node.linefeed',false);
- if (false) {
- Node363.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node363.a('node.text') || '并网';
- var color=Node363.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node363width,Node363height,13.3333*_ratio.ratioY,"left",color,' '+ Node363fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node363.a('node.underlinepoints',[Node363lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node363fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node363fontSize + 'px "Arial"').width + 6, (Node363height - Node363fontSize) * 0.5*_ratio.ratioY + Node363fontSize + 2 ]);
- Node363.a('node.underlinevisible',false);
- Node363.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node363);
- zoomNodeList.push({
- node: Node363,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node364 = new ht.Node();
- var Node364textStart, Node364textWidth, Node364lineStart, Node364align = 'left', Node364fontSize = 13.3333*_ratio.ratioY,Node364width = 39*_ratio.ratioX, Node364height = 16*_ratio.ratioY;
- (function () {
- if (Node364align === 'left') {
- Node364textStart = Node364fontSize * 0.2 > 2 ? Node364fontSize * 0.2 - 4 : Node364fontSize * 0.2 - 9;
- Node364textWidth = Node364width;
- Node364lineStart = 1;
- } else if (Node364align === 'right') {
- Node364textStart = 0;
- Node364textWidth =Node364fontSize <= 8 ? Node364width + Node364fontSize * 0.2 + 6 : Node364width - Node364fontSize * 0.2;
- Node364lineStart = (Node364width - (ht.Default.getTextSize('维护', ' '+ Node364fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node364align === 'center') {
- Node364textStart = -3;
- Node364textWidth = Node364width;
- Node364lineStart = Node364width - ht.Default.getTextSize('维护', ' '+ Node364fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node364.setImage(GD.getTextJSON(Node364width, Node364height, true, false, false, ' '+ Node364fontSize + 'px "Arial"'))
- Node364.setPosition(414*ratio.ratioX, 753*ratio.ratioY);
- Node364.setWidth(Node364width);
- Node364.setHeight(Node364height);
- Node364._nodeType = 'text';
- Node364._disallowEvert = true;
- Node364.setRotation(0*Math.PI/180);
- Node364.a('node.width', Node364width);
- Node364.a('node.height', Node364height);
- Node364.a('node.rect', [0, 0, Node364width, Node364height]);
- Node364.a('node.bordercolor','rgba(192,64,0,1)');
- Node364.a('node.borderwidth', 0);
- Node364.a('node.background','' || 'rgba(0,0,0,0)');
- Node364.a('node.gradient','');
- Node364.a('node.gradientcolor','');
- Node364.a('node.text','维护');
- Node364.a('node.textalign','left');
- Node364.a('node.textvAlign','middle');
- Node364.a('node.textrect', [Node364textStart, 0, Node364textWidth, Node364height]);
- Node364.a('node.color','rgba(192,64,0,1)');
- Node364.a('node.font',' '+ Node364fontSize + 'px "Arial"');
- Node364.a('node.textvisible',true);
- Node364.a('node.linefeed',false);
- if (false) {
- Node364.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node364.a('node.text') || '维护';
- var color=Node364.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node364width,Node364height,13.3333*_ratio.ratioY,"left",color,' '+ Node364fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node364.a('node.underlinepoints',[Node364lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node364fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node364fontSize + 'px "Arial"').width + 6, (Node364height - Node364fontSize) * 0.5*_ratio.ratioY + Node364fontSize + 2 ]);
- Node364.a('node.underlinevisible',false);
- Node364.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node364);
- zoomNodeList.push({
- node: Node364,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node365 = new ht.Node();
- var Node365textStart, Node365textWidth, Node365lineStart, Node365align = 'left', Node365fontSize = 13.3333*_ratio.ratioY,Node365width = 39*_ratio.ratioX, Node365height = 16*_ratio.ratioY;
- (function () {
- if (Node365align === 'left') {
- Node365textStart = Node365fontSize * 0.2 > 2 ? Node365fontSize * 0.2 - 4 : Node365fontSize * 0.2 - 9;
- Node365textWidth = Node365width;
- Node365lineStart = 1;
- } else if (Node365align === 'right') {
- Node365textStart = 0;
- Node365textWidth =Node365fontSize <= 8 ? Node365width + Node365fontSize * 0.2 + 6 : Node365width - Node365fontSize * 0.2;
- Node365lineStart = (Node365width - (ht.Default.getTextSize('限电', ' '+ Node365fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node365align === 'center') {
- Node365textStart = -3;
- Node365textWidth = Node365width;
- Node365lineStart = Node365width - ht.Default.getTextSize('限电', ' '+ Node365fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node365.setImage(GD.getTextJSON(Node365width, Node365height, true, false, false, ' '+ Node365fontSize + 'px "Arial"'))
- Node365.setPosition(414*ratio.ratioX, 783*ratio.ratioY);
- Node365.setWidth(Node365width);
- Node365.setHeight(Node365height);
- Node365._nodeType = 'text';
- Node365._disallowEvert = true;
- Node365.setRotation(0*Math.PI/180);
- Node365.a('node.width', Node365width);
- Node365.a('node.height', Node365height);
- Node365.a('node.rect', [0, 0, Node365width, Node365height]);
- Node365.a('node.bordercolor','rgba(128,0,128,1)');
- Node365.a('node.borderwidth', 0);
- Node365.a('node.background','' || 'rgba(0,0,0,0)');
- Node365.a('node.gradient','');
- Node365.a('node.gradientcolor','');
- Node365.a('node.text','限电');
- Node365.a('node.textalign','left');
- Node365.a('node.textvAlign','middle');
- Node365.a('node.textrect', [Node365textStart, 0, Node365textWidth, Node365height]);
- Node365.a('node.color','rgba(128,0,128,1)');
- Node365.a('node.font',' '+ Node365fontSize + 'px "Arial"');
- Node365.a('node.textvisible',true);
- Node365.a('node.linefeed',false);
- if (false) {
- Node365.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node365.a('node.text') || '限电';
- var color=Node365.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node365width,Node365height,13.3333*_ratio.ratioY,"left",color,' '+ Node365fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node365.a('node.underlinepoints',[Node365lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node365fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node365fontSize + 'px "Arial"').width + 6, (Node365height - Node365fontSize) * 0.5*_ratio.ratioY + Node365fontSize + 2 ]);
- Node365.a('node.underlinevisible',false);
- Node365.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node365);
- zoomNodeList.push({
- node: Node365,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node366 = new ht.Node();
- var Node366textStart, Node366textWidth, Node366lineStart, Node366align = 'left', Node366fontSize = 13.3333*_ratio.ratioY,Node366width = 39*_ratio.ratioX, Node366height = 16*_ratio.ratioY;
- (function () {
- if (Node366align === 'left') {
- Node366textStart = Node366fontSize * 0.2 > 2 ? Node366fontSize * 0.2 - 4 : Node366fontSize * 0.2 - 9;
- Node366textWidth = Node366width;
- Node366lineStart = 1;
- } else if (Node366align === 'right') {
- Node366textStart = 0;
- Node366textWidth =Node366fontSize <= 8 ? Node366width + Node366fontSize * 0.2 + 6 : Node366width - Node366fontSize * 0.2;
- Node366lineStart = (Node366width - (ht.Default.getTextSize('待机', ' '+ Node366fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node366align === 'center') {
- Node366textStart = -3;
- Node366textWidth = Node366width;
- Node366lineStart = Node366width - ht.Default.getTextSize('待机', ' '+ Node366fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node366.setImage(GD.getTextJSON(Node366width, Node366height, true, false, false, ' '+ Node366fontSize + 'px "Arial"'))
- Node366.setPosition(603*ratio.ratioX, 723*ratio.ratioY);
- Node366.setWidth(Node366width);
- Node366.setHeight(Node366height);
- Node366._nodeType = 'text';
- Node366._disallowEvert = true;
- Node366.setRotation(0*Math.PI/180);
- Node366.a('node.width', Node366width);
- Node366.a('node.height', Node366height);
- Node366.a('node.rect', [0, 0, Node366width, Node366height]);
- Node366.a('node.bordercolor','rgba(0,128,0,1)');
- Node366.a('node.borderwidth', 0);
- Node366.a('node.background','' || 'rgba(0,0,0,0)');
- Node366.a('node.gradient','');
- Node366.a('node.gradientcolor','');
- Node366.a('node.text','待机');
- Node366.a('node.textalign','left');
- Node366.a('node.textvAlign','middle');
- Node366.a('node.textrect', [Node366textStart, 0, Node366textWidth, Node366height]);
- Node366.a('node.color','rgba(0,128,0,1)');
- Node366.a('node.font',' '+ Node366fontSize + 'px "Arial"');
- Node366.a('node.textvisible',true);
- Node366.a('node.linefeed',false);
- if (false) {
- Node366.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node366.a('node.text') || '待机';
- var color=Node366.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node366width,Node366height,13.3333*_ratio.ratioY,"left",color,' '+ Node366fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node366.a('node.underlinepoints',[Node366lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node366fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node366fontSize + 'px "Arial"').width + 6, (Node366height - Node366fontSize) * 0.5*_ratio.ratioY + Node366fontSize + 2 ]);
- Node366.a('node.underlinevisible',false);
- Node366.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node366);
- zoomNodeList.push({
- node: Node366,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node367 = new ht.Node();
- var Node367textStart, Node367textWidth, Node367lineStart, Node367align = 'left', Node367fontSize = 13.3333*_ratio.ratioY,Node367width = 39*_ratio.ratioX, Node367height = 16*_ratio.ratioY;
- (function () {
- if (Node367align === 'left') {
- Node367textStart = Node367fontSize * 0.2 > 2 ? Node367fontSize * 0.2 - 4 : Node367fontSize * 0.2 - 9;
- Node367textWidth = Node367width;
- Node367lineStart = 1;
- } else if (Node367align === 'right') {
- Node367textStart = 0;
- Node367textWidth =Node367fontSize <= 8 ? Node367width + Node367fontSize * 0.2 + 6 : Node367width - Node367fontSize * 0.2;
- Node367lineStart = (Node367width - (ht.Default.getTextSize('故障', ' '+ Node367fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node367align === 'center') {
- Node367textStart = -3;
- Node367textWidth = Node367width;
- Node367lineStart = Node367width - ht.Default.getTextSize('故障', ' '+ Node367fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node367.setImage(GD.getTextJSON(Node367width, Node367height, true, false, false, ' '+ Node367fontSize + 'px "Arial"'))
- Node367.setPosition(604*ratio.ratioX, 753*ratio.ratioY);
- Node367.setWidth(Node367width);
- Node367.setHeight(Node367height);
- Node367._nodeType = 'text';
- Node367._disallowEvert = true;
- Node367.setRotation(0*Math.PI/180);
- Node367.a('node.width', Node367width);
- Node367.a('node.height', Node367height);
- Node367.a('node.rect', [0, 0, Node367width, Node367height]);
- Node367.a('node.bordercolor','rgba(192,0,0,1)');
- Node367.a('node.borderwidth', 0);
- Node367.a('node.background','' || 'rgba(0,0,0,0)');
- Node367.a('node.gradient','');
- Node367.a('node.gradientcolor','');
- Node367.a('node.text','故障');
- Node367.a('node.textalign','left');
- Node367.a('node.textvAlign','middle');
- Node367.a('node.textrect', [Node367textStart, 0, Node367textWidth, Node367height]);
- Node367.a('node.color','rgba(192,0,0,1)');
- Node367.a('node.font',' '+ Node367fontSize + 'px "Arial"');
- Node367.a('node.textvisible',true);
- Node367.a('node.linefeed',false);
- if (false) {
- Node367.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node367.a('node.text') || '故障';
- var color=Node367.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node367width,Node367height,13.3333*_ratio.ratioY,"left",color,' '+ Node367fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node367.a('node.underlinepoints',[Node367lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node367fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node367fontSize + 'px "Arial"').width + 6, (Node367height - Node367fontSize) * 0.5*_ratio.ratioY + Node367fontSize + 2 ]);
- Node367.a('node.underlinevisible',false);
- Node367.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node367);
- zoomNodeList.push({
- node: Node367,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node368 = new ht.Node();
- var Node368textStart, Node368textWidth, Node368lineStart, Node368align = 'left', Node368fontSize = 13.3333*_ratio.ratioY,Node368width = 39*_ratio.ratioX, Node368height = 16*_ratio.ratioY;
- (function () {
- if (Node368align === 'left') {
- Node368textStart = Node368fontSize * 0.2 > 2 ? Node368fontSize * 0.2 - 4 : Node368fontSize * 0.2 - 9;
- Node368textWidth = Node368width;
- Node368lineStart = 1;
- } else if (Node368align === 'right') {
- Node368textStart = 0;
- Node368textWidth =Node368fontSize <= 8 ? Node368width + Node368fontSize * 0.2 + 6 : Node368width - Node368fontSize * 0.2;
- Node368lineStart = (Node368width - (ht.Default.getTextSize('离线', ' '+ Node368fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node368align === 'center') {
- Node368textStart = -3;
- Node368textWidth = Node368width;
- Node368lineStart = Node368width - ht.Default.getTextSize('离线', ' '+ Node368fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node368.setImage(GD.getTextJSON(Node368width, Node368height, true, false, false, ' '+ Node368fontSize + 'px "Arial"'))
- Node368.setPosition(604*ratio.ratioX, 783*ratio.ratioY);
- Node368.setWidth(Node368width);
- Node368.setHeight(Node368height);
- Node368._nodeType = 'text';
- Node368._disallowEvert = true;
- Node368.setRotation(0*Math.PI/180);
- Node368.a('node.width', Node368width);
- Node368.a('node.height', Node368height);
- Node368.a('node.rect', [0, 0, Node368width, Node368height]);
- Node368.a('node.bordercolor','rgba(128,128,128,1)');
- Node368.a('node.borderwidth', 0);
- Node368.a('node.background','' || 'rgba(0,0,0,0)');
- Node368.a('node.gradient','');
- Node368.a('node.gradientcolor','');
- Node368.a('node.text','离线');
- Node368.a('node.textalign','left');
- Node368.a('node.textvAlign','middle');
- Node368.a('node.textrect', [Node368textStart, 0, Node368textWidth, Node368height]);
- Node368.a('node.color','rgba(128,128,128,1)');
- Node368.a('node.font',' '+ Node368fontSize + 'px "Arial"');
- Node368.a('node.textvisible',true);
- Node368.a('node.linefeed',false);
- if (false) {
- Node368.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node368.a('node.text') || '离线';
- var color=Node368.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node368width,Node368height,13.3333*_ratio.ratioY,"left",color,' '+ Node368fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node368.a('node.underlinepoints',[Node368lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node368fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node368fontSize + 'px "Arial"').width + 6, (Node368height - Node368fontSize) * 0.5*_ratio.ratioY + Node368fontSize + 2 ]);
- Node368.a('node.underlinevisible',false);
- Node368.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node368);
- zoomNodeList.push({
- node: Node368,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node369 = new ht.Node();
- var Node369textStart, Node369textWidth, Node369lineStart, Node369align = 'left', Node369fontSize = 13.3333*_ratio.ratioY,Node369width = 29*_ratio.ratioX, Node369height = 25*_ratio.ratioY;
- (function () {
- if (Node369align === 'left') {
- Node369textStart = Node369fontSize * 0.2 > 2 ? Node369fontSize * 0.2 - 4 : Node369fontSize * 0.2 - 9;
- Node369textWidth = Node369width;
- Node369lineStart = 1;
- } else if (Node369align === 'right') {
- Node369textStart = 0;
- Node369textWidth =Node369fontSize <= 8 ? Node369width + Node369fontSize * 0.2 + 6 : Node369width - Node369fontSize * 0.2;
- Node369lineStart = (Node369width - (ht.Default.getTextSize('台', ' '+ Node369fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node369align === 'center') {
- Node369textStart = -3;
- Node369textWidth = Node369width;
- Node369lineStart = Node369width - ht.Default.getTextSize('台', ' '+ Node369fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node369.setImage(GD.getTextJSON(Node369width, Node369height, true, false, false, ' '+ Node369fontSize + 'px "UniDreamLED"'))
- Node369.setPosition(555*ratio.ratioX, 723*ratio.ratioY);
- Node369.setWidth(Node369width);
- Node369.setHeight(Node369height);
- Node369._nodeType = 'text';
- Node369._disallowEvert = true;
- Node369.setRotation(0*Math.PI/180);
- Node369.a('node.width', Node369width);
- Node369.a('node.height', Node369height);
- Node369.a('node.rect', [0, 0, Node369width, Node369height]);
- Node369.a('node.bordercolor','rgba(64,64,64,1)');
- Node369.a('node.borderwidth', 0);
- Node369.a('node.background','' || 'rgba(0,0,0,0)');
- Node369.a('node.gradient','');
- Node369.a('node.gradientcolor','');
- Node369.a('node.text','台');
- Node369.a('node.textalign','left');
- Node369.a('node.textvAlign','middle');
- Node369.a('node.textrect', [Node369textStart, 0, Node369textWidth, Node369height]);
- Node369.a('node.color','rgba(64,64,64,1)');
- Node369.a('node.font',' '+ Node369fontSize + 'px "UniDreamLED"');
- Node369.a('node.textvisible',true);
- Node369.a('node.linefeed',false);
- if (false) {
- Node369.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node369.a('node.text') || '台';
- var color=Node369.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node369width,Node369height,13.3333*_ratio.ratioY,"left",color,' '+ Node369fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node369.a('node.underlinepoints',[Node369lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node369fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node369fontSize + 'px "UniDreamLED"').width + 6, (Node369height - Node369fontSize) * 0.5*_ratio.ratioY + Node369fontSize + 2 ]);
- Node369.a('node.underlinevisible',false);
- Node369.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node369);
- zoomNodeList.push({
- node: Node369,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node370 = new ht.Node();
- var Node370textStart, Node370textWidth, Node370lineStart, Node370align = 'left', Node370fontSize = 13.3333*_ratio.ratioY,Node370width = 29*_ratio.ratioX, Node370height = 25*_ratio.ratioY;
- (function () {
- if (Node370align === 'left') {
- Node370textStart = Node370fontSize * 0.2 > 2 ? Node370fontSize * 0.2 - 4 : Node370fontSize * 0.2 - 9;
- Node370textWidth = Node370width;
- Node370lineStart = 1;
- } else if (Node370align === 'right') {
- Node370textStart = 0;
- Node370textWidth =Node370fontSize <= 8 ? Node370width + Node370fontSize * 0.2 + 6 : Node370width - Node370fontSize * 0.2;
- Node370lineStart = (Node370width - (ht.Default.getTextSize('台', ' '+ Node370fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node370align === 'center') {
- Node370textStart = -3;
- Node370textWidth = Node370width;
- Node370lineStart = Node370width - ht.Default.getTextSize('台', ' '+ Node370fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node370.setImage(GD.getTextJSON(Node370width, Node370height, true, false, false, ' '+ Node370fontSize + 'px "UniDreamLED"'))
- Node370.setPosition(555*ratio.ratioX, 754*ratio.ratioY);
- Node370.setWidth(Node370width);
- Node370.setHeight(Node370height);
- Node370._nodeType = 'text';
- Node370._disallowEvert = true;
- Node370.setRotation(0*Math.PI/180);
- Node370.a('node.width', Node370width);
- Node370.a('node.height', Node370height);
- Node370.a('node.rect', [0, 0, Node370width, Node370height]);
- Node370.a('node.bordercolor','rgba(64,64,64,1)');
- Node370.a('node.borderwidth', 0);
- Node370.a('node.background','' || 'rgba(0,0,0,0)');
- Node370.a('node.gradient','');
- Node370.a('node.gradientcolor','');
- Node370.a('node.text','台');
- Node370.a('node.textalign','left');
- Node370.a('node.textvAlign','middle');
- Node370.a('node.textrect', [Node370textStart, 0, Node370textWidth, Node370height]);
- Node370.a('node.color','rgba(64,64,64,1)');
- Node370.a('node.font',' '+ Node370fontSize + 'px "UniDreamLED"');
- Node370.a('node.textvisible',true);
- Node370.a('node.linefeed',false);
- if (false) {
- Node370.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node370.a('node.text') || '台';
- var color=Node370.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node370width,Node370height,13.3333*_ratio.ratioY,"left",color,' '+ Node370fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node370.a('node.underlinepoints',[Node370lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node370fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node370fontSize + 'px "UniDreamLED"').width + 6, (Node370height - Node370fontSize) * 0.5*_ratio.ratioY + Node370fontSize + 2 ]);
- Node370.a('node.underlinevisible',false);
- Node370.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node370);
- zoomNodeList.push({
- node: Node370,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node371 = new ht.Node();
- var Node371textStart, Node371textWidth, Node371lineStart, Node371align = 'left', Node371fontSize = 13.3333*_ratio.ratioY,Node371width = 29*_ratio.ratioX, Node371height = 25*_ratio.ratioY;
- (function () {
- if (Node371align === 'left') {
- Node371textStart = Node371fontSize * 0.2 > 2 ? Node371fontSize * 0.2 - 4 : Node371fontSize * 0.2 - 9;
- Node371textWidth = Node371width;
- Node371lineStart = 1;
- } else if (Node371align === 'right') {
- Node371textStart = 0;
- Node371textWidth =Node371fontSize <= 8 ? Node371width + Node371fontSize * 0.2 + 6 : Node371width - Node371fontSize * 0.2;
- Node371lineStart = (Node371width - (ht.Default.getTextSize('台', ' '+ Node371fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node371align === 'center') {
- Node371textStart = -3;
- Node371textWidth = Node371width;
- Node371lineStart = Node371width - ht.Default.getTextSize('台', ' '+ Node371fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node371.setImage(GD.getTextJSON(Node371width, Node371height, true, false, false, ' '+ Node371fontSize + 'px "UniDreamLED"'))
- Node371.setPosition(556*ratio.ratioX, 783*ratio.ratioY);
- Node371.setWidth(Node371width);
- Node371.setHeight(Node371height);
- Node371._nodeType = 'text';
- Node371._disallowEvert = true;
- Node371.setRotation(0*Math.PI/180);
- Node371.a('node.width', Node371width);
- Node371.a('node.height', Node371height);
- Node371.a('node.rect', [0, 0, Node371width, Node371height]);
- Node371.a('node.bordercolor','rgba(64,64,64,1)');
- Node371.a('node.borderwidth', 0);
- Node371.a('node.background','' || 'rgba(0,0,0,0)');
- Node371.a('node.gradient','');
- Node371.a('node.gradientcolor','');
- Node371.a('node.text','台');
- Node371.a('node.textalign','left');
- Node371.a('node.textvAlign','middle');
- Node371.a('node.textrect', [Node371textStart, 0, Node371textWidth, Node371height]);
- Node371.a('node.color','rgba(64,64,64,1)');
- Node371.a('node.font',' '+ Node371fontSize + 'px "UniDreamLED"');
- Node371.a('node.textvisible',true);
- Node371.a('node.linefeed',false);
- if (false) {
- Node371.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node371.a('node.text') || '台';
- var color=Node371.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node371width,Node371height,13.3333*_ratio.ratioY,"left",color,' '+ Node371fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node371.a('node.underlinepoints',[Node371lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node371fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node371fontSize + 'px "UniDreamLED"').width + 6, (Node371height - Node371fontSize) * 0.5*_ratio.ratioY + Node371fontSize + 2 ]);
- Node371.a('node.underlinevisible',false);
- Node371.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node371);
- zoomNodeList.push({
- node: Node371,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node372 = new ht.Node();
- var Node372textStart, Node372textWidth, Node372lineStart, Node372align = 'left', Node372fontSize = 13.3333*_ratio.ratioY,Node372width = 29*_ratio.ratioX, Node372height = 25*_ratio.ratioY;
- (function () {
- if (Node372align === 'left') {
- Node372textStart = Node372fontSize * 0.2 > 2 ? Node372fontSize * 0.2 - 4 : Node372fontSize * 0.2 - 9;
- Node372textWidth = Node372width;
- Node372lineStart = 1;
- } else if (Node372align === 'right') {
- Node372textStart = 0;
- Node372textWidth =Node372fontSize <= 8 ? Node372width + Node372fontSize * 0.2 + 6 : Node372width - Node372fontSize * 0.2;
- Node372lineStart = (Node372width - (ht.Default.getTextSize('132', ' '+ Node372fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node372align === 'center') {
- Node372textStart = -3;
- Node372textWidth = Node372width;
- Node372lineStart = Node372width - ht.Default.getTextSize('132', ' '+ Node372fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node372.setImage(GD.getTextJSON(Node372width, Node372height, true, false, false, ' '+ Node372fontSize + 'px "UniDreamLED"'))
- Node372.setPosition(500*ratio.ratioX, 723*ratio.ratioY);
- Node372.setWidth(Node372width);
- Node372.setHeight(Node372height);
- Node372._nodeType = 'text';
- Node372._disallowEvert = true;
- Node372.setRotation(0*Math.PI/180);
- Node372.a('node.width', Node372width);
- Node372.a('node.height', Node372height);
- Node372.a('node.rect', [0, 0, Node372width, Node372height]);
- Node372.a('node.bordercolor','rgba(64,64,64,1)');
- Node372.a('node.borderwidth', 0);
- Node372.a('node.background','' || 'rgba(0,0,0,0)');
- Node372.a('node.gradient','');
- Node372.a('node.gradientcolor','');
- Node372.a('node.text','132');
- Node372.a('node.textalign','left');
- Node372.a('node.textvAlign','middle');
- Node372.a('node.textrect', [Node372textStart, 0, Node372textWidth, Node372height]);
- Node372.a('node.color','rgba(64,64,64,1)');
- Node372.a('node.font',' '+ Node372fontSize + 'px "UniDreamLED"');
- Node372.a('node.textvisible',true);
- Node372.a('node.linefeed',false);
- if (false) {
- Node372.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node372.a('node.text') || '132';
- var color=Node372.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node372width,Node372height,13.3333*_ratio.ratioY,"left",color,' '+ Node372fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node372.a('node.underlinepoints',[Node372lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node372fontSize + 2 , ht.Default.getTextSize('132', ' '+ Node372fontSize + 'px "UniDreamLED"').width + 6, (Node372height - Node372fontSize) * 0.5*_ratio.ratioY + Node372fontSize + 2 ]);
- Node372.a('node.underlinevisible',false);
- Node372.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node372);
- zoomNodeList.push({
- node: Node372,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node373 = new ht.Node();
- var Node373textStart, Node373textWidth, Node373lineStart, Node373align = 'left', Node373fontSize = 13.3333*_ratio.ratioY,Node373width = 29*_ratio.ratioX, Node373height = 25*_ratio.ratioY;
- (function () {
- if (Node373align === 'left') {
- Node373textStart = Node373fontSize * 0.2 > 2 ? Node373fontSize * 0.2 - 4 : Node373fontSize * 0.2 - 9;
- Node373textWidth = Node373width;
- Node373lineStart = 1;
- } else if (Node373align === 'right') {
- Node373textStart = 0;
- Node373textWidth =Node373fontSize <= 8 ? Node373width + Node373fontSize * 0.2 + 6 : Node373width - Node373fontSize * 0.2;
- Node373lineStart = (Node373width - (ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node373align === 'center') {
- Node373textStart = -3;
- Node373textWidth = Node373width;
- Node373lineStart = Node373width - ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node373.setImage(GD.getTextJSON(Node373width, Node373height, true, false, false, ' '+ Node373fontSize + 'px "UniDreamLED"'))
- Node373.setPosition(500*ratio.ratioX, 752*ratio.ratioY);
- Node373.setWidth(Node373width);
- Node373.setHeight(Node373height);
- Node373._nodeType = 'text';
- Node373._disallowEvert = true;
- Node373.setRotation(0*Math.PI/180);
- Node373.a('node.width', Node373width);
- Node373.a('node.height', Node373height);
- Node373.a('node.rect', [0, 0, Node373width, Node373height]);
- Node373.a('node.bordercolor','rgba(64,64,64,1)');
- Node373.a('node.borderwidth', 0);
- Node373.a('node.background','' || 'rgba(0,0,0,0)');
- Node373.a('node.gradient','');
- Node373.a('node.gradientcolor','');
- Node373.a('node.text','0');
- Node373.a('node.textalign','left');
- Node373.a('node.textvAlign','middle');
- Node373.a('node.textrect', [Node373textStart, 0, Node373textWidth, Node373height]);
- Node373.a('node.color','rgba(64,64,64,1)');
- Node373.a('node.font',' '+ Node373fontSize + 'px "UniDreamLED"');
- Node373.a('node.textvisible',true);
- Node373.a('node.linefeed',false);
- if (false) {
- Node373.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node373.a('node.text') || '0';
- var color=Node373.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node373width,Node373height,13.3333*_ratio.ratioY,"left",color,' '+ Node373fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node373.a('node.underlinepoints',[Node373lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node373fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node373fontSize + 'px "UniDreamLED"').width + 6, (Node373height - Node373fontSize) * 0.5*_ratio.ratioY + Node373fontSize + 2 ]);
- Node373.a('node.underlinevisible',false);
- Node373.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node373);
- zoomNodeList.push({
- node: Node373,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node374 = new ht.Node();
- var Node374textStart, Node374textWidth, Node374lineStart, Node374align = 'left', Node374fontSize = 13.3333*_ratio.ratioY,Node374width = 29*_ratio.ratioX, Node374height = 25*_ratio.ratioY;
- (function () {
- if (Node374align === 'left') {
- Node374textStart = Node374fontSize * 0.2 > 2 ? Node374fontSize * 0.2 - 4 : Node374fontSize * 0.2 - 9;
- Node374textWidth = Node374width;
- Node374lineStart = 1;
- } else if (Node374align === 'right') {
- Node374textStart = 0;
- Node374textWidth =Node374fontSize <= 8 ? Node374width + Node374fontSize * 0.2 + 6 : Node374width - Node374fontSize * 0.2;
- Node374lineStart = (Node374width - (ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node374align === 'center') {
- Node374textStart = -3;
- Node374textWidth = Node374width;
- Node374lineStart = Node374width - ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node374.setImage(GD.getTextJSON(Node374width, Node374height, true, false, false, ' '+ Node374fontSize + 'px "UniDreamLED"'))
- Node374.setPosition(500*ratio.ratioX, 783*ratio.ratioY);
- Node374.setWidth(Node374width);
- Node374.setHeight(Node374height);
- Node374._nodeType = 'text';
- Node374._disallowEvert = true;
- Node374.setRotation(0*Math.PI/180);
- Node374.a('node.width', Node374width);
- Node374.a('node.height', Node374height);
- Node374.a('node.rect', [0, 0, Node374width, Node374height]);
- Node374.a('node.bordercolor','rgba(64,64,64,1)');
- Node374.a('node.borderwidth', 0);
- Node374.a('node.background','' || 'rgba(0,0,0,0)');
- Node374.a('node.gradient','');
- Node374.a('node.gradientcolor','');
- Node374.a('node.text','0');
- Node374.a('node.textalign','left');
- Node374.a('node.textvAlign','middle');
- Node374.a('node.textrect', [Node374textStart, 0, Node374textWidth, Node374height]);
- Node374.a('node.color','rgba(64,64,64,1)');
- Node374.a('node.font',' '+ Node374fontSize + 'px "UniDreamLED"');
- Node374.a('node.textvisible',true);
- Node374.a('node.linefeed',false);
- if (false) {
- Node374.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node374.a('node.text') || '0';
- var color=Node374.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node374width,Node374height,13.3333*_ratio.ratioY,"left",color,' '+ Node374fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node374.a('node.underlinepoints',[Node374lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node374fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node374fontSize + 'px "UniDreamLED"').width + 6, (Node374height - Node374fontSize) * 0.5*_ratio.ratioY + Node374fontSize + 2 ]);
- Node374.a('node.underlinevisible',false);
- Node374.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node374);
- zoomNodeList.push({
- node: Node374,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node375 = new ht.Node();
- var Node375textStart, Node375textWidth, Node375lineStart, Node375align = 'left', Node375fontSize = 13.3333*_ratio.ratioY,Node375width = 29*_ratio.ratioX, Node375height = 25*_ratio.ratioY;
- (function () {
- if (Node375align === 'left') {
- Node375textStart = Node375fontSize * 0.2 > 2 ? Node375fontSize * 0.2 - 4 : Node375fontSize * 0.2 - 9;
- Node375textWidth = Node375width;
- Node375lineStart = 1;
- } else if (Node375align === 'right') {
- Node375textStart = 0;
- Node375textWidth =Node375fontSize <= 8 ? Node375width + Node375fontSize * 0.2 + 6 : Node375width - Node375fontSize * 0.2;
- Node375lineStart = (Node375width - (ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node375align === 'center') {
- Node375textStart = -3;
- Node375textWidth = Node375width;
- Node375lineStart = Node375width - ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node375.setImage(GD.getTextJSON(Node375width, Node375height, true, false, false, ' '+ Node375fontSize + 'px "UniDreamLED"'))
- Node375.setPosition(677*ratio.ratioX, 723*ratio.ratioY);
- Node375.setWidth(Node375width);
- Node375.setHeight(Node375height);
- Node375._nodeType = 'text';
- Node375._disallowEvert = true;
- Node375.setRotation(0*Math.PI/180);
- Node375.a('node.width', Node375width);
- Node375.a('node.height', Node375height);
- Node375.a('node.rect', [0, 0, Node375width, Node375height]);
- Node375.a('node.bordercolor','rgba(64,64,64,1)');
- Node375.a('node.borderwidth', 0);
- Node375.a('node.background','' || 'rgba(0,0,0,0)');
- Node375.a('node.gradient','');
- Node375.a('node.gradientcolor','');
- Node375.a('node.text','0');
- Node375.a('node.textalign','left');
- Node375.a('node.textvAlign','middle');
- Node375.a('node.textrect', [Node375textStart, 0, Node375textWidth, Node375height]);
- Node375.a('node.color','rgba(64,64,64,1)');
- Node375.a('node.font',' '+ Node375fontSize + 'px "UniDreamLED"');
- Node375.a('node.textvisible',true);
- Node375.a('node.linefeed',false);
- if (false) {
- Node375.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node375.a('node.text') || '0';
- var color=Node375.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node375width,Node375height,13.3333*_ratio.ratioY,"left",color,' '+ Node375fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node375.a('node.underlinepoints',[Node375lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node375fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node375fontSize + 'px "UniDreamLED"').width + 6, (Node375height - Node375fontSize) * 0.5*_ratio.ratioY + Node375fontSize + 2 ]);
- Node375.a('node.underlinevisible',false);
- Node375.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node375);
- zoomNodeList.push({
- node: Node375,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node376 = new ht.Node();
- var Node376textStart, Node376textWidth, Node376lineStart, Node376align = 'left', Node376fontSize = 13.3333*_ratio.ratioY,Node376width = 29*_ratio.ratioX, Node376height = 25*_ratio.ratioY;
- (function () {
- if (Node376align === 'left') {
- Node376textStart = Node376fontSize * 0.2 > 2 ? Node376fontSize * 0.2 - 4 : Node376fontSize * 0.2 - 9;
- Node376textWidth = Node376width;
- Node376lineStart = 1;
- } else if (Node376align === 'right') {
- Node376textStart = 0;
- Node376textWidth =Node376fontSize <= 8 ? Node376width + Node376fontSize * 0.2 + 6 : Node376width - Node376fontSize * 0.2;
- Node376lineStart = (Node376width - (ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node376align === 'center') {
- Node376textStart = -3;
- Node376textWidth = Node376width;
- Node376lineStart = Node376width - ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node376.setImage(GD.getTextJSON(Node376width, Node376height, true, false, false, ' '+ Node376fontSize + 'px "UniDreamLED"'))
- Node376.setPosition(677*ratio.ratioX, 752*ratio.ratioY);
- Node376.setWidth(Node376width);
- Node376.setHeight(Node376height);
- Node376._nodeType = 'text';
- Node376._disallowEvert = true;
- Node376.setRotation(0*Math.PI/180);
- Node376.a('node.width', Node376width);
- Node376.a('node.height', Node376height);
- Node376.a('node.rect', [0, 0, Node376width, Node376height]);
- Node376.a('node.bordercolor','rgba(64,64,64,1)');
- Node376.a('node.borderwidth', 0);
- Node376.a('node.background','' || 'rgba(0,0,0,0)');
- Node376.a('node.gradient','');
- Node376.a('node.gradientcolor','');
- Node376.a('node.text','0');
- Node376.a('node.textalign','left');
- Node376.a('node.textvAlign','middle');
- Node376.a('node.textrect', [Node376textStart, 0, Node376textWidth, Node376height]);
- Node376.a('node.color','rgba(64,64,64,1)');
- Node376.a('node.font',' '+ Node376fontSize + 'px "UniDreamLED"');
- Node376.a('node.textvisible',true);
- Node376.a('node.linefeed',false);
- if (false) {
- Node376.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node376.a('node.text') || '0';
- var color=Node376.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node376width,Node376height,13.3333*_ratio.ratioY,"left",color,' '+ Node376fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node376.a('node.underlinepoints',[Node376lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node376fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node376fontSize + 'px "UniDreamLED"').width + 6, (Node376height - Node376fontSize) * 0.5*_ratio.ratioY + Node376fontSize + 2 ]);
- Node376.a('node.underlinevisible',false);
- Node376.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node376);
- zoomNodeList.push({
- node: Node376,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node377 = new ht.Node();
- var Node377textStart, Node377textWidth, Node377lineStart, Node377align = 'left', Node377fontSize = 13.3333*_ratio.ratioY,Node377width = 29*_ratio.ratioX, Node377height = 25*_ratio.ratioY;
- (function () {
- if (Node377align === 'left') {
- Node377textStart = Node377fontSize * 0.2 > 2 ? Node377fontSize * 0.2 - 4 : Node377fontSize * 0.2 - 9;
- Node377textWidth = Node377width;
- Node377lineStart = 1;
- } else if (Node377align === 'right') {
- Node377textStart = 0;
- Node377textWidth =Node377fontSize <= 8 ? Node377width + Node377fontSize * 0.2 + 6 : Node377width - Node377fontSize * 0.2;
- Node377lineStart = (Node377width - (ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node377align === 'center') {
- Node377textStart = -3;
- Node377textWidth = Node377width;
- Node377lineStart = Node377width - ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node377.setImage(GD.getTextJSON(Node377width, Node377height, true, false, false, ' '+ Node377fontSize + 'px "UniDreamLED"'))
- Node377.setPosition(677*ratio.ratioX, 783*ratio.ratioY);
- Node377.setWidth(Node377width);
- Node377.setHeight(Node377height);
- Node377._nodeType = 'text';
- Node377._disallowEvert = true;
- Node377.setRotation(0*Math.PI/180);
- Node377.a('node.width', Node377width);
- Node377.a('node.height', Node377height);
- Node377.a('node.rect', [0, 0, Node377width, Node377height]);
- Node377.a('node.bordercolor','rgba(64,64,64,1)');
- Node377.a('node.borderwidth', 0);
- Node377.a('node.background','' || 'rgba(0,0,0,0)');
- Node377.a('node.gradient','');
- Node377.a('node.gradientcolor','');
- Node377.a('node.text','0');
- Node377.a('node.textalign','left');
- Node377.a('node.textvAlign','middle');
- Node377.a('node.textrect', [Node377textStart, 0, Node377textWidth, Node377height]);
- Node377.a('node.color','rgba(64,64,64,1)');
- Node377.a('node.font',' '+ Node377fontSize + 'px "UniDreamLED"');
- Node377.a('node.textvisible',true);
- Node377.a('node.linefeed',false);
- if (false) {
- Node377.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node377.a('node.text') || '0';
- var color=Node377.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node377width,Node377height,13.3333*_ratio.ratioY,"left",color,' '+ Node377fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node377.a('node.underlinepoints',[Node377lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node377fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node377fontSize + 'px "UniDreamLED"').width + 6, (Node377height - Node377fontSize) * 0.5*_ratio.ratioY + Node377fontSize + 2 ]);
- Node377.a('node.underlinevisible',false);
- Node377.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node377);
- zoomNodeList.push({
- node: Node377,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node378 = new ht.Node();
- var Node378textStart, Node378textWidth, Node378lineStart, Node378align = 'left', Node378fontSize = 13.3333*_ratio.ratioY,Node378width = 29*_ratio.ratioX, Node378height = 25*_ratio.ratioY;
- (function () {
- if (Node378align === 'left') {
- Node378textStart = Node378fontSize * 0.2 > 2 ? Node378fontSize * 0.2 - 4 : Node378fontSize * 0.2 - 9;
- Node378textWidth = Node378width;
- Node378lineStart = 1;
- } else if (Node378align === 'right') {
- Node378textStart = 0;
- Node378textWidth =Node378fontSize <= 8 ? Node378width + Node378fontSize * 0.2 + 6 : Node378width - Node378fontSize * 0.2;
- Node378lineStart = (Node378width - (ht.Default.getTextSize('台', ' '+ Node378fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node378align === 'center') {
- Node378textStart = -3;
- Node378textWidth = Node378width;
- Node378lineStart = Node378width - ht.Default.getTextSize('台', ' '+ Node378fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node378.setImage(GD.getTextJSON(Node378width, Node378height, true, false, false, ' '+ Node378fontSize + 'px "UniDreamLED"'))
- Node378.setPosition(731*ratio.ratioX, 722*ratio.ratioY);
- Node378.setWidth(Node378width);
- Node378.setHeight(Node378height);
- Node378._nodeType = 'text';
- Node378._disallowEvert = true;
- Node378.setRotation(0*Math.PI/180);
- Node378.a('node.width', Node378width);
- Node378.a('node.height', Node378height);
- Node378.a('node.rect', [0, 0, Node378width, Node378height]);
- Node378.a('node.bordercolor','rgba(64,64,64,1)');
- Node378.a('node.borderwidth', 0);
- Node378.a('node.background','' || 'rgba(0,0,0,0)');
- Node378.a('node.gradient','');
- Node378.a('node.gradientcolor','');
- Node378.a('node.text','台');
- Node378.a('node.textalign','left');
- Node378.a('node.textvAlign','middle');
- Node378.a('node.textrect', [Node378textStart, 0, Node378textWidth, Node378height]);
- Node378.a('node.color','rgba(64,64,64,1)');
- Node378.a('node.font',' '+ Node378fontSize + 'px "UniDreamLED"');
- Node378.a('node.textvisible',true);
- Node378.a('node.linefeed',false);
- if (false) {
- Node378.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node378.a('node.text') || '台';
- var color=Node378.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node378width,Node378height,13.3333*_ratio.ratioY,"left",color,' '+ Node378fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node378.a('node.underlinepoints',[Node378lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node378fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node378fontSize + 'px "UniDreamLED"').width + 6, (Node378height - Node378fontSize) * 0.5*_ratio.ratioY + Node378fontSize + 2 ]);
- Node378.a('node.underlinevisible',false);
- Node378.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node378);
- zoomNodeList.push({
- node: Node378,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node379 = new ht.Node();
- var Node379textStart, Node379textWidth, Node379lineStart, Node379align = 'left', Node379fontSize = 13.3333*_ratio.ratioY,Node379width = 29*_ratio.ratioX, Node379height = 25*_ratio.ratioY;
- (function () {
- if (Node379align === 'left') {
- Node379textStart = Node379fontSize * 0.2 > 2 ? Node379fontSize * 0.2 - 4 : Node379fontSize * 0.2 - 9;
- Node379textWidth = Node379width;
- Node379lineStart = 1;
- } else if (Node379align === 'right') {
- Node379textStart = 0;
- Node379textWidth =Node379fontSize <= 8 ? Node379width + Node379fontSize * 0.2 + 6 : Node379width - Node379fontSize * 0.2;
- Node379lineStart = (Node379width - (ht.Default.getTextSize('台', ' '+ Node379fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node379align === 'center') {
- Node379textStart = -3;
- Node379textWidth = Node379width;
- Node379lineStart = Node379width - ht.Default.getTextSize('台', ' '+ Node379fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node379.setImage(GD.getTextJSON(Node379width, Node379height, true, false, false, ' '+ Node379fontSize + 'px "UniDreamLED"'))
- Node379.setPosition(731*ratio.ratioX, 753*ratio.ratioY);
- Node379.setWidth(Node379width);
- Node379.setHeight(Node379height);
- Node379._nodeType = 'text';
- Node379._disallowEvert = true;
- Node379.setRotation(0*Math.PI/180);
- Node379.a('node.width', Node379width);
- Node379.a('node.height', Node379height);
- Node379.a('node.rect', [0, 0, Node379width, Node379height]);
- Node379.a('node.bordercolor','rgba(64,64,64,1)');
- Node379.a('node.borderwidth', 0);
- Node379.a('node.background','' || 'rgba(0,0,0,0)');
- Node379.a('node.gradient','');
- Node379.a('node.gradientcolor','');
- Node379.a('node.text','台');
- Node379.a('node.textalign','left');
- Node379.a('node.textvAlign','middle');
- Node379.a('node.textrect', [Node379textStart, 0, Node379textWidth, Node379height]);
- Node379.a('node.color','rgba(64,64,64,1)');
- Node379.a('node.font',' '+ Node379fontSize + 'px "UniDreamLED"');
- Node379.a('node.textvisible',true);
- Node379.a('node.linefeed',false);
- if (false) {
- Node379.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node379.a('node.text') || '台';
- var color=Node379.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node379width,Node379height,13.3333*_ratio.ratioY,"left",color,' '+ Node379fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node379.a('node.underlinepoints',[Node379lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node379fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node379fontSize + 'px "UniDreamLED"').width + 6, (Node379height - Node379fontSize) * 0.5*_ratio.ratioY + Node379fontSize + 2 ]);
- Node379.a('node.underlinevisible',false);
- Node379.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node379);
- zoomNodeList.push({
- node: Node379,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node380 = new ht.Node();
- var Node380textStart, Node380textWidth, Node380lineStart, Node380align = 'left', Node380fontSize = 13.3333*_ratio.ratioY,Node380width = 29*_ratio.ratioX, Node380height = 25*_ratio.ratioY;
- (function () {
- if (Node380align === 'left') {
- Node380textStart = Node380fontSize * 0.2 > 2 ? Node380fontSize * 0.2 - 4 : Node380fontSize * 0.2 - 9;
- Node380textWidth = Node380width;
- Node380lineStart = 1;
- } else if (Node380align === 'right') {
- Node380textStart = 0;
- Node380textWidth =Node380fontSize <= 8 ? Node380width + Node380fontSize * 0.2 + 6 : Node380width - Node380fontSize * 0.2;
- Node380lineStart = (Node380width - (ht.Default.getTextSize('台', ' '+ Node380fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node380align === 'center') {
- Node380textStart = -3;
- Node380textWidth = Node380width;
- Node380lineStart = Node380width - ht.Default.getTextSize('台', ' '+ Node380fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node380.setImage(GD.getTextJSON(Node380width, Node380height, true, false, false, ' '+ Node380fontSize + 'px "UniDreamLED"'))
- Node380.setPosition(732*ratio.ratioX, 782*ratio.ratioY);
- Node380.setWidth(Node380width);
- Node380.setHeight(Node380height);
- Node380._nodeType = 'text';
- Node380._disallowEvert = true;
- Node380.setRotation(0*Math.PI/180);
- Node380.a('node.width', Node380width);
- Node380.a('node.height', Node380height);
- Node380.a('node.rect', [0, 0, Node380width, Node380height]);
- Node380.a('node.bordercolor','rgba(64,64,64,1)');
- Node380.a('node.borderwidth', 0);
- Node380.a('node.background','' || 'rgba(0,0,0,0)');
- Node380.a('node.gradient','');
- Node380.a('node.gradientcolor','');
- Node380.a('node.text','台');
- Node380.a('node.textalign','left');
- Node380.a('node.textvAlign','middle');
- Node380.a('node.textrect', [Node380textStart, 0, Node380textWidth, Node380height]);
- Node380.a('node.color','rgba(64,64,64,1)');
- Node380.a('node.font',' '+ Node380fontSize + 'px "UniDreamLED"');
- Node380.a('node.textvisible',true);
- Node380.a('node.linefeed',false);
- if (false) {
- Node380.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node380.a('node.text') || '台';
- var color=Node380.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node380width,Node380height,13.3333*_ratio.ratioY,"left",color,' '+ Node380fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node380.a('node.underlinepoints',[Node380lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node380fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node380fontSize + 'px "UniDreamLED"').width + 6, (Node380height - Node380fontSize) * 0.5*_ratio.ratioY + Node380fontSize + 2 ]);
- Node380.a('node.underlinevisible',false);
- Node380.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node380);
- zoomNodeList.push({
- node: Node380,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:3,
- min: 0,
- max: 1000,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.333333333333333, 'rgba(0,128,128,1)'],[1, 'rgba(128,128,128,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 1
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: 0, name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node381 = new ht.HtmlNode();
- Node381.setPosition({'x':448*ratio.ratioX,'y':687*ratio.ratioY});
- Node381.setWidth(180*_ratio.ratioX);
- Node381.setHeight(97*_ratio.ratioY);
- Node381.setScalable(false);
- Node381.setRotation(0);
- Node381.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node381.setHtml(chart);
- var Node381_chart = chart._chart;
- dataModel.add(Node381);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node382type = 'rect';
- var Node382 = new ht.Node(),
- Node382BorderWidth = 0*2;
- if (Node382type === 'arc') {
- Node382BorderWidth *= 0;
- }
- Node382.setImage(GD.getRectJSON(28*_ratio.ratioX, 166*_ratio.ratioY, Node382type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node382.setPosition(19*ratio.ratioX, 886*ratio.ratioY);
- Node382.setSize(28*_ratio.ratioX, 166*_ratio.ratioY);
- Node382.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node382.a('node.width', 28*_ratio.ratioX);
- Node382.a('node.height', 166*_ratio.ratioY);
- Node382.a('node.type', Node382type);
- Node382.a('node.rect', [0, 0, 28*_ratio.ratioX, 166*_ratio.ratioY]);
- Node382.a('node.background', 'rgba(32,191,135,1)');
- Node382.a('node.gradientcolor', 'rgba(32,191,135,1)');
- Node382.a('node.gradient', '');
- Node382.a('node.borderwidth', Node382BorderWidth);
- Node382.a('node.color', 'rgba(0,0,0,0)');
- Node382.a('node.fillrect', [0,0,0,0]);
- Node382.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node382.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node382.a('node.fillgradient', '');
- if (Node382type !== 'rect') {
- Node382.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node382.a('node.arcTo', parseFloat('@arcTo@'));
- Node382.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node382type === 'arc') {
- Node382.a('node.arcOval', true);
- }
- Node382.setRotation(0*Math.PI/180);
- Node382.borderWidth = Node382BorderWidth;
- Node382.borderFillwidth = Node382BorderWidth;
- dataModel.add(Node382);
- Node382._nodename = 'Node382'
- Node382._nodeType = 'rect';
- zoomNodeList.push({
- node: Node382,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node382, Node382.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node383 = new ht.Node();
- var Node383textStart, Node383textWidth, Node383lineStart, Node383align = 'center', Node383fontSize = 13.3333*_ratio.ratioY,Node383width = 9*_ratio.ratioX, Node383height = 114*_ratio.ratioY;
- (function () {
- if (Node383align === 'left') {
- Node383textStart = Node383fontSize * 0.2 > 2 ? Node383fontSize * 0.2 - 4 : Node383fontSize * 0.2 - 9;
- Node383textWidth = Node383width;
- Node383lineStart = 1;
- } else if (Node383align === 'right') {
- Node383textStart = 0;
- Node383textWidth =Node383fontSize <= 8 ? Node383width + Node383fontSize * 0.2 + 6 : Node383width - Node383fontSize * 0.2;
- Node383lineStart = (Node383width - (ht.Default.getTextSize('月计划电量完成率', ' '+ Node383fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node383align === 'center') {
- Node383textStart = -3;
- Node383textWidth = Node383width;
- Node383lineStart = Node383width - ht.Default.getTextSize('月计划电量完成率', ' '+ Node383fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node383.setImage(GD.getTextJSON(Node383width, Node383height, false, true, false, ' '+ Node383fontSize + 'px "Arial"'))
- Node383.setPosition(19*ratio.ratioX, 895*ratio.ratioY);
- Node383.setWidth(Node383width);
- Node383.setHeight(Node383height);
- Node383._nodeType = 'text';
- Node383._disallowEvert = true;
- Node383.setRotation(0*Math.PI/180);
- Node383.a('node.width', Node383width);
- Node383.a('node.height', Node383height);
- Node383.a('node.rect', [0, 0, Node383width, Node383height]);
- Node383.a('node.bordercolor','rgba(255,255,255,1)');
- Node383.a('node.borderwidth', 0);
- Node383.a('node.background','' || 'rgba(0,0,0,0)');
- Node383.a('node.gradient','');
- Node383.a('node.gradientcolor','');
- Node383.a('node.text','月计划电量完成率');
- Node383.a('node.textalign','center');
- Node383.a('node.textvAlign','middle');
- Node383.a('node.textrect', [Node383textStart, 0, Node383textWidth, Node383height]);
- Node383.a('node.color','rgba(255,255,255,1)');
- Node383.a('node.font',' '+ Node383fontSize + 'px "Arial"');
- Node383.a('node.textvisible',false);
- Node383.a('node.linefeed',true);
- if (true) {
- Node383.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node383.a('node.text') || '月计划电量完成率';
- var color=Node383.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node383width,Node383height,13.3333*_ratio.ratioY,"center",color,' '+ Node383fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node383.a('node.underlinepoints',[Node383lineStart, (114 - 13.3333) * 0.5 * _ratio.ratioY + Node383fontSize + 2 , ht.Default.getTextSize('月计划电量完成率', ' '+ Node383fontSize + 'px "Arial"').width + 6, (Node383height - Node383fontSize) * 0.5*_ratio.ratioY + Node383fontSize + 2 ]);
- Node383.a('node.underlinevisible',false);
- Node383.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node383);
- zoomNodeList.push({
- node: Node383,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- var Node384style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
- var Node384obj=getIndicatorAndSheBeiArr(Node384GroupVarName,Node384GroupInVarName);
- var Node384series=getIndicatorOrShebeiInfo(Node384GroupVarName,Node384GroupInVarName,Node384style);
- Node384series && Node384series[0] && (Node384series[0].barGap = 0);
- var Node384option = {
- tooltip : {
- trigger: 'axis',
- axisPointer : {
- type : 'shadow',
- shadowStyle: {
- color: {
- type: 'linear',
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
- }, {
- offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
- }],
- globalCoord: false // 缺省为 false
- },
- opacity: 0.2
- }
- },
- // formatter:function (params, ticket, callback) {
- // console.log(params, ticket);
- // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
- // var result ;
- // for (var i = 0, len = params.length; i < len; i++) {
- // }
- // }
- },
- grid: {
- left: '0%',
- right: '0%',
- bottom: '3%',
- top:'5%',
- containLabel: true
- },
- legend:{
- show:false,
- data:Node384obj["indicatorArr"]
- },
- xAxis : [
- {
- type : 'category',
- splitNumber:0,
- data :Node384obj["shebeiArr"],
- axisLine:{
- lineStyle:{
- color:'rgba(0,0,0,1)'
- }
- },
- axisLabel:{
- inside:false,
- interval: 0,
- textStyle:{
- fontSize:"13.3333"
- }
- },
- z: 10,
- splitLine:{
- show:true,
- lineStyle:{
- color:'rgba(220,220,220,1)'
- }
- }
- }
- ],
- yAxis : [
- {
- type : 'value',
- min:0,
- max:1000,
- axisTick:{
- lineStyle:{
- color:'rgba(0,0,0,1)'
- }
- },
- precision:2,
- axisLine:{
- lineStyle:{
- color:'rgba(0,0,0,1)'
- }
- },
- axisLabel:{
- textStyle:{
- fontSize:"13.3333"
- }
- },
- splitLine:{
- show:true,
- lineStyle:{
- color:'rgba(220,220,220,1)'
- }
- }
- }],
- color: Node384obj.colorArr,
- series : Node384series
-
- };
- var Node384 = new ht.HtmlNode();
- var Node384BeginTime = "";
- var Node384endTime = "";
- var Node384yRange = 'fixed';
- Node384.setPosition({'x':373*ratio.ratioX,'y':888*ratio.ratioY});
- Node384.setWidth(606*ratio.ratioX);
- Node384.setHeight(129*ratio.ratioY);
- Node384.setScalable(false);
- Node384.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- var Node384chart = new ht.Chart(Node384option, 606*ratio.ratioX, 129*ratio.ratioY);
- Node384.setHtml( Node384chart);
- var Node384_chart = Node384chart._chart;
- dataModel.add(Node384);
- function Node384Refresh(){
- var option = Node384chart.getOption(),
- _option = Node384_chart.getOption(),
- ses = _option.series;
- option.series = getIndicatorOrShebeiInfo(Node384GroupVarName,Node384GroupInVarName,Node384style);
- if (Node384yRange === 'real') {
- var maxAndMin = GD.getMaxAndMinFromSeries(ses);
- option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
- option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
- }
- Node384_chart.setOption(option, true);
- }
- function Node384Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- // var tagsInfo = encodeURIComponent(Node384obj.tagArr.join(','));
- var beginTime = "",
- endTime = "",
- type = 'static'; // 时间段:当日,当月,当年 。固定时间
- var groupbarType = 'snap';
- var beginTimeType = 'begin',
- endTimeType = 'end';
- var difTagsInfo = '',
- staTagsInfo = '',
- staTagArr = [],
- difTagArr = [];
- (function () {
- var tagsType = Node384obj.statisticsTypeObj,
- k, v;
- for (var key in tagsType) {
- if (tagsType.hasOwnProperty(key)) {
- k = key;
- v = tagsType[k];
- if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
- difTagArr.push(k);
- } else {
- staTagArr.push(k);
- }
- }
- }
- difTagsInfo = encodeURIComponent(difTagArr.join(','));
- staTagsInfo = encodeURIComponent(staTagArr.join(','));
- })();
- if (groupbarType === 'snap') {
- Node384Refresh()
- return;
- }
- if (type === 'relday') {
- if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
- endTimeType = '';
- }
- } else if (type === 'relmonth') {
- if (endTime === '0m') {
- endTimeType = ''
- }
- } else if (type === 'relyear') {
- if (endTime === '0y') {
- endTimeType = ''
- }
- } else if (type === 'static') {
- beginTimeType = '';
- endTimeType = '';
- } else {
- beginTimeType = 'begin';
- endTimeType = '';
- }
- beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
- endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
- var flag = 0,
- staData,
- difData;
- if (!GD.testSearchTime(beginTime, endTime)) {
- return false;
- }
- if (difTagsInfo) {
- $.ajax({
- url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- difData = {};
- return ;
- }
- difData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- }
- });
- } else {
- flag ++;
- difData = {};
- complete();
- }
- if (staTagsInfo) {
- $.ajax({
- url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- staData = {};
- return ;
- }
- staData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- complete()
- }
- });
- } else {
- flag ++;
- staData = {};
- complete();
- }
- function complete() {
- if (flag < 2) {
- return ;
- }
- var datas = staData;
- for (var key in difData) {
- if (difData.hasOwnProperty(key)) {
- if (!datas[key]) {
- datas[key] = difData[key];
- }
- else {
- for (var k in difData[key]) {
- datas[key][k] = difData[key][k];
- }
- }
- }
- }
- var option = Node384chart.getOption(),
- _option = Node384_chart.getOption(),
- ses = _option.series;
- var series = [];
- for (var i = 0, len = Node384GroupInVarName.length; i < len; i++) {
- var indiacatorData = Node384GroupInVarName[i];
- var data = {};
- data.name = indiacatorData.displayName || indiacatorData.Desc;
- data.type = 'bar';
- data.data = [];
- for (var j = 0, leng = Node384GroupVarName.length; j < leng; j++) {
- var itemStyle={normal:{color:indiacatorData.color}};
- data.itemStyle=itemStyle;
- var deviceData = Node384GroupVarName[j];
- var value = 0;
- var tagName = '' + deviceData.Name + indiacatorData.Name;
- var statisticsType = Node384obj.statisticsTypeObj && Node384obj.statisticsTypeObj[tagName];
- value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
- data.data.push(value);
- }
- series.push(data);
- }
- series && series[0] && (series[0].barGap = 0);
- option.series = series;
- if (Node384yRange === 'real') {
- var maxAndMin = GD.getMaxAndMinFromSeries(series);
- option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
- option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
- } else {
- option.yAxis[0].min = 0;
- option.yAxis[0].max = 1000;
- }
- Node384_chart.setOption(option, true);
- }
- }
- if(true){
- Node384Refresh();
- intervalTimers.push(setInterval(function(){
- Node384Refresh();
- },1000));
- } else {
- // Node384Search();
- }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node385type = 'rect';
- var Node385 = new ht.Node(),
- Node385BorderWidth = 0*2;
- if (Node385type === 'arc') {
- Node385BorderWidth *= 0;
- }
- Node385.setImage(GD.getRectJSON(25*_ratio.ratioX, 356*_ratio.ratioY, Node385type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node385.setPosition(777*ratio.ratioX, 782*ratio.ratioY);
- Node385.setSize(25*_ratio.ratioX, 356*_ratio.ratioY);
- Node385.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node385.a('node.width', 25*_ratio.ratioX);
- Node385.a('node.height', 356*_ratio.ratioY);
- Node385.a('node.type', Node385type);
- Node385.a('node.rect', [0, 0, 25*_ratio.ratioX, 356*_ratio.ratioY]);
- Node385.a('node.background', 'rgba(0,132,216,1)');
- Node385.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node385.a('node.gradient', '');
- Node385.a('node.borderwidth', Node385BorderWidth);
- Node385.a('node.color', 'rgba(0,0,0,0)');
- Node385.a('node.fillrect', [0,0,0,0]);
- Node385.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node385.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node385.a('node.fillgradient', '');
- if (Node385type !== 'rect') {
- Node385.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node385.a('node.arcTo', parseFloat('@arcTo@'));
- Node385.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node385type === 'arc') {
- Node385.a('node.arcOval', true);
- }
- Node385.setRotation(0*Math.PI/180);
- Node385.borderWidth = Node385BorderWidth;
- Node385.borderFillwidth = Node385BorderWidth;
- dataModel.add(Node385);
- Node385._nodename = 'Node385'
- Node385._nodeType = 'rect';
- zoomNodeList.push({
- node: Node385,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node385, Node385.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node386 = new ht.Node();
- var Node386textStart, Node386textWidth, Node386lineStart, Node386align = 'center', Node386fontSize = 13.3333*_ratio.ratioY,Node386width = 9*_ratio.ratioX, Node386height = 114*_ratio.ratioY;
- (function () {
- if (Node386align === 'left') {
- Node386textStart = Node386fontSize * 0.2 > 2 ? Node386fontSize * 0.2 - 4 : Node386fontSize * 0.2 - 9;
- Node386textWidth = Node386width;
- Node386lineStart = 1;
- } else if (Node386align === 'right') {
- Node386textStart = 0;
- Node386textWidth =Node386fontSize <= 8 ? Node386width + Node386fontSize * 0.2 + 6 : Node386width - Node386fontSize * 0.2;
- Node386lineStart = (Node386width - (ht.Default.getTextSize('理论电量平衡分析', ' '+ Node386fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node386align === 'center') {
- Node386textStart = -3;
- Node386textWidth = Node386width;
- Node386lineStart = Node386width - ht.Default.getTextSize('理论电量平衡分析', ' '+ Node386fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node386.setImage(GD.getTextJSON(Node386width, Node386height, false, true, false, ' '+ Node386fontSize + 'px "Arial"'))
- Node386.setPosition(779*ratio.ratioX, 764*ratio.ratioY);
- Node386.setWidth(Node386width);
- Node386.setHeight(Node386height);
- Node386._nodeType = 'text';
- Node386._disallowEvert = true;
- Node386.setRotation(0*Math.PI/180);
- Node386.a('node.width', Node386width);
- Node386.a('node.height', Node386height);
- Node386.a('node.rect', [0, 0, Node386width, Node386height]);
- Node386.a('node.bordercolor','rgba(255,255,255,1)');
- Node386.a('node.borderwidth', 0);
- Node386.a('node.background','' || 'rgba(0,0,0,0)');
- Node386.a('node.gradient','');
- Node386.a('node.gradientcolor','');
- Node386.a('node.text','理论电量平衡分析');
- Node386.a('node.textalign','center');
- Node386.a('node.textvAlign','middle');
- Node386.a('node.textrect', [Node386textStart, 0, Node386textWidth, Node386height]);
- Node386.a('node.color','rgba(255,255,255,1)');
- Node386.a('node.font',' '+ Node386fontSize + 'px "Arial"');
- Node386.a('node.textvisible',false);
- Node386.a('node.linefeed',true);
- if (true) {
- Node386.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node386.a('node.text') || '理论电量平衡分析';
- var color=Node386.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node386width,Node386height,13.3333*_ratio.ratioY,"center",color,' '+ Node386fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node386.a('node.underlinepoints',[Node386lineStart, (114 - 13.3333) * 0.5 * _ratio.ratioY + Node386fontSize + 2 , ht.Default.getTextSize('理论电量平衡分析', ' '+ Node386fontSize + 'px "Arial"').width + 6, (Node386height - Node386fontSize) * 0.5*_ratio.ratioY + Node386fontSize + 2 ]);
- Node386.a('node.underlinevisible',false);
- Node386.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node386);
- zoomNodeList.push({
- node: Node386,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- // var alarmLevelDic = {};
- // var alarmLevelDicName = {};
- // var alarmGroupDic = {};
- var Node387_beginTime='2018/6/28 14:55:41';
- var Node387_endTime='2018/6/29 14:55:41';
- var Node387_alarmAreaTmp='*';
- var Node387_chartType="normal";
- var Node387Export;
- var Node387Arr=[{tagName:'10',statisticsType:'CalcAvg', name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{tagName:'20',statisticsType:'CalcAvg', name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{tagName:'30',statisticsType:'CalcAvg', name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{tagName:'202,32,32',statisticsType:'CalcAvg', name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{tagName:'8',statisticsType:'CalcAvg', name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{tagName:'12',statisticsType:'CalcAvg', name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{tagName:'3',statisticsType:'CalcAvg', name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}];
- var st,et,alarmArea;
- var Node387Option = {
- title : {
- text: '',
- x:''
- },
- tooltip : {
- trigger: 'item',
- //formatter: "{a} <br/>{b} :{c} ({d}%)"
- formatter:function (params, ticket, callback) {
- return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
- }
- },
- color:colors,
- toolbox: {
- // show: false,
- feature: {
- //dataView: {show: true, readOnly: false},
- //magicType: {show: true, type: ['line', 'bar', 'stack', 'tiled']},
- //restore: {show: true},
- saveAsImage: {show: false}
- }
- },
- legend: {
- //orient: 'vertical',
- //left: 'left',
- bottom:'bottom',
- data: ["一","二","三","四","五","六","七"],
- show:false
- },
- series : [
- {
- name: '',
- type: 'pie',
- radius : '65%',
- center: ['50%', '50%'],
- data:[ {value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}],
- label: {
- normal: {
- show:false
- }
- },
- itemStyle: {
- // normal: {
- // shadowBlur: 10,
- // shadowOffsetX: 10,
- // shadowOffsetY: 10,
- // shadowColor: 'rgba(0, 0, 0, 0.5)',
-
- // },
- // emphasis: {
- // shadowBlur: 10,
- // shadowOffsetX: 10,
- // shadowOffsetY: 10,
- // shadowColor: 'rgba(0, 0, 0, 0.5)'
- // }
- }
- }
- ]
- };
- var Node387 = new ht.HtmlNode();
- Node387.setPosition({'x':997*ratio.ratioX,'y':790*ratio.ratioY});
- Node387.setWidth(379.2*ratio.ratioX);
- Node387.setHeight(379.2*ratio.ratioY);
- Node387.setScalable(false);
- Node387.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- //Node387.option=Node387Option;
- chart = new ht.Chart(Node387Option, 379.2*ratio.ratioX, 379.2*ratio.ratioY);
- Node387.setHtml(chart);
- var Node387_chart = chart._chart;
- dataModel.add(Node387);
- Node387.option=Node387Option;
- if(Node387_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:41')).getTime();
- et=(new Date('2018/6/29 14:55:41')).getTime();
- Node387_alarmAreaTmp = '*'||'*';
- }else{
- st=(new Date("'2018/6/28 14:55:41'")).getTime();
- et=(new Date("'2018/6/29 14:55:41'")).getTime();
- Node387_alarmAreaTmp= ''*''||'*';
- }
- var alarmAreaDicName = {};
- Node387.NodeCreat=function(option)
- {
- Node387_chart.clear();
- Node387_chart.setOption(option);
- };
- //判断是不是报警画图
- if(Node387_chartType!="normal"){
- if(Node387_chartType=="alarmLevel"){
- //报警等级画图
- // getAlarmLevels();
- getAlarmLevelChartData(st,et,Node387_alarmAreaTmp,"alarmLevelPie",Node387,Node387.NodeCreat);
- }else if(Node387_chartType=="alarmGroup"){
- //报警组画图
- // alarmGroupDic= getAlarmGroups();
- getAlarmGroupChartData(st,et,Node387_alarmAreaTmp,"alarmGroupPie",Node387,Node387.NodeCreat);
- }
- }
- function Node387RefreshPieChartInfo(){
- if (Node387_chartType === 'statistic') {
- return Node387Search();
- }
- if(Node387_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:41')).getTime();
- et=(new Date('2018/6/29 14:55:41')).getTime();
- Node387_alarmAreaTmp = '*'||'*';
- // Node387_alarmAreaTmp="你好";
- // var Node387type=Node387_chartType+"pie";
- if (!GD.testSearchTime(st, et)) {
- return ;
- }
- if(Node387_chartType=="alarmLevel"){
- getAlarmLevelChartData(st,et,Node387_alarmAreaTmp,"alarmLevelPie",Node387,Node387.NodeCreat);
- }else if(Node387_chartType=="alarmGroup"){
- getAlarmGroupChartData(st,et,Node387_alarmAreaTmp,"alarmGroupPie",Node387,Node387.NodeCreat);
- }
- }else{
- st=(new Date("'2018/6/28 14:55:41'")).getTime();
- et=(new Date("'2018/6/29 14:55:41'")).getTime();
- Node387_alarmAreaTmp= 'Node387_alarmAreaTmp'||'*';
- }
- }
- Node387Export = function () {
- var option = Node387_chart.getOption(),
- series = option.series[0] || {},
- data = series['data'] || [];
- var tempArr = [],
- resultArr = [],
- titleArr = [],
- d,title, total = 0, t, fileName;
- if(Node387_chartType!="normal"){
- if(Node387_chartType=="alarmLevel"){
- title = '故障级别';
- fileName = '故障级别';
- } else if(Node387_chartType=="alarmGroup"){
- title = '故障类别';
- fileName = '故障类别';
- }
- tempArr = [title, '数值', '百分比'];
- titleArr = ['name', 'value', 'percent'];
- for (var i = 0, len = data.length; i < len; i++) {
- total += data[i].value;
- }
- } else {
- title = '类目';
- tempArr = [title, '数值'];
- titleArr = ['name', 'value'];
- fileName = '';
- }
- resultArr.push(tempArr);
- for (var i = 0, len = data.length; i < len; i++) {
- d = data[i];
- tempArr = [];
- for (var j = 0, leng = titleArr.length; j < leng; j++) {
- t = titleArr[j];
- if (t === 'percent') {
- if (total != 0) {
- tempArr.push((d.value * 100 / total).toFixed(2, 10) + '%');
- } else {
- tempArr.push('0.00%');
- }
- } else {
- tempArr.push(d[t]);
- }
- }
- resultArr.push(tempArr);
- }
- GD.exportArrToCsv(resultArr, fileName);
- };
- function Node387Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- var statisticsTypeObj = {};
- for(var i=0;i<Node387Arr.length;i++){
- statisticsTypeObj[Node387Arr[i].tagName] = Node387Arr[i].statisticsType;
- }
- var beginTime = '2018/6/28 14:55:41',
- endTime = '2018/6/29 14:55:41';
- // type = '@dateType@'; // 时间段:当日,当月,当年 。固定时间
- //var groupbarType = '@groupBarType@';
- var beginTimeType = 'begin',
- endTimeType = 'end';
- var difTagsInfo = '',
- staTagsInfo = '',
- staTagArr = [],
- difTagArr = [];
-
- (function () {
- var tagsType = statisticsTypeObj,
- k, v;
- for (var key in tagsType) {
- if (tagsType.hasOwnProperty(key)) {
- k = key;
- v = tagsType[k];
- if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
- difTagArr.push(k);
- } else {
- staTagArr.push(k);
- }
- }
- }
- difTagsInfo = encodeURIComponent(difTagArr.join(','));
- staTagsInfo = encodeURIComponent(staTagArr.join(','));
- })();
- if (Node387_chartType != 'statistic') {
- Node387RefreshPieChartInfo()
- return;
- }
- // if (type === 'relday') {
- // if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
- // endTimeType = '';
- // }
- // } else if (type === 'relmonth') {
- // if (endTime === '0m') {
- // endTimeType = ''
- // }
- // } else if (type === 'relyear') {
- // if (endTime === '0y') {
- // endTimeType = ''
- // }
- // } else if (type === 'static') {
- // beginTimeType = '';
- // endTimeType = '';
- // } else {
- // beginTimeType = 'begin';
- // endTimeType = '';
- // }
- // beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
- // endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
- var flag = 0,
- staData,
- difData;
- if (!GD.testSearchTime(beginTime, endTime)) {
- return false;
- }
- if (difTagsInfo) {
- $.ajax({
- url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- difData = {};
- return ;
- }
- difData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- }
- });
- } else {
- flag ++;
- difData = {};
- complete();
- }
- if (staTagsInfo) {
- $.ajax({
- url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- staData = {};
- return ;
- }
- staData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- complete()
- }
- });
- } else {
- flag ++;
- staData = {};
- complete();
- }
- function complete() {
- if (flag < 2) {
- return ;
- }
- var datas = staData || {};
-
- var option = Node387_chart.getOption();
- option.series[0].data=[];
- for (var i = 0, len = Node387Arr.length; i < len; i++) {
- var sdata = Node387Arr[i];
- var data = {};
- data.name = sdata.name;
- data.type = 'pie';
- data.data = [];
- data.itemStyle=sdata.itemStyle;
- var value = 0;
- var tagName = sdata.tagName;
- var statisticsType =statisticsTypeObj[tagName];
- value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
- data.value=value;
- option.series[0].data.push(data);
- }
- Node387_chart.setOption(option, true);
- }
- }
- if(Node387_chartType == 'statistic'){
- Node387Search();
- }
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node388type = 'rect';
- var Node388 = new ht.Node(),
- Node388BorderWidth = 1*2;
- if (Node388type === 'arc') {
- Node388BorderWidth *= 1;
- }
- Node388.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node388type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node388.setPosition(1190*ratio.ratioX, 677*ratio.ratioY);
- Node388.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node388.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node388.a('node.width', 72*_ratio.ratioX);
- Node388.a('node.height', 33*_ratio.ratioY);
- Node388.a('node.type', Node388type);
- Node388.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node388.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node388.a('node.gradientcolor', '');
- Node388.a('node.gradient', '');
- Node388.a('node.borderwidth', Node388BorderWidth);
- Node388.a('node.color', 'rgba(192,192,192,1)');
- Node388.a('node.fillrect', [0,0,0,0]);
- Node388.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node388.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node388.a('node.fillgradient', '');
- if (Node388type !== 'rect') {
- Node388.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node388.a('node.arcTo', parseFloat('@arcTo@'));
- Node388.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node388type === 'arc') {
- Node388.a('node.arcOval', true);
- }
- Node388.setRotation(0*Math.PI/180);
- Node388.borderWidth = Node388BorderWidth;
- Node388.borderFillwidth = Node388BorderWidth;
- dataModel.add(Node388);
- Node388._nodename = 'Node388'
- Node388._nodeType = 'rect';
- zoomNodeList.push({
- node: Node388,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node388, Node388.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node389type = 'rect';
- var Node389 = new ht.Node(),
- Node389BorderWidth = 0*2;
- if (Node389type === 'arc') {
- Node389BorderWidth *= 0;
- }
- Node389.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node389type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node389.setPosition(1262*ratio.ratioX, 677*ratio.ratioY);
- Node389.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node389.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node389.a('node.width', 72*_ratio.ratioX);
- Node389.a('node.height', 33*_ratio.ratioY);
- Node389.a('node.type', Node389type);
- Node389.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node389.a('node.background', 'rgba(0,132,235,1)');
- Node389.a('node.gradientcolor', 'rgba(0,132,235,1)');
- Node389.a('node.gradient', '');
- Node389.a('node.borderwidth', Node389BorderWidth);
- Node389.a('node.color', 'rgba(0,12,215,0)');
- Node389.a('node.fillrect', [0,0,0,0]);
- Node389.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node389.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node389.a('node.fillgradient', '');
- if (Node389type !== 'rect') {
- Node389.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node389.a('node.arcTo', parseFloat('@arcTo@'));
- Node389.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node389type === 'arc') {
- Node389.a('node.arcOval', true);
- }
- Node389.setRotation(0*Math.PI/180);
- Node389.borderWidth = Node389BorderWidth;
- Node389.borderFillwidth = Node389BorderWidth;
- dataModel.add(Node389);
- Node389._nodename = 'Node389'
- Node389._nodeType = 'rect';
- zoomNodeList.push({
- node: Node389,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node389, Node389.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node390 = new ht.Node();
- var Node390textStart, Node390textWidth, Node390lineStart, Node390align = 'left', Node390fontSize = 10.66664*_ratio.ratioY,Node390width = 63*_ratio.ratioX, Node390height = 25*_ratio.ratioY;
- (function () {
- if (Node390align === 'left') {
- Node390textStart = Node390fontSize * 0.2 > 2 ? Node390fontSize * 0.2 - 4 : Node390fontSize * 0.2 - 9;
- Node390textWidth = Node390width;
- Node390lineStart = 1;
- } else if (Node390align === 'right') {
- Node390textStart = 0;
- Node390textWidth =Node390fontSize <= 8 ? Node390width + Node390fontSize * 0.2 + 6 : Node390width - Node390fontSize * 0.2;
- Node390lineStart = (Node390width - (ht.Default.getTextSize('理论发电量', ' '+ Node390fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node390align === 'center') {
- Node390textStart = -3;
- Node390textWidth = Node390width;
- Node390lineStart = Node390width - ht.Default.getTextSize('理论发电量', ' '+ Node390fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node390.setImage(GD.getTextJSON(Node390width, Node390height, true, false, false, ' '+ Node390fontSize + 'px "Arial"'))
- Node390.setPosition(1189*ratio.ratioX, 679*ratio.ratioY);
- Node390.setWidth(Node390width);
- Node390.setHeight(Node390height);
- Node390._nodeType = 'text';
- Node390._disallowEvert = true;
- Node390.setRotation(0*Math.PI/180);
- Node390.a('node.width', Node390width);
- Node390.a('node.height', Node390height);
- Node390.a('node.rect', [0, 0, Node390width, Node390height]);
- Node390.a('node.bordercolor','rgba(0,0,0,1)');
- Node390.a('node.borderwidth', 0);
- Node390.a('node.background','' || 'rgba(0,0,0,0)');
- Node390.a('node.gradient','');
- Node390.a('node.gradientcolor','');
- Node390.a('node.text','理论发电量');
- Node390.a('node.textalign','left');
- Node390.a('node.textvAlign','middle');
- Node390.a('node.textrect', [Node390textStart, 0, Node390textWidth, Node390height]);
- Node390.a('node.color','rgba(0,0,0,1)');
- Node390.a('node.font',' '+ Node390fontSize + 'px "Arial"');
- Node390.a('node.textvisible',true);
- Node390.a('node.linefeed',false);
- if (false) {
- Node390.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node390.a('node.text') || '理论发电量';
- var color=Node390.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node390width,Node390height,10.66664*_ratio.ratioY,"left",color,' '+ Node390fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node390.a('node.underlinepoints',[Node390lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node390fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node390fontSize + 'px "Arial"').width + 6, (Node390height - Node390fontSize) * 0.5*_ratio.ratioY + Node390fontSize + 2 ]);
- Node390.a('node.underlinevisible',false);
- Node390.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node390);
- zoomNodeList.push({
- node: Node390,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node391type = 'rect';
- var Node391 = new ht.Node(),
- Node391BorderWidth = 1*2;
- if (Node391type === 'arc') {
- Node391BorderWidth *= 1;
- }
- Node391.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node391type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node391.setPosition(1190*ratio.ratioX, 716*ratio.ratioY);
- Node391.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node391.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node391.a('node.width', 72*_ratio.ratioX);
- Node391.a('node.height', 33*_ratio.ratioY);
- Node391.a('node.type', Node391type);
- Node391.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node391.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node391.a('node.gradientcolor', '');
- Node391.a('node.gradient', '');
- Node391.a('node.borderwidth', Node391BorderWidth);
- Node391.a('node.color', 'rgba(192,192,192,1)');
- Node391.a('node.fillrect', [0,0,0,0]);
- Node391.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node391.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node391.a('node.fillgradient', '');
- if (Node391type !== 'rect') {
- Node391.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node391.a('node.arcTo', parseFloat('@arcTo@'));
- Node391.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node391type === 'arc') {
- Node391.a('node.arcOval', true);
- }
- Node391.setRotation(0*Math.PI/180);
- Node391.borderWidth = Node391BorderWidth;
- Node391.borderFillwidth = Node391BorderWidth;
- dataModel.add(Node391);
- Node391._nodename = 'Node391'
- Node391._nodeType = 'rect';
- zoomNodeList.push({
- node: Node391,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node391, Node391.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node392type = 'rect';
- var Node392 = new ht.Node(),
- Node392BorderWidth = 1*2;
- if (Node392type === 'arc') {
- Node392BorderWidth *= 1;
- }
- Node392.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node392type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node392.setPosition(1262*ratio.ratioX, 716*ratio.ratioY);
- Node392.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node392.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node392.a('node.width', 72*_ratio.ratioX);
- Node392.a('node.height', 33*_ratio.ratioY);
- Node392.a('node.type', Node392type);
- Node392.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node392.a('node.background', 'rgba(60,184,254,1)');
- Node392.a('node.gradientcolor', 'rgba(60,184,254,1)');
- Node392.a('node.gradient', '');
- Node392.a('node.borderwidth', Node392BorderWidth);
- Node392.a('node.color', 'rgba(192,192,192,1)');
- Node392.a('node.fillrect', [0,0,0,0]);
- Node392.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node392.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node392.a('node.fillgradient', '');
- if (Node392type !== 'rect') {
- Node392.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node392.a('node.arcTo', parseFloat('@arcTo@'));
- Node392.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node392type === 'arc') {
- Node392.a('node.arcOval', true);
- }
- Node392.setRotation(0*Math.PI/180);
- Node392.borderWidth = Node392BorderWidth;
- Node392.borderFillwidth = Node392BorderWidth;
- dataModel.add(Node392);
- Node392._nodename = 'Node392'
- Node392._nodeType = 'rect';
- zoomNodeList.push({
- node: Node392,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node392, Node392.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node393 = new ht.Node();
- var Node393textStart, Node393textWidth, Node393lineStart, Node393align = 'left', Node393fontSize = 10.66664*_ratio.ratioY,Node393width = 63*_ratio.ratioX, Node393height = 25*_ratio.ratioY;
- (function () {
- if (Node393align === 'left') {
- Node393textStart = Node393fontSize * 0.2 > 2 ? Node393fontSize * 0.2 - 4 : Node393fontSize * 0.2 - 9;
- Node393textWidth = Node393width;
- Node393lineStart = 1;
- } else if (Node393align === 'right') {
- Node393textStart = 0;
- Node393textWidth =Node393fontSize <= 8 ? Node393width + Node393fontSize * 0.2 + 6 : Node393width - Node393fontSize * 0.2;
- Node393lineStart = (Node393width - (ht.Default.getTextSize('理论发电量', ' '+ Node393fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node393align === 'center') {
- Node393textStart = -3;
- Node393textWidth = Node393width;
- Node393lineStart = Node393width - ht.Default.getTextSize('理论发电量', ' '+ Node393fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node393.setImage(GD.getTextJSON(Node393width, Node393height, true, false, false, ' '+ Node393fontSize + 'px "Arial"'))
- Node393.setPosition(1189*ratio.ratioX, 718*ratio.ratioY);
- Node393.setWidth(Node393width);
- Node393.setHeight(Node393height);
- Node393._nodeType = 'text';
- Node393._disallowEvert = true;
- Node393.setRotation(0*Math.PI/180);
- Node393.a('node.width', Node393width);
- Node393.a('node.height', Node393height);
- Node393.a('node.rect', [0, 0, Node393width, Node393height]);
- Node393.a('node.bordercolor','rgba(0,0,0,1)');
- Node393.a('node.borderwidth', 0);
- Node393.a('node.background','' || 'rgba(0,0,0,0)');
- Node393.a('node.gradient','');
- Node393.a('node.gradientcolor','');
- Node393.a('node.text','理论发电量');
- Node393.a('node.textalign','left');
- Node393.a('node.textvAlign','middle');
- Node393.a('node.textrect', [Node393textStart, 0, Node393textWidth, Node393height]);
- Node393.a('node.color','rgba(0,0,0,1)');
- Node393.a('node.font',' '+ Node393fontSize + 'px "Arial"');
- Node393.a('node.textvisible',true);
- Node393.a('node.linefeed',false);
- if (false) {
- Node393.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node393.a('node.text') || '理论发电量';
- var color=Node393.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node393width,Node393height,10.66664*_ratio.ratioY,"left",color,' '+ Node393fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node393.a('node.underlinepoints',[Node393lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node393fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node393fontSize + 'px "Arial"').width + 6, (Node393height - Node393fontSize) * 0.5*_ratio.ratioY + Node393fontSize + 2 ]);
- Node393.a('node.underlinevisible',false);
- Node393.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node393);
- zoomNodeList.push({
- node: Node393,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node394type = 'rect';
- var Node394 = new ht.Node(),
- Node394BorderWidth = 1*2;
- if (Node394type === 'arc') {
- Node394BorderWidth *= 1;
- }
- Node394.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node394type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node394.setPosition(1190*ratio.ratioX, 754*ratio.ratioY);
- Node394.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node394.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node394.a('node.width', 72*_ratio.ratioX);
- Node394.a('node.height', 33*_ratio.ratioY);
- Node394.a('node.type', Node394type);
- Node394.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node394.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node394.a('node.gradientcolor', '');
- Node394.a('node.gradient', '');
- Node394.a('node.borderwidth', Node394BorderWidth);
- Node394.a('node.color', 'rgba(192,192,192,1)');
- Node394.a('node.fillrect', [0,0,0,0]);
- Node394.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node394.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node394.a('node.fillgradient', '');
- if (Node394type !== 'rect') {
- Node394.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node394.a('node.arcTo', parseFloat('@arcTo@'));
- Node394.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node394type === 'arc') {
- Node394.a('node.arcOval', true);
- }
- Node394.setRotation(0*Math.PI/180);
- Node394.borderWidth = Node394BorderWidth;
- Node394.borderFillwidth = Node394BorderWidth;
- dataModel.add(Node394);
- Node394._nodename = 'Node394'
- Node394._nodeType = 'rect';
- zoomNodeList.push({
- node: Node394,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node394, Node394.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node395type = 'rect';
- var Node395 = new ht.Node(),
- Node395BorderWidth = 1*2;
- if (Node395type === 'arc') {
- Node395BorderWidth *= 1;
- }
- Node395.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node395type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node395.setPosition(1262*ratio.ratioX, 754*ratio.ratioY);
- Node395.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node395.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node395.a('node.width', 72*_ratio.ratioX);
- Node395.a('node.height', 33*_ratio.ratioY);
- Node395.a('node.type', Node395type);
- Node395.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node395.a('node.background', 'rgba(255,115,20,1)');
- Node395.a('node.gradientcolor', 'rgba(255,115,20,1)');
- Node395.a('node.gradient', '');
- Node395.a('node.borderwidth', Node395BorderWidth);
- Node395.a('node.color', 'rgba(255,115,20,1)');
- Node395.a('node.fillrect', [0,0,0,0]);
- Node395.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node395.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node395.a('node.fillgradient', '');
- if (Node395type !== 'rect') {
- Node395.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node395.a('node.arcTo', parseFloat('@arcTo@'));
- Node395.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node395type === 'arc') {
- Node395.a('node.arcOval', true);
- }
- Node395.setRotation(0*Math.PI/180);
- Node395.borderWidth = Node395BorderWidth;
- Node395.borderFillwidth = Node395BorderWidth;
- dataModel.add(Node395);
- Node395._nodename = 'Node395'
- Node395._nodeType = 'rect';
- zoomNodeList.push({
- node: Node395,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node395, Node395.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node396 = new ht.Node();
- var Node396textStart, Node396textWidth, Node396lineStart, Node396align = 'left', Node396fontSize = 10.66664*_ratio.ratioY,Node396width = 63*_ratio.ratioX, Node396height = 25*_ratio.ratioY;
- (function () {
- if (Node396align === 'left') {
- Node396textStart = Node396fontSize * 0.2 > 2 ? Node396fontSize * 0.2 - 4 : Node396fontSize * 0.2 - 9;
- Node396textWidth = Node396width;
- Node396lineStart = 1;
- } else if (Node396align === 'right') {
- Node396textStart = 0;
- Node396textWidth =Node396fontSize <= 8 ? Node396width + Node396fontSize * 0.2 + 6 : Node396width - Node396fontSize * 0.2;
- Node396lineStart = (Node396width - (ht.Default.getTextSize('理论发电量', ' '+ Node396fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node396align === 'center') {
- Node396textStart = -3;
- Node396textWidth = Node396width;
- Node396lineStart = Node396width - ht.Default.getTextSize('理论发电量', ' '+ Node396fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node396.setImage(GD.getTextJSON(Node396width, Node396height, true, false, false, ' '+ Node396fontSize + 'px "Arial"'))
- Node396.setPosition(1189*ratio.ratioX, 756*ratio.ratioY);
- Node396.setWidth(Node396width);
- Node396.setHeight(Node396height);
- Node396._nodeType = 'text';
- Node396._disallowEvert = true;
- Node396.setRotation(0*Math.PI/180);
- Node396.a('node.width', Node396width);
- Node396.a('node.height', Node396height);
- Node396.a('node.rect', [0, 0, Node396width, Node396height]);
- Node396.a('node.bordercolor','rgba(0,0,0,1)');
- Node396.a('node.borderwidth', 0);
- Node396.a('node.background','' || 'rgba(0,0,0,0)');
- Node396.a('node.gradient','');
- Node396.a('node.gradientcolor','');
- Node396.a('node.text','理论发电量');
- Node396.a('node.textalign','left');
- Node396.a('node.textvAlign','middle');
- Node396.a('node.textrect', [Node396textStart, 0, Node396textWidth, Node396height]);
- Node396.a('node.color','rgba(0,0,0,1)');
- Node396.a('node.font',' '+ Node396fontSize + 'px "Arial"');
- Node396.a('node.textvisible',true);
- Node396.a('node.linefeed',false);
- if (false) {
- Node396.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node396.a('node.text') || '理论发电量';
- var color=Node396.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node396width,Node396height,10.66664*_ratio.ratioY,"left",color,' '+ Node396fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node396.a('node.underlinepoints',[Node396lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node396fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node396fontSize + 'px "Arial"').width + 6, (Node396height - Node396fontSize) * 0.5*_ratio.ratioY + Node396fontSize + 2 ]);
- Node396.a('node.underlinevisible',false);
- Node396.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node396);
- zoomNodeList.push({
- node: Node396,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node397type = 'rect';
- var Node397 = new ht.Node(),
- Node397BorderWidth = 1*2;
- if (Node397type === 'arc') {
- Node397BorderWidth *= 1;
- }
- Node397.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node397type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node397.setPosition(1190*ratio.ratioX, 793*ratio.ratioY);
- Node397.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node397.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node397.a('node.width', 72*_ratio.ratioX);
- Node397.a('node.height', 33*_ratio.ratioY);
- Node397.a('node.type', Node397type);
- Node397.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node397.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node397.a('node.gradientcolor', '');
- Node397.a('node.gradient', '');
- Node397.a('node.borderwidth', Node397BorderWidth);
- Node397.a('node.color', 'rgba(192,192,192,1)');
- Node397.a('node.fillrect', [0,0,0,0]);
- Node397.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node397.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node397.a('node.fillgradient', '');
- if (Node397type !== 'rect') {
- Node397.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node397.a('node.arcTo', parseFloat('@arcTo@'));
- Node397.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node397type === 'arc') {
- Node397.a('node.arcOval', true);
- }
- Node397.setRotation(0*Math.PI/180);
- Node397.borderWidth = Node397BorderWidth;
- Node397.borderFillwidth = Node397BorderWidth;
- dataModel.add(Node397);
- Node397._nodename = 'Node397'
- Node397._nodeType = 'rect';
- zoomNodeList.push({
- node: Node397,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node397, Node397.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node398type = 'rect';
- var Node398 = new ht.Node(),
- Node398BorderWidth = 1*2;
- if (Node398type === 'arc') {
- Node398BorderWidth *= 1;
- }
- Node398.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node398type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node398.setPosition(1262*ratio.ratioX, 793*ratio.ratioY);
- Node398.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node398.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node398.a('node.width', 72*_ratio.ratioX);
- Node398.a('node.height', 33*_ratio.ratioY);
- Node398.a('node.type', Node398type);
- Node398.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node398.a('node.background', 'rgba(202,32,32,1)');
- Node398.a('node.gradientcolor', 'rgba(202,32,32,1)');
- Node398.a('node.gradient', '');
- Node398.a('node.borderwidth', Node398BorderWidth);
- Node398.a('node.color', 'rgba(192,192,192,1)');
- Node398.a('node.fillrect', [0,0,0,0]);
- Node398.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node398.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node398.a('node.fillgradient', '');
- if (Node398type !== 'rect') {
- Node398.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node398.a('node.arcTo', parseFloat('@arcTo@'));
- Node398.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node398type === 'arc') {
- Node398.a('node.arcOval', true);
- }
- Node398.setRotation(0*Math.PI/180);
- Node398.borderWidth = Node398BorderWidth;
- Node398.borderFillwidth = Node398BorderWidth;
- dataModel.add(Node398);
- Node398._nodename = 'Node398'
- Node398._nodeType = 'rect';
- zoomNodeList.push({
- node: Node398,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node398, Node398.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node399 = new ht.Node();
- var Node399textStart, Node399textWidth, Node399lineStart, Node399align = 'left', Node399fontSize = 10.66664*_ratio.ratioY,Node399width = 63*_ratio.ratioX, Node399height = 25*_ratio.ratioY;
- (function () {
- if (Node399align === 'left') {
- Node399textStart = Node399fontSize * 0.2 > 2 ? Node399fontSize * 0.2 - 4 : Node399fontSize * 0.2 - 9;
- Node399textWidth = Node399width;
- Node399lineStart = 1;
- } else if (Node399align === 'right') {
- Node399textStart = 0;
- Node399textWidth =Node399fontSize <= 8 ? Node399width + Node399fontSize * 0.2 + 6 : Node399width - Node399fontSize * 0.2;
- Node399lineStart = (Node399width - (ht.Default.getTextSize('理论发电量', ' '+ Node399fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node399align === 'center') {
- Node399textStart = -3;
- Node399textWidth = Node399width;
- Node399lineStart = Node399width - ht.Default.getTextSize('理论发电量', ' '+ Node399fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node399.setImage(GD.getTextJSON(Node399width, Node399height, true, false, false, ' '+ Node399fontSize + 'px "Arial"'))
- Node399.setPosition(1189*ratio.ratioX, 795*ratio.ratioY);
- Node399.setWidth(Node399width);
- Node399.setHeight(Node399height);
- Node399._nodeType = 'text';
- Node399._disallowEvert = true;
- Node399.setRotation(0*Math.PI/180);
- Node399.a('node.width', Node399width);
- Node399.a('node.height', Node399height);
- Node399.a('node.rect', [0, 0, Node399width, Node399height]);
- Node399.a('node.bordercolor','rgba(0,0,0,1)');
- Node399.a('node.borderwidth', 0);
- Node399.a('node.background','' || 'rgba(0,0,0,0)');
- Node399.a('node.gradient','');
- Node399.a('node.gradientcolor','');
- Node399.a('node.text','理论发电量');
- Node399.a('node.textalign','left');
- Node399.a('node.textvAlign','middle');
- Node399.a('node.textrect', [Node399textStart, 0, Node399textWidth, Node399height]);
- Node399.a('node.color','rgba(0,0,0,1)');
- Node399.a('node.font',' '+ Node399fontSize + 'px "Arial"');
- Node399.a('node.textvisible',true);
- Node399.a('node.linefeed',false);
- if (false) {
- Node399.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node399.a('node.text') || '理论发电量';
- var color=Node399.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node399width,Node399height,10.66664*_ratio.ratioY,"left",color,' '+ Node399fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node399.a('node.underlinepoints',[Node399lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node399fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node399fontSize + 'px "Arial"').width + 6, (Node399height - Node399fontSize) * 0.5*_ratio.ratioY + Node399fontSize + 2 ]);
- Node399.a('node.underlinevisible',false);
- Node399.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node399);
- zoomNodeList.push({
- node: Node399,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node400type = 'rect';
- var Node400 = new ht.Node(),
- Node400BorderWidth = 1*2;
- if (Node400type === 'arc') {
- Node400BorderWidth *= 1;
- }
- Node400.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node400type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node400.setPosition(1190*ratio.ratioX, 831*ratio.ratioY);
- Node400.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node400.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node400.a('node.width', 72*_ratio.ratioX);
- Node400.a('node.height', 33*_ratio.ratioY);
- Node400.a('node.type', Node400type);
- Node400.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node400.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node400.a('node.gradientcolor', '');
- Node400.a('node.gradient', '');
- Node400.a('node.borderwidth', Node400BorderWidth);
- Node400.a('node.color', 'rgba(192,192,192,1)');
- Node400.a('node.fillrect', [0,0,0,0]);
- Node400.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node400.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node400.a('node.fillgradient', '');
- if (Node400type !== 'rect') {
- Node400.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node400.a('node.arcTo', parseFloat('@arcTo@'));
- Node400.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node400type === 'arc') {
- Node400.a('node.arcOval', true);
- }
- Node400.setRotation(0*Math.PI/180);
- Node400.borderWidth = Node400BorderWidth;
- Node400.borderFillwidth = Node400BorderWidth;
- dataModel.add(Node400);
- Node400._nodename = 'Node400'
- Node400._nodeType = 'rect';
- zoomNodeList.push({
- node: Node400,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node400, Node400.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node401type = 'rect';
- var Node401 = new ht.Node(),
- Node401BorderWidth = 1*2;
- if (Node401type === 'arc') {
- Node401BorderWidth *= 1;
- }
- Node401.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node401type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node401.setPosition(1262*ratio.ratioX, 831*ratio.ratioY);
- Node401.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node401.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node401.a('node.width', 72*_ratio.ratioX);
- Node401.a('node.height', 33*_ratio.ratioY);
- Node401.a('node.type', Node401type);
- Node401.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node401.a('node.background', 'rgba(172,56,137,1)');
- Node401.a('node.gradientcolor', 'rgba(172,56,137,1)');
- Node401.a('node.gradient', '');
- Node401.a('node.borderwidth', Node401BorderWidth);
- Node401.a('node.color', 'rgba(192,192,192,1)');
- Node401.a('node.fillrect', [0,0,0,0]);
- Node401.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node401.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node401.a('node.fillgradient', '');
- if (Node401type !== 'rect') {
- Node401.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node401.a('node.arcTo', parseFloat('@arcTo@'));
- Node401.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node401type === 'arc') {
- Node401.a('node.arcOval', true);
- }
- Node401.setRotation(0*Math.PI/180);
- Node401.borderWidth = Node401BorderWidth;
- Node401.borderFillwidth = Node401BorderWidth;
- dataModel.add(Node401);
- Node401._nodename = 'Node401'
- Node401._nodeType = 'rect';
- zoomNodeList.push({
- node: Node401,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node401, Node401.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node402 = new ht.Node();
- var Node402textStart, Node402textWidth, Node402lineStart, Node402align = 'left', Node402fontSize = 10.66664*_ratio.ratioY,Node402width = 63*_ratio.ratioX, Node402height = 25*_ratio.ratioY;
- (function () {
- if (Node402align === 'left') {
- Node402textStart = Node402fontSize * 0.2 > 2 ? Node402fontSize * 0.2 - 4 : Node402fontSize * 0.2 - 9;
- Node402textWidth = Node402width;
- Node402lineStart = 1;
- } else if (Node402align === 'right') {
- Node402textStart = 0;
- Node402textWidth =Node402fontSize <= 8 ? Node402width + Node402fontSize * 0.2 + 6 : Node402width - Node402fontSize * 0.2;
- Node402lineStart = (Node402width - (ht.Default.getTextSize('理论发电量', ' '+ Node402fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node402align === 'center') {
- Node402textStart = -3;
- Node402textWidth = Node402width;
- Node402lineStart = Node402width - ht.Default.getTextSize('理论发电量', ' '+ Node402fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node402.setImage(GD.getTextJSON(Node402width, Node402height, true, false, false, ' '+ Node402fontSize + 'px "Arial"'))
- Node402.setPosition(1189*ratio.ratioX, 833*ratio.ratioY);
- Node402.setWidth(Node402width);
- Node402.setHeight(Node402height);
- Node402._nodeType = 'text';
- Node402._disallowEvert = true;
- Node402.setRotation(0*Math.PI/180);
- Node402.a('node.width', Node402width);
- Node402.a('node.height', Node402height);
- Node402.a('node.rect', [0, 0, Node402width, Node402height]);
- Node402.a('node.bordercolor','rgba(0,0,0,1)');
- Node402.a('node.borderwidth', 0);
- Node402.a('node.background','' || 'rgba(0,0,0,0)');
- Node402.a('node.gradient','');
- Node402.a('node.gradientcolor','');
- Node402.a('node.text','理论发电量');
- Node402.a('node.textalign','left');
- Node402.a('node.textvAlign','middle');
- Node402.a('node.textrect', [Node402textStart, 0, Node402textWidth, Node402height]);
- Node402.a('node.color','rgba(0,0,0,1)');
- Node402.a('node.font',' '+ Node402fontSize + 'px "Arial"');
- Node402.a('node.textvisible',true);
- Node402.a('node.linefeed',false);
- if (false) {
- Node402.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node402.a('node.text') || '理论发电量';
- var color=Node402.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node402width,Node402height,10.66664*_ratio.ratioY,"left",color,' '+ Node402fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node402.a('node.underlinepoints',[Node402lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node402fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node402fontSize + 'px "Arial"').width + 6, (Node402height - Node402fontSize) * 0.5*_ratio.ratioY + Node402fontSize + 2 ]);
- Node402.a('node.underlinevisible',false);
- Node402.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node402);
- zoomNodeList.push({
- node: Node402,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node403type = 'rect';
- var Node403 = new ht.Node(),
- Node403BorderWidth = 1*2;
- if (Node403type === 'arc') {
- Node403BorderWidth *= 1;
- }
- Node403.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node403type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node403.setPosition(1190*ratio.ratioX, 870*ratio.ratioY);
- Node403.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node403.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node403.a('node.width', 72*_ratio.ratioX);
- Node403.a('node.height', 33*_ratio.ratioY);
- Node403.a('node.type', Node403type);
- Node403.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node403.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node403.a('node.gradientcolor', '');
- Node403.a('node.gradient', '');
- Node403.a('node.borderwidth', Node403BorderWidth);
- Node403.a('node.color', 'rgba(192,192,192,1)');
- Node403.a('node.fillrect', [0,0,0,0]);
- Node403.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node403.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node403.a('node.fillgradient', '');
- if (Node403type !== 'rect') {
- Node403.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node403.a('node.arcTo', parseFloat('@arcTo@'));
- Node403.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node403type === 'arc') {
- Node403.a('node.arcOval', true);
- }
- Node403.setRotation(0*Math.PI/180);
- Node403.borderWidth = Node403BorderWidth;
- Node403.borderFillwidth = Node403BorderWidth;
- dataModel.add(Node403);
- Node403._nodename = 'Node403'
- Node403._nodeType = 'rect';
- zoomNodeList.push({
- node: Node403,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node403, Node403.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node404type = 'rect';
- var Node404 = new ht.Node(),
- Node404BorderWidth = 1*2;
- if (Node404type === 'arc') {
- Node404BorderWidth *= 1;
- }
- Node404.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node404type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node404.setPosition(1262*ratio.ratioX, 870*ratio.ratioY);
- Node404.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node404.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node404.a('node.width', 72*_ratio.ratioX);
- Node404.a('node.height', 33*_ratio.ratioY);
- Node404.a('node.type', Node404type);
- Node404.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node404.a('node.background', 'rgba(1,212,135,1)');
- Node404.a('node.gradientcolor', 'rgba(1,212,135,1)');
- Node404.a('node.gradient', '');
- Node404.a('node.borderwidth', Node404BorderWidth);
- Node404.a('node.color', 'rgba(192,192,192,1)');
- Node404.a('node.fillrect', [0,0,0,0]);
- Node404.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node404.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node404.a('node.fillgradient', '');
- if (Node404type !== 'rect') {
- Node404.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node404.a('node.arcTo', parseFloat('@arcTo@'));
- Node404.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node404type === 'arc') {
- Node404.a('node.arcOval', true);
- }
- Node404.setRotation(0*Math.PI/180);
- Node404.borderWidth = Node404BorderWidth;
- Node404.borderFillwidth = Node404BorderWidth;
- dataModel.add(Node404);
- Node404._nodename = 'Node404'
- Node404._nodeType = 'rect';
- zoomNodeList.push({
- node: Node404,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node404, Node404.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node405 = new ht.Node();
- var Node405textStart, Node405textWidth, Node405lineStart, Node405align = 'left', Node405fontSize = 10.66664*_ratio.ratioY,Node405width = 63*_ratio.ratioX, Node405height = 25*_ratio.ratioY;
- (function () {
- if (Node405align === 'left') {
- Node405textStart = Node405fontSize * 0.2 > 2 ? Node405fontSize * 0.2 - 4 : Node405fontSize * 0.2 - 9;
- Node405textWidth = Node405width;
- Node405lineStart = 1;
- } else if (Node405align === 'right') {
- Node405textStart = 0;
- Node405textWidth =Node405fontSize <= 8 ? Node405width + Node405fontSize * 0.2 + 6 : Node405width - Node405fontSize * 0.2;
- Node405lineStart = (Node405width - (ht.Default.getTextSize('理论发电量', ' '+ Node405fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node405align === 'center') {
- Node405textStart = -3;
- Node405textWidth = Node405width;
- Node405lineStart = Node405width - ht.Default.getTextSize('理论发电量', ' '+ Node405fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node405.setImage(GD.getTextJSON(Node405width, Node405height, true, false, false, ' '+ Node405fontSize + 'px "Arial"'))
- Node405.setPosition(1189*ratio.ratioX, 872*ratio.ratioY);
- Node405.setWidth(Node405width);
- Node405.setHeight(Node405height);
- Node405._nodeType = 'text';
- Node405._disallowEvert = true;
- Node405.setRotation(0*Math.PI/180);
- Node405.a('node.width', Node405width);
- Node405.a('node.height', Node405height);
- Node405.a('node.rect', [0, 0, Node405width, Node405height]);
- Node405.a('node.bordercolor','rgba(0,0,0,1)');
- Node405.a('node.borderwidth', 0);
- Node405.a('node.background','' || 'rgba(0,0,0,0)');
- Node405.a('node.gradient','');
- Node405.a('node.gradientcolor','');
- Node405.a('node.text','理论发电量');
- Node405.a('node.textalign','left');
- Node405.a('node.textvAlign','middle');
- Node405.a('node.textrect', [Node405textStart, 0, Node405textWidth, Node405height]);
- Node405.a('node.color','rgba(0,0,0,1)');
- Node405.a('node.font',' '+ Node405fontSize + 'px "Arial"');
- Node405.a('node.textvisible',true);
- Node405.a('node.linefeed',false);
- if (false) {
- Node405.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node405.a('node.text') || '理论发电量';
- var color=Node405.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node405width,Node405height,10.66664*_ratio.ratioY,"left",color,' '+ Node405fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node405.a('node.underlinepoints',[Node405lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node405fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node405fontSize + 'px "Arial"').width + 6, (Node405height - Node405fontSize) * 0.5*_ratio.ratioY + Node405fontSize + 2 ]);
- Node405.a('node.underlinevisible',false);
- Node405.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node405);
- zoomNodeList.push({
- node: Node405,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node406type = 'rect';
- var Node406 = new ht.Node(),
- Node406BorderWidth = 1*2;
- if (Node406type === 'arc') {
- Node406BorderWidth *= 1;
- }
- Node406.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node406type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node406.setPosition(1190*ratio.ratioX, 908*ratio.ratioY);
- Node406.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node406.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node406.a('node.width', 72*_ratio.ratioX);
- Node406.a('node.height', 33*_ratio.ratioY);
- Node406.a('node.type', Node406type);
- Node406.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node406.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node406.a('node.gradientcolor', '');
- Node406.a('node.gradient', '');
- Node406.a('node.borderwidth', Node406BorderWidth);
- Node406.a('node.color', 'rgba(192,192,192,1)');
- Node406.a('node.fillrect', [0,0,0,0]);
- Node406.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node406.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node406.a('node.fillgradient', '');
- if (Node406type !== 'rect') {
- Node406.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node406.a('node.arcTo', parseFloat('@arcTo@'));
- Node406.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node406type === 'arc') {
- Node406.a('node.arcOval', true);
- }
- Node406.setRotation(0*Math.PI/180);
- Node406.borderWidth = Node406BorderWidth;
- Node406.borderFillwidth = Node406BorderWidth;
- dataModel.add(Node406);
- Node406._nodename = 'Node406'
- Node406._nodeType = 'rect';
- zoomNodeList.push({
- node: Node406,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node406, Node406.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node407type = 'rect';
- var Node407 = new ht.Node(),
- Node407BorderWidth = 1*2;
- if (Node407type === 'arc') {
- Node407BorderWidth *= 1;
- }
- Node407.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node407type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node407.setPosition(1262*ratio.ratioX, 908*ratio.ratioY);
- Node407.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node407.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node407.a('node.width', 72*_ratio.ratioX);
- Node407.a('node.height', 33*_ratio.ratioY);
- Node407.a('node.type', Node407type);
- Node407.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node407.a('node.background', 'rgba(173,173,173,1)');
- Node407.a('node.gradientcolor', 'rgba(173,173,173,1)');
- Node407.a('node.gradient', '');
- Node407.a('node.borderwidth', Node407BorderWidth);
- Node407.a('node.color', 'rgba(192,192,192,1)');
- Node407.a('node.fillrect', [0,0,0,0]);
- Node407.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node407.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node407.a('node.fillgradient', '');
- if (Node407type !== 'rect') {
- Node407.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node407.a('node.arcTo', parseFloat('@arcTo@'));
- Node407.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node407type === 'arc') {
- Node407.a('node.arcOval', true);
- }
- Node407.setRotation(0*Math.PI/180);
- Node407.borderWidth = Node407BorderWidth;
- Node407.borderFillwidth = Node407BorderWidth;
- dataModel.add(Node407);
- Node407._nodename = 'Node407'
- Node407._nodeType = 'rect';
- zoomNodeList.push({
- node: Node407,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node407, Node407.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node408 = new ht.Node();
- var Node408textStart, Node408textWidth, Node408lineStart, Node408align = 'left', Node408fontSize = 10.66664*_ratio.ratioY,Node408width = 63*_ratio.ratioX, Node408height = 25*_ratio.ratioY;
- (function () {
- if (Node408align === 'left') {
- Node408textStart = Node408fontSize * 0.2 > 2 ? Node408fontSize * 0.2 - 4 : Node408fontSize * 0.2 - 9;
- Node408textWidth = Node408width;
- Node408lineStart = 1;
- } else if (Node408align === 'right') {
- Node408textStart = 0;
- Node408textWidth =Node408fontSize <= 8 ? Node408width + Node408fontSize * 0.2 + 6 : Node408width - Node408fontSize * 0.2;
- Node408lineStart = (Node408width - (ht.Default.getTextSize('理论发电量', ' '+ Node408fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node408align === 'center') {
- Node408textStart = -3;
- Node408textWidth = Node408width;
- Node408lineStart = Node408width - ht.Default.getTextSize('理论发电量', ' '+ Node408fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node408.setImage(GD.getTextJSON(Node408width, Node408height, true, false, false, ' '+ Node408fontSize + 'px "Arial"'))
- Node408.setPosition(1189*ratio.ratioX, 910*ratio.ratioY);
- Node408.setWidth(Node408width);
- Node408.setHeight(Node408height);
- Node408._nodeType = 'text';
- Node408._disallowEvert = true;
- Node408.setRotation(0*Math.PI/180);
- Node408.a('node.width', Node408width);
- Node408.a('node.height', Node408height);
- Node408.a('node.rect', [0, 0, Node408width, Node408height]);
- Node408.a('node.bordercolor','rgba(0,0,0,1)');
- Node408.a('node.borderwidth', 0);
- Node408.a('node.background','' || 'rgba(0,0,0,0)');
- Node408.a('node.gradient','');
- Node408.a('node.gradientcolor','');
- Node408.a('node.text','理论发电量');
- Node408.a('node.textalign','left');
- Node408.a('node.textvAlign','middle');
- Node408.a('node.textrect', [Node408textStart, 0, Node408textWidth, Node408height]);
- Node408.a('node.color','rgba(0,0,0,1)');
- Node408.a('node.font',' '+ Node408fontSize + 'px "Arial"');
- Node408.a('node.textvisible',true);
- Node408.a('node.linefeed',false);
- if (false) {
- Node408.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node408.a('node.text') || '理论发电量';
- var color=Node408.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node408width,Node408height,10.66664*_ratio.ratioY,"left",color,' '+ Node408fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node408.a('node.underlinepoints',[Node408lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node408fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node408fontSize + 'px "Arial"').width + 6, (Node408height - Node408fontSize) * 0.5*_ratio.ratioY + Node408fontSize + 2 ]);
- Node408.a('node.underlinevisible',false);
- Node408.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node408);
- zoomNodeList.push({
- node: Node408,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node409 = new ht.Node();
- var Node409textStart, Node409textWidth, Node409lineStart, Node409align = 'left', Node409fontSize = 13.3333*_ratio.ratioY,Node409width = 72*_ratio.ratioX, Node409height = 27*_ratio.ratioY;
- (function () {
- if (Node409align === 'left') {
- Node409textStart = Node409fontSize * 0.2 > 2 ? Node409fontSize * 0.2 - 4 : Node409fontSize * 0.2 - 9;
- Node409textWidth = Node409width;
- Node409lineStart = 1;
- } else if (Node409align === 'right') {
- Node409textStart = 0;
- Node409textWidth =Node409fontSize <= 8 ? Node409width + Node409fontSize * 0.2 + 6 : Node409width - Node409fontSize * 0.2;
- Node409lineStart = (Node409width - (ht.Default.getTextSize('月度分析', ' '+ Node409fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node409align === 'center') {
- Node409textStart = -3;
- Node409textWidth = Node409width;
- Node409lineStart = Node409width - ht.Default.getTextSize('月度分析', ' '+ Node409fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node409.setImage(GD.getTextJSON(Node409width, Node409height, true, false, false, ' '+ Node409fontSize + 'px "Arial"'))
- Node409.setPosition(856*ratio.ratioX, 633*ratio.ratioY);
- Node409.setWidth(Node409width);
- Node409.setHeight(Node409height);
- Node409._nodeType = 'text';
- Node409._disallowEvert = true;
- Node409.setRotation(0*Math.PI/180);
- Node409.a('node.width', Node409width);
- Node409.a('node.height', Node409height);
- Node409.a('node.rect', [0, 0, Node409width, Node409height]);
- Node409.a('node.bordercolor','rgba(105,105,105,1)');
- Node409.a('node.borderwidth', 0);
- Node409.a('node.background','' || 'rgba(0,0,0,0)');
- Node409.a('node.gradient','');
- Node409.a('node.gradientcolor','');
- Node409.a('node.text','月度分析');
- Node409.a('node.textalign','left');
- Node409.a('node.textvAlign','middle');
- Node409.a('node.textrect', [Node409textStart, 0, Node409textWidth, Node409height]);
- Node409.a('node.color','rgba(105,105,105,1)');
- Node409.a('node.font',' '+ Node409fontSize + 'px "Arial"');
- Node409.a('node.textvisible',true);
- Node409.a('node.linefeed',false);
- if (false) {
- Node409.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node409.a('node.text') || '月度分析';
- var color=Node409.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node409width,Node409height,13.3333*_ratio.ratioY,"left",color,' '+ Node409fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node409.a('node.underlinepoints',[Node409lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node409fontSize + 2 , ht.Default.getTextSize('月度分析', ' '+ Node409fontSize + 'px "Arial"').width + 6, (Node409height - Node409fontSize) * 0.5*_ratio.ratioY + Node409fontSize + 2 ]);
- Node409.a('node.underlinevisible',false);
- Node409.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node409);
- zoomNodeList.push({
- node: Node409,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node410 = new ht.Node();
- var Node410textStart, Node410textWidth, Node410lineStart, Node410align = 'left', Node410fontSize = 13.3333*_ratio.ratioY,Node410width = 77*_ratio.ratioX, Node410height = 27*_ratio.ratioY;
- (function () {
- if (Node410align === 'left') {
- Node410textStart = Node410fontSize * 0.2 > 2 ? Node410fontSize * 0.2 - 4 : Node410fontSize * 0.2 - 9;
- Node410textWidth = Node410width;
- Node410lineStart = 1;
- } else if (Node410align === 'right') {
- Node410textStart = 0;
- Node410textWidth =Node410fontSize <= 8 ? Node410width + Node410fontSize * 0.2 + 6 : Node410width - Node410fontSize * 0.2;
- Node410lineStart = (Node410width - (ht.Default.getTextSize('单位:万kwh', ' '+ Node410fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node410align === 'center') {
- Node410textStart = -3;
- Node410textWidth = Node410width;
- Node410lineStart = Node410width - ht.Default.getTextSize('单位:万kwh', ' '+ Node410fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node410.setImage(GD.getTextJSON(Node410width, Node410height, true, false, false, ' '+ Node410fontSize + 'px "Arial"'))
- Node410.setPosition(1263*ratio.ratioX, 643*ratio.ratioY);
- Node410.setWidth(Node410width);
- Node410.setHeight(Node410height);
- Node410._nodeType = 'text';
- Node410._disallowEvert = true;
- Node410.setRotation(0*Math.PI/180);
- Node410.a('node.width', Node410width);
- Node410.a('node.height', Node410height);
- Node410.a('node.rect', [0, 0, Node410width, Node410height]);
- Node410.a('node.bordercolor','rgba(105,105,105,1)');
- Node410.a('node.borderwidth', 0);
- Node410.a('node.background','' || 'rgba(0,0,0,0)');
- Node410.a('node.gradient','');
- Node410.a('node.gradientcolor','');
- Node410.a('node.text','单位:万kwh');
- Node410.a('node.textalign','left');
- Node410.a('node.textvAlign','middle');
- Node410.a('node.textrect', [Node410textStart, 0, Node410textWidth, Node410height]);
- Node410.a('node.color','rgba(105,105,105,1)');
- Node410.a('node.font',' '+ Node410fontSize + 'px "Arial"');
- Node410.a('node.textvisible',true);
- Node410.a('node.linefeed',false);
- if (false) {
- Node410.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node410.a('node.text') || '单位:万kwh';
- var color=Node410.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node410width,Node410height,13.3333*_ratio.ratioY,"left",color,' '+ Node410fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node410.a('node.underlinepoints',[Node410lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node410fontSize + 2 , ht.Default.getTextSize('单位:万kwh', ' '+ Node410fontSize + 'px "Arial"').width + 6, (Node410height - Node410fontSize) * 0.5*_ratio.ratioY + Node410fontSize + 2 ]);
- Node410.a('node.underlinevisible',false);
- Node410.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node410);
- zoomNodeList.push({
- node: Node410,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node411type = 'rect';
- var Node411 = new ht.Node(),
- Node411BorderWidth = 1*2;
- if (Node411type === 'arc') {
- Node411BorderWidth *= 1;
- }
- Node411.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node411type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node411.setPosition(1730*ratio.ratioX, 670*ratio.ratioY);
- Node411.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node411.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node411.a('node.width', 72*_ratio.ratioX);
- Node411.a('node.height', 33*_ratio.ratioY);
- Node411.a('node.type', Node411type);
- Node411.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node411.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node411.a('node.gradientcolor', '');
- Node411.a('node.gradient', '');
- Node411.a('node.borderwidth', Node411BorderWidth);
- Node411.a('node.color', 'rgba(192,192,192,1)');
- Node411.a('node.fillrect', [0,0,0,0]);
- Node411.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node411.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node411.a('node.fillgradient', '');
- if (Node411type !== 'rect') {
- Node411.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node411.a('node.arcTo', parseFloat('@arcTo@'));
- Node411.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node411type === 'arc') {
- Node411.a('node.arcOval', true);
- }
- Node411.setRotation(0*Math.PI/180);
- Node411.borderWidth = Node411BorderWidth;
- Node411.borderFillwidth = Node411BorderWidth;
- dataModel.add(Node411);
- Node411._nodename = 'Node411'
- Node411._nodeType = 'rect';
- zoomNodeList.push({
- node: Node411,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node411, Node411.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node412type = 'rect';
- var Node412 = new ht.Node(),
- Node412BorderWidth = 1*2;
- if (Node412type === 'arc') {
- Node412BorderWidth *= 1;
- }
- Node412.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node412type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node412.setPosition(1802*ratio.ratioX, 670*ratio.ratioY);
- Node412.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node412.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node412.a('node.width', 72*_ratio.ratioX);
- Node412.a('node.height', 33*_ratio.ratioY);
- Node412.a('node.type', Node412type);
- Node412.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node412.a('node.background', 'rgba(0,132,235,1)');
- Node412.a('node.gradientcolor', 'rgba(0,132,235,1)');
- Node412.a('node.gradient', '');
- Node412.a('node.borderwidth', Node412BorderWidth);
- Node412.a('node.color', 'rgba(192,192,192,1)');
- Node412.a('node.fillrect', [0,0,0,0]);
- Node412.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node412.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node412.a('node.fillgradient', '');
- if (Node412type !== 'rect') {
- Node412.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node412.a('node.arcTo', parseFloat('@arcTo@'));
- Node412.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node412type === 'arc') {
- Node412.a('node.arcOval', true);
- }
- Node412.setRotation(0*Math.PI/180);
- Node412.borderWidth = Node412BorderWidth;
- Node412.borderFillwidth = Node412BorderWidth;
- dataModel.add(Node412);
- Node412._nodename = 'Node412'
- Node412._nodeType = 'rect';
- zoomNodeList.push({
- node: Node412,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node412, Node412.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node413 = new ht.Node();
- var Node413textStart, Node413textWidth, Node413lineStart, Node413align = 'left', Node413fontSize = 10.66664*_ratio.ratioY,Node413width = 63*_ratio.ratioX, Node413height = 25*_ratio.ratioY;
- (function () {
- if (Node413align === 'left') {
- Node413textStart = Node413fontSize * 0.2 > 2 ? Node413fontSize * 0.2 - 4 : Node413fontSize * 0.2 - 9;
- Node413textWidth = Node413width;
- Node413lineStart = 1;
- } else if (Node413align === 'right') {
- Node413textStart = 0;
- Node413textWidth =Node413fontSize <= 8 ? Node413width + Node413fontSize * 0.2 + 6 : Node413width - Node413fontSize * 0.2;
- Node413lineStart = (Node413width - (ht.Default.getTextSize('理论发电量', ' '+ Node413fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node413align === 'center') {
- Node413textStart = -3;
- Node413textWidth = Node413width;
- Node413lineStart = Node413width - ht.Default.getTextSize('理论发电量', ' '+ Node413fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node413.setImage(GD.getTextJSON(Node413width, Node413height, true, false, false, ' '+ Node413fontSize + 'px "Arial"'))
- Node413.setPosition(1729*ratio.ratioX, 672*ratio.ratioY);
- Node413.setWidth(Node413width);
- Node413.setHeight(Node413height);
- Node413._nodeType = 'text';
- Node413._disallowEvert = true;
- Node413.setRotation(0*Math.PI/180);
- Node413.a('node.width', Node413width);
- Node413.a('node.height', Node413height);
- Node413.a('node.rect', [0, 0, Node413width, Node413height]);
- Node413.a('node.bordercolor','rgba(0,0,0,1)');
- Node413.a('node.borderwidth', 0);
- Node413.a('node.background','' || 'rgba(0,0,0,0)');
- Node413.a('node.gradient','');
- Node413.a('node.gradientcolor','');
- Node413.a('node.text','理论发电量');
- Node413.a('node.textalign','left');
- Node413.a('node.textvAlign','middle');
- Node413.a('node.textrect', [Node413textStart, 0, Node413textWidth, Node413height]);
- Node413.a('node.color','rgba(0,0,0,1)');
- Node413.a('node.font',' '+ Node413fontSize + 'px "Arial"');
- Node413.a('node.textvisible',true);
- Node413.a('node.linefeed',false);
- if (false) {
- Node413.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node413.a('node.text') || '理论发电量';
- var color=Node413.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node413width,Node413height,10.66664*_ratio.ratioY,"left",color,' '+ Node413fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node413.a('node.underlinepoints',[Node413lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node413fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node413fontSize + 'px "Arial"').width + 6, (Node413height - Node413fontSize) * 0.5*_ratio.ratioY + Node413fontSize + 2 ]);
- Node413.a('node.underlinevisible',false);
- Node413.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node413);
- zoomNodeList.push({
- node: Node413,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node414type = 'rect';
- var Node414 = new ht.Node(),
- Node414BorderWidth = 1*2;
- if (Node414type === 'arc') {
- Node414BorderWidth *= 1;
- }
- Node414.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node414type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node414.setPosition(1730*ratio.ratioX, 709*ratio.ratioY);
- Node414.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node414.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node414.a('node.width', 72*_ratio.ratioX);
- Node414.a('node.height', 33*_ratio.ratioY);
- Node414.a('node.type', Node414type);
- Node414.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node414.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node414.a('node.gradientcolor', '');
- Node414.a('node.gradient', '');
- Node414.a('node.borderwidth', Node414BorderWidth);
- Node414.a('node.color', 'rgba(192,192,192,1)');
- Node414.a('node.fillrect', [0,0,0,0]);
- Node414.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node414.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node414.a('node.fillgradient', '');
- if (Node414type !== 'rect') {
- Node414.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node414.a('node.arcTo', parseFloat('@arcTo@'));
- Node414.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node414type === 'arc') {
- Node414.a('node.arcOval', true);
- }
- Node414.setRotation(0*Math.PI/180);
- Node414.borderWidth = Node414BorderWidth;
- Node414.borderFillwidth = Node414BorderWidth;
- dataModel.add(Node414);
- Node414._nodename = 'Node414'
- Node414._nodeType = 'rect';
- zoomNodeList.push({
- node: Node414,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node414, Node414.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node415type = 'rect';
- var Node415 = new ht.Node(),
- Node415BorderWidth = 1*2;
- if (Node415type === 'arc') {
- Node415BorderWidth *= 1;
- }
- Node415.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node415type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node415.setPosition(1802*ratio.ratioX, 709*ratio.ratioY);
- Node415.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node415.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node415.a('node.width', 72*_ratio.ratioX);
- Node415.a('node.height', 33*_ratio.ratioY);
- Node415.a('node.type', Node415type);
- Node415.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node415.a('node.background', 'rgba(60,184,254,1)');
- Node415.a('node.gradientcolor', 'rgba(60,184,254,1)');
- Node415.a('node.gradient', '');
- Node415.a('node.borderwidth', Node415BorderWidth);
- Node415.a('node.color', 'rgba(192,192,192,1)');
- Node415.a('node.fillrect', [0,0,0,0]);
- Node415.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node415.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node415.a('node.fillgradient', '');
- if (Node415type !== 'rect') {
- Node415.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node415.a('node.arcTo', parseFloat('@arcTo@'));
- Node415.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node415type === 'arc') {
- Node415.a('node.arcOval', true);
- }
- Node415.setRotation(0*Math.PI/180);
- Node415.borderWidth = Node415BorderWidth;
- Node415.borderFillwidth = Node415BorderWidth;
- dataModel.add(Node415);
- Node415._nodename = 'Node415'
- Node415._nodeType = 'rect';
- zoomNodeList.push({
- node: Node415,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node415, Node415.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node416 = new ht.Node();
- var Node416textStart, Node416textWidth, Node416lineStart, Node416align = 'left', Node416fontSize = 10.66664*_ratio.ratioY,Node416width = 63*_ratio.ratioX, Node416height = 25*_ratio.ratioY;
- (function () {
- if (Node416align === 'left') {
- Node416textStart = Node416fontSize * 0.2 > 2 ? Node416fontSize * 0.2 - 4 : Node416fontSize * 0.2 - 9;
- Node416textWidth = Node416width;
- Node416lineStart = 1;
- } else if (Node416align === 'right') {
- Node416textStart = 0;
- Node416textWidth =Node416fontSize <= 8 ? Node416width + Node416fontSize * 0.2 + 6 : Node416width - Node416fontSize * 0.2;
- Node416lineStart = (Node416width - (ht.Default.getTextSize('理论发电量', ' '+ Node416fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node416align === 'center') {
- Node416textStart = -3;
- Node416textWidth = Node416width;
- Node416lineStart = Node416width - ht.Default.getTextSize('理论发电量', ' '+ Node416fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node416.setImage(GD.getTextJSON(Node416width, Node416height, true, false, false, ' '+ Node416fontSize + 'px "Arial"'))
- Node416.setPosition(1729*ratio.ratioX, 711*ratio.ratioY);
- Node416.setWidth(Node416width);
- Node416.setHeight(Node416height);
- Node416._nodeType = 'text';
- Node416._disallowEvert = true;
- Node416.setRotation(0*Math.PI/180);
- Node416.a('node.width', Node416width);
- Node416.a('node.height', Node416height);
- Node416.a('node.rect', [0, 0, Node416width, Node416height]);
- Node416.a('node.bordercolor','rgba(0,0,0,1)');
- Node416.a('node.borderwidth', 0);
- Node416.a('node.background','' || 'rgba(0,0,0,0)');
- Node416.a('node.gradient','');
- Node416.a('node.gradientcolor','');
- Node416.a('node.text','理论发电量');
- Node416.a('node.textalign','left');
- Node416.a('node.textvAlign','middle');
- Node416.a('node.textrect', [Node416textStart, 0, Node416textWidth, Node416height]);
- Node416.a('node.color','rgba(0,0,0,1)');
- Node416.a('node.font',' '+ Node416fontSize + 'px "Arial"');
- Node416.a('node.textvisible',true);
- Node416.a('node.linefeed',false);
- if (false) {
- Node416.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node416.a('node.text') || '理论发电量';
- var color=Node416.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node416width,Node416height,10.66664*_ratio.ratioY,"left",color,' '+ Node416fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node416.a('node.underlinepoints',[Node416lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node416fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node416fontSize + 'px "Arial"').width + 6, (Node416height - Node416fontSize) * 0.5*_ratio.ratioY + Node416fontSize + 2 ]);
- Node416.a('node.underlinevisible',false);
- Node416.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node416);
- zoomNodeList.push({
- node: Node416,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node417type = 'rect';
- var Node417 = new ht.Node(),
- Node417BorderWidth = 1*2;
- if (Node417type === 'arc') {
- Node417BorderWidth *= 1;
- }
- Node417.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node417type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node417.setPosition(1730*ratio.ratioX, 747*ratio.ratioY);
- Node417.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node417.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node417.a('node.width', 72*_ratio.ratioX);
- Node417.a('node.height', 33*_ratio.ratioY);
- Node417.a('node.type', Node417type);
- Node417.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node417.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node417.a('node.gradientcolor', '');
- Node417.a('node.gradient', '');
- Node417.a('node.borderwidth', Node417BorderWidth);
- Node417.a('node.color', 'rgba(192,192,192,1)');
- Node417.a('node.fillrect', [0,0,0,0]);
- Node417.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node417.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node417.a('node.fillgradient', '');
- if (Node417type !== 'rect') {
- Node417.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node417.a('node.arcTo', parseFloat('@arcTo@'));
- Node417.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node417type === 'arc') {
- Node417.a('node.arcOval', true);
- }
- Node417.setRotation(0*Math.PI/180);
- Node417.borderWidth = Node417BorderWidth;
- Node417.borderFillwidth = Node417BorderWidth;
- dataModel.add(Node417);
- Node417._nodename = 'Node417'
- Node417._nodeType = 'rect';
- zoomNodeList.push({
- node: Node417,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node417, Node417.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node418type = 'rect';
- var Node418 = new ht.Node(),
- Node418BorderWidth = 1*2;
- if (Node418type === 'arc') {
- Node418BorderWidth *= 1;
- }
- Node418.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node418type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node418.setPosition(1802*ratio.ratioX, 747*ratio.ratioY);
- Node418.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node418.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node418.a('node.width', 72*_ratio.ratioX);
- Node418.a('node.height', 33*_ratio.ratioY);
- Node418.a('node.type', Node418type);
- Node418.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node418.a('node.background', 'rgba(255,115,20,1)');
- Node418.a('node.gradientcolor', 'rgba(255,115,20,1)');
- Node418.a('node.gradient', '');
- Node418.a('node.borderwidth', Node418BorderWidth);
- Node418.a('node.color', 'rgba(192,192,192,1)');
- Node418.a('node.fillrect', [0,0,0,0]);
- Node418.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node418.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node418.a('node.fillgradient', '');
- if (Node418type !== 'rect') {
- Node418.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node418.a('node.arcTo', parseFloat('@arcTo@'));
- Node418.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node418type === 'arc') {
- Node418.a('node.arcOval', true);
- }
- Node418.setRotation(0*Math.PI/180);
- Node418.borderWidth = Node418BorderWidth;
- Node418.borderFillwidth = Node418BorderWidth;
- dataModel.add(Node418);
- Node418._nodename = 'Node418'
- Node418._nodeType = 'rect';
- zoomNodeList.push({
- node: Node418,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node418, Node418.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node419 = new ht.Node();
- var Node419textStart, Node419textWidth, Node419lineStart, Node419align = 'left', Node419fontSize = 10.66664*_ratio.ratioY,Node419width = 63*_ratio.ratioX, Node419height = 25*_ratio.ratioY;
- (function () {
- if (Node419align === 'left') {
- Node419textStart = Node419fontSize * 0.2 > 2 ? Node419fontSize * 0.2 - 4 : Node419fontSize * 0.2 - 9;
- Node419textWidth = Node419width;
- Node419lineStart = 1;
- } else if (Node419align === 'right') {
- Node419textStart = 0;
- Node419textWidth =Node419fontSize <= 8 ? Node419width + Node419fontSize * 0.2 + 6 : Node419width - Node419fontSize * 0.2;
- Node419lineStart = (Node419width - (ht.Default.getTextSize('理论发电量', ' '+ Node419fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node419align === 'center') {
- Node419textStart = -3;
- Node419textWidth = Node419width;
- Node419lineStart = Node419width - ht.Default.getTextSize('理论发电量', ' '+ Node419fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node419.setImage(GD.getTextJSON(Node419width, Node419height, true, false, false, ' '+ Node419fontSize + 'px "Arial"'))
- Node419.setPosition(1729*ratio.ratioX, 749*ratio.ratioY);
- Node419.setWidth(Node419width);
- Node419.setHeight(Node419height);
- Node419._nodeType = 'text';
- Node419._disallowEvert = true;
- Node419.setRotation(0*Math.PI/180);
- Node419.a('node.width', Node419width);
- Node419.a('node.height', Node419height);
- Node419.a('node.rect', [0, 0, Node419width, Node419height]);
- Node419.a('node.bordercolor','rgba(0,0,0,1)');
- Node419.a('node.borderwidth', 0);
- Node419.a('node.background','' || 'rgba(0,0,0,0)');
- Node419.a('node.gradient','');
- Node419.a('node.gradientcolor','');
- Node419.a('node.text','理论发电量');
- Node419.a('node.textalign','left');
- Node419.a('node.textvAlign','middle');
- Node419.a('node.textrect', [Node419textStart, 0, Node419textWidth, Node419height]);
- Node419.a('node.color','rgba(0,0,0,1)');
- Node419.a('node.font',' '+ Node419fontSize + 'px "Arial"');
- Node419.a('node.textvisible',true);
- Node419.a('node.linefeed',false);
- if (false) {
- Node419.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node419.a('node.text') || '理论发电量';
- var color=Node419.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node419width,Node419height,10.66664*_ratio.ratioY,"left",color,' '+ Node419fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node419.a('node.underlinepoints',[Node419lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node419fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node419fontSize + 'px "Arial"').width + 6, (Node419height - Node419fontSize) * 0.5*_ratio.ratioY + Node419fontSize + 2 ]);
- Node419.a('node.underlinevisible',false);
- Node419.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node419);
- zoomNodeList.push({
- node: Node419,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node420type = 'rect';
- var Node420 = new ht.Node(),
- Node420BorderWidth = 1*2;
- if (Node420type === 'arc') {
- Node420BorderWidth *= 1;
- }
- Node420.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node420type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node420.setPosition(1730*ratio.ratioX, 786*ratio.ratioY);
- Node420.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node420.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node420.a('node.width', 72*_ratio.ratioX);
- Node420.a('node.height', 33*_ratio.ratioY);
- Node420.a('node.type', Node420type);
- Node420.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node420.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node420.a('node.gradientcolor', '');
- Node420.a('node.gradient', '');
- Node420.a('node.borderwidth', Node420BorderWidth);
- Node420.a('node.color', 'rgba(192,192,192,1)');
- Node420.a('node.fillrect', [0,0,0,0]);
- Node420.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node420.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node420.a('node.fillgradient', '');
- if (Node420type !== 'rect') {
- Node420.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node420.a('node.arcTo', parseFloat('@arcTo@'));
- Node420.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node420type === 'arc') {
- Node420.a('node.arcOval', true);
- }
- Node420.setRotation(0*Math.PI/180);
- Node420.borderWidth = Node420BorderWidth;
- Node420.borderFillwidth = Node420BorderWidth;
- dataModel.add(Node420);
- Node420._nodename = 'Node420'
- Node420._nodeType = 'rect';
- zoomNodeList.push({
- node: Node420,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node420, Node420.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node421type = 'rect';
- var Node421 = new ht.Node(),
- Node421BorderWidth = 1*2;
- if (Node421type === 'arc') {
- Node421BorderWidth *= 1;
- }
- Node421.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node421type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node421.setPosition(1802*ratio.ratioX, 786*ratio.ratioY);
- Node421.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node421.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node421.a('node.width', 72*_ratio.ratioX);
- Node421.a('node.height', 33*_ratio.ratioY);
- Node421.a('node.type', Node421type);
- Node421.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node421.a('node.background', 'rgba(202,32,32,1)');
- Node421.a('node.gradientcolor', 'rgba(202,32,32,1)');
- Node421.a('node.gradient', '');
- Node421.a('node.borderwidth', Node421BorderWidth);
- Node421.a('node.color', 'rgba(192,192,192,1)');
- Node421.a('node.fillrect', [0,0,0,0]);
- Node421.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node421.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node421.a('node.fillgradient', '');
- if (Node421type !== 'rect') {
- Node421.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node421.a('node.arcTo', parseFloat('@arcTo@'));
- Node421.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node421type === 'arc') {
- Node421.a('node.arcOval', true);
- }
- Node421.setRotation(0*Math.PI/180);
- Node421.borderWidth = Node421BorderWidth;
- Node421.borderFillwidth = Node421BorderWidth;
- dataModel.add(Node421);
- Node421._nodename = 'Node421'
- Node421._nodeType = 'rect';
- zoomNodeList.push({
- node: Node421,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node421, Node421.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node422 = new ht.Node();
- var Node422textStart, Node422textWidth, Node422lineStart, Node422align = 'left', Node422fontSize = 10.66664*_ratio.ratioY,Node422width = 63*_ratio.ratioX, Node422height = 25*_ratio.ratioY;
- (function () {
- if (Node422align === 'left') {
- Node422textStart = Node422fontSize * 0.2 > 2 ? Node422fontSize * 0.2 - 4 : Node422fontSize * 0.2 - 9;
- Node422textWidth = Node422width;
- Node422lineStart = 1;
- } else if (Node422align === 'right') {
- Node422textStart = 0;
- Node422textWidth =Node422fontSize <= 8 ? Node422width + Node422fontSize * 0.2 + 6 : Node422width - Node422fontSize * 0.2;
- Node422lineStart = (Node422width - (ht.Default.getTextSize('理论发电量', ' '+ Node422fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node422align === 'center') {
- Node422textStart = -3;
- Node422textWidth = Node422width;
- Node422lineStart = Node422width - ht.Default.getTextSize('理论发电量', ' '+ Node422fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node422.setImage(GD.getTextJSON(Node422width, Node422height, true, false, false, ' '+ Node422fontSize + 'px "Arial"'))
- Node422.setPosition(1729*ratio.ratioX, 788*ratio.ratioY);
- Node422.setWidth(Node422width);
- Node422.setHeight(Node422height);
- Node422._nodeType = 'text';
- Node422._disallowEvert = true;
- Node422.setRotation(0*Math.PI/180);
- Node422.a('node.width', Node422width);
- Node422.a('node.height', Node422height);
- Node422.a('node.rect', [0, 0, Node422width, Node422height]);
- Node422.a('node.bordercolor','rgba(0,0,0,1)');
- Node422.a('node.borderwidth', 0);
- Node422.a('node.background','' || 'rgba(0,0,0,0)');
- Node422.a('node.gradient','');
- Node422.a('node.gradientcolor','');
- Node422.a('node.text','理论发电量');
- Node422.a('node.textalign','left');
- Node422.a('node.textvAlign','middle');
- Node422.a('node.textrect', [Node422textStart, 0, Node422textWidth, Node422height]);
- Node422.a('node.color','rgba(0,0,0,1)');
- Node422.a('node.font',' '+ Node422fontSize + 'px "Arial"');
- Node422.a('node.textvisible',true);
- Node422.a('node.linefeed',false);
- if (false) {
- Node422.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node422.a('node.text') || '理论发电量';
- var color=Node422.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node422width,Node422height,10.66664*_ratio.ratioY,"left",color,' '+ Node422fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node422.a('node.underlinepoints',[Node422lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node422fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node422fontSize + 'px "Arial"').width + 6, (Node422height - Node422fontSize) * 0.5*_ratio.ratioY + Node422fontSize + 2 ]);
- Node422.a('node.underlinevisible',false);
- Node422.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node422);
- zoomNodeList.push({
- node: Node422,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node423type = 'rect';
- var Node423 = new ht.Node(),
- Node423BorderWidth = 1*2;
- if (Node423type === 'arc') {
- Node423BorderWidth *= 1;
- }
- Node423.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node423type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node423.setPosition(1730*ratio.ratioX, 824*ratio.ratioY);
- Node423.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node423.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node423.a('node.width', 72*_ratio.ratioX);
- Node423.a('node.height', 33*_ratio.ratioY);
- Node423.a('node.type', Node423type);
- Node423.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node423.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node423.a('node.gradientcolor', '');
- Node423.a('node.gradient', '');
- Node423.a('node.borderwidth', Node423BorderWidth);
- Node423.a('node.color', 'rgba(192,192,192,1)');
- Node423.a('node.fillrect', [0,0,0,0]);
- Node423.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node423.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node423.a('node.fillgradient', '');
- if (Node423type !== 'rect') {
- Node423.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node423.a('node.arcTo', parseFloat('@arcTo@'));
- Node423.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node423type === 'arc') {
- Node423.a('node.arcOval', true);
- }
- Node423.setRotation(0*Math.PI/180);
- Node423.borderWidth = Node423BorderWidth;
- Node423.borderFillwidth = Node423BorderWidth;
- dataModel.add(Node423);
- Node423._nodename = 'Node423'
- Node423._nodeType = 'rect';
- zoomNodeList.push({
- node: Node423,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node423, Node423.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424type = 'rect';
- var Node424 = new ht.Node(),
- Node424BorderWidth = 1*2;
- if (Node424type === 'arc') {
- Node424BorderWidth *= 1;
- }
- Node424.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node424type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424.setPosition(1802*ratio.ratioX, 824*ratio.ratioY);
- Node424.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node424.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424.a('node.width', 72*_ratio.ratioX);
- Node424.a('node.height', 33*_ratio.ratioY);
- Node424.a('node.type', Node424type);
- Node424.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node424.a('node.background', 'rgba(172,56,137,1)');
- Node424.a('node.gradientcolor', 'rgba(172,56,137,1)');
- Node424.a('node.gradient', '');
- Node424.a('node.borderwidth', Node424BorderWidth);
- Node424.a('node.color', 'rgba(192,192,192,1)');
- Node424.a('node.fillrect', [0,0,0,0]);
- Node424.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424.a('node.fillgradient', '');
- if (Node424type !== 'rect') {
- Node424.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424.a('node.arcTo', parseFloat('@arcTo@'));
- Node424.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424type === 'arc') {
- Node424.a('node.arcOval', true);
- }
- Node424.setRotation(0*Math.PI/180);
- Node424.borderWidth = Node424BorderWidth;
- Node424.borderFillwidth = Node424BorderWidth;
- dataModel.add(Node424);
- Node424._nodename = 'Node424'
- Node424._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node424, Node424.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node425 = new ht.Node();
- var Node425textStart, Node425textWidth, Node425lineStart, Node425align = 'left', Node425fontSize = 10.66664*_ratio.ratioY,Node425width = 63*_ratio.ratioX, Node425height = 25*_ratio.ratioY;
- (function () {
- if (Node425align === 'left') {
- Node425textStart = Node425fontSize * 0.2 > 2 ? Node425fontSize * 0.2 - 4 : Node425fontSize * 0.2 - 9;
- Node425textWidth = Node425width;
- Node425lineStart = 1;
- } else if (Node425align === 'right') {
- Node425textStart = 0;
- Node425textWidth =Node425fontSize <= 8 ? Node425width + Node425fontSize * 0.2 + 6 : Node425width - Node425fontSize * 0.2;
- Node425lineStart = (Node425width - (ht.Default.getTextSize('理论发电量', ' '+ Node425fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node425align === 'center') {
- Node425textStart = -3;
- Node425textWidth = Node425width;
- Node425lineStart = Node425width - ht.Default.getTextSize('理论发电量', ' '+ Node425fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node425.setImage(GD.getTextJSON(Node425width, Node425height, true, false, false, ' '+ Node425fontSize + 'px "Arial"'))
- Node425.setPosition(1729*ratio.ratioX, 826*ratio.ratioY);
- Node425.setWidth(Node425width);
- Node425.setHeight(Node425height);
- Node425._nodeType = 'text';
- Node425._disallowEvert = true;
- Node425.setRotation(0*Math.PI/180);
- Node425.a('node.width', Node425width);
- Node425.a('node.height', Node425height);
- Node425.a('node.rect', [0, 0, Node425width, Node425height]);
- Node425.a('node.bordercolor','rgba(0,0,0,1)');
- Node425.a('node.borderwidth', 0);
- Node425.a('node.background','' || 'rgba(0,0,0,0)');
- Node425.a('node.gradient','');
- Node425.a('node.gradientcolor','');
- Node425.a('node.text','理论发电量');
- Node425.a('node.textalign','left');
- Node425.a('node.textvAlign','middle');
- Node425.a('node.textrect', [Node425textStart, 0, Node425textWidth, Node425height]);
- Node425.a('node.color','rgba(0,0,0,1)');
- Node425.a('node.font',' '+ Node425fontSize + 'px "Arial"');
- Node425.a('node.textvisible',true);
- Node425.a('node.linefeed',false);
- if (false) {
- Node425.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node425.a('node.text') || '理论发电量';
- var color=Node425.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node425width,Node425height,10.66664*_ratio.ratioY,"left",color,' '+ Node425fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node425.a('node.underlinepoints',[Node425lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node425fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node425fontSize + 'px "Arial"').width + 6, (Node425height - Node425fontSize) * 0.5*_ratio.ratioY + Node425fontSize + 2 ]);
- Node425.a('node.underlinevisible',false);
- Node425.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node425);
- zoomNodeList.push({
- node: Node425,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node426type = 'rect';
- var Node426 = new ht.Node(),
- Node426BorderWidth = 1*2;
- if (Node426type === 'arc') {
- Node426BorderWidth *= 1;
- }
- Node426.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node426type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node426.setPosition(1730*ratio.ratioX, 863*ratio.ratioY);
- Node426.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node426.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node426.a('node.width', 72*_ratio.ratioX);
- Node426.a('node.height', 33*_ratio.ratioY);
- Node426.a('node.type', Node426type);
- Node426.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node426.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node426.a('node.gradientcolor', '');
- Node426.a('node.gradient', '');
- Node426.a('node.borderwidth', Node426BorderWidth);
- Node426.a('node.color', 'rgba(192,192,192,1)');
- Node426.a('node.fillrect', [0,0,0,0]);
- Node426.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node426.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node426.a('node.fillgradient', '');
- if (Node426type !== 'rect') {
- Node426.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node426.a('node.arcTo', parseFloat('@arcTo@'));
- Node426.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node426type === 'arc') {
- Node426.a('node.arcOval', true);
- }
- Node426.setRotation(0*Math.PI/180);
- Node426.borderWidth = Node426BorderWidth;
- Node426.borderFillwidth = Node426BorderWidth;
- dataModel.add(Node426);
- Node426._nodename = 'Node426'
- Node426._nodeType = 'rect';
- zoomNodeList.push({
- node: Node426,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node426, Node426.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427type = 'rect';
- var Node427 = new ht.Node(),
- Node427BorderWidth = 1*2;
- if (Node427type === 'arc') {
- Node427BorderWidth *= 1;
- }
- Node427.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node427type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427.setPosition(1802*ratio.ratioX, 863*ratio.ratioY);
- Node427.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node427.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427.a('node.width', 72*_ratio.ratioX);
- Node427.a('node.height', 33*_ratio.ratioY);
- Node427.a('node.type', Node427type);
- Node427.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node427.a('node.background', 'rgba(1,212,135,1)');
- Node427.a('node.gradientcolor', 'rgba(1,212,135,1)');
- Node427.a('node.gradient', '');
- Node427.a('node.borderwidth', Node427BorderWidth);
- Node427.a('node.color', 'rgba(192,192,192,1)');
- Node427.a('node.fillrect', [0,0,0,0]);
- Node427.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427.a('node.fillgradient', '');
- if (Node427type !== 'rect') {
- Node427.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427.a('node.arcTo', parseFloat('@arcTo@'));
- Node427.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427type === 'arc') {
- Node427.a('node.arcOval', true);
- }
- Node427.setRotation(0*Math.PI/180);
- Node427.borderWidth = Node427BorderWidth;
- Node427.borderFillwidth = Node427BorderWidth;
- dataModel.add(Node427);
- Node427._nodename = 'Node427'
- Node427._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node427, Node427.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428 = new ht.Node();
- var Node428textStart, Node428textWidth, Node428lineStart, Node428align = 'left', Node428fontSize = 10.66664*_ratio.ratioY,Node428width = 63*_ratio.ratioX, Node428height = 25*_ratio.ratioY;
- (function () {
- if (Node428align === 'left') {
- Node428textStart = Node428fontSize * 0.2 > 2 ? Node428fontSize * 0.2 - 4 : Node428fontSize * 0.2 - 9;
- Node428textWidth = Node428width;
- Node428lineStart = 1;
- } else if (Node428align === 'right') {
- Node428textStart = 0;
- Node428textWidth =Node428fontSize <= 8 ? Node428width + Node428fontSize * 0.2 + 6 : Node428width - Node428fontSize * 0.2;
- Node428lineStart = (Node428width - (ht.Default.getTextSize('理论发电量', ' '+ Node428fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node428align === 'center') {
- Node428textStart = -3;
- Node428textWidth = Node428width;
- Node428lineStart = Node428width - ht.Default.getTextSize('理论发电量', ' '+ Node428fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node428.setImage(GD.getTextJSON(Node428width, Node428height, true, false, false, ' '+ Node428fontSize + 'px "Arial"'))
- Node428.setPosition(1729*ratio.ratioX, 865*ratio.ratioY);
- Node428.setWidth(Node428width);
- Node428.setHeight(Node428height);
- Node428._nodeType = 'text';
- Node428._disallowEvert = true;
- Node428.setRotation(0*Math.PI/180);
- Node428.a('node.width', Node428width);
- Node428.a('node.height', Node428height);
- Node428.a('node.rect', [0, 0, Node428width, Node428height]);
- Node428.a('node.bordercolor','rgba(0,0,0,1)');
- Node428.a('node.borderwidth', 0);
- Node428.a('node.background','' || 'rgba(0,0,0,0)');
- Node428.a('node.gradient','');
- Node428.a('node.gradientcolor','');
- Node428.a('node.text','理论发电量');
- Node428.a('node.textalign','left');
- Node428.a('node.textvAlign','middle');
- Node428.a('node.textrect', [Node428textStart, 0, Node428textWidth, Node428height]);
- Node428.a('node.color','rgba(0,0,0,1)');
- Node428.a('node.font',' '+ Node428fontSize + 'px "Arial"');
- Node428.a('node.textvisible',true);
- Node428.a('node.linefeed',false);
- if (false) {
- Node428.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428.a('node.text') || '理论发电量';
- var color=Node428.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node428width,Node428height,10.66664*_ratio.ratioY,"left",color,' '+ Node428fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node428.a('node.underlinepoints',[Node428lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node428fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node428fontSize + 'px "Arial"').width + 6, (Node428height - Node428fontSize) * 0.5*_ratio.ratioY + Node428fontSize + 2 ]);
- Node428.a('node.underlinevisible',false);
- Node428.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428);
- zoomNodeList.push({
- node: Node428,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429type = 'rect';
- var Node429 = new ht.Node(),
- Node429BorderWidth = 1*2;
- if (Node429type === 'arc') {
- Node429BorderWidth *= 1;
- }
- Node429.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node429type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429.setPosition(1730*ratio.ratioX, 901*ratio.ratioY);
- Node429.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node429.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429.a('node.width', 72*_ratio.ratioX);
- Node429.a('node.height', 33*_ratio.ratioY);
- Node429.a('node.type', Node429type);
- Node429.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node429.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node429.a('node.gradientcolor', '');
- Node429.a('node.gradient', '');
- Node429.a('node.borderwidth', Node429BorderWidth);
- Node429.a('node.color', 'rgba(192,192,192,1)');
- Node429.a('node.fillrect', [0,0,0,0]);
- Node429.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429.a('node.fillgradient', '');
- if (Node429type !== 'rect') {
- Node429.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429.a('node.arcTo', parseFloat('@arcTo@'));
- Node429.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429type === 'arc') {
- Node429.a('node.arcOval', true);
- }
- Node429.setRotation(0*Math.PI/180);
- Node429.borderWidth = Node429BorderWidth;
- Node429.borderFillwidth = Node429BorderWidth;
- dataModel.add(Node429);
- Node429._nodename = 'Node429'
- Node429._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node429, Node429.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node430type = 'rect';
- var Node430 = new ht.Node(),
- Node430BorderWidth = 1*2;
- if (Node430type === 'arc') {
- Node430BorderWidth *= 1;
- }
- Node430.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node430type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node430.setPosition(1802*ratio.ratioX, 901*ratio.ratioY);
- Node430.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node430.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node430.a('node.width', 72*_ratio.ratioX);
- Node430.a('node.height', 33*_ratio.ratioY);
- Node430.a('node.type', Node430type);
- Node430.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node430.a('node.background', 'rgba(173,173,173,1)');
- Node430.a('node.gradientcolor', 'rgba(173,173,173,1)');
- Node430.a('node.gradient', '');
- Node430.a('node.borderwidth', Node430BorderWidth);
- Node430.a('node.color', 'rgba(173,173,173,1)');
- Node430.a('node.fillrect', [0,0,0,0]);
- Node430.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node430.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node430.a('node.fillgradient', '');
- if (Node430type !== 'rect') {
- Node430.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node430.a('node.arcTo', parseFloat('@arcTo@'));
- Node430.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node430type === 'arc') {
- Node430.a('node.arcOval', true);
- }
- Node430.setRotation(0*Math.PI/180);
- Node430.borderWidth = Node430BorderWidth;
- Node430.borderFillwidth = Node430BorderWidth;
- dataModel.add(Node430);
- Node430._nodename = 'Node430'
- Node430._nodeType = 'rect';
- zoomNodeList.push({
- node: Node430,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node430, Node430.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node431 = new ht.Node();
- var Node431textStart, Node431textWidth, Node431lineStart, Node431align = 'left', Node431fontSize = 10.66664*_ratio.ratioY,Node431width = 63*_ratio.ratioX, Node431height = 25*_ratio.ratioY;
- (function () {
- if (Node431align === 'left') {
- Node431textStart = Node431fontSize * 0.2 > 2 ? Node431fontSize * 0.2 - 4 : Node431fontSize * 0.2 - 9;
- Node431textWidth = Node431width;
- Node431lineStart = 1;
- } else if (Node431align === 'right') {
- Node431textStart = 0;
- Node431textWidth =Node431fontSize <= 8 ? Node431width + Node431fontSize * 0.2 + 6 : Node431width - Node431fontSize * 0.2;
- Node431lineStart = (Node431width - (ht.Default.getTextSize('理论发电量', ' '+ Node431fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node431align === 'center') {
- Node431textStart = -3;
- Node431textWidth = Node431width;
- Node431lineStart = Node431width - ht.Default.getTextSize('理论发电量', ' '+ Node431fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node431.setImage(GD.getTextJSON(Node431width, Node431height, true, false, false, ' '+ Node431fontSize + 'px "Arial"'))
- Node431.setPosition(1729*ratio.ratioX, 903*ratio.ratioY);
- Node431.setWidth(Node431width);
- Node431.setHeight(Node431height);
- Node431._nodeType = 'text';
- Node431._disallowEvert = true;
- Node431.setRotation(0*Math.PI/180);
- Node431.a('node.width', Node431width);
- Node431.a('node.height', Node431height);
- Node431.a('node.rect', [0, 0, Node431width, Node431height]);
- Node431.a('node.bordercolor','rgba(0,0,0,1)');
- Node431.a('node.borderwidth', 0);
- Node431.a('node.background','' || 'rgba(0,0,0,0)');
- Node431.a('node.gradient','');
- Node431.a('node.gradientcolor','');
- Node431.a('node.text','理论发电量');
- Node431.a('node.textalign','left');
- Node431.a('node.textvAlign','middle');
- Node431.a('node.textrect', [Node431textStart, 0, Node431textWidth, Node431height]);
- Node431.a('node.color','rgba(0,0,0,1)');
- Node431.a('node.font',' '+ Node431fontSize + 'px "Arial"');
- Node431.a('node.textvisible',true);
- Node431.a('node.linefeed',false);
- if (false) {
- Node431.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node431.a('node.text') || '理论发电量';
- var color=Node431.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node431width,Node431height,10.66664*_ratio.ratioY,"left",color,' '+ Node431fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node431.a('node.underlinepoints',[Node431lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node431fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node431fontSize + 'px "Arial"').width + 6, (Node431height - Node431fontSize) * 0.5*_ratio.ratioY + Node431fontSize + 2 ]);
- Node431.a('node.underlinevisible',false);
- Node431.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node431);
- zoomNodeList.push({
- node: Node431,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node432 = new ht.Node();
- var Node432textStart, Node432textWidth, Node432lineStart, Node432align = 'left', Node432fontSize = 13.3333*_ratio.ratioY,Node432width = 72*_ratio.ratioX, Node432height = 27*_ratio.ratioY;
- (function () {
- if (Node432align === 'left') {
- Node432textStart = Node432fontSize * 0.2 > 2 ? Node432fontSize * 0.2 - 4 : Node432fontSize * 0.2 - 9;
- Node432textWidth = Node432width;
- Node432lineStart = 1;
- } else if (Node432align === 'right') {
- Node432textStart = 0;
- Node432textWidth =Node432fontSize <= 8 ? Node432width + Node432fontSize * 0.2 + 6 : Node432width - Node432fontSize * 0.2;
- Node432lineStart = (Node432width - (ht.Default.getTextSize('年度分析', ' '+ Node432fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node432align === 'center') {
- Node432textStart = -3;
- Node432textWidth = Node432width;
- Node432lineStart = Node432width - ht.Default.getTextSize('年度分析', ' '+ Node432fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node432.setImage(GD.getTextJSON(Node432width, Node432height, true, false, false, ' '+ Node432fontSize + 'px "Arial"'))
- Node432.setPosition(1396*ratio.ratioX, 626*ratio.ratioY);
- Node432.setWidth(Node432width);
- Node432.setHeight(Node432height);
- Node432._nodeType = 'text';
- Node432._disallowEvert = true;
- Node432.setRotation(0*Math.PI/180);
- Node432.a('node.width', Node432width);
- Node432.a('node.height', Node432height);
- Node432.a('node.rect', [0, 0, Node432width, Node432height]);
- Node432.a('node.bordercolor','rgba(105,105,105,1)');
- Node432.a('node.borderwidth', 0);
- Node432.a('node.background','' || 'rgba(0,0,0,0)');
- Node432.a('node.gradient','');
- Node432.a('node.gradientcolor','');
- Node432.a('node.text','年度分析');
- Node432.a('node.textalign','left');
- Node432.a('node.textvAlign','middle');
- Node432.a('node.textrect', [Node432textStart, 0, Node432textWidth, Node432height]);
- Node432.a('node.color','rgba(105,105,105,1)');
- Node432.a('node.font',' '+ Node432fontSize + 'px "Arial"');
- Node432.a('node.textvisible',true);
- Node432.a('node.linefeed',false);
- if (false) {
- Node432.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node432.a('node.text') || '年度分析';
- var color=Node432.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node432width,Node432height,13.3333*_ratio.ratioY,"left",color,' '+ Node432fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node432.a('node.underlinepoints',[Node432lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node432fontSize + 2 , ht.Default.getTextSize('年度分析', ' '+ Node432fontSize + 'px "Arial"').width + 6, (Node432height - Node432fontSize) * 0.5*_ratio.ratioY + Node432fontSize + 2 ]);
- Node432.a('node.underlinevisible',false);
- Node432.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node432);
- zoomNodeList.push({
- node: Node432,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433 = new ht.Node();
- var Node433textStart, Node433textWidth, Node433lineStart, Node433align = 'left', Node433fontSize = 13.3333*_ratio.ratioY,Node433width = 77*_ratio.ratioX, Node433height = 27*_ratio.ratioY;
- (function () {
- if (Node433align === 'left') {
- Node433textStart = Node433fontSize * 0.2 > 2 ? Node433fontSize * 0.2 - 4 : Node433fontSize * 0.2 - 9;
- Node433textWidth = Node433width;
- Node433lineStart = 1;
- } else if (Node433align === 'right') {
- Node433textStart = 0;
- Node433textWidth =Node433fontSize <= 8 ? Node433width + Node433fontSize * 0.2 + 6 : Node433width - Node433fontSize * 0.2;
- Node433lineStart = (Node433width - (ht.Default.getTextSize('单位:万kwh', ' '+ Node433fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node433align === 'center') {
- Node433textStart = -3;
- Node433textWidth = Node433width;
- Node433lineStart = Node433width - ht.Default.getTextSize('单位:万kwh', ' '+ Node433fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node433.setImage(GD.getTextJSON(Node433width, Node433height, true, false, false, ' '+ Node433fontSize + 'px "Arial"'))
- Node433.setPosition(1803*ratio.ratioX, 636*ratio.ratioY);
- Node433.setWidth(Node433width);
- Node433.setHeight(Node433height);
- Node433._nodeType = 'text';
- Node433._disallowEvert = true;
- Node433.setRotation(0*Math.PI/180);
- Node433.a('node.width', Node433width);
- Node433.a('node.height', Node433height);
- Node433.a('node.rect', [0, 0, Node433width, Node433height]);
- Node433.a('node.bordercolor','rgba(105,105,105,1)');
- Node433.a('node.borderwidth', 0);
- Node433.a('node.background','' || 'rgba(0,0,0,0)');
- Node433.a('node.gradient','');
- Node433.a('node.gradientcolor','');
- Node433.a('node.text','单位:万kwh');
- Node433.a('node.textalign','left');
- Node433.a('node.textvAlign','middle');
- Node433.a('node.textrect', [Node433textStart, 0, Node433textWidth, Node433height]);
- Node433.a('node.color','rgba(105,105,105,1)');
- Node433.a('node.font',' '+ Node433fontSize + 'px "Arial"');
- Node433.a('node.textvisible',true);
- Node433.a('node.linefeed',false);
- if (false) {
- Node433.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433.a('node.text') || '单位:万kwh';
- var color=Node433.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433width,Node433height,13.3333*_ratio.ratioY,"left",color,' '+ Node433fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node433.a('node.underlinepoints',[Node433lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node433fontSize + 2 , ht.Default.getTextSize('单位:万kwh', ' '+ Node433fontSize + 'px "Arial"').width + 6, (Node433height - Node433fontSize) * 0.5*_ratio.ratioY + Node433fontSize + 2 ]);
- Node433.a('node.underlinevisible',false);
- Node433.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433);
- zoomNodeList.push({
- node: Node433,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- // var alarmLevelDic = {};
- // var alarmLevelDicName = {};
- // var alarmGroupDic = {};
- var Node434_beginTime='2018/6/28 14:55:41';
- var Node434_endTime='2018/6/29 14:55:41';
- var Node434_alarmAreaTmp='*';
- var Node434_chartType="normal";
- var Node434Export;
- var Node434Arr=[{tagName:'10',statisticsType:'CalcAvg', name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{tagName:'20',statisticsType:'CalcAvg', name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{tagName:'30',statisticsType:'CalcAvg', name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{tagName:'202,32,32',statisticsType:'CalcAvg', name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{tagName:'8',statisticsType:'CalcAvg', name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{tagName:'12',statisticsType:'CalcAvg', name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{tagName:'3',statisticsType:'CalcAvg', name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}];
- var st,et,alarmArea;
- var Node434Option = {
- title : {
- text: '',
- x:''
- },
- tooltip : {
- trigger: 'item',
- //formatter: "{a} <br/>{b} :{c} ({d}%)"
- formatter:function (params, ticket, callback) {
- return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
- }
- },
- color:colors,
- toolbox: {
- // show: false,
- feature: {
- //dataView: {show: true, readOnly: false},
- //magicType: {show: true, type: ['line', 'bar', 'stack', 'tiled']},
- //restore: {show: true},
- saveAsImage: {show: false}
- }
- },
- legend: {
- //orient: 'vertical',
- //left: 'left',
- bottom:'bottom',
- data: ["一","二","三","四","五","六","七"],
- show:false
- },
- series : [
- {
- name: '',
- type: 'pie',
- radius : '65%',
- center: ['50%', '50%'],
- data:[ {value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}],
- label: {
- normal: {
- show:false
- }
- },
- itemStyle: {
- // normal: {
- // shadowBlur: 10,
- // shadowOffsetX: 10,
- // shadowOffsetY: 10,
- // shadowColor: 'rgba(0, 0, 0, 0.5)',
-
- // },
- // emphasis: {
- // shadowBlur: 10,
- // shadowOffsetX: 10,
- // shadowOffsetY: 10,
- // shadowColor: 'rgba(0, 0, 0, 0.5)'
- // }
- }
- }
- ]
- };
- var Node434 = new ht.HtmlNode();
- Node434.setPosition({'x':1497*ratio.ratioX,'y':790*ratio.ratioY});
- Node434.setWidth(379.2*ratio.ratioX);
- Node434.setHeight(379.2*ratio.ratioY);
- Node434.setScalable(false);
- Node434.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- //Node434.option=Node434Option;
- chart = new ht.Chart(Node434Option, 379.2*ratio.ratioX, 379.2*ratio.ratioY);
- Node434.setHtml(chart);
- var Node434_chart = chart._chart;
- dataModel.add(Node434);
- Node434.option=Node434Option;
- if(Node434_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:41')).getTime();
- et=(new Date('2018/6/29 14:55:41')).getTime();
- Node434_alarmAreaTmp = '*'||'*';
- }else{
- st=(new Date("'2018/6/28 14:55:41'")).getTime();
- et=(new Date("'2018/6/29 14:55:41'")).getTime();
- Node434_alarmAreaTmp= ''*''||'*';
- }
- var alarmAreaDicName = {};
- Node434.NodeCreat=function(option)
- {
- Node434_chart.clear();
- Node434_chart.setOption(option);
- };
- //判断是不是报警画图
- if(Node434_chartType!="normal"){
- if(Node434_chartType=="alarmLevel"){
- //报警等级画图
- // getAlarmLevels();
- getAlarmLevelChartData(st,et,Node434_alarmAreaTmp,"alarmLevelPie",Node434,Node434.NodeCreat);
- }else if(Node434_chartType=="alarmGroup"){
- //报警组画图
- // alarmGroupDic= getAlarmGroups();
- getAlarmGroupChartData(st,et,Node434_alarmAreaTmp,"alarmGroupPie",Node434,Node434.NodeCreat);
- }
- }
- function Node434RefreshPieChartInfo(){
- if (Node434_chartType === 'statistic') {
- return Node434Search();
- }
- if(Node434_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:41')).getTime();
- et=(new Date('2018/6/29 14:55:41')).getTime();
- Node434_alarmAreaTmp = '*'||'*';
- // Node434_alarmAreaTmp="你好";
- // var Node434type=Node434_chartType+"pie";
- if (!GD.testSearchTime(st, et)) {
- return ;
- }
- if(Node434_chartType=="alarmLevel"){
- getAlarmLevelChartData(st,et,Node434_alarmAreaTmp,"alarmLevelPie",Node434,Node434.NodeCreat);
- }else if(Node434_chartType=="alarmGroup"){
- getAlarmGroupChartData(st,et,Node434_alarmAreaTmp,"alarmGroupPie",Node434,Node434.NodeCreat);
- }
- }else{
- st=(new Date("'2018/6/28 14:55:41'")).getTime();
- et=(new Date("'2018/6/29 14:55:41'")).getTime();
- Node434_alarmAreaTmp= 'Node434_alarmAreaTmp'||'*';
- }
- }
- Node434Export = function () {
- var option = Node434_chart.getOption(),
- series = option.series[0] || {},
- data = series['data'] || [];
- var tempArr = [],
- resultArr = [],
- titleArr = [],
- d,title, total = 0, t, fileName;
- if(Node434_chartType!="normal"){
- if(Node434_chartType=="alarmLevel"){
- title = '故障级别';
- fileName = '故障级别';
- } else if(Node434_chartType=="alarmGroup"){
- title = '故障类别';
- fileName = '故障类别';
- }
- tempArr = [title, '数值', '百分比'];
- titleArr = ['name', 'value', 'percent'];
- for (var i = 0, len = data.length; i < len; i++) {
- total += data[i].value;
- }
- } else {
- title = '类目';
- tempArr = [title, '数值'];
- titleArr = ['name', 'value'];
- fileName = '';
- }
- resultArr.push(tempArr);
- for (var i = 0, len = data.length; i < len; i++) {
- d = data[i];
- tempArr = [];
- for (var j = 0, leng = titleArr.length; j < leng; j++) {
- t = titleArr[j];
- if (t === 'percent') {
- if (total != 0) {
- tempArr.push((d.value * 100 / total).toFixed(2, 10) + '%');
- } else {
- tempArr.push('0.00%');
- }
- } else {
- tempArr.push(d[t]);
- }
- }
- resultArr.push(tempArr);
- }
- GD.exportArrToCsv(resultArr, fileName);
- };
- function Node434Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- var statisticsTypeObj = {};
- for(var i=0;i<Node434Arr.length;i++){
- statisticsTypeObj[Node434Arr[i].tagName] = Node434Arr[i].statisticsType;
- }
- var beginTime = '2018/6/28 14:55:41',
- endTime = '2018/6/29 14:55:41';
- // type = '@dateType@'; // 时间段:当日,当月,当年 。固定时间
- //var groupbarType = '@groupBarType@';
- var beginTimeType = 'begin',
- endTimeType = 'end';
- var difTagsInfo = '',
- staTagsInfo = '',
- staTagArr = [],
- difTagArr = [];
-
- (function () {
- var tagsType = statisticsTypeObj,
- k, v;
- for (var key in tagsType) {
- if (tagsType.hasOwnProperty(key)) {
- k = key;
- v = tagsType[k];
- if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
- difTagArr.push(k);
- } else {
- staTagArr.push(k);
- }
- }
- }
- difTagsInfo = encodeURIComponent(difTagArr.join(','));
- staTagsInfo = encodeURIComponent(staTagArr.join(','));
- })();
- if (Node434_chartType != 'statistic') {
- Node434RefreshPieChartInfo()
- return;
- }
- // if (type === 'relday') {
- // if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
- // endTimeType = '';
- // }
- // } else if (type === 'relmonth') {
- // if (endTime === '0m') {
- // endTimeType = ''
- // }
- // } else if (type === 'relyear') {
- // if (endTime === '0y') {
- // endTimeType = ''
- // }
- // } else if (type === 'static') {
- // beginTimeType = '';
- // endTimeType = '';
- // } else {
- // beginTimeType = 'begin';
- // endTimeType = '';
- // }
- // beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
- // endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
- var flag = 0,
- staData,
- difData;
- if (!GD.testSearchTime(beginTime, endTime)) {
- return false;
- }
- if (difTagsInfo) {
- $.ajax({
- url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- difData = {};
- return ;
- }
- difData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- }
- });
- } else {
- flag ++;
- difData = {};
- complete();
- }
- if (staTagsInfo) {
- $.ajax({
- url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- staData = {};
- return ;
- }
- staData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- complete()
- }
- });
- } else {
- flag ++;
- staData = {};
- complete();
- }
- function complete() {
- if (flag < 2) {
- return ;
- }
- var datas = staData || {};
-
- var option = Node434_chart.getOption();
- option.series[0].data=[];
- for (var i = 0, len = Node434Arr.length; i < len; i++) {
- var sdata = Node434Arr[i];
- var data = {};
- data.name = sdata.name;
- data.type = 'pie';
- data.data = [];
- data.itemStyle=sdata.itemStyle;
- var value = 0;
- var tagName = sdata.tagName;
- var statisticsType =statisticsTypeObj[tagName];
- value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
- data.value=value;
- option.series[0].data.push(data);
- }
- Node434_chart.setOption(option, true);
- }
- }
- if(Node434_chartType == 'statistic'){
- Node434Search();
- }
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435 = new ht.Node();
- var Node435textStart, Node435textWidth, Node435lineStart, Node435align = 'left', Node435fontSize = 13.3333*_ratio.ratioY,Node435width = 39*_ratio.ratioX, Node435height = 16*_ratio.ratioY;
- (function () {
- if (Node435align === 'left') {
- Node435textStart = Node435fontSize * 0.2 > 2 ? Node435fontSize * 0.2 - 4 : Node435fontSize * 0.2 - 9;
- Node435textWidth = Node435width;
- Node435lineStart = 1;
- } else if (Node435align === 'right') {
- Node435textStart = 0;
- Node435textWidth =Node435fontSize <= 8 ? Node435width + Node435fontSize * 0.2 + 6 : Node435width - Node435fontSize * 0.2;
- Node435lineStart = (Node435width - (ht.Default.getTextSize('100.5', ' '+ Node435fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node435align === 'center') {
- Node435textStart = -3;
- Node435textWidth = Node435width;
- Node435lineStart = Node435width - ht.Default.getTextSize('100.5', ' '+ Node435fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node435.setImage(GD.getTextJSON(Node435width, Node435height, true, false, false, ' '+ Node435fontSize + 'px "Arial"'))
- Node435.setPosition(1261*ratio.ratioX, 679*ratio.ratioY);
- Node435.setWidth(Node435width);
- Node435.setHeight(Node435height);
- Node435._nodeType = 'text';
- Node435._disallowEvert = true;
- Node435.setRotation(0*Math.PI/180);
- Node435.a('node.width', Node435width);
- Node435.a('node.height', Node435height);
- Node435.a('node.rect', [0, 0, Node435width, Node435height]);
- Node435.a('node.bordercolor','rgba(255,255,255,1)');
- Node435.a('node.borderwidth', 0);
- Node435.a('node.background','' || 'rgba(0,0,0,0)');
- Node435.a('node.gradient','');
- Node435.a('node.gradientcolor','');
- Node435.a('node.text','100.5');
- Node435.a('node.textalign','left');
- Node435.a('node.textvAlign','middle');
- Node435.a('node.textrect', [Node435textStart, 0, Node435textWidth, Node435height]);
- Node435.a('node.color','rgba(255,255,255,1)');
- Node435.a('node.font',' '+ Node435fontSize + 'px "Arial"');
- Node435.a('node.textvisible',true);
- Node435.a('node.linefeed',false);
- if (false) {
- Node435.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435.a('node.text') || '100.5';
- var color=Node435.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435width,Node435height,13.3333*_ratio.ratioY,"left",color,' '+ Node435fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node435.a('node.underlinepoints',[Node435lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node435fontSize + 'px "Arial"').width + 6, (Node435height - Node435fontSize) * 0.5*_ratio.ratioY + Node435fontSize + 2 ]);
- Node435.a('node.underlinevisible',false);
- Node435.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435);
- zoomNodeList.push({
- node: Node435,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node436 = new ht.Node();
- var Node436textStart, Node436textWidth, Node436lineStart, Node436align = 'left', Node436fontSize = 13.3333*_ratio.ratioY,Node436width = 39*_ratio.ratioX, Node436height = 16*_ratio.ratioY;
- (function () {
- if (Node436align === 'left') {
- Node436textStart = Node436fontSize * 0.2 > 2 ? Node436fontSize * 0.2 - 4 : Node436fontSize * 0.2 - 9;
- Node436textWidth = Node436width;
- Node436lineStart = 1;
- } else if (Node436align === 'right') {
- Node436textStart = 0;
- Node436textWidth =Node436fontSize <= 8 ? Node436width + Node436fontSize * 0.2 + 6 : Node436width - Node436fontSize * 0.2;
- Node436lineStart = (Node436width - (ht.Default.getTextSize('100.5', ' '+ Node436fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node436align === 'center') {
- Node436textStart = -3;
- Node436textWidth = Node436width;
- Node436lineStart = Node436width - ht.Default.getTextSize('100.5', ' '+ Node436fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node436.setImage(GD.getTextJSON(Node436width, Node436height, true, false, false, ' '+ Node436fontSize + 'px "Arial"'))
- Node436.setPosition(1261*ratio.ratioX, 908*ratio.ratioY);
- Node436.setWidth(Node436width);
- Node436.setHeight(Node436height);
- Node436._nodeType = 'text';
- Node436._disallowEvert = true;
- Node436.setRotation(0*Math.PI/180);
- Node436.a('node.width', Node436width);
- Node436.a('node.height', Node436height);
- Node436.a('node.rect', [0, 0, Node436width, Node436height]);
- Node436.a('node.bordercolor','rgba(255,255,255,1)');
- Node436.a('node.borderwidth', 0);
- Node436.a('node.background','' || 'rgba(0,0,0,0)');
- Node436.a('node.gradient','');
- Node436.a('node.gradientcolor','');
- Node436.a('node.text','100.5');
- Node436.a('node.textalign','left');
- Node436.a('node.textvAlign','middle');
- Node436.a('node.textrect', [Node436textStart, 0, Node436textWidth, Node436height]);
- Node436.a('node.color','rgba(255,255,255,1)');
- Node436.a('node.font',' '+ Node436fontSize + 'px "Arial"');
- Node436.a('node.textvisible',true);
- Node436.a('node.linefeed',false);
- if (false) {
- Node436.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node436.a('node.text') || '100.5';
- var color=Node436.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node436width,Node436height,13.3333*_ratio.ratioY,"left",color,' '+ Node436fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node436.a('node.underlinepoints',[Node436lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node436fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node436fontSize + 'px "Arial"').width + 6, (Node436height - Node436fontSize) * 0.5*_ratio.ratioY + Node436fontSize + 2 ]);
- Node436.a('node.underlinevisible',false);
- Node436.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node436);
- zoomNodeList.push({
- node: Node436,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437 = new ht.Node();
- var Node437textStart, Node437textWidth, Node437lineStart, Node437align = 'left', Node437fontSize = 13.3333*_ratio.ratioY,Node437width = 39*_ratio.ratioX, Node437height = 16*_ratio.ratioY;
- (function () {
- if (Node437align === 'left') {
- Node437textStart = Node437fontSize * 0.2 > 2 ? Node437fontSize * 0.2 - 4 : Node437fontSize * 0.2 - 9;
- Node437textWidth = Node437width;
- Node437lineStart = 1;
- } else if (Node437align === 'right') {
- Node437textStart = 0;
- Node437textWidth =Node437fontSize <= 8 ? Node437width + Node437fontSize * 0.2 + 6 : Node437width - Node437fontSize * 0.2;
- Node437lineStart = (Node437width - (ht.Default.getTextSize('100.5', ' '+ Node437fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node437align === 'center') {
- Node437textStart = -3;
- Node437textWidth = Node437width;
- Node437lineStart = Node437width - ht.Default.getTextSize('100.5', ' '+ Node437fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node437.setImage(GD.getTextJSON(Node437width, Node437height, true, false, false, ' '+ Node437fontSize + 'px "Arial"'))
- Node437.setPosition(1261*ratio.ratioX, 870*ratio.ratioY);
- Node437.setWidth(Node437width);
- Node437.setHeight(Node437height);
- Node437._nodeType = 'text';
- Node437._disallowEvert = true;
- Node437.setRotation(0*Math.PI/180);
- Node437.a('node.width', Node437width);
- Node437.a('node.height', Node437height);
- Node437.a('node.rect', [0, 0, Node437width, Node437height]);
- Node437.a('node.bordercolor','rgba(255,255,255,1)');
- Node437.a('node.borderwidth', 0);
- Node437.a('node.background','' || 'rgba(0,0,0,0)');
- Node437.a('node.gradient','');
- Node437.a('node.gradientcolor','');
- Node437.a('node.text','100.5');
- Node437.a('node.textalign','left');
- Node437.a('node.textvAlign','middle');
- Node437.a('node.textrect', [Node437textStart, 0, Node437textWidth, Node437height]);
- Node437.a('node.color','rgba(255,255,255,1)');
- Node437.a('node.font',' '+ Node437fontSize + 'px "Arial"');
- Node437.a('node.textvisible',true);
- Node437.a('node.linefeed',false);
- if (false) {
- Node437.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437.a('node.text') || '100.5';
- var color=Node437.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437width,Node437height,13.3333*_ratio.ratioY,"left",color,' '+ Node437fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node437.a('node.underlinepoints',[Node437lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node437fontSize + 'px "Arial"').width + 6, (Node437height - Node437fontSize) * 0.5*_ratio.ratioY + Node437fontSize + 2 ]);
- Node437.a('node.underlinevisible',false);
- Node437.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437);
- zoomNodeList.push({
- node: Node437,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node438 = new ht.Node();
- var Node438textStart, Node438textWidth, Node438lineStart, Node438align = 'left', Node438fontSize = 13.3333*_ratio.ratioY,Node438width = 39*_ratio.ratioX, Node438height = 16*_ratio.ratioY;
- (function () {
- if (Node438align === 'left') {
- Node438textStart = Node438fontSize * 0.2 > 2 ? Node438fontSize * 0.2 - 4 : Node438fontSize * 0.2 - 9;
- Node438textWidth = Node438width;
- Node438lineStart = 1;
- } else if (Node438align === 'right') {
- Node438textStart = 0;
- Node438textWidth =Node438fontSize <= 8 ? Node438width + Node438fontSize * 0.2 + 6 : Node438width - Node438fontSize * 0.2;
- Node438lineStart = (Node438width - (ht.Default.getTextSize('100.5', ' '+ Node438fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node438align === 'center') {
- Node438textStart = -3;
- Node438textWidth = Node438width;
- Node438lineStart = Node438width - ht.Default.getTextSize('100.5', ' '+ Node438fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node438.setImage(GD.getTextJSON(Node438width, Node438height, true, false, false, ' '+ Node438fontSize + 'px "Arial"'))
- Node438.setPosition(1261*ratio.ratioX, 832*ratio.ratioY);
- Node438.setWidth(Node438width);
- Node438.setHeight(Node438height);
- Node438._nodeType = 'text';
- Node438._disallowEvert = true;
- Node438.setRotation(0*Math.PI/180);
- Node438.a('node.width', Node438width);
- Node438.a('node.height', Node438height);
- Node438.a('node.rect', [0, 0, Node438width, Node438height]);
- Node438.a('node.bordercolor','rgba(255,255,255,1)');
- Node438.a('node.borderwidth', 0);
- Node438.a('node.background','' || 'rgba(0,0,0,0)');
- Node438.a('node.gradient','');
- Node438.a('node.gradientcolor','');
- Node438.a('node.text','100.5');
- Node438.a('node.textalign','left');
- Node438.a('node.textvAlign','middle');
- Node438.a('node.textrect', [Node438textStart, 0, Node438textWidth, Node438height]);
- Node438.a('node.color','rgba(255,255,255,1)');
- Node438.a('node.font',' '+ Node438fontSize + 'px "Arial"');
- Node438.a('node.textvisible',true);
- Node438.a('node.linefeed',false);
- if (false) {
- Node438.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node438.a('node.text') || '100.5';
- var color=Node438.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node438width,Node438height,13.3333*_ratio.ratioY,"left",color,' '+ Node438fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node438.a('node.underlinepoints',[Node438lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node438fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node438fontSize + 'px "Arial"').width + 6, (Node438height - Node438fontSize) * 0.5*_ratio.ratioY + Node438fontSize + 2 ]);
- Node438.a('node.underlinevisible',false);
- Node438.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node438);
- zoomNodeList.push({
- node: Node438,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439 = new ht.Node();
- var Node439textStart, Node439textWidth, Node439lineStart, Node439align = 'left', Node439fontSize = 13.3333*_ratio.ratioY,Node439width = 39*_ratio.ratioX, Node439height = 16*_ratio.ratioY;
- (function () {
- if (Node439align === 'left') {
- Node439textStart = Node439fontSize * 0.2 > 2 ? Node439fontSize * 0.2 - 4 : Node439fontSize * 0.2 - 9;
- Node439textWidth = Node439width;
- Node439lineStart = 1;
- } else if (Node439align === 'right') {
- Node439textStart = 0;
- Node439textWidth =Node439fontSize <= 8 ? Node439width + Node439fontSize * 0.2 + 6 : Node439width - Node439fontSize * 0.2;
- Node439lineStart = (Node439width - (ht.Default.getTextSize('100.5', ' '+ Node439fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node439align === 'center') {
- Node439textStart = -3;
- Node439textWidth = Node439width;
- Node439lineStart = Node439width - ht.Default.getTextSize('100.5', ' '+ Node439fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node439.setImage(GD.getTextJSON(Node439width, Node439height, true, false, false, ' '+ Node439fontSize + 'px "Arial"'))
- Node439.setPosition(1261*ratio.ratioX, 793*ratio.ratioY);
- Node439.setWidth(Node439width);
- Node439.setHeight(Node439height);
- Node439._nodeType = 'text';
- Node439._disallowEvert = true;
- Node439.setRotation(0*Math.PI/180);
- Node439.a('node.width', Node439width);
- Node439.a('node.height', Node439height);
- Node439.a('node.rect', [0, 0, Node439width, Node439height]);
- Node439.a('node.bordercolor','rgba(255,255,255,1)');
- Node439.a('node.borderwidth', 0);
- Node439.a('node.background','' || 'rgba(0,0,0,0)');
- Node439.a('node.gradient','');
- Node439.a('node.gradientcolor','');
- Node439.a('node.text','100.5');
- Node439.a('node.textalign','left');
- Node439.a('node.textvAlign','middle');
- Node439.a('node.textrect', [Node439textStart, 0, Node439textWidth, Node439height]);
- Node439.a('node.color','rgba(255,255,255,1)');
- Node439.a('node.font',' '+ Node439fontSize + 'px "Arial"');
- Node439.a('node.textvisible',true);
- Node439.a('node.linefeed',false);
- if (false) {
- Node439.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439.a('node.text') || '100.5';
- var color=Node439.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439width,Node439height,13.3333*_ratio.ratioY,"left",color,' '+ Node439fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node439.a('node.underlinepoints',[Node439lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node439fontSize + 'px "Arial"').width + 6, (Node439height - Node439fontSize) * 0.5*_ratio.ratioY + Node439fontSize + 2 ]);
- Node439.a('node.underlinevisible',false);
- Node439.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439);
- zoomNodeList.push({
- node: Node439,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node440 = new ht.Node();
- var Node440textStart, Node440textWidth, Node440lineStart, Node440align = 'left', Node440fontSize = 13.3333*_ratio.ratioY,Node440width = 39*_ratio.ratioX, Node440height = 16*_ratio.ratioY;
- (function () {
- if (Node440align === 'left') {
- Node440textStart = Node440fontSize * 0.2 > 2 ? Node440fontSize * 0.2 - 4 : Node440fontSize * 0.2 - 9;
- Node440textWidth = Node440width;
- Node440lineStart = 1;
- } else if (Node440align === 'right') {
- Node440textStart = 0;
- Node440textWidth =Node440fontSize <= 8 ? Node440width + Node440fontSize * 0.2 + 6 : Node440width - Node440fontSize * 0.2;
- Node440lineStart = (Node440width - (ht.Default.getTextSize('100.5', ' '+ Node440fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node440align === 'center') {
- Node440textStart = -3;
- Node440textWidth = Node440width;
- Node440lineStart = Node440width - ht.Default.getTextSize('100.5', ' '+ Node440fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node440.setImage(GD.getTextJSON(Node440width, Node440height, true, false, false, ' '+ Node440fontSize + 'px "Arial"'))
- Node440.setPosition(1261*ratio.ratioX, 755*ratio.ratioY);
- Node440.setWidth(Node440width);
- Node440.setHeight(Node440height);
- Node440._nodeType = 'text';
- Node440._disallowEvert = true;
- Node440.setRotation(0*Math.PI/180);
- Node440.a('node.width', Node440width);
- Node440.a('node.height', Node440height);
- Node440.a('node.rect', [0, 0, Node440width, Node440height]);
- Node440.a('node.bordercolor','rgba(255,255,255,1)');
- Node440.a('node.borderwidth', 0);
- Node440.a('node.background','' || 'rgba(0,0,0,0)');
- Node440.a('node.gradient','');
- Node440.a('node.gradientcolor','');
- Node440.a('node.text','100.5');
- Node440.a('node.textalign','left');
- Node440.a('node.textvAlign','middle');
- Node440.a('node.textrect', [Node440textStart, 0, Node440textWidth, Node440height]);
- Node440.a('node.color','rgba(255,255,255,1)');
- Node440.a('node.font',' '+ Node440fontSize + 'px "Arial"');
- Node440.a('node.textvisible',true);
- Node440.a('node.linefeed',false);
- if (false) {
- Node440.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node440.a('node.text') || '100.5';
- var color=Node440.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node440width,Node440height,13.3333*_ratio.ratioY,"left",color,' '+ Node440fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node440.a('node.underlinepoints',[Node440lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node440fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node440fontSize + 'px "Arial"').width + 6, (Node440height - Node440fontSize) * 0.5*_ratio.ratioY + Node440fontSize + 2 ]);
- Node440.a('node.underlinevisible',false);
- Node440.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node440);
- zoomNodeList.push({
- node: Node440,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441 = new ht.Node();
- var Node441textStart, Node441textWidth, Node441lineStart, Node441align = 'left', Node441fontSize = 13.3333*_ratio.ratioY,Node441width = 39*_ratio.ratioX, Node441height = 16*_ratio.ratioY;
- (function () {
- if (Node441align === 'left') {
- Node441textStart = Node441fontSize * 0.2 > 2 ? Node441fontSize * 0.2 - 4 : Node441fontSize * 0.2 - 9;
- Node441textWidth = Node441width;
- Node441lineStart = 1;
- } else if (Node441align === 'right') {
- Node441textStart = 0;
- Node441textWidth =Node441fontSize <= 8 ? Node441width + Node441fontSize * 0.2 + 6 : Node441width - Node441fontSize * 0.2;
- Node441lineStart = (Node441width - (ht.Default.getTextSize('100.5', ' '+ Node441fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node441align === 'center') {
- Node441textStart = -3;
- Node441textWidth = Node441width;
- Node441lineStart = Node441width - ht.Default.getTextSize('100.5', ' '+ Node441fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node441.setImage(GD.getTextJSON(Node441width, Node441height, true, false, false, ' '+ Node441fontSize + 'px "Arial"'))
- Node441.setPosition(1261*ratio.ratioX, 717*ratio.ratioY);
- Node441.setWidth(Node441width);
- Node441.setHeight(Node441height);
- Node441._nodeType = 'text';
- Node441._disallowEvert = true;
- Node441.setRotation(0*Math.PI/180);
- Node441.a('node.width', Node441width);
- Node441.a('node.height', Node441height);
- Node441.a('node.rect', [0, 0, Node441width, Node441height]);
- Node441.a('node.bordercolor','rgba(255,255,255,1)');
- Node441.a('node.borderwidth', 0);
- Node441.a('node.background','' || 'rgba(0,0,0,0)');
- Node441.a('node.gradient','');
- Node441.a('node.gradientcolor','');
- Node441.a('node.text','100.5');
- Node441.a('node.textalign','left');
- Node441.a('node.textvAlign','middle');
- Node441.a('node.textrect', [Node441textStart, 0, Node441textWidth, Node441height]);
- Node441.a('node.color','rgba(255,255,255,1)');
- Node441.a('node.font',' '+ Node441fontSize + 'px "Arial"');
- Node441.a('node.textvisible',true);
- Node441.a('node.linefeed',false);
- if (false) {
- Node441.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441.a('node.text') || '100.5';
- var color=Node441.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node441width,Node441height,13.3333*_ratio.ratioY,"left",color,' '+ Node441fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node441.a('node.underlinepoints',[Node441lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node441fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node441fontSize + 'px "Arial"').width + 6, (Node441height - Node441fontSize) * 0.5*_ratio.ratioY + Node441fontSize + 2 ]);
- Node441.a('node.underlinevisible',false);
- Node441.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441);
- zoomNodeList.push({
- node: Node441,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node442 = new ht.Node();
- var Node442textStart, Node442textWidth, Node442lineStart, Node442align = 'left', Node442fontSize = 13.3333*_ratio.ratioY,Node442width = 39*_ratio.ratioX, Node442height = 16*_ratio.ratioY;
- (function () {
- if (Node442align === 'left') {
- Node442textStart = Node442fontSize * 0.2 > 2 ? Node442fontSize * 0.2 - 4 : Node442fontSize * 0.2 - 9;
- Node442textWidth = Node442width;
- Node442lineStart = 1;
- } else if (Node442align === 'right') {
- Node442textStart = 0;
- Node442textWidth =Node442fontSize <= 8 ? Node442width + Node442fontSize * 0.2 + 6 : Node442width - Node442fontSize * 0.2;
- Node442lineStart = (Node442width - (ht.Default.getTextSize('100.5', ' '+ Node442fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node442align === 'center') {
- Node442textStart = -3;
- Node442textWidth = Node442width;
- Node442lineStart = Node442width - ht.Default.getTextSize('100.5', ' '+ Node442fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node442.setImage(GD.getTextJSON(Node442width, Node442height, true, false, false, ' '+ Node442fontSize + 'px "Arial"'))
- Node442.setPosition(1801*ratio.ratioX, 672*ratio.ratioY);
- Node442.setWidth(Node442width);
- Node442.setHeight(Node442height);
- Node442._nodeType = 'text';
- Node442._disallowEvert = true;
- Node442.setRotation(0*Math.PI/180);
- Node442.a('node.width', Node442width);
- Node442.a('node.height', Node442height);
- Node442.a('node.rect', [0, 0, Node442width, Node442height]);
- Node442.a('node.bordercolor','rgba(255,255,255,1)');
- Node442.a('node.borderwidth', 0);
- Node442.a('node.background','' || 'rgba(0,0,0,0)');
- Node442.a('node.gradient','');
- Node442.a('node.gradientcolor','');
- Node442.a('node.text','100.5');
- Node442.a('node.textalign','left');
- Node442.a('node.textvAlign','middle');
- Node442.a('node.textrect', [Node442textStart, 0, Node442textWidth, Node442height]);
- Node442.a('node.color','rgba(255,255,255,1)');
- Node442.a('node.font',' '+ Node442fontSize + 'px "Arial"');
- Node442.a('node.textvisible',true);
- Node442.a('node.linefeed',false);
- if (false) {
- Node442.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node442.a('node.text') || '100.5';
- var color=Node442.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node442width,Node442height,13.3333*_ratio.ratioY,"left",color,' '+ Node442fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node442.a('node.underlinepoints',[Node442lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node442fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node442fontSize + 'px "Arial"').width + 6, (Node442height - Node442fontSize) * 0.5*_ratio.ratioY + Node442fontSize + 2 ]);
- Node442.a('node.underlinevisible',false);
- Node442.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node442);
- zoomNodeList.push({
- node: Node442,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node443 = new ht.Node();
- var Node443textStart, Node443textWidth, Node443lineStart, Node443align = 'left', Node443fontSize = 13.3333*_ratio.ratioY,Node443width = 39*_ratio.ratioX, Node443height = 16*_ratio.ratioY;
- (function () {
- if (Node443align === 'left') {
- Node443textStart = Node443fontSize * 0.2 > 2 ? Node443fontSize * 0.2 - 4 : Node443fontSize * 0.2 - 9;
- Node443textWidth = Node443width;
- Node443lineStart = 1;
- } else if (Node443align === 'right') {
- Node443textStart = 0;
- Node443textWidth =Node443fontSize <= 8 ? Node443width + Node443fontSize * 0.2 + 6 : Node443width - Node443fontSize * 0.2;
- Node443lineStart = (Node443width - (ht.Default.getTextSize('100.5', ' '+ Node443fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node443align === 'center') {
- Node443textStart = -3;
- Node443textWidth = Node443width;
- Node443lineStart = Node443width - ht.Default.getTextSize('100.5', ' '+ Node443fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node443.setImage(GD.getTextJSON(Node443width, Node443height, true, false, false, ' '+ Node443fontSize + 'px "Arial"'))
- Node443.setPosition(1801*ratio.ratioX, 901*ratio.ratioY);
- Node443.setWidth(Node443width);
- Node443.setHeight(Node443height);
- Node443._nodeType = 'text';
- Node443._disallowEvert = true;
- Node443.setRotation(0*Math.PI/180);
- Node443.a('node.width', Node443width);
- Node443.a('node.height', Node443height);
- Node443.a('node.rect', [0, 0, Node443width, Node443height]);
- Node443.a('node.bordercolor','rgba(255,255,255,1)');
- Node443.a('node.borderwidth', 0);
- Node443.a('node.background','' || 'rgba(0,0,0,0)');
- Node443.a('node.gradient','');
- Node443.a('node.gradientcolor','');
- Node443.a('node.text','100.5');
- Node443.a('node.textalign','left');
- Node443.a('node.textvAlign','middle');
- Node443.a('node.textrect', [Node443textStart, 0, Node443textWidth, Node443height]);
- Node443.a('node.color','rgba(255,255,255,1)');
- Node443.a('node.font',' '+ Node443fontSize + 'px "Arial"');
- Node443.a('node.textvisible',true);
- Node443.a('node.linefeed',false);
- if (false) {
- Node443.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node443.a('node.text') || '100.5';
- var color=Node443.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node443width,Node443height,13.3333*_ratio.ratioY,"left",color,' '+ Node443fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node443.a('node.underlinepoints',[Node443lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node443fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node443fontSize + 'px "Arial"').width + 6, (Node443height - Node443fontSize) * 0.5*_ratio.ratioY + Node443fontSize + 2 ]);
- Node443.a('node.underlinevisible',false);
- Node443.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node443);
- zoomNodeList.push({
- node: Node443,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444 = new ht.Node();
- var Node444textStart, Node444textWidth, Node444lineStart, Node444align = 'left', Node444fontSize = 13.3333*_ratio.ratioY,Node444width = 39*_ratio.ratioX, Node444height = 16*_ratio.ratioY;
- (function () {
- if (Node444align === 'left') {
- Node444textStart = Node444fontSize * 0.2 > 2 ? Node444fontSize * 0.2 - 4 : Node444fontSize * 0.2 - 9;
- Node444textWidth = Node444width;
- Node444lineStart = 1;
- } else if (Node444align === 'right') {
- Node444textStart = 0;
- Node444textWidth =Node444fontSize <= 8 ? Node444width + Node444fontSize * 0.2 + 6 : Node444width - Node444fontSize * 0.2;
- Node444lineStart = (Node444width - (ht.Default.getTextSize('100.5', ' '+ Node444fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node444align === 'center') {
- Node444textStart = -3;
- Node444textWidth = Node444width;
- Node444lineStart = Node444width - ht.Default.getTextSize('100.5', ' '+ Node444fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node444.setImage(GD.getTextJSON(Node444width, Node444height, true, false, false, ' '+ Node444fontSize + 'px "Arial"'))
- Node444.setPosition(1801*ratio.ratioX, 863*ratio.ratioY);
- Node444.setWidth(Node444width);
- Node444.setHeight(Node444height);
- Node444._nodeType = 'text';
- Node444._disallowEvert = true;
- Node444.setRotation(0*Math.PI/180);
- Node444.a('node.width', Node444width);
- Node444.a('node.height', Node444height);
- Node444.a('node.rect', [0, 0, Node444width, Node444height]);
- Node444.a('node.bordercolor','rgba(255,255,255,1)');
- Node444.a('node.borderwidth', 0);
- Node444.a('node.background','' || 'rgba(0,0,0,0)');
- Node444.a('node.gradient','');
- Node444.a('node.gradientcolor','');
- Node444.a('node.text','100.5');
- Node444.a('node.textalign','left');
- Node444.a('node.textvAlign','middle');
- Node444.a('node.textrect', [Node444textStart, 0, Node444textWidth, Node444height]);
- Node444.a('node.color','rgba(255,255,255,1)');
- Node444.a('node.font',' '+ Node444fontSize + 'px "Arial"');
- Node444.a('node.textvisible',true);
- Node444.a('node.linefeed',false);
- if (false) {
- Node444.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444.a('node.text') || '100.5';
- var color=Node444.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444width,Node444height,13.3333*_ratio.ratioY,"left",color,' '+ Node444fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node444.a('node.underlinepoints',[Node444lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node444fontSize + 'px "Arial"').width + 6, (Node444height - Node444fontSize) * 0.5*_ratio.ratioY + Node444fontSize + 2 ]);
- Node444.a('node.underlinevisible',false);
- Node444.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444);
- zoomNodeList.push({
- node: Node444,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node445 = new ht.Node();
- var Node445textStart, Node445textWidth, Node445lineStart, Node445align = 'left', Node445fontSize = 13.3333*_ratio.ratioY,Node445width = 39*_ratio.ratioX, Node445height = 16*_ratio.ratioY;
- (function () {
- if (Node445align === 'left') {
- Node445textStart = Node445fontSize * 0.2 > 2 ? Node445fontSize * 0.2 - 4 : Node445fontSize * 0.2 - 9;
- Node445textWidth = Node445width;
- Node445lineStart = 1;
- } else if (Node445align === 'right') {
- Node445textStart = 0;
- Node445textWidth =Node445fontSize <= 8 ? Node445width + Node445fontSize * 0.2 + 6 : Node445width - Node445fontSize * 0.2;
- Node445lineStart = (Node445width - (ht.Default.getTextSize('100.5', ' '+ Node445fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node445align === 'center') {
- Node445textStart = -3;
- Node445textWidth = Node445width;
- Node445lineStart = Node445width - ht.Default.getTextSize('100.5', ' '+ Node445fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node445.setImage(GD.getTextJSON(Node445width, Node445height, true, false, false, ' '+ Node445fontSize + 'px "Arial"'))
- Node445.setPosition(1801*ratio.ratioX, 825*ratio.ratioY);
- Node445.setWidth(Node445width);
- Node445.setHeight(Node445height);
- Node445._nodeType = 'text';
- Node445._disallowEvert = true;
- Node445.setRotation(0*Math.PI/180);
- Node445.a('node.width', Node445width);
- Node445.a('node.height', Node445height);
- Node445.a('node.rect', [0, 0, Node445width, Node445height]);
- Node445.a('node.bordercolor','rgba(255,255,255,1)');
- Node445.a('node.borderwidth', 0);
- Node445.a('node.background','' || 'rgba(0,0,0,0)');
- Node445.a('node.gradient','');
- Node445.a('node.gradientcolor','');
- Node445.a('node.text','100.5');
- Node445.a('node.textalign','left');
- Node445.a('node.textvAlign','middle');
- Node445.a('node.textrect', [Node445textStart, 0, Node445textWidth, Node445height]);
- Node445.a('node.color','rgba(255,255,255,1)');
- Node445.a('node.font',' '+ Node445fontSize + 'px "Arial"');
- Node445.a('node.textvisible',true);
- Node445.a('node.linefeed',false);
- if (false) {
- Node445.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node445.a('node.text') || '100.5';
- var color=Node445.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node445width,Node445height,13.3333*_ratio.ratioY,"left",color,' '+ Node445fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node445.a('node.underlinepoints',[Node445lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node445fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node445fontSize + 'px "Arial"').width + 6, (Node445height - Node445fontSize) * 0.5*_ratio.ratioY + Node445fontSize + 2 ]);
- Node445.a('node.underlinevisible',false);
- Node445.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node445);
- zoomNodeList.push({
- node: Node445,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446 = new ht.Node();
- var Node446textStart, Node446textWidth, Node446lineStart, Node446align = 'left', Node446fontSize = 13.3333*_ratio.ratioY,Node446width = 39*_ratio.ratioX, Node446height = 16*_ratio.ratioY;
- (function () {
- if (Node446align === 'left') {
- Node446textStart = Node446fontSize * 0.2 > 2 ? Node446fontSize * 0.2 - 4 : Node446fontSize * 0.2 - 9;
- Node446textWidth = Node446width;
- Node446lineStart = 1;
- } else if (Node446align === 'right') {
- Node446textStart = 0;
- Node446textWidth =Node446fontSize <= 8 ? Node446width + Node446fontSize * 0.2 + 6 : Node446width - Node446fontSize * 0.2;
- Node446lineStart = (Node446width - (ht.Default.getTextSize('100.5', ' '+ Node446fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node446align === 'center') {
- Node446textStart = -3;
- Node446textWidth = Node446width;
- Node446lineStart = Node446width - ht.Default.getTextSize('100.5', ' '+ Node446fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node446.setImage(GD.getTextJSON(Node446width, Node446height, true, false, false, ' '+ Node446fontSize + 'px "Arial"'))
- Node446.setPosition(1801*ratio.ratioX, 786*ratio.ratioY);
- Node446.setWidth(Node446width);
- Node446.setHeight(Node446height);
- Node446._nodeType = 'text';
- Node446._disallowEvert = true;
- Node446.setRotation(0*Math.PI/180);
- Node446.a('node.width', Node446width);
- Node446.a('node.height', Node446height);
- Node446.a('node.rect', [0, 0, Node446width, Node446height]);
- Node446.a('node.bordercolor','rgba(255,255,255,1)');
- Node446.a('node.borderwidth', 0);
- Node446.a('node.background','' || 'rgba(0,0,0,0)');
- Node446.a('node.gradient','');
- Node446.a('node.gradientcolor','');
- Node446.a('node.text','100.5');
- Node446.a('node.textalign','left');
- Node446.a('node.textvAlign','middle');
- Node446.a('node.textrect', [Node446textStart, 0, Node446textWidth, Node446height]);
- Node446.a('node.color','rgba(255,255,255,1)');
- Node446.a('node.font',' '+ Node446fontSize + 'px "Arial"');
- Node446.a('node.textvisible',true);
- Node446.a('node.linefeed',false);
- if (false) {
- Node446.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446.a('node.text') || '100.5';
- var color=Node446.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446width,Node446height,13.3333*_ratio.ratioY,"left",color,' '+ Node446fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node446.a('node.underlinepoints',[Node446lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node446fontSize + 'px "Arial"').width + 6, (Node446height - Node446fontSize) * 0.5*_ratio.ratioY + Node446fontSize + 2 ]);
- Node446.a('node.underlinevisible',false);
- Node446.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446);
- zoomNodeList.push({
- node: Node446,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node447 = new ht.Node();
- var Node447textStart, Node447textWidth, Node447lineStart, Node447align = 'left', Node447fontSize = 13.3333*_ratio.ratioY,Node447width = 39*_ratio.ratioX, Node447height = 16*_ratio.ratioY;
- (function () {
- if (Node447align === 'left') {
- Node447textStart = Node447fontSize * 0.2 > 2 ? Node447fontSize * 0.2 - 4 : Node447fontSize * 0.2 - 9;
- Node447textWidth = Node447width;
- Node447lineStart = 1;
- } else if (Node447align === 'right') {
- Node447textStart = 0;
- Node447textWidth =Node447fontSize <= 8 ? Node447width + Node447fontSize * 0.2 + 6 : Node447width - Node447fontSize * 0.2;
- Node447lineStart = (Node447width - (ht.Default.getTextSize('100.5', ' '+ Node447fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node447align === 'center') {
- Node447textStart = -3;
- Node447textWidth = Node447width;
- Node447lineStart = Node447width - ht.Default.getTextSize('100.5', ' '+ Node447fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node447.setImage(GD.getTextJSON(Node447width, Node447height, true, false, false, ' '+ Node447fontSize + 'px "Arial"'))
- Node447.setPosition(1801*ratio.ratioX, 748*ratio.ratioY);
- Node447.setWidth(Node447width);
- Node447.setHeight(Node447height);
- Node447._nodeType = 'text';
- Node447._disallowEvert = true;
- Node447.setRotation(0*Math.PI/180);
- Node447.a('node.width', Node447width);
- Node447.a('node.height', Node447height);
- Node447.a('node.rect', [0, 0, Node447width, Node447height]);
- Node447.a('node.bordercolor','rgba(255,255,255,1)');
- Node447.a('node.borderwidth', 0);
- Node447.a('node.background','' || 'rgba(0,0,0,0)');
- Node447.a('node.gradient','');
- Node447.a('node.gradientcolor','');
- Node447.a('node.text','100.5');
- Node447.a('node.textalign','left');
- Node447.a('node.textvAlign','middle');
- Node447.a('node.textrect', [Node447textStart, 0, Node447textWidth, Node447height]);
- Node447.a('node.color','rgba(255,255,255,1)');
- Node447.a('node.font',' '+ Node447fontSize + 'px "Arial"');
- Node447.a('node.textvisible',true);
- Node447.a('node.linefeed',false);
- if (false) {
- Node447.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node447.a('node.text') || '100.5';
- var color=Node447.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node447width,Node447height,13.3333*_ratio.ratioY,"left",color,' '+ Node447fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node447.a('node.underlinepoints',[Node447lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node447fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node447fontSize + 'px "Arial"').width + 6, (Node447height - Node447fontSize) * 0.5*_ratio.ratioY + Node447fontSize + 2 ]);
- Node447.a('node.underlinevisible',false);
- Node447.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node447);
- zoomNodeList.push({
- node: Node447,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448 = new ht.Node();
- var Node448textStart, Node448textWidth, Node448lineStart, Node448align = 'left', Node448fontSize = 13.3333*_ratio.ratioY,Node448width = 39*_ratio.ratioX, Node448height = 16*_ratio.ratioY;
- (function () {
- if (Node448align === 'left') {
- Node448textStart = Node448fontSize * 0.2 > 2 ? Node448fontSize * 0.2 - 4 : Node448fontSize * 0.2 - 9;
- Node448textWidth = Node448width;
- Node448lineStart = 1;
- } else if (Node448align === 'right') {
- Node448textStart = 0;
- Node448textWidth =Node448fontSize <= 8 ? Node448width + Node448fontSize * 0.2 + 6 : Node448width - Node448fontSize * 0.2;
- Node448lineStart = (Node448width - (ht.Default.getTextSize('100.5', ' '+ Node448fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node448align === 'center') {
- Node448textStart = -3;
- Node448textWidth = Node448width;
- Node448lineStart = Node448width - ht.Default.getTextSize('100.5', ' '+ Node448fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node448.setImage(GD.getTextJSON(Node448width, Node448height, true, false, false, ' '+ Node448fontSize + 'px "Arial"'))
- Node448.setPosition(1801*ratio.ratioX, 710*ratio.ratioY);
- Node448.setWidth(Node448width);
- Node448.setHeight(Node448height);
- Node448._nodeType = 'text';
- Node448._disallowEvert = true;
- Node448.setRotation(0*Math.PI/180);
- Node448.a('node.width', Node448width);
- Node448.a('node.height', Node448height);
- Node448.a('node.rect', [0, 0, Node448width, Node448height]);
- Node448.a('node.bordercolor','rgba(255,255,255,1)');
- Node448.a('node.borderwidth', 0);
- Node448.a('node.background','' || 'rgba(0,0,0,0)');
- Node448.a('node.gradient','');
- Node448.a('node.gradientcolor','');
- Node448.a('node.text','100.5');
- Node448.a('node.textalign','left');
- Node448.a('node.textvAlign','middle');
- Node448.a('node.textrect', [Node448textStart, 0, Node448textWidth, Node448height]);
- Node448.a('node.color','rgba(255,255,255,1)');
- Node448.a('node.font',' '+ Node448fontSize + 'px "Arial"');
- Node448.a('node.textvisible',true);
- Node448.a('node.linefeed',false);
- if (false) {
- Node448.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448.a('node.text') || '100.5';
- var color=Node448.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448width,Node448height,13.3333*_ratio.ratioY,"left",color,' '+ Node448fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node448.a('node.underlinepoints',[Node448lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node448fontSize + 'px "Arial"').width + 6, (Node448height - Node448fontSize) * 0.5*_ratio.ratioY + Node448fontSize + 2 ]);
- Node448.a('node.underlinevisible',false);
- Node448.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448);
- zoomNodeList.push({
- node: Node448,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_0type = 'rect';
- var Node449_0 = new ht.Node(),
- Node449_0BorderWidth = 0*2;
- if (Node449_0type === 'arc') {
- Node449_0BorderWidth *= 0;
- }
- Node449_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_0.setPosition(954*ratio.ratioX, 190*ratio.ratioY);
- Node449_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_0.a('node.width', 127*_ratio.ratioX);
- Node449_0.a('node.height', 32*_ratio.ratioY);
- Node449_0.a('node.type', Node449_0type);
- Node449_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_0.a('node.background', 'rgba(245,245,245,1)');
- Node449_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node449_0.a('node.gradient', '');
- Node449_0.a('node.borderwidth', Node449_0BorderWidth);
- Node449_0.a('node.color', 'rgba(192,192,192,0)');
- Node449_0.a('node.fillrect', [0,0,0,0]);
- Node449_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_0.a('node.fillgradient', '');
- if (Node449_0type !== 'rect') {
- Node449_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_0type === 'arc') {
- Node449_0.a('node.arcOval', true);
- }
- Node449_0.setRotation(0*Math.PI/180);
- Node449_0.borderWidth = Node449_0BorderWidth;
- Node449_0.borderFillwidth = Node449_0BorderWidth;
- dataModel.add(Node449_0);
- Node449_0._nodename = 'Node449_0'
- Node449_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_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);
- }
- })(Node449_0, Node449_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_1type = 'rect';
- var Node449_1 = new ht.Node(),
- Node449_1BorderWidth = 0*2;
- if (Node449_1type === 'arc') {
- Node449_1BorderWidth *= 0;
- }
- Node449_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_1.setPosition(954*ratio.ratioX, 222*ratio.ratioY);
- Node449_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_1.a('node.width', 127*_ratio.ratioX);
- Node449_1.a('node.height', 32*_ratio.ratioY);
- Node449_1.a('node.type', Node449_1type);
- Node449_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node449_1.a('node.gradientcolor', '');
- Node449_1.a('node.gradient', '');
- Node449_1.a('node.borderwidth', Node449_1BorderWidth);
- Node449_1.a('node.color', 'rgba(192,192,192,0)');
- Node449_1.a('node.fillrect', [0,0,0,0]);
- Node449_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_1.a('node.fillgradient', '');
- if (Node449_1type !== 'rect') {
- Node449_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_1type === 'arc') {
- Node449_1.a('node.arcOval', true);
- }
- Node449_1.setRotation(0*Math.PI/180);
- Node449_1.borderWidth = Node449_1BorderWidth;
- Node449_1.borderFillwidth = Node449_1BorderWidth;
- dataModel.add(Node449_1);
- Node449_1._nodename = 'Node449_1'
- Node449_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_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);
- }
- })(Node449_1, Node449_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_2type = 'rect';
- var Node449_2 = new ht.Node(),
- Node449_2BorderWidth = 0*2;
- if (Node449_2type === 'arc') {
- Node449_2BorderWidth *= 0;
- }
- Node449_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_2.setPosition(954*ratio.ratioX, 254*ratio.ratioY);
- Node449_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_2.a('node.width', 127*_ratio.ratioX);
- Node449_2.a('node.height', 32*_ratio.ratioY);
- Node449_2.a('node.type', Node449_2type);
- Node449_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_2.a('node.background', 'rgba(245,245,245,1)');
- Node449_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node449_2.a('node.gradient', '');
- Node449_2.a('node.borderwidth', Node449_2BorderWidth);
- Node449_2.a('node.color', 'rgba(192,192,192,0)');
- Node449_2.a('node.fillrect', [0,0,0,0]);
- Node449_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_2.a('node.fillgradient', '');
- if (Node449_2type !== 'rect') {
- Node449_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_2type === 'arc') {
- Node449_2.a('node.arcOval', true);
- }
- Node449_2.setRotation(0*Math.PI/180);
- Node449_2.borderWidth = Node449_2BorderWidth;
- Node449_2.borderFillwidth = Node449_2BorderWidth;
- dataModel.add(Node449_2);
- Node449_2._nodename = 'Node449_2'
- Node449_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_2,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node449_2, Node449_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_3type = 'rect';
- var Node449_3 = new ht.Node(),
- Node449_3BorderWidth = 0*2;
- if (Node449_3type === 'arc') {
- Node449_3BorderWidth *= 0;
- }
- Node449_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_3.setPosition(954*ratio.ratioX, 285*ratio.ratioY);
- Node449_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_3.a('node.width', 127*_ratio.ratioX);
- Node449_3.a('node.height', 32*_ratio.ratioY);
- Node449_3.a('node.type', Node449_3type);
- Node449_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node449_3.a('node.gradientcolor', '');
- Node449_3.a('node.gradient', '');
- Node449_3.a('node.borderwidth', Node449_3BorderWidth);
- Node449_3.a('node.color', 'rgba(192,192,192,0)');
- Node449_3.a('node.fillrect', [0,0,0,0]);
- Node449_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_3.a('node.fillgradient', '');
- if (Node449_3type !== 'rect') {
- Node449_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_3type === 'arc') {
- Node449_3.a('node.arcOval', true);
- }
- Node449_3.setRotation(0*Math.PI/180);
- Node449_3.borderWidth = Node449_3BorderWidth;
- Node449_3.borderFillwidth = Node449_3BorderWidth;
- dataModel.add(Node449_3);
- Node449_3._nodename = 'Node449_3'
- Node449_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_3,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node449_3, Node449_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_4type = 'rect';
- var Node449_4 = new ht.Node(),
- Node449_4BorderWidth = 0*2;
- if (Node449_4type === 'arc') {
- Node449_4BorderWidth *= 0;
- }
- Node449_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_4.setPosition(954*ratio.ratioX, 316*ratio.ratioY);
- Node449_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_4.a('node.width', 127*_ratio.ratioX);
- Node449_4.a('node.height', 32*_ratio.ratioY);
- Node449_4.a('node.type', Node449_4type);
- Node449_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_4.a('node.background', 'rgba(245,245,245,1)');
- Node449_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node449_4.a('node.gradient', '');
- Node449_4.a('node.borderwidth', Node449_4BorderWidth);
- Node449_4.a('node.color', 'rgba(192,192,192,0)');
- Node449_4.a('node.fillrect', [0,0,0,0]);
- Node449_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_4.a('node.fillgradient', '');
- if (Node449_4type !== 'rect') {
- Node449_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_4type === 'arc') {
- Node449_4.a('node.arcOval', true);
- }
- Node449_4.setRotation(0*Math.PI/180);
- Node449_4.borderWidth = Node449_4BorderWidth;
- Node449_4.borderFillwidth = Node449_4BorderWidth;
- dataModel.add(Node449_4);
- Node449_4._nodename = 'Node449_4'
- Node449_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_4,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node449_4, Node449_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_5type = 'rect';
- var Node449_5 = new ht.Node(),
- Node449_5BorderWidth = 0*2;
- if (Node449_5type === 'arc') {
- Node449_5BorderWidth *= 0;
- }
- Node449_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_5.setPosition(954*ratio.ratioX, 347*ratio.ratioY);
- Node449_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_5.a('node.width', 127*_ratio.ratioX);
- Node449_5.a('node.height', 32*_ratio.ratioY);
- Node449_5.a('node.type', Node449_5type);
- Node449_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node449_5.a('node.gradientcolor', '');
- Node449_5.a('node.gradient', '');
- Node449_5.a('node.borderwidth', Node449_5BorderWidth);
- Node449_5.a('node.color', 'rgba(192,192,192,0)');
- Node449_5.a('node.fillrect', [0,0,0,0]);
- Node449_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_5.a('node.fillgradient', '');
- if (Node449_5type !== 'rect') {
- Node449_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_5type === 'arc') {
- Node449_5.a('node.arcOval', true);
- }
- Node449_5.setRotation(0*Math.PI/180);
- Node449_5.borderWidth = Node449_5BorderWidth;
- Node449_5.borderFillwidth = Node449_5BorderWidth;
- dataModel.add(Node449_5);
- Node449_5._nodename = 'Node449_5'
- Node449_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node449_5, Node449_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_6type = 'rect';
- var Node449_6 = new ht.Node(),
- Node449_6BorderWidth = 0*2;
- if (Node449_6type === 'arc') {
- Node449_6BorderWidth *= 0;
- }
- Node449_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node449_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_6.setPosition(954*ratio.ratioX, 378*ratio.ratioY);
- Node449_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node449_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_6.a('node.width', 127*_ratio.ratioX);
- Node449_6.a('node.height', 32*_ratio.ratioY);
- Node449_6.a('node.type', Node449_6type);
- Node449_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node449_6.a('node.background', 'rgba(245,245,245,1)');
- Node449_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node449_6.a('node.gradient', '');
- Node449_6.a('node.borderwidth', Node449_6BorderWidth);
- Node449_6.a('node.color', 'rgba(192,192,192,0)');
- Node449_6.a('node.fillrect', [0,0,0,0]);
- Node449_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_6.a('node.fillgradient', '');
- if (Node449_6type !== 'rect') {
- Node449_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_6type === 'arc') {
- Node449_6.a('node.arcOval', true);
- }
- Node449_6.setRotation(0*Math.PI/180);
- Node449_6.borderWidth = Node449_6BorderWidth;
- Node449_6.borderFillwidth = Node449_6BorderWidth;
- dataModel.add(Node449_6);
- Node449_6._nodename = 'Node449_6'
- Node449_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node449_6, Node449_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_7type = 'rect';
- var Node449_7 = new ht.Node(),
- Node449_7BorderWidth = 1*2;
- if (Node449_7type === 'arc') {
- Node449_7BorderWidth *= 1;
- }
- Node449_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node449_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node449_7.setPosition(954*ratio.ratioX, 239*ratio.ratioY);
- Node449_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node449_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node449_7.a('node.width', 127*_ratio.ratioX);
- Node449_7.a('node.height', 309*_ratio.ratioY);
- Node449_7.a('node.type', Node449_7type);
- Node449_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node449_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node449_7.a('node.gradientcolor', '');
- Node449_7.a('node.gradient', '');
- Node449_7.a('node.borderwidth', Node449_7BorderWidth);
- Node449_7.a('node.color', 'rgba(192,192,192,1)');
- Node449_7.a('node.fillrect', [0,0,0,0]);
- Node449_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node449_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node449_7.a('node.fillgradient', '');
- if (Node449_7type !== 'rect') {
- Node449_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node449_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node449_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node449_7type === 'arc') {
- Node449_7.a('node.arcOval', true);
- }
- Node449_7.setRotation(0*Math.PI/180);
- Node449_7.borderWidth = Node449_7BorderWidth;
- Node449_7.borderFillwidth = Node449_7BorderWidth;
- dataModel.add(Node449_7);
- Node449_7._nodename = 'Node449_7'
- Node449_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node449_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);
- }
- })(Node449_7, Node449_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_8 = new ht.Node();
- var Node449_8textStart, Node449_8textWidth, Node449_8lineStart, Node449_8align = 'center', Node449_8fontSize = 13.3333*_ratio.ratioY,Node449_8width = 105*_ratio.ratioX, Node449_8height = 27*_ratio.ratioY;
- (function () {
- if (Node449_8align === 'left') {
- Node449_8textStart = Node449_8fontSize * 0.2 > 2 ? Node449_8fontSize * 0.2 - 4 : Node449_8fontSize * 0.2 - 9;
- Node449_8textWidth = Node449_8width;
- Node449_8lineStart = 1;
- } else if (Node449_8align === 'right') {
- Node449_8textStart = 0;
- Node449_8textWidth =Node449_8fontSize <= 8 ? Node449_8width + Node449_8fontSize * 0.2 + 6 : Node449_8width - Node449_8fontSize * 0.2;
- Node449_8lineStart = (Node449_8width - (ht.Default.getTextSize('年发电量', 'bold '+ Node449_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node449_8align === 'center') {
- Node449_8textStart = -3;
- Node449_8textWidth = Node449_8width;
- Node449_8lineStart = Node449_8width - ht.Default.getTextSize('年发电量', 'bold '+ Node449_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node449_8.setImage(GD.getTextJSON(Node449_8width, Node449_8height, true, false, false, 'bold '+ Node449_8fontSize + 'px "Arial"'))
- Node449_8.setPosition(951*ratio.ratioX, 103*ratio.ratioY);
- Node449_8.setWidth(Node449_8width);
- Node449_8.setHeight(Node449_8height);
- Node449_8._nodeType = 'text';
- Node449_8._disallowEvert = true;
- Node449_8.setRotation(0*Math.PI/180);
- Node449_8.a('node.width', Node449_8width);
- Node449_8.a('node.height', Node449_8height);
- Node449_8.a('node.rect', [0, 0, Node449_8width, Node449_8height]);
- Node449_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node449_8.a('node.borderwidth', 0);
- Node449_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_8.a('node.gradient','');
- Node449_8.a('node.gradientcolor','');
- Node449_8.a('node.text','年发电量');
- Node449_8.a('node.textalign','center');
- Node449_8.a('node.textvAlign','middle');
- Node449_8.a('node.textrect', [Node449_8textStart, 0, Node449_8textWidth, Node449_8height]);
- Node449_8.a('node.color','rgba(255,255,255,1)');
- Node449_8.a('node.font','bold '+ Node449_8fontSize + 'px "Arial"');
- Node449_8.a('node.textvisible',true);
- Node449_8.a('node.linefeed',false);
- if (false) {
- Node449_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_8.a('node.text') || '年发电量';
- var color=Node449_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_8width,Node449_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node449_8.a('node.underlinepoints',[Node449_8lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_8fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node449_8fontSize + 'px "Arial"').width + 6, (Node449_8height - Node449_8fontSize) * 0.5*_ratio.ratioY + Node449_8fontSize + 2 ]);
- Node449_8.a('node.underlinevisible',false);
- Node449_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_8);
- zoomNodeList.push({
- node: Node449_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_9 = new ht.Node();
- var Node449_9textStart, Node449_9textWidth, Node449_9lineStart, Node449_9align = 'center', Node449_9fontSize = 11.99997*_ratio.ratioY,Node449_9width = 105*_ratio.ratioX, Node449_9height = 17*_ratio.ratioY;
- (function () {
- if (Node449_9align === 'left') {
- Node449_9textStart = Node449_9fontSize * 0.2 > 2 ? Node449_9fontSize * 0.2 - 4 : Node449_9fontSize * 0.2 - 9;
- Node449_9textWidth = Node449_9width;
- Node449_9lineStart = 1;
- } else if (Node449_9align === 'right') {
- Node449_9textStart = 0;
- Node449_9textWidth =Node449_9fontSize <= 8 ? Node449_9width + Node449_9fontSize * 0.2 + 6 : Node449_9width - Node449_9fontSize * 0.2;
- Node449_9lineStart = (Node449_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node449_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node449_9align === 'center') {
- Node449_9textStart = -3;
- Node449_9textWidth = Node449_9width;
- Node449_9lineStart = Node449_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node449_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node449_9.setImage(GD.getTextJSON(Node449_9width, Node449_9height, true, false, false, 'bold '+ Node449_9fontSize + 'px "Arial"'))
- Node449_9.setPosition(951*ratio.ratioX, 131*ratio.ratioY);
- Node449_9.setWidth(Node449_9width);
- Node449_9.setHeight(Node449_9height);
- Node449_9._nodeType = 'text';
- Node449_9._disallowEvert = true;
- Node449_9.setRotation(0*Math.PI/180);
- Node449_9.a('node.width', Node449_9width);
- Node449_9.a('node.height', Node449_9height);
- Node449_9.a('node.rect', [0, 0, Node449_9width, Node449_9height]);
- Node449_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node449_9.a('node.borderwidth', 0);
- Node449_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_9.a('node.gradient','');
- Node449_9.a('node.gradientcolor','');
- Node449_9.a('node.text','万kwh');
- Node449_9.a('node.textalign','center');
- Node449_9.a('node.textvAlign','middle');
- Node449_9.a('node.textrect', [Node449_9textStart, 0, Node449_9textWidth, Node449_9height]);
- Node449_9.a('node.color','rgba(128,128,128,1)');
- Node449_9.a('node.font','bold '+ Node449_9fontSize + 'px "Arial"');
- Node449_9.a('node.textvisible',true);
- Node449_9.a('node.linefeed',false);
- if (false) {
- Node449_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_9.a('node.text') || '万kwh';
- var color=Node449_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node449_9width,Node449_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node449_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node449_9.a('node.underlinepoints',[Node449_9lineStart, (17 - 11.99997) * 0.5 * _ratio.ratioY + Node449_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node449_9fontSize + 'px "Arial"').width + 6, (Node449_9height - Node449_9fontSize) * 0.5*_ratio.ratioY + Node449_9fontSize + 2 ]);
- Node449_9.a('node.underlinevisible',false);
- Node449_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_9);
- zoomNodeList.push({
- node: Node449_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_10 = new ht.Node();
- var Node449_10textStart, Node449_10textWidth, Node449_10lineStart, Node449_10align = 'center', Node449_10fontSize = 13.3333*_ratio.ratioY,Node449_10width = 105*_ratio.ratioX, Node449_10height = 27*_ratio.ratioY;
- (function () {
- if (Node449_10align === 'left') {
- Node449_10textStart = Node449_10fontSize * 0.2 > 2 ? Node449_10fontSize * 0.2 - 4 : Node449_10fontSize * 0.2 - 9;
- Node449_10textWidth = Node449_10width;
- Node449_10lineStart = 1;
- } else if (Node449_10align === 'right') {
- Node449_10textStart = 0;
- Node449_10textWidth =Node449_10fontSize <= 8 ? Node449_10width + Node449_10fontSize * 0.2 + 6 : Node449_10width - Node449_10fontSize * 0.2;
- Node449_10lineStart = (Node449_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node449_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_10align === 'center') {
- Node449_10textStart = -3;
- Node449_10textWidth = Node449_10width;
- Node449_10lineStart = Node449_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node449_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_10.setImage(GD.getTextJSON(Node449_10width, Node449_10height, true, false, false, 'bold '+ Node449_10fontSize + 'px "UniDreamLED"'))
- Node449_10.setPosition(951*ratio.ratioX, 158*ratio.ratioY);
- Node449_10.setWidth(Node449_10width);
- Node449_10.setHeight(Node449_10height);
- Node449_10._nodeType = 'text';
- Node449_10._disallowEvert = true;
- Node449_10.setRotation(0*Math.PI/180);
- Node449_10.a('node.width', Node449_10width);
- Node449_10.a('node.height', Node449_10height);
- Node449_10.a('node.rect', [0, 0, Node449_10width, Node449_10height]);
- Node449_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_10.a('node.borderwidth', 0);
- Node449_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_10.a('node.gradient','');
- Node449_10.a('node.gradientcolor','');
- Node449_10.a('node.text','1134.76');
- Node449_10.a('node.textalign','center');
- Node449_10.a('node.textvAlign','middle');
- Node449_10.a('node.textrect', [Node449_10textStart, 0, Node449_10textWidth, Node449_10height]);
- Node449_10.a('node.color','rgba(0,0,0,1)');
- Node449_10.a('node.font','bold '+ Node449_10fontSize + 'px "UniDreamLED"');
- Node449_10.a('node.textvisible',true);
- Node449_10.a('node.linefeed',false);
- if (false) {
- Node449_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_10.a('node.text') || '1134.76';
- var color=Node449_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_10width,Node449_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_10.a('node.underlinepoints',[Node449_10lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node449_10fontSize + 'px "UniDreamLED"').width + 6, (Node449_10height - Node449_10fontSize) * 0.5*_ratio.ratioY + Node449_10fontSize + 2 ]);
- Node449_10.a('node.underlinevisible',false);
- Node449_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_10);
- zoomNodeList.push({
- node: Node449_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_11 = new ht.Node();
- var Node449_11textStart, Node449_11textWidth, Node449_11lineStart, Node449_11align = 'center', Node449_11fontSize = 13.3333*_ratio.ratioY,Node449_11width = 110*_ratio.ratioX, Node449_11height = 27*_ratio.ratioY;
- (function () {
- if (Node449_11align === 'left') {
- Node449_11textStart = Node449_11fontSize * 0.2 > 2 ? Node449_11fontSize * 0.2 - 4 : Node449_11fontSize * 0.2 - 9;
- Node449_11textWidth = Node449_11width;
- Node449_11lineStart = 1;
- } else if (Node449_11align === 'right') {
- Node449_11textStart = 0;
- Node449_11textWidth =Node449_11fontSize <= 8 ? Node449_11width + Node449_11fontSize * 0.2 + 6 : Node449_11width - Node449_11fontSize * 0.2;
- Node449_11lineStart = (Node449_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node449_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_11align === 'center') {
- Node449_11textStart = -3;
- Node449_11textWidth = Node449_11width;
- Node449_11lineStart = Node449_11width - ht.Default.getTextSize('171.51', 'bold '+ Node449_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_11.setImage(GD.getTextJSON(Node449_11width, Node449_11height, true, false, false, 'bold '+ Node449_11fontSize + 'px "UniDreamLED"'))
- Node449_11.setPosition(954*ratio.ratioX, 190*ratio.ratioY);
- Node449_11.setWidth(Node449_11width);
- Node449_11.setHeight(Node449_11height);
- Node449_11._nodeType = 'text';
- Node449_11._disallowEvert = true;
- Node449_11.setRotation(0*Math.PI/180);
- Node449_11.a('node.width', Node449_11width);
- Node449_11.a('node.height', Node449_11height);
- Node449_11.a('node.rect', [0, 0, Node449_11width, Node449_11height]);
- Node449_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_11.a('node.borderwidth', 0);
- Node449_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_11.a('node.gradient','');
- Node449_11.a('node.gradientcolor','');
- Node449_11.a('node.text','171.51');
- Node449_11.a('node.textalign','center');
- Node449_11.a('node.textvAlign','middle');
- Node449_11.a('node.textrect', [Node449_11textStart, 0, Node449_11textWidth, Node449_11height]);
- Node449_11.a('node.color','rgba(0,0,0,1)');
- Node449_11.a('node.font','bold '+ Node449_11fontSize + 'px "UniDreamLED"');
- Node449_11.a('node.textvisible',true);
- Node449_11.a('node.linefeed',false);
- if (false) {
- Node449_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_11.a('node.text') || '171.51';
- var color=Node449_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_11width,Node449_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_11.a('node.underlinepoints',[Node449_11lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node449_11fontSize + 'px "UniDreamLED"').width + 6, (Node449_11height - Node449_11fontSize) * 0.5*_ratio.ratioY + Node449_11fontSize + 2 ]);
- Node449_11.a('node.underlinevisible',false);
- Node449_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_11);
- zoomNodeList.push({
- node: Node449_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_12 = new ht.Node();
- var Node449_12textStart, Node449_12textWidth, Node449_12lineStart, Node449_12align = 'center', Node449_12fontSize = 13.3333*_ratio.ratioY,Node449_12width = 110*_ratio.ratioX, Node449_12height = 27*_ratio.ratioY;
- (function () {
- if (Node449_12align === 'left') {
- Node449_12textStart = Node449_12fontSize * 0.2 > 2 ? Node449_12fontSize * 0.2 - 4 : Node449_12fontSize * 0.2 - 9;
- Node449_12textWidth = Node449_12width;
- Node449_12lineStart = 1;
- } else if (Node449_12align === 'right') {
- Node449_12textStart = 0;
- Node449_12textWidth =Node449_12fontSize <= 8 ? Node449_12width + Node449_12fontSize * 0.2 + 6 : Node449_12width - Node449_12fontSize * 0.2;
- Node449_12lineStart = (Node449_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node449_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_12align === 'center') {
- Node449_12textStart = -3;
- Node449_12textWidth = Node449_12width;
- Node449_12lineStart = Node449_12width - ht.Default.getTextSize('329.51', 'bold '+ Node449_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_12.setImage(GD.getTextJSON(Node449_12width, Node449_12height, true, false, false, 'bold '+ Node449_12fontSize + 'px "UniDreamLED"'))
- Node449_12.setPosition(954*ratio.ratioX, 220*ratio.ratioY);
- Node449_12.setWidth(Node449_12width);
- Node449_12.setHeight(Node449_12height);
- Node449_12._nodeType = 'text';
- Node449_12._disallowEvert = true;
- Node449_12.setRotation(0*Math.PI/180);
- Node449_12.a('node.width', Node449_12width);
- Node449_12.a('node.height', Node449_12height);
- Node449_12.a('node.rect', [0, 0, Node449_12width, Node449_12height]);
- Node449_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_12.a('node.borderwidth', 0);
- Node449_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_12.a('node.gradient','');
- Node449_12.a('node.gradientcolor','');
- Node449_12.a('node.text','329.51');
- Node449_12.a('node.textalign','center');
- Node449_12.a('node.textvAlign','middle');
- Node449_12.a('node.textrect', [Node449_12textStart, 0, Node449_12textWidth, Node449_12height]);
- Node449_12.a('node.color','rgba(0,0,0,1)');
- Node449_12.a('node.font','bold '+ Node449_12fontSize + 'px "UniDreamLED"');
- Node449_12.a('node.textvisible',true);
- Node449_12.a('node.linefeed',false);
- if (false) {
- Node449_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_12.a('node.text') || '329.51';
- var color=Node449_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_12width,Node449_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_12.a('node.underlinepoints',[Node449_12lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node449_12fontSize + 'px "UniDreamLED"').width + 6, (Node449_12height - Node449_12fontSize) * 0.5*_ratio.ratioY + Node449_12fontSize + 2 ]);
- Node449_12.a('node.underlinevisible',false);
- Node449_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_12);
- zoomNodeList.push({
- node: Node449_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_13 = new ht.Node();
- var Node449_13textStart, Node449_13textWidth, Node449_13lineStart, Node449_13align = 'center', Node449_13fontSize = 13.3333*_ratio.ratioY,Node449_13width = 110*_ratio.ratioX, Node449_13height = 27*_ratio.ratioY;
- (function () {
- if (Node449_13align === 'left') {
- Node449_13textStart = Node449_13fontSize * 0.2 > 2 ? Node449_13fontSize * 0.2 - 4 : Node449_13fontSize * 0.2 - 9;
- Node449_13textWidth = Node449_13width;
- Node449_13lineStart = 1;
- } else if (Node449_13align === 'right') {
- Node449_13textStart = 0;
- Node449_13textWidth =Node449_13fontSize <= 8 ? Node449_13width + Node449_13fontSize * 0.2 + 6 : Node449_13width - Node449_13fontSize * 0.2;
- Node449_13lineStart = (Node449_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node449_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_13align === 'center') {
- Node449_13textStart = -3;
- Node449_13textWidth = Node449_13width;
- Node449_13lineStart = Node449_13width - ht.Default.getTextSize('340.14', 'bold '+ Node449_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_13.setImage(GD.getTextJSON(Node449_13width, Node449_13height, true, false, false, 'bold '+ Node449_13fontSize + 'px "UniDreamLED"'))
- Node449_13.setPosition(954*ratio.ratioX, 250*ratio.ratioY);
- Node449_13.setWidth(Node449_13width);
- Node449_13.setHeight(Node449_13height);
- Node449_13._nodeType = 'text';
- Node449_13._disallowEvert = true;
- Node449_13.setRotation(0*Math.PI/180);
- Node449_13.a('node.width', Node449_13width);
- Node449_13.a('node.height', Node449_13height);
- Node449_13.a('node.rect', [0, 0, Node449_13width, Node449_13height]);
- Node449_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_13.a('node.borderwidth', 0);
- Node449_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_13.a('node.gradient','');
- Node449_13.a('node.gradientcolor','');
- Node449_13.a('node.text','340.14');
- Node449_13.a('node.textalign','center');
- Node449_13.a('node.textvAlign','middle');
- Node449_13.a('node.textrect', [Node449_13textStart, 0, Node449_13textWidth, Node449_13height]);
- Node449_13.a('node.color','rgba(0,0,0,1)');
- Node449_13.a('node.font','bold '+ Node449_13fontSize + 'px "UniDreamLED"');
- Node449_13.a('node.textvisible',true);
- Node449_13.a('node.linefeed',false);
- if (false) {
- Node449_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_13.a('node.text') || '340.14';
- var color=Node449_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_13width,Node449_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_13.a('node.underlinepoints',[Node449_13lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node449_13fontSize + 'px "UniDreamLED"').width + 6, (Node449_13height - Node449_13fontSize) * 0.5*_ratio.ratioY + Node449_13fontSize + 2 ]);
- Node449_13.a('node.underlinevisible',false);
- Node449_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_13);
- zoomNodeList.push({
- node: Node449_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_14 = new ht.Node();
- var Node449_14textStart, Node449_14textWidth, Node449_14lineStart, Node449_14align = 'center', Node449_14fontSize = 13.3333*_ratio.ratioY,Node449_14width = 110*_ratio.ratioX, Node449_14height = 27*_ratio.ratioY;
- (function () {
- if (Node449_14align === 'left') {
- Node449_14textStart = Node449_14fontSize * 0.2 > 2 ? Node449_14fontSize * 0.2 - 4 : Node449_14fontSize * 0.2 - 9;
- Node449_14textWidth = Node449_14width;
- Node449_14lineStart = 1;
- } else if (Node449_14align === 'right') {
- Node449_14textStart = 0;
- Node449_14textWidth =Node449_14fontSize <= 8 ? Node449_14width + Node449_14fontSize * 0.2 + 6 : Node449_14width - Node449_14fontSize * 0.2;
- Node449_14lineStart = (Node449_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node449_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_14align === 'center') {
- Node449_14textStart = -3;
- Node449_14textWidth = Node449_14width;
- Node449_14lineStart = Node449_14width - ht.Default.getTextSize('60.61', 'bold '+ Node449_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_14.setImage(GD.getTextJSON(Node449_14width, Node449_14height, true, false, false, 'bold '+ Node449_14fontSize + 'px "UniDreamLED"'))
- Node449_14.setPosition(954*ratio.ratioX, 284*ratio.ratioY);
- Node449_14.setWidth(Node449_14width);
- Node449_14.setHeight(Node449_14height);
- Node449_14._nodeType = 'text';
- Node449_14._disallowEvert = true;
- Node449_14.setRotation(0*Math.PI/180);
- Node449_14.a('node.width', Node449_14width);
- Node449_14.a('node.height', Node449_14height);
- Node449_14.a('node.rect', [0, 0, Node449_14width, Node449_14height]);
- Node449_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_14.a('node.borderwidth', 0);
- Node449_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_14.a('node.gradient','');
- Node449_14.a('node.gradientcolor','');
- Node449_14.a('node.text','60.61');
- Node449_14.a('node.textalign','center');
- Node449_14.a('node.textvAlign','middle');
- Node449_14.a('node.textrect', [Node449_14textStart, 0, Node449_14textWidth, Node449_14height]);
- Node449_14.a('node.color','rgba(0,0,0,1)');
- Node449_14.a('node.font','bold '+ Node449_14fontSize + 'px "UniDreamLED"');
- Node449_14.a('node.textvisible',true);
- Node449_14.a('node.linefeed',false);
- if (false) {
- Node449_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_14.a('node.text') || '60.61';
- var color=Node449_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_14width,Node449_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_14.a('node.underlinepoints',[Node449_14lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node449_14fontSize + 'px "UniDreamLED"').width + 6, (Node449_14height - Node449_14fontSize) * 0.5*_ratio.ratioY + Node449_14fontSize + 2 ]);
- Node449_14.a('node.underlinevisible',false);
- Node449_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_14);
- zoomNodeList.push({
- node: Node449_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_15 = new ht.Node();
- var Node449_15textStart, Node449_15textWidth, Node449_15lineStart, Node449_15align = 'center', Node449_15fontSize = 13.3333*_ratio.ratioY,Node449_15width = 110*_ratio.ratioX, Node449_15height = 27*_ratio.ratioY;
- (function () {
- if (Node449_15align === 'left') {
- Node449_15textStart = Node449_15fontSize * 0.2 > 2 ? Node449_15fontSize * 0.2 - 4 : Node449_15fontSize * 0.2 - 9;
- Node449_15textWidth = Node449_15width;
- Node449_15lineStart = 1;
- } else if (Node449_15align === 'right') {
- Node449_15textStart = 0;
- Node449_15textWidth =Node449_15fontSize <= 8 ? Node449_15width + Node449_15fontSize * 0.2 + 6 : Node449_15width - Node449_15fontSize * 0.2;
- Node449_15lineStart = (Node449_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node449_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_15align === 'center') {
- Node449_15textStart = -3;
- Node449_15textWidth = Node449_15width;
- Node449_15lineStart = Node449_15width - ht.Default.getTextSize('166.79', 'bold '+ Node449_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_15.setImage(GD.getTextJSON(Node449_15width, Node449_15height, true, false, false, 'bold '+ Node449_15fontSize + 'px "UniDreamLED"'))
- Node449_15.setPosition(954*ratio.ratioX, 317*ratio.ratioY);
- Node449_15.setWidth(Node449_15width);
- Node449_15.setHeight(Node449_15height);
- Node449_15._nodeType = 'text';
- Node449_15._disallowEvert = true;
- Node449_15.setRotation(0*Math.PI/180);
- Node449_15.a('node.width', Node449_15width);
- Node449_15.a('node.height', Node449_15height);
- Node449_15.a('node.rect', [0, 0, Node449_15width, Node449_15height]);
- Node449_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_15.a('node.borderwidth', 0);
- Node449_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_15.a('node.gradient','');
- Node449_15.a('node.gradientcolor','');
- Node449_15.a('node.text','166.79');
- Node449_15.a('node.textalign','center');
- Node449_15.a('node.textvAlign','middle');
- Node449_15.a('node.textrect', [Node449_15textStart, 0, Node449_15textWidth, Node449_15height]);
- Node449_15.a('node.color','rgba(0,0,0,1)');
- Node449_15.a('node.font','bold '+ Node449_15fontSize + 'px "UniDreamLED"');
- Node449_15.a('node.textvisible',true);
- Node449_15.a('node.linefeed',false);
- if (false) {
- Node449_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_15.a('node.text') || '166.79';
- var color=Node449_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_15width,Node449_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_15.a('node.underlinepoints',[Node449_15lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node449_15fontSize + 'px "UniDreamLED"').width + 6, (Node449_15height - Node449_15fontSize) * 0.5*_ratio.ratioY + Node449_15fontSize + 2 ]);
- Node449_15.a('node.underlinevisible',false);
- Node449_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_15);
- zoomNodeList.push({
- node: Node449_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_16 = new ht.Node();
- var Node449_16textStart, Node449_16textWidth, Node449_16lineStart, Node449_16align = 'center', Node449_16fontSize = 13.3333*_ratio.ratioY,Node449_16width = 110*_ratio.ratioX, Node449_16height = 27*_ratio.ratioY;
- (function () {
- if (Node449_16align === 'left') {
- Node449_16textStart = Node449_16fontSize * 0.2 > 2 ? Node449_16fontSize * 0.2 - 4 : Node449_16fontSize * 0.2 - 9;
- Node449_16textWidth = Node449_16width;
- Node449_16lineStart = 1;
- } else if (Node449_16align === 'right') {
- Node449_16textStart = 0;
- Node449_16textWidth =Node449_16fontSize <= 8 ? Node449_16width + Node449_16fontSize * 0.2 + 6 : Node449_16width - Node449_16fontSize * 0.2;
- Node449_16lineStart = (Node449_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node449_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_16align === 'center') {
- Node449_16textStart = -3;
- Node449_16textWidth = Node449_16width;
- Node449_16lineStart = Node449_16width - ht.Default.getTextSize('66.18', 'bold '+ Node449_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_16.setImage(GD.getTextJSON(Node449_16width, Node449_16height, true, false, false, 'bold '+ Node449_16fontSize + 'px "UniDreamLED"'))
- Node449_16.setPosition(954*ratio.ratioX, 346*ratio.ratioY);
- Node449_16.setWidth(Node449_16width);
- Node449_16.setHeight(Node449_16height);
- Node449_16._nodeType = 'text';
- Node449_16._disallowEvert = true;
- Node449_16.setRotation(0*Math.PI/180);
- Node449_16.a('node.width', Node449_16width);
- Node449_16.a('node.height', Node449_16height);
- Node449_16.a('node.rect', [0, 0, Node449_16width, Node449_16height]);
- Node449_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_16.a('node.borderwidth', 0);
- Node449_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_16.a('node.gradient','');
- Node449_16.a('node.gradientcolor','');
- Node449_16.a('node.text','66.18');
- Node449_16.a('node.textalign','center');
- Node449_16.a('node.textvAlign','middle');
- Node449_16.a('node.textrect', [Node449_16textStart, 0, Node449_16textWidth, Node449_16height]);
- Node449_16.a('node.color','rgba(0,0,0,1)');
- Node449_16.a('node.font','bold '+ Node449_16fontSize + 'px "UniDreamLED"');
- Node449_16.a('node.textvisible',true);
- Node449_16.a('node.linefeed',false);
- if (false) {
- Node449_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_16.a('node.text') || '66.18';
- var color=Node449_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_16width,Node449_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_16.a('node.underlinepoints',[Node449_16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node449_16fontSize + 'px "UniDreamLED"').width + 6, (Node449_16height - Node449_16fontSize) * 0.5*_ratio.ratioY + Node449_16fontSize + 2 ]);
- Node449_16.a('node.underlinevisible',false);
- Node449_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_16);
- zoomNodeList.push({
- node: Node449_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_17 = new ht.Node();
- var Node449_17textStart, Node449_17textWidth, Node449_17lineStart, Node449_17align = 'center', Node449_17fontSize = 13.3333*_ratio.ratioY,Node449_17width = 110*_ratio.ratioX, Node449_17height = 27*_ratio.ratioY;
- (function () {
- if (Node449_17align === 'left') {
- Node449_17textStart = Node449_17fontSize * 0.2 > 2 ? Node449_17fontSize * 0.2 - 4 : Node449_17fontSize * 0.2 - 9;
- Node449_17textWidth = Node449_17width;
- Node449_17lineStart = 1;
- } else if (Node449_17align === 'right') {
- Node449_17textStart = 0;
- Node449_17textWidth =Node449_17fontSize <= 8 ? Node449_17width + Node449_17fontSize * 0.2 + 6 : Node449_17width - Node449_17fontSize * 0.2;
- Node449_17lineStart = (Node449_17width - (ht.Default.getTextSize('-', 'bold '+ Node449_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node449_17align === 'center') {
- Node449_17textStart = -3;
- Node449_17textWidth = Node449_17width;
- Node449_17lineStart = Node449_17width - ht.Default.getTextSize('-', 'bold '+ Node449_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node449_17.setImage(GD.getTextJSON(Node449_17width, Node449_17height, true, false, false, 'bold '+ Node449_17fontSize + 'px "UniDreamLED"'))
- Node449_17.setPosition(954*ratio.ratioX, 377*ratio.ratioY);
- Node449_17.setWidth(Node449_17width);
- Node449_17.setHeight(Node449_17height);
- Node449_17._nodeType = 'text';
- Node449_17._disallowEvert = true;
- Node449_17.setRotation(0*Math.PI/180);
- Node449_17.a('node.width', Node449_17width);
- Node449_17.a('node.height', Node449_17height);
- Node449_17.a('node.rect', [0, 0, Node449_17width, Node449_17height]);
- Node449_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node449_17.a('node.borderwidth', 0);
- Node449_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_17.a('node.gradient','');
- Node449_17.a('node.gradientcolor','');
- Node449_17.a('node.text','-');
- Node449_17.a('node.textalign','center');
- Node449_17.a('node.textvAlign','middle');
- Node449_17.a('node.textrect', [Node449_17textStart, 0, Node449_17textWidth, Node449_17height]);
- Node449_17.a('node.color','rgba(0,0,0,1)');
- Node449_17.a('node.font','bold '+ Node449_17fontSize + 'px "UniDreamLED"');
- Node449_17.a('node.textvisible',true);
- Node449_17.a('node.linefeed',false);
- if (false) {
- Node449_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_17.a('node.text') || '-';
- var color=Node449_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_17width,Node449_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node449_17.a('node.underlinepoints',[Node449_17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node449_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node449_17fontSize + 'px "UniDreamLED"').width + 6, (Node449_17height - Node449_17fontSize) * 0.5*_ratio.ratioY + Node449_17fontSize + 2 ]);
- Node449_17.a('node.underlinevisible',false);
- Node449_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_17);
- zoomNodeList.push({
- node: Node449_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node450_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node450_0 = new ht.Node();
- Node450_0.setPosition(954*ratio.ratioX, 237*ratio.ratioY);
- Node450_0.setSize(127*ratioX, 313*ratioY);
- Node450_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node450_0.setRotation(0*Math.PI/180);
- Node450_0._zoomBy = 'Default';
- Node450_0._nodeType = 'image';
- Node450_0._disallowEvert = true;
- dataModel.add(Node450_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_1 = new ht.Node();
- var Node450_1textStart, Node450_1textWidth, Node450_1lineStart, Node450_1align = 'center', Node450_1fontSize = 13.3333*_ratio.ratioY,Node450_1width = 105*_ratio.ratioX, Node450_1height = 27*_ratio.ratioY;
- (function () {
- if (Node450_1align === 'left') {
- Node450_1textStart = Node450_1fontSize * 0.2 > 2 ? Node450_1fontSize * 0.2 - 4 : Node450_1fontSize * 0.2 - 9;
- Node450_1textWidth = Node450_1width;
- Node450_1lineStart = 1;
- } else if (Node450_1align === 'right') {
- Node450_1textStart = 0;
- Node450_1textWidth =Node450_1fontSize <= 8 ? Node450_1width + Node450_1fontSize * 0.2 + 6 : Node450_1width - Node450_1fontSize * 0.2;
- Node450_1lineStart = (Node450_1width - (ht.Default.getTextSize('年发电量', 'bold '+ Node450_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node450_1align === 'center') {
- Node450_1textStart = -3;
- Node450_1textWidth = Node450_1width;
- Node450_1lineStart = Node450_1width - ht.Default.getTextSize('年发电量', 'bold '+ Node450_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node450_1.setImage(GD.getTextJSON(Node450_1width, Node450_1height, true, false, false, 'bold '+ Node450_1fontSize + 'px "Arial"'))
- Node450_1.setPosition(949*ratio.ratioX, 102*ratio.ratioY);
- Node450_1.setWidth(Node450_1width);
- Node450_1.setHeight(Node450_1height);
- Node450_1._nodeType = 'text';
- Node450_1._disallowEvert = true;
- Node450_1.setRotation(0*Math.PI/180);
- Node450_1.a('node.width', Node450_1width);
- Node450_1.a('node.height', Node450_1height);
- Node450_1.a('node.rect', [0, 0, Node450_1width, Node450_1height]);
- Node450_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node450_1.a('node.borderwidth', 0);
- Node450_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_1.a('node.gradient','');
- Node450_1.a('node.gradientcolor','');
- Node450_1.a('node.text','年发电量');
- Node450_1.a('node.textalign','center');
- Node450_1.a('node.textvAlign','middle');
- Node450_1.a('node.textrect', [Node450_1textStart, 0, Node450_1textWidth, Node450_1height]);
- Node450_1.a('node.color','rgba(255,255,255,1)');
- Node450_1.a('node.font','bold '+ Node450_1fontSize + 'px "Arial"');
- Node450_1.a('node.textvisible',true);
- Node450_1.a('node.linefeed',false);
- if (false) {
- Node450_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_1.a('node.text') || '年发电量';
- var color=Node450_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_1width,Node450_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node450_1.a('node.underlinepoints',[Node450_1lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node450_1fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node450_1fontSize + 'px "Arial"').width + 6, (Node450_1height - Node450_1fontSize) * 0.5*_ratio.ratioY + Node450_1fontSize + 2 ]);
- Node450_1.a('node.underlinevisible',false);
- Node450_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_1);
- zoomNodeList.push({
- node: Node450_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node451_0_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//img//page_ztjs_sx_box1_bg_abc.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_box1_bg_abc.png');
- Node451_0_0 = new ht.Node();
- Node451_0_0.setPosition(192*ratio.ratioX, 238*ratio.ratioY);
- Node451_0_0.setSize(127*ratioX, 313*ratioY);
- Node451_0_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node451_0_0.setRotation(0*Math.PI/180);
- Node451_0_0._zoomBy = 'Default';
- Node451_0_0._nodeType = 'image';
- Node451_0_0._disallowEvert = true;
- dataModel.add(Node451_0_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node451_0_1 = new ht.Node();
- var Node451_0_1textStart, Node451_0_1textWidth, Node451_0_1lineStart, Node451_0_1align = 'left', Node451_0_1fontSize = 13.3333*_ratio.ratioY,Node451_0_1width = 37*_ratio.ratioX, Node451_0_1height = 17*_ratio.ratioY;
- (function () {
- if (Node451_0_1align === 'left') {
- Node451_0_1textStart = Node451_0_1fontSize * 0.2 > 2 ? Node451_0_1fontSize * 0.2 - 4 : Node451_0_1fontSize * 0.2 - 9;
- Node451_0_1textWidth = Node451_0_1width;
- Node451_0_1lineStart = 1;
- } else if (Node451_0_1align === 'right') {
- Node451_0_1textStart = 0;
- Node451_0_1textWidth =Node451_0_1fontSize <= 8 ? Node451_0_1width + Node451_0_1fontSize * 0.2 + 6 : Node451_0_1width - Node451_0_1fontSize * 0.2;
- Node451_0_1lineStart = (Node451_0_1width - (ht.Default.getTextSize('风速', ' '+ Node451_0_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node451_0_1align === 'center') {
- Node451_0_1textStart = -3;
- Node451_0_1textWidth = Node451_0_1width;
- Node451_0_1lineStart = Node451_0_1width - ht.Default.getTextSize('风速', ' '+ Node451_0_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node451_0_1.setImage(GD.getTextJSON(Node451_0_1width, Node451_0_1height, true, false, false, ' '+ Node451_0_1fontSize + 'px "Arial"'))
- Node451_0_1.setPosition(190*ratio.ratioX, 103*ratio.ratioY);
- Node451_0_1.setWidth(Node451_0_1width);
- Node451_0_1.setHeight(Node451_0_1height);
- Node451_0_1._nodeType = 'text';
- Node451_0_1._disallowEvert = true;
- Node451_0_1.setRotation(0*Math.PI/180);
- Node451_0_1.a('node.width', Node451_0_1width);
- Node451_0_1.a('node.height', Node451_0_1height);
- Node451_0_1.a('node.rect', [0, 0, Node451_0_1width, Node451_0_1height]);
- Node451_0_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node451_0_1.a('node.borderwidth', 0);
- Node451_0_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node451_0_1.a('node.gradient','');
- Node451_0_1.a('node.gradientcolor','');
- Node451_0_1.a('node.text','风速');
- Node451_0_1.a('node.textalign','left');
- Node451_0_1.a('node.textvAlign','middle');
- Node451_0_1.a('node.textrect', [Node451_0_1textStart, 0, Node451_0_1textWidth, Node451_0_1height]);
- Node451_0_1.a('node.color','rgba(255,255,255,1)');
- Node451_0_1.a('node.font',' '+ Node451_0_1fontSize + 'px "Arial"');
- Node451_0_1.a('node.textvisible',true);
- Node451_0_1.a('node.linefeed',false);
- if (false) {
- Node451_0_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node451_0_1.a('node.text') || '风速';
- var color=Node451_0_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node451_0_1width,Node451_0_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node451_0_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node451_0_1.a('node.underlinepoints',[Node451_0_1lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node451_0_1fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node451_0_1fontSize + 'px "Arial"').width + 6, (Node451_0_1height - Node451_0_1fontSize) * 0.5*_ratio.ratioY + Node451_0_1fontSize + 2 ]);
- Node451_0_1.a('node.underlinevisible',false);
- Node451_0_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node451_0_1);
- zoomNodeList.push({
- node: Node451_0_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node451_1points=[130, 362,257, 362],
- Node451_1rect=ht.Default.unionPoint([{x:130,y:362},{x:257,y:362}]),
- Node451_1compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node451_1points.length;i++){
- if(i%2==0){
- Node451_1compspts.push(Node451_1points[i]-Node451_1rect.x);
- }else{
- Node451_1compspts.push(Node451_1points[i]-Node451_1rect.y);
- }
- }
- var Node451_1ptslength=Node451_1compspts.length;
- if (Node451_1rect.height === 0) {
- Node451_1compspts[0] -= 0;
- Node451_1compspts[Node451_1ptslength-2] += 0;
- } else if (Node451_1rect.width === 0){
- Node451_1compspts[1] -= 0;
- Node451_1compspts[Node451_1ptslength-1] += 0;
- } else {
- Node451_1compspts[0] -= 0;
- Node451_1compspts[1] -= 0;
- Node451_1compspts[Node451_1ptslength-2] += 0;
- Node451_1compspts[Node451_1ptslength-1] += 0;
- }
- Node451_1 = new ht.Node();
- Node451_1.borderWidth = 1;
- Node451_1rect.width = Node451_1rect.width === 0 ? 0.0001 : Node451_1rect.width;
- Node451_1rect.height = Node451_1rect.height === 0 ? 0.0001 : Node451_1rect.height;
- var Node451_1endCompspts = [Node451_1compspts[Node451_1ptslength-2],Node451_1compspts[Node451_1ptslength-1],0,0];
- var Node451_1startCompspts = [Node451_1compspts[0],Node451_1compspts[1],0,0];
- Node451_1.setImage(GD.getPolyLineJSON());
- Node451_1.setPosition(Node451_1rect.x+Node451_1rect.width/2,Node451_1rect.y+Node451_1rect.height/2);
- Node451_1.setSize(Node451_1rect.width,Node451_1rect.height);
- Node451_1.setStyle("opacity",1);
- Node451_1.s({'pixelPerfect':true});
- Node451_1borderwidth=1;
- Node451_1.setRotation(0);
- dataModel.add(Node451_1);
- Node451_1.a('node.points',Node451_1compspts);
- Node451_1.a('node.segments',[1,2]);
- Node451_1.a('node.color','rgba(192,192,192,1)');
- Node451_1.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node451_1.a('node.borderColor','rgba(192,192,192,1)');
- Node451_1.a('node.background','rgba(192,192,192,1)');
- Node451_1.a('node.gradient','');
- Node451_1.a('node.gradientcolor','rgba(192,192,192,1)');
- Node451_1.a('node.endCompspts',Node451_1endCompspts);
- Node451_1.a('node.startCompspts',Node451_1startCompspts);
- (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 = 'Node451_1';
- 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);
- }
- })(Node451_1, Node451_1.getImage(), Node451_1compspts, Node451_1endCompspts, Node451_1startCompspts);
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node452 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 66*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node453 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 67*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node454 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 176*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node455 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 177*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node456 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 291*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node457 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 292*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node458 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 404*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node459 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 405*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node460 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 517*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node461 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 518*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node462 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 630*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node463 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 631*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node464 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 730*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node465 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 731*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node466 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 830*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node467 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 831*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node468 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 940*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node469 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 941*ratio.ratioX, 66*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_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node470 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1040*ratio.ratioX, 66*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_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node471 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1041*ratio.ratioX, 66*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_but_01.png'});
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'jrjs':PageBackground_jrjs,'bjzx':PageBackground_bjzx,'dbgl':PageBackground_dbgl,'zbph':PageBackground_zbph,'pjgl':PageBackground_pjgl,'xnfx':PageBackground_xnfx,'sbjz':PageBackground_sbjz,'ztjs':PageBackground_ztjs,'ldjsc':PageBackground_ldjsc,'sy':PageBackground_sy,}});
- if(typeof(Node0.borderWidth)!="undefined"){setDashStyle(Node0,"Node0",'NoDash',Node0.borderWidth);}
- if(typeof(Node1.borderWidth)!="undefined"){setDashStyle(Node1,"Node1",'NoDash',Node1.borderWidth);}
- if(typeof(Node2.borderWidth)!="undefined"){setDashStyle(Node2,"Node2",'NoDash',Node2.borderWidth);}
- if(typeof(Node3.borderWidth)!="undefined"){setDashStyle(Node3,"Node3",'NoDash',Node3.borderWidth);}
- if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);}
- if(typeof(Node5.borderWidth)!="undefined"){setDashStyle(Node5,"Node5",'NoDash',Node5.borderWidth);}
- if(typeof(Node12.borderWidth)!="undefined"){setDashStyle(Node12,"Node12",'NoDash',Node12.borderWidth);}
- if(typeof(Node13.borderWidth)!="undefined"){setDashStyle(Node13,"Node13",'NoDash',Node13.borderWidth);}
- if(typeof(Node14.borderWidth)!="undefined"){setDashStyle(Node14,"Node14",'NoDash',Node14.borderWidth);}
- if(typeof(Node15.borderWidth)!="undefined"){setDashStyle(Node15,"Node15",'NoDash',Node15.borderWidth);}
- if(typeof(Node16.borderWidth)!="undefined"){setDashStyle(Node16,"Node16",'NoDash',Node16.borderWidth);}
- if(typeof(Node17.borderWidth)!="undefined"){setDashStyle(Node17,"Node17",'NoDash',Node17.borderWidth);}
- if(typeof(Node18.borderWidth)!="undefined"){setDashStyle(Node18,"Node18",'NoDash',Node18.borderWidth);}
- if(typeof(Node27_1.borderWidth)!="undefined"){setDashStyle(Node27_1,"Node27_1",'NoDash',Node27_1.borderWidth);}
- if(typeof(Node27_2.borderWidth)!="undefined"){setDashStyle(Node27_2,"Node27_2",'NoDash',Node27_2.borderWidth);}
- if(typeof(Node27_3.borderWidth)!="undefined"){setDashStyle(Node27_3,"Node27_3",'NoDash',Node27_3.borderWidth);}
- if(typeof(Node27_4.borderWidth)!="undefined"){setDashStyle(Node27_4,"Node27_4",'NoDash',Node27_4.borderWidth);}
- if(typeof(Node27_5.borderWidth)!="undefined"){setDashStyle(Node27_5,"Node27_5",'NoDash',Node27_5.borderWidth);}
- if(typeof(Node27_6.borderWidth)!="undefined"){setDashStyle(Node27_6,"Node27_6",'NoDash',Node27_6.borderWidth);}
- if(typeof(Node27_7.borderWidth)!="undefined"){setDashStyle(Node27_7,"Node27_7",'NoDash',Node27_7.borderWidth);}
- if(typeof(Node28_0.borderWidth)!="undefined"){setDashStyle(Node28_0,"Node28_0",'NoDash',Node28_0.borderWidth);}
- if(typeof(Node28_1.borderWidth)!="undefined"){setDashStyle(Node28_1,"Node28_1",'NoDash',Node28_1.borderWidth);}
- if(typeof(Node28_2.borderWidth)!="undefined"){setDashStyle(Node28_2,"Node28_2",'NoDash',Node28_2.borderWidth);}
- if(typeof(Node28_3.borderWidth)!="undefined"){setDashStyle(Node28_3,"Node28_3",'NoDash',Node28_3.borderWidth);}
- if(typeof(Node28_4.borderWidth)!="undefined"){setDashStyle(Node28_4,"Node28_4",'NoDash',Node28_4.borderWidth);}
- if(typeof(Node28_5.borderWidth)!="undefined"){setDashStyle(Node28_5,"Node28_5",'NoDash',Node28_5.borderWidth);}
- if(typeof(Node28_6.borderWidth)!="undefined"){setDashStyle(Node28_6,"Node28_6",'NoDash',Node28_6.borderWidth);}
- if(typeof(Node29_0.borderWidth)!="undefined"){setDashStyle(Node29_0,"Node29_0",'NoDash',Node29_0.borderWidth);}
- if(typeof(Node29_1.borderWidth)!="undefined"){setDashStyle(Node29_1,"Node29_1",'NoDash',Node29_1.borderWidth);}
- if(typeof(Node29_2.borderWidth)!="undefined"){setDashStyle(Node29_2,"Node29_2",'NoDash',Node29_2.borderWidth);}
- if(typeof(Node29_3.borderWidth)!="undefined"){setDashStyle(Node29_3,"Node29_3",'NoDash',Node29_3.borderWidth);}
- if(typeof(Node29_4.borderWidth)!="undefined"){setDashStyle(Node29_4,"Node29_4",'NoDash',Node29_4.borderWidth);}
- if(typeof(Node29_5.borderWidth)!="undefined"){setDashStyle(Node29_5,"Node29_5",'NoDash',Node29_5.borderWidth);}
- if(typeof(Node29_6.borderWidth)!="undefined"){setDashStyle(Node29_6,"Node29_6",'NoDash',Node29_6.borderWidth);}
- if(typeof(Node30_0.borderWidth)!="undefined"){setDashStyle(Node30_0,"Node30_0",'NoDash',Node30_0.borderWidth);}
- if(typeof(Node30_1.borderWidth)!="undefined"){setDashStyle(Node30_1,"Node30_1",'NoDash',Node30_1.borderWidth);}
- if(typeof(Node30_2.borderWidth)!="undefined"){setDashStyle(Node30_2,"Node30_2",'NoDash',Node30_2.borderWidth);}
- if(typeof(Node30_3.borderWidth)!="undefined"){setDashStyle(Node30_3,"Node30_3",'NoDash',Node30_3.borderWidth);}
- if(typeof(Node30_4.borderWidth)!="undefined"){setDashStyle(Node30_4,"Node30_4",'NoDash',Node30_4.borderWidth);}
- if(typeof(Node30_5.borderWidth)!="undefined"){setDashStyle(Node30_5,"Node30_5",'NoDash',Node30_5.borderWidth);}
- if(typeof(Node30_6.borderWidth)!="undefined"){setDashStyle(Node30_6,"Node30_6",'NoDash',Node30_6.borderWidth);}
- if((0 )){Node31_0.s('2d.visible',true);}else{Node31_0.s('2d.visible',false);}
- if((0 )){Node31_0.s('2d.visible',true);}else{Node31_0.s('2d.visible',false);}
- if((0 )){Node31_1.s('2d.visible',true);}else{Node31_1.s('2d.visible',false);}
- if((0 )){Node32_0.s('2d.visible',true);}else{Node32_0.s('2d.visible',false);}
- if((0 )){Node32_1.s('2d.visible',true);}else{Node32_1.s('2d.visible',false);}
- if((0 )){Node33_0.s('2d.visible',true);}else{Node33_0.s('2d.visible',false);}
- if((0 )){Node33_1.s('2d.visible',true);}else{Node33_1.s('2d.visible',false);}
- if(typeof(Node34_0.borderWidth)!="undefined"){setDashStyle(Node34_0,"Node34_0",'NoDash',Node34_0.borderWidth);}
- if(typeof(Node34_1.borderWidth)!="undefined"){setDashStyle(Node34_1,"Node34_1",'NoDash',Node34_1.borderWidth);}
- if(typeof(Node34_2.borderWidth)!="undefined"){setDashStyle(Node34_2,"Node34_2",'NoDash',Node34_2.borderWidth);}
- if(typeof(Node34_3.borderWidth)!="undefined"){setDashStyle(Node34_3,"Node34_3",'NoDash',Node34_3.borderWidth);}
- if(typeof(Node34_4.borderWidth)!="undefined"){setDashStyle(Node34_4,"Node34_4",'NoDash',Node34_4.borderWidth);}
- if(typeof(Node34_5.borderWidth)!="undefined"){setDashStyle(Node34_5,"Node34_5",'NoDash',Node34_5.borderWidth);}
- if(typeof(Node34_6.borderWidth)!="undefined"){setDashStyle(Node34_6,"Node34_6",'NoDash',Node34_6.borderWidth);}
- if((0 )){Node35_0.s('2d.visible',true);}else{Node35_0.s('2d.visible',false);}
- if((0 )){Node35_1.s('2d.visible',true);}else{Node35_1.s('2d.visible',false);}
- if(typeof(Node36_0.borderWidth)!="undefined"){setDashStyle(Node36_0,"Node36_0",'NoDash',Node36_0.borderWidth);}
- if(typeof(Node36_1.borderWidth)!="undefined"){setDashStyle(Node36_1,"Node36_1",'NoDash',Node36_1.borderWidth);}
- if(typeof(Node36_2.borderWidth)!="undefined"){setDashStyle(Node36_2,"Node36_2",'NoDash',Node36_2.borderWidth);}
- if(typeof(Node36_3.borderWidth)!="undefined"){setDashStyle(Node36_3,"Node36_3",'NoDash',Node36_3.borderWidth);}
- if(typeof(Node36_4.borderWidth)!="undefined"){setDashStyle(Node36_4,"Node36_4",'NoDash',Node36_4.borderWidth);}
- if(typeof(Node36_5.borderWidth)!="undefined"){setDashStyle(Node36_5,"Node36_5",'NoDash',Node36_5.borderWidth);}
- if(typeof(Node36_6.borderWidth)!="undefined"){setDashStyle(Node36_6,"Node36_6",'NoDash',Node36_6.borderWidth);}
- if((0 )){Node37_0.s('2d.visible',true);}else{Node37_0.s('2d.visible',false);}
- if((0 )){Node37_1.s('2d.visible',true);}else{Node37_1.s('2d.visible',false);}
- if(typeof(Node38_0.borderWidth)!="undefined"){setDashStyle(Node38_0,"Node38_0",'NoDash',Node38_0.borderWidth);}
- if(typeof(Node38_1.borderWidth)!="undefined"){setDashStyle(Node38_1,"Node38_1",'NoDash',Node38_1.borderWidth);}
- if(typeof(Node38_2.borderWidth)!="undefined"){setDashStyle(Node38_2,"Node38_2",'NoDash',Node38_2.borderWidth);}
- if(typeof(Node38_3.borderWidth)!="undefined"){setDashStyle(Node38_3,"Node38_3",'NoDash',Node38_3.borderWidth);}
- if(typeof(Node38_4.borderWidth)!="undefined"){setDashStyle(Node38_4,"Node38_4",'NoDash',Node38_4.borderWidth);}
- if(typeof(Node38_5.borderWidth)!="undefined"){setDashStyle(Node38_5,"Node38_5",'NoDash',Node38_5.borderWidth);}
- if(typeof(Node38_6.borderWidth)!="undefined"){setDashStyle(Node38_6,"Node38_6",'NoDash',Node38_6.borderWidth);}
- if((0 )){Node39_0.s('2d.visible',true);}else{Node39_0.s('2d.visible',false);}
- if((0 )){Node39_1.s('2d.visible',true);}else{Node39_1.s('2d.visible',false);}
- if(typeof(Node40_0.borderWidth)!="undefined"){setDashStyle(Node40_0,"Node40_0",'NoDash',Node40_0.borderWidth);}
- if(typeof(Node40_1.borderWidth)!="undefined"){setDashStyle(Node40_1,"Node40_1",'NoDash',Node40_1.borderWidth);}
- if(typeof(Node40_2.borderWidth)!="undefined"){setDashStyle(Node40_2,"Node40_2",'NoDash',Node40_2.borderWidth);}
- if(typeof(Node40_3.borderWidth)!="undefined"){setDashStyle(Node40_3,"Node40_3",'NoDash',Node40_3.borderWidth);}
- if(typeof(Node40_4.borderWidth)!="undefined"){setDashStyle(Node40_4,"Node40_4",'NoDash',Node40_4.borderWidth);}
- if(typeof(Node40_5.borderWidth)!="undefined"){setDashStyle(Node40_5,"Node40_5",'NoDash',Node40_5.borderWidth);}
- if(typeof(Node40_6.borderWidth)!="undefined"){setDashStyle(Node40_6,"Node40_6",'NoDash',Node40_6.borderWidth);}
- if((0 )){Node41_0.s('2d.visible',true);}else{Node41_0.s('2d.visible',false);}
- if((0 )){Node41_1.s('2d.visible',true);}else{Node41_1.s('2d.visible',false);}
- if(typeof(Node42_0.borderWidth)!="undefined"){setDashStyle(Node42_0,"Node42_0",'NoDash',Node42_0.borderWidth);}
- if(typeof(Node42_1.borderWidth)!="undefined"){setDashStyle(Node42_1,"Node42_1",'NoDash',Node42_1.borderWidth);}
- if(typeof(Node42_2.borderWidth)!="undefined"){setDashStyle(Node42_2,"Node42_2",'NoDash',Node42_2.borderWidth);}
- if(typeof(Node42_3.borderWidth)!="undefined"){setDashStyle(Node42_3,"Node42_3",'NoDash',Node42_3.borderWidth);}
- if(typeof(Node42_4.borderWidth)!="undefined"){setDashStyle(Node42_4,"Node42_4",'NoDash',Node42_4.borderWidth);}
- if(typeof(Node42_5.borderWidth)!="undefined"){setDashStyle(Node42_5,"Node42_5",'NoDash',Node42_5.borderWidth);}
- if(typeof(Node42_6.borderWidth)!="undefined"){setDashStyle(Node42_6,"Node42_6",'NoDash',Node42_6.borderWidth);}
- if((0 )){Node43_0.s('2d.visible',true);}else{Node43_0.s('2d.visible',false);}
- if((0 )){Node43_1.s('2d.visible',true);}else{Node43_1.s('2d.visible',false);}
- if(typeof(Node44_0.borderWidth)!="undefined"){setDashStyle(Node44_0,"Node44_0",'NoDash',Node44_0.borderWidth);}
- if(typeof(Node44_1.borderWidth)!="undefined"){setDashStyle(Node44_1,"Node44_1",'NoDash',Node44_1.borderWidth);}
- if(typeof(Node44_2.borderWidth)!="undefined"){setDashStyle(Node44_2,"Node44_2",'NoDash',Node44_2.borderWidth);}
- if(typeof(Node44_3.borderWidth)!="undefined"){setDashStyle(Node44_3,"Node44_3",'NoDash',Node44_3.borderWidth);}
- if(typeof(Node44_4.borderWidth)!="undefined"){setDashStyle(Node44_4,"Node44_4",'NoDash',Node44_4.borderWidth);}
- if(typeof(Node44_5.borderWidth)!="undefined"){setDashStyle(Node44_5,"Node44_5",'NoDash',Node44_5.borderWidth);}
- if(typeof(Node44_6.borderWidth)!="undefined"){setDashStyle(Node44_6,"Node44_6",'NoDash',Node44_6.borderWidth);}
- if((0 )){Node45_0.s('2d.visible',true);}else{Node45_0.s('2d.visible',false);}
- if((0 )){Node45_1.s('2d.visible',true);}else{Node45_1.s('2d.visible',false);}
- if(typeof(Node46_0.borderWidth)!="undefined"){setDashStyle(Node46_0,"Node46_0",'NoDash',Node46_0.borderWidth);}
- if(typeof(Node46_1.borderWidth)!="undefined"){setDashStyle(Node46_1,"Node46_1",'NoDash',Node46_1.borderWidth);}
- if(typeof(Node46_2.borderWidth)!="undefined"){setDashStyle(Node46_2,"Node46_2",'NoDash',Node46_2.borderWidth);}
- if(typeof(Node46_3.borderWidth)!="undefined"){setDashStyle(Node46_3,"Node46_3",'NoDash',Node46_3.borderWidth);}
- if(typeof(Node46_4.borderWidth)!="undefined"){setDashStyle(Node46_4,"Node46_4",'NoDash',Node46_4.borderWidth);}
- if(typeof(Node46_5.borderWidth)!="undefined"){setDashStyle(Node46_5,"Node46_5",'NoDash',Node46_5.borderWidth);}
- if(typeof(Node46_6.borderWidth)!="undefined"){setDashStyle(Node46_6,"Node46_6",'NoDash',Node46_6.borderWidth);}
- if((0 )){Node47_0.s('2d.visible',true);}else{Node47_0.s('2d.visible',false);}
- if((0 )){Node47_1.s('2d.visible',true);}else{Node47_1.s('2d.visible',false);}
- if(typeof(Node48_0.borderWidth)!="undefined"){setDashStyle(Node48_0,"Node48_0",'NoDash',Node48_0.borderWidth);}
- if(typeof(Node48_1.borderWidth)!="undefined"){setDashStyle(Node48_1,"Node48_1",'NoDash',Node48_1.borderWidth);}
- if(typeof(Node48_2.borderWidth)!="undefined"){setDashStyle(Node48_2,"Node48_2",'NoDash',Node48_2.borderWidth);}
- if(typeof(Node48_3.borderWidth)!="undefined"){setDashStyle(Node48_3,"Node48_3",'NoDash',Node48_3.borderWidth);}
- if(typeof(Node48_4.borderWidth)!="undefined"){setDashStyle(Node48_4,"Node48_4",'NoDash',Node48_4.borderWidth);}
- if(typeof(Node48_5.borderWidth)!="undefined"){setDashStyle(Node48_5,"Node48_5",'NoDash',Node48_5.borderWidth);}
- if(typeof(Node48_6.borderWidth)!="undefined"){setDashStyle(Node48_6,"Node48_6",'NoDash',Node48_6.borderWidth);}
- if(typeof(Node50_0.borderWidth)!="undefined"){setDashStyle(Node50_0,"Node50_0",'NoDash',Node50_0.borderWidth);}
- if(typeof(Node50_1.borderWidth)!="undefined"){setDashStyle(Node50_1,"Node50_1",'NoDash',Node50_1.borderWidth);}
- if(typeof(Node50_2.borderWidth)!="undefined"){setDashStyle(Node50_2,"Node50_2",'NoDash',Node50_2.borderWidth);}
- if(typeof(Node50_3.borderWidth)!="undefined"){setDashStyle(Node50_3,"Node50_3",'NoDash',Node50_3.borderWidth);}
- if(typeof(Node50_4.borderWidth)!="undefined"){setDashStyle(Node50_4,"Node50_4",'NoDash',Node50_4.borderWidth);}
- if(typeof(Node50_5.borderWidth)!="undefined"){setDashStyle(Node50_5,"Node50_5",'NoDash',Node50_5.borderWidth);}
- if(typeof(Node50_6.borderWidth)!="undefined"){setDashStyle(Node50_6,"Node50_6",'NoDash',Node50_6.borderWidth);}
- if((0 )){Node61.s('2d.visible',true);}else{Node61.s('2d.visible',false);}
- if((0 )){Node64.s('2d.visible',true);}else{Node64.s('2d.visible',false);}
- if(typeof(Node94.borderWidth)!="undefined"){setDashStyle(Node94,"Node94",'NoDash',Node94.borderWidth);}
- if(typeof(Node95.borderWidth)!="undefined"){setDashStyle(Node95,"Node95",'NoDash',Node95.borderWidth);}
- if(typeof(Node96.borderWidth)!="undefined"){setDashStyle(Node96,"Node96",'NoDash',Node96.borderWidth);}
- if(typeof(Node97.borderWidth)!="undefined"){setDashStyle(Node97,"Node97",'NoDash',Node97.borderWidth);}
- if(typeof(Node98.borderWidth)!="undefined"){setDashStyle(Node98,"Node98",'NoDash',Node98.borderWidth);}
- if(typeof(Node99.borderWidth)!="undefined"){setDashStyle(Node99,"Node99",'NoDash',Node99.borderWidth);}
- if((0 )){Node108.s('2d.visible',true);}else{Node108.s('2d.visible',false);}
- if((0 )){Node111.s('2d.visible',true);}else{Node111.s('2d.visible',false);}
- if(typeof(Node141.borderWidth)!="undefined"){setDashStyle(Node141,"Node141",'NoDash',Node141.borderWidth);}
- if(typeof(Node142.borderWidth)!="undefined"){setDashStyle(Node142,"Node142",'NoDash',Node142.borderWidth);}
- if(typeof(Node143.borderWidth)!="undefined"){setDashStyle(Node143,"Node143",'NoDash',Node143.borderWidth);}
- if(typeof(Node144.borderWidth)!="undefined"){setDashStyle(Node144,"Node144",'NoDash',Node144.borderWidth);}
- if(typeof(Node145.borderWidth)!="undefined"){setDashStyle(Node145,"Node145",'NoDash',Node145.borderWidth);}
- if(typeof(Node146.borderWidth)!="undefined"){setDashStyle(Node146,"Node146",'NoDash',Node146.borderWidth);}
- if((0 )){Node155.s('2d.visible',true);}else{Node155.s('2d.visible',false);}
- if((0 )){Node158.s('2d.visible',true);}else{Node158.s('2d.visible',false);}
- if(typeof(Node188.borderWidth)!="undefined"){setDashStyle(Node188,"Node188",'NoDash',Node188.borderWidth);}
- if(typeof(Node189.borderWidth)!="undefined"){setDashStyle(Node189,"Node189",'NoDash',Node189.borderWidth);}
- if(typeof(Node190.borderWidth)!="undefined"){setDashStyle(Node190,"Node190",'NoDash',Node190.borderWidth);}
- if(typeof(Node191.borderWidth)!="undefined"){setDashStyle(Node191,"Node191",'NoDash',Node191.borderWidth);}
- if(typeof(Node192.borderWidth)!="undefined"){setDashStyle(Node192,"Node192",'NoDash',Node192.borderWidth);}
- if(typeof(Node193.borderWidth)!="undefined"){setDashStyle(Node193,"Node193",'NoDash',Node193.borderWidth);}
- if((0 )){Node202.s('2d.visible',true);}else{Node202.s('2d.visible',false);}
- if((0 )){Node205.s('2d.visible',true);}else{Node205.s('2d.visible',false);}
- if(typeof(Node235.borderWidth)!="undefined"){setDashStyle(Node235,"Node235",'NoDash',Node235.borderWidth);}
- if(typeof(Node236.borderWidth)!="undefined"){setDashStyle(Node236,"Node236",'NoDash',Node236.borderWidth);}
- if(typeof(Node237.borderWidth)!="undefined"){setDashStyle(Node237,"Node237",'NoDash',Node237.borderWidth);}
- if(typeof(Node238.borderWidth)!="undefined"){setDashStyle(Node238,"Node238",'NoDash',Node238.borderWidth);}
- if(typeof(Node239.borderWidth)!="undefined"){setDashStyle(Node239,"Node239",'NoDash',Node239.borderWidth);}
- if(typeof(Node240.borderWidth)!="undefined"){setDashStyle(Node240,"Node240",'NoDash',Node240.borderWidth);}
- if((0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);}
- if((0 )){Node252.s('2d.visible',true);}else{Node252.s('2d.visible',false);}
- if(typeof(Node286.borderWidth)!="undefined"){setDashStyle(Node286,"Node286",'NoDash',Node286.borderWidth);}
- if(typeof(Node287.borderWidth)!="undefined"){setDashStyle(Node287,"Node287",'NoDash',Node287.borderWidth);}
- if(typeof(Node288.borderWidth)!="undefined"){setDashStyle(Node288,"Node288",'NoDash',Node288.borderWidth);}
- if(typeof(Node289.borderWidth)!="undefined"){setDashStyle(Node289,"Node289",'NoDash',Node289.borderWidth);}
- if(typeof(Node290.borderWidth)!="undefined"){setDashStyle(Node290,"Node290",'NoDash',Node290.borderWidth);}
- if(typeof(Node291.borderWidth)!="undefined"){setDashStyle(Node291,"Node291",'NoDash',Node291.borderWidth);}
- if((0 )){Node301.s('2d.visible',true);}else{Node301.s('2d.visible',false);}
- if((0 )){Node304.s('2d.visible',true);}else{Node304.s('2d.visible',false);}
- if(typeof(Node334.borderWidth)!="undefined"){setDashStyle(Node334,"Node334",'NoDash',Node334.borderWidth);}
- if(typeof(Node335.borderWidth)!="undefined"){setDashStyle(Node335,"Node335",'NoDash',Node335.borderWidth);}
- if(typeof(Node336.borderWidth)!="undefined"){setDashStyle(Node336,"Node336",'NoDash',Node336.borderWidth);}
- if(typeof(Node337.borderWidth)!="undefined"){setDashStyle(Node337,"Node337",'NoDash',Node337.borderWidth);}
- if(typeof(Node338.borderWidth)!="undefined"){setDashStyle(Node338,"Node338",'NoDash',Node338.borderWidth);}
- if(typeof(Node339.borderWidth)!="undefined"){setDashStyle(Node339,"Node339",'NoDash',Node339.borderWidth);}
- if((0 )){Node348.s('2d.visible',true);}else{Node348.s('2d.visible',false);}
- if((0 )){Node351.s('2d.visible',true);}else{Node351.s('2d.visible',false);}
- if(typeof(Node382.borderWidth)!="undefined"){setDashStyle(Node382,"Node382",'NoDash',Node382.borderWidth);}
- if(typeof(Node385.borderWidth)!="undefined"){setDashStyle(Node385,"Node385",'NoDash',Node385.borderWidth);}
- if(typeof(Node387.borderWidth)!="undefined"){setDashStyle(Node387,"Node387",'NoDash',Node387.borderWidth);}
- if(typeof(Node389.borderWidth)!="undefined"){setDashStyle(Node389,"Node389",'NoDash',Node389.borderWidth);}
- if(typeof(Node434.borderWidth)!="undefined"){setDashStyle(Node434,"Node434",'NoDash',Node434.borderWidth);}
- if(typeof(Node449_0.borderWidth)!="undefined"){setDashStyle(Node449_0,"Node449_0",'NoDash',Node449_0.borderWidth);}
- if(typeof(Node449_1.borderWidth)!="undefined"){setDashStyle(Node449_1,"Node449_1",'NoDash',Node449_1.borderWidth);}
- if(typeof(Node449_2.borderWidth)!="undefined"){setDashStyle(Node449_2,"Node449_2",'NoDash',Node449_2.borderWidth);}
- if(typeof(Node449_3.borderWidth)!="undefined"){setDashStyle(Node449_3,"Node449_3",'NoDash',Node449_3.borderWidth);}
- if(typeof(Node449_4.borderWidth)!="undefined"){setDashStyle(Node449_4,"Node449_4",'NoDash',Node449_4.borderWidth);}
- if(typeof(Node449_5.borderWidth)!="undefined"){setDashStyle(Node449_5,"Node449_5",'NoDash',Node449_5.borderWidth);}
- if(typeof(Node449_6.borderWidth)!="undefined"){setDashStyle(Node449_6,"Node449_6",'NoDash',Node449_6.borderWidth);}
- if((0 )){Node450_0.s('2d.visible',true);}else{Node450_0.s('2d.visible',false);}
- if((0 )){Node450_1.s('2d.visible',true);}else{Node450_1.s('2d.visible',false);}
- if((0 )){Node451_0_0.s('2d.visible',true);}else{Node451_0_0.s('2d.visible',false);}
- if(typeof(Node451_1.borderWidth)!="undefined"){setDashStyle(Node451_1,"Node451_1",'LinePoint',Node451_1.borderWidth);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((sjgl==1)>0 )){Node31_0.s('2d.visible',true);}else{Node31_0.s('2d.visible',false);}}
- if((1 )>0) {if(((sjgl==1)>0 )){Node31_1.s('2d.visible',true);}else{Node31_1.s('2d.visible',false);}}
- if((1 )>0) {if(((yfgl==1)>0 )){Node32_0.s('2d.visible',true);}else{Node32_0.s('2d.visible',false);}}
- if((1 )>0) {if(((yfgl==1)>0 )){Node32_1.s('2d.visible',true);}else{Node32_1.s('2d.visible',false);}}
- if((1 )>0) {if(((rfdl==1)>0 )){Node33_0.s('2d.visible',true);}else{Node33_0.s('2d.visible',false);}}
- if((1 )>0) {if(((rfdl==1)>0 )){Node33_1.s('2d.visible',true);}else{Node33_1.s('2d.visible',false);}}
- if((1 )>0) {if(((yfdl==1)>0 )){Node35_0.s('2d.visible',true);}else{Node35_0.s('2d.visible',false);}}
- if((1 )>0) {if(((yfdl==1)>0 )){Node35_1.s('2d.visible',true);}else{Node35_1.s('2d.visible',false);}}
- if((1 )>0) {if(((ylyxx==1)>0 )){Node37_0.s('2d.visible',true);}else{Node37_0.s('2d.visible',false);}}
- if((1 )>0) {if(((ylyxx==1)>0 )){Node37_1.s('2d.visible',true);}else{Node37_1.s('2d.visible',false);}}
- if((1 )>0) {if(((nlyxs==1)>0 )){Node39_0.s('2d.visible',true);}else{Node39_0.s('2d.visible',false);}}
- if((1 )>0) {if(((nlyxs==1)>0 )){Node39_1.s('2d.visible',true);}else{Node39_1.s('2d.visible',false);}}
- if((1 )>0) {if(((llfdl==1)>0 )){Node41_0.s('2d.visible',true);}else{Node41_0.s('2d.visible',false);}}
- if((1 )>0) {if(((llfdl==1)>0 )){Node41_1.s('2d.visible',true);}else{Node41_1.s('2d.visible',false);}}
- if((1 )>0) {if(((whssdl==1)>0 )){Node43_0.s('2d.visible',true);}else{Node43_0.s('2d.visible',false);}}
- if((1 )>0) {if(((whssdl==1)>0 )){Node43_1.s('2d.visible',true);}else{Node43_1.s('2d.visible',false);}}
- if((1 )>0) {if(((gzssdl==1)>0 )){Node45_0.s('2d.visible',true);}else{Node45_0.s('2d.visible',false);}}
- if((1 )>0) {if(((gzssdl==1)>0 )){Node45_1.s('2d.visible',true);}else{Node45_1.s('2d.visible',false);}}
- if((1 )>0) {if(((xdssdl==1)>0 )){Node47_0.s('2d.visible',true);}else{Node47_0.s('2d.visible',false);}}
- if((1 )>0) {if(((xdssdl==1)>0 )){Node47_1.s('2d.visible',true);}else{Node47_1.s('2d.visible',false);}}
- if((1 )>0) {if(((slssdl==1)>0 )){Node49_0.s('2d.visible',true);}else{Node49_0.s('2d.visible',false);}}
- if((1 )>0) {if(((slssdl==1)>0 )){Node49_1.s('2d.visible',true);}else{Node49_1.s('2d.visible',false);}}
- if((1 )>0) {if(((xnssdl==1)>0 )){Node51_0.s('2d.visible',true);}else{Node51_0.s('2d.visible',false);}}
- if((1 )>0) {if(((xnssdl==1)>0 )){Node51_1.s('2d.visible',true);}else{Node51_1.s('2d.visible',false);}}
- if((1 )>0) {if(((nfdl==1)>0 )){Node450_0.s('2d.visible',true);}else{Node450_0.s('2d.visible',false);}}
- if((1 )>0) {if(((nfdl==1)>0 )){Node450_1.s('2d.visible',true);}else{Node450_1.s('2d.visible',false);}}
- if((1 )>0) {if(((fs==1)>0 )){Node451_0_0.s('2d.visible',true);}else{Node451_0_0.s('2d.visible',false);}}
- if((1 )>0) {if(((fs==1)>0 )){Node451_0_1.s('2d.visible',true);}else{Node451_0_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sy==1)>0 )){Node452.s('2d.visible',true);}else{Node452.s('2d.visible',false);}}
- if((1 )>0) {if(((sy==0)>0 )){Node453.s('2d.visible',true);}else{Node453.s('2d.visible',false);}}
- if((1 )>0) {if(((ldjsc==1)>0 )){Node454.s('2d.visible',true);}else{Node454.s('2d.visible',false);}}
- if((1 )>0) {if(((ldjsc==0)>0 )){Node455.s('2d.visible',true);}else{Node455.s('2d.visible',false);}}
- if((1 )>0) {if(((ztjs==1)>0 )){Node456.s('2d.visible',true);}else{Node456.s('2d.visible',false);}}
- if((1 )>0) {if(((ztjs==0)>0 )){Node457.s('2d.visible',true);}else{Node457.s('2d.visible',false);}}
- if((1 )>0) {if(((sbjz==1)>0 )){Node458.s('2d.visible',true);}else{Node458.s('2d.visible',false);}}
- if((1 )>0) {if(((sbjz==0)>0 )){Node459.s('2d.visible',true);}else{Node459.s('2d.visible',false);}}
- if((1 )>0) {if(((xnfx==1)>0 )){Node460.s('2d.visible',true);}else{Node460.s('2d.visible',false);}}
- if((1 )>0) {if(((xnfx==0)>0 )){Node461.s('2d.visible',true);}else{Node461.s('2d.visible',false);}}
- if((1 )>0) {if(((pjgl==1)>0 )){Node462.s('2d.visible',true);}else{Node462.s('2d.visible',false);}}
- if((1 )>0) {if(((pjgl==0)>0 )){Node463.s('2d.visible',true);}else{Node463.s('2d.visible',false);}}
- if((1 )>0) {if(((zbph==1)>0 )){Node464.s('2d.visible',true);}else{Node464.s('2d.visible',false);}}
- if((1 )>0) {if(((zbph==0)>0 )){Node465.s('2d.visible',true);}else{Node465.s('2d.visible',false);}}
- if((1 )>0) {if(((dbgl==1)>0 )){Node466.s('2d.visible',true);}else{Node466.s('2d.visible',false);}}
- if((1 )>0) {if(((dbgl==0)>0 )){Node467.s('2d.visible',true);}else{Node467.s('2d.visible',false);}}
- if((1 )>0) {if(((bjzx==1)>0 )){Node468.s('2d.visible',true);}else{Node468.s('2d.visible',false);}}
- if((1 )>0) {if(((bjzx==0)>0 )){Node469.s('2d.visible',true);}else{Node469.s('2d.visible',false);}}
- if((1 )>0) {if(((jrjs==1)>0 )){Node470.s('2d.visible',true);}else{Node470.s('2d.visible',false);}}
- if((1 )>0) {if(((jrjs==0)>0 )){Node471.s('2d.visible',true);}else{Node471.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();
- Node55_chart.setOption({series: { data: [0]}});
- Node282_chart.setOption({series: { data: [0]}});
- Node283_chart.setOption({series: { data: [0]}});
- Node284_chart.setOption({series: { data: [0]}});
- Node285_chart.setOption({series: { data: [0]}});
- Node295_chart.setOption({series: { data: [0]}});
- Node381_chart.setOption({series: { data: [0]}});
- Node387_chart.setOption({series: { data: [{value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}]}});
- Node434_chart.setOption({series: { data: [{value:getVarValue('10'), name:'一',itemStyle: {normal:{color:'rgba(0,132,235,1)'}}},{value:getVarValue('20'), name:'二',itemStyle: {normal:{color:'rgba(60,184,254,1)'}}},{value:getVarValue('30'), name:'三',itemStyle: {normal:{color:'rgba(255,115,20,1)'}}},{value:getVarValue('202,+''+32,+'32'), name:'四',itemStyle: {normal:{color:'rgba(202,32,32,1)'}}},{value:getVarValue('8'), name:'五',itemStyle: {normal:{color:'rgba(172,56,137,1)'}}},{value:getVarValue('12'), name:'六',itemStyle: {normal:{color:'rgba(1,212,135,1)'}}},{value:getVarValue('3'), name:'七',itemStyle: {normal:{color:'rgba(173,173,173,1)'}}}]}});
- /*@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;
- }
- /*@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 !== Node31_0&& objMouseOn===Node31_0){sjgl=0; }
- if(data !== Node31_1&& objMouseOn===Node31_1){sjgl=0; }
- if(data !== Node32_0&& objMouseOn===Node32_0){yfgl=0; }
- if(data !== Node32_1&& objMouseOn===Node32_1){yfgl=0; }
- if(data !== Node33_0&& objMouseOn===Node33_0){rfdl=0; }
- if(data !== Node33_1&& objMouseOn===Node33_1){rfdl=0; }
- if(data !== Node35_0&& objMouseOn===Node35_0){yfdl=0; }
- if(data !== Node35_1&& objMouseOn===Node35_1){yfdl=0; }
- if(data !== Node37_0&& objMouseOn===Node37_0){ylyxx=0; }
- if(data !== Node37_1&& objMouseOn===Node37_1){ylyxx=0; }
- if(data !== Node39_0&& objMouseOn===Node39_0){nlyxs=0; }
- if(data !== Node39_1&& objMouseOn===Node39_1){nlyxs=0; }
- if(data !== Node41_0&& objMouseOn===Node41_0){llfdl=0; }
- if(data !== Node41_1&& objMouseOn===Node41_1){llfdl=0; }
- if(data !== Node43_0&& objMouseOn===Node43_0){whssdl=0; }
- if(data !== Node43_1&& objMouseOn===Node43_1){whssdl=0; }
- if(data !== Node45_0&& objMouseOn===Node45_0){gzssdl=0; }
- if(data !== Node45_1&& objMouseOn===Node45_1){gzssdl=0; }
- if(data !== Node47_0&& objMouseOn===Node47_0){xdssdl=0; }
- if(data !== Node47_1&& objMouseOn===Node47_1){xdssdl=0; }
- if(data !== Node49_0&& objMouseOn===Node49_0){slssdl=0; }
- if(data !== Node49_1&& objMouseOn===Node49_1){slssdl=0; }
- if(data !== Node51_0&& objMouseOn===Node51_0){xnssdl=0; }
- if(data !== Node51_1&& objMouseOn===Node51_1){xnssdl=0; }
- if(data !== Node61&& objMouseOn===Node61){Node55.s('2d.visible',false); }
- if(data !== Node61&& objMouseOn===Node61){Node56.s('2d.visible',true); }
- if(data !== Node64&& objMouseOn===Node64){Node58.s('2d.visible',false); }
- if(data !== Node64&& objMouseOn===Node64){Node59.s('2d.visible',true); }
- if(data !== Node108&& objMouseOn===Node108){Node55.s('2d.visible',false); }
- if(data !== Node108&& objMouseOn===Node108){Node56.s('2d.visible',true); }
- if(data !== Node111&& objMouseOn===Node111){Node58.s('2d.visible',false); }
- if(data !== Node111&& objMouseOn===Node111){Node59.s('2d.visible',true); }
- if(data !== Node155&& objMouseOn===Node155){Node55.s('2d.visible',false); }
- if(data !== Node155&& objMouseOn===Node155){Node56.s('2d.visible',true); }
- if(data !== Node158&& objMouseOn===Node158){Node58.s('2d.visible',false); }
- if(data !== Node158&& objMouseOn===Node158){Node59.s('2d.visible',true); }
- if(data !== Node202&& objMouseOn===Node202){Node55.s('2d.visible',false); }
- if(data !== Node202&& objMouseOn===Node202){Node56.s('2d.visible',true); }
- if(data !== Node205&& objMouseOn===Node205){Node58.s('2d.visible',false); }
- if(data !== Node205&& objMouseOn===Node205){Node59.s('2d.visible',true); }
- if(data !== Node249&& objMouseOn===Node249){Node55.s('2d.visible',false); }
- if(data !== Node249&& objMouseOn===Node249){Node56.s('2d.visible',true); }
- if(data !== Node252&& objMouseOn===Node252){Node58.s('2d.visible',false); }
- if(data !== Node252&& objMouseOn===Node252){Node59.s('2d.visible',true); }
- if(data !== Node301&& objMouseOn===Node301){Node55.s('2d.visible',false); }
- if(data !== Node301&& objMouseOn===Node301){Node56.s('2d.visible',true); }
- if(data !== Node304&& objMouseOn===Node304){Node58.s('2d.visible',false); }
- if(data !== Node304&& objMouseOn===Node304){Node59.s('2d.visible',true); }
- if(data !== Node348&& objMouseOn===Node348){Node55.s('2d.visible',false); }
- if(data !== Node348&& objMouseOn===Node348){Node56.s('2d.visible',true); }
- if(data !== Node351&& objMouseOn===Node351){Node58.s('2d.visible',false); }
- if(data !== Node351&& objMouseOn===Node351){Node59.s('2d.visible',true); }
- if(data !== Node450_0&& objMouseOn===Node450_0){nfdl=0; }
- if(data !== Node450_1&& objMouseOn===Node450_1){nfdl=0; }
- if(data !== Node451_0_0&& objMouseOn===Node451_0_0){fs=0; }
- if(data !== Node451_0_1&& objMouseOn===Node451_0_1){fs=0; }
- if(data !== Node452&& objMouseOn===Node452){sy=0; }
- if(data !== Node454&& objMouseOn===Node454){ldjsc=0; }
- if(data !== Node456&& objMouseOn===Node456){ztjs=0; }
- if(data !== Node458&& objMouseOn===Node458){sbjz=0; }
- if(data !== Node460&& objMouseOn===Node460){xnfx=0; }
- if(data !== Node462&& objMouseOn===Node462){pjgl=0; }
- if(data !== Node464&& objMouseOn===Node464){zbph=0; }
- if(data !== Node466&& objMouseOn===Node466){dbgl=0; }
- if(data !== Node468&& objMouseOn===Node468){bjzx=0; }
- if(data !== Node470&& objMouseOn===Node470){jrjs=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 === Node27_0){fs=1; }
- if(data === Node27_1){fs=1; }
- if(data === Node27_2){fs=1; }
- if(data === Node27_3){fs=1; }
- if(data === Node27_4){fs=1; }
- if(data === Node27_5){fs=1; }
- if(data === Node27_6){fs=1; }
- if(data === Node27_7){fs=1; }
- if(data === Node27_8){fs=1; }
- if(data === Node27_9){fs=1; }
- if(data === Node27_10){fs=1; }
- if(data === Node27_11){fs=1; }
- if(data === Node27_12){fs=1; }
- if(data === Node27_13){fs=1; }
- if(data === Node27_14){fs=1; }
- if(data === Node27_15){fs=1; }
- if(data === Node27_16){fs=1; }
- if(data === Node27_17){fs=1; }
- if(data === Node27_18){fs=1; }
- if(data === Node28_0){sjgl=1; }
- if(data === Node28_1){sjgl=1; }
- if(data === Node28_2){sjgl=1; }
- if(data === Node28_3){sjgl=1; }
- if(data === Node28_4){sjgl=1; }
- if(data === Node28_5){sjgl=1; }
- if(data === Node28_6){sjgl=1; }
- if(data === Node28_7){sjgl=1; }
- if(data === Node28_8){sjgl=1; }
- if(data === Node28_9){sjgl=1; }
- if(data === Node28_10){sjgl=1; }
- if(data === Node28_11){sjgl=1; }
- if(data === Node28_12){sjgl=1; }
- if(data === Node28_13){sjgl=1; }
- if(data === Node28_14){sjgl=1; }
- if(data === Node28_15){sjgl=1; }
- if(data === Node28_16){sjgl=1; }
- if(data === Node28_17){sjgl=1; }
- if(data === Node29_0){yfgl=1; }
- if(data === Node29_1){yfgl=1; }
- if(data === Node29_2){yfgl=1; }
- if(data === Node29_3){yfgl=1; }
- if(data === Node29_4){yfgl=1; }
- if(data === Node29_5){yfgl=1; }
- if(data === Node29_6){yfgl=1; }
- if(data === Node29_7){yfgl=1; }
- if(data === Node29_8){yfgl=1; }
- if(data === Node29_9){yfgl=1; }
- if(data === Node29_10){yfgl=1; }
- if(data === Node29_11){yfgl=1; }
- if(data === Node29_12){yfgl=1; }
- if(data === Node29_13){yfgl=1; }
- if(data === Node29_14){yfgl=1; }
- if(data === Node29_15){yfgl=1; }
- if(data === Node29_16){yfgl=1; }
- if(data === Node29_17){yfgl=1; }
- if(data === Node29_18){yfgl=1; }
- if(data === Node29_19){yfgl=1; }
- if(data === Node30_0){rfdl=1; }
- if(data === Node30_1){rfdl=1; }
- if(data === Node30_2){rfdl=1; }
- if(data === Node30_3){rfdl=1; }
- if(data === Node30_4){rfdl=1; }
- if(data === Node30_5){rfdl=1; }
- if(data === Node30_6){rfdl=1; }
- if(data === Node30_7){rfdl=1; }
- if(data === Node30_8){rfdl=1; }
- if(data === Node30_9){rfdl=1; }
- if(data === Node30_10){rfdl=1; }
- if(data === Node30_11){rfdl=1; }
- if(data === Node30_12){rfdl=1; }
- if(data === Node30_13){rfdl=1; }
- if(data === Node30_14){rfdl=1; }
- if(data === Node30_15){rfdl=1; }
- if(data === Node30_16){rfdl=1; }
- if(data === Node30_17){rfdl=1; }
- if(data === Node34_0){yfdl=1; }
- if(data === Node34_1){yfdl=1; }
- if(data === Node34_2){yfdl=1; }
- if(data === Node34_3){yfdl=1; }
- if(data === Node34_4){yfdl=1; }
- if(data === Node34_5){yfdl=1; }
- if(data === Node34_6){yfdl=1; }
- if(data === Node34_7){yfdl=1; }
- if(data === Node34_8){yfdl=1; }
- if(data === Node34_9){yfdl=1; }
- if(data === Node34_10){yfdl=1; }
- if(data === Node34_11){yfdl=1; }
- if(data === Node34_12){yfdl=1; }
- if(data === Node34_13){yfdl=1; }
- if(data === Node34_14){yfdl=1; }
- if(data === Node34_15){yfdl=1; }
- if(data === Node34_16){yfdl=1; }
- if(data === Node34_17){yfdl=1; }
- if(data === Node36_0){ylyxx=1; }
- if(data === Node36_1){ylyxx=1; }
- if(data === Node36_2){ylyxx=1; }
- if(data === Node36_3){ylyxx=1; }
- if(data === Node36_4){ylyxx=1; }
- if(data === Node36_5){ylyxx=1; }
- if(data === Node36_6){ylyxx=1; }
- if(data === Node36_7){ylyxx=1; }
- if(data === Node36_8){ylyxx=1; }
- if(data === Node36_9){ylyxx=1; }
- if(data === Node36_10){ylyxx=1; }
- if(data === Node36_11){ylyxx=1; }
- if(data === Node36_12){ylyxx=1; }
- if(data === Node36_13){ylyxx=1; }
- if(data === Node36_14){ylyxx=1; }
- if(data === Node36_15){ylyxx=1; }
- if(data === Node36_16){ylyxx=1; }
- if(data === Node36_17){ylyxx=1; }
- if(data === Node38_0){nlyxs=1; }
- if(data === Node38_1){nlyxs=1; }
- if(data === Node38_2){nlyxs=1; }
- if(data === Node38_3){nlyxs=1; }
- if(data === Node38_4){nlyxs=1; }
- if(data === Node38_5){nlyxs=1; }
- if(data === Node38_6){nlyxs=1; }
- if(data === Node38_7){nlyxs=1; }
- if(data === Node38_8){nlyxs=1; }
- if(data === Node38_9){nlyxs=1; }
- if(data === Node38_10){nlyxs=1; }
- if(data === Node38_11){nlyxs=1; }
- if(data === Node38_12){nlyxs=1; }
- if(data === Node38_13){nlyxs=1; }
- if(data === Node38_14){nlyxs=1; }
- if(data === Node38_15){nlyxs=1; }
- if(data === Node38_16){nlyxs=1; }
- if(data === Node38_17){nlyxs=1; }
- if(data === Node40_0){llfdl=1; }
- if(data === Node40_1){llfdl=1; }
- if(data === Node40_2){llfdl=1; }
- if(data === Node40_3){llfdl=1; }
- if(data === Node40_4){llfdl=1; }
- if(data === Node40_5){llfdl=1; }
- if(data === Node40_6){llfdl=1; }
- if(data === Node40_7){llfdl=1; }
- if(data === Node40_8){llfdl=1; }
- if(data === Node40_9){llfdl=1; }
- if(data === Node40_10){llfdl=1; }
- if(data === Node40_11){llfdl=1; }
- if(data === Node40_12){llfdl=1; }
- if(data === Node40_13){llfdl=1; }
- if(data === Node40_14){llfdl=1; }
- if(data === Node40_15){llfdl=1; }
- if(data === Node40_16){llfdl=1; }
- if(data === Node40_17){llfdl=1; }
- if(data === Node42_0){whssdl=1; }
- if(data === Node42_1){whssdl=1; }
- if(data === Node42_2){whssdl=1; }
- if(data === Node42_3){whssdl=1; }
- if(data === Node42_4){whssdl=1; }
- if(data === Node42_5){whssdl=1; }
- if(data === Node42_6){whssdl=1; }
- if(data === Node42_7){whssdl=1; }
- if(data === Node42_8){whssdl=1; }
- if(data === Node42_9){whssdl=1; }
- if(data === Node42_10){whssdl=1; }
- if(data === Node42_11){whssdl=1; }
- if(data === Node42_12){whssdl=1; }
- if(data === Node42_13){whssdl=1; }
- if(data === Node42_14){whssdl=1; }
- if(data === Node42_15){whssdl=1; }
- if(data === Node42_16){whssdl=1; }
- if(data === Node42_17){whssdl=1; }
- if(data === Node44_0){gzssdl=1; }
- if(data === Node44_1){gzssdl=1; }
- if(data === Node44_2){gzssdl=1; }
- if(data === Node44_3){gzssdl=1; }
- if(data === Node44_4){gzssdl=1; }
- if(data === Node44_5){gzssdl=1; }
- if(data === Node44_6){gzssdl=1; }
- if(data === Node44_7){gzssdl=1; }
- if(data === Node44_8){gzssdl=1; }
- if(data === Node44_9){gzssdl=1; }
- if(data === Node44_10){gzssdl=1; }
- if(data === Node44_11){gzssdl=1; }
- if(data === Node44_12){gzssdl=1; }
- if(data === Node44_13){gzssdl=1; }
- if(data === Node44_14){gzssdl=1; }
- if(data === Node44_15){gzssdl=1; }
- if(data === Node44_16){gzssdl=1; }
- if(data === Node44_17){gzssdl=1; }
- if(data === Node46_0){xdssdl=1; }
- if(data === Node46_1){xdssdl=1; }
- if(data === Node46_2){xdssdl=1; }
- if(data === Node46_3){xdssdl=1; }
- if(data === Node46_4){xdssdl=1; }
- if(data === Node46_5){xdssdl=1; }
- if(data === Node46_6){xdssdl=1; }
- if(data === Node46_7){xdssdl=1; }
- if(data === Node46_8){xdssdl=1; }
- if(data === Node46_9){xdssdl=1; }
- if(data === Node46_10){xdssdl=1; }
- if(data === Node46_11){xdssdl=1; }
- if(data === Node46_12){xdssdl=1; }
- if(data === Node46_13){xdssdl=1; }
- if(data === Node46_14){xdssdl=1; }
- if(data === Node46_15){xdssdl=1; }
- if(data === Node46_16){xdssdl=1; }
- if(data === Node46_17){xdssdl=1; }
- if(data === Node48_0){slssdl=1; }
- if(data === Node48_1){slssdl=1; }
- if(data === Node48_2){slssdl=1; }
- if(data === Node48_3){slssdl=1; }
- if(data === Node48_4){slssdl=1; }
- if(data === Node48_5){slssdl=1; }
- if(data === Node48_6){slssdl=1; }
- if(data === Node48_7){slssdl=1; }
- if(data === Node48_8){slssdl=1; }
- if(data === Node48_9){slssdl=1; }
- if(data === Node48_10){slssdl=1; }
- if(data === Node48_11){slssdl=1; }
- if(data === Node48_12){slssdl=1; }
- if(data === Node48_13){slssdl=1; }
- if(data === Node48_14){slssdl=1; }
- if(data === Node48_15){slssdl=1; }
- if(data === Node48_16){slssdl=1; }
- if(data === Node48_17){slssdl=1; }
- if(data === Node50_0){xnssdl=1; }
- if(data === Node50_1){xnssdl=1; }
- if(data === Node50_2){xnssdl=1; }
- if(data === Node50_3){xnssdl=1; }
- if(data === Node50_4){xnssdl=1; }
- if(data === Node50_5){xnssdl=1; }
- if(data === Node50_6){xnssdl=1; }
- if(data === Node50_7){xnssdl=1; }
- if(data === Node50_8){xnssdl=1; }
- if(data === Node50_9){xnssdl=1; }
- if(data === Node50_10){xnssdl=1; }
- if(data === Node50_11){xnssdl=1; }
- if(data === Node50_12){xnssdl=1; }
- if(data === Node50_13){xnssdl=1; }
- if(data === Node50_14){xnssdl=1; }
- if(data === Node50_15){xnssdl=1; }
- if(data === Node50_16){xnssdl=1; }
- if(data === Node50_17){xnssdl=1; }
- if(data === Node62){Node56.s('2d.visible',false); }
- if(data === Node62){Node55.s('2d.visible',true); }
- if(data === Node65){Node59.s('2d.visible',false); }
- if(data === Node65){Node58.s('2d.visible',true); }
- if(data === Node109){Node56.s('2d.visible',false); }
- if(data === Node109){Node55.s('2d.visible',true); }
- if(data === Node112){Node59.s('2d.visible',false); }
- if(data === Node112){Node58.s('2d.visible',true); }
- if(data === Node156){Node56.s('2d.visible',false); }
- if(data === Node156){Node55.s('2d.visible',true); }
- if(data === Node159){Node59.s('2d.visible',false); }
- if(data === Node159){Node58.s('2d.visible',true); }
- if(data === Node203){Node56.s('2d.visible',false); }
- if(data === Node203){Node55.s('2d.visible',true); }
- if(data === Node206){Node59.s('2d.visible',false); }
- if(data === Node206){Node58.s('2d.visible',true); }
- if(data === Node250){Node56.s('2d.visible',false); }
- if(data === Node250){Node55.s('2d.visible',true); }
- if(data === Node253){Node59.s('2d.visible',false); }
- if(data === Node253){Node58.s('2d.visible',true); }
- if(data === Node302){Node56.s('2d.visible',false); }
- if(data === Node302){Node55.s('2d.visible',true); }
- if(data === Node305){Node59.s('2d.visible',false); }
- if(data === Node305){Node58.s('2d.visible',true); }
- if(data === Node349){Node56.s('2d.visible',false); }
- if(data === Node349){Node55.s('2d.visible',true); }
- if(data === Node352){Node59.s('2d.visible',false); }
- if(data === Node352){Node58.s('2d.visible',true); }
- if(data === Node449_0){nfdl=1; }
- if(data === Node449_1){nfdl=1; }
- if(data === Node449_2){nfdl=1; }
- if(data === Node449_3){nfdl=1; }
- if(data === Node449_4){nfdl=1; }
- if(data === Node449_5){nfdl=1; }
- if(data === Node449_6){nfdl=1; }
- if(data === Node449_7){nfdl=1; }
- if(data === Node449_8){nfdl=1; }
- if(data === Node449_9){nfdl=1; }
- if(data === Node449_10){nfdl=1; }
- if(data === Node449_11){nfdl=1; }
- if(data === Node449_12){nfdl=1; }
- if(data === Node449_13){nfdl=1; }
- if(data === Node449_14){nfdl=1; }
- if(data === Node449_15){nfdl=1; }
- if(data === Node449_16){nfdl=1; }
- if(data === Node449_17){nfdl=1; }
- if(data === Node453){sy=1; }
- if(data === Node455){ldjsc=1; }
- if(data === Node457){ztjs=1; }
- if(data === Node459){sbjz=1; }
- if(data === Node461){xnfx=1; }
- if(data === Node463){pjgl=1; }
- if(data === Node465){zbph=1; }
- if(data === Node467){dbgl=1; }
- if(data === Node469){bjzx=1; }
- if(data === Node471){jrjs=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();
- }
- })();
-
- })();
- }
|