12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263292642926529266292672926829269292702927129272292732927429275292762927729278292792928029281292822928329284292852928629287292882928929290292912929229293292942929529296292972929829299293002930129302293032930429305293062930729308293092931029311293122931329314293152931629317293182931929320293212932229323293242932529326293272932829329293302933129332293332933429335293362933729338293392934029341293422934329344293452934629347293482934929350293512935229353293542935529356293572935829359293602936129362293632936429365293662936729368293692937029371293722937329374293752937629377293782937929380293812938229383293842938529386293872938829389293902939129392293932939429395293962939729398293992940029401294022940329404294052940629407294082940929410294112941229413294142941529416294172941829419294202942129422294232942429425294262942729428294292943029431294322943329434294352943629437294382943929440294412944229443294442944529446294472944829449294502945129452294532945429455294562945729458294592946029461294622946329464294652946629467294682946929470294712947229473294742947529476294772947829479294802948129482294832948429485294862948729488294892949029491294922949329494294952949629497294982949929500295012950229503295042950529506295072950829509295102951129512295132951429515295162951729518295192952029521295222952329524295252952629527295282952929530295312953229533295342953529536295372953829539295402954129542295432954429545295462954729548295492955029551295522955329554295552955629557295582955929560295612956229563295642956529566295672956829569295702957129572295732957429575295762957729578295792958029581295822958329584295852958629587295882958929590295912959229593295942959529596295972959829599296002960129602296032960429605296062960729608296092961029611296122961329614296152961629617296182961929620296212962229623296242962529626296272962829629296302963129632296332963429635296362963729638296392964029641296422964329644296452964629647296482964929650296512965229653296542965529656296572965829659296602966129662296632966429665296662966729668296692967029671296722967329674296752967629677296782967929680296812968229683296842968529686296872968829689296902969129692296932969429695296962969729698296992970029701297022970329704297052970629707297082970929710297112971229713297142971529716297172971829719297202972129722297232972429725297262972729728297292973029731297322973329734297352973629737297382973929740297412974229743297442974529746297472974829749297502975129752297532975429755297562975729758297592976029761297622976329764297652976629767297682976929770297712977229773297742977529776297772977829779297802978129782297832978429785297862978729788297892979029791297922979329794297952979629797297982979929800298012980229803298042980529806298072980829809298102981129812298132981429815298162981729818298192982029821298222982329824298252982629827298282982929830298312983229833298342983529836298372983829839298402984129842298432984429845298462984729848298492985029851298522985329854298552985629857298582985929860298612986229863298642986529866298672986829869298702987129872298732987429875298762987729878298792988029881298822988329884298852988629887298882988929890298912989229893298942989529896298972989829899299002990129902299032990429905299062990729908299092991029911299122991329914299152991629917299182991929920299212992229923299242992529926299272992829929299302993129932299332993429935299362993729938299392994029941299422994329944299452994629947299482994929950299512995229953299542995529956299572995829959299602996129962299632996429965299662996729968299692997029971299722997329974299752997629977299782997929980299812998229983299842998529986299872998829989299902999129992299932999429995299962999729998299993000030001300023000330004300053000630007300083000930010300113001230013300143001530016300173001830019300203002130022300233002430025300263002730028300293003030031300323003330034300353003630037300383003930040300413004230043300443004530046300473004830049300503005130052300533005430055300563005730058300593006030061300623006330064300653006630067300683006930070300713007230073300743007530076300773007830079300803008130082300833008430085300863008730088300893009030091300923009330094300953009630097300983009930100301013010230103301043010530106301073010830109301103011130112301133011430115301163011730118301193012030121301223012330124301253012630127301283012930130301313013230133301343013530136301373013830139301403014130142301433014430145301463014730148301493015030151301523015330154301553015630157301583015930160301613016230163301643016530166301673016830169301703017130172301733017430175301763017730178301793018030181301823018330184301853018630187301883018930190301913019230193301943019530196301973019830199302003020130202302033020430205302063020730208302093021030211302123021330214302153021630217302183021930220302213022230223302243022530226302273022830229302303023130232302333023430235302363023730238302393024030241302423024330244302453024630247302483024930250302513025230253302543025530256302573025830259302603026130262302633026430265302663026730268302693027030271302723027330274302753027630277302783027930280302813028230283302843028530286302873028830289302903029130292302933029430295302963029730298302993030030301303023030330304303053030630307303083030930310303113031230313303143031530316303173031830319303203032130322303233032430325303263032730328303293033030331303323033330334303353033630337303383033930340303413034230343303443034530346303473034830349303503035130352303533035430355303563035730358303593036030361303623036330364303653036630367303683036930370303713037230373303743037530376303773037830379303803038130382303833038430385303863038730388303893039030391303923039330394303953039630397303983039930400304013040230403304043040530406304073040830409304103041130412304133041430415304163041730418304193042030421304223042330424304253042630427304283042930430304313043230433304343043530436304373043830439304403044130442304433044430445304463044730448304493045030451304523045330454304553045630457304583045930460304613046230463304643046530466304673046830469304703047130472304733047430475304763047730478304793048030481304823048330484304853048630487304883048930490304913049230493304943049530496304973049830499305003050130502305033050430505305063050730508305093051030511305123051330514305153051630517305183051930520305213052230523305243052530526305273052830529305303053130532305333053430535305363053730538305393054030541305423054330544305453054630547305483054930550305513055230553305543055530556305573055830559305603056130562305633056430565305663056730568305693057030571305723057330574305753057630577305783057930580305813058230583305843058530586305873058830589305903059130592305933059430595305963059730598305993060030601306023060330604306053060630607306083060930610306113061230613306143061530616306173061830619306203062130622306233062430625306263062730628306293063030631306323063330634306353063630637306383063930640306413064230643306443064530646306473064830649306503065130652306533065430655306563065730658306593066030661306623066330664306653066630667306683066930670306713067230673306743067530676306773067830679306803068130682306833068430685306863068730688306893069030691306923069330694306953069630697306983069930700307013070230703307043070530706307073070830709307103071130712307133071430715307163071730718307193072030721307223072330724307253072630727307283072930730307313073230733307343073530736307373073830739307403074130742307433074430745307463074730748307493075030751307523075330754307553075630757307583075930760307613076230763307643076530766307673076830769307703077130772307733077430775307763077730778307793078030781307823078330784307853078630787307883078930790307913079230793307943079530796307973079830799308003080130802308033080430805308063080730808308093081030811308123081330814308153081630817308183081930820308213082230823308243082530826308273082830829308303083130832308333083430835308363083730838308393084030841308423084330844308453084630847308483084930850308513085230853308543085530856308573085830859308603086130862308633086430865308663086730868308693087030871308723087330874308753087630877308783087930880308813088230883308843088530886308873088830889308903089130892308933089430895308963089730898308993090030901309023090330904309053090630907309083090930910309113091230913309143091530916309173091830919309203092130922309233092430925309263092730928309293093030931309323093330934309353093630937309383093930940309413094230943309443094530946309473094830949309503095130952309533095430955309563095730958309593096030961309623096330964309653096630967309683096930970309713097230973309743097530976309773097830979309803098130982309833098430985309863098730988309893099030991309923099330994309953099630997309983099931000310013100231003310043100531006310073100831009310103101131012310133101431015310163101731018310193102031021310223102331024310253102631027310283102931030310313103231033310343103531036310373103831039310403104131042310433104431045310463104731048310493105031051310523105331054310553105631057310583105931060310613106231063310643106531066310673106831069310703107131072310733107431075310763107731078310793108031081310823108331084310853108631087310883108931090310913109231093310943109531096310973109831099311003110131102311033110431105311063110731108311093111031111311123111331114311153111631117311183111931120311213112231123311243112531126311273112831129311303113131132311333113431135311363113731138311393114031141311423114331144311453114631147311483114931150311513115231153311543115531156311573115831159311603116131162311633116431165311663116731168311693117031171311723117331174311753117631177311783117931180311813118231183311843118531186311873118831189311903119131192311933119431195311963119731198311993120031201312023120331204312053120631207312083120931210312113121231213312143121531216312173121831219312203122131222312233122431225312263122731228312293123031231312323123331234312353123631237312383123931240312413124231243312443124531246312473124831249312503125131252312533125431255312563125731258312593126031261312623126331264312653126631267312683126931270312713127231273312743127531276312773127831279312803128131282312833128431285312863128731288312893129031291312923129331294312953129631297312983129931300313013130231303313043130531306313073130831309313103131131312313133131431315313163131731318313193132031321313223132331324313253132631327313283132931330313313133231333313343133531336313373133831339313403134131342313433134431345313463134731348313493135031351313523135331354313553135631357313583135931360313613136231363313643136531366313673136831369313703137131372313733137431375313763137731378313793138031381313823138331384313853138631387313883138931390313913139231393313943139531396313973139831399314003140131402314033140431405314063140731408314093141031411314123141331414314153141631417314183141931420314213142231423314243142531426314273142831429314303143131432314333143431435314363143731438314393144031441314423144331444314453144631447314483144931450314513145231453314543145531456314573145831459314603146131462314633146431465314663146731468314693147031471314723147331474314753147631477314783147931480314813148231483314843148531486314873148831489314903149131492314933149431495314963149731498314993150031501315023150331504315053150631507315083150931510315113151231513315143151531516315173151831519315203152131522315233152431525315263152731528315293153031531315323153331534315353153631537315383153931540315413154231543315443154531546315473154831549315503155131552315533155431555315563155731558315593156031561315623156331564315653156631567315683156931570315713157231573315743157531576315773157831579315803158131582315833158431585315863158731588315893159031591315923159331594315953159631597315983159931600316013160231603316043160531606316073160831609316103161131612316133161431615316163161731618316193162031621316223162331624316253162631627316283162931630316313163231633316343163531636316373163831639316403164131642316433164431645316463164731648316493165031651316523165331654316553165631657316583165931660316613166231663316643166531666316673166831669316703167131672316733167431675316763167731678316793168031681316823168331684316853168631687316883168931690316913169231693316943169531696316973169831699317003170131702317033170431705317063170731708317093171031711317123171331714317153171631717317183171931720317213172231723317243172531726317273172831729317303173131732317333173431735317363173731738317393174031741317423174331744317453174631747317483174931750317513175231753317543175531756317573175831759317603176131762317633176431765317663176731768317693177031771317723177331774317753177631777317783177931780317813178231783317843178531786317873178831789317903179131792317933179431795317963179731798317993180031801318023180331804318053180631807318083180931810318113181231813318143181531816318173181831819318203182131822318233182431825318263182731828318293183031831318323183331834318353183631837318383183931840318413184231843318443184531846318473184831849318503185131852318533185431855318563185731858318593186031861318623186331864318653186631867318683186931870318713187231873318743187531876318773187831879318803188131882318833188431885318863188731888318893189031891318923189331894318953189631897318983189931900319013190231903319043190531906319073190831909319103191131912319133191431915319163191731918319193192031921319223192331924319253192631927319283192931930319313193231933319343193531936319373193831939319403194131942319433194431945319463194731948319493195031951319523195331954319553195631957319583195931960319613196231963319643196531966319673196831969319703197131972319733197431975319763197731978319793198031981319823198331984319853198631987319883198931990319913199231993319943199531996319973199831999320003200132002320033200432005320063200732008320093201032011320123201332014320153201632017320183201932020320213202232023320243202532026320273202832029320303203132032320333203432035320363203732038320393204032041320423204332044320453204632047320483204932050320513205232053320543205532056320573205832059320603206132062320633206432065320663206732068320693207032071320723207332074320753207632077320783207932080320813208232083320843208532086320873208832089320903209132092320933209432095320963209732098320993210032101321023210332104321053210632107321083210932110321113211232113321143211532116321173211832119321203212132122321233212432125321263212732128321293213032131321323213332134321353213632137321383213932140321413214232143321443214532146321473214832149321503215132152321533215432155321563215732158321593216032161321623216332164321653216632167321683216932170321713217232173321743217532176321773217832179321803218132182321833218432185321863218732188321893219032191321923219332194321953219632197321983219932200322013220232203322043220532206322073220832209322103221132212322133221432215322163221732218322193222032221322223222332224322253222632227322283222932230322313223232233322343223532236322373223832239322403224132242322433224432245322463224732248322493225032251322523225332254322553225632257322583225932260322613226232263322643226532266322673226832269322703227132272322733227432275322763227732278322793228032281322823228332284322853228632287322883228932290322913229232293322943229532296322973229832299323003230132302323033230432305323063230732308323093231032311323123231332314323153231632317323183231932320323213232232323323243232532326323273232832329323303233132332323333233432335323363233732338323393234032341323423234332344323453234632347323483234932350323513235232353323543235532356323573235832359323603236132362323633236432365323663236732368323693237032371323723237332374323753237632377323783237932380323813238232383323843238532386323873238832389323903239132392323933239432395323963239732398323993240032401324023240332404324053240632407324083240932410324113241232413324143241532416324173241832419324203242132422324233242432425324263242732428324293243032431324323243332434324353243632437324383243932440324413244232443324443244532446324473244832449324503245132452324533245432455324563245732458324593246032461324623246332464324653246632467324683246932470324713247232473324743247532476324773247832479324803248132482324833248432485324863248732488324893249032491324923249332494324953249632497324983249932500325013250232503325043250532506325073250832509325103251132512325133251432515325163251732518325193252032521325223252332524325253252632527325283252932530325313253232533325343253532536325373253832539325403254132542325433254432545325463254732548325493255032551325523255332554325553255632557325583255932560325613256232563325643256532566325673256832569325703257132572325733257432575325763257732578325793258032581325823258332584325853258632587325883258932590325913259232593325943259532596325973259832599326003260132602326033260432605326063260732608326093261032611326123261332614326153261632617326183261932620326213262232623326243262532626326273262832629326303263132632326333263432635326363263732638326393264032641326423264332644326453264632647326483264932650326513265232653326543265532656326573265832659326603266132662326633266432665326663266732668326693267032671326723267332674326753267632677326783267932680326813268232683326843268532686326873268832689326903269132692326933269432695326963269732698326993270032701327023270332704327053270632707327083270932710327113271232713327143271532716327173271832719327203272132722327233272432725327263272732728327293273032731327323273332734327353273632737327383273932740327413274232743327443274532746327473274832749327503275132752327533275432755327563275732758327593276032761327623276332764327653276632767327683276932770327713277232773327743277532776327773277832779327803278132782327833278432785327863278732788327893279032791327923279332794327953279632797327983279932800328013280232803328043280532806328073280832809328103281132812328133281432815328163281732818328193282032821328223282332824328253282632827328283282932830328313283232833328343283532836328373283832839328403284132842328433284432845328463284732848328493285032851328523285332854328553285632857328583285932860328613286232863328643286532866328673286832869328703287132872328733287432875328763287732878328793288032881328823288332884328853288632887328883288932890328913289232893328943289532896328973289832899329003290132902329033290432905329063290732908329093291032911329123291332914329153291632917329183291932920329213292232923329243292532926329273292832929329303293132932329333293432935329363293732938329393294032941329423294332944329453294632947329483294932950329513295232953329543295532956329573295832959329603296132962329633296432965329663296732968329693297032971329723297332974329753297632977329783297932980329813298232983329843298532986329873298832989329903299132992329933299432995329963299732998329993300033001330023300333004330053300633007330083300933010330113301233013330143301533016330173301833019330203302133022330233302433025330263302733028330293303033031330323303333034330353303633037330383303933040330413304233043330443304533046330473304833049330503305133052330533305433055330563305733058330593306033061330623306333064330653306633067330683306933070330713307233073330743307533076330773307833079330803308133082330833308433085330863308733088330893309033091330923309333094330953309633097330983309933100331013310233103331043310533106331073310833109331103311133112331133311433115331163311733118331193312033121331223312333124331253312633127331283312933130331313313233133331343313533136331373313833139331403314133142331433314433145331463314733148331493315033151331523315333154331553315633157331583315933160331613316233163331643316533166331673316833169331703317133172331733317433175331763317733178331793318033181331823318333184331853318633187331883318933190331913319233193331943319533196331973319833199332003320133202332033320433205332063320733208332093321033211332123321333214332153321633217332183321933220332213322233223332243322533226332273322833229332303323133232332333323433235332363323733238332393324033241332423324333244332453324633247332483324933250332513325233253332543325533256332573325833259332603326133262332633326433265332663326733268332693327033271332723327333274332753327633277332783327933280332813328233283332843328533286332873328833289332903329133292332933329433295332963329733298332993330033301333023330333304333053330633307333083330933310333113331233313333143331533316333173331833319333203332133322333233332433325333263332733328333293333033331333323333333334333353333633337333383333933340333413334233343333443334533346333473334833349333503335133352333533335433355333563335733358333593336033361333623336333364333653336633367333683336933370333713337233373333743337533376333773337833379333803338133382333833338433385333863338733388333893339033391333923339333394333953339633397333983339933400334013340233403334043340533406334073340833409334103341133412334133341433415334163341733418334193342033421334223342333424334253342633427334283342933430334313343233433334343343533436334373343833439334403344133442334433344433445334463344733448334493345033451334523345333454334553345633457334583345933460334613346233463334643346533466334673346833469334703347133472334733347433475334763347733478334793348033481334823348333484334853348633487334883348933490334913349233493334943349533496334973349833499335003350133502335033350433505335063350733508335093351033511335123351333514335153351633517335183351933520335213352233523335243352533526335273352833529335303353133532335333353433535335363353733538335393354033541335423354333544335453354633547335483354933550335513355233553335543355533556335573355833559335603356133562335633356433565335663356733568335693357033571335723357333574335753357633577335783357933580335813358233583335843358533586335873358833589335903359133592335933359433595335963359733598335993360033601336023360333604336053360633607336083360933610336113361233613336143361533616336173361833619336203362133622336233362433625336263362733628336293363033631336323363333634336353363633637336383363933640336413364233643336443364533646336473364833649336503365133652336533365433655336563365733658336593366033661336623366333664336653366633667336683366933670336713367233673336743367533676336773367833679336803368133682336833368433685336863368733688336893369033691336923369333694336953369633697336983369933700337013370233703337043370533706337073370833709337103371133712337133371433715337163371733718337193372033721337223372333724337253372633727337283372933730337313373233733337343373533736337373373833739337403374133742337433374433745337463374733748337493375033751337523375333754337553375633757337583375933760337613376233763337643376533766337673376833769337703377133772337733377433775337763377733778337793378033781337823378333784337853378633787337883378933790337913379233793337943379533796337973379833799338003380133802338033380433805338063380733808338093381033811338123381333814338153381633817338183381933820338213382233823338243382533826338273382833829338303383133832338333383433835338363383733838338393384033841338423384333844338453384633847338483384933850338513385233853338543385533856338573385833859338603386133862338633386433865338663386733868338693387033871338723387333874338753387633877338783387933880338813388233883338843388533886338873388833889338903389133892338933389433895338963389733898338993390033901339023390333904339053390633907339083390933910339113391233913339143391533916339173391833919339203392133922339233392433925339263392733928339293393033931339323393333934339353393633937339383393933940339413394233943339443394533946339473394833949339503395133952339533395433955339563395733958339593396033961339623396333964339653396633967339683396933970339713397233973339743397533976339773397833979339803398133982339833398433985339863398733988339893399033991339923399333994339953399633997339983399934000340013400234003340043400534006340073400834009340103401134012340133401434015340163401734018340193402034021340223402334024340253402634027340283402934030340313403234033340343403534036340373403834039340403404134042340433404434045340463404734048340493405034051340523405334054340553405634057340583405934060340613406234063340643406534066340673406834069340703407134072340733407434075340763407734078340793408034081340823408334084340853408634087340883408934090340913409234093340943409534096340973409834099341003410134102341033410434105341063410734108341093411034111341123411334114341153411634117341183411934120341213412234123341243412534126341273412834129341303413134132341333413434135341363413734138341393414034141341423414334144341453414634147341483414934150341513415234153341543415534156341573415834159341603416134162341633416434165341663416734168341693417034171341723417334174341753417634177341783417934180341813418234183341843418534186341873418834189341903419134192341933419434195341963419734198341993420034201342023420334204342053420634207342083420934210342113421234213342143421534216342173421834219342203422134222342233422434225342263422734228342293423034231342323423334234342353423634237342383423934240342413424234243342443424534246342473424834249342503425134252342533425434255342563425734258342593426034261342623426334264342653426634267342683426934270342713427234273342743427534276342773427834279342803428134282342833428434285342863428734288342893429034291342923429334294342953429634297342983429934300343013430234303343043430534306343073430834309343103431134312343133431434315343163431734318343193432034321343223432334324343253432634327343283432934330343313433234333343343433534336343373433834339343403434134342343433434434345343463434734348343493435034351343523435334354343553435634357343583435934360343613436234363343643436534366343673436834369343703437134372343733437434375343763437734378343793438034381343823438334384343853438634387343883438934390343913439234393343943439534396343973439834399344003440134402344033440434405344063440734408344093441034411344123441334414344153441634417344183441934420344213442234423344243442534426344273442834429344303443134432344333443434435344363443734438344393444034441344423444334444344453444634447344483444934450344513445234453344543445534456344573445834459344603446134462344633446434465344663446734468344693447034471344723447334474344753447634477344783447934480344813448234483344843448534486344873448834489344903449134492344933449434495344963449734498344993450034501345023450334504345053450634507345083450934510345113451234513345143451534516345173451834519345203452134522345233452434525345263452734528345293453034531345323453334534345353453634537345383453934540345413454234543345443454534546345473454834549345503455134552345533455434555345563455734558345593456034561345623456334564345653456634567345683456934570345713457234573345743457534576345773457834579345803458134582345833458434585345863458734588345893459034591345923459334594345953459634597345983459934600346013460234603346043460534606346073460834609346103461134612346133461434615346163461734618346193462034621346223462334624346253462634627346283462934630346313463234633346343463534636346373463834639346403464134642346433464434645346463464734648346493465034651346523465334654346553465634657346583465934660346613466234663346643466534666346673466834669346703467134672346733467434675346763467734678346793468034681346823468334684346853468634687346883468934690346913469234693346943469534696346973469834699347003470134702347033470434705347063470734708347093471034711347123471334714347153471634717347183471934720347213472234723347243472534726347273472834729347303473134732347333473434735347363473734738347393474034741347423474334744347453474634747347483474934750347513475234753347543475534756347573475834759347603476134762347633476434765347663476734768347693477034771347723477334774347753477634777347783477934780347813478234783347843478534786347873478834789347903479134792347933479434795347963479734798347993480034801348023480334804348053480634807348083480934810348113481234813348143481534816348173481834819348203482134822348233482434825348263482734828348293483034831348323483334834348353483634837348383483934840348413484234843348443484534846348473484834849348503485134852348533485434855348563485734858348593486034861348623486334864348653486634867348683486934870348713487234873348743487534876348773487834879348803488134882348833488434885348863488734888348893489034891348923489334894348953489634897348983489934900349013490234903349043490534906349073490834909349103491134912349133491434915349163491734918349193492034921349223492334924349253492634927349283492934930349313493234933349343493534936349373493834939349403494134942349433494434945349463494734948349493495034951349523495334954349553495634957349583495934960349613496234963349643496534966349673496834969349703497134972349733497434975349763497734978349793498034981349823498334984349853498634987349883498934990349913499234993349943499534996349973499834999350003500135002350033500435005350063500735008350093501035011350123501335014350153501635017350183501935020350213502235023350243502535026350273502835029350303503135032350333503435035350363503735038350393504035041350423504335044350453504635047350483504935050350513505235053350543505535056350573505835059350603506135062350633506435065350663506735068350693507035071350723507335074350753507635077350783507935080350813508235083350843508535086350873508835089350903509135092350933509435095350963509735098350993510035101351023510335104351053510635107351083510935110351113511235113351143511535116351173511835119351203512135122351233512435125351263512735128351293513035131351323513335134351353513635137351383513935140351413514235143351443514535146351473514835149351503515135152351533515435155351563515735158351593516035161351623516335164351653516635167351683516935170351713517235173351743517535176351773517835179351803518135182351833518435185351863518735188351893519035191351923519335194351953519635197351983519935200352013520235203352043520535206352073520835209352103521135212352133521435215352163521735218352193522035221352223522335224352253522635227352283522935230352313523235233352343523535236352373523835239352403524135242352433524435245352463524735248352493525035251352523525335254352553525635257352583525935260352613526235263352643526535266352673526835269352703527135272352733527435275352763527735278352793528035281352823528335284352853528635287352883528935290352913529235293352943529535296352973529835299353003530135302353033530435305353063530735308353093531035311353123531335314353153531635317353183531935320353213532235323353243532535326353273532835329353303533135332353333533435335353363533735338353393534035341353423534335344353453534635347353483534935350353513535235353353543535535356353573535835359353603536135362353633536435365353663536735368353693537035371353723537335374353753537635377353783537935380353813538235383353843538535386353873538835389353903539135392353933539435395353963539735398353993540035401354023540335404354053540635407354083540935410354113541235413354143541535416354173541835419354203542135422354233542435425354263542735428354293543035431354323543335434354353543635437354383543935440354413544235443354443544535446354473544835449354503545135452354533545435455354563545735458354593546035461354623546335464354653546635467354683546935470354713547235473354743547535476354773547835479354803548135482354833548435485354863548735488354893549035491354923549335494354953549635497354983549935500355013550235503355043550535506355073550835509355103551135512355133551435515355163551735518355193552035521355223552335524355253552635527355283552935530355313553235533355343553535536355373553835539355403554135542355433554435545355463554735548355493555035551355523555335554355553555635557355583555935560355613556235563355643556535566355673556835569355703557135572355733557435575355763557735578355793558035581355823558335584355853558635587355883558935590355913559235593355943559535596355973559835599356003560135602356033560435605356063560735608356093561035611356123561335614356153561635617356183561935620356213562235623356243562535626356273562835629356303563135632356333563435635356363563735638356393564035641356423564335644356453564635647356483564935650356513565235653356543565535656356573565835659356603566135662356633566435665356663566735668356693567035671356723567335674356753567635677356783567935680356813568235683356843568535686356873568835689356903569135692356933569435695356963569735698356993570035701357023570335704357053570635707357083570935710357113571235713357143571535716357173571835719357203572135722357233572435725357263572735728357293573035731357323573335734357353573635737357383573935740357413574235743357443574535746357473574835749357503575135752357533575435755357563575735758357593576035761357623576335764357653576635767357683576935770357713577235773357743577535776357773577835779357803578135782357833578435785357863578735788357893579035791357923579335794357953579635797357983579935800358013580235803358043580535806358073580835809358103581135812358133581435815358163581735818358193582035821358223582335824358253582635827358283582935830358313583235833358343583535836358373583835839358403584135842358433584435845358463584735848358493585035851358523585335854358553585635857358583585935860358613586235863358643586535866358673586835869358703587135872358733587435875358763587735878358793588035881358823588335884358853588635887358883588935890358913589235893358943589535896358973589835899359003590135902359033590435905359063590735908359093591035911359123591335914359153591635917359183591935920359213592235923359243592535926359273592835929359303593135932359333593435935359363593735938359393594035941359423594335944359453594635947359483594935950359513595235953359543595535956359573595835959359603596135962359633596435965359663596735968359693597035971359723597335974359753597635977359783597935980359813598235983359843598535986359873598835989359903599135992359933599435995359963599735998359993600036001360023600336004360053600636007360083600936010360113601236013360143601536016360173601836019360203602136022360233602436025360263602736028360293603036031360323603336034360353603636037360383603936040360413604236043360443604536046360473604836049360503605136052360533605436055360563605736058360593606036061360623606336064360653606636067360683606936070360713607236073360743607536076360773607836079360803608136082360833608436085360863608736088360893609036091360923609336094360953609636097360983609936100361013610236103361043610536106361073610836109361103611136112361133611436115361163611736118361193612036121361223612336124361253612636127361283612936130361313613236133361343613536136361373613836139361403614136142361433614436145361463614736148361493615036151361523615336154361553615636157361583615936160361613616236163361643616536166361673616836169361703617136172361733617436175361763617736178361793618036181361823618336184361853618636187361883618936190361913619236193361943619536196361973619836199362003620136202362033620436205362063620736208362093621036211362123621336214362153621636217362183621936220362213622236223362243622536226362273622836229362303623136232362333623436235362363623736238362393624036241362423624336244362453624636247362483624936250362513625236253362543625536256362573625836259362603626136262362633626436265362663626736268362693627036271362723627336274362753627636277362783627936280362813628236283362843628536286362873628836289362903629136292362933629436295362963629736298362993630036301363023630336304363053630636307363083630936310363113631236313363143631536316363173631836319363203632136322363233632436325363263632736328363293633036331363323633336334363353633636337363383633936340363413634236343363443634536346363473634836349363503635136352363533635436355363563635736358363593636036361363623636336364363653636636367363683636936370363713637236373363743637536376363773637836379363803638136382363833638436385363863638736388363893639036391363923639336394363953639636397363983639936400364013640236403364043640536406364073640836409364103641136412364133641436415364163641736418364193642036421364223642336424364253642636427364283642936430364313643236433364343643536436364373643836439364403644136442364433644436445364463644736448364493645036451364523645336454364553645636457364583645936460364613646236463364643646536466364673646836469364703647136472364733647436475364763647736478364793648036481364823648336484364853648636487364883648936490364913649236493364943649536496364973649836499365003650136502365033650436505365063650736508365093651036511365123651336514365153651636517365183651936520365213652236523365243652536526365273652836529365303653136532365333653436535365363653736538365393654036541365423654336544365453654636547365483654936550365513655236553365543655536556365573655836559365603656136562365633656436565365663656736568365693657036571365723657336574365753657636577365783657936580365813658236583365843658536586365873658836589365903659136592365933659436595365963659736598365993660036601366023660336604366053660636607366083660936610366113661236613366143661536616366173661836619366203662136622366233662436625366263662736628366293663036631366323663336634366353663636637366383663936640366413664236643366443664536646366473664836649366503665136652366533665436655366563665736658366593666036661366623666336664366653666636667366683666936670366713667236673366743667536676366773667836679366803668136682366833668436685366863668736688366893669036691366923669336694366953669636697366983669936700367013670236703367043670536706367073670836709367103671136712367133671436715367163671736718367193672036721367223672336724367253672636727367283672936730367313673236733367343673536736367373673836739367403674136742367433674436745367463674736748367493675036751367523675336754367553675636757367583675936760367613676236763367643676536766367673676836769367703677136772367733677436775367763677736778367793678036781367823678336784367853678636787367883678936790367913679236793367943679536796367973679836799368003680136802368033680436805368063680736808368093681036811368123681336814368153681636817368183681936820368213682236823368243682536826368273682836829368303683136832368333683436835368363683736838368393684036841368423684336844368453684636847368483684936850368513685236853368543685536856368573685836859368603686136862368633686436865368663686736868368693687036871368723687336874368753687636877368783687936880368813688236883368843688536886368873688836889368903689136892368933689436895368963689736898368993690036901369023690336904369053690636907369083690936910369113691236913369143691536916369173691836919369203692136922369233692436925369263692736928369293693036931369323693336934369353693636937369383693936940369413694236943369443694536946369473694836949369503695136952369533695436955369563695736958369593696036961369623696336964369653696636967369683696936970369713697236973369743697536976369773697836979369803698136982369833698436985369863698736988369893699036991369923699336994369953699636997369983699937000370013700237003370043700537006370073700837009370103701137012370133701437015370163701737018370193702037021370223702337024370253702637027370283702937030370313703237033370343703537036370373703837039370403704137042370433704437045370463704737048370493705037051370523705337054370553705637057370583705937060370613706237063370643706537066370673706837069370703707137072370733707437075370763707737078370793708037081370823708337084370853708637087370883708937090370913709237093370943709537096370973709837099371003710137102371033710437105371063710737108371093711037111371123711337114371153711637117371183711937120371213712237123371243712537126371273712837129371303713137132371333713437135371363713737138371393714037141371423714337144371453714637147371483714937150371513715237153371543715537156371573715837159371603716137162371633716437165371663716737168371693717037171371723717337174371753717637177371783717937180371813718237183371843718537186371873718837189371903719137192371933719437195371963719737198371993720037201372023720337204372053720637207372083720937210372113721237213372143721537216372173721837219372203722137222372233722437225372263722737228372293723037231372323723337234372353723637237372383723937240372413724237243372443724537246372473724837249372503725137252372533725437255372563725737258372593726037261372623726337264372653726637267372683726937270372713727237273372743727537276372773727837279372803728137282372833728437285372863728737288372893729037291372923729337294372953729637297372983729937300373013730237303373043730537306373073730837309373103731137312373133731437315373163731737318373193732037321373223732337324373253732637327373283732937330373313733237333373343733537336373373733837339373403734137342373433734437345373463734737348373493735037351373523735337354373553735637357373583735937360373613736237363373643736537366373673736837369373703737137372373733737437375373763737737378373793738037381373823738337384373853738637387373883738937390373913739237393373943739537396373973739837399374003740137402374033740437405374063740737408374093741037411374123741337414374153741637417374183741937420374213742237423374243742537426374273742837429374303743137432374333743437435374363743737438374393744037441374423744337444374453744637447374483744937450374513745237453374543745537456374573745837459374603746137462374633746437465374663746737468374693747037471374723747337474374753747637477374783747937480374813748237483374843748537486374873748837489374903749137492374933749437495374963749737498374993750037501375023750337504375053750637507375083750937510375113751237513375143751537516375173751837519375203752137522375233752437525375263752737528375293753037531375323753337534375353753637537375383753937540375413754237543375443754537546375473754837549375503755137552375533755437555375563755737558375593756037561375623756337564375653756637567375683756937570375713757237573375743757537576375773757837579375803758137582375833758437585375863758737588375893759037591375923759337594375953759637597375983759937600376013760237603376043760537606376073760837609376103761137612376133761437615376163761737618376193762037621376223762337624376253762637627376283762937630376313763237633376343763537636376373763837639376403764137642376433764437645376463764737648376493765037651376523765337654376553765637657376583765937660376613766237663376643766537666376673766837669376703767137672376733767437675376763767737678376793768037681376823768337684376853768637687376883768937690376913769237693376943769537696376973769837699377003770137702377033770437705377063770737708377093771037711377123771337714377153771637717377183771937720377213772237723377243772537726377273772837729377303773137732377333773437735377363773737738377393774037741377423774337744377453774637747377483774937750377513775237753377543775537756377573775837759377603776137762377633776437765377663776737768377693777037771377723777337774377753777637777377783777937780377813778237783377843778537786377873778837789377903779137792377933779437795377963779737798377993780037801378023780337804378053780637807378083780937810378113781237813378143781537816378173781837819378203782137822378233782437825378263782737828378293783037831378323783337834378353783637837378383783937840378413784237843378443784537846378473784837849378503785137852378533785437855378563785737858378593786037861378623786337864378653786637867378683786937870378713787237873378743787537876378773787837879378803788137882378833788437885378863788737888378893789037891378923789337894378953789637897378983789937900379013790237903379043790537906379073790837909379103791137912379133791437915379163791737918379193792037921379223792337924379253792637927379283792937930379313793237933379343793537936379373793837939379403794137942379433794437945379463794737948379493795037951379523795337954379553795637957379583795937960379613796237963379643796537966379673796837969379703797137972379733797437975379763797737978379793798037981379823798337984379853798637987379883798937990379913799237993379943799537996379973799837999380003800138002380033800438005380063800738008380093801038011380123801338014380153801638017380183801938020380213802238023380243802538026380273802838029380303803138032380333803438035380363803738038380393804038041380423804338044380453804638047380483804938050380513805238053380543805538056380573805838059380603806138062380633806438065380663806738068380693807038071380723807338074380753807638077380783807938080380813808238083380843808538086380873808838089380903809138092380933809438095380963809738098380993810038101381023810338104381053810638107381083810938110381113811238113381143811538116381173811838119381203812138122381233812438125381263812738128381293813038131381323813338134381353813638137381383813938140381413814238143381443814538146381473814838149381503815138152381533815438155381563815738158381593816038161381623816338164381653816638167381683816938170381713817238173381743817538176381773817838179381803818138182381833818438185381863818738188381893819038191381923819338194381953819638197381983819938200382013820238203382043820538206382073820838209382103821138212382133821438215382163821738218382193822038221382223822338224382253822638227382283822938230382313823238233382343823538236382373823838239382403824138242382433824438245382463824738248382493825038251382523825338254382553825638257382583825938260382613826238263382643826538266382673826838269382703827138272382733827438275382763827738278382793828038281382823828338284382853828638287382883828938290382913829238293382943829538296382973829838299383003830138302383033830438305383063830738308383093831038311383123831338314383153831638317383183831938320383213832238323383243832538326383273832838329383303833138332383333833438335383363833738338383393834038341383423834338344383453834638347383483834938350383513835238353383543835538356383573835838359383603836138362383633836438365383663836738368383693837038371383723837338374383753837638377383783837938380383813838238383383843838538386383873838838389383903839138392383933839438395383963839738398383993840038401384023840338404384053840638407384083840938410384113841238413384143841538416384173841838419384203842138422384233842438425384263842738428384293843038431384323843338434384353843638437384383843938440384413844238443384443844538446384473844838449384503845138452384533845438455384563845738458384593846038461384623846338464384653846638467384683846938470384713847238473384743847538476384773847838479384803848138482384833848438485384863848738488384893849038491384923849338494384953849638497384983849938500385013850238503385043850538506385073850838509385103851138512385133851438515385163851738518385193852038521385223852338524385253852638527385283852938530385313853238533385343853538536385373853838539385403854138542385433854438545385463854738548385493855038551385523855338554385553855638557385583855938560385613856238563385643856538566385673856838569385703857138572385733857438575385763857738578385793858038581385823858338584385853858638587385883858938590385913859238593385943859538596385973859838599386003860138602386033860438605386063860738608386093861038611386123861338614386153861638617386183861938620386213862238623386243862538626386273862838629386303863138632386333863438635386363863738638386393864038641386423864338644386453864638647386483864938650386513865238653386543865538656386573865838659386603866138662386633866438665386663866738668386693867038671386723867338674386753867638677386783867938680386813868238683386843868538686386873868838689386903869138692386933869438695386963869738698386993870038701387023870338704387053870638707387083870938710387113871238713387143871538716387173871838719387203872138722387233872438725387263872738728387293873038731387323873338734387353873638737387383873938740387413874238743387443874538746387473874838749387503875138752387533875438755387563875738758387593876038761387623876338764387653876638767387683876938770387713877238773387743877538776387773877838779387803878138782387833878438785387863878738788387893879038791387923879338794387953879638797387983879938800388013880238803388043880538806388073880838809388103881138812388133881438815388163881738818388193882038821388223882338824388253882638827388283882938830388313883238833388343883538836388373883838839388403884138842388433884438845388463884738848388493885038851388523885338854388553885638857388583885938860388613886238863388643886538866388673886838869388703887138872388733887438875388763887738878388793888038881388823888338884388853888638887388883888938890388913889238893388943889538896388973889838899389003890138902389033890438905389063890738908389093891038911389123891338914389153891638917389183891938920389213892238923389243892538926389273892838929389303893138932389333893438935389363893738938389393894038941389423894338944389453894638947389483894938950389513895238953389543895538956389573895838959389603896138962389633896438965389663896738968389693897038971389723897338974389753897638977389783897938980389813898238983389843898538986389873898838989389903899138992389933899438995389963899738998389993900039001390023900339004390053900639007390083900939010390113901239013390143901539016390173901839019390203902139022390233902439025390263902739028390293903039031390323903339034390353903639037390383903939040390413904239043390443904539046390473904839049390503905139052390533905439055390563905739058390593906039061390623906339064390653906639067390683906939070390713907239073390743907539076390773907839079390803908139082390833908439085390863908739088390893909039091390923909339094390953909639097390983909939100391013910239103391043910539106391073910839109391103911139112391133911439115391163911739118391193912039121391223912339124391253912639127391283912939130391313913239133391343913539136391373913839139391403914139142391433914439145391463914739148391493915039151391523915339154391553915639157391583915939160391613916239163391643916539166391673916839169391703917139172391733917439175391763917739178391793918039181391823918339184391853918639187391883918939190391913919239193391943919539196391973919839199392003920139202392033920439205392063920739208392093921039211392123921339214392153921639217392183921939220392213922239223392243922539226392273922839229392303923139232392333923439235392363923739238392393924039241392423924339244392453924639247392483924939250392513925239253392543925539256392573925839259392603926139262392633926439265392663926739268392693927039271392723927339274392753927639277392783927939280392813928239283392843928539286392873928839289392903929139292392933929439295392963929739298392993930039301393023930339304393053930639307393083930939310393113931239313393143931539316393173931839319393203932139322393233932439325393263932739328393293933039331393323933339334393353933639337393383933939340393413934239343393443934539346393473934839349393503935139352393533935439355393563935739358393593936039361393623936339364393653936639367393683936939370393713937239373393743937539376393773937839379393803938139382393833938439385393863938739388393893939039391393923939339394393953939639397393983939939400394013940239403394043940539406394073940839409394103941139412394133941439415394163941739418394193942039421394223942339424394253942639427394283942939430394313943239433394343943539436394373943839439394403944139442394433944439445394463944739448394493945039451394523945339454394553945639457394583945939460394613946239463394643946539466394673946839469394703947139472394733947439475394763947739478394793948039481394823948339484394853948639487394883948939490394913949239493394943949539496394973949839499395003950139502395033950439505395063950739508395093951039511395123951339514395153951639517395183951939520395213952239523395243952539526395273952839529395303953139532395333953439535395363953739538395393954039541395423954339544395453954639547395483954939550395513955239553395543955539556395573955839559395603956139562395633956439565395663956739568395693957039571395723957339574395753957639577395783957939580395813958239583395843958539586395873958839589395903959139592395933959439595395963959739598395993960039601396023960339604396053960639607396083960939610396113961239613396143961539616396173961839619396203962139622396233962439625396263962739628396293963039631396323963339634396353963639637396383963939640396413964239643396443964539646396473964839649396503965139652396533965439655396563965739658396593966039661396623966339664396653966639667396683966939670396713967239673396743967539676396773967839679396803968139682396833968439685396863968739688396893969039691396923969339694396953969639697396983969939700397013970239703397043970539706397073970839709397103971139712397133971439715397163971739718397193972039721397223972339724397253972639727397283972939730397313973239733397343973539736397373973839739397403974139742397433974439745397463974739748397493975039751397523975339754397553975639757397583975939760397613976239763397643976539766397673976839769397703977139772397733977439775397763977739778397793978039781397823978339784397853978639787397883978939790397913979239793397943979539796397973979839799398003980139802398033980439805398063980739808398093981039811398123981339814398153981639817398183981939820398213982239823398243982539826398273982839829398303983139832398333983439835398363983739838398393984039841398423984339844398453984639847398483984939850398513985239853398543985539856398573985839859398603986139862398633986439865398663986739868398693987039871398723987339874398753987639877398783987939880398813988239883398843988539886398873988839889398903989139892398933989439895398963989739898398993990039901399023990339904399053990639907399083990939910399113991239913399143991539916399173991839919399203992139922399233992439925399263992739928399293993039931399323993339934399353993639937399383993939940399413994239943399443994539946399473994839949399503995139952399533995439955399563995739958399593996039961399623996339964399653996639967399683996939970399713997239973399743997539976399773997839979399803998139982399833998439985399863998739988399893999039991399923999339994399953999639997399983999940000400014000240003400044000540006400074000840009400104001140012400134001440015400164001740018400194002040021400224002340024400254002640027400284002940030400314003240033400344003540036400374003840039400404004140042400434004440045400464004740048400494005040051400524005340054400554005640057400584005940060400614006240063400644006540066400674006840069400704007140072400734007440075400764007740078400794008040081400824008340084400854008640087400884008940090400914009240093400944009540096400974009840099401004010140102401034010440105401064010740108401094011040111401124011340114401154011640117401184011940120401214012240123401244012540126401274012840129401304013140132401334013440135401364013740138401394014040141401424014340144401454014640147401484014940150401514015240153401544015540156401574015840159401604016140162401634016440165401664016740168401694017040171401724017340174401754017640177401784017940180401814018240183401844018540186401874018840189401904019140192401934019440195401964019740198401994020040201402024020340204402054020640207402084020940210402114021240213402144021540216402174021840219402204022140222402234022440225402264022740228402294023040231402324023340234402354023640237402384023940240402414024240243402444024540246402474024840249402504025140252402534025440255402564025740258402594026040261402624026340264402654026640267402684026940270402714027240273402744027540276402774027840279402804028140282402834028440285402864028740288402894029040291402924029340294402954029640297402984029940300403014030240303403044030540306403074030840309403104031140312403134031440315403164031740318403194032040321403224032340324403254032640327403284032940330403314033240333403344033540336403374033840339403404034140342403434034440345403464034740348403494035040351403524035340354403554035640357403584035940360403614036240363403644036540366403674036840369403704037140372403734037440375403764037740378403794038040381403824038340384403854038640387403884038940390403914039240393403944039540396403974039840399404004040140402404034040440405404064040740408404094041040411404124041340414404154041640417404184041940420404214042240423404244042540426404274042840429404304043140432404334043440435404364043740438404394044040441404424044340444404454044640447404484044940450404514045240453404544045540456404574045840459404604046140462404634046440465404664046740468404694047040471404724047340474404754047640477404784047940480404814048240483404844048540486404874048840489404904049140492404934049440495404964049740498404994050040501405024050340504405054050640507405084050940510405114051240513405144051540516405174051840519405204052140522405234052440525405264052740528405294053040531405324053340534405354053640537405384053940540405414054240543405444054540546405474054840549405504055140552405534055440555405564055740558405594056040561405624056340564405654056640567405684056940570405714057240573405744057540576405774057840579405804058140582405834058440585405864058740588405894059040591405924059340594405954059640597405984059940600406014060240603406044060540606406074060840609406104061140612406134061440615406164061740618406194062040621406224062340624406254062640627406284062940630406314063240633406344063540636406374063840639406404064140642406434064440645406464064740648406494065040651406524065340654406554065640657406584065940660406614066240663406644066540666406674066840669406704067140672406734067440675406764067740678406794068040681406824068340684406854068640687406884068940690406914069240693406944069540696406974069840699407004070140702407034070440705407064070740708407094071040711407124071340714407154071640717407184071940720407214072240723407244072540726407274072840729407304073140732407334073440735407364073740738407394074040741407424074340744407454074640747407484074940750407514075240753407544075540756407574075840759407604076140762407634076440765407664076740768407694077040771407724077340774407754077640777407784077940780407814078240783407844078540786407874078840789407904079140792407934079440795407964079740798407994080040801408024080340804408054080640807408084080940810408114081240813408144081540816408174081840819408204082140822408234082440825408264082740828408294083040831408324083340834408354083640837408384083940840408414084240843408444084540846408474084840849408504085140852408534085440855408564085740858408594086040861408624086340864408654086640867408684086940870408714087240873408744087540876408774087840879408804088140882408834088440885408864088740888408894089040891408924089340894408954089640897408984089940900409014090240903409044090540906409074090840909409104091140912409134091440915409164091740918409194092040921409224092340924409254092640927409284092940930409314093240933409344093540936409374093840939409404094140942409434094440945409464094740948409494095040951409524095340954409554095640957409584095940960409614096240963409644096540966409674096840969409704097140972409734097440975409764097740978409794098040981409824098340984409854098640987409884098940990409914099240993409944099540996409974099840999410004100141002410034100441005410064100741008410094101041011410124101341014410154101641017410184101941020410214102241023410244102541026410274102841029410304103141032410334103441035410364103741038410394104041041410424104341044410454104641047410484104941050410514105241053410544105541056410574105841059410604106141062410634106441065410664106741068410694107041071410724107341074410754107641077410784107941080410814108241083410844108541086410874108841089410904109141092410934109441095410964109741098410994110041101411024110341104411054110641107411084110941110411114111241113411144111541116411174111841119411204112141122411234112441125411264112741128411294113041131411324113341134411354113641137411384113941140411414114241143411444114541146411474114841149411504115141152411534115441155411564115741158411594116041161411624116341164411654116641167411684116941170411714117241173411744117541176411774117841179411804118141182411834118441185411864118741188411894119041191411924119341194411954119641197411984119941200412014120241203412044120541206412074120841209412104121141212412134121441215412164121741218412194122041221412224122341224412254122641227412284122941230412314123241233412344123541236412374123841239412404124141242412434124441245412464124741248412494125041251412524125341254412554125641257412584125941260412614126241263412644126541266412674126841269412704127141272412734127441275412764127741278412794128041281412824128341284412854128641287412884128941290412914129241293412944129541296412974129841299413004130141302413034130441305413064130741308413094131041311413124131341314413154131641317413184131941320413214132241323413244132541326413274132841329413304133141332413334133441335413364133741338413394134041341413424134341344413454134641347413484134941350413514135241353413544135541356413574135841359413604136141362413634136441365413664136741368413694137041371413724137341374413754137641377413784137941380413814138241383413844138541386413874138841389413904139141392413934139441395413964139741398413994140041401414024140341404414054140641407414084140941410414114141241413414144141541416414174141841419414204142141422414234142441425414264142741428414294143041431414324143341434414354143641437414384143941440414414144241443414444144541446414474144841449414504145141452414534145441455414564145741458414594146041461414624146341464414654146641467414684146941470414714147241473414744147541476414774147841479414804148141482414834148441485414864148741488414894149041491414924149341494414954149641497414984149941500415014150241503415044150541506415074150841509415104151141512415134151441515415164151741518415194152041521415224152341524415254152641527415284152941530415314153241533415344153541536415374153841539415404154141542415434154441545415464154741548415494155041551415524155341554415554155641557415584155941560415614156241563415644156541566415674156841569415704157141572415734157441575415764157741578415794158041581415824158341584415854158641587415884158941590415914159241593415944159541596415974159841599416004160141602416034160441605416064160741608416094161041611416124161341614416154161641617416184161941620416214162241623416244162541626416274162841629416304163141632416334163441635416364163741638416394164041641416424164341644416454164641647416484164941650416514165241653416544165541656416574165841659416604166141662416634166441665416664166741668416694167041671416724167341674416754167641677416784167941680416814168241683416844168541686416874168841689416904169141692416934169441695416964169741698416994170041701417024170341704417054170641707417084170941710417114171241713417144171541716417174171841719417204172141722417234172441725417264172741728417294173041731417324173341734417354173641737417384173941740417414174241743417444174541746417474174841749417504175141752417534175441755417564175741758417594176041761417624176341764417654176641767417684176941770417714177241773417744177541776417774177841779417804178141782417834178441785417864178741788417894179041791417924179341794417954179641797417984179941800418014180241803418044180541806418074180841809418104181141812418134181441815418164181741818418194182041821418224182341824418254182641827418284182941830418314183241833418344183541836418374183841839418404184141842418434184441845418464184741848418494185041851418524185341854418554185641857418584185941860418614186241863418644186541866418674186841869418704187141872418734187441875418764187741878418794188041881418824188341884418854188641887418884188941890418914189241893418944189541896418974189841899419004190141902419034190441905419064190741908419094191041911419124191341914419154191641917419184191941920419214192241923419244192541926419274192841929419304193141932419334193441935419364193741938419394194041941419424194341944419454194641947419484194941950419514195241953419544195541956419574195841959419604196141962419634196441965419664196741968419694197041971419724197341974419754197641977419784197941980419814198241983419844198541986419874198841989419904199141992419934199441995419964199741998419994200042001420024200342004420054200642007420084200942010420114201242013420144201542016420174201842019420204202142022420234202442025420264202742028420294203042031420324203342034420354203642037420384203942040420414204242043420444204542046420474204842049420504205142052420534205442055420564205742058420594206042061420624206342064420654206642067420684206942070420714207242073420744207542076420774207842079420804208142082420834208442085420864208742088420894209042091420924209342094420954209642097420984209942100421014210242103421044210542106421074210842109421104211142112421134211442115421164211742118421194212042121421224212342124421254212642127421284212942130421314213242133421344213542136421374213842139421404214142142421434214442145421464214742148421494215042151421524215342154421554215642157421584215942160421614216242163421644216542166421674216842169421704217142172421734217442175421764217742178421794218042181421824218342184421854218642187421884218942190421914219242193421944219542196421974219842199422004220142202422034220442205422064220742208422094221042211422124221342214422154221642217422184221942220422214222242223422244222542226422274222842229422304223142232422334223442235422364223742238422394224042241422424224342244422454224642247422484224942250422514225242253422544225542256422574225842259422604226142262422634226442265422664226742268422694227042271422724227342274422754227642277422784227942280422814228242283422844228542286422874228842289422904229142292422934229442295422964229742298422994230042301423024230342304423054230642307423084230942310423114231242313423144231542316423174231842319423204232142322423234232442325423264232742328423294233042331423324233342334423354233642337423384233942340423414234242343423444234542346423474234842349423504235142352423534235442355423564235742358423594236042361423624236342364423654236642367423684236942370423714237242373423744237542376423774237842379423804238142382423834238442385423864238742388423894239042391423924239342394423954239642397423984239942400424014240242403424044240542406424074240842409424104241142412424134241442415424164241742418424194242042421424224242342424424254242642427424284242942430424314243242433424344243542436424374243842439424404244142442424434244442445424464244742448424494245042451424524245342454424554245642457424584245942460424614246242463424644246542466424674246842469424704247142472424734247442475424764247742478424794248042481424824248342484424854248642487424884248942490424914249242493424944249542496424974249842499425004250142502425034250442505425064250742508425094251042511425124251342514425154251642517425184251942520425214252242523425244252542526425274252842529425304253142532425334253442535425364253742538425394254042541425424254342544425454254642547425484254942550425514255242553425544255542556425574255842559425604256142562425634256442565425664256742568425694257042571425724257342574425754257642577425784257942580425814258242583425844258542586425874258842589425904259142592425934259442595425964259742598425994260042601426024260342604426054260642607426084260942610426114261242613426144261542616426174261842619426204262142622426234262442625426264262742628426294263042631426324263342634426354263642637426384263942640426414264242643426444264542646426474264842649426504265142652426534265442655426564265742658426594266042661426624266342664426654266642667426684266942670426714267242673426744267542676426774267842679426804268142682426834268442685426864268742688426894269042691426924269342694426954269642697426984269942700427014270242703427044270542706427074270842709427104271142712427134271442715427164271742718427194272042721427224272342724427254272642727427284272942730427314273242733427344273542736427374273842739427404274142742427434274442745427464274742748427494275042751427524275342754427554275642757427584275942760427614276242763427644276542766427674276842769427704277142772427734277442775427764277742778427794278042781427824278342784427854278642787427884278942790427914279242793427944279542796427974279842799428004280142802428034280442805428064280742808428094281042811428124281342814428154281642817428184281942820428214282242823428244282542826428274282842829428304283142832428334283442835428364283742838428394284042841428424284342844428454284642847428484284942850428514285242853428544285542856428574285842859428604286142862428634286442865428664286742868428694287042871428724287342874428754287642877428784287942880428814288242883428844288542886428874288842889428904289142892428934289442895428964289742898428994290042901429024290342904429054290642907429084290942910429114291242913429144291542916429174291842919429204292142922429234292442925429264292742928429294293042931429324293342934429354293642937429384293942940429414294242943429444294542946429474294842949429504295142952429534295442955429564295742958429594296042961429624296342964429654296642967429684296942970429714297242973429744297542976429774297842979429804298142982429834298442985429864298742988429894299042991429924299342994429954299642997429984299943000430014300243003430044300543006430074300843009430104301143012430134301443015430164301743018430194302043021430224302343024430254302643027430284302943030430314303243033430344303543036430374303843039430404304143042430434304443045430464304743048430494305043051430524305343054430554305643057430584305943060430614306243063430644306543066430674306843069430704307143072430734307443075430764307743078430794308043081430824308343084430854308643087430884308943090430914309243093430944309543096430974309843099431004310143102431034310443105431064310743108431094311043111431124311343114431154311643117431184311943120431214312243123431244312543126431274312843129431304313143132431334313443135431364313743138431394314043141431424314343144431454314643147431484314943150431514315243153431544315543156431574315843159431604316143162431634316443165431664316743168431694317043171431724317343174431754317643177431784317943180431814318243183431844318543186431874318843189431904319143192431934319443195431964319743198431994320043201432024320343204432054320643207432084320943210432114321243213432144321543216432174321843219432204322143222432234322443225432264322743228432294323043231432324323343234432354323643237432384323943240432414324243243432444324543246432474324843249432504325143252432534325443255432564325743258432594326043261432624326343264432654326643267432684326943270432714327243273432744327543276432774327843279432804328143282432834328443285432864328743288432894329043291432924329343294432954329643297432984329943300433014330243303433044330543306433074330843309433104331143312433134331443315433164331743318433194332043321433224332343324433254332643327433284332943330433314333243333433344333543336433374333843339433404334143342433434334443345433464334743348433494335043351433524335343354433554335643357433584335943360433614336243363433644336543366433674336843369433704337143372433734337443375433764337743378433794338043381433824338343384433854338643387433884338943390433914339243393433944339543396433974339843399434004340143402434034340443405434064340743408434094341043411434124341343414434154341643417434184341943420434214342243423434244342543426434274342843429434304343143432434334343443435434364343743438434394344043441434424344343444434454344643447434484344943450434514345243453434544345543456434574345843459434604346143462434634346443465434664346743468434694347043471434724347343474434754347643477434784347943480434814348243483434844348543486434874348843489434904349143492434934349443495434964349743498434994350043501435024350343504435054350643507435084350943510435114351243513435144351543516435174351843519435204352143522435234352443525435264352743528435294353043531435324353343534435354353643537435384353943540435414354243543435444354543546435474354843549435504355143552435534355443555435564355743558435594356043561435624356343564435654356643567435684356943570435714357243573435744357543576435774357843579435804358143582435834358443585435864358743588435894359043591435924359343594435954359643597435984359943600436014360243603436044360543606436074360843609436104361143612436134361443615436164361743618436194362043621436224362343624436254362643627436284362943630436314363243633436344363543636436374363843639436404364143642436434364443645436464364743648436494365043651436524365343654436554365643657436584365943660436614366243663436644366543666436674366843669436704367143672436734367443675436764367743678436794368043681436824368343684436854368643687436884368943690436914369243693436944369543696436974369843699437004370143702437034370443705437064370743708437094371043711437124371343714437154371643717437184371943720437214372243723437244372543726437274372843729437304373143732437334373443735437364373743738437394374043741437424374343744437454374643747437484374943750437514375243753437544375543756437574375843759437604376143762437634376443765437664376743768437694377043771437724377343774437754377643777437784377943780437814378243783437844378543786437874378843789437904379143792437934379443795437964379743798437994380043801438024380343804438054380643807438084380943810438114381243813438144381543816438174381843819438204382143822438234382443825438264382743828438294383043831438324383343834438354383643837438384383943840438414384243843438444384543846438474384843849438504385143852438534385443855438564385743858438594386043861438624386343864438654386643867438684386943870438714387243873438744387543876438774387843879438804388143882438834388443885438864388743888438894389043891438924389343894438954389643897438984389943900439014390243903439044390543906439074390843909439104391143912439134391443915439164391743918439194392043921439224392343924439254392643927439284392943930439314393243933439344393543936439374393843939439404394143942439434394443945439464394743948439494395043951439524395343954439554395643957439584395943960439614396243963439644396543966439674396843969439704397143972439734397443975439764397743978439794398043981439824398343984439854398643987439884398943990439914399243993439944399543996439974399843999440004400144002440034400444005440064400744008440094401044011440124401344014440154401644017440184401944020440214402244023440244402544026440274402844029440304403144032440334403444035440364403744038440394404044041440424404344044440454404644047440484404944050440514405244053440544405544056440574405844059440604406144062440634406444065440664406744068440694407044071440724407344074440754407644077440784407944080440814408244083440844408544086440874408844089440904409144092440934409444095440964409744098440994410044101441024410344104441054410644107441084410944110441114411244113441144411544116441174411844119441204412144122441234412444125441264412744128441294413044131441324413344134441354413644137441384413944140441414414244143441444414544146441474414844149441504415144152441534415444155441564415744158441594416044161441624416344164441654416644167441684416944170441714417244173441744417544176441774417844179441804418144182441834418444185441864418744188441894419044191441924419344194441954419644197441984419944200442014420244203442044420544206442074420844209442104421144212442134421444215442164421744218442194422044221442224422344224442254422644227442284422944230442314423244233442344423544236442374423844239442404424144242442434424444245442464424744248442494425044251442524425344254442554425644257442584425944260442614426244263442644426544266442674426844269442704427144272442734427444275442764427744278442794428044281442824428344284442854428644287442884428944290442914429244293442944429544296442974429844299443004430144302443034430444305443064430744308443094431044311443124431344314443154431644317443184431944320443214432244323443244432544326443274432844329443304433144332443334433444335443364433744338443394434044341443424434344344443454434644347443484434944350443514435244353443544435544356443574435844359443604436144362443634436444365443664436744368443694437044371443724437344374443754437644377443784437944380443814438244383443844438544386443874438844389443904439144392443934439444395443964439744398443994440044401444024440344404444054440644407444084440944410444114441244413444144441544416444174441844419444204442144422444234442444425444264442744428444294443044431444324443344434444354443644437444384443944440444414444244443444444444544446444474444844449444504445144452444534445444455444564445744458444594446044461444624446344464444654446644467444684446944470444714447244473444744447544476444774447844479444804448144482444834448444485444864448744488444894449044491444924449344494444954449644497444984449944500445014450244503445044450544506445074450844509445104451144512445134451444515445164451744518445194452044521445224452344524445254452644527445284452944530445314453244533445344453544536445374453844539445404454144542445434454444545445464454744548445494455044551445524455344554445554455644557445584455944560445614456244563445644456544566445674456844569445704457144572445734457444575445764457744578445794458044581445824458344584445854458644587445884458944590445914459244593445944459544596445974459844599446004460144602446034460444605446064460744608446094461044611446124461344614446154461644617446184461944620446214462244623446244462544626446274462844629446304463144632446334463444635446364463744638446394464044641446424464344644446454464644647446484464944650446514465244653446544465544656446574465844659446604466144662446634466444665446664466744668446694467044671446724467344674446754467644677446784467944680446814468244683446844468544686446874468844689446904469144692446934469444695446964469744698446994470044701447024470344704447054470644707447084470944710447114471244713447144471544716447174471844719447204472144722447234472444725447264472744728447294473044731447324473344734447354473644737447384473944740447414474244743447444474544746447474474844749447504475144752447534475444755447564475744758447594476044761447624476344764447654476644767447684476944770447714477244773447744477544776447774477844779447804478144782447834478444785447864478744788447894479044791447924479344794447954479644797447984479944800448014480244803448044480544806448074480844809448104481144812448134481444815448164481744818448194482044821448224482344824448254482644827448284482944830448314483244833448344483544836448374483844839448404484144842448434484444845448464484744848448494485044851448524485344854448554485644857448584485944860448614486244863448644486544866448674486844869448704487144872448734487444875448764487744878448794488044881448824488344884448854488644887448884488944890448914489244893448944489544896448974489844899449004490144902449034490444905449064490744908449094491044911449124491344914449154491644917449184491944920449214492244923449244492544926449274492844929449304493144932449334493444935449364493744938449394494044941449424494344944449454494644947449484494944950449514495244953449544495544956449574495844959449604496144962449634496444965449664496744968449694497044971449724497344974449754497644977449784497944980449814498244983449844498544986449874498844989449904499144992449934499444995449964499744998449994500045001450024500345004450054500645007450084500945010450114501245013450144501545016450174501845019450204502145022450234502445025450264502745028450294503045031450324503345034450354503645037450384503945040450414504245043450444504545046450474504845049450504505145052450534505445055450564505745058450594506045061450624506345064450654506645067450684506945070450714507245073450744507545076450774507845079450804508145082450834508445085450864508745088450894509045091450924509345094450954509645097450984509945100451014510245103451044510545106451074510845109451104511145112451134511445115451164511745118451194512045121451224512345124451254512645127451284512945130451314513245133451344513545136451374513845139451404514145142451434514445145451464514745148451494515045151451524515345154451554515645157451584515945160451614516245163451644516545166451674516845169451704517145172451734517445175451764517745178451794518045181451824518345184451854518645187451884518945190451914519245193451944519545196451974519845199452004520145202452034520445205452064520745208452094521045211452124521345214452154521645217452184521945220452214522245223452244522545226452274522845229452304523145232452334523445235452364523745238452394524045241452424524345244452454524645247452484524945250452514525245253452544525545256452574525845259452604526145262452634526445265452664526745268452694527045271452724527345274452754527645277452784527945280452814528245283452844528545286452874528845289452904529145292452934529445295452964529745298452994530045301453024530345304453054530645307453084530945310453114531245313453144531545316453174531845319453204532145322453234532445325453264532745328453294533045331453324533345334453354533645337453384533945340453414534245343453444534545346453474534845349453504535145352453534535445355453564535745358453594536045361453624536345364453654536645367453684536945370453714537245373453744537545376453774537845379453804538145382453834538445385453864538745388453894539045391453924539345394453954539645397453984539945400454014540245403454044540545406454074540845409454104541145412454134541445415454164541745418454194542045421454224542345424454254542645427454284542945430454314543245433454344543545436454374543845439454404544145442454434544445445454464544745448454494545045451454524545345454454554545645457454584545945460454614546245463454644546545466454674546845469454704547145472454734547445475454764547745478454794548045481454824548345484454854548645487454884548945490454914549245493454944549545496454974549845499455004550145502455034550445505455064550745508455094551045511455124551345514455154551645517455184551945520455214552245523455244552545526455274552845529455304553145532455334553445535455364553745538455394554045541455424554345544455454554645547455484554945550455514555245553455544555545556455574555845559455604556145562455634556445565455664556745568455694557045571455724557345574455754557645577455784557945580455814558245583455844558545586455874558845589455904559145592455934559445595455964559745598455994560045601456024560345604456054560645607456084560945610456114561245613456144561545616456174561845619456204562145622456234562445625456264562745628456294563045631456324563345634456354563645637456384563945640456414564245643456444564545646456474564845649456504565145652456534565445655456564565745658456594566045661456624566345664456654566645667456684566945670456714567245673456744567545676456774567845679456804568145682456834568445685456864568745688456894569045691456924569345694456954569645697456984569945700457014570245703457044570545706457074570845709457104571145712457134571445715457164571745718457194572045721457224572345724457254572645727457284572945730457314573245733457344573545736457374573845739457404574145742457434574445745457464574745748457494575045751457524575345754457554575645757457584575945760457614576245763457644576545766457674576845769457704577145772457734577445775457764577745778457794578045781457824578345784457854578645787457884578945790457914579245793457944579545796457974579845799458004580145802458034580445805458064580745808458094581045811458124581345814458154581645817458184581945820458214582245823458244582545826458274582845829458304583145832458334583445835458364583745838458394584045841458424584345844458454584645847458484584945850458514585245853458544585545856458574585845859458604586145862458634586445865458664586745868458694587045871458724587345874458754587645877458784587945880458814588245883458844588545886458874588845889458904589145892458934589445895458964589745898458994590045901459024590345904459054590645907459084590945910459114591245913459144591545916459174591845919459204592145922459234592445925459264592745928459294593045931459324593345934459354593645937459384593945940459414594245943459444594545946459474594845949459504595145952459534595445955459564595745958459594596045961459624596345964459654596645967459684596945970459714597245973459744597545976459774597845979459804598145982459834598445985459864598745988459894599045991459924599345994459954599645997459984599946000460014600246003460044600546006460074600846009460104601146012460134601446015460164601746018460194602046021460224602346024460254602646027460284602946030460314603246033460344603546036460374603846039460404604146042460434604446045460464604746048460494605046051460524605346054460554605646057460584605946060460614606246063460644606546066460674606846069460704607146072460734607446075460764607746078460794608046081460824608346084460854608646087460884608946090460914609246093460944609546096460974609846099461004610146102461034610446105461064610746108461094611046111461124611346114461154611646117461184611946120461214612246123461244612546126461274612846129461304613146132461334613446135461364613746138461394614046141461424614346144461454614646147461484614946150461514615246153461544615546156461574615846159461604616146162461634616446165461664616746168461694617046171461724617346174461754617646177461784617946180461814618246183461844618546186461874618846189461904619146192461934619446195461964619746198461994620046201462024620346204462054620646207462084620946210462114621246213462144621546216462174621846219462204622146222462234622446225462264622746228462294623046231462324623346234462354623646237462384623946240462414624246243462444624546246462474624846249462504625146252462534625446255462564625746258462594626046261462624626346264462654626646267462684626946270462714627246273462744627546276462774627846279462804628146282462834628446285462864628746288462894629046291462924629346294462954629646297462984629946300463014630246303463044630546306463074630846309463104631146312463134631446315463164631746318463194632046321463224632346324463254632646327463284632946330463314633246333463344633546336463374633846339463404634146342463434634446345463464634746348463494635046351463524635346354463554635646357463584635946360463614636246363463644636546366463674636846369463704637146372463734637446375463764637746378463794638046381463824638346384463854638646387463884638946390463914639246393463944639546396463974639846399464004640146402464034640446405464064640746408464094641046411464124641346414464154641646417464184641946420464214642246423464244642546426464274642846429464304643146432464334643446435464364643746438464394644046441464424644346444464454644646447464484644946450464514645246453464544645546456464574645846459464604646146462464634646446465464664646746468464694647046471464724647346474464754647646477464784647946480464814648246483464844648546486464874648846489464904649146492464934649446495464964649746498464994650046501465024650346504465054650646507465084650946510465114651246513465144651546516465174651846519465204652146522465234652446525465264652746528465294653046531465324653346534465354653646537465384653946540465414654246543465444654546546465474654846549465504655146552465534655446555465564655746558465594656046561465624656346564465654656646567465684656946570465714657246573465744657546576465774657846579465804658146582465834658446585465864658746588465894659046591465924659346594465954659646597465984659946600466014660246603466044660546606466074660846609466104661146612466134661446615466164661746618466194662046621466224662346624466254662646627466284662946630466314663246633466344663546636466374663846639466404664146642466434664446645466464664746648466494665046651466524665346654466554665646657466584665946660466614666246663466644666546666466674666846669466704667146672466734667446675466764667746678466794668046681466824668346684466854668646687466884668946690466914669246693466944669546696466974669846699467004670146702467034670446705467064670746708467094671046711467124671346714467154671646717467184671946720467214672246723467244672546726467274672846729467304673146732467334673446735467364673746738467394674046741467424674346744467454674646747467484674946750467514675246753467544675546756467574675846759467604676146762467634676446765467664676746768467694677046771467724677346774467754677646777467784677946780467814678246783467844678546786467874678846789467904679146792467934679446795467964679746798467994680046801468024680346804468054680646807468084680946810468114681246813468144681546816468174681846819468204682146822468234682446825468264682746828468294683046831468324683346834468354683646837468384683946840468414684246843468444684546846468474684846849468504685146852468534685446855468564685746858468594686046861468624686346864468654686646867468684686946870468714687246873468744687546876468774687846879468804688146882468834688446885468864688746888468894689046891468924689346894468954689646897468984689946900469014690246903469044690546906469074690846909469104691146912469134691446915469164691746918469194692046921469224692346924469254692646927469284692946930469314693246933469344693546936469374693846939469404694146942469434694446945469464694746948469494695046951469524695346954469554695646957469584695946960469614696246963469644696546966469674696846969469704697146972469734697446975469764697746978469794698046981469824698346984469854698646987469884698946990469914699246993469944699546996469974699846999470004700147002470034700447005470064700747008470094701047011470124701347014470154701647017470184701947020470214702247023470244702547026470274702847029470304703147032470334703447035470364703747038470394704047041470424704347044470454704647047470484704947050470514705247053470544705547056470574705847059470604706147062470634706447065470664706747068470694707047071470724707347074470754707647077470784707947080470814708247083470844708547086470874708847089470904709147092470934709447095470964709747098470994710047101471024710347104471054710647107471084710947110471114711247113471144711547116471174711847119471204712147122471234712447125471264712747128471294713047131471324713347134471354713647137471384713947140471414714247143471444714547146471474714847149471504715147152471534715447155471564715747158471594716047161471624716347164471654716647167471684716947170471714717247173471744717547176471774717847179471804718147182471834718447185471864718747188471894719047191471924719347194471954719647197471984719947200472014720247203472044720547206472074720847209472104721147212472134721447215472164721747218472194722047221472224722347224472254722647227472284722947230472314723247233472344723547236472374723847239472404724147242472434724447245472464724747248472494725047251472524725347254472554725647257472584725947260472614726247263472644726547266472674726847269472704727147272472734727447275472764727747278472794728047281472824728347284472854728647287472884728947290472914729247293472944729547296472974729847299473004730147302473034730447305473064730747308473094731047311473124731347314473154731647317473184731947320473214732247323473244732547326473274732847329473304733147332473334733447335473364733747338473394734047341473424734347344473454734647347473484734947350473514735247353473544735547356473574735847359473604736147362473634736447365473664736747368473694737047371473724737347374473754737647377473784737947380473814738247383473844738547386473874738847389473904739147392473934739447395473964739747398473994740047401474024740347404474054740647407474084740947410474114741247413474144741547416474174741847419474204742147422474234742447425474264742747428474294743047431474324743347434474354743647437474384743947440474414744247443474444744547446474474744847449474504745147452474534745447455474564745747458474594746047461474624746347464474654746647467474684746947470474714747247473474744747547476474774747847479474804748147482474834748447485474864748747488474894749047491474924749347494474954749647497474984749947500475014750247503475044750547506475074750847509475104751147512475134751447515475164751747518475194752047521475224752347524475254752647527475284752947530475314753247533475344753547536475374753847539475404754147542475434754447545475464754747548475494755047551475524755347554475554755647557475584755947560475614756247563475644756547566475674756847569475704757147572475734757447575475764757747578475794758047581475824758347584475854758647587475884758947590475914759247593475944759547596475974759847599476004760147602476034760447605476064760747608476094761047611476124761347614476154761647617476184761947620476214762247623476244762547626476274762847629476304763147632476334763447635476364763747638476394764047641476424764347644476454764647647476484764947650476514765247653476544765547656476574765847659476604766147662476634766447665476664766747668476694767047671476724767347674476754767647677476784767947680476814768247683476844768547686476874768847689476904769147692476934769447695476964769747698476994770047701477024770347704477054770647707477084770947710477114771247713477144771547716477174771847719477204772147722477234772447725477264772747728477294773047731477324773347734477354773647737477384773947740477414774247743477444774547746477474774847749477504775147752477534775447755477564775747758477594776047761477624776347764477654776647767477684776947770477714777247773477744777547776477774777847779477804778147782477834778447785477864778747788477894779047791477924779347794477954779647797477984779947800478014780247803478044780547806478074780847809478104781147812478134781447815478164781747818478194782047821478224782347824478254782647827478284782947830478314783247833478344783547836478374783847839478404784147842478434784447845478464784747848478494785047851478524785347854478554785647857478584785947860478614786247863478644786547866478674786847869478704787147872478734787447875478764787747878478794788047881478824788347884478854788647887478884788947890478914789247893478944789547896478974789847899479004790147902479034790447905479064790747908479094791047911479124791347914479154791647917479184791947920479214792247923479244792547926479274792847929479304793147932479334793447935479364793747938479394794047941479424794347944479454794647947479484794947950479514795247953479544795547956479574795847959479604796147962479634796447965479664796747968479694797047971479724797347974479754797647977479784797947980479814798247983479844798547986479874798847989479904799147992479934799447995479964799747998479994800048001480024800348004480054800648007480084800948010480114801248013480144801548016480174801848019480204802148022480234802448025480264802748028480294803048031480324803348034480354803648037480384803948040480414804248043480444804548046480474804848049480504805148052480534805448055480564805748058480594806048061480624806348064480654806648067480684806948070480714807248073480744807548076480774807848079480804808148082480834808448085480864808748088480894809048091480924809348094480954809648097480984809948100481014810248103481044810548106481074810848109481104811148112481134811448115481164811748118481194812048121481224812348124481254812648127481284812948130481314813248133481344813548136481374813848139481404814148142481434814448145481464814748148481494815048151481524815348154481554815648157481584815948160481614816248163481644816548166481674816848169481704817148172481734817448175481764817748178481794818048181481824818348184481854818648187481884818948190481914819248193481944819548196481974819848199482004820148202482034820448205482064820748208482094821048211482124821348214482154821648217482184821948220482214822248223482244822548226482274822848229482304823148232482334823448235482364823748238482394824048241482424824348244482454824648247482484824948250482514825248253482544825548256482574825848259482604826148262482634826448265482664826748268482694827048271482724827348274482754827648277482784827948280482814828248283482844828548286482874828848289482904829148292482934829448295482964829748298482994830048301483024830348304483054830648307483084830948310483114831248313483144831548316483174831848319483204832148322483234832448325483264832748328483294833048331483324833348334483354833648337483384833948340483414834248343483444834548346483474834848349483504835148352483534835448355483564835748358483594836048361483624836348364483654836648367483684836948370483714837248373483744837548376483774837848379483804838148382483834838448385483864838748388483894839048391483924839348394483954839648397483984839948400484014840248403484044840548406484074840848409484104841148412484134841448415484164841748418484194842048421 |
- /*@WebApiFunc@*/
- var varList = ['demo.DEMO_AI001'];
- 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/ldjsc2': ['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< 1 ;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;
- tqgl=0;
- tqfdl=0;
- yygl=0;
- yyfdl=0;
- htsgl=0;
- htsfdl=0;
- glgl=0;
- glfdl=0;
- hygl=0;
- hyfdl=0;
- llgll=0;
- llfdll=0;
- yggl=0;
- ygfdl=0;
- Node343GroupVarName=[{'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':'阳高采凉山'}];
- Node343GroupInVarName=[{'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(246*ratio.ratioX, 505*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(246*ratio.ratioX, 474*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(246*ratio.ratioX, 443*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(57*ratio.ratioX, 505*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(57*ratio.ratioX, 473*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(58*ratio.ratioX, 442*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//ztjs_temp_bg_a.png', PAGEROOTDIR + 'image//img//ztjs_temp_bg_a.png');
- Node6 = new ht.Node();
- Node6.setPosition(970*ratio.ratioX, 47*ratio.ratioY);
- Node6.setSize(1898*ratioX, 77*ratioY);
- Node6.setImage('imgimage//img//ztjs_temp_bg_a.png');
- Node6.setRotation(0*Math.PI/180);
- Node6._zoomBy = 'Default';
- Node6._nodeType = 'image';
- Node6._disallowEvert = true;
- dataModel.add(Node6);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7 = new ht.Node();
- var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'left', Node7fontSize = 13.3333*_ratio.ratioY,Node7width = 102*_ratio.ratioX, Node7height = 16*_ratio.ratioY;
- (function () {
- if (Node7align === 'left') {
- Node7textStart = Node7fontSize * 0.2 > 2 ? Node7fontSize * 0.2 - 4 : Node7fontSize * 0.2 - 9;
- Node7textWidth = Node7width;
- Node7lineStart = 1;
- } else if (Node7align === 'right') {
- Node7textStart = 0;
- Node7textWidth =Node7fontSize <= 8 ? Node7width + Node7fontSize * 0.2 + 6 : Node7width - Node7fontSize * 0.2;
- Node7lineStart = (Node7width - (ht.Default.getTextSize('公司\区域\场站', 'bold '+ Node7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node7align === 'center') {
- Node7textStart = -3;
- Node7textWidth = Node7width;
- Node7lineStart = Node7width - ht.Default.getTextSize('公司\区域\场站', 'bold '+ Node7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node7.setImage(GD.getTextJSON(Node7width, Node7height, true, false, false, 'bold '+ Node7fontSize + 'px "Arial"'))
- Node7.setPosition(81*ratio.ratioX, 27*ratio.ratioY);
- Node7.setWidth(Node7width);
- Node7.setHeight(Node7height);
- Node7._nodeType = 'text';
- Node7._disallowEvert = true;
- Node7.setRotation(0*Math.PI/180);
- Node7.a('node.width', Node7width);
- Node7.a('node.height', Node7height);
- Node7.a('node.rect', [0, 0, Node7width, Node7height]);
- Node7.a('node.bordercolor','rgba(255,255,255,1)');
- Node7.a('node.borderwidth', 0);
- Node7.a('node.background','' || 'rgba(0,0,0,0)');
- Node7.a('node.gradient','');
- Node7.a('node.gradientcolor','');
- Node7.a('node.text','公司\区域\场站');
- Node7.a('node.textalign','left');
- Node7.a('node.textvAlign','middle');
- Node7.a('node.textrect', [Node7textStart, 0, Node7textWidth, Node7height]);
- Node7.a('node.color','rgba(255,255,255,1)');
- Node7.a('node.font','bold '+ Node7fontSize + 'px "Arial"');
- Node7.a('node.textvisible',true);
- Node7.a('node.linefeed',false);
- if (false) {
- Node7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node7.a('node.text') || '公司\区域\场站';
- var color=Node7.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node7width,Node7height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node7.a('node.underlinepoints',[Node7lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node7fontSize + 2 , ht.Default.getTextSize('公司\区域\场站', 'bold '+ Node7fontSize + 'px "Arial"').width + 6, (Node7height - Node7fontSize) * 0.5*_ratio.ratioY + Node7fontSize + 2 ]);
- Node7.a('node.underlinevisible',false);
- Node7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node7);
- zoomNodeList.push({
- node: Node7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node8 = new ht.Node();
- var Node8textStart, Node8textWidth, Node8lineStart, Node8align = 'center', Node8fontSize = 11.99997*_ratio.ratioY,Node8width = 31*_ratio.ratioX, Node8height = 15*_ratio.ratioY;
- (function () {
- if (Node8align === 'left') {
- Node8textStart = Node8fontSize * 0.2 > 2 ? Node8fontSize * 0.2 - 4 : Node8fontSize * 0.2 - 9;
- Node8textWidth = Node8width;
- Node8lineStart = 1;
- } else if (Node8align === 'right') {
- Node8textStart = 0;
- Node8textWidth =Node8fontSize <= 8 ? Node8width + Node8fontSize * 0.2 + 6 : Node8width - Node8fontSize * 0.2;
- Node8lineStart = (Node8width - (ht.Default.getTextSize('单位', 'bold '+ Node8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node8align === 'center') {
- Node8textStart = -3;
- Node8textWidth = Node8width;
- Node8lineStart = Node8width - ht.Default.getTextSize('单位', 'bold '+ Node8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node8.setImage(GD.getTextJSON(Node8width, Node8height, true, false, false, 'bold '+ Node8fontSize + 'px "Arial"'))
- Node8.setPosition(82*ratio.ratioX, 55*ratio.ratioY);
- Node8.setWidth(Node8width);
- Node8.setHeight(Node8height);
- Node8._nodeType = 'text';
- Node8._disallowEvert = true;
- Node8.setRotation(0*Math.PI/180);
- Node8.a('node.width', Node8width);
- Node8.a('node.height', Node8height);
- Node8.a('node.rect', [0, 0, Node8width, Node8height]);
- Node8.a('node.bordercolor','rgba(128,128,128,1)');
- Node8.a('node.borderwidth', 0);
- Node8.a('node.background','' || 'rgba(0,0,0,0)');
- Node8.a('node.gradient','');
- Node8.a('node.gradientcolor','');
- Node8.a('node.text','单位');
- Node8.a('node.textalign','center');
- Node8.a('node.textvAlign','middle');
- Node8.a('node.textrect', [Node8textStart, 0, Node8textWidth, Node8height]);
- Node8.a('node.color','rgba(128,128,128,1)');
- Node8.a('node.font','bold '+ Node8fontSize + 'px "Arial"');
- Node8.a('node.textvisible',true);
- Node8.a('node.linefeed',false);
- if (false) {
- Node8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node8.a('node.text') || '单位';
- var color=Node8.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node8width,Node8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node8.a('node.underlinepoints',[Node8lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node8fontSize + 2 , ht.Default.getTextSize('单位', 'bold '+ Node8fontSize + 'px "Arial"').width + 6, (Node8height - Node8fontSize) * 0.5*_ratio.ratioY + Node8fontSize + 2 ]);
- Node8.a('node.underlinevisible',false);
- Node8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node8);
- zoomNodeList.push({
- node: Node8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'left', Node9fontSize = 13.3333*_ratio.ratioY,Node9width = 80*_ratio.ratioX, Node9height = 16*_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(71*ratio.ratioX, 82*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(25,25,112,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(25,25,112,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(25,25,112,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, (16 - 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 Node10type = 'rect';
- var Node10 = new ht.Node(),
- Node10BorderWidth = 0*2;
- if (Node10type === 'arc') {
- Node10BorderWidth *= 0;
- }
- Node10.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node10type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node10.setPosition(84*ratio.ratioX, 114*ratio.ratioY);
- Node10.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node10.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node10.a('node.width', 127*_ratio.ratioX);
- Node10.a('node.height', 32*_ratio.ratioY);
- Node10.a('node.type', Node10type);
- Node10.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node10.a('node.background', 'rgba(233,247,230,1)');
- Node10.a('node.gradientcolor', 'rgba(233,247,230,1)');
- Node10.a('node.gradient', '');
- Node10.a('node.borderwidth', Node10BorderWidth);
- Node10.a('node.color', 'rgba(192,192,192,0)');
- Node10.a('node.fillrect', [0,0,0,0]);
- Node10.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node10.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node10.a('node.fillgradient', '');
- if (Node10type !== 'rect') {
- Node10.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node10.a('node.arcTo', parseFloat('@arcTo@'));
- Node10.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node10type === 'arc') {
- Node10.a('node.arcOval', true);
- }
- Node10.setRotation(0*Math.PI/180);
- Node10.borderWidth = Node10BorderWidth;
- Node10.borderFillwidth = Node10BorderWidth;
- dataModel.add(Node10);
- Node10._nodename = 'Node10'
- Node10._nodeType = 'rect';
- zoomNodeList.push({
- node: Node10,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node10, Node10.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node11type = 'rect';
- var Node11 = new ht.Node(),
- Node11BorderWidth = 0*2;
- if (Node11type === 'arc') {
- Node11BorderWidth *= 0;
- }
- Node11.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node11type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node11.setPosition(83*ratio.ratioX, 146*ratio.ratioY);
- Node11.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node11.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node11.a('node.width', 127*_ratio.ratioX);
- Node11.a('node.height', 32*_ratio.ratioY);
- Node11.a('node.type', Node11type);
- Node11.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node11.a('node.background', 'rgba(244,251,242,1)');
- Node11.a('node.gradientcolor', 'rgba(244,251,242,1)');
- Node11.a('node.gradient', '');
- Node11.a('node.borderwidth', Node11BorderWidth);
- Node11.a('node.color', 'rgba(192,192,192,0)');
- Node11.a('node.fillrect', [0,0,0,0]);
- Node11.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node11.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node11.a('node.fillgradient', '');
- if (Node11type !== 'rect') {
- Node11.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node11.a('node.arcTo', parseFloat('@arcTo@'));
- Node11.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node11type === 'arc') {
- Node11.a('node.arcOval', true);
- }
- Node11.setRotation(0*Math.PI/180);
- Node11.borderWidth = Node11BorderWidth;
- Node11.borderFillwidth = Node11BorderWidth;
- dataModel.add(Node11);
- Node11._nodename = 'Node11'
- Node11._nodeType = 'rect';
- zoomNodeList.push({
- node: Node11,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node11, Node11.getImage());_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(83*ratio.ratioX, 178*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(84*ratio.ratioX, 209*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(84*ratio.ratioX, 240*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(124*_ratio.ratioX, 32*_ratio.ratioY, Node15type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node15.setPosition(87*ratio.ratioX, 271*ratio.ratioY);
- Node15.setSize(124*_ratio.ratioX, 32*_ratio.ratioY);
- Node15.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node15.a('node.width', 124*_ratio.ratioX);
- Node15.a('node.height', 32*_ratio.ratioY);
- Node15.a('node.type', Node15type);
- Node15.a('node.rect', [0, 0, 124*_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(124*_ratio.ratioX, 32*_ratio.ratioY, Node16type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node16.setPosition(85*ratio.ratioX, 302*ratio.ratioY);
- Node16.setSize(124*_ratio.ratioX, 32*_ratio.ratioY);
- Node16.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node16.a('node.width', 124*_ratio.ratioX);
- Node16.a('node.height', 32*_ratio.ratioY);
- Node16.a('node.type', Node16type);
- Node16.a('node.rect', [0, 0, 124*_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 Node17 = new ht.Node();
- var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'left', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 110*_ratio.ratioX, Node17height = 16*_ratio.ratioY;
- (function () {
- if (Node17align === 'left') {
- Node17textStart = Node17fontSize * 0.2 > 2 ? Node17fontSize * 0.2 - 4 : Node17fontSize * 0.2 - 9;
- Node17textWidth = Node17width;
- Node17lineStart = 1;
- } else if (Node17align === 'right') {
- Node17textStart = 0;
- Node17textWidth =Node17fontSize <= 8 ? Node17width + Node17fontSize * 0.2 + 6 : Node17width - Node17fontSize * 0.2;
- Node17lineStart = (Node17width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node17fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node17align === 'center') {
- Node17textStart = -3;
- Node17textWidth = Node17width;
- Node17lineStart = Node17width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node17fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node17.setImage(GD.getTextJSON(Node17width, Node17height, true, false, false, ' '+ Node17fontSize + 'px "Arial"'))
- Node17.setPosition(86*ratio.ratioX, 113*ratio.ratioY);
- Node17.setWidth(Node17width);
- Node17.setHeight(Node17height);
- Node17._nodeType = 'text';
- Node17._disallowEvert = true;
- Node17.setRotation(0*Math.PI/180);
- Node17.a('node.width', Node17width);
- Node17.a('node.height', Node17height);
- Node17.a('node.rect', [0, 0, Node17width, Node17height]);
- Node17.a('node.bordercolor','rgba(95,158,160,1)');
- Node17.a('node.borderwidth', 0);
- Node17.a('node.background','' || 'rgba(0,0,0,0)');
- Node17.a('node.gradient','');
- Node17.a('node.gradientcolor','');
- Node17.a('node.text','太旗卧牛山风场');
- Node17.a('node.textalign','left');
- Node17.a('node.textvAlign','middle');
- Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
- Node17.a('node.color','rgba(95,158,160,1)');
- Node17.a('node.font',' '+ Node17fontSize + 'px "Arial"');
- Node17.a('node.textvisible',true);
- Node17.a('node.linefeed',false);
- if (false) {
- Node17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node17.a('node.text') || '太旗卧牛山风场';
- var color=Node17.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"left",color,' '+ Node17fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node17.a('node.underlinepoints',[Node17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node17fontSize + 'px "Arial"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]);
- Node17.a('node.underlinevisible',false);
- Node17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node17);
- zoomNodeList.push({
- node: Node17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18 = new ht.Node();
- var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'left', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 110*_ratio.ratioX, Node18height = 16*_ratio.ratioY;
- (function () {
- if (Node18align === 'left') {
- Node18textStart = Node18fontSize * 0.2 > 2 ? Node18fontSize * 0.2 - 4 : Node18fontSize * 0.2 - 9;
- Node18textWidth = Node18width;
- Node18lineStart = 1;
- } else if (Node18align === 'right') {
- Node18textStart = 0;
- Node18textWidth =Node18fontSize <= 8 ? Node18width + Node18fontSize * 0.2 + 6 : Node18width - Node18fontSize * 0.2;
- Node18lineStart = (Node18width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node18fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node18align === 'center') {
- Node18textStart = -3;
- Node18textWidth = Node18width;
- Node18lineStart = Node18width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node18fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node18.setImage(GD.getTextJSON(Node18width, Node18height, true, false, false, ' '+ Node18fontSize + 'px "Arial"'))
- Node18.setPosition(86*ratio.ratioX, 145*ratio.ratioY);
- Node18.setWidth(Node18width);
- Node18.setHeight(Node18height);
- Node18._nodeType = 'text';
- Node18._disallowEvert = true;
- Node18.setRotation(0*Math.PI/180);
- Node18.a('node.width', Node18width);
- Node18.a('node.height', Node18height);
- Node18.a('node.rect', [0, 0, Node18width, Node18height]);
- Node18.a('node.bordercolor','rgba(95,158,160,1)');
- Node18.a('node.borderwidth', 0);
- Node18.a('node.background','' || 'rgba(0,0,0,0)');
- Node18.a('node.gradient','');
- Node18.a('node.gradientcolor','');
- Node18.a('node.text','右玉高家堡风场');
- Node18.a('node.textalign','left');
- Node18.a('node.textvAlign','middle');
- Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
- Node18.a('node.color','rgba(95,158,160,1)');
- Node18.a('node.font',' '+ Node18fontSize + 'px "Arial"');
- Node18.a('node.textvisible',true);
- Node18.a('node.linefeed',false);
- if (false) {
- Node18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node18.a('node.text') || '右玉高家堡风场';
- var color=Node18.a('node.color') || 'rgba(95,158,160,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"left",color,' '+ Node18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18.a('node.underlinepoints',[Node18lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node18fontSize + 'px "Arial"').width + 6, (Node18height - Node18fontSize) * 0.5*_ratio.ratioY + Node18fontSize + 2 ]);
- Node18.a('node.underlinevisible',false);
- Node18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node18);
- zoomNodeList.push({
- node: Node18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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(86*ratio.ratioX, 177*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 = 95*_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(78*ratio.ratioX, 209*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 = 95*_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(78*ratio.ratioX, 240*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(86*ratio.ratioX, 272*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(84*ratio.ratioX, 304*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 Node24type = 'rect';
- var Node24 = new ht.Node(),
- Node24BorderWidth = 1*2;
- if (Node24type === 'arc') {
- Node24BorderWidth *= 1;
- }
- Node24.setImage(GD.getRectJSON(128*_ratio.ratioX, 309*_ratio.ratioY, Node24type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node24.setPosition(85*ratio.ratioX, 163*ratio.ratioY);
- Node24.setSize(128*_ratio.ratioX, 309*_ratio.ratioY);
- Node24.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node24.a('node.width', 128*_ratio.ratioX);
- Node24.a('node.height', 309*_ratio.ratioY);
- Node24.a('node.type', Node24type);
- Node24.a('node.rect', [0, 0, 128*_ratio.ratioX, 309*_ratio.ratioY]);
- Node24.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node24.a('node.gradientcolor', '');
- Node24.a('node.gradient', '');
- Node24.a('node.borderwidth', Node24BorderWidth);
- Node24.a('node.color', 'rgba(192,192,192,1)');
- Node24.a('node.fillrect', [0,0,0,0]);
- Node24.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node24.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node24.a('node.fillgradient', '');
- if (Node24type !== 'rect') {
- Node24.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node24.a('node.arcTo', parseFloat('@arcTo@'));
- Node24.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node24type === 'arc') {
- Node24.a('node.arcOval', true);
- }
- Node24.setRotation(0*Math.PI/180);
- Node24.borderWidth = Node24BorderWidth;
- Node24.borderFillwidth = Node24BorderWidth;
- dataModel.add(Node24);
- Node24._nodename = 'Node24'
- Node24._nodeType = 'rect';
- zoomNodeList.push({
- node: Node24,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node24, Node24.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25= new ht.Node();
- Node25._borderWidth = 1;
- Node25.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)', Node25._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node25.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node25.background'},
- gradient: {value:'', func: 'attr@Node25.gradient'},
- gradientColor:{value:'', func: 'attr@Node25.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node25.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node25.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node25.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node25.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node25.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node25.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node25.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node25.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node25.borderPattern'}
- }
- ]
- });
- var Node25borderwidth = 1;
- var Node25borderFillwidth = 1*2;
- Node25 .setPosition(210*ratio.ratioX,375*ratio.ratioY);
- Node25.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node25.setRotation(0*Math.PI/180);
- Node25.s({'pixelPerfect':true});
- Node25.a('Node25.borderwidth',1);
- Node25.a('Node25.color','@bordercolor@');
- Node25.a('Node25.background','rgba(255,255,255,0.003921569)');
- Node25.a('Node25.gradient','');
- Node25.a('Node25.gradientcolor','');
- Node25.a('Node25.borderPattern',getDashStyle("Solid"));
- Node25.a('Node25.fillrect',[0,0,0,0]);
- Node25.a('Node25.fillbackcolor','rgba(0, 0, 0, 0)');
- Node25.a('Node25.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node25.a('Node25.fillgradient','');
- Node25borderwidth=1;
- dataModel.add(Node25);
- Node25.borderWidth = 1;
- Node25.borderFillwidth = 1*2;
- Node25._nodename = 'Node25';
- Node25._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node25,
- attr: 'Node25.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('Node25.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('Node25.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node25, Node25.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26 = new ht.Node();
- var Node26textStart, Node26textWidth, Node26lineStart, Node26align = 'left', Node26fontSize = 11.99997*_ratio.ratioY,Node26width = 112*_ratio.ratioX, Node26height = 15*_ratio.ratioY;
- (function () {
- if (Node26align === 'left') {
- Node26textStart = Node26fontSize * 0.2 > 2 ? Node26fontSize * 0.2 - 4 : Node26fontSize * 0.2 - 9;
- Node26textWidth = Node26width;
- Node26lineStart = 1;
- } else if (Node26align === 'right') {
- Node26textStart = 0;
- Node26textWidth =Node26fontSize <= 8 ? Node26width + Node26fontSize * 0.2 + 6 : Node26width - Node26fontSize * 0.2;
- Node26lineStart = (Node26width - (ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26align === 'center') {
- Node26textStart = -3;
- Node26textWidth = Node26width;
- Node26lineStart = Node26width - ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, 'bold '+ Node26fontSize + 'px "Arial"'))
- Node26.setPosition(86*ratio.ratioX, 339*ratio.ratioY);
- Node26.setWidth(Node26width);
- Node26.setHeight(Node26height);
- Node26._nodeType = 'text';
- Node26._disallowEvert = true;
- Node26.setRotation(0*Math.PI/180);
- Node26.a('node.width', Node26width);
- Node26.a('node.height', Node26height);
- Node26.a('node.rect', [0, 0, Node26width, Node26height]);
- Node26.a('node.bordercolor','rgba(64,64,64,1)');
- Node26.a('node.borderwidth', 0);
- Node26.a('node.background','' || 'rgba(0,0,0,0)');
- Node26.a('node.gradient','');
- Node26.a('node.gradientcolor','');
- Node26.a('node.text','太旗卧牛山风电场');
- Node26.a('node.textalign','left');
- Node26.a('node.textvAlign','middle');
- Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
- Node26.a('node.color','rgba(64,64,64,1)');
- Node26.a('node.font','bold '+ Node26fontSize + 'px "Arial"');
- Node26.a('node.textvisible',true);
- Node26.a('node.linefeed',false);
- if (false) {
- Node26.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node26.a('node.text') || '太旗卧牛山风电场';
- var color=Node26.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node26width,Node26height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node26fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26.a('node.underlinepoints',[Node26lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风电场', 'bold '+ Node26fontSize + 'px "Arial"').width + 6, (Node26height - Node26fontSize) * 0.5*_ratio.ratioY + Node26fontSize + 2 ]);
- Node26.a('node.underlinevisible',false);
- Node26.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node26);
- zoomNodeList.push({
- node: Node26,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node27 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 305*ratio.ratioX, 339*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: (getVarValue('demo.DEMO_AI001') ), name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node28 = new ht.HtmlNode();
- Node28.setPosition({'x':90*ratio.ratioX,'y':408*ratio.ratioY});
- Node28.setWidth(180*_ratio.ratioX);
- Node28.setHeight(97*_ratio.ratioY);
- Node28.setScalable(false);
- Node28.setRotation(0);
- Node28.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node28.setHtml(chart);
- var Node28_chart = chart._chart;
- dataModel.add(Node28);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29 = new ht.Node();
- var Node29textStart, Node29textWidth, Node29lineStart, Node29align = 'left', Node29fontSize = 11.99997*_ratio.ratioY,Node29width = 23*_ratio.ratioX, Node29height = 15*_ratio.ratioY;
- (function () {
- if (Node29align === 'left') {
- Node29textStart = Node29fontSize * 0.2 > 2 ? Node29fontSize * 0.2 - 4 : Node29fontSize * 0.2 - 9;
- Node29textWidth = Node29width;
- Node29lineStart = 1;
- } else if (Node29align === 'right') {
- Node29textStart = 0;
- Node29textWidth =Node29fontSize <= 8 ? Node29width + Node29fontSize * 0.2 + 6 : Node29width - Node29fontSize * 0.2;
- Node29lineStart = (Node29width - (ht.Default.getTextSize('4.48', ' '+ Node29fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node29align === 'center') {
- Node29textStart = -3;
- Node29textWidth = Node29width;
- Node29lineStart = Node29width - ht.Default.getTextSize('4.48', ' '+ Node29fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node29.setImage(GD.getTextJSON(Node29width, Node29height, true, false, false, ' '+ Node29fontSize + 'px "UniDreamLED"'))
- Node29.setPosition(151*ratio.ratioX, 383*ratio.ratioY);
- Node29.setWidth(Node29width);
- Node29.setHeight(Node29height);
- Node29._nodeType = 'text';
- Node29._disallowEvert = true;
- Node29.setRotation(0*Math.PI/180);
- Node29.a('node.width', Node29width);
- Node29.a('node.height', Node29height);
- Node29.a('node.rect', [0, 0, Node29width, Node29height]);
- Node29.a('node.bordercolor','rgba(0,0,0,1)');
- Node29.a('node.borderwidth', 0);
- Node29.a('node.background','' || 'rgba(0,0,0,0)');
- Node29.a('node.gradient','');
- Node29.a('node.gradientcolor','');
- Node29.a('node.text','4.48');
- Node29.a('node.textalign','left');
- Node29.a('node.textvAlign','middle');
- Node29.a('node.textrect', [Node29textStart, 0, Node29textWidth, Node29height]);
- Node29.a('node.color','rgba(0,0,0,1)');
- Node29.a('node.font',' '+ Node29fontSize + 'px "UniDreamLED"');
- Node29.a('node.textvisible',true);
- Node29.a('node.linefeed',false);
- if (false) {
- Node29.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node29.a('node.text') || '4.48';
- var color=Node29.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node29width,Node29height,11.99997*_ratio.ratioY,"left",color,' '+ Node29fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node29.a('node.underlinepoints',[Node29lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node29fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node29fontSize + 'px "UniDreamLED"').width + 6, (Node29height - Node29fontSize) * 0.5*_ratio.ratioY + Node29fontSize + 2 ]);
- Node29.a('node.underlinevisible',false);
- Node29.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node29);
- zoomNodeList.push({
- node: Node29,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30 = new ht.Node();
- var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'left', Node30fontSize = 11.99997*_ratio.ratioY,Node30width = 23*_ratio.ratioX, Node30height = 15*_ratio.ratioY;
- (function () {
- if (Node30align === 'left') {
- Node30textStart = Node30fontSize * 0.2 > 2 ? Node30fontSize * 0.2 - 4 : Node30fontSize * 0.2 - 9;
- Node30textWidth = Node30width;
- Node30lineStart = 1;
- } else if (Node30align === 'right') {
- Node30textStart = 0;
- Node30textWidth =Node30fontSize <= 8 ? Node30width + Node30fontSize * 0.2 + 6 : Node30width - Node30fontSize * 0.2;
- Node30lineStart = (Node30width - (ht.Default.getTextSize('m/s', ' '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30align === 'center') {
- Node30textStart = -3;
- Node30textWidth = Node30width;
- Node30lineStart = Node30width - ht.Default.getTextSize('m/s', ' '+ Node30fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, ' '+ Node30fontSize + 'px "Arial"'))
- Node30.setPosition(151*ratio.ratioX, 404*ratio.ratioY);
- Node30.setWidth(Node30width);
- Node30.setHeight(Node30height);
- Node30._nodeType = 'text';
- Node30._disallowEvert = true;
- Node30.setRotation(0*Math.PI/180);
- Node30.a('node.width', Node30width);
- Node30.a('node.height', Node30height);
- Node30.a('node.rect', [0, 0, Node30width, Node30height]);
- Node30.a('node.bordercolor','rgba(0,0,0,1)');
- Node30.a('node.borderwidth', 0);
- Node30.a('node.background','' || 'rgba(0,0,0,0)');
- Node30.a('node.gradient','');
- Node30.a('node.gradientcolor','');
- Node30.a('node.text','m/s');
- Node30.a('node.textalign','left');
- Node30.a('node.textvAlign','middle');
- Node30.a('node.textrect', [Node30textStart, 0, Node30textWidth, Node30height]);
- Node30.a('node.color','rgba(0,0,0,1)');
- Node30.a('node.font',' '+ Node30fontSize + 'px "Arial"');
- Node30.a('node.textvisible',true);
- Node30.a('node.linefeed',false);
- if (false) {
- Node30.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30.a('node.text') || 'm/s';
- var color=Node30.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node30width,Node30height,11.99997*_ratio.ratioY,"left",color,' '+ Node30fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30.a('node.underlinepoints',[Node30lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]);
- Node30.a('node.underlinevisible',false);
- Node30.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30);
- zoomNodeList.push({
- node: Node30,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31 = new ht.Node();
- var Node31textStart, Node31textWidth, Node31lineStart, Node31align = 'left', Node31fontSize = 11.99997*_ratio.ratioY,Node31width = 31*_ratio.ratioX, Node31height = 15*_ratio.ratioY;
- (function () {
- if (Node31align === 'left') {
- Node31textStart = Node31fontSize * 0.2 > 2 ? Node31fontSize * 0.2 - 4 : Node31fontSize * 0.2 - 9;
- Node31textWidth = Node31width;
- Node31lineStart = 1;
- } else if (Node31align === 'right') {
- Node31textStart = 0;
- Node31textWidth =Node31fontSize <= 8 ? Node31width + Node31fontSize * 0.2 + 6 : Node31width - Node31fontSize * 0.2;
- Node31lineStart = (Node31width - (ht.Default.getTextSize('功率', 'bold '+ Node31fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node31align === 'center') {
- Node31textStart = -3;
- Node31textWidth = Node31width;
- Node31lineStart = Node31width - ht.Default.getTextSize('功率', 'bold '+ Node31fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node31.setImage(GD.getTextJSON(Node31width, Node31height, true, false, false, 'bold '+ Node31fontSize + 'px "Arial"'))
- Node31.setPosition(215*ratio.ratioX, 371*ratio.ratioY);
- Node31.setWidth(Node31width);
- Node31.setHeight(Node31height);
- Node31._nodeType = 'text';
- Node31._disallowEvert = true;
- Node31.setRotation(0*Math.PI/180);
- Node31.a('node.width', Node31width);
- Node31.a('node.height', Node31height);
- Node31.a('node.rect', [0, 0, Node31width, Node31height]);
- Node31.a('node.bordercolor','rgba(64,64,64,1)');
- Node31.a('node.borderwidth', 0);
- Node31.a('node.background','' || 'rgba(0,0,0,0)');
- Node31.a('node.gradient','');
- Node31.a('node.gradientcolor','');
- Node31.a('node.text','功率');
- Node31.a('node.textalign','left');
- Node31.a('node.textvAlign','middle');
- Node31.a('node.textrect', [Node31textStart, 0, Node31textWidth, Node31height]);
- Node31.a('node.color','rgba(64,64,64,1)');
- Node31.a('node.font','bold '+ Node31fontSize + 'px "Arial"');
- Node31.a('node.textvisible',true);
- Node31.a('node.linefeed',false);
- if (false) {
- Node31.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node31.a('node.text') || '功率';
- var color=Node31.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node31width,Node31height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node31fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31.a('node.underlinepoints',[Node31lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node31fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node31fontSize + 'px "Arial"').width + 6, (Node31height - Node31fontSize) * 0.5*_ratio.ratioY + Node31fontSize + 2 ]);
- Node31.a('node.underlinevisible',false);
- Node31.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node31);
- zoomNodeList.push({
- node: Node31,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32 = new ht.Node();
- var Node32textStart, Node32textWidth, Node32lineStart, Node32align = 'left', Node32fontSize = 11.99997*_ratio.ratioY,Node32width = 44*_ratio.ratioX, Node32height = 15*_ratio.ratioY;
- (function () {
- if (Node32align === 'left') {
- Node32textStart = Node32fontSize * 0.2 > 2 ? Node32fontSize * 0.2 - 4 : Node32fontSize * 0.2 - 9;
- Node32textWidth = Node32width;
- Node32lineStart = 1;
- } else if (Node32align === 'right') {
- Node32textStart = 0;
- Node32textWidth =Node32fontSize <= 8 ? Node32width + Node32fontSize * 0.2 + 6 : Node32width - Node32fontSize * 0.2;
- Node32lineStart = (Node32width - (ht.Default.getTextSize('发电量', 'bold '+ Node32fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node32align === 'center') {
- Node32textStart = -3;
- Node32textWidth = Node32width;
- Node32lineStart = Node32width - ht.Default.getTextSize('发电量', 'bold '+ Node32fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node32.setImage(GD.getTextJSON(Node32width, Node32height, true, false, false, 'bold '+ Node32fontSize + 'px "Arial"'))
- Node32.setPosition(221*ratio.ratioX, 405*ratio.ratioY);
- Node32.setWidth(Node32width);
- Node32.setHeight(Node32height);
- Node32._nodeType = 'text';
- Node32._disallowEvert = true;
- Node32.setRotation(0*Math.PI/180);
- Node32.a('node.width', Node32width);
- Node32.a('node.height', Node32height);
- Node32.a('node.rect', [0, 0, Node32width, Node32height]);
- Node32.a('node.bordercolor','rgba(64,64,64,1)');
- Node32.a('node.borderwidth', 0);
- Node32.a('node.background','' || 'rgba(0,0,0,0)');
- Node32.a('node.gradient','');
- Node32.a('node.gradientcolor','');
- Node32.a('node.text','发电量');
- Node32.a('node.textalign','left');
- Node32.a('node.textvAlign','middle');
- Node32.a('node.textrect', [Node32textStart, 0, Node32textWidth, Node32height]);
- Node32.a('node.color','rgba(64,64,64,1)');
- Node32.a('node.font','bold '+ Node32fontSize + 'px "Arial"');
- Node32.a('node.textvisible',true);
- Node32.a('node.linefeed',false);
- if (false) {
- Node32.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node32.a('node.text') || '发电量';
- var color=Node32.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node32width,Node32height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node32fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32.a('node.underlinepoints',[Node32lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node32fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node32fontSize + 'px "Arial"').width + 6, (Node32height - Node32fontSize) * 0.5*_ratio.ratioY + Node32fontSize + 2 ]);
- Node32.a('node.underlinevisible',false);
- Node32.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node32);
- zoomNodeList.push({
- node: Node32,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33 = new ht.Node();
- var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 13.3333*_ratio.ratioY,Node33width = 19*_ratio.ratioX, Node33height = 16*_ratio.ratioY;
- (function () {
- if (Node33align === 'left') {
- Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9;
- Node33textWidth = Node33width;
- Node33lineStart = 1;
- } else if (Node33align === 'right') {
- Node33textStart = 0;
- Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2;
- Node33lineStart = (Node33width - (ht.Default.getTextSize('台', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33align === 'center') {
- Node33textStart = -3;
- Node33textWidth = Node33width;
- Node33lineStart = Node33width - ht.Default.getTextSize('台', ' '+ Node33fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"'))
- Node33.setPosition(365*ratio.ratioX, 340*ratio.ratioY);
- Node33.setWidth(Node33width);
- Node33.setHeight(Node33height);
- Node33._nodeType = 'text';
- Node33._disallowEvert = true;
- Node33.setRotation(0*Math.PI/180);
- Node33.a('node.width', Node33width);
- Node33.a('node.height', Node33height);
- Node33.a('node.rect', [0, 0, Node33width, Node33height]);
- Node33.a('node.bordercolor','rgba(64,64,64,1)');
- Node33.a('node.borderwidth', 0);
- Node33.a('node.background','' || 'rgba(0,0,0,0)');
- Node33.a('node.gradient','');
- Node33.a('node.gradientcolor','');
- Node33.a('node.text','台');
- Node33.a('node.textalign','left');
- Node33.a('node.textvAlign','middle');
- Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
- Node33.a('node.color','rgba(64,64,64,1)');
- Node33.a('node.font',' '+ Node33fontSize + 'px "Arial"');
- Node33.a('node.textvisible',true);
- Node33.a('node.linefeed',false);
- if (false) {
- Node33.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33.a('node.text') || '台';
- var color=Node33.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node33width,Node33height,13.3333*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33.a('node.underlinepoints',[Node33lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]);
- Node33.a('node.underlinevisible',false);
- Node33.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33);
- zoomNodeList.push({
- node: Node33,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node34 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 292*ratio.ratioX, 370*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 Node35 = GD.createButton(89*_ratio.ratioX, 30*_ratio.ratioY, 291*ratio.ratioX, 370*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 Node36 = new ht.Node();
- var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 28*_ratio.ratioX, Node36height = 16*_ratio.ratioY;
- (function () {
- if (Node36align === 'left') {
- Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
- Node36textWidth = Node36width;
- Node36lineStart = 1;
- } else if (Node36align === 'right') {
- Node36textStart = 0;
- Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
- Node36lineStart = (Node36width - (ht.Default.getTextSize('MW', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36align === 'center') {
- Node36textStart = -3;
- Node36textWidth = Node36width;
- Node36lineStart = Node36width - ht.Default.getTextSize('MW', ' '+ Node36fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"'))
- Node36.setPosition(362*ratio.ratioX, 370*ratio.ratioY);
- Node36.setWidth(Node36width);
- Node36.setHeight(Node36height);
- Node36._nodeType = 'text';
- Node36._disallowEvert = true;
- Node36.setRotation(0*Math.PI/180);
- Node36.a('node.width', Node36width);
- Node36.a('node.height', Node36height);
- Node36.a('node.rect', [0, 0, Node36width, Node36height]);
- Node36.a('node.bordercolor','rgba(64,64,64,1)');
- Node36.a('node.borderwidth', 0);
- Node36.a('node.background','' || 'rgba(0,0,0,0)');
- Node36.a('node.gradient','');
- Node36.a('node.gradientcolor','');
- Node36.a('node.text','MW');
- Node36.a('node.textalign','left');
- Node36.a('node.textvAlign','middle');
- Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
- Node36.a('node.color','rgba(64,64,64,1)');
- Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"');
- Node36.a('node.textvisible',true);
- Node36.a('node.linefeed',false);
- if (false) {
- Node36.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36.a('node.text') || 'MW';
- var color=Node36.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,' '+ Node36fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36.a('node.underlinepoints',[Node36lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
- Node36.a('node.underlinevisible',false);
- Node36.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36);
- zoomNodeList.push({
- node: Node36,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node37 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 292*ratio.ratioX, 405*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 Node38 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 292*ratio.ratioX, 405*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 Node39 = new ht.Node();
- var Node39textStart, Node39textWidth, Node39lineStart, Node39align = 'left', Node39fontSize = 13.3333*_ratio.ratioY,Node39width = 43*_ratio.ratioX, Node39height = 16*_ratio.ratioY;
- (function () {
- if (Node39align === 'left') {
- Node39textStart = Node39fontSize * 0.2 > 2 ? Node39fontSize * 0.2 - 4 : Node39fontSize * 0.2 - 9;
- Node39textWidth = Node39width;
- Node39lineStart = 1;
- } else if (Node39align === 'right') {
- Node39textStart = 0;
- Node39textWidth =Node39fontSize <= 8 ? Node39width + Node39fontSize * 0.2 + 6 : Node39width - Node39fontSize * 0.2;
- Node39lineStart = (Node39width - (ht.Default.getTextSize('万kwh', ' '+ Node39fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node39align === 'center') {
- Node39textStart = -3;
- Node39textWidth = Node39width;
- Node39lineStart = Node39width - ht.Default.getTextSize('万kwh', ' '+ Node39fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node39.setImage(GD.getTextJSON(Node39width, Node39height, true, false, false, ' '+ Node39fontSize + 'px "Arial"'))
- Node39.setPosition(370*ratio.ratioX, 405*ratio.ratioY);
- Node39.setWidth(Node39width);
- Node39.setHeight(Node39height);
- Node39._nodeType = 'text';
- Node39._disallowEvert = true;
- Node39.setRotation(0*Math.PI/180);
- Node39.a('node.width', Node39width);
- Node39.a('node.height', Node39height);
- Node39.a('node.rect', [0, 0, Node39width, Node39height]);
- Node39.a('node.bordercolor','rgba(64,64,64,1)');
- Node39.a('node.borderwidth', 0);
- Node39.a('node.background','' || 'rgba(0,0,0,0)');
- Node39.a('node.gradient','');
- Node39.a('node.gradientcolor','');
- Node39.a('node.text','万kwh');
- Node39.a('node.textalign','left');
- Node39.a('node.textvAlign','middle');
- Node39.a('node.textrect', [Node39textStart, 0, Node39textWidth, Node39height]);
- Node39.a('node.color','rgba(64,64,64,1)');
- Node39.a('node.font',' '+ Node39fontSize + 'px "Arial"');
- Node39.a('node.textvisible',true);
- Node39.a('node.linefeed',false);
- if (false) {
- Node39.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39.a('node.text') || '万kwh';
- var color=Node39.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39width,Node39height,13.3333*_ratio.ratioY,"left",color,' '+ Node39fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node39.a('node.underlinepoints',[Node39lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node39fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node39fontSize + 'px "Arial"').width + 6, (Node39height - Node39fontSize) * 0.5*_ratio.ratioY + Node39fontSize + 2 ]);
- Node39.a('node.underlinevisible',false);
- Node39.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node39);
- zoomNodeList.push({
- node: Node39,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node40type = 'rect';
- var Node40 = new ht.Node(),
- Node40BorderWidth = 1*2;
- if (Node40type === 'arc') {
- Node40BorderWidth *= 1;
- }
- Node40.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node40type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node40.setPosition(210*ratio.ratioX, 473*ratio.ratioY);
- Node40.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node40.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node40.a('node.width', 373*_ratio.ratioX);
- Node40.a('node.height', 93*_ratio.ratioY);
- Node40.a('node.type', Node40type);
- Node40.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node40.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node40.a('node.gradientcolor', '');
- Node40.a('node.gradient', '');
- Node40.a('node.borderwidth', Node40BorderWidth);
- Node40.a('node.color', 'rgba(192,192,192,1)');
- Node40.a('node.fillrect', [0,0,0,0]);
- Node40.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node40.a('node.fillgradient', '');
- if (Node40type !== 'rect') {
- Node40.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node40.a('node.arcTo', parseFloat('@arcTo@'));
- Node40.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node40type === 'arc') {
- Node40.a('node.arcOval', true);
- }
- Node40.setRotation(0*Math.PI/180);
- Node40.borderWidth = Node40BorderWidth;
- Node40.borderFillwidth = Node40BorderWidth;
- dataModel.add(Node40);
- Node40._nodename = 'Node40'
- Node40._nodeType = 'rect';
- zoomNodeList.push({
- node: Node40,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node40, Node40.getImage());var Node41points=[24, 458,397, 458],
- Node41rect=ht.Default.unionPoint([{x:24,y:458},{x:397,y:458}]),
- Node41compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node41points.length;i++){
- if(i%2==0){
- Node41compspts.push(Node41points[i]-Node41rect.x);
- }else{
- Node41compspts.push(Node41points[i]-Node41rect.y);
- }
- }
- var Node41ptslength=Node41compspts.length;
- if (Node41rect.height === 0) {
- Node41compspts[0] -= 0;
- Node41compspts[Node41ptslength-2] += 0;
- } else if (Node41rect.width === 0){
- Node41compspts[1] -= 0;
- Node41compspts[Node41ptslength-1] += 0;
- } else {
- Node41compspts[0] -= 0;
- Node41compspts[1] -= 0;
- Node41compspts[Node41ptslength-2] += 0;
- Node41compspts[Node41ptslength-1] += 0;
- }
- Node41 = new ht.Node();
- Node41.borderWidth = 1;
- Node41rect.width = Node41rect.width === 0 ? 0.0001 : Node41rect.width;
- Node41rect.height = Node41rect.height === 0 ? 0.0001 : Node41rect.height;
- var Node41endCompspts = [Node41compspts[Node41ptslength-2],Node41compspts[Node41ptslength-1],0,0];
- var Node41startCompspts = [Node41compspts[0],Node41compspts[1],0,0];
- Node41.setImage(GD.getPolyLineJSON());
- Node41.setPosition(Node41rect.x+Node41rect.width/2,Node41rect.y+Node41rect.height/2);
- Node41.setSize(Node41rect.width,Node41rect.height);
- Node41.setStyle("opacity",1);
- Node41.s({'pixelPerfect':true});
- Node41borderwidth=1;
- Node41.setRotation(0);
- dataModel.add(Node41);
- Node41.a('node.points',Node41compspts);
- Node41.a('node.segments',[1,2]);
- Node41.a('node.color','rgba(192,192,192,1)');
- Node41.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node41.a('node.borderColor','rgba(192,192,192,1)');
- Node41.a('node.background','rgba(192,192,192,1)');
- Node41.a('node.gradient','');
- Node41.a('node.gradientcolor','rgba(192,192,192,1)');
- Node41.a('node.endCompspts',Node41endCompspts);
- Node41.a('node.startCompspts',Node41startCompspts);
- (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 = 'Node41';
- 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);
- }
- })(Node41, Node41.getImage(), Node41compspts, Node41endCompspts, Node41startCompspts);
- var Node42points=[24, 489,397, 489],
- Node42rect=ht.Default.unionPoint([{x:24,y:489},{x:397,y:489}]),
- Node42compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node42points.length;i++){
- if(i%2==0){
- Node42compspts.push(Node42points[i]-Node42rect.x);
- }else{
- Node42compspts.push(Node42points[i]-Node42rect.y);
- }
- }
- var Node42ptslength=Node42compspts.length;
- if (Node42rect.height === 0) {
- Node42compspts[0] -= 0;
- Node42compspts[Node42ptslength-2] += 0;
- } else if (Node42rect.width === 0){
- Node42compspts[1] -= 0;
- Node42compspts[Node42ptslength-1] += 0;
- } else {
- Node42compspts[0] -= 0;
- Node42compspts[1] -= 0;
- Node42compspts[Node42ptslength-2] += 0;
- Node42compspts[Node42ptslength-1] += 0;
- }
- Node42 = new ht.Node();
- Node42.borderWidth = 1;
- Node42rect.width = Node42rect.width === 0 ? 0.0001 : Node42rect.width;
- Node42rect.height = Node42rect.height === 0 ? 0.0001 : Node42rect.height;
- var Node42endCompspts = [Node42compspts[Node42ptslength-2],Node42compspts[Node42ptslength-1],0,0];
- var Node42startCompspts = [Node42compspts[0],Node42compspts[1],0,0];
- Node42.setImage(GD.getPolyLineJSON());
- Node42.setPosition(Node42rect.x+Node42rect.width/2,Node42rect.y+Node42rect.height/2);
- Node42.setSize(Node42rect.width,Node42rect.height);
- Node42.setStyle("opacity",1);
- Node42.s({'pixelPerfect':true});
- Node42borderwidth=1;
- Node42.setRotation(0);
- dataModel.add(Node42);
- Node42.a('node.points',Node42compspts);
- Node42.a('node.segments',[1,2]);
- Node42.a('node.color','rgba(192,192,192,1)');
- Node42.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node42.a('node.borderColor','rgba(192,192,192,1)');
- Node42.a('node.background','rgba(192,192,192,1)');
- Node42.a('node.gradient','');
- Node42.a('node.gradientcolor','rgba(192,192,192,1)');
- Node42.a('node.endCompspts',Node42endCompspts);
- Node42.a('node.startCompspts',Node42startCompspts);
- (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 = 'Node42';
- 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);
- }
- })(Node42, Node42.getImage(), Node42compspts, Node42endCompspts, Node42startCompspts);
- var Node43points=[91, 428,91, 519],
- Node43rect=ht.Default.unionPoint([{x:91,y:428},{x:91,y:519}]),
- Node43compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node43points.length;i++){
- if(i%2==0){
- Node43compspts.push(Node43points[i]-Node43rect.x);
- }else{
- Node43compspts.push(Node43points[i]-Node43rect.y);
- }
- }
- var Node43ptslength=Node43compspts.length;
- if (Node43rect.height === 0) {
- Node43compspts[0] -= 0;
- Node43compspts[Node43ptslength-2] += 0;
- } else if (Node43rect.width === 0){
- Node43compspts[1] -= 0;
- Node43compspts[Node43ptslength-1] += 0;
- } else {
- Node43compspts[0] -= 0;
- Node43compspts[1] -= 0;
- Node43compspts[Node43ptslength-2] += 0;
- Node43compspts[Node43ptslength-1] += 0;
- }
- Node43 = new ht.Node();
- Node43.borderWidth = 1;
- Node43rect.width = Node43rect.width === 0 ? 0.0001 : Node43rect.width;
- Node43rect.height = Node43rect.height === 0 ? 0.0001 : Node43rect.height;
- var Node43endCompspts = [Node43compspts[Node43ptslength-2],Node43compspts[Node43ptslength-1],0,0];
- var Node43startCompspts = [Node43compspts[0],Node43compspts[1],0,0];
- Node43.setImage(GD.getPolyLineJSON());
- Node43.setPosition(Node43rect.x+Node43rect.width/2,Node43rect.y+Node43rect.height/2);
- Node43.setSize(Node43rect.width,Node43rect.height);
- Node43.setStyle("opacity",1);
- Node43.s({'pixelPerfect':true});
- Node43borderwidth=1;
- Node43.setRotation(0);
- dataModel.add(Node43);
- Node43.a('node.points',Node43compspts);
- Node43.a('node.segments',[1,2]);
- Node43.a('node.color','rgba(192,192,192,1)');
- Node43.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node43.a('node.borderColor','rgba(192,192,192,1)');
- Node43.a('node.background','rgba(192,192,192,1)');
- Node43.a('node.gradient','');
- Node43.a('node.gradientcolor','rgba(192,192,192,1)');
- Node43.a('node.endCompspts',Node43endCompspts);
- Node43.a('node.startCompspts',Node43startCompspts);
- (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 = 'Node43';
- 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);
- }
- })(Node43, Node43.getImage(), Node43compspts, Node43endCompspts, Node43startCompspts);
- var Node44points=[177, 427,177, 519],
- Node44rect=ht.Default.unionPoint([{x:177,y:427},{x:177,y:519}]),
- Node44compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node44points.length;i++){
- if(i%2==0){
- Node44compspts.push(Node44points[i]-Node44rect.x);
- }else{
- Node44compspts.push(Node44points[i]-Node44rect.y);
- }
- }
- var Node44ptslength=Node44compspts.length;
- if (Node44rect.height === 0) {
- Node44compspts[0] -= 0;
- Node44compspts[Node44ptslength-2] += 0;
- } else if (Node44rect.width === 0){
- Node44compspts[1] -= 0;
- Node44compspts[Node44ptslength-1] += 0;
- } else {
- Node44compspts[0] -= 0;
- Node44compspts[1] -= 0;
- Node44compspts[Node44ptslength-2] += 0;
- Node44compspts[Node44ptslength-1] += 0;
- }
- Node44 = new ht.Node();
- Node44.borderWidth = 1;
- Node44rect.width = Node44rect.width === 0 ? 0.0001 : Node44rect.width;
- Node44rect.height = Node44rect.height === 0 ? 0.0001 : Node44rect.height;
- var Node44endCompspts = [Node44compspts[Node44ptslength-2],Node44compspts[Node44ptslength-1],0,0];
- var Node44startCompspts = [Node44compspts[0],Node44compspts[1],0,0];
- Node44.setImage(GD.getPolyLineJSON());
- Node44.setPosition(Node44rect.x+Node44rect.width/2,Node44rect.y+Node44rect.height/2);
- Node44.setSize(Node44rect.width,Node44rect.height);
- Node44.setStyle("opacity",1);
- Node44.s({'pixelPerfect':true});
- Node44borderwidth=1;
- Node44.setRotation(0);
- dataModel.add(Node44);
- Node44.a('node.points',Node44compspts);
- Node44.a('node.segments',[1,2]);
- Node44.a('node.color','rgba(192,192,192,1)');
- Node44.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node44.a('node.borderColor','rgba(192,192,192,1)');
- Node44.a('node.background','rgba(192,192,192,1)');
- Node44.a('node.gradient','');
- Node44.a('node.gradientcolor','rgba(192,192,192,1)');
- Node44.a('node.endCompspts',Node44endCompspts);
- Node44.a('node.startCompspts',Node44startCompspts);
- (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 = 'Node44';
- 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);
- }
- })(Node44, Node44.getImage(), Node44compspts, Node44endCompspts, Node44startCompspts);
- var Node45points=[212, 428,212, 519],
- Node45rect=ht.Default.unionPoint([{x:212,y:428},{x:212,y:519}]),
- Node45compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node45points.length;i++){
- if(i%2==0){
- Node45compspts.push(Node45points[i]-Node45rect.x);
- }else{
- Node45compspts.push(Node45points[i]-Node45rect.y);
- }
- }
- var Node45ptslength=Node45compspts.length;
- if (Node45rect.height === 0) {
- Node45compspts[0] -= 0;
- Node45compspts[Node45ptslength-2] += 0;
- } else if (Node45rect.width === 0){
- Node45compspts[1] -= 0;
- Node45compspts[Node45ptslength-1] += 0;
- } else {
- Node45compspts[0] -= 0;
- Node45compspts[1] -= 0;
- Node45compspts[Node45ptslength-2] += 0;
- Node45compspts[Node45ptslength-1] += 0;
- }
- Node45 = new ht.Node();
- Node45.borderWidth = 1;
- Node45rect.width = Node45rect.width === 0 ? 0.0001 : Node45rect.width;
- Node45rect.height = Node45rect.height === 0 ? 0.0001 : Node45rect.height;
- var Node45endCompspts = [Node45compspts[Node45ptslength-2],Node45compspts[Node45ptslength-1],0,0];
- var Node45startCompspts = [Node45compspts[0],Node45compspts[1],0,0];
- Node45.setImage(GD.getPolyLineJSON());
- Node45.setPosition(Node45rect.x+Node45rect.width/2,Node45rect.y+Node45rect.height/2);
- Node45.setSize(Node45rect.width,Node45rect.height);
- Node45.setStyle("opacity",1);
- Node45.s({'pixelPerfect':true});
- Node45borderwidth=1;
- Node45.setRotation(0);
- dataModel.add(Node45);
- Node45.a('node.points',Node45compspts);
- Node45.a('node.segments',[1,2]);
- Node45.a('node.color','rgba(192,192,192,1)');
- Node45.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node45.a('node.borderColor','rgba(192,192,192,1)');
- Node45.a('node.background','rgba(192,192,192,1)');
- Node45.a('node.gradient','');
- Node45.a('node.gradientcolor','rgba(192,192,192,1)');
- Node45.a('node.endCompspts',Node45endCompspts);
- Node45.a('node.startCompspts',Node45startCompspts);
- (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 = 'Node45';
- 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);
- }
- })(Node45, Node45.getImage(), Node45compspts, Node45endCompspts, Node45startCompspts);
- var Node46points=[280, 428,280, 520],
- Node46rect=ht.Default.unionPoint([{x:280,y:428},{x:280,y:520}]),
- Node46compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node46points.length;i++){
- if(i%2==0){
- Node46compspts.push(Node46points[i]-Node46rect.x);
- }else{
- Node46compspts.push(Node46points[i]-Node46rect.y);
- }
- }
- var Node46ptslength=Node46compspts.length;
- if (Node46rect.height === 0) {
- Node46compspts[0] -= 0;
- Node46compspts[Node46ptslength-2] += 0;
- } else if (Node46rect.width === 0){
- Node46compspts[1] -= 0;
- Node46compspts[Node46ptslength-1] += 0;
- } else {
- Node46compspts[0] -= 0;
- Node46compspts[1] -= 0;
- Node46compspts[Node46ptslength-2] += 0;
- Node46compspts[Node46ptslength-1] += 0;
- }
- Node46 = new ht.Node();
- Node46.borderWidth = 1;
- Node46rect.width = Node46rect.width === 0 ? 0.0001 : Node46rect.width;
- Node46rect.height = Node46rect.height === 0 ? 0.0001 : Node46rect.height;
- var Node46endCompspts = [Node46compspts[Node46ptslength-2],Node46compspts[Node46ptslength-1],0,0];
- var Node46startCompspts = [Node46compspts[0],Node46compspts[1],0,0];
- Node46.setImage(GD.getPolyLineJSON());
- Node46.setPosition(Node46rect.x+Node46rect.width/2,Node46rect.y+Node46rect.height/2);
- Node46.setSize(Node46rect.width,Node46rect.height);
- Node46.setStyle("opacity",1);
- Node46.s({'pixelPerfect':true});
- Node46borderwidth=1;
- Node46.setRotation(0);
- dataModel.add(Node46);
- Node46.a('node.points',Node46compspts);
- Node46.a('node.segments',[1,2]);
- Node46.a('node.color','rgba(192,192,192,1)');
- Node46.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node46.a('node.borderColor','rgba(192,192,192,1)');
- Node46.a('node.background','rgba(192,192,192,1)');
- Node46.a('node.gradient','');
- Node46.a('node.gradientcolor','rgba(192,192,192,1)');
- Node46.a('node.endCompspts',Node46endCompspts);
- Node46.a('node.startCompspts',Node46startCompspts);
- (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 = 'Node46';
- 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);
- }
- })(Node46, Node46.getImage(), Node46compspts, Node46endCompspts, Node46startCompspts);
- var Node47points=[351, 428,351, 519],
- Node47rect=ht.Default.unionPoint([{x:351,y:428},{x:351,y:519}]),
- Node47compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node47points.length;i++){
- if(i%2==0){
- Node47compspts.push(Node47points[i]-Node47rect.x);
- }else{
- Node47compspts.push(Node47points[i]-Node47rect.y);
- }
- }
- var Node47ptslength=Node47compspts.length;
- if (Node47rect.height === 0) {
- Node47compspts[0] -= 0;
- Node47compspts[Node47ptslength-2] += 0;
- } else if (Node47rect.width === 0){
- Node47compspts[1] -= 0;
- Node47compspts[Node47ptslength-1] += 0;
- } else {
- Node47compspts[0] -= 0;
- Node47compspts[1] -= 0;
- Node47compspts[Node47ptslength-2] += 0;
- Node47compspts[Node47ptslength-1] += 0;
- }
- Node47 = new ht.Node();
- Node47.borderWidth = 1;
- Node47rect.width = Node47rect.width === 0 ? 0.0001 : Node47rect.width;
- Node47rect.height = Node47rect.height === 0 ? 0.0001 : Node47rect.height;
- var Node47endCompspts = [Node47compspts[Node47ptslength-2],Node47compspts[Node47ptslength-1],0,0];
- var Node47startCompspts = [Node47compspts[0],Node47compspts[1],0,0];
- Node47.setImage(GD.getPolyLineJSON());
- Node47.setPosition(Node47rect.x+Node47rect.width/2,Node47rect.y+Node47rect.height/2);
- Node47.setSize(Node47rect.width,Node47rect.height);
- Node47.setStyle("opacity",1);
- Node47.s({'pixelPerfect':true});
- Node47borderwidth=1;
- Node47.setRotation(0);
- dataModel.add(Node47);
- Node47.a('node.points',Node47compspts);
- Node47.a('node.segments',[1,2]);
- Node47.a('node.color','rgba(192,192,192,1)');
- Node47.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node47.a('node.borderColor','rgba(192,192,192,1)');
- Node47.a('node.background','rgba(192,192,192,1)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','rgba(192,192,192,1)');
- Node47.a('node.endCompspts',Node47endCompspts);
- Node47.a('node.startCompspts',Node47startCompspts);
- (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 = 'Node47';
- 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);
- }
- })(Node47, Node47.getImage(), Node47compspts, Node47endCompspts, Node47startCompspts);
- var Node48points=[25, 352,397, 352],
- Node48rect=ht.Default.unionPoint([{x:25,y:352},{x:397,y:352}]),
- Node48compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node48points.length;i++){
- if(i%2==0){
- Node48compspts.push(Node48points[i]-Node48rect.x);
- }else{
- Node48compspts.push(Node48points[i]-Node48rect.y);
- }
- }
- var Node48ptslength=Node48compspts.length;
- if (Node48rect.height === 0) {
- Node48compspts[0] -= 0;
- Node48compspts[Node48ptslength-2] += 0;
- } else if (Node48rect.width === 0){
- Node48compspts[1] -= 0;
- Node48compspts[Node48ptslength-1] += 0;
- } else {
- Node48compspts[0] -= 0;
- Node48compspts[1] -= 0;
- Node48compspts[Node48ptslength-2] += 0;
- Node48compspts[Node48ptslength-1] += 0;
- }
- Node48 = new ht.Node();
- Node48.borderWidth = 1;
- Node48rect.width = Node48rect.width === 0 ? 0.0001 : Node48rect.width;
- Node48rect.height = Node48rect.height === 0 ? 0.0001 : Node48rect.height;
- var Node48endCompspts = [Node48compspts[Node48ptslength-2],Node48compspts[Node48ptslength-1],0,0];
- var Node48startCompspts = [Node48compspts[0],Node48compspts[1],0,0];
- Node48.setImage(GD.getPolyLineJSON());
- Node48.setPosition(Node48rect.x+Node48rect.width/2,Node48rect.y+Node48rect.height/2);
- Node48.setSize(Node48rect.width,Node48rect.height);
- Node48.setStyle("opacity",1);
- Node48.s({'pixelPerfect':true});
- Node48borderwidth=1;
- Node48.setRotation(0);
- dataModel.add(Node48);
- Node48.a('node.points',Node48compspts);
- Node48.a('node.segments',[1,2]);
- Node48.a('node.color','rgba(192,192,192,1)');
- Node48.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node48.a('node.borderColor','rgba(192,192,192,1)');
- Node48.a('node.background','rgba(192,192,192,1)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','rgba(192,192,192,1)');
- Node48.a('node.endCompspts',Node48endCompspts);
- Node48.a('node.startCompspts',Node48startCompspts);
- (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 = 'Node48';
- 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);
- }
- })(Node48, Node48.getImage(), Node48compspts, Node48endCompspts, Node48startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49 = new ht.Node();
- var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 34*_ratio.ratioX, Node49height = 16*_ratio.ratioY;
- (function () {
- if (Node49align === 'left') {
- Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
- Node49textWidth = Node49width;
- Node49lineStart = 1;
- } else if (Node49align === 'right') {
- Node49textStart = 0;
- Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
- Node49lineStart = (Node49width - (ht.Default.getTextSize('并网', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('并网', ' '+ Node49fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
- Node49.setPosition(54*ratio.ratioX, 444*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(128,128,255,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','');
- Node49.a('node.text','并网');
- Node49.a('node.textalign','left');
- Node49.a('node.textvAlign','middle');
- Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
- Node49.a('node.color','rgba(128,128,255,1)');
- Node49.a('node.font',' '+ Node49fontSize + 'px "Arial"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '并网';
- var color=Node49.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 34*_ratio.ratioX, Node50height = 16*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('维护', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('维护', ' '+ Node50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
- Node50.setPosition(55*ratio.ratioX, 474*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(192,64,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','维护');
- Node50.a('node.textalign','left');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(192,64,0,1)');
- Node50.a('node.font',' '+ Node50fontSize + 'px "Arial"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '维护';
- var color=Node50.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.Node();
- var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 34*_ratio.ratioX, Node51height = 16*_ratio.ratioY;
- (function () {
- if (Node51align === 'left') {
- Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
- Node51textWidth = Node51width;
- Node51lineStart = 1;
- } else if (Node51align === 'right') {
- Node51textStart = 0;
- Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
- Node51lineStart = (Node51width - (ht.Default.getTextSize('限电', ' '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node51align === 'center') {
- Node51textStart = -3;
- Node51textWidth = Node51width;
- Node51lineStart = Node51width - ht.Default.getTextSize('限电', ' '+ Node51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "Arial"'))
- Node51.setPosition(55*ratio.ratioX, 504*ratio.ratioY);
- Node51.setWidth(Node51width);
- Node51.setHeight(Node51height);
- Node51._nodeType = 'text';
- Node51._disallowEvert = true;
- Node51.setRotation(0*Math.PI/180);
- Node51.a('node.width', Node51width);
- Node51.a('node.height', Node51height);
- Node51.a('node.rect', [0, 0, Node51width, Node51height]);
- Node51.a('node.bordercolor','rgba(128,0,128,1)');
- Node51.a('node.borderwidth', 0);
- Node51.a('node.background','' || 'rgba(0,0,0,0)');
- Node51.a('node.gradient','');
- Node51.a('node.gradientcolor','');
- Node51.a('node.text','限电');
- Node51.a('node.textalign','left');
- Node51.a('node.textvAlign','middle');
- Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
- Node51.a('node.color','rgba(128,0,128,1)');
- Node51.a('node.font',' '+ Node51fontSize + 'px "Arial"');
- Node51.a('node.textvisible',true);
- Node51.a('node.linefeed',false);
- if (false) {
- Node51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node51.a('node.text') || '限电';
- var color=Node51.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"left",color,' '+ Node51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node51.a('node.underlinepoints',[Node51lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
- Node51.a('node.underlinevisible',false);
- Node51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node51);
- zoomNodeList.push({
- node: Node51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52 = new ht.Node();
- var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'left', Node52fontSize = 13.3333*_ratio.ratioY,Node52width = 34*_ratio.ratioX, Node52height = 16*_ratio.ratioY;
- (function () {
- if (Node52align === 'left') {
- Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9;
- Node52textWidth = Node52width;
- Node52lineStart = 1;
- } else if (Node52align === 'right') {
- Node52textStart = 0;
- Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2;
- Node52lineStart = (Node52width - (ht.Default.getTextSize('待机', ' '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node52align === 'center') {
- Node52textStart = -3;
- Node52textWidth = Node52width;
- Node52lineStart = Node52width - ht.Default.getTextSize('待机', ' '+ Node52fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, ' '+ Node52fontSize + 'px "Arial"'))
- Node52.setPosition(244*ratio.ratioX, 444*ratio.ratioY);
- Node52.setWidth(Node52width);
- Node52.setHeight(Node52height);
- Node52._nodeType = 'text';
- Node52._disallowEvert = true;
- Node52.setRotation(0*Math.PI/180);
- Node52.a('node.width', Node52width);
- Node52.a('node.height', Node52height);
- Node52.a('node.rect', [0, 0, Node52width, Node52height]);
- Node52.a('node.bordercolor','rgba(0,128,0,1)');
- Node52.a('node.borderwidth', 0);
- Node52.a('node.background','' || 'rgba(0,0,0,0)');
- Node52.a('node.gradient','');
- Node52.a('node.gradientcolor','');
- Node52.a('node.text','待机');
- Node52.a('node.textalign','left');
- Node52.a('node.textvAlign','middle');
- Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]);
- Node52.a('node.color','rgba(0,128,0,1)');
- Node52.a('node.font',' '+ Node52fontSize + 'px "Arial"');
- Node52.a('node.textvisible',true);
- Node52.a('node.linefeed',false);
- if (false) {
- Node52.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node52.a('node.text') || '待机';
- var color=Node52.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node52width,Node52height,13.3333*_ratio.ratioY,"left",color,' '+ Node52fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node52.a('node.underlinepoints',[Node52lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]);
- Node52.a('node.underlinevisible',false);
- Node52.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node52);
- zoomNodeList.push({
- node: Node52,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53 = new ht.Node();
- var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 13.3333*_ratio.ratioY,Node53width = 34*_ratio.ratioX, Node53height = 16*_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('故障', ' '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node53align === 'center') {
- Node53textStart = -3;
- Node53textWidth = Node53width;
- Node53lineStart = Node53width - ht.Default.getTextSize('故障', ' '+ Node53fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, ' '+ Node53fontSize + 'px "Arial"'))
- Node53.setPosition(245*ratio.ratioX, 474*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(192,0,0,1)');
- Node53.a('node.borderwidth', 0);
- Node53.a('node.background','' || 'rgba(0,0,0,0)');
- Node53.a('node.gradient','');
- Node53.a('node.gradientcolor','');
- Node53.a('node.text','故障');
- Node53.a('node.textalign','left');
- Node53.a('node.textvAlign','middle');
- Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
- Node53.a('node.color','rgba(192,0,0,1)');
- Node53.a('node.font',' '+ 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(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,' '+ Node53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node53.a('node.underlinepoints',[Node53lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
- Node53.a('node.underlinevisible',false);
- Node53.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node53);
- zoomNodeList.push({
- node: Node53,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.Node();
- var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'left', Node54fontSize = 13.3333*_ratio.ratioY,Node54width = 34*_ratio.ratioX, Node54height = 16*_ratio.ratioY;
- (function () {
- if (Node54align === 'left') {
- Node54textStart = Node54fontSize * 0.2 > 2 ? Node54fontSize * 0.2 - 4 : Node54fontSize * 0.2 - 9;
- Node54textWidth = Node54width;
- Node54lineStart = 1;
- } else if (Node54align === 'right') {
- Node54textStart = 0;
- Node54textWidth =Node54fontSize <= 8 ? Node54width + Node54fontSize * 0.2 + 6 : Node54width - Node54fontSize * 0.2;
- Node54lineStart = (Node54width - (ht.Default.getTextSize('离线', ' '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node54align === 'center') {
- Node54textStart = -3;
- Node54textWidth = Node54width;
- Node54lineStart = Node54width - ht.Default.getTextSize('离线', ' '+ Node54fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, ' '+ Node54fontSize + 'px "Arial"'))
- Node54.setPosition(245*ratio.ratioX, 504*ratio.ratioY);
- Node54.setWidth(Node54width);
- Node54.setHeight(Node54height);
- Node54._nodeType = 'text';
- Node54._disallowEvert = true;
- Node54.setRotation(0*Math.PI/180);
- Node54.a('node.width', Node54width);
- Node54.a('node.height', Node54height);
- Node54.a('node.rect', [0, 0, Node54width, Node54height]);
- Node54.a('node.bordercolor','rgba(128,128,128,1)');
- Node54.a('node.borderwidth', 0);
- Node54.a('node.background','' || 'rgba(0,0,0,0)');
- Node54.a('node.gradient','');
- Node54.a('node.gradientcolor','');
- Node54.a('node.text','离线');
- Node54.a('node.textalign','left');
- Node54.a('node.textvAlign','middle');
- Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]);
- Node54.a('node.color','rgba(128,128,128,1)');
- Node54.a('node.font',' '+ Node54fontSize + 'px "Arial"');
- Node54.a('node.textvisible',true);
- Node54.a('node.linefeed',false);
- if (false) {
- Node54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node54.a('node.text') || '离线';
- var color=Node54.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node54width,Node54height,13.3333*_ratio.ratioY,"left",color,' '+ Node54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node54.a('node.underlinepoints',[Node54lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node54fontSize + 'px "Arial"').width + 6, (Node54height - Node54fontSize) * 0.5*_ratio.ratioY + Node54fontSize + 2 ]);
- Node54.a('node.underlinevisible',false);
- Node54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node54);
- zoomNodeList.push({
- node: Node54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 19*_ratio.ratioX, Node55height = 16*_ratio.ratioY;
- (function () {
- if (Node55align === 'left') {
- Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
- Node55textWidth = Node55width;
- Node55lineStart = 1;
- } else if (Node55align === 'right') {
- Node55textStart = 0;
- Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
- Node55lineStart = (Node55width - (ht.Default.getTextSize('台', ' '+ Node55fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('台', ' '+ Node55fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "UniDreamLED"'))
- Node55.setPosition(193*ratio.ratioX, 444*ratio.ratioY);
- Node55.setWidth(Node55width);
- Node55.setHeight(Node55height);
- Node55._nodeType = 'text';
- Node55._disallowEvert = true;
- Node55.setRotation(0*Math.PI/180);
- Node55.a('node.width', Node55width);
- Node55.a('node.height', Node55height);
- Node55.a('node.rect', [0, 0, Node55width, Node55height]);
- Node55.a('node.bordercolor','rgba(64,64,64,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','');
- Node55.a('node.text','台');
- Node55.a('node.textalign','left');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(64,64,64,1)');
- Node55.a('node.font',' '+ Node55fontSize + 'px "UniDreamLED"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '台';
- var color=Node55.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,' '+ Node55fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node55fontSize + 'px "UniDreamLED"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 19*_ratio.ratioX, Node56height = 16*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('台', ' '+ Node56fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('台', ' '+ Node56fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, ' '+ Node56fontSize + 'px "UniDreamLED"'))
- Node56.setPosition(193*ratio.ratioX, 475*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(64,64,64,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','' || 'rgba(0,0,0,0)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','');
- Node56.a('node.text','台');
- Node56.a('node.textalign','left');
- Node56.a('node.textvAlign','middle');
- Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
- Node56.a('node.color','rgba(64,64,64,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') || '台';
- var color=Node56.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,' '+ Node56fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 13.3333*_ratio.ratioY,Node57width = 19*_ratio.ratioX, Node57height = 16*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "UniDreamLED"'))
- Node57.setPosition(194*ratio.ratioX, 504*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(64,64,64,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','台');
- Node57.a('node.textalign','left');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(64,64,64,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "UniDreamLED"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '台';
- var color=Node57.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node57fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node58width = 17*_ratio.ratioX, Node58height = 16*_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('99', ' '+ Node58fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('99', ' '+ Node58fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "UniDreamLED"'))
- Node58.setPosition(137*ratio.ratioX, 444*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','99');
- 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',' '+ Node58fontSize + 'px "UniDreamLED"');
- 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') || '99';
- var color=Node58.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node58fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node59width = 10*_ratio.ratioX, Node59height = 16*_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('0', ' '+ Node59fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('0', ' '+ Node59fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "UniDreamLED"'))
- Node59.setPosition(134*ratio.ratioX, 473*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','0');
- 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',' '+ Node59fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node59.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node59fontSize + 'px "UniDreamLED"').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 = 10*_ratio.ratioX, Node60height = 16*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "UniDreamLED"'))
- Node60.setPosition(134*ratio.ratioX, 504*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','0');
- 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 "UniDreamLED"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '0';
- var color=Node60.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node60fontSize + 'px "UniDreamLED"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61 = new ht.Node();
- var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'left', Node61fontSize = 13.3333*_ratio.ratioY,Node61width = 10*_ratio.ratioX, Node61height = 16*_ratio.ratioY;
- (function () {
- if (Node61align === 'left') {
- Node61textStart = Node61fontSize * 0.2 > 2 ? Node61fontSize * 0.2 - 4 : Node61fontSize * 0.2 - 9;
- Node61textWidth = Node61width;
- Node61lineStart = 1;
- } else if (Node61align === 'right') {
- Node61textStart = 0;
- Node61textWidth =Node61fontSize <= 8 ? Node61width + Node61fontSize * 0.2 + 6 : Node61width - Node61fontSize * 0.2;
- Node61lineStart = (Node61width - (ht.Default.getTextSize('0', ' '+ Node61fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node61align === 'center') {
- Node61textStart = -3;
- Node61textWidth = Node61width;
- Node61lineStart = Node61width - ht.Default.getTextSize('0', ' '+ Node61fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "UniDreamLED"'))
- Node61.setPosition(311*ratio.ratioX, 444*ratio.ratioY);
- Node61.setWidth(Node61width);
- Node61.setHeight(Node61height);
- Node61._nodeType = 'text';
- Node61._disallowEvert = true;
- Node61.setRotation(0*Math.PI/180);
- Node61.a('node.width', Node61width);
- Node61.a('node.height', Node61height);
- Node61.a('node.rect', [0, 0, Node61width, Node61height]);
- Node61.a('node.bordercolor','rgba(64,64,64,1)');
- Node61.a('node.borderwidth', 0);
- Node61.a('node.background','' || 'rgba(0,0,0,0)');
- Node61.a('node.gradient','');
- Node61.a('node.gradientcolor','');
- Node61.a('node.text','0');
- Node61.a('node.textalign','left');
- Node61.a('node.textvAlign','middle');
- Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
- Node61.a('node.color','rgba(64,64,64,1)');
- Node61.a('node.font',' '+ Node61fontSize + 'px "UniDreamLED"');
- Node61.a('node.textvisible',true);
- Node61.a('node.linefeed',false);
- if (false) {
- Node61.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node61.a('node.text') || '0';
- var color=Node61.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node61width,Node61height,13.3333*_ratio.ratioY,"left",color,' '+ Node61fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node61.a('node.underlinepoints',[Node61lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node61fontSize + 'px "UniDreamLED"').width + 6, (Node61height - Node61fontSize) * 0.5*_ratio.ratioY + Node61fontSize + 2 ]);
- Node61.a('node.underlinevisible',false);
- Node61.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node61);
- zoomNodeList.push({
- node: Node61,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node62 = new ht.Node();
- var Node62textStart, Node62textWidth, Node62lineStart, Node62align = 'left', Node62fontSize = 13.3333*_ratio.ratioY,Node62width = 10*_ratio.ratioX, Node62height = 16*_ratio.ratioY;
- (function () {
- if (Node62align === 'left') {
- Node62textStart = Node62fontSize * 0.2 > 2 ? Node62fontSize * 0.2 - 4 : Node62fontSize * 0.2 - 9;
- Node62textWidth = Node62width;
- Node62lineStart = 1;
- } else if (Node62align === 'right') {
- Node62textStart = 0;
- Node62textWidth =Node62fontSize <= 8 ? Node62width + Node62fontSize * 0.2 + 6 : Node62width - Node62fontSize * 0.2;
- Node62lineStart = (Node62width - (ht.Default.getTextSize('0', ' '+ Node62fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node62align === 'center') {
- Node62textStart = -3;
- Node62textWidth = Node62width;
- Node62lineStart = Node62width - ht.Default.getTextSize('0', ' '+ Node62fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node62.setImage(GD.getTextJSON(Node62width, Node62height, true, false, false, ' '+ Node62fontSize + 'px "UniDreamLED"'))
- Node62.setPosition(311*ratio.ratioX, 473*ratio.ratioY);
- Node62.setWidth(Node62width);
- Node62.setHeight(Node62height);
- Node62._nodeType = 'text';
- Node62._disallowEvert = true;
- Node62.setRotation(0*Math.PI/180);
- Node62.a('node.width', Node62width);
- Node62.a('node.height', Node62height);
- Node62.a('node.rect', [0, 0, Node62width, Node62height]);
- Node62.a('node.bordercolor','rgba(64,64,64,1)');
- Node62.a('node.borderwidth', 0);
- Node62.a('node.background','' || 'rgba(0,0,0,0)');
- Node62.a('node.gradient','');
- Node62.a('node.gradientcolor','');
- Node62.a('node.text','0');
- Node62.a('node.textalign','left');
- Node62.a('node.textvAlign','middle');
- Node62.a('node.textrect', [Node62textStart, 0, Node62textWidth, Node62height]);
- Node62.a('node.color','rgba(64,64,64,1)');
- Node62.a('node.font',' '+ Node62fontSize + 'px "UniDreamLED"');
- Node62.a('node.textvisible',true);
- Node62.a('node.linefeed',false);
- if (false) {
- Node62.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node62.a('node.text') || '0';
- var color=Node62.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node62width,Node62height,13.3333*_ratio.ratioY,"left",color,' '+ Node62fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node62.a('node.underlinepoints',[Node62lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node62fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node62fontSize + 'px "UniDreamLED"').width + 6, (Node62height - Node62fontSize) * 0.5*_ratio.ratioY + Node62fontSize + 2 ]);
- Node62.a('node.underlinevisible',false);
- Node62.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node62);
- zoomNodeList.push({
- node: Node62,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63 = new ht.Node();
- var Node63textStart, Node63textWidth, Node63lineStart, Node63align = 'left', Node63fontSize = 13.3333*_ratio.ratioY,Node63width = 10*_ratio.ratioX, Node63height = 16*_ratio.ratioY;
- (function () {
- if (Node63align === 'left') {
- Node63textStart = Node63fontSize * 0.2 > 2 ? Node63fontSize * 0.2 - 4 : Node63fontSize * 0.2 - 9;
- Node63textWidth = Node63width;
- Node63lineStart = 1;
- } else if (Node63align === 'right') {
- Node63textStart = 0;
- Node63textWidth =Node63fontSize <= 8 ? Node63width + Node63fontSize * 0.2 + 6 : Node63width - Node63fontSize * 0.2;
- Node63lineStart = (Node63width - (ht.Default.getTextSize('0', ' '+ Node63fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node63align === 'center') {
- Node63textStart = -3;
- Node63textWidth = Node63width;
- Node63lineStart = Node63width - ht.Default.getTextSize('0', ' '+ Node63fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node63.setImage(GD.getTextJSON(Node63width, Node63height, true, false, false, ' '+ Node63fontSize + 'px "UniDreamLED"'))
- Node63.setPosition(311*ratio.ratioX, 504*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','0');
- 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 "UniDreamLED"');
- Node63.a('node.textvisible',true);
- Node63.a('node.linefeed',false);
- if (false) {
- Node63.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node63.a('node.text') || '0';
- var color=Node63.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node63width,Node63height,13.3333*_ratio.ratioY,"left",color,' '+ Node63fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node63.a('node.underlinepoints',[Node63lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node63fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node63fontSize + 'px "UniDreamLED"').width + 6, (Node63height - Node63fontSize) * 0.5*_ratio.ratioY + Node63fontSize + 2 ]);
- Node63.a('node.underlinevisible',false);
- Node63.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node63);
- zoomNodeList.push({
- node: Node63,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64 = new ht.Node();
- var Node64textStart, Node64textWidth, Node64lineStart, Node64align = 'left', Node64fontSize = 13.3333*_ratio.ratioY,Node64width = 19*_ratio.ratioX, Node64height = 16*_ratio.ratioY;
- (function () {
- if (Node64align === 'left') {
- Node64textStart = Node64fontSize * 0.2 > 2 ? Node64fontSize * 0.2 - 4 : Node64fontSize * 0.2 - 9;
- Node64textWidth = Node64width;
- Node64lineStart = 1;
- } else if (Node64align === 'right') {
- Node64textStart = 0;
- Node64textWidth =Node64fontSize <= 8 ? Node64width + Node64fontSize * 0.2 + 6 : Node64width - Node64fontSize * 0.2;
- Node64lineStart = (Node64width - (ht.Default.getTextSize('台', ' '+ Node64fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node64align === 'center') {
- Node64textStart = -3;
- Node64textWidth = Node64width;
- Node64lineStart = Node64width - ht.Default.getTextSize('台', ' '+ Node64fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node64.setImage(GD.getTextJSON(Node64width, Node64height, true, false, false, ' '+ Node64fontSize + 'px "UniDreamLED"'))
- Node64.setPosition(369*ratio.ratioX, 443*ratio.ratioY);
- Node64.setWidth(Node64width);
- Node64.setHeight(Node64height);
- Node64._nodeType = 'text';
- Node64._disallowEvert = true;
- Node64.setRotation(0*Math.PI/180);
- Node64.a('node.width', Node64width);
- Node64.a('node.height', Node64height);
- Node64.a('node.rect', [0, 0, Node64width, Node64height]);
- Node64.a('node.bordercolor','rgba(64,64,64,1)');
- Node64.a('node.borderwidth', 0);
- Node64.a('node.background','' || 'rgba(0,0,0,0)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','');
- Node64.a('node.text','台');
- Node64.a('node.textalign','left');
- Node64.a('node.textvAlign','middle');
- Node64.a('node.textrect', [Node64textStart, 0, Node64textWidth, Node64height]);
- Node64.a('node.color','rgba(64,64,64,1)');
- Node64.a('node.font',' '+ Node64fontSize + 'px "UniDreamLED"');
- Node64.a('node.textvisible',true);
- Node64.a('node.linefeed',false);
- if (false) {
- Node64.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node64.a('node.text') || '台';
- var color=Node64.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node64width,Node64height,13.3333*_ratio.ratioY,"left",color,' '+ Node64fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node64.a('node.underlinepoints',[Node64lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node64fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node64fontSize + 'px "UniDreamLED"').width + 6, (Node64height - Node64fontSize) * 0.5*_ratio.ratioY + Node64fontSize + 2 ]);
- Node64.a('node.underlinevisible',false);
- Node64.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node64);
- zoomNodeList.push({
- node: Node64,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65 = new ht.Node();
- var Node65textStart, Node65textWidth, Node65lineStart, Node65align = 'left', Node65fontSize = 13.3333*_ratio.ratioY,Node65width = 19*_ratio.ratioX, Node65height = 16*_ratio.ratioY;
- (function () {
- if (Node65align === 'left') {
- Node65textStart = Node65fontSize * 0.2 > 2 ? Node65fontSize * 0.2 - 4 : Node65fontSize * 0.2 - 9;
- Node65textWidth = Node65width;
- Node65lineStart = 1;
- } else if (Node65align === 'right') {
- Node65textStart = 0;
- Node65textWidth =Node65fontSize <= 8 ? Node65width + Node65fontSize * 0.2 + 6 : Node65width - Node65fontSize * 0.2;
- Node65lineStart = (Node65width - (ht.Default.getTextSize('台', ' '+ Node65fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node65align === 'center') {
- Node65textStart = -3;
- Node65textWidth = Node65width;
- Node65lineStart = Node65width - ht.Default.getTextSize('台', ' '+ Node65fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node65.setImage(GD.getTextJSON(Node65width, Node65height, true, false, false, ' '+ Node65fontSize + 'px "UniDreamLED"'))
- Node65.setPosition(369*ratio.ratioX, 474*ratio.ratioY);
- Node65.setWidth(Node65width);
- Node65.setHeight(Node65height);
- Node65._nodeType = 'text';
- Node65._disallowEvert = true;
- Node65.setRotation(0*Math.PI/180);
- Node65.a('node.width', Node65width);
- Node65.a('node.height', Node65height);
- Node65.a('node.rect', [0, 0, Node65width, Node65height]);
- Node65.a('node.bordercolor','rgba(64,64,64,1)');
- Node65.a('node.borderwidth', 0);
- Node65.a('node.background','' || 'rgba(0,0,0,0)');
- Node65.a('node.gradient','');
- Node65.a('node.gradientcolor','');
- Node65.a('node.text','台');
- Node65.a('node.textalign','left');
- Node65.a('node.textvAlign','middle');
- Node65.a('node.textrect', [Node65textStart, 0, Node65textWidth, Node65height]);
- Node65.a('node.color','rgba(64,64,64,1)');
- Node65.a('node.font',' '+ Node65fontSize + 'px "UniDreamLED"');
- Node65.a('node.textvisible',true);
- Node65.a('node.linefeed',false);
- if (false) {
- Node65.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node65.a('node.text') || '台';
- var color=Node65.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node65width,Node65height,13.3333*_ratio.ratioY,"left",color,' '+ Node65fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node65.a('node.underlinepoints',[Node65lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node65fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node65fontSize + 'px "UniDreamLED"').width + 6, (Node65height - Node65fontSize) * 0.5*_ratio.ratioY + Node65fontSize + 2 ]);
- Node65.a('node.underlinevisible',false);
- Node65.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node65);
- zoomNodeList.push({
- node: Node65,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66 = new ht.Node();
- var Node66textStart, Node66textWidth, Node66lineStart, Node66align = 'left', Node66fontSize = 13.3333*_ratio.ratioY,Node66width = 19*_ratio.ratioX, Node66height = 16*_ratio.ratioY;
- (function () {
- if (Node66align === 'left') {
- Node66textStart = Node66fontSize * 0.2 > 2 ? Node66fontSize * 0.2 - 4 : Node66fontSize * 0.2 - 9;
- Node66textWidth = Node66width;
- Node66lineStart = 1;
- } else if (Node66align === 'right') {
- Node66textStart = 0;
- Node66textWidth =Node66fontSize <= 8 ? Node66width + Node66fontSize * 0.2 + 6 : Node66width - Node66fontSize * 0.2;
- Node66lineStart = (Node66width - (ht.Default.getTextSize('台', ' '+ Node66fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node66align === 'center') {
- Node66textStart = -3;
- Node66textWidth = Node66width;
- Node66lineStart = Node66width - ht.Default.getTextSize('台', ' '+ Node66fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node66.setImage(GD.getTextJSON(Node66width, Node66height, true, false, false, ' '+ Node66fontSize + 'px "UniDreamLED"'))
- Node66.setPosition(370*ratio.ratioX, 503*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','台');
- 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 "UniDreamLED"');
- Node66.a('node.textvisible',true);
- Node66.a('node.linefeed',false);
- if (false) {
- Node66.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node66.a('node.text') || '台';
- var color=Node66.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node66width,Node66height,13.3333*_ratio.ratioY,"left",color,' '+ Node66fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node66.a('node.underlinepoints',[Node66lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node66fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node66fontSize + 'px "UniDreamLED"').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 = 0*2;
- if (Node67type === 'arc') {
- Node67BorderWidth *= 0;
- }
- Node67.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node67.setPosition(623*ratio.ratioX, 505*ratio.ratioY);
- Node67.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node67.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node67.a('node.width', 66*_ratio.ratioX);
- Node67.a('node.height', 30*_ratio.ratioY);
- Node67.a('node.type', Node67type);
- Node67.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node67.a('node.background', 'rgba(245,245,245,1)');
- Node67.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node67.a('node.gradient', '');
- Node67.a('node.borderwidth', Node67BorderWidth);
- Node67.a('node.color', 'rgba(224,224,224,0)');
- Node67.a('node.fillrect', [0,0,0,0]);
- Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradient', '');
- if (Node67type !== 'rect') {
- Node67.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node67.a('node.arcTo', parseFloat('@arcTo@'));
- Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node67type === 'arc') {
- Node67.a('node.arcOval', true);
- }
- Node67.setRotation(0*Math.PI/180);
- Node67.borderWidth = Node67BorderWidth;
- Node67.borderFillwidth = Node67BorderWidth;
- dataModel.add(Node67);
- Node67._nodename = 'Node67'
- Node67._nodeType = 'rect';
- zoomNodeList.push({
- node: Node67,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node67, Node67.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68type = 'rect';
- var Node68 = new ht.Node(),
- Node68BorderWidth = 0*2;
- if (Node68type === 'arc') {
- Node68BorderWidth *= 0;
- }
- Node68.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node68type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node68.setPosition(623*ratio.ratioX, 474*ratio.ratioY);
- Node68.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node68.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node68.a('node.width', 66*_ratio.ratioX);
- Node68.a('node.height', 30*_ratio.ratioY);
- Node68.a('node.type', Node68type);
- Node68.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node68.a('node.background', 'rgba(245,245,245,1)');
- Node68.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node68.a('node.gradient', '');
- Node68.a('node.borderwidth', Node68BorderWidth);
- Node68.a('node.color', 'rgba(224,224,224,0)');
- Node68.a('node.fillrect', [0,0,0,0]);
- Node68.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node68.a('node.fillgradient', '');
- if (Node68type !== 'rect') {
- Node68.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node68.a('node.arcTo', parseFloat('@arcTo@'));
- Node68.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node68type === 'arc') {
- Node68.a('node.arcOval', true);
- }
- Node68.setRotation(0*Math.PI/180);
- Node68.borderWidth = Node68BorderWidth;
- Node68.borderFillwidth = Node68BorderWidth;
- dataModel.add(Node68);
- Node68._nodename = 'Node68'
- Node68._nodeType = 'rect';
- zoomNodeList.push({
- node: Node68,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node68, Node68.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69type = 'rect';
- var Node69 = new ht.Node(),
- Node69BorderWidth = 0*2;
- if (Node69type === 'arc') {
- Node69BorderWidth *= 0;
- }
- Node69.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node69type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node69.setPosition(623*ratio.ratioX, 443*ratio.ratioY);
- Node69.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node69.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node69.a('node.width', 66*_ratio.ratioX);
- Node69.a('node.height', 30*_ratio.ratioY);
- Node69.a('node.type', Node69type);
- Node69.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node69.a('node.background', 'rgba(245,245,245,1)');
- Node69.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node69.a('node.gradient', '');
- Node69.a('node.borderwidth', Node69BorderWidth);
- Node69.a('node.color', 'rgba(224,224,224,0)');
- Node69.a('node.fillrect', [0,0,0,0]);
- Node69.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node69.a('node.fillgradient', '');
- if (Node69type !== 'rect') {
- Node69.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node69.a('node.arcTo', parseFloat('@arcTo@'));
- Node69.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node69type === 'arc') {
- Node69.a('node.arcOval', true);
- }
- Node69.setRotation(0*Math.PI/180);
- Node69.borderWidth = Node69BorderWidth;
- Node69.borderFillwidth = Node69BorderWidth;
- dataModel.add(Node69);
- Node69._nodename = 'Node69'
- Node69._nodeType = 'rect';
- zoomNodeList.push({
- node: Node69,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node69, Node69.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70type = 'rect';
- var Node70 = new ht.Node(),
- Node70BorderWidth = 0*2;
- if (Node70type === 'arc') {
- Node70BorderWidth *= 0;
- }
- Node70.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node70type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node70.setPosition(434*ratio.ratioX, 505*ratio.ratioY);
- Node70.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node70.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node70.a('node.width', 66*_ratio.ratioX);
- Node70.a('node.height', 30*_ratio.ratioY);
- Node70.a('node.type', Node70type);
- Node70.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node70.a('node.background', 'rgba(245,245,245,1)');
- Node70.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node70.a('node.gradient', '');
- Node70.a('node.borderwidth', Node70BorderWidth);
- Node70.a('node.color', 'rgba(224,224,224,0)');
- Node70.a('node.fillrect', [0,0,0,0]);
- Node70.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node70.a('node.fillgradient', '');
- if (Node70type !== 'rect') {
- Node70.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node70.a('node.arcTo', parseFloat('@arcTo@'));
- Node70.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node70type === 'arc') {
- Node70.a('node.arcOval', true);
- }
- Node70.setRotation(0*Math.PI/180);
- Node70.borderWidth = Node70BorderWidth;
- Node70.borderFillwidth = Node70BorderWidth;
- dataModel.add(Node70);
- Node70._nodename = 'Node70'
- Node70._nodeType = 'rect';
- zoomNodeList.push({
- node: Node70,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node70, Node70.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71type = 'rect';
- var Node71 = new ht.Node(),
- Node71BorderWidth = 0*2;
- if (Node71type === 'arc') {
- Node71BorderWidth *= 0;
- }
- Node71.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node71type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node71.setPosition(434*ratio.ratioX, 473*ratio.ratioY);
- Node71.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node71.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node71.a('node.width', 66*_ratio.ratioX);
- Node71.a('node.height', 30*_ratio.ratioY);
- Node71.a('node.type', Node71type);
- Node71.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node71.a('node.background', 'rgba(245,245,245,1)');
- Node71.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node71.a('node.gradient', '');
- Node71.a('node.borderwidth', Node71BorderWidth);
- Node71.a('node.color', 'rgba(224,224,224,0)');
- Node71.a('node.fillrect', [0,0,0,0]);
- Node71.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node71.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node71.a('node.fillgradient', '');
- if (Node71type !== 'rect') {
- Node71.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node71.a('node.arcTo', parseFloat('@arcTo@'));
- Node71.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node71type === 'arc') {
- Node71.a('node.arcOval', true);
- }
- Node71.setRotation(0*Math.PI/180);
- Node71.borderWidth = Node71BorderWidth;
- Node71.borderFillwidth = Node71BorderWidth;
- dataModel.add(Node71);
- Node71._nodename = 'Node71'
- Node71._nodeType = 'rect';
- zoomNodeList.push({
- node: Node71,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node71, Node71.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72type = 'rect';
- var Node72 = new ht.Node(),
- Node72BorderWidth = 0*2;
- if (Node72type === 'arc') {
- Node72BorderWidth *= 0;
- }
- Node72.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node72type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node72.setPosition(435*ratio.ratioX, 442*ratio.ratioY);
- Node72.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node72.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node72.a('node.width', 66*_ratio.ratioX);
- Node72.a('node.height', 30*_ratio.ratioY);
- Node72.a('node.type', Node72type);
- Node72.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node72.a('node.background', 'rgba(245,245,245,1)');
- Node72.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node72.a('node.gradient', '');
- Node72.a('node.borderwidth', Node72BorderWidth);
- Node72.a('node.color', 'rgba(224,224,224,0)');
- Node72.a('node.fillrect', [0,0,0,0]);
- Node72.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node72.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node72.a('node.fillgradient', '');
- if (Node72type !== 'rect') {
- Node72.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node72.a('node.arcTo', parseFloat('@arcTo@'));
- Node72.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node72type === 'arc') {
- Node72.a('node.arcOval', true);
- }
- Node72.setRotation(0*Math.PI/180);
- Node72.borderWidth = Node72BorderWidth;
- Node72.borderFillwidth = Node72BorderWidth;
- dataModel.add(Node72);
- Node72._nodename = 'Node72'
- Node72._nodeType = 'rect';
- zoomNodeList.push({
- node: Node72,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node72, Node72.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73= new ht.Node();
- Node73._borderWidth = 1;
- Node73.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)', Node73._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node73.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node73.background'},
- gradient: {value:'', func: 'attr@Node73.gradient'},
- gradientColor:{value:'', func: 'attr@Node73.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node73.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node73.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node73.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node73.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node73.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node73.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node73.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node73.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node73.borderPattern'}
- }
- ]
- });
- var Node73borderwidth = 1;
- var Node73borderFillwidth = 1*2;
- Node73 .setPosition(587*ratio.ratioX,375*ratio.ratioY);
- Node73.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node73.setRotation(0*Math.PI/180);
- Node73.s({'pixelPerfect':true});
- Node73.a('Node73.borderwidth',1);
- Node73.a('Node73.color','@bordercolor@');
- Node73.a('Node73.background','rgba(255,255,255,0.003921569)');
- Node73.a('Node73.gradient','');
- Node73.a('Node73.gradientcolor','');
- Node73.a('Node73.borderPattern',getDashStyle("Solid"));
- Node73.a('Node73.fillrect',[0,0,0,0]);
- Node73.a('Node73.fillbackcolor','rgba(0, 0, 0, 0)');
- Node73.a('Node73.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node73.a('Node73.fillgradient','');
- Node73borderwidth=1;
- dataModel.add(Node73);
- Node73.borderWidth = 1;
- Node73.borderFillwidth = 1*2;
- Node73._nodename = 'Node73';
- Node73._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node73,
- attr: 'Node73.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('Node73.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('Node73.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node73, Node73.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.Node();
- var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 11.99997*_ratio.ratioY,Node74width = 112*_ratio.ratioX, Node74height = 15*_ratio.ratioY;
- (function () {
- if (Node74align === 'left') {
- Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
- Node74textWidth = Node74width;
- Node74lineStart = 1;
- } else if (Node74align === 'right') {
- Node74textStart = 0;
- Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
- Node74lineStart = (Node74width - (ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node74fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, 'bold '+ Node74fontSize + 'px "Arial"'))
- Node74.setPosition(463*ratio.ratioX, 339*ratio.ratioY);
- Node74.setWidth(Node74width);
- Node74.setHeight(Node74height);
- Node74._nodeType = 'text';
- Node74._disallowEvert = true;
- Node74.setRotation(0*Math.PI/180);
- Node74.a('node.width', Node74width);
- Node74.a('node.height', Node74height);
- Node74.a('node.rect', [0, 0, Node74width, Node74height]);
- Node74.a('node.bordercolor','rgba(64,64,64,1)');
- Node74.a('node.borderwidth', 0);
- Node74.a('node.background','' || 'rgba(0,0,0,0)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','');
- Node74.a('node.text','右玉高家堡风电场');
- Node74.a('node.textalign','left');
- Node74.a('node.textvAlign','middle');
- Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
- Node74.a('node.color','rgba(64,64,64,1)');
- Node74.a('node.font','bold '+ Node74fontSize + 'px "Arial"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '右玉高家堡风电场';
- var color=Node74.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node74width,Node74height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node74fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('右玉高家堡风电场', 'bold '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node75 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 682*ratio.ratioX, 339*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 Node76 = new ht.Node();
- var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 11.99997*_ratio.ratioY,Node76width = 23*_ratio.ratioX, Node76height = 15*_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('4.48', ' '+ Node76fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node76align === 'center') {
- Node76textStart = -3;
- Node76textWidth = Node76width;
- Node76lineStart = Node76width - ht.Default.getTextSize('4.48', ' '+ Node76fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, ' '+ Node76fontSize + 'px "UniDreamLED"'))
- Node76.setPosition(528*ratio.ratioX, 383*ratio.ratioY);
- Node76.setWidth(Node76width);
- Node76.setHeight(Node76height);
- Node76._nodeType = 'text';
- Node76._disallowEvert = true;
- Node76.setRotation(0*Math.PI/180);
- Node76.a('node.width', Node76width);
- Node76.a('node.height', Node76height);
- Node76.a('node.rect', [0, 0, Node76width, Node76height]);
- Node76.a('node.bordercolor','rgba(0,0,0,1)');
- Node76.a('node.borderwidth', 0);
- Node76.a('node.background','' || 'rgba(0,0,0,0)');
- Node76.a('node.gradient','');
- Node76.a('node.gradientcolor','');
- Node76.a('node.text','4.48');
- Node76.a('node.textalign','left');
- Node76.a('node.textvAlign','middle');
- Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
- Node76.a('node.color','rgba(0,0,0,1)');
- Node76.a('node.font',' '+ Node76fontSize + 'px "UniDreamLED"');
- 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') || '4.48';
- var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node76width,Node76height,11.99997*_ratio.ratioY,"left",color,' '+ Node76fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node76fontSize + 'px "UniDreamLED"').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 = 11.99997*_ratio.ratioY,Node77width = 23*_ratio.ratioX, Node77height = 15*_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('m/s', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('m/s', ' '+ Node77fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
- Node77.setPosition(528*ratio.ratioX, 404*ratio.ratioY);
- Node77.setWidth(Node77width);
- Node77.setHeight(Node77height);
- Node77._nodeType = 'text';
- Node77._disallowEvert = true;
- Node77.setRotation(0*Math.PI/180);
- Node77.a('node.width', Node77width);
- Node77.a('node.height', Node77height);
- Node77.a('node.rect', [0, 0, Node77width, Node77height]);
- Node77.a('node.bordercolor','rgba(0,0,0,1)');
- Node77.a('node.borderwidth', 0);
- Node77.a('node.background','' || 'rgba(0,0,0,0)');
- Node77.a('node.gradient','');
- Node77.a('node.gradientcolor','');
- Node77.a('node.text','m/s');
- Node77.a('node.textalign','left');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(0,0,0,1)');
- Node77.a('node.font',' '+ Node77fontSize + 'px "Arial"');
- Node77.a('node.textvisible',true);
- Node77.a('node.linefeed',false);
- if (false) {
- Node77.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node77.a('node.text') || 'm/s';
- var color=Node77.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node77width,Node77height,11.99997*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 = 11.99997*_ratio.ratioY,Node78width = 31*_ratio.ratioX, Node78height = 15*_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('功率', 'bold '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node78align === 'center') {
- Node78textStart = -3;
- Node78textWidth = Node78width;
- Node78lineStart = Node78width - ht.Default.getTextSize('功率', 'bold '+ Node78fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, 'bold '+ Node78fontSize + 'px "Arial"'))
- Node78.setPosition(592*ratio.ratioX, 371*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(64,64,64,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(64,64,64,1)');
- Node78.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node78width,Node78height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node78fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node78.a('node.underlinepoints',[Node78lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ 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 = 11.99997*_ratio.ratioY,Node79width = 44*_ratio.ratioX, Node79height = 15*_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('发电量', 'bold '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('发电量', 'bold '+ Node79fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, 'bold '+ Node79fontSize + 'px "Arial"'))
- Node79.setPosition(599*ratio.ratioX, 405*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(64,64,64,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(64,64,64,1)');
- Node79.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node79width,Node79height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node79fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ 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 = 19*_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(742*ratio.ratioX, 340*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(64,64,64,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(64,64,64,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(64,64,64,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, ratio);
- var Node81 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 668*ratio.ratioX, 371*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 Node82 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 668*ratio.ratioX, 371*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 Node83 = new ht.Node();
- var Node83textStart, Node83textWidth, Node83lineStart, Node83align = 'left', Node83fontSize = 13.3333*_ratio.ratioY,Node83width = 28*_ratio.ratioX, Node83height = 16*_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('MW', ' '+ Node83fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node83align === 'center') {
- Node83textStart = -3;
- Node83textWidth = Node83width;
- Node83lineStart = Node83width - ht.Default.getTextSize('MW', ' '+ Node83fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node83.setImage(GD.getTextJSON(Node83width, Node83height, true, false, false, ' '+ Node83fontSize + 'px "Arial"'))
- Node83.setPosition(739*ratio.ratioX, 370*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','MW');
- 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 "Arial"');
- Node83.a('node.textvisible',true);
- Node83.a('node.linefeed',false);
- if (false) {
- Node83.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node83.a('node.text') || 'MW';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node83.a('node.underlinepoints',[Node83lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node83fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node83fontSize + 'px "Arial"').width + 6, (Node83height - Node83fontSize) * 0.5*_ratio.ratioY + Node83fontSize + 2 ]);
- Node83.a('node.underlinevisible',false);
- Node83.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node83);
- zoomNodeList.push({
- node: Node83,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node84 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 669*ratio.ratioX, 405*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 Node85 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 669*ratio.ratioX, 405*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 Node86 = new ht.Node();
- var Node86textStart, Node86textWidth, Node86lineStart, Node86align = 'left', Node86fontSize = 13.3333*_ratio.ratioY,Node86width = 43*_ratio.ratioX, Node86height = 16*_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('万kwh', ' '+ Node86fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node86align === 'center') {
- Node86textStart = -3;
- Node86textWidth = Node86width;
- Node86lineStart = Node86width - ht.Default.getTextSize('万kwh', ' '+ Node86fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node86.setImage(GD.getTextJSON(Node86width, Node86height, true, false, false, ' '+ Node86fontSize + 'px "Arial"'))
- Node86.setPosition(747*ratio.ratioX, 405*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','万kwh');
- 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 "Arial"');
- 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') || '万kwh';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node86.a('node.underlinepoints',[Node86lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node86fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node86fontSize + 'px "Arial"').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 Node87type = 'rect';
- var Node87 = new ht.Node(),
- Node87BorderWidth = 1*2;
- if (Node87type === 'arc') {
- Node87BorderWidth *= 1;
- }
- Node87.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node87.setPosition(587*ratio.ratioX, 473*ratio.ratioY);
- Node87.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node87.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node87.a('node.width', 373*_ratio.ratioX);
- Node87.a('node.height', 93*_ratio.ratioY);
- Node87.a('node.type', Node87type);
- Node87.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node87.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node87.a('node.gradientcolor', '');
- Node87.a('node.gradient', '');
- Node87.a('node.borderwidth', Node87BorderWidth);
- Node87.a('node.color', 'rgba(192,192,192,1)');
- Node87.a('node.fillrect', [0,0,0,0]);
- Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradient', '');
- if (Node87type !== 'rect') {
- Node87.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node87.a('node.arcTo', parseFloat('@arcTo@'));
- Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node87type === 'arc') {
- Node87.a('node.arcOval', true);
- }
- Node87.setRotation(0*Math.PI/180);
- Node87.borderWidth = Node87BorderWidth;
- Node87.borderFillwidth = Node87BorderWidth;
- dataModel.add(Node87);
- Node87._nodename = 'Node87'
- Node87._nodeType = 'rect';
- zoomNodeList.push({
- node: Node87,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node87, Node87.getImage());var Node88points=[401, 458,774, 458],
- Node88rect=ht.Default.unionPoint([{x:401,y:458},{x:774,y:458}]),
- Node88compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node88points.length;i++){
- if(i%2==0){
- Node88compspts.push(Node88points[i]-Node88rect.x);
- }else{
- Node88compspts.push(Node88points[i]-Node88rect.y);
- }
- }
- var Node88ptslength=Node88compspts.length;
- if (Node88rect.height === 0) {
- Node88compspts[0] -= 0;
- Node88compspts[Node88ptslength-2] += 0;
- } else if (Node88rect.width === 0){
- Node88compspts[1] -= 0;
- Node88compspts[Node88ptslength-1] += 0;
- } else {
- Node88compspts[0] -= 0;
- Node88compspts[1] -= 0;
- Node88compspts[Node88ptslength-2] += 0;
- Node88compspts[Node88ptslength-1] += 0;
- }
- Node88 = new ht.Node();
- Node88.borderWidth = 1;
- Node88rect.width = Node88rect.width === 0 ? 0.0001 : Node88rect.width;
- Node88rect.height = Node88rect.height === 0 ? 0.0001 : Node88rect.height;
- var Node88endCompspts = [Node88compspts[Node88ptslength-2],Node88compspts[Node88ptslength-1],0,0];
- var Node88startCompspts = [Node88compspts[0],Node88compspts[1],0,0];
- Node88.setImage(GD.getPolyLineJSON());
- Node88.setPosition(Node88rect.x+Node88rect.width/2,Node88rect.y+Node88rect.height/2);
- Node88.setSize(Node88rect.width,Node88rect.height);
- Node88.setStyle("opacity",1);
- Node88.s({'pixelPerfect':true});
- Node88borderwidth=1;
- Node88.setRotation(0);
- dataModel.add(Node88);
- Node88.a('node.points',Node88compspts);
- Node88.a('node.segments',[1,2]);
- Node88.a('node.color','rgba(192,192,192,1)');
- Node88.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node88.a('node.borderColor','rgba(192,192,192,1)');
- Node88.a('node.background','rgba(192,192,192,1)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','rgba(192,192,192,1)');
- Node88.a('node.endCompspts',Node88endCompspts);
- Node88.a('node.startCompspts',Node88startCompspts);
- (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 = 'Node88';
- 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);
- }
- })(Node88, Node88.getImage(), Node88compspts, Node88endCompspts, Node88startCompspts);
- var Node89points=[401, 489,774, 489],
- Node89rect=ht.Default.unionPoint([{x:401,y:489},{x:774,y:489}]),
- Node89compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node89points.length;i++){
- if(i%2==0){
- Node89compspts.push(Node89points[i]-Node89rect.x);
- }else{
- Node89compspts.push(Node89points[i]-Node89rect.y);
- }
- }
- var Node89ptslength=Node89compspts.length;
- if (Node89rect.height === 0) {
- Node89compspts[0] -= 0;
- Node89compspts[Node89ptslength-2] += 0;
- } else if (Node89rect.width === 0){
- Node89compspts[1] -= 0;
- Node89compspts[Node89ptslength-1] += 0;
- } else {
- Node89compspts[0] -= 0;
- Node89compspts[1] -= 0;
- Node89compspts[Node89ptslength-2] += 0;
- Node89compspts[Node89ptslength-1] += 0;
- }
- Node89 = new ht.Node();
- Node89.borderWidth = 1;
- Node89rect.width = Node89rect.width === 0 ? 0.0001 : Node89rect.width;
- Node89rect.height = Node89rect.height === 0 ? 0.0001 : Node89rect.height;
- var Node89endCompspts = [Node89compspts[Node89ptslength-2],Node89compspts[Node89ptslength-1],0,0];
- var Node89startCompspts = [Node89compspts[0],Node89compspts[1],0,0];
- Node89.setImage(GD.getPolyLineJSON());
- Node89.setPosition(Node89rect.x+Node89rect.width/2,Node89rect.y+Node89rect.height/2);
- Node89.setSize(Node89rect.width,Node89rect.height);
- Node89.setStyle("opacity",1);
- Node89.s({'pixelPerfect':true});
- Node89borderwidth=1;
- Node89.setRotation(0);
- dataModel.add(Node89);
- Node89.a('node.points',Node89compspts);
- Node89.a('node.segments',[1,2]);
- Node89.a('node.color','rgba(192,192,192,1)');
- Node89.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node89.a('node.borderColor','rgba(192,192,192,1)');
- Node89.a('node.background','rgba(192,192,192,1)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','rgba(192,192,192,1)');
- Node89.a('node.endCompspts',Node89endCompspts);
- Node89.a('node.startCompspts',Node89startCompspts);
- (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 = 'Node89';
- 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);
- }
- })(Node89, Node89.getImage(), Node89compspts, Node89endCompspts, Node89startCompspts);
- var Node90points=[468, 428,468, 519],
- Node90rect=ht.Default.unionPoint([{x:468,y:428},{x:468,y:519}]),
- Node90compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node90points.length;i++){
- if(i%2==0){
- Node90compspts.push(Node90points[i]-Node90rect.x);
- }else{
- Node90compspts.push(Node90points[i]-Node90rect.y);
- }
- }
- var Node90ptslength=Node90compspts.length;
- if (Node90rect.height === 0) {
- Node90compspts[0] -= 0;
- Node90compspts[Node90ptslength-2] += 0;
- } else if (Node90rect.width === 0){
- Node90compspts[1] -= 0;
- Node90compspts[Node90ptslength-1] += 0;
- } else {
- Node90compspts[0] -= 0;
- Node90compspts[1] -= 0;
- Node90compspts[Node90ptslength-2] += 0;
- Node90compspts[Node90ptslength-1] += 0;
- }
- Node90 = new ht.Node();
- Node90.borderWidth = 1;
- Node90rect.width = Node90rect.width === 0 ? 0.0001 : Node90rect.width;
- Node90rect.height = Node90rect.height === 0 ? 0.0001 : Node90rect.height;
- var Node90endCompspts = [Node90compspts[Node90ptslength-2],Node90compspts[Node90ptslength-1],0,0];
- var Node90startCompspts = [Node90compspts[0],Node90compspts[1],0,0];
- Node90.setImage(GD.getPolyLineJSON());
- Node90.setPosition(Node90rect.x+Node90rect.width/2,Node90rect.y+Node90rect.height/2);
- Node90.setSize(Node90rect.width,Node90rect.height);
- Node90.setStyle("opacity",1);
- Node90.s({'pixelPerfect':true});
- Node90borderwidth=1;
- Node90.setRotation(0);
- dataModel.add(Node90);
- Node90.a('node.points',Node90compspts);
- Node90.a('node.segments',[1,2]);
- Node90.a('node.color','rgba(192,192,192,1)');
- Node90.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node90.a('node.borderColor','rgba(192,192,192,1)');
- Node90.a('node.background','rgba(192,192,192,1)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','rgba(192,192,192,1)');
- Node90.a('node.endCompspts',Node90endCompspts);
- Node90.a('node.startCompspts',Node90startCompspts);
- (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 = 'Node90';
- 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);
- }
- })(Node90, Node90.getImage(), Node90compspts, Node90endCompspts, Node90startCompspts);
- var Node91points=[554, 427,554, 519],
- Node91rect=ht.Default.unionPoint([{x:554,y:427},{x:554,y:519}]),
- Node91compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node91points.length;i++){
- if(i%2==0){
- Node91compspts.push(Node91points[i]-Node91rect.x);
- }else{
- Node91compspts.push(Node91points[i]-Node91rect.y);
- }
- }
- var Node91ptslength=Node91compspts.length;
- if (Node91rect.height === 0) {
- Node91compspts[0] -= 0;
- Node91compspts[Node91ptslength-2] += 0;
- } else if (Node91rect.width === 0){
- Node91compspts[1] -= 0;
- Node91compspts[Node91ptslength-1] += 0;
- } else {
- Node91compspts[0] -= 0;
- Node91compspts[1] -= 0;
- Node91compspts[Node91ptslength-2] += 0;
- Node91compspts[Node91ptslength-1] += 0;
- }
- Node91 = new ht.Node();
- Node91.borderWidth = 1;
- Node91rect.width = Node91rect.width === 0 ? 0.0001 : Node91rect.width;
- Node91rect.height = Node91rect.height === 0 ? 0.0001 : Node91rect.height;
- var Node91endCompspts = [Node91compspts[Node91ptslength-2],Node91compspts[Node91ptslength-1],0,0];
- var Node91startCompspts = [Node91compspts[0],Node91compspts[1],0,0];
- Node91.setImage(GD.getPolyLineJSON());
- Node91.setPosition(Node91rect.x+Node91rect.width/2,Node91rect.y+Node91rect.height/2);
- Node91.setSize(Node91rect.width,Node91rect.height);
- Node91.setStyle("opacity",1);
- Node91.s({'pixelPerfect':true});
- Node91borderwidth=1;
- Node91.setRotation(0);
- dataModel.add(Node91);
- Node91.a('node.points',Node91compspts);
- Node91.a('node.segments',[1,2]);
- Node91.a('node.color','rgba(192,192,192,1)');
- Node91.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node91.a('node.borderColor','rgba(192,192,192,1)');
- Node91.a('node.background','rgba(192,192,192,1)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','rgba(192,192,192,1)');
- Node91.a('node.endCompspts',Node91endCompspts);
- Node91.a('node.startCompspts',Node91startCompspts);
- (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 = 'Node91';
- 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);
- }
- })(Node91, Node91.getImage(), Node91compspts, Node91endCompspts, Node91startCompspts);
- var Node92points=[589, 428,589, 519],
- Node92rect=ht.Default.unionPoint([{x:589,y:428},{x:589,y:519}]),
- Node92compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node92points.length;i++){
- if(i%2==0){
- Node92compspts.push(Node92points[i]-Node92rect.x);
- }else{
- Node92compspts.push(Node92points[i]-Node92rect.y);
- }
- }
- var Node92ptslength=Node92compspts.length;
- if (Node92rect.height === 0) {
- Node92compspts[0] -= 0;
- Node92compspts[Node92ptslength-2] += 0;
- } else if (Node92rect.width === 0){
- Node92compspts[1] -= 0;
- Node92compspts[Node92ptslength-1] += 0;
- } else {
- Node92compspts[0] -= 0;
- Node92compspts[1] -= 0;
- Node92compspts[Node92ptslength-2] += 0;
- Node92compspts[Node92ptslength-1] += 0;
- }
- Node92 = new ht.Node();
- Node92.borderWidth = 1;
- Node92rect.width = Node92rect.width === 0 ? 0.0001 : Node92rect.width;
- Node92rect.height = Node92rect.height === 0 ? 0.0001 : Node92rect.height;
- var Node92endCompspts = [Node92compspts[Node92ptslength-2],Node92compspts[Node92ptslength-1],0,0];
- var Node92startCompspts = [Node92compspts[0],Node92compspts[1],0,0];
- Node92.setImage(GD.getPolyLineJSON());
- Node92.setPosition(Node92rect.x+Node92rect.width/2,Node92rect.y+Node92rect.height/2);
- Node92.setSize(Node92rect.width,Node92rect.height);
- Node92.setStyle("opacity",1);
- Node92.s({'pixelPerfect':true});
- Node92borderwidth=1;
- Node92.setRotation(0);
- dataModel.add(Node92);
- Node92.a('node.points',Node92compspts);
- Node92.a('node.segments',[1,2]);
- Node92.a('node.color','rgba(192,192,192,1)');
- Node92.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node92.a('node.borderColor','rgba(192,192,192,1)');
- Node92.a('node.background','rgba(192,192,192,1)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','rgba(192,192,192,1)');
- Node92.a('node.endCompspts',Node92endCompspts);
- Node92.a('node.startCompspts',Node92startCompspts);
- (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 = 'Node92';
- 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);
- }
- })(Node92, Node92.getImage(), Node92compspts, Node92endCompspts, Node92startCompspts);
- var Node93points=[657, 428,657, 520],
- Node93rect=ht.Default.unionPoint([{x:657,y:428},{x:657,y:520}]),
- Node93compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node93points.length;i++){
- if(i%2==0){
- Node93compspts.push(Node93points[i]-Node93rect.x);
- }else{
- Node93compspts.push(Node93points[i]-Node93rect.y);
- }
- }
- var Node93ptslength=Node93compspts.length;
- if (Node93rect.height === 0) {
- Node93compspts[0] -= 0;
- Node93compspts[Node93ptslength-2] += 0;
- } else if (Node93rect.width === 0){
- Node93compspts[1] -= 0;
- Node93compspts[Node93ptslength-1] += 0;
- } else {
- Node93compspts[0] -= 0;
- Node93compspts[1] -= 0;
- Node93compspts[Node93ptslength-2] += 0;
- Node93compspts[Node93ptslength-1] += 0;
- }
- Node93 = new ht.Node();
- Node93.borderWidth = 1;
- Node93rect.width = Node93rect.width === 0 ? 0.0001 : Node93rect.width;
- Node93rect.height = Node93rect.height === 0 ? 0.0001 : Node93rect.height;
- var Node93endCompspts = [Node93compspts[Node93ptslength-2],Node93compspts[Node93ptslength-1],0,0];
- var Node93startCompspts = [Node93compspts[0],Node93compspts[1],0,0];
- Node93.setImage(GD.getPolyLineJSON());
- Node93.setPosition(Node93rect.x+Node93rect.width/2,Node93rect.y+Node93rect.height/2);
- Node93.setSize(Node93rect.width,Node93rect.height);
- Node93.setStyle("opacity",1);
- Node93.s({'pixelPerfect':true});
- Node93borderwidth=1;
- Node93.setRotation(0);
- dataModel.add(Node93);
- Node93.a('node.points',Node93compspts);
- Node93.a('node.segments',[1,2]);
- Node93.a('node.color','rgba(192,192,192,1)');
- Node93.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node93.a('node.borderColor','rgba(192,192,192,1)');
- Node93.a('node.background','rgba(192,192,192,1)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','rgba(192,192,192,1)');
- Node93.a('node.endCompspts',Node93endCompspts);
- Node93.a('node.startCompspts',Node93startCompspts);
- (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 = 'Node93';
- 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);
- }
- })(Node93, Node93.getImage(), Node93compspts, Node93endCompspts, Node93startCompspts);
- var Node94points=[728, 428,728, 519],
- Node94rect=ht.Default.unionPoint([{x:728,y:428},{x:728,y:519}]),
- Node94compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node94points.length;i++){
- if(i%2==0){
- Node94compspts.push(Node94points[i]-Node94rect.x);
- }else{
- Node94compspts.push(Node94points[i]-Node94rect.y);
- }
- }
- var Node94ptslength=Node94compspts.length;
- if (Node94rect.height === 0) {
- Node94compspts[0] -= 0;
- Node94compspts[Node94ptslength-2] += 0;
- } else if (Node94rect.width === 0){
- Node94compspts[1] -= 0;
- Node94compspts[Node94ptslength-1] += 0;
- } else {
- Node94compspts[0] -= 0;
- Node94compspts[1] -= 0;
- Node94compspts[Node94ptslength-2] += 0;
- Node94compspts[Node94ptslength-1] += 0;
- }
- Node94 = new ht.Node();
- Node94.borderWidth = 1;
- Node94rect.width = Node94rect.width === 0 ? 0.0001 : Node94rect.width;
- Node94rect.height = Node94rect.height === 0 ? 0.0001 : Node94rect.height;
- var Node94endCompspts = [Node94compspts[Node94ptslength-2],Node94compspts[Node94ptslength-1],0,0];
- var Node94startCompspts = [Node94compspts[0],Node94compspts[1],0,0];
- Node94.setImage(GD.getPolyLineJSON());
- Node94.setPosition(Node94rect.x+Node94rect.width/2,Node94rect.y+Node94rect.height/2);
- Node94.setSize(Node94rect.width,Node94rect.height);
- Node94.setStyle("opacity",1);
- Node94.s({'pixelPerfect':true});
- Node94borderwidth=1;
- Node94.setRotation(0);
- dataModel.add(Node94);
- Node94.a('node.points',Node94compspts);
- Node94.a('node.segments',[1,2]);
- Node94.a('node.color','rgba(192,192,192,1)');
- Node94.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node94.a('node.borderColor','rgba(192,192,192,1)');
- Node94.a('node.background','rgba(192,192,192,1)');
- Node94.a('node.gradient','');
- Node94.a('node.gradientcolor','rgba(192,192,192,1)');
- Node94.a('node.endCompspts',Node94endCompspts);
- Node94.a('node.startCompspts',Node94startCompspts);
- (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 = 'Node94';
- 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);
- }
- })(Node94, Node94.getImage(), Node94compspts, Node94endCompspts, Node94startCompspts);
- var Node95points=[402, 352,774, 352],
- Node95rect=ht.Default.unionPoint([{x:402,y:352},{x:774,y:352}]),
- Node95compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node95points.length;i++){
- if(i%2==0){
- Node95compspts.push(Node95points[i]-Node95rect.x);
- }else{
- Node95compspts.push(Node95points[i]-Node95rect.y);
- }
- }
- var Node95ptslength=Node95compspts.length;
- if (Node95rect.height === 0) {
- Node95compspts[0] -= 0;
- Node95compspts[Node95ptslength-2] += 0;
- } else if (Node95rect.width === 0){
- Node95compspts[1] -= 0;
- Node95compspts[Node95ptslength-1] += 0;
- } else {
- Node95compspts[0] -= 0;
- Node95compspts[1] -= 0;
- Node95compspts[Node95ptslength-2] += 0;
- Node95compspts[Node95ptslength-1] += 0;
- }
- Node95 = new ht.Node();
- Node95.borderWidth = 1;
- Node95rect.width = Node95rect.width === 0 ? 0.0001 : Node95rect.width;
- Node95rect.height = Node95rect.height === 0 ? 0.0001 : Node95rect.height;
- var Node95endCompspts = [Node95compspts[Node95ptslength-2],Node95compspts[Node95ptslength-1],0,0];
- var Node95startCompspts = [Node95compspts[0],Node95compspts[1],0,0];
- Node95.setImage(GD.getPolyLineJSON());
- Node95.setPosition(Node95rect.x+Node95rect.width/2,Node95rect.y+Node95rect.height/2);
- Node95.setSize(Node95rect.width,Node95rect.height);
- Node95.setStyle("opacity",1);
- Node95.s({'pixelPerfect':true});
- Node95borderwidth=1;
- Node95.setRotation(0);
- dataModel.add(Node95);
- Node95.a('node.points',Node95compspts);
- Node95.a('node.segments',[1,2]);
- Node95.a('node.color','rgba(192,192,192,1)');
- Node95.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node95.a('node.borderColor','rgba(192,192,192,1)');
- Node95.a('node.background','rgba(192,192,192,1)');
- Node95.a('node.gradient','');
- Node95.a('node.gradientcolor','rgba(192,192,192,1)');
- Node95.a('node.endCompspts',Node95endCompspts);
- Node95.a('node.startCompspts',Node95startCompspts);
- (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 = 'Node95';
- 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);
- }
- })(Node95, Node95.getImage(), Node95compspts, Node95endCompspts, Node95startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96 = new ht.Node();
- var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'left', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 34*_ratio.ratioX, Node96height = 16*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('并网', ' '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('并网', ' '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, ' '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(431*ratio.ratioX, 444*ratio.ratioY);
- Node96.setWidth(Node96width);
- Node96.setHeight(Node96height);
- Node96._nodeType = 'text';
- Node96._disallowEvert = true;
- Node96.setRotation(0*Math.PI/180);
- Node96.a('node.width', Node96width);
- Node96.a('node.height', Node96height);
- Node96.a('node.rect', [0, 0, Node96width, Node96height]);
- Node96.a('node.bordercolor','rgba(128,128,255,1)');
- Node96.a('node.borderwidth', 0);
- Node96.a('node.background','' || 'rgba(0,0,0,0)');
- Node96.a('node.gradient','');
- Node96.a('node.gradientcolor','');
- Node96.a('node.text','并网');
- Node96.a('node.textalign','left');
- Node96.a('node.textvAlign','middle');
- Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
- Node96.a('node.color','rgba(128,128,255,1)');
- Node96.a('node.font',' '+ Node96fontSize + 'px "Arial"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '并网';
- var color=Node96.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,' '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 34*_ratio.ratioX, Node97height = 16*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('维护', ' '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('维护', ' '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, ' '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(432*ratio.ratioX, 474*ratio.ratioY);
- Node97.setWidth(Node97width);
- Node97.setHeight(Node97height);
- Node97._nodeType = 'text';
- Node97._disallowEvert = true;
- Node97.setRotation(0*Math.PI/180);
- Node97.a('node.width', Node97width);
- Node97.a('node.height', Node97height);
- Node97.a('node.rect', [0, 0, Node97width, Node97height]);
- Node97.a('node.bordercolor','rgba(192,64,0,1)');
- Node97.a('node.borderwidth', 0);
- Node97.a('node.background','' || 'rgba(0,0,0,0)');
- Node97.a('node.gradient','');
- Node97.a('node.gradientcolor','');
- Node97.a('node.text','维护');
- Node97.a('node.textalign','left');
- Node97.a('node.textvAlign','middle');
- Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]);
- Node97.a('node.color','rgba(192,64,0,1)');
- Node97.a('node.font',' '+ Node97fontSize + 'px "Arial"');
- Node97.a('node.textvisible',true);
- Node97.a('node.linefeed',false);
- if (false) {
- Node97.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node97.a('node.text') || '维护';
- var color=Node97.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"left",color,' '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 13.3333*_ratio.ratioY,Node98width = 34*_ratio.ratioX, Node98height = 16*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('限电', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('限电', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(432*ratio.ratioX, 504*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(128,0,128,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','限电');
- Node98.a('node.textalign','left');
- Node98.a('node.textvAlign','middle');
- Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
- Node98.a('node.color','rgba(128,0,128,1)');
- Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '限电';
- var color=Node98.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node98width,Node98height,13.3333*_ratio.ratioY,"left",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 13.3333*_ratio.ratioY,Node99width = 34*_ratio.ratioX, Node99height = 16*_ratio.ratioY;
- (function () {
- if (Node99align === 'left') {
- Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
- Node99textWidth = Node99width;
- Node99lineStart = 1;
- } else if (Node99align === 'right') {
- Node99textStart = 0;
- Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
- Node99lineStart = (Node99width - (ht.Default.getTextSize('待机', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('待机', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(621*ratio.ratioX, 444*ratio.ratioY);
- Node99.setWidth(Node99width);
- Node99.setHeight(Node99height);
- Node99._nodeType = 'text';
- Node99._disallowEvert = true;
- Node99.setRotation(0*Math.PI/180);
- Node99.a('node.width', Node99width);
- Node99.a('node.height', Node99height);
- Node99.a('node.rect', [0, 0, Node99width, Node99height]);
- Node99.a('node.bordercolor','rgba(0,128,0,1)');
- Node99.a('node.borderwidth', 0);
- Node99.a('node.background','' || 'rgba(0,0,0,0)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','');
- Node99.a('node.text','待机');
- Node99.a('node.textalign','left');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(0,128,0,1)');
- Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
- Node99.a('node.textvisible',true);
- Node99.a('node.linefeed',false);
- if (false) {
- Node99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node99.a('node.text') || '待机';
- var color=Node99.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node99width,Node99height,13.3333*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100 = new ht.Node();
- var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'left', Node100fontSize = 13.3333*_ratio.ratioY,Node100width = 34*_ratio.ratioX, Node100height = 16*_ratio.ratioY;
- (function () {
- if (Node100align === 'left') {
- Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
- Node100textWidth = Node100width;
- Node100lineStart = 1;
- } else if (Node100align === 'right') {
- Node100textStart = 0;
- Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
- Node100lineStart = (Node100width - (ht.Default.getTextSize('故障', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('故障', ' '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(622*ratio.ratioX, 474*ratio.ratioY);
- Node100.setWidth(Node100width);
- Node100.setHeight(Node100height);
- Node100._nodeType = 'text';
- Node100._disallowEvert = true;
- Node100.setRotation(0*Math.PI/180);
- Node100.a('node.width', Node100width);
- Node100.a('node.height', Node100height);
- Node100.a('node.rect', [0, 0, Node100width, Node100height]);
- Node100.a('node.bordercolor','rgba(192,0,0,1)');
- Node100.a('node.borderwidth', 0);
- Node100.a('node.background','' || 'rgba(0,0,0,0)');
- Node100.a('node.gradient','');
- Node100.a('node.gradientcolor','');
- Node100.a('node.text','故障');
- Node100.a('node.textalign','left');
- Node100.a('node.textvAlign','middle');
- Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]);
- Node100.a('node.color','rgba(192,0,0,1)');
- Node100.a('node.font',' '+ Node100fontSize + 'px "Arial"');
- Node100.a('node.textvisible',true);
- Node100.a('node.linefeed',false);
- if (false) {
- Node100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node100.a('node.text') || '故障';
- var color=Node100.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node100width,Node100height,13.3333*_ratio.ratioY,"left",color,' '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
- Node100.a('node.underlinevisible',false);
- Node100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node100);
- zoomNodeList.push({
- node: Node100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 13.3333*_ratio.ratioY,Node101width = 34*_ratio.ratioX, Node101height = 16*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('离线', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('离线', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(622*ratio.ratioX, 504*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(128,128,128,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(128,128,128,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '离线';
- var color=Node101.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node101width,Node101height,13.3333*_ratio.ratioY,"left",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 13.3333*_ratio.ratioY,Node102width = 19*_ratio.ratioX, Node102height = 16*_ratio.ratioY;
- (function () {
- if (Node102align === 'left') {
- Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
- Node102textWidth = Node102width;
- Node102lineStart = 1;
- } else if (Node102align === 'right') {
- Node102textStart = 0;
- Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
- Node102lineStart = (Node102width - (ht.Default.getTextSize('台', ' '+ Node102fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('台', ' '+ Node102fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "UniDreamLED"'))
- Node102.setPosition(570*ratio.ratioX, 444*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(64,64,64,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','台');
- Node102.a('node.textalign','left');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(64,64,64,1)');
- Node102.a('node.font',' '+ Node102fontSize + 'px "UniDreamLED"');
- Node102.a('node.textvisible',true);
- Node102.a('node.linefeed',false);
- if (false) {
- Node102.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node102.a('node.text') || '台';
- var color=Node102.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node102fontSize + 'px "UniDreamLED"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 19*_ratio.ratioX, Node103height = 16*_ratio.ratioY;
- (function () {
- if (Node103align === 'left') {
- Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
- Node103textWidth = Node103width;
- Node103lineStart = 1;
- } else if (Node103align === 'right') {
- Node103textStart = 0;
- Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
- Node103lineStart = (Node103width - (ht.Default.getTextSize('台', ' '+ Node103fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('台', ' '+ Node103fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "UniDreamLED"'))
- Node103.setPosition(570*ratio.ratioX, 475*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(64,64,64,1)');
- Node103.a('node.borderwidth', 0);
- Node103.a('node.background','' || 'rgba(0,0,0,0)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','');
- Node103.a('node.text','台');
- Node103.a('node.textalign','left');
- Node103.a('node.textvAlign','middle');
- Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
- Node103.a('node.color','rgba(64,64,64,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') || '台';
- var color=Node103.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 13.3333*_ratio.ratioY,Node104width = 19*_ratio.ratioX, Node104height = 16*_ratio.ratioY;
- (function () {
- if (Node104align === 'left') {
- Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
- Node104textWidth = Node104width;
- Node104lineStart = 1;
- } else if (Node104align === 'right') {
- Node104textStart = 0;
- Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
- Node104lineStart = (Node104width - (ht.Default.getTextSize('台', ' '+ Node104fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('台', ' '+ Node104fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "UniDreamLED"'))
- Node104.setPosition(571*ratio.ratioX, 504*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(64,64,64,1)');
- Node104.a('node.borderwidth', 0);
- Node104.a('node.background','' || 'rgba(0,0,0,0)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','');
- Node104.a('node.text','台');
- Node104.a('node.textalign','left');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(64,64,64,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "UniDreamLED"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || '台';
- var color=Node104.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node104fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node105width = 19*_ratio.ratioX, Node105height = 16*_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('132', ' '+ Node105fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node105align === 'center') {
- Node105textStart = -3;
- Node105textWidth = Node105width;
- Node105lineStart = Node105width - ht.Default.getTextSize('132', ' '+ Node105fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node105.setImage(GD.getTextJSON(Node105width, Node105height, true, false, false, ' '+ Node105fontSize + 'px "UniDreamLED"'))
- Node105.setPosition(515*ratio.ratioX, 444*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','132');
- 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',' '+ Node105fontSize + 'px "UniDreamLED"');
- 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') || '132';
- var color=Node105.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node105width,Node105height,13.3333*_ratio.ratioY,"left",color,' '+ Node105fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node105.a('node.underlinepoints',[Node105lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node105fontSize + 2 , ht.Default.getTextSize('132', ' '+ Node105fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node106width = 10*_ratio.ratioX, Node106height = 16*_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('0', ' '+ Node106fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node106align === 'center') {
- Node106textStart = -3;
- Node106textWidth = Node106width;
- Node106lineStart = Node106width - ht.Default.getTextSize('0', ' '+ Node106fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node106.setImage(GD.getTextJSON(Node106width, Node106height, true, false, false, ' '+ Node106fontSize + 'px "UniDreamLED"'))
- Node106.setPosition(511*ratio.ratioX, 473*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','0');
- 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',' '+ Node106fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node106.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node106width,Node106height,13.3333*_ratio.ratioY,"left",color,' '+ Node106fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node106.a('node.underlinepoints',[Node106lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node106fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node106fontSize + 'px "UniDreamLED"').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 = 10*_ratio.ratioX, Node107height = 16*_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('0', ' '+ Node107fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node107align === 'center') {
- Node107textStart = -3;
- Node107textWidth = Node107width;
- Node107lineStart = Node107width - ht.Default.getTextSize('0', ' '+ Node107fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "UniDreamLED"'))
- Node107.setPosition(511*ratio.ratioX, 504*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','0');
- 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 "UniDreamLED"');
- 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') || '0';
- 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 "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node107.a('node.underlinepoints',[Node107lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node107fontSize + 'px "UniDreamLED"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
- Node107.a('node.underlinevisible',false);
- Node107.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node107);
- zoomNodeList.push({
- node: Node107,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108 = new ht.Node();
- var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'left', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 10*_ratio.ratioX, Node108height = 16*_ratio.ratioY;
- (function () {
- if (Node108align === 'left') {
- Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9;
- Node108textWidth = Node108width;
- Node108lineStart = 1;
- } else if (Node108align === 'right') {
- Node108textStart = 0;
- Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2;
- Node108lineStart = (Node108width - (ht.Default.getTextSize('0', ' '+ Node108fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node108align === 'center') {
- Node108textStart = -3;
- Node108textWidth = Node108width;
- Node108lineStart = Node108width - ht.Default.getTextSize('0', ' '+ Node108fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, ' '+ Node108fontSize + 'px "UniDreamLED"'))
- Node108.setPosition(688*ratio.ratioX, 444*ratio.ratioY);
- Node108.setWidth(Node108width);
- Node108.setHeight(Node108height);
- Node108._nodeType = 'text';
- Node108._disallowEvert = true;
- Node108.setRotation(0*Math.PI/180);
- Node108.a('node.width', Node108width);
- Node108.a('node.height', Node108height);
- Node108.a('node.rect', [0, 0, Node108width, Node108height]);
- Node108.a('node.bordercolor','rgba(64,64,64,1)');
- Node108.a('node.borderwidth', 0);
- Node108.a('node.background','' || 'rgba(0,0,0,0)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','');
- Node108.a('node.text','0');
- Node108.a('node.textalign','left');
- Node108.a('node.textvAlign','middle');
- Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]);
- Node108.a('node.color','rgba(64,64,64,1)');
- Node108.a('node.font',' '+ Node108fontSize + 'px "UniDreamLED"');
- Node108.a('node.textvisible',true);
- Node108.a('node.linefeed',false);
- if (false) {
- Node108.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node108.a('node.text') || '0';
- var color=Node108.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"left",color,' '+ Node108fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node108.a('node.underlinepoints',[Node108lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node108fontSize + 'px "UniDreamLED"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]);
- Node108.a('node.underlinevisible',false);
- Node108.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node108);
- zoomNodeList.push({
- node: Node108,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'left', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 10*_ratio.ratioX, Node109height = 16*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('0', ' '+ Node109fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('0', ' '+ Node109fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "UniDreamLED"'))
- Node109.setPosition(688*ratio.ratioX, 473*ratio.ratioY);
- Node109.setWidth(Node109width);
- Node109.setHeight(Node109height);
- Node109._nodeType = 'text';
- Node109._disallowEvert = true;
- Node109.setRotation(0*Math.PI/180);
- Node109.a('node.width', Node109width);
- Node109.a('node.height', Node109height);
- Node109.a('node.rect', [0, 0, Node109width, Node109height]);
- Node109.a('node.bordercolor','rgba(64,64,64,1)');
- Node109.a('node.borderwidth', 0);
- Node109.a('node.background','' || 'rgba(0,0,0,0)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','');
- Node109.a('node.text','0');
- Node109.a('node.textalign','left');
- Node109.a('node.textvAlign','middle');
- Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
- Node109.a('node.color','rgba(64,64,64,1)');
- Node109.a('node.font',' '+ Node109fontSize + 'px "UniDreamLED"');
- Node109.a('node.textvisible',true);
- Node109.a('node.linefeed',false);
- if (false) {
- Node109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node109.a('node.text') || '0';
- var color=Node109.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"left",color,' '+ Node109fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node109.a('node.underlinepoints',[Node109lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node109fontSize + 'px "UniDreamLED"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
- Node109.a('node.underlinevisible',false);
- Node109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node109);
- zoomNodeList.push({
- node: Node109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'left', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 10*_ratio.ratioX, Node110height = 16*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('0', ' '+ Node110fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('0', ' '+ Node110fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "UniDreamLED"'))
- Node110.setPosition(688*ratio.ratioX, 504*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','0');
- 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 "UniDreamLED"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '0';
- var color=Node110.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"left",color,' '+ Node110fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node110fontSize + 'px "UniDreamLED"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'left', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 19*_ratio.ratioX, Node111height = 16*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('台', ' '+ Node111fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('台', ' '+ Node111fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "UniDreamLED"'))
- Node111.setPosition(746*ratio.ratioX, 443*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(64,64,64,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','台');
- Node111.a('node.textalign','left');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(64,64,64,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "UniDreamLED"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '台';
- var color=Node111.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"left",color,' '+ Node111fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node111fontSize + 'px "UniDreamLED"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112 = new ht.Node();
- var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'left', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 19*_ratio.ratioX, Node112height = 16*_ratio.ratioY;
- (function () {
- if (Node112align === 'left') {
- Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
- Node112textWidth = Node112width;
- Node112lineStart = 1;
- } else if (Node112align === 'right') {
- Node112textStart = 0;
- Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
- Node112lineStart = (Node112width - (ht.Default.getTextSize('台', ' '+ Node112fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('台', ' '+ Node112fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "UniDreamLED"'))
- Node112.setPosition(746*ratio.ratioX, 474*ratio.ratioY);
- Node112.setWidth(Node112width);
- Node112.setHeight(Node112height);
- Node112._nodeType = 'text';
- Node112._disallowEvert = true;
- Node112.setRotation(0*Math.PI/180);
- Node112.a('node.width', Node112width);
- Node112.a('node.height', Node112height);
- Node112.a('node.rect', [0, 0, Node112width, Node112height]);
- Node112.a('node.bordercolor','rgba(64,64,64,1)');
- Node112.a('node.borderwidth', 0);
- Node112.a('node.background','' || 'rgba(0,0,0,0)');
- Node112.a('node.gradient','');
- Node112.a('node.gradientcolor','');
- Node112.a('node.text','台');
- Node112.a('node.textalign','left');
- Node112.a('node.textvAlign','middle');
- Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
- Node112.a('node.color','rgba(64,64,64,1)');
- Node112.a('node.font',' '+ Node112fontSize + 'px "UniDreamLED"');
- Node112.a('node.textvisible',true);
- Node112.a('node.linefeed',false);
- if (false) {
- Node112.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node112.a('node.text') || '台';
- var color=Node112.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"left",color,' '+ Node112fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node112.a('node.underlinepoints',[Node112lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node112fontSize + 'px "UniDreamLED"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]);
- Node112.a('node.underlinevisible',false);
- Node112.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node112);
- zoomNodeList.push({
- node: Node112,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.Node();
- var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 19*_ratio.ratioX, Node113height = 16*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('台', ' '+ Node113fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('台', ' '+ Node113fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "UniDreamLED"'))
- Node113.setPosition(747*ratio.ratioX, 503*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','台');
- 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 "UniDreamLED"');
- Node113.a('node.textvisible',true);
- Node113.a('node.linefeed',false);
- if (false) {
- Node113.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node113.a('node.text') || '台';
- var color=Node113.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node113fontSize + 'px "UniDreamLED"').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 = 0*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 0;
- }
- Node114.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(1001*ratio.ratioX, 506*ratio.ratioY);
- Node114.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 66*_ratio.ratioX);
- Node114.a('node.height', 30*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node114.a('node.background', 'rgba(245,245,245,1)');
- Node114.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node114.a('node.gradient', '');
- Node114.a('node.borderwidth', Node114BorderWidth);
- Node114.a('node.color', 'rgba(224,224,224,0)');
- Node114.a('node.fillrect', [0,0,0,0]);
- Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradient', '');
- if (Node114type !== 'rect') {
- Node114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node114.a('node.arcTo', parseFloat('@arcTo@'));
- Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node114type === 'arc') {
- Node114.a('node.arcOval', true);
- }
- Node114.setRotation(0*Math.PI/180);
- Node114.borderWidth = Node114BorderWidth;
- Node114.borderFillwidth = Node114BorderWidth;
- dataModel.add(Node114);
- Node114._nodename = 'Node114'
- Node114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115type = 'rect';
- var Node115 = new ht.Node(),
- Node115BorderWidth = 0*2;
- if (Node115type === 'arc') {
- Node115BorderWidth *= 0;
- }
- Node115.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node115.setPosition(1001*ratio.ratioX, 475*ratio.ratioY);
- Node115.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node115.a('node.width', 66*_ratio.ratioX);
- Node115.a('node.height', 30*_ratio.ratioY);
- Node115.a('node.type', Node115type);
- Node115.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node115.a('node.background', 'rgba(245,245,245,1)');
- Node115.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node115.a('node.gradient', '');
- Node115.a('node.borderwidth', Node115BorderWidth);
- Node115.a('node.color', 'rgba(224,224,224,0)');
- Node115.a('node.fillrect', [0,0,0,0]);
- Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradient', '');
- if (Node115type !== 'rect') {
- Node115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node115.a('node.arcTo', parseFloat('@arcTo@'));
- Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node115type === 'arc') {
- Node115.a('node.arcOval', true);
- }
- Node115.setRotation(0*Math.PI/180);
- Node115.borderWidth = Node115BorderWidth;
- Node115.borderFillwidth = Node115BorderWidth;
- dataModel.add(Node115);
- Node115._nodename = 'Node115'
- Node115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116type = 'rect';
- var Node116 = new ht.Node(),
- Node116BorderWidth = 0*2;
- if (Node116type === 'arc') {
- Node116BorderWidth *= 0;
- }
- Node116.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node116.setPosition(1001*ratio.ratioX, 444*ratio.ratioY);
- Node116.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node116.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node116.a('node.width', 66*_ratio.ratioX);
- Node116.a('node.height', 30*_ratio.ratioY);
- Node116.a('node.type', Node116type);
- Node116.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node116.a('node.background', 'rgba(245,245,245,1)');
- Node116.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node116.a('node.gradient', '');
- Node116.a('node.borderwidth', Node116BorderWidth);
- Node116.a('node.color', 'rgba(224,224,224,0)');
- Node116.a('node.fillrect', [0,0,0,0]);
- Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradient', '');
- if (Node116type !== 'rect') {
- Node116.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node116.a('node.arcTo', parseFloat('@arcTo@'));
- Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node116type === 'arc') {
- Node116.a('node.arcOval', true);
- }
- Node116.setRotation(0*Math.PI/180);
- Node116.borderWidth = Node116BorderWidth;
- Node116.borderFillwidth = Node116BorderWidth;
- dataModel.add(Node116);
- Node116._nodename = 'Node116'
- Node116._nodeType = 'rect';
- zoomNodeList.push({
- node: Node116,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117type = 'rect';
- var Node117 = new ht.Node(),
- Node117BorderWidth = 0*2;
- if (Node117type === 'arc') {
- Node117BorderWidth *= 0;
- }
- Node117.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node117type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node117.setPosition(812*ratio.ratioX, 506*ratio.ratioY);
- Node117.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node117.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node117.a('node.width', 66*_ratio.ratioX);
- Node117.a('node.height', 30*_ratio.ratioY);
- Node117.a('node.type', Node117type);
- Node117.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node117.a('node.background', 'rgba(245,245,245,1)');
- Node117.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node117.a('node.gradient', '');
- Node117.a('node.borderwidth', Node117BorderWidth);
- Node117.a('node.color', 'rgba(224,224,224,0)');
- Node117.a('node.fillrect', [0,0,0,0]);
- Node117.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradient', '');
- if (Node117type !== 'rect') {
- Node117.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node117.a('node.arcTo', parseFloat('@arcTo@'));
- Node117.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node117type === 'arc') {
- Node117.a('node.arcOval', true);
- }
- Node117.setRotation(0*Math.PI/180);
- Node117.borderWidth = Node117BorderWidth;
- Node117.borderFillwidth = Node117BorderWidth;
- dataModel.add(Node117);
- Node117._nodename = 'Node117'
- Node117._nodeType = 'rect';
- zoomNodeList.push({
- node: Node117,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node117, Node117.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118type = 'rect';
- var Node118 = new ht.Node(),
- Node118BorderWidth = 0*2;
- if (Node118type === 'arc') {
- Node118BorderWidth *= 0;
- }
- Node118.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node118type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node118.setPosition(812*ratio.ratioX, 474*ratio.ratioY);
- Node118.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node118.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node118.a('node.width', 66*_ratio.ratioX);
- Node118.a('node.height', 30*_ratio.ratioY);
- Node118.a('node.type', Node118type);
- Node118.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node118.a('node.background', 'rgba(245,245,245,1)');
- Node118.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node118.a('node.gradient', '');
- Node118.a('node.borderwidth', Node118BorderWidth);
- Node118.a('node.color', 'rgba(224,224,224,0)');
- Node118.a('node.fillrect', [0,0,0,0]);
- Node118.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node118.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node118.a('node.fillgradient', '');
- if (Node118type !== 'rect') {
- Node118.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node118.a('node.arcTo', parseFloat('@arcTo@'));
- Node118.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node118type === 'arc') {
- Node118.a('node.arcOval', true);
- }
- Node118.setRotation(0*Math.PI/180);
- Node118.borderWidth = Node118BorderWidth;
- Node118.borderFillwidth = Node118BorderWidth;
- dataModel.add(Node118);
- Node118._nodename = 'Node118'
- Node118._nodeType = 'rect';
- zoomNodeList.push({
- node: Node118,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node118, Node118.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119type = 'rect';
- var Node119 = new ht.Node(),
- Node119BorderWidth = 0*2;
- if (Node119type === 'arc') {
- Node119BorderWidth *= 0;
- }
- Node119.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node119type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node119.setPosition(813*ratio.ratioX, 443*ratio.ratioY);
- Node119.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node119.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node119.a('node.width', 66*_ratio.ratioX);
- Node119.a('node.height', 30*_ratio.ratioY);
- Node119.a('node.type', Node119type);
- Node119.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node119.a('node.background', 'rgba(245,245,245,1)');
- Node119.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node119.a('node.gradient', '');
- Node119.a('node.borderwidth', Node119BorderWidth);
- Node119.a('node.color', 'rgba(224,224,224,0)');
- Node119.a('node.fillrect', [0,0,0,0]);
- Node119.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node119.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node119.a('node.fillgradient', '');
- if (Node119type !== 'rect') {
- Node119.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node119.a('node.arcTo', parseFloat('@arcTo@'));
- Node119.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node119type === 'arc') {
- Node119.a('node.arcOval', true);
- }
- Node119.setRotation(0*Math.PI/180);
- Node119.borderWidth = Node119BorderWidth;
- Node119.borderFillwidth = Node119BorderWidth;
- dataModel.add(Node119);
- Node119._nodename = 'Node119'
- Node119._nodeType = 'rect';
- zoomNodeList.push({
- node: Node119,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node119, Node119.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120= new ht.Node();
- Node120._borderWidth = 1;
- Node120.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)', Node120._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node120.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node120.background'},
- gradient: {value:'', func: 'attr@Node120.gradient'},
- gradientColor:{value:'', func: 'attr@Node120.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node120.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node120.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node120.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node120.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node120.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node120.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node120.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node120.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node120.borderPattern'}
- }
- ]
- });
- var Node120borderwidth = 1;
- var Node120borderFillwidth = 1*2;
- Node120 .setPosition(965*ratio.ratioX,376*ratio.ratioY);
- Node120.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node120.setRotation(0*Math.PI/180);
- Node120.s({'pixelPerfect':true});
- Node120.a('Node120.borderwidth',1);
- Node120.a('Node120.color','@bordercolor@');
- Node120.a('Node120.background','rgba(255,255,255,0.003921569)');
- Node120.a('Node120.gradient','');
- Node120.a('Node120.gradientcolor','');
- Node120.a('Node120.borderPattern',getDashStyle("Solid"));
- Node120.a('Node120.fillrect',[0,0,0,0]);
- Node120.a('Node120.fillbackcolor','rgba(0, 0, 0, 0)');
- Node120.a('Node120.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node120.a('Node120.fillgradient','');
- Node120borderwidth=1;
- dataModel.add(Node120);
- Node120.borderWidth = 1;
- Node120.borderFillwidth = 1*2;
- Node120._nodename = 'Node120';
- Node120._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node120,
- attr: 'Node120.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('Node120.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('Node120.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node120, Node120.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121 = new ht.Node();
- var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'left', Node121fontSize = 11.99997*_ratio.ratioY,Node121width = 112*_ratio.ratioX, Node121height = 15*_ratio.ratioY;
- (function () {
- if (Node121align === 'left') {
- Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
- Node121textWidth = Node121width;
- Node121lineStart = 1;
- } else if (Node121align === 'right') {
- Node121textStart = 0;
- Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
- Node121lineStart = (Node121width - (ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node121fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, 'bold '+ Node121fontSize + 'px "Arial"'))
- Node121.setPosition(841*ratio.ratioX, 340*ratio.ratioY);
- Node121.setWidth(Node121width);
- Node121.setHeight(Node121height);
- Node121._nodeType = 'text';
- Node121._disallowEvert = true;
- Node121.setRotation(0*Math.PI/180);
- Node121.a('node.width', Node121width);
- Node121.a('node.height', Node121height);
- Node121.a('node.rect', [0, 0, Node121width, Node121height]);
- Node121.a('node.bordercolor','rgba(64,64,64,1)');
- Node121.a('node.borderwidth', 0);
- Node121.a('node.background','' || 'rgba(0,0,0,0)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','');
- Node121.a('node.text','平鲁虎头山风电场');
- Node121.a('node.textalign','left');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(64,64,64,1)');
- Node121.a('node.font','bold '+ Node121fontSize + 'px "Arial"');
- Node121.a('node.textvisible',true);
- Node121.a('node.linefeed',false);
- if (false) {
- Node121.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node121.a('node.text') || '平鲁虎头山风电场';
- var color=Node121.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node121width,Node121height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node121fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风电场', 'bold '+ Node121fontSize + 'px "Arial"').width + 6, (Node121height - Node121fontSize) * 0.5*_ratio.ratioY + Node121fontSize + 2 ]);
- Node121.a('node.underlinevisible',false);
- Node121.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node121);
- zoomNodeList.push({
- node: Node121,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node122 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1060*ratio.ratioX, 340*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 Node123 = new ht.Node();
- var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'left', Node123fontSize = 11.99997*_ratio.ratioY,Node123width = 23*_ratio.ratioX, Node123height = 15*_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('4.48', ' '+ Node123fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node123align === 'center') {
- Node123textStart = -3;
- Node123textWidth = Node123width;
- Node123lineStart = Node123width - ht.Default.getTextSize('4.48', ' '+ Node123fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "UniDreamLED"'))
- Node123.setPosition(906*ratio.ratioX, 384*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(0,0,0,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','4.48');
- Node123.a('node.textalign','left');
- Node123.a('node.textvAlign','middle');
- Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]);
- Node123.a('node.color','rgba(0,0,0,1)');
- Node123.a('node.font',' '+ Node123fontSize + 'px "UniDreamLED"');
- 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') || '4.48';
- var color=Node123.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node123width,Node123height,11.99997*_ratio.ratioY,"left",color,' '+ Node123fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node123.a('node.underlinepoints',[Node123lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node123fontSize + 'px "UniDreamLED"').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 = 11.99997*_ratio.ratioY,Node124width = 23*_ratio.ratioX, Node124height = 15*_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('m/s', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node124align === 'center') {
- Node124textStart = -3;
- Node124textWidth = Node124width;
- Node124lineStart = Node124width - ht.Default.getTextSize('m/s', ' '+ Node124fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
- Node124.setPosition(906*ratio.ratioX, 405*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(0,0,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','m/s');
- Node124.a('node.textalign','left');
- Node124.a('node.textvAlign','middle');
- Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
- Node124.a('node.color','rgba(0,0,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') || 'm/s';
- var color=Node124.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node124width,Node124height,11.99997*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node124.a('node.underlinepoints',[Node124lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 = 11.99997*_ratio.ratioY,Node125width = 31*_ratio.ratioX, Node125height = 15*_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('功率', 'bold '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('功率', 'bold '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, 'bold '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(970*ratio.ratioX, 372*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(64,64,64,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(64,64,64,1)');
- Node125.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node125width,Node125height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ 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 = 11.99997*_ratio.ratioY,Node126width = 44*_ratio.ratioX, Node126height = 15*_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('发电量', 'bold '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('发电量', 'bold '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, 'bold '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(977*ratio.ratioX, 406*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(64,64,64,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(64,64,64,1)');
- Node126.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node126width,Node126height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ 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 = 19*_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(1120*ratio.ratioX, 341*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(64,64,64,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(64,64,64,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(64,64,64,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, ratio);
- var Node128 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1046*ratio.ratioX, 372*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 Node129 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1046*ratio.ratioX, 372*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 Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'left', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 28*_ratio.ratioX, Node130height = 16*_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('MW', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('MW', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(1117*ratio.ratioX, 371*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','MW');
- 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 "Arial"');
- Node130.a('node.textvisible',true);
- Node130.a('node.linefeed',false);
- if (false) {
- Node130.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node130.a('node.text') || 'MW';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node131 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1047*ratio.ratioX, 406*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 Node132 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1046*ratio.ratioX, 406*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 Node133 = new ht.Node();
- var Node133textStart, Node133textWidth, Node133lineStart, Node133align = 'left', Node133fontSize = 13.3333*_ratio.ratioY,Node133width = 43*_ratio.ratioX, Node133height = 16*_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('万kwh', ' '+ Node133fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node133align === 'center') {
- Node133textStart = -3;
- Node133textWidth = Node133width;
- Node133lineStart = Node133width - ht.Default.getTextSize('万kwh', ' '+ Node133fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node133.setImage(GD.getTextJSON(Node133width, Node133height, true, false, false, ' '+ Node133fontSize + 'px "Arial"'))
- Node133.setPosition(1125*ratio.ratioX, 406*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','万kwh');
- 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 "Arial"');
- Node133.a('node.textvisible',true);
- Node133.a('node.linefeed',false);
- if (false) {
- Node133.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node133.a('node.text') || '万kwh';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node133.a('node.underlinepoints',[Node133lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node133fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node133fontSize + 'px "Arial"').width + 6, (Node133height - Node133fontSize) * 0.5*_ratio.ratioY + Node133fontSize + 2 ]);
- Node133.a('node.underlinevisible',false);
- Node133.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node133);
- zoomNodeList.push({
- node: Node133,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134type = 'rect';
- var Node134 = new ht.Node(),
- Node134BorderWidth = 1*2;
- if (Node134type === 'arc') {
- Node134BorderWidth *= 1;
- }
- Node134.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node134type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node134.setPosition(965*ratio.ratioX, 474*ratio.ratioY);
- Node134.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node134.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node134.a('node.width', 373*_ratio.ratioX);
- Node134.a('node.height', 93*_ratio.ratioY);
- Node134.a('node.type', Node134type);
- Node134.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node134.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node134.a('node.gradientcolor', '');
- Node134.a('node.gradient', '');
- Node134.a('node.borderwidth', Node134BorderWidth);
- Node134.a('node.color', 'rgba(192,192,192,1)');
- Node134.a('node.fillrect', [0,0,0,0]);
- Node134.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradient', '');
- if (Node134type !== 'rect') {
- Node134.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node134.a('node.arcTo', parseFloat('@arcTo@'));
- Node134.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node134type === 'arc') {
- Node134.a('node.arcOval', true);
- }
- Node134.setRotation(0*Math.PI/180);
- Node134.borderWidth = Node134BorderWidth;
- Node134.borderFillwidth = Node134BorderWidth;
- dataModel.add(Node134);
- Node134._nodename = 'Node134'
- Node134._nodeType = 'rect';
- zoomNodeList.push({
- node: Node134,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node134, Node134.getImage());var Node135points=[779, 459,1152, 459],
- Node135rect=ht.Default.unionPoint([{x:779,y:459},{x:1152,y:459}]),
- Node135compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node135points.length;i++){
- if(i%2==0){
- Node135compspts.push(Node135points[i]-Node135rect.x);
- }else{
- Node135compspts.push(Node135points[i]-Node135rect.y);
- }
- }
- var Node135ptslength=Node135compspts.length;
- if (Node135rect.height === 0) {
- Node135compspts[0] -= 0;
- Node135compspts[Node135ptslength-2] += 0;
- } else if (Node135rect.width === 0){
- Node135compspts[1] -= 0;
- Node135compspts[Node135ptslength-1] += 0;
- } else {
- Node135compspts[0] -= 0;
- Node135compspts[1] -= 0;
- Node135compspts[Node135ptslength-2] += 0;
- Node135compspts[Node135ptslength-1] += 0;
- }
- Node135 = new ht.Node();
- Node135.borderWidth = 1;
- Node135rect.width = Node135rect.width === 0 ? 0.0001 : Node135rect.width;
- Node135rect.height = Node135rect.height === 0 ? 0.0001 : Node135rect.height;
- var Node135endCompspts = [Node135compspts[Node135ptslength-2],Node135compspts[Node135ptslength-1],0,0];
- var Node135startCompspts = [Node135compspts[0],Node135compspts[1],0,0];
- Node135.setImage(GD.getPolyLineJSON());
- Node135.setPosition(Node135rect.x+Node135rect.width/2,Node135rect.y+Node135rect.height/2);
- Node135.setSize(Node135rect.width,Node135rect.height);
- Node135.setStyle("opacity",1);
- Node135.s({'pixelPerfect':true});
- Node135borderwidth=1;
- Node135.setRotation(0);
- dataModel.add(Node135);
- Node135.a('node.points',Node135compspts);
- Node135.a('node.segments',[1,2]);
- Node135.a('node.color','rgba(192,192,192,1)');
- Node135.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node135.a('node.borderColor','rgba(192,192,192,1)');
- Node135.a('node.background','rgba(192,192,192,1)');
- Node135.a('node.gradient','');
- Node135.a('node.gradientcolor','rgba(192,192,192,1)');
- Node135.a('node.endCompspts',Node135endCompspts);
- Node135.a('node.startCompspts',Node135startCompspts);
- (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 = 'Node135';
- 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);
- }
- })(Node135, Node135.getImage(), Node135compspts, Node135endCompspts, Node135startCompspts);
- var Node136points=[779, 490,1152, 490],
- Node136rect=ht.Default.unionPoint([{x:779,y:490},{x:1152,y:490}]),
- Node136compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node136points.length;i++){
- if(i%2==0){
- Node136compspts.push(Node136points[i]-Node136rect.x);
- }else{
- Node136compspts.push(Node136points[i]-Node136rect.y);
- }
- }
- var Node136ptslength=Node136compspts.length;
- if (Node136rect.height === 0) {
- Node136compspts[0] -= 0;
- Node136compspts[Node136ptslength-2] += 0;
- } else if (Node136rect.width === 0){
- Node136compspts[1] -= 0;
- Node136compspts[Node136ptslength-1] += 0;
- } else {
- Node136compspts[0] -= 0;
- Node136compspts[1] -= 0;
- Node136compspts[Node136ptslength-2] += 0;
- Node136compspts[Node136ptslength-1] += 0;
- }
- Node136 = new ht.Node();
- Node136.borderWidth = 1;
- Node136rect.width = Node136rect.width === 0 ? 0.0001 : Node136rect.width;
- Node136rect.height = Node136rect.height === 0 ? 0.0001 : Node136rect.height;
- var Node136endCompspts = [Node136compspts[Node136ptslength-2],Node136compspts[Node136ptslength-1],0,0];
- var Node136startCompspts = [Node136compspts[0],Node136compspts[1],0,0];
- Node136.setImage(GD.getPolyLineJSON());
- Node136.setPosition(Node136rect.x+Node136rect.width/2,Node136rect.y+Node136rect.height/2);
- Node136.setSize(Node136rect.width,Node136rect.height);
- Node136.setStyle("opacity",1);
- Node136.s({'pixelPerfect':true});
- Node136borderwidth=1;
- Node136.setRotation(0);
- dataModel.add(Node136);
- Node136.a('node.points',Node136compspts);
- Node136.a('node.segments',[1,2]);
- Node136.a('node.color','rgba(192,192,192,1)');
- Node136.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node136.a('node.borderColor','rgba(192,192,192,1)');
- Node136.a('node.background','rgba(192,192,192,1)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','rgba(192,192,192,1)');
- Node136.a('node.endCompspts',Node136endCompspts);
- Node136.a('node.startCompspts',Node136startCompspts);
- (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 = 'Node136';
- 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);
- }
- })(Node136, Node136.getImage(), Node136compspts, Node136endCompspts, Node136startCompspts);
- var Node137points=[846, 429,846, 520],
- Node137rect=ht.Default.unionPoint([{x:846,y:429},{x:846,y:520}]),
- Node137compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node137points.length;i++){
- if(i%2==0){
- Node137compspts.push(Node137points[i]-Node137rect.x);
- }else{
- Node137compspts.push(Node137points[i]-Node137rect.y);
- }
- }
- var Node137ptslength=Node137compspts.length;
- if (Node137rect.height === 0) {
- Node137compspts[0] -= 0;
- Node137compspts[Node137ptslength-2] += 0;
- } else if (Node137rect.width === 0){
- Node137compspts[1] -= 0;
- Node137compspts[Node137ptslength-1] += 0;
- } else {
- Node137compspts[0] -= 0;
- Node137compspts[1] -= 0;
- Node137compspts[Node137ptslength-2] += 0;
- Node137compspts[Node137ptslength-1] += 0;
- }
- Node137 = new ht.Node();
- Node137.borderWidth = 1;
- Node137rect.width = Node137rect.width === 0 ? 0.0001 : Node137rect.width;
- Node137rect.height = Node137rect.height === 0 ? 0.0001 : Node137rect.height;
- var Node137endCompspts = [Node137compspts[Node137ptslength-2],Node137compspts[Node137ptslength-1],0,0];
- var Node137startCompspts = [Node137compspts[0],Node137compspts[1],0,0];
- Node137.setImage(GD.getPolyLineJSON());
- Node137.setPosition(Node137rect.x+Node137rect.width/2,Node137rect.y+Node137rect.height/2);
- Node137.setSize(Node137rect.width,Node137rect.height);
- Node137.setStyle("opacity",1);
- Node137.s({'pixelPerfect':true});
- Node137borderwidth=1;
- Node137.setRotation(0);
- dataModel.add(Node137);
- Node137.a('node.points',Node137compspts);
- Node137.a('node.segments',[1,2]);
- Node137.a('node.color','rgba(192,192,192,1)');
- Node137.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node137.a('node.borderColor','rgba(192,192,192,1)');
- Node137.a('node.background','rgba(192,192,192,1)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','rgba(192,192,192,1)');
- Node137.a('node.endCompspts',Node137endCompspts);
- Node137.a('node.startCompspts',Node137startCompspts);
- (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 = 'Node137';
- 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);
- }
- })(Node137, Node137.getImage(), Node137compspts, Node137endCompspts, Node137startCompspts);
- var Node138points=[932, 428,932, 520],
- Node138rect=ht.Default.unionPoint([{x:932,y:428},{x:932,y:520}]),
- Node138compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node138points.length;i++){
- if(i%2==0){
- Node138compspts.push(Node138points[i]-Node138rect.x);
- }else{
- Node138compspts.push(Node138points[i]-Node138rect.y);
- }
- }
- var Node138ptslength=Node138compspts.length;
- if (Node138rect.height === 0) {
- Node138compspts[0] -= 0;
- Node138compspts[Node138ptslength-2] += 0;
- } else if (Node138rect.width === 0){
- Node138compspts[1] -= 0;
- Node138compspts[Node138ptslength-1] += 0;
- } else {
- Node138compspts[0] -= 0;
- Node138compspts[1] -= 0;
- Node138compspts[Node138ptslength-2] += 0;
- Node138compspts[Node138ptslength-1] += 0;
- }
- Node138 = new ht.Node();
- Node138.borderWidth = 1;
- Node138rect.width = Node138rect.width === 0 ? 0.0001 : Node138rect.width;
- Node138rect.height = Node138rect.height === 0 ? 0.0001 : Node138rect.height;
- var Node138endCompspts = [Node138compspts[Node138ptslength-2],Node138compspts[Node138ptslength-1],0,0];
- var Node138startCompspts = [Node138compspts[0],Node138compspts[1],0,0];
- Node138.setImage(GD.getPolyLineJSON());
- Node138.setPosition(Node138rect.x+Node138rect.width/2,Node138rect.y+Node138rect.height/2);
- Node138.setSize(Node138rect.width,Node138rect.height);
- Node138.setStyle("opacity",1);
- Node138.s({'pixelPerfect':true});
- Node138borderwidth=1;
- Node138.setRotation(0);
- dataModel.add(Node138);
- Node138.a('node.points',Node138compspts);
- Node138.a('node.segments',[1,2]);
- Node138.a('node.color','rgba(192,192,192,1)');
- Node138.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node138.a('node.borderColor','rgba(192,192,192,1)');
- Node138.a('node.background','rgba(192,192,192,1)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','rgba(192,192,192,1)');
- Node138.a('node.endCompspts',Node138endCompspts);
- Node138.a('node.startCompspts',Node138startCompspts);
- (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 = 'Node138';
- 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);
- }
- })(Node138, Node138.getImage(), Node138compspts, Node138endCompspts, Node138startCompspts);
- var Node139points=[967, 429,967, 520],
- Node139rect=ht.Default.unionPoint([{x:967,y:429},{x:967,y:520}]),
- Node139compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node139points.length;i++){
- if(i%2==0){
- Node139compspts.push(Node139points[i]-Node139rect.x);
- }else{
- Node139compspts.push(Node139points[i]-Node139rect.y);
- }
- }
- var Node139ptslength=Node139compspts.length;
- if (Node139rect.height === 0) {
- Node139compspts[0] -= 0;
- Node139compspts[Node139ptslength-2] += 0;
- } else if (Node139rect.width === 0){
- Node139compspts[1] -= 0;
- Node139compspts[Node139ptslength-1] += 0;
- } else {
- Node139compspts[0] -= 0;
- Node139compspts[1] -= 0;
- Node139compspts[Node139ptslength-2] += 0;
- Node139compspts[Node139ptslength-1] += 0;
- }
- Node139 = new ht.Node();
- Node139.borderWidth = 1;
- Node139rect.width = Node139rect.width === 0 ? 0.0001 : Node139rect.width;
- Node139rect.height = Node139rect.height === 0 ? 0.0001 : Node139rect.height;
- var Node139endCompspts = [Node139compspts[Node139ptslength-2],Node139compspts[Node139ptslength-1],0,0];
- var Node139startCompspts = [Node139compspts[0],Node139compspts[1],0,0];
- Node139.setImage(GD.getPolyLineJSON());
- Node139.setPosition(Node139rect.x+Node139rect.width/2,Node139rect.y+Node139rect.height/2);
- Node139.setSize(Node139rect.width,Node139rect.height);
- Node139.setStyle("opacity",1);
- Node139.s({'pixelPerfect':true});
- Node139borderwidth=1;
- Node139.setRotation(0);
- dataModel.add(Node139);
- Node139.a('node.points',Node139compspts);
- Node139.a('node.segments',[1,2]);
- Node139.a('node.color','rgba(192,192,192,1)');
- Node139.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node139.a('node.borderColor','rgba(192,192,192,1)');
- Node139.a('node.background','rgba(192,192,192,1)');
- Node139.a('node.gradient','');
- Node139.a('node.gradientcolor','rgba(192,192,192,1)');
- Node139.a('node.endCompspts',Node139endCompspts);
- Node139.a('node.startCompspts',Node139startCompspts);
- (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 = 'Node139';
- 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);
- }
- })(Node139, Node139.getImage(), Node139compspts, Node139endCompspts, Node139startCompspts);
- var Node140points=[1035, 429,1035, 521],
- Node140rect=ht.Default.unionPoint([{x:1035,y:429},{x:1035,y:521}]),
- Node140compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node140points.length;i++){
- if(i%2==0){
- Node140compspts.push(Node140points[i]-Node140rect.x);
- }else{
- Node140compspts.push(Node140points[i]-Node140rect.y);
- }
- }
- var Node140ptslength=Node140compspts.length;
- if (Node140rect.height === 0) {
- Node140compspts[0] -= 0;
- Node140compspts[Node140ptslength-2] += 0;
- } else if (Node140rect.width === 0){
- Node140compspts[1] -= 0;
- Node140compspts[Node140ptslength-1] += 0;
- } else {
- Node140compspts[0] -= 0;
- Node140compspts[1] -= 0;
- Node140compspts[Node140ptslength-2] += 0;
- Node140compspts[Node140ptslength-1] += 0;
- }
- Node140 = new ht.Node();
- Node140.borderWidth = 1;
- Node140rect.width = Node140rect.width === 0 ? 0.0001 : Node140rect.width;
- Node140rect.height = Node140rect.height === 0 ? 0.0001 : Node140rect.height;
- var Node140endCompspts = [Node140compspts[Node140ptslength-2],Node140compspts[Node140ptslength-1],0,0];
- var Node140startCompspts = [Node140compspts[0],Node140compspts[1],0,0];
- Node140.setImage(GD.getPolyLineJSON());
- Node140.setPosition(Node140rect.x+Node140rect.width/2,Node140rect.y+Node140rect.height/2);
- Node140.setSize(Node140rect.width,Node140rect.height);
- Node140.setStyle("opacity",1);
- Node140.s({'pixelPerfect':true});
- Node140borderwidth=1;
- Node140.setRotation(0);
- dataModel.add(Node140);
- Node140.a('node.points',Node140compspts);
- Node140.a('node.segments',[1,2]);
- Node140.a('node.color','rgba(192,192,192,1)');
- Node140.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node140.a('node.borderColor','rgba(192,192,192,1)');
- Node140.a('node.background','rgba(192,192,192,1)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','rgba(192,192,192,1)');
- Node140.a('node.endCompspts',Node140endCompspts);
- Node140.a('node.startCompspts',Node140startCompspts);
- (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 = 'Node140';
- 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);
- }
- })(Node140, Node140.getImage(), Node140compspts, Node140endCompspts, Node140startCompspts);
- var Node141points=[1106, 429,1106, 520],
- Node141rect=ht.Default.unionPoint([{x:1106,y:429},{x:1106,y:520}]),
- Node141compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node141points.length;i++){
- if(i%2==0){
- Node141compspts.push(Node141points[i]-Node141rect.x);
- }else{
- Node141compspts.push(Node141points[i]-Node141rect.y);
- }
- }
- var Node141ptslength=Node141compspts.length;
- if (Node141rect.height === 0) {
- Node141compspts[0] -= 0;
- Node141compspts[Node141ptslength-2] += 0;
- } else if (Node141rect.width === 0){
- Node141compspts[1] -= 0;
- Node141compspts[Node141ptslength-1] += 0;
- } else {
- Node141compspts[0] -= 0;
- Node141compspts[1] -= 0;
- Node141compspts[Node141ptslength-2] += 0;
- Node141compspts[Node141ptslength-1] += 0;
- }
- Node141 = new ht.Node();
- Node141.borderWidth = 1;
- Node141rect.width = Node141rect.width === 0 ? 0.0001 : Node141rect.width;
- Node141rect.height = Node141rect.height === 0 ? 0.0001 : Node141rect.height;
- var Node141endCompspts = [Node141compspts[Node141ptslength-2],Node141compspts[Node141ptslength-1],0,0];
- var Node141startCompspts = [Node141compspts[0],Node141compspts[1],0,0];
- Node141.setImage(GD.getPolyLineJSON());
- Node141.setPosition(Node141rect.x+Node141rect.width/2,Node141rect.y+Node141rect.height/2);
- Node141.setSize(Node141rect.width,Node141rect.height);
- Node141.setStyle("opacity",1);
- Node141.s({'pixelPerfect':true});
- Node141borderwidth=1;
- Node141.setRotation(0);
- dataModel.add(Node141);
- Node141.a('node.points',Node141compspts);
- Node141.a('node.segments',[1,2]);
- Node141.a('node.color','rgba(192,192,192,1)');
- Node141.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node141.a('node.borderColor','rgba(192,192,192,1)');
- Node141.a('node.background','rgba(192,192,192,1)');
- Node141.a('node.gradient','');
- Node141.a('node.gradientcolor','rgba(192,192,192,1)');
- Node141.a('node.endCompspts',Node141endCompspts);
- Node141.a('node.startCompspts',Node141startCompspts);
- (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 = 'Node141';
- 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);
- }
- })(Node141, Node141.getImage(), Node141compspts, Node141endCompspts, Node141startCompspts);
- var Node142points=[780, 353,1152, 353],
- Node142rect=ht.Default.unionPoint([{x:780,y:353},{x:1152,y:353}]),
- Node142compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node142points.length;i++){
- if(i%2==0){
- Node142compspts.push(Node142points[i]-Node142rect.x);
- }else{
- Node142compspts.push(Node142points[i]-Node142rect.y);
- }
- }
- var Node142ptslength=Node142compspts.length;
- if (Node142rect.height === 0) {
- Node142compspts[0] -= 0;
- Node142compspts[Node142ptslength-2] += 0;
- } else if (Node142rect.width === 0){
- Node142compspts[1] -= 0;
- Node142compspts[Node142ptslength-1] += 0;
- } else {
- Node142compspts[0] -= 0;
- Node142compspts[1] -= 0;
- Node142compspts[Node142ptslength-2] += 0;
- Node142compspts[Node142ptslength-1] += 0;
- }
- Node142 = new ht.Node();
- Node142.borderWidth = 1;
- Node142rect.width = Node142rect.width === 0 ? 0.0001 : Node142rect.width;
- Node142rect.height = Node142rect.height === 0 ? 0.0001 : Node142rect.height;
- var Node142endCompspts = [Node142compspts[Node142ptslength-2],Node142compspts[Node142ptslength-1],0,0];
- var Node142startCompspts = [Node142compspts[0],Node142compspts[1],0,0];
- Node142.setImage(GD.getPolyLineJSON());
- Node142.setPosition(Node142rect.x+Node142rect.width/2,Node142rect.y+Node142rect.height/2);
- Node142.setSize(Node142rect.width,Node142rect.height);
- Node142.setStyle("opacity",1);
- Node142.s({'pixelPerfect':true});
- Node142borderwidth=1;
- Node142.setRotation(0);
- dataModel.add(Node142);
- Node142.a('node.points',Node142compspts);
- Node142.a('node.segments',[1,2]);
- Node142.a('node.color','rgba(192,192,192,1)');
- Node142.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node142.a('node.borderColor','rgba(192,192,192,1)');
- Node142.a('node.background','rgba(192,192,192,1)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','rgba(192,192,192,1)');
- Node142.a('node.endCompspts',Node142endCompspts);
- Node142.a('node.startCompspts',Node142startCompspts);
- (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 = 'Node142';
- 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);
- }
- })(Node142, Node142.getImage(), Node142compspts, Node142endCompspts, Node142startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143 = new ht.Node();
- var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'left', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 34*_ratio.ratioX, Node143height = 16*_ratio.ratioY;
- (function () {
- if (Node143align === 'left') {
- Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
- Node143textWidth = Node143width;
- Node143lineStart = 1;
- } else if (Node143align === 'right') {
- Node143textStart = 0;
- Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
- Node143lineStart = (Node143width - (ht.Default.getTextSize('并网', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node143align === 'center') {
- Node143textStart = -3;
- Node143textWidth = Node143width;
- Node143lineStart = Node143width - ht.Default.getTextSize('并网', ' '+ Node143fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"'))
- Node143.setPosition(809*ratio.ratioX, 445*ratio.ratioY);
- Node143.setWidth(Node143width);
- Node143.setHeight(Node143height);
- Node143._nodeType = 'text';
- Node143._disallowEvert = true;
- Node143.setRotation(0*Math.PI/180);
- Node143.a('node.width', Node143width);
- Node143.a('node.height', Node143height);
- Node143.a('node.rect', [0, 0, Node143width, Node143height]);
- Node143.a('node.bordercolor','rgba(128,128,255,1)');
- Node143.a('node.borderwidth', 0);
- Node143.a('node.background','' || 'rgba(0,0,0,0)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','');
- Node143.a('node.text','并网');
- Node143.a('node.textalign','left');
- Node143.a('node.textvAlign','middle');
- Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
- Node143.a('node.color','rgba(128,128,255,1)');
- Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"');
- Node143.a('node.textvisible',true);
- Node143.a('node.linefeed',false);
- if (false) {
- Node143.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node143.a('node.text') || '并网';
- var color=Node143.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"left",color,' '+ Node143fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node143.a('node.underlinepoints',[Node143lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
- Node143.a('node.underlinevisible',false);
- Node143.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node143);
- zoomNodeList.push({
- node: Node143,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144 = new ht.Node();
- var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'left', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 34*_ratio.ratioX, Node144height = 16*_ratio.ratioY;
- (function () {
- if (Node144align === 'left') {
- Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9;
- Node144textWidth = Node144width;
- Node144lineStart = 1;
- } else if (Node144align === 'right') {
- Node144textStart = 0;
- Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2;
- Node144lineStart = (Node144width - (ht.Default.getTextSize('维护', ' '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node144align === 'center') {
- Node144textStart = -3;
- Node144textWidth = Node144width;
- Node144lineStart = Node144width - ht.Default.getTextSize('维护', ' '+ Node144fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, ' '+ Node144fontSize + 'px "Arial"'))
- Node144.setPosition(810*ratio.ratioX, 475*ratio.ratioY);
- Node144.setWidth(Node144width);
- Node144.setHeight(Node144height);
- Node144._nodeType = 'text';
- Node144._disallowEvert = true;
- Node144.setRotation(0*Math.PI/180);
- Node144.a('node.width', Node144width);
- Node144.a('node.height', Node144height);
- Node144.a('node.rect', [0, 0, Node144width, Node144height]);
- Node144.a('node.bordercolor','rgba(192,64,0,1)');
- Node144.a('node.borderwidth', 0);
- Node144.a('node.background','' || 'rgba(0,0,0,0)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','');
- Node144.a('node.text','维护');
- Node144.a('node.textalign','left');
- Node144.a('node.textvAlign','middle');
- Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]);
- Node144.a('node.color','rgba(192,64,0,1)');
- Node144.a('node.font',' '+ Node144fontSize + 'px "Arial"');
- Node144.a('node.textvisible',true);
- Node144.a('node.linefeed',false);
- if (false) {
- Node144.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node144.a('node.text') || '维护';
- var color=Node144.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"left",color,' '+ Node144fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node144.a('node.underlinepoints',[Node144lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]);
- Node144.a('node.underlinevisible',false);
- Node144.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node144);
- zoomNodeList.push({
- node: Node144,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.Node();
- var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'left', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 34*_ratio.ratioX, Node145height = 16*_ratio.ratioY;
- (function () {
- if (Node145align === 'left') {
- Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
- Node145textWidth = Node145width;
- Node145lineStart = 1;
- } else if (Node145align === 'right') {
- Node145textStart = 0;
- Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
- Node145lineStart = (Node145width - (ht.Default.getTextSize('限电', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node145align === 'center') {
- Node145textStart = -3;
- Node145textWidth = Node145width;
- Node145lineStart = Node145width - ht.Default.getTextSize('限电', ' '+ Node145fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"'))
- Node145.setPosition(810*ratio.ratioX, 505*ratio.ratioY);
- Node145.setWidth(Node145width);
- Node145.setHeight(Node145height);
- Node145._nodeType = 'text';
- Node145._disallowEvert = true;
- Node145.setRotation(0*Math.PI/180);
- Node145.a('node.width', Node145width);
- Node145.a('node.height', Node145height);
- Node145.a('node.rect', [0, 0, Node145width, Node145height]);
- Node145.a('node.bordercolor','rgba(128,0,128,1)');
- Node145.a('node.borderwidth', 0);
- Node145.a('node.background','' || 'rgba(0,0,0,0)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','');
- Node145.a('node.text','限电');
- Node145.a('node.textalign','left');
- Node145.a('node.textvAlign','middle');
- Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
- Node145.a('node.color','rgba(128,0,128,1)');
- Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"');
- Node145.a('node.textvisible',true);
- Node145.a('node.linefeed',false);
- if (false) {
- Node145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node145.a('node.text') || '限电';
- var color=Node145.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"left",color,' '+ Node145fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node145.a('node.underlinepoints',[Node145lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
- Node145.a('node.underlinevisible',false);
- Node145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node145);
- zoomNodeList.push({
- node: Node145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146 = new ht.Node();
- var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'left', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 34*_ratio.ratioX, Node146height = 16*_ratio.ratioY;
- (function () {
- if (Node146align === 'left') {
- Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9;
- Node146textWidth = Node146width;
- Node146lineStart = 1;
- } else if (Node146align === 'right') {
- Node146textStart = 0;
- Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2;
- Node146lineStart = (Node146width - (ht.Default.getTextSize('待机', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node146align === 'center') {
- Node146textStart = -3;
- Node146textWidth = Node146width;
- Node146lineStart = Node146width - ht.Default.getTextSize('待机', ' '+ Node146fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"'))
- Node146.setPosition(999*ratio.ratioX, 445*ratio.ratioY);
- Node146.setWidth(Node146width);
- Node146.setHeight(Node146height);
- Node146._nodeType = 'text';
- Node146._disallowEvert = true;
- Node146.setRotation(0*Math.PI/180);
- Node146.a('node.width', Node146width);
- Node146.a('node.height', Node146height);
- Node146.a('node.rect', [0, 0, Node146width, Node146height]);
- Node146.a('node.bordercolor','rgba(0,128,0,1)');
- Node146.a('node.borderwidth', 0);
- Node146.a('node.background','' || 'rgba(0,0,0,0)');
- Node146.a('node.gradient','');
- Node146.a('node.gradientcolor','');
- Node146.a('node.text','待机');
- Node146.a('node.textalign','left');
- Node146.a('node.textvAlign','middle');
- Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]);
- Node146.a('node.color','rgba(0,128,0,1)');
- Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"');
- Node146.a('node.textvisible',true);
- Node146.a('node.linefeed',false);
- if (false) {
- Node146.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node146.a('node.text') || '待机';
- var color=Node146.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"left",color,' '+ Node146fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node146.a('node.underlinepoints',[Node146lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]);
- Node146.a('node.underlinevisible',false);
- Node146.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node146);
- zoomNodeList.push({
- node: Node146,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147 = new ht.Node();
- var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'left', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 34*_ratio.ratioX, Node147height = 16*_ratio.ratioY;
- (function () {
- if (Node147align === 'left') {
- Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
- Node147textWidth = Node147width;
- Node147lineStart = 1;
- } else if (Node147align === 'right') {
- Node147textStart = 0;
- Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
- Node147lineStart = (Node147width - (ht.Default.getTextSize('故障', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node147align === 'center') {
- Node147textStart = -3;
- Node147textWidth = Node147width;
- Node147lineStart = Node147width - ht.Default.getTextSize('故障', ' '+ Node147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
- Node147.setPosition(1000*ratio.ratioX, 475*ratio.ratioY);
- Node147.setWidth(Node147width);
- Node147.setHeight(Node147height);
- Node147._nodeType = 'text';
- Node147._disallowEvert = true;
- Node147.setRotation(0*Math.PI/180);
- Node147.a('node.width', Node147width);
- Node147.a('node.height', Node147height);
- Node147.a('node.rect', [0, 0, Node147width, Node147height]);
- Node147.a('node.bordercolor','rgba(192,0,0,1)');
- Node147.a('node.borderwidth', 0);
- Node147.a('node.background','' || 'rgba(0,0,0,0)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','');
- Node147.a('node.text','故障');
- Node147.a('node.textalign','left');
- Node147.a('node.textvAlign','middle');
- Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
- Node147.a('node.color','rgba(192,0,0,1)');
- Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
- Node147.a('node.textvisible',true);
- Node147.a('node.linefeed',false);
- if (false) {
- Node147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node147.a('node.text') || '故障';
- var color=Node147.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"left",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node147.a('node.underlinepoints',[Node147lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
- Node147.a('node.underlinevisible',false);
- Node147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node147);
- zoomNodeList.push({
- node: Node147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'left', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 34*_ratio.ratioX, Node148height = 16*_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('离线', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('离线', ' '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(1000*ratio.ratioX, 505*ratio.ratioY);
- Node148.setWidth(Node148width);
- Node148.setHeight(Node148height);
- Node148._nodeType = 'text';
- Node148._disallowEvert = true;
- Node148.setRotation(0*Math.PI/180);
- Node148.a('node.width', Node148width);
- Node148.a('node.height', Node148height);
- Node148.a('node.rect', [0, 0, Node148width, Node148height]);
- Node148.a('node.bordercolor','rgba(128,128,128,1)');
- Node148.a('node.borderwidth', 0);
- Node148.a('node.background','' || 'rgba(0,0,0,0)');
- Node148.a('node.gradient','');
- Node148.a('node.gradientcolor','');
- Node148.a('node.text','离线');
- Node148.a('node.textalign','left');
- Node148.a('node.textvAlign','middle');
- Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
- Node148.a('node.color','rgba(128,128,128,1)');
- Node148.a('node.font',' '+ Node148fontSize + 'px "Arial"');
- Node148.a('node.textvisible',true);
- Node148.a('node.linefeed',false);
- if (false) {
- Node148.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node148.a('node.text') || '离线';
- var color=Node148.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"left",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
- Node148.a('node.underlinevisible',false);
- Node148.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node148);
- zoomNodeList.push({
- node: Node148,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149 = new ht.Node();
- var Node149textStart, Node149textWidth, Node149lineStart, Node149align = 'left', Node149fontSize = 13.3333*_ratio.ratioY,Node149width = 19*_ratio.ratioX, Node149height = 16*_ratio.ratioY;
- (function () {
- if (Node149align === 'left') {
- Node149textStart = Node149fontSize * 0.2 > 2 ? Node149fontSize * 0.2 - 4 : Node149fontSize * 0.2 - 9;
- Node149textWidth = Node149width;
- Node149lineStart = 1;
- } else if (Node149align === 'right') {
- Node149textStart = 0;
- Node149textWidth =Node149fontSize <= 8 ? Node149width + Node149fontSize * 0.2 + 6 : Node149width - Node149fontSize * 0.2;
- Node149lineStart = (Node149width - (ht.Default.getTextSize('台', ' '+ Node149fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node149align === 'center') {
- Node149textStart = -3;
- Node149textWidth = Node149width;
- Node149lineStart = Node149width - ht.Default.getTextSize('台', ' '+ Node149fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node149.setImage(GD.getTextJSON(Node149width, Node149height, true, false, false, ' '+ Node149fontSize + 'px "UniDreamLED"'))
- Node149.setPosition(948*ratio.ratioX, 445*ratio.ratioY);
- Node149.setWidth(Node149width);
- Node149.setHeight(Node149height);
- Node149._nodeType = 'text';
- Node149._disallowEvert = true;
- Node149.setRotation(0*Math.PI/180);
- Node149.a('node.width', Node149width);
- Node149.a('node.height', Node149height);
- Node149.a('node.rect', [0, 0, Node149width, Node149height]);
- Node149.a('node.bordercolor','rgba(64,64,64,1)');
- Node149.a('node.borderwidth', 0);
- Node149.a('node.background','' || 'rgba(0,0,0,0)');
- Node149.a('node.gradient','');
- Node149.a('node.gradientcolor','');
- Node149.a('node.text','台');
- Node149.a('node.textalign','left');
- Node149.a('node.textvAlign','middle');
- Node149.a('node.textrect', [Node149textStart, 0, Node149textWidth, Node149height]);
- Node149.a('node.color','rgba(64,64,64,1)');
- Node149.a('node.font',' '+ Node149fontSize + 'px "UniDreamLED"');
- Node149.a('node.textvisible',true);
- Node149.a('node.linefeed',false);
- if (false) {
- Node149.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node149.a('node.text') || '台';
- var color=Node149.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node149width,Node149height,13.3333*_ratio.ratioY,"left",color,' '+ Node149fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node149.a('node.underlinepoints',[Node149lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node149fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node149fontSize + 'px "UniDreamLED"').width + 6, (Node149height - Node149fontSize) * 0.5*_ratio.ratioY + Node149fontSize + 2 ]);
- Node149.a('node.underlinevisible',false);
- Node149.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node149);
- zoomNodeList.push({
- node: Node149,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150 = new ht.Node();
- var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'left', Node150fontSize = 13.3333*_ratio.ratioY,Node150width = 19*_ratio.ratioX, Node150height = 16*_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('台', ' '+ Node150fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node150align === 'center') {
- Node150textStart = -3;
- Node150textWidth = Node150width;
- Node150lineStart = Node150width - ht.Default.getTextSize('台', ' '+ Node150fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "UniDreamLED"'))
- Node150.setPosition(948*ratio.ratioX, 476*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(64,64,64,1)');
- Node150.a('node.borderwidth', 0);
- Node150.a('node.background','' || 'rgba(0,0,0,0)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','');
- Node150.a('node.text','台');
- Node150.a('node.textalign','left');
- Node150.a('node.textvAlign','middle');
- Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]);
- Node150.a('node.color','rgba(64,64,64,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') || '台';
- var color=Node150.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node150width,Node150height,13.3333*_ratio.ratioY,"left",color,' '+ Node150fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node150.a('node.underlinepoints',[Node150lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 13.3333*_ratio.ratioY,Node151width = 19*_ratio.ratioX, Node151height = 16*_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('台', ' '+ Node151fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('台', ' '+ Node151fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "UniDreamLED"'))
- Node151.setPosition(949*ratio.ratioX, 505*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(64,64,64,1)');
- Node151.a('node.borderwidth', 0);
- Node151.a('node.background','' || 'rgba(0,0,0,0)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','');
- Node151.a('node.text','台');
- Node151.a('node.textalign','left');
- Node151.a('node.textvAlign','middle');
- Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]);
- Node151.a('node.color','rgba(64,64,64,1)');
- Node151.a('node.font',' '+ Node151fontSize + 'px "UniDreamLED"');
- Node151.a('node.textvisible',true);
- Node151.a('node.linefeed',false);
- if (false) {
- Node151.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node151.a('node.text') || '台';
- var color=Node151.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151width,Node151height,13.3333*_ratio.ratioY,"left",color,' '+ Node151fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node151fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node152width = 15*_ratio.ratioX, Node152height = 16*_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('101', ' '+ Node152fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node152align === 'center') {
- Node152textStart = -3;
- Node152textWidth = Node152width;
- Node152lineStart = Node152width - ht.Default.getTextSize('101', ' '+ Node152fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node152.setImage(GD.getTextJSON(Node152width, Node152height, true, false, false, ' '+ Node152fontSize + 'px "UniDreamLED"'))
- Node152.setPosition(891*ratio.ratioX, 445*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','101');
- 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',' '+ Node152fontSize + 'px "UniDreamLED"');
- 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') || '101';
- var color=Node152.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node152width,Node152height,13.3333*_ratio.ratioY,"left",color,' '+ Node152fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node152.a('node.underlinepoints',[Node152lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node152fontSize + 2 , ht.Default.getTextSize('101', ' '+ Node152fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node153width = 10*_ratio.ratioX, Node153height = 16*_ratio.ratioY;
- (function () {
- if (Node153align === 'left') {
- Node153textStart = Node153fontSize * 0.2 > 2 ? Node153fontSize * 0.2 - 4 : Node153fontSize * 0.2 - 9;
- Node153textWidth = Node153width;
- Node153lineStart = 1;
- } else if (Node153align === 'right') {
- Node153textStart = 0;
- Node153textWidth =Node153fontSize <= 8 ? Node153width + Node153fontSize * 0.2 + 6 : Node153width - Node153fontSize * 0.2;
- Node153lineStart = (Node153width - (ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node153align === 'center') {
- Node153textStart = -3;
- Node153textWidth = Node153width;
- Node153lineStart = Node153width - ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, ' '+ Node153fontSize + 'px "UniDreamLED"'))
- Node153.setPosition(889*ratio.ratioX, 474*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','0');
- 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',' '+ Node153fontSize + 'px "UniDreamLED"');
- Node153.a('node.textvisible',true);
- Node153.a('node.linefeed',false);
- if (false) {
- Node153.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node153.a('node.text') || '0';
- var color=Node153.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node153width,Node153height,13.3333*_ratio.ratioY,"left",color,' '+ Node153fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node153.a('node.underlinepoints',[Node153lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node153fontSize + 'px "UniDreamLED"').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 = 10*_ratio.ratioX, Node154height = 16*_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('0', ' '+ Node154fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node154align === 'center') {
- Node154textStart = -3;
- Node154textWidth = Node154width;
- Node154lineStart = Node154width - ht.Default.getTextSize('0', ' '+ Node154fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node154.setImage(GD.getTextJSON(Node154width, Node154height, true, false, false, ' '+ Node154fontSize + 'px "UniDreamLED"'))
- Node154.setPosition(889*ratio.ratioX, 505*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','0');
- 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 "UniDreamLED"');
- 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') || '0';
- 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 "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node154.a('node.underlinepoints',[Node154lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node154fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node154fontSize + 'px "UniDreamLED"').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*Math.PI/180, ratio);
- var Node155 = new ht.Node();
- var Node155textStart, Node155textWidth, Node155lineStart, Node155align = 'left', Node155fontSize = 13.3333*_ratio.ratioY,Node155width = 10*_ratio.ratioX, Node155height = 16*_ratio.ratioY;
- (function () {
- if (Node155align === 'left') {
- Node155textStart = Node155fontSize * 0.2 > 2 ? Node155fontSize * 0.2 - 4 : Node155fontSize * 0.2 - 9;
- Node155textWidth = Node155width;
- Node155lineStart = 1;
- } else if (Node155align === 'right') {
- Node155textStart = 0;
- Node155textWidth =Node155fontSize <= 8 ? Node155width + Node155fontSize * 0.2 + 6 : Node155width - Node155fontSize * 0.2;
- Node155lineStart = (Node155width - (ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node155align === 'center') {
- Node155textStart = -3;
- Node155textWidth = Node155width;
- Node155lineStart = Node155width - ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node155.setImage(GD.getTextJSON(Node155width, Node155height, true, false, false, ' '+ Node155fontSize + 'px "UniDreamLED"'))
- Node155.setPosition(1066*ratio.ratioX, 445*ratio.ratioY);
- Node155.setWidth(Node155width);
- Node155.setHeight(Node155height);
- Node155._nodeType = 'text';
- Node155._disallowEvert = true;
- Node155.setRotation(0*Math.PI/180);
- Node155.a('node.width', Node155width);
- Node155.a('node.height', Node155height);
- Node155.a('node.rect', [0, 0, Node155width, Node155height]);
- Node155.a('node.bordercolor','rgba(64,64,64,1)');
- Node155.a('node.borderwidth', 0);
- Node155.a('node.background','' || 'rgba(0,0,0,0)');
- Node155.a('node.gradient','');
- Node155.a('node.gradientcolor','');
- Node155.a('node.text','0');
- Node155.a('node.textalign','left');
- Node155.a('node.textvAlign','middle');
- Node155.a('node.textrect', [Node155textStart, 0, Node155textWidth, Node155height]);
- Node155.a('node.color','rgba(64,64,64,1)');
- Node155.a('node.font',' '+ Node155fontSize + 'px "UniDreamLED"');
- Node155.a('node.textvisible',true);
- Node155.a('node.linefeed',false);
- if (false) {
- Node155.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node155.a('node.text') || '0';
- var color=Node155.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node155width,Node155height,13.3333*_ratio.ratioY,"left",color,' '+ Node155fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node155.a('node.underlinepoints',[Node155lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node155fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node155fontSize + 'px "UniDreamLED"').width + 6, (Node155height - Node155fontSize) * 0.5*_ratio.ratioY + Node155fontSize + 2 ]);
- Node155.a('node.underlinevisible',false);
- Node155.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node155);
- zoomNodeList.push({
- node: Node155,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.Node();
- var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'left', Node156fontSize = 13.3333*_ratio.ratioY,Node156width = 10*_ratio.ratioX, Node156height = 16*_ratio.ratioY;
- (function () {
- if (Node156align === 'left') {
- Node156textStart = Node156fontSize * 0.2 > 2 ? Node156fontSize * 0.2 - 4 : Node156fontSize * 0.2 - 9;
- Node156textWidth = Node156width;
- Node156lineStart = 1;
- } else if (Node156align === 'right') {
- Node156textStart = 0;
- Node156textWidth =Node156fontSize <= 8 ? Node156width + Node156fontSize * 0.2 + 6 : Node156width - Node156fontSize * 0.2;
- Node156lineStart = (Node156width - (ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node156align === 'center') {
- Node156textStart = -3;
- Node156textWidth = Node156width;
- Node156lineStart = Node156width - ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, ' '+ Node156fontSize + 'px "UniDreamLED"'))
- Node156.setPosition(1066*ratio.ratioX, 474*ratio.ratioY);
- Node156.setWidth(Node156width);
- Node156.setHeight(Node156height);
- Node156._nodeType = 'text';
- Node156._disallowEvert = true;
- Node156.setRotation(0*Math.PI/180);
- Node156.a('node.width', Node156width);
- Node156.a('node.height', Node156height);
- Node156.a('node.rect', [0, 0, Node156width, Node156height]);
- Node156.a('node.bordercolor','rgba(64,64,64,1)');
- Node156.a('node.borderwidth', 0);
- Node156.a('node.background','' || 'rgba(0,0,0,0)');
- Node156.a('node.gradient','');
- Node156.a('node.gradientcolor','');
- Node156.a('node.text','0');
- Node156.a('node.textalign','left');
- Node156.a('node.textvAlign','middle');
- Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]);
- Node156.a('node.color','rgba(64,64,64,1)');
- Node156.a('node.font',' '+ Node156fontSize + 'px "UniDreamLED"');
- Node156.a('node.textvisible',true);
- Node156.a('node.linefeed',false);
- if (false) {
- Node156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node156.a('node.text') || '0';
- var color=Node156.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node156width,Node156height,13.3333*_ratio.ratioY,"left",color,' '+ Node156fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node156.a('node.underlinepoints',[Node156lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node156fontSize + 'px "UniDreamLED"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]);
- Node156.a('node.underlinevisible',false);
- Node156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node156);
- zoomNodeList.push({
- node: Node156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 13.3333*_ratio.ratioY,Node157width = 10*_ratio.ratioX, Node157height = 16*_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('0', ' '+ Node157fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('0', ' '+ Node157fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, ' '+ Node157fontSize + 'px "UniDreamLED"'))
- Node157.setPosition(1066*ratio.ratioX, 505*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','0');
- 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 "UniDreamLED"');
- 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') || '0';
- 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 "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node157fontSize + 'px "UniDreamLED"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 19*_ratio.ratioX, Node158height = 16*_ratio.ratioY;
- (function () {
- if (Node158align === 'left') {
- Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
- Node158textWidth = Node158width;
- Node158lineStart = 1;
- } else if (Node158align === 'right') {
- Node158textStart = 0;
- Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
- Node158lineStart = (Node158width - (ht.Default.getTextSize('台', ' '+ Node158fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('台', ' '+ Node158fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "UniDreamLED"'))
- Node158.setPosition(1124*ratio.ratioX, 444*ratio.ratioY);
- Node158.setWidth(Node158width);
- Node158.setHeight(Node158height);
- Node158._nodeType = 'text';
- Node158._disallowEvert = true;
- Node158.setRotation(0*Math.PI/180);
- Node158.a('node.width', Node158width);
- Node158.a('node.height', Node158height);
- Node158.a('node.rect', [0, 0, Node158width, Node158height]);
- Node158.a('node.bordercolor','rgba(64,64,64,1)');
- Node158.a('node.borderwidth', 0);
- Node158.a('node.background','' || 'rgba(0,0,0,0)');
- Node158.a('node.gradient','');
- Node158.a('node.gradientcolor','');
- Node158.a('node.text','台');
- Node158.a('node.textalign','left');
- Node158.a('node.textvAlign','middle');
- Node158.a('node.textrect', [Node158textStart, 0, Node158textWidth, Node158height]);
- Node158.a('node.color','rgba(64,64,64,1)');
- Node158.a('node.font',' '+ Node158fontSize + 'px "UniDreamLED"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || '台';
- var color=Node158.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"left",color,' '+ Node158fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node158fontSize + 'px "UniDreamLED"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
- Node158.a('node.underlinevisible',false);
- Node158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158);
- zoomNodeList.push({
- node: Node158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159 = new ht.Node();
- var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'left', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 19*_ratio.ratioX, Node159height = 16*_ratio.ratioY;
- (function () {
- if (Node159align === 'left') {
- Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
- Node159textWidth = Node159width;
- Node159lineStart = 1;
- } else if (Node159align === 'right') {
- Node159textStart = 0;
- Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
- Node159lineStart = (Node159width - (ht.Default.getTextSize('台', ' '+ Node159fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('台', ' '+ Node159fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "UniDreamLED"'))
- Node159.setPosition(1124*ratio.ratioX, 475*ratio.ratioY);
- Node159.setWidth(Node159width);
- Node159.setHeight(Node159height);
- Node159._nodeType = 'text';
- Node159._disallowEvert = true;
- Node159.setRotation(0*Math.PI/180);
- Node159.a('node.width', Node159width);
- Node159.a('node.height', Node159height);
- Node159.a('node.rect', [0, 0, Node159width, Node159height]);
- Node159.a('node.bordercolor','rgba(64,64,64,1)');
- Node159.a('node.borderwidth', 0);
- Node159.a('node.background','' || 'rgba(0,0,0,0)');
- Node159.a('node.gradient','');
- Node159.a('node.gradientcolor','');
- Node159.a('node.text','台');
- Node159.a('node.textalign','left');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(64,64,64,1)');
- Node159.a('node.font',' '+ Node159fontSize + 'px "UniDreamLED"');
- Node159.a('node.textvisible',true);
- Node159.a('node.linefeed',false);
- if (false) {
- Node159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node159.a('node.text') || '台';
- var color=Node159.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"left",color,' '+ Node159fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node159fontSize + 'px "UniDreamLED"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 19*_ratio.ratioX, Node160height = 16*_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('台', ' '+ Node160fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "UniDreamLED"'))
- Node160.setPosition(1125*ratio.ratioX, 504*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','台');
- 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 "UniDreamLED"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || '台';
- var color=Node160.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "UniDreamLED"').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 = 0*2;
- if (Node161type === 'arc') {
- Node161BorderWidth *= 0;
- }
- Node161.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node161.setPosition(1379*ratio.ratioX, 507*ratio.ratioY);
- Node161.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node161.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node161.a('node.width', 66*_ratio.ratioX);
- Node161.a('node.height', 30*_ratio.ratioY);
- Node161.a('node.type', Node161type);
- Node161.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node161.a('node.background', 'rgba(245,245,245,1)');
- Node161.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node161.a('node.gradient', '');
- Node161.a('node.borderwidth', Node161BorderWidth);
- Node161.a('node.color', 'rgba(224,224,224,0)');
- Node161.a('node.fillrect', [0,0,0,0]);
- Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradient', '');
- if (Node161type !== 'rect') {
- Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node161.a('node.arcTo', parseFloat('@arcTo@'));
- Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node161type === 'arc') {
- Node161.a('node.arcOval', true);
- }
- Node161.setRotation(0*Math.PI/180);
- Node161.borderWidth = Node161BorderWidth;
- Node161.borderFillwidth = Node161BorderWidth;
- dataModel.add(Node161);
- Node161._nodename = 'Node161'
- Node161._nodeType = 'rect';
- zoomNodeList.push({
- node: Node161,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node161, Node161.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162type = 'rect';
- var Node162 = new ht.Node(),
- Node162BorderWidth = 0*2;
- if (Node162type === 'arc') {
- Node162BorderWidth *= 0;
- }
- Node162.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node162type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node162.setPosition(1379*ratio.ratioX, 476*ratio.ratioY);
- Node162.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node162.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node162.a('node.width', 66*_ratio.ratioX);
- Node162.a('node.height', 30*_ratio.ratioY);
- Node162.a('node.type', Node162type);
- Node162.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node162.a('node.background', 'rgba(245,245,245,1)');
- Node162.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node162.a('node.gradient', '');
- Node162.a('node.borderwidth', Node162BorderWidth);
- Node162.a('node.color', 'rgba(224,224,224,0)');
- Node162.a('node.fillrect', [0,0,0,0]);
- Node162.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node162.a('node.fillgradient', '');
- if (Node162type !== 'rect') {
- Node162.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node162.a('node.arcTo', parseFloat('@arcTo@'));
- Node162.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node162type === 'arc') {
- Node162.a('node.arcOval', true);
- }
- Node162.setRotation(0*Math.PI/180);
- Node162.borderWidth = Node162BorderWidth;
- Node162.borderFillwidth = Node162BorderWidth;
- dataModel.add(Node162);
- Node162._nodename = 'Node162'
- Node162._nodeType = 'rect';
- zoomNodeList.push({
- node: Node162,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node162, Node162.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163type = 'rect';
- var Node163 = new ht.Node(),
- Node163BorderWidth = 0*2;
- if (Node163type === 'arc') {
- Node163BorderWidth *= 0;
- }
- Node163.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node163type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node163.setPosition(1379*ratio.ratioX, 445*ratio.ratioY);
- Node163.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node163.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node163.a('node.width', 66*_ratio.ratioX);
- Node163.a('node.height', 30*_ratio.ratioY);
- Node163.a('node.type', Node163type);
- Node163.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node163.a('node.background', 'rgba(245,245,245,1)');
- Node163.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node163.a('node.gradient', '');
- Node163.a('node.borderwidth', Node163BorderWidth);
- Node163.a('node.color', 'rgba(224,224,224,0)');
- Node163.a('node.fillrect', [0,0,0,0]);
- Node163.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node163.a('node.fillgradient', '');
- if (Node163type !== 'rect') {
- Node163.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node163.a('node.arcTo', parseFloat('@arcTo@'));
- Node163.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node163type === 'arc') {
- Node163.a('node.arcOval', true);
- }
- Node163.setRotation(0*Math.PI/180);
- Node163.borderWidth = Node163BorderWidth;
- Node163.borderFillwidth = Node163BorderWidth;
- dataModel.add(Node163);
- Node163._nodename = 'Node163'
- Node163._nodeType = 'rect';
- zoomNodeList.push({
- node: Node163,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node163, Node163.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164type = 'rect';
- var Node164 = new ht.Node(),
- Node164BorderWidth = 0*2;
- if (Node164type === 'arc') {
- Node164BorderWidth *= 0;
- }
- Node164.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node164type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node164.setPosition(1190*ratio.ratioX, 507*ratio.ratioY);
- Node164.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node164.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node164.a('node.width', 66*_ratio.ratioX);
- Node164.a('node.height', 30*_ratio.ratioY);
- Node164.a('node.type', Node164type);
- Node164.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node164.a('node.background', 'rgba(245,245,245,1)');
- Node164.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node164.a('node.gradient', '');
- Node164.a('node.borderwidth', Node164BorderWidth);
- Node164.a('node.color', 'rgba(224,224,224,0)');
- Node164.a('node.fillrect', [0,0,0,0]);
- Node164.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node164.a('node.fillgradient', '');
- if (Node164type !== 'rect') {
- Node164.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node164.a('node.arcTo', parseFloat('@arcTo@'));
- Node164.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node164type === 'arc') {
- Node164.a('node.arcOval', true);
- }
- Node164.setRotation(0*Math.PI/180);
- Node164.borderWidth = Node164BorderWidth;
- Node164.borderFillwidth = Node164BorderWidth;
- dataModel.add(Node164);
- Node164._nodename = 'Node164'
- Node164._nodeType = 'rect';
- zoomNodeList.push({
- node: Node164,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node164, Node164.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165type = 'rect';
- var Node165 = new ht.Node(),
- Node165BorderWidth = 0*2;
- if (Node165type === 'arc') {
- Node165BorderWidth *= 0;
- }
- Node165.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node165type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node165.setPosition(1190*ratio.ratioX, 475*ratio.ratioY);
- Node165.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node165.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node165.a('node.width', 66*_ratio.ratioX);
- Node165.a('node.height', 30*_ratio.ratioY);
- Node165.a('node.type', Node165type);
- Node165.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node165.a('node.background', 'rgba(245,245,245,1)');
- Node165.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node165.a('node.gradient', '');
- Node165.a('node.borderwidth', Node165BorderWidth);
- Node165.a('node.color', 'rgba(224,224,224,0)');
- Node165.a('node.fillrect', [0,0,0,0]);
- Node165.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node165.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node165.a('node.fillgradient', '');
- if (Node165type !== 'rect') {
- Node165.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node165.a('node.arcTo', parseFloat('@arcTo@'));
- Node165.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node165type === 'arc') {
- Node165.a('node.arcOval', true);
- }
- Node165.setRotation(0*Math.PI/180);
- Node165.borderWidth = Node165BorderWidth;
- Node165.borderFillwidth = Node165BorderWidth;
- dataModel.add(Node165);
- Node165._nodename = 'Node165'
- Node165._nodeType = 'rect';
- zoomNodeList.push({
- node: Node165,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node165, Node165.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166type = 'rect';
- var Node166 = new ht.Node(),
- Node166BorderWidth = 0*2;
- if (Node166type === 'arc') {
- Node166BorderWidth *= 0;
- }
- Node166.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node166.setPosition(1191*ratio.ratioX, 444*ratio.ratioY);
- Node166.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node166.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node166.a('node.width', 66*_ratio.ratioX);
- Node166.a('node.height', 30*_ratio.ratioY);
- Node166.a('node.type', Node166type);
- Node166.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node166.a('node.background', 'rgba(245,245,245,1)');
- Node166.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node166.a('node.gradient', '');
- Node166.a('node.borderwidth', Node166BorderWidth);
- Node166.a('node.color', 'rgba(224,224,224,0)');
- Node166.a('node.fillrect', [0,0,0,0]);
- Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradient', '');
- if (Node166type !== 'rect') {
- Node166.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node166.a('node.arcTo', parseFloat('@arcTo@'));
- Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node166type === 'arc') {
- Node166.a('node.arcOval', true);
- }
- Node166.setRotation(0*Math.PI/180);
- Node166.borderWidth = Node166BorderWidth;
- Node166.borderFillwidth = Node166BorderWidth;
- dataModel.add(Node166);
- Node166._nodename = 'Node166'
- Node166._nodeType = 'rect';
- zoomNodeList.push({
- node: Node166,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node166, Node166.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167= new ht.Node();
- Node167._borderWidth = 1;
- Node167.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)', Node167._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node167.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node167.background'},
- gradient: {value:'', func: 'attr@Node167.gradient'},
- gradientColor:{value:'', func: 'attr@Node167.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node167.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node167.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node167.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node167.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node167.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node167.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node167.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node167.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node167.borderPattern'}
- }
- ]
- });
- var Node167borderwidth = 1;
- var Node167borderFillwidth = 1*2;
- Node167 .setPosition(1343*ratio.ratioX,377*ratio.ratioY);
- Node167.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node167.setRotation(0*Math.PI/180);
- Node167.s({'pixelPerfect':true});
- Node167.a('Node167.borderwidth',1);
- Node167.a('Node167.color','@bordercolor@');
- Node167.a('Node167.background','rgba(255,255,255,0.003921569)');
- Node167.a('Node167.gradient','');
- Node167.a('Node167.gradientcolor','');
- Node167.a('Node167.borderPattern',getDashStyle("Solid"));
- Node167.a('Node167.fillrect',[0,0,0,0]);
- Node167.a('Node167.fillbackcolor','rgba(0, 0, 0, 0)');
- Node167.a('Node167.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node167.a('Node167.fillgradient','');
- Node167borderwidth=1;
- dataModel.add(Node167);
- Node167.borderWidth = 1;
- Node167.borderFillwidth = 1*2;
- Node167._nodename = 'Node167';
- Node167._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node167,
- attr: 'Node167.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('Node167.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('Node167.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node167, Node167.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 11.99997*_ratio.ratioY,Node168width = 99*_ratio.ratioX, Node168height = 15*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('广灵劲风风电场', 'bold '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('广灵劲风风电场', 'bold '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, 'bold '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(1212*ratio.ratioX, 341*ratio.ratioY);
- Node168.setWidth(Node168width);
- Node168.setHeight(Node168height);
- Node168._nodeType = 'text';
- Node168._disallowEvert = true;
- Node168.setRotation(0*Math.PI/180);
- Node168.a('node.width', Node168width);
- Node168.a('node.height', Node168height);
- Node168.a('node.rect', [0, 0, Node168width, Node168height]);
- Node168.a('node.bordercolor','rgba(64,64,64,1)');
- Node168.a('node.borderwidth', 0);
- Node168.a('node.background','' || 'rgba(0,0,0,0)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','');
- Node168.a('node.text','广灵劲风风电场');
- Node168.a('node.textalign','left');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(64,64,64,1)');
- Node168.a('node.font','bold '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '广灵劲风风电场';
- var color=Node168.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node168width,Node168height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('广灵劲风风电场', 'bold '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node169 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1438*ratio.ratioX, 341*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 Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 11.99997*_ratio.ratioY,Node170width = 23*_ratio.ratioX, Node170height = 15*_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('4.48', ' '+ Node170fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('4.48', ' '+ Node170fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "UniDreamLED"'))
- Node170.setPosition(1284*ratio.ratioX, 385*ratio.ratioY);
- Node170.setWidth(Node170width);
- Node170.setHeight(Node170height);
- Node170._nodeType = 'text';
- Node170._disallowEvert = true;
- Node170.setRotation(0*Math.PI/180);
- Node170.a('node.width', Node170width);
- Node170.a('node.height', Node170height);
- Node170.a('node.rect', [0, 0, Node170width, Node170height]);
- Node170.a('node.bordercolor','rgba(0,0,0,1)');
- Node170.a('node.borderwidth', 0);
- Node170.a('node.background','' || 'rgba(0,0,0,0)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','');
- Node170.a('node.text','4.48');
- Node170.a('node.textalign','left');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(0,0,0,1)');
- Node170.a('node.font',' '+ Node170fontSize + 'px "UniDreamLED"');
- 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') || '4.48';
- var color=Node170.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node170width,Node170height,11.99997*_ratio.ratioY,"left",color,' '+ Node170fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node170fontSize + 'px "UniDreamLED"').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 = 11.99997*_ratio.ratioY,Node171width = 23*_ratio.ratioX, Node171height = 15*_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('m/s', ' '+ Node171fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node171align === 'center') {
- Node171textStart = -3;
- Node171textWidth = Node171width;
- Node171lineStart = Node171width - ht.Default.getTextSize('m/s', ' '+ Node171fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node171.setImage(GD.getTextJSON(Node171width, Node171height, true, false, false, ' '+ Node171fontSize + 'px "Arial"'))
- Node171.setPosition(1284*ratio.ratioX, 406*ratio.ratioY);
- Node171.setWidth(Node171width);
- Node171.setHeight(Node171height);
- Node171._nodeType = 'text';
- Node171._disallowEvert = true;
- Node171.setRotation(0*Math.PI/180);
- Node171.a('node.width', Node171width);
- Node171.a('node.height', Node171height);
- Node171.a('node.rect', [0, 0, Node171width, Node171height]);
- Node171.a('node.bordercolor','rgba(0,0,0,1)');
- Node171.a('node.borderwidth', 0);
- Node171.a('node.background','' || 'rgba(0,0,0,0)');
- Node171.a('node.gradient','');
- Node171.a('node.gradientcolor','');
- Node171.a('node.text','m/s');
- Node171.a('node.textalign','left');
- Node171.a('node.textvAlign','middle');
- Node171.a('node.textrect', [Node171textStart, 0, Node171textWidth, Node171height]);
- Node171.a('node.color','rgba(0,0,0,1)');
- Node171.a('node.font',' '+ Node171fontSize + 'px "Arial"');
- Node171.a('node.textvisible',true);
- Node171.a('node.linefeed',false);
- if (false) {
- Node171.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node171.a('node.text') || 'm/s';
- var color=Node171.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node171width,Node171height,11.99997*_ratio.ratioY,"left",color,' '+ Node171fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node171.a('node.underlinepoints',[Node171lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node171fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 = 11.99997*_ratio.ratioY,Node172width = 31*_ratio.ratioX, Node172height = 15*_ratio.ratioY;
- (function () {
- if (Node172align === 'left') {
- Node172textStart = Node172fontSize * 0.2 > 2 ? Node172fontSize * 0.2 - 4 : Node172fontSize * 0.2 - 9;
- Node172textWidth = Node172width;
- Node172lineStart = 1;
- } else if (Node172align === 'right') {
- Node172textStart = 0;
- Node172textWidth =Node172fontSize <= 8 ? Node172width + Node172fontSize * 0.2 + 6 : Node172width - Node172fontSize * 0.2;
- Node172lineStart = (Node172width - (ht.Default.getTextSize('功率', 'bold '+ Node172fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node172align === 'center') {
- Node172textStart = -3;
- Node172textWidth = Node172width;
- Node172lineStart = Node172width - ht.Default.getTextSize('功率', 'bold '+ Node172fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node172.setImage(GD.getTextJSON(Node172width, Node172height, true, false, false, 'bold '+ Node172fontSize + 'px "Arial"'))
- Node172.setPosition(1348*ratio.ratioX, 373*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(64,64,64,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(64,64,64,1)');
- Node172.a('node.font','bold '+ Node172fontSize + 'px "Arial"');
- Node172.a('node.textvisible',true);
- Node172.a('node.linefeed',false);
- if (false) {
- Node172.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node172.a('node.text') || '功率';
- var color=Node172.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node172width,Node172height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node172fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node172.a('node.underlinepoints',[Node172lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node172fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node172fontSize + 'px "Arial"').width + 6, (Node172height - Node172fontSize) * 0.5*_ratio.ratioY + Node172fontSize + 2 ]);
- Node172.a('node.underlinevisible',false);
- Node172.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node172);
- zoomNodeList.push({
- node: Node172,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.Node();
- var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 11.99997*_ratio.ratioY,Node173width = 44*_ratio.ratioX, Node173height = 15*_ratio.ratioY;
- (function () {
- if (Node173align === 'left') {
- Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9;
- Node173textWidth = Node173width;
- Node173lineStart = 1;
- } else if (Node173align === 'right') {
- Node173textStart = 0;
- Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2;
- Node173lineStart = (Node173width - (ht.Default.getTextSize('发电量', 'bold '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node173align === 'center') {
- Node173textStart = -3;
- Node173textWidth = Node173width;
- Node173lineStart = Node173width - ht.Default.getTextSize('发电量', 'bold '+ Node173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, 'bold '+ Node173fontSize + 'px "Arial"'))
- Node173.setPosition(1355*ratio.ratioX, 407*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(64,64,64,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(64,64,64,1)');
- Node173.a('node.font','bold '+ Node173fontSize + 'px "Arial"');
- Node173.a('node.textvisible',true);
- Node173.a('node.linefeed',false);
- if (false) {
- Node173.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node173.a('node.text') || '发电量';
- var color=Node173.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node173width,Node173height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node173fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node173.a('node.underlinepoints',[Node173lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]);
- Node173.a('node.underlinevisible',false);
- Node173.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node173);
- zoomNodeList.push({
- node: Node173,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 19*_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(1498*ratio.ratioX, 342*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(64,64,64,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(64,64,64,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(64,64,64,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, ratio);
- var Node175 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1424*ratio.ratioX, 373*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 Node176 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1424*ratio.ratioX, 373*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 Node177 = new ht.Node();
- var Node177textStart, Node177textWidth, Node177lineStart, Node177align = 'left', Node177fontSize = 13.3333*_ratio.ratioY,Node177width = 28*_ratio.ratioX, Node177height = 16*_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('MW', ' '+ Node177fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node177align === 'center') {
- Node177textStart = -3;
- Node177textWidth = Node177width;
- Node177lineStart = Node177width - ht.Default.getTextSize('MW', ' '+ Node177fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node177.setImage(GD.getTextJSON(Node177width, Node177height, true, false, false, ' '+ Node177fontSize + 'px "Arial"'))
- Node177.setPosition(1495*ratio.ratioX, 372*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','MW');
- 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 "Arial"');
- Node177.a('node.textvisible',true);
- Node177.a('node.linefeed',false);
- if (false) {
- Node177.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node177.a('node.text') || 'MW';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node177.a('node.underlinepoints',[Node177lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node177fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node177fontSize + 'px "Arial"').width + 6, (Node177height - Node177fontSize) * 0.5*_ratio.ratioY + Node177fontSize + 2 ]);
- Node177.a('node.underlinevisible',false);
- Node177.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node177);
- zoomNodeList.push({
- node: Node177,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 43*_ratio.ratioX, Node178height = 16*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('万kwh', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('万kwh', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(1503*ratio.ratioX, 407*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','万kwh');
- 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 "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '万kwh';
- var color=Node178.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179type = 'rect';
- var Node179 = new ht.Node(),
- Node179BorderWidth = 1*2;
- if (Node179type === 'arc') {
- Node179BorderWidth *= 1;
- }
- Node179.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node179type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node179.setPosition(1343*ratio.ratioX, 475*ratio.ratioY);
- Node179.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node179.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node179.a('node.width', 373*_ratio.ratioX);
- Node179.a('node.height', 93*_ratio.ratioY);
- Node179.a('node.type', Node179type);
- Node179.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node179.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node179.a('node.gradientcolor', '');
- Node179.a('node.gradient', '');
- Node179.a('node.borderwidth', Node179BorderWidth);
- Node179.a('node.color', 'rgba(192,192,192,1)');
- Node179.a('node.fillrect', [0,0,0,0]);
- Node179.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node179.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node179.a('node.fillgradient', '');
- if (Node179type !== 'rect') {
- Node179.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node179.a('node.arcTo', parseFloat('@arcTo@'));
- Node179.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node179type === 'arc') {
- Node179.a('node.arcOval', true);
- }
- Node179.setRotation(0*Math.PI/180);
- Node179.borderWidth = Node179BorderWidth;
- Node179.borderFillwidth = Node179BorderWidth;
- dataModel.add(Node179);
- Node179._nodename = 'Node179'
- Node179._nodeType = 'rect';
- zoomNodeList.push({
- node: Node179,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node179, Node179.getImage());var Node180points=[1157, 460,1530, 460],
- Node180rect=ht.Default.unionPoint([{x:1157,y:460},{x:1530,y:460}]),
- Node180compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node180points.length;i++){
- if(i%2==0){
- Node180compspts.push(Node180points[i]-Node180rect.x);
- }else{
- Node180compspts.push(Node180points[i]-Node180rect.y);
- }
- }
- var Node180ptslength=Node180compspts.length;
- if (Node180rect.height === 0) {
- Node180compspts[0] -= 0;
- Node180compspts[Node180ptslength-2] += 0;
- } else if (Node180rect.width === 0){
- Node180compspts[1] -= 0;
- Node180compspts[Node180ptslength-1] += 0;
- } else {
- Node180compspts[0] -= 0;
- Node180compspts[1] -= 0;
- Node180compspts[Node180ptslength-2] += 0;
- Node180compspts[Node180ptslength-1] += 0;
- }
- Node180 = new ht.Node();
- Node180.borderWidth = 1;
- Node180rect.width = Node180rect.width === 0 ? 0.0001 : Node180rect.width;
- Node180rect.height = Node180rect.height === 0 ? 0.0001 : Node180rect.height;
- var Node180endCompspts = [Node180compspts[Node180ptslength-2],Node180compspts[Node180ptslength-1],0,0];
- var Node180startCompspts = [Node180compspts[0],Node180compspts[1],0,0];
- Node180.setImage(GD.getPolyLineJSON());
- Node180.setPosition(Node180rect.x+Node180rect.width/2,Node180rect.y+Node180rect.height/2);
- Node180.setSize(Node180rect.width,Node180rect.height);
- Node180.setStyle("opacity",1);
- Node180.s({'pixelPerfect':true});
- Node180borderwidth=1;
- Node180.setRotation(0);
- dataModel.add(Node180);
- Node180.a('node.points',Node180compspts);
- Node180.a('node.segments',[1,2]);
- Node180.a('node.color','rgba(192,192,192,1)');
- Node180.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node180.a('node.borderColor','rgba(192,192,192,1)');
- Node180.a('node.background','rgba(192,192,192,1)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','rgba(192,192,192,1)');
- Node180.a('node.endCompspts',Node180endCompspts);
- Node180.a('node.startCompspts',Node180startCompspts);
- (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 = 'Node180';
- 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);
- }
- })(Node180, Node180.getImage(), Node180compspts, Node180endCompspts, Node180startCompspts);
- var Node181points=[1157, 491,1530, 491],
- Node181rect=ht.Default.unionPoint([{x:1157,y:491},{x:1530,y:491}]),
- Node181compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node181points.length;i++){
- if(i%2==0){
- Node181compspts.push(Node181points[i]-Node181rect.x);
- }else{
- Node181compspts.push(Node181points[i]-Node181rect.y);
- }
- }
- var Node181ptslength=Node181compspts.length;
- if (Node181rect.height === 0) {
- Node181compspts[0] -= 0;
- Node181compspts[Node181ptslength-2] += 0;
- } else if (Node181rect.width === 0){
- Node181compspts[1] -= 0;
- Node181compspts[Node181ptslength-1] += 0;
- } else {
- Node181compspts[0] -= 0;
- Node181compspts[1] -= 0;
- Node181compspts[Node181ptslength-2] += 0;
- Node181compspts[Node181ptslength-1] += 0;
- }
- Node181 = new ht.Node();
- Node181.borderWidth = 1;
- Node181rect.width = Node181rect.width === 0 ? 0.0001 : Node181rect.width;
- Node181rect.height = Node181rect.height === 0 ? 0.0001 : Node181rect.height;
- var Node181endCompspts = [Node181compspts[Node181ptslength-2],Node181compspts[Node181ptslength-1],0,0];
- var Node181startCompspts = [Node181compspts[0],Node181compspts[1],0,0];
- Node181.setImage(GD.getPolyLineJSON());
- Node181.setPosition(Node181rect.x+Node181rect.width/2,Node181rect.y+Node181rect.height/2);
- Node181.setSize(Node181rect.width,Node181rect.height);
- Node181.setStyle("opacity",1);
- Node181.s({'pixelPerfect':true});
- Node181borderwidth=1;
- Node181.setRotation(0);
- dataModel.add(Node181);
- Node181.a('node.points',Node181compspts);
- Node181.a('node.segments',[1,2]);
- Node181.a('node.color','rgba(192,192,192,1)');
- Node181.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node181.a('node.borderColor','rgba(192,192,192,1)');
- Node181.a('node.background','rgba(192,192,192,1)');
- Node181.a('node.gradient','');
- Node181.a('node.gradientcolor','rgba(192,192,192,1)');
- Node181.a('node.endCompspts',Node181endCompspts);
- Node181.a('node.startCompspts',Node181startCompspts);
- (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 = 'Node181';
- 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);
- }
- })(Node181, Node181.getImage(), Node181compspts, Node181endCompspts, Node181startCompspts);
- var Node182points=[1224, 430,1224, 521],
- Node182rect=ht.Default.unionPoint([{x:1224,y:430},{x:1224,y:521}]),
- Node182compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node182points.length;i++){
- if(i%2==0){
- Node182compspts.push(Node182points[i]-Node182rect.x);
- }else{
- Node182compspts.push(Node182points[i]-Node182rect.y);
- }
- }
- var Node182ptslength=Node182compspts.length;
- if (Node182rect.height === 0) {
- Node182compspts[0] -= 0;
- Node182compspts[Node182ptslength-2] += 0;
- } else if (Node182rect.width === 0){
- Node182compspts[1] -= 0;
- Node182compspts[Node182ptslength-1] += 0;
- } else {
- Node182compspts[0] -= 0;
- Node182compspts[1] -= 0;
- Node182compspts[Node182ptslength-2] += 0;
- Node182compspts[Node182ptslength-1] += 0;
- }
- Node182 = new ht.Node();
- Node182.borderWidth = 1;
- Node182rect.width = Node182rect.width === 0 ? 0.0001 : Node182rect.width;
- Node182rect.height = Node182rect.height === 0 ? 0.0001 : Node182rect.height;
- var Node182endCompspts = [Node182compspts[Node182ptslength-2],Node182compspts[Node182ptslength-1],0,0];
- var Node182startCompspts = [Node182compspts[0],Node182compspts[1],0,0];
- Node182.setImage(GD.getPolyLineJSON());
- Node182.setPosition(Node182rect.x+Node182rect.width/2,Node182rect.y+Node182rect.height/2);
- Node182.setSize(Node182rect.width,Node182rect.height);
- Node182.setStyle("opacity",1);
- Node182.s({'pixelPerfect':true});
- Node182borderwidth=1;
- Node182.setRotation(0);
- dataModel.add(Node182);
- Node182.a('node.points',Node182compspts);
- Node182.a('node.segments',[1,2]);
- Node182.a('node.color','rgba(192,192,192,1)');
- Node182.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node182.a('node.borderColor','rgba(192,192,192,1)');
- Node182.a('node.background','rgba(192,192,192,1)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','rgba(192,192,192,1)');
- Node182.a('node.endCompspts',Node182endCompspts);
- Node182.a('node.startCompspts',Node182startCompspts);
- (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 = 'Node182';
- 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);
- }
- })(Node182, Node182.getImage(), Node182compspts, Node182endCompspts, Node182startCompspts);
- var Node183points=[1310, 429,1310, 521],
- Node183rect=ht.Default.unionPoint([{x:1310,y:429},{x:1310,y:521}]),
- Node183compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node183points.length;i++){
- if(i%2==0){
- Node183compspts.push(Node183points[i]-Node183rect.x);
- }else{
- Node183compspts.push(Node183points[i]-Node183rect.y);
- }
- }
- var Node183ptslength=Node183compspts.length;
- if (Node183rect.height === 0) {
- Node183compspts[0] -= 0;
- Node183compspts[Node183ptslength-2] += 0;
- } else if (Node183rect.width === 0){
- Node183compspts[1] -= 0;
- Node183compspts[Node183ptslength-1] += 0;
- } else {
- Node183compspts[0] -= 0;
- Node183compspts[1] -= 0;
- Node183compspts[Node183ptslength-2] += 0;
- Node183compspts[Node183ptslength-1] += 0;
- }
- Node183 = new ht.Node();
- Node183.borderWidth = 1;
- Node183rect.width = Node183rect.width === 0 ? 0.0001 : Node183rect.width;
- Node183rect.height = Node183rect.height === 0 ? 0.0001 : Node183rect.height;
- var Node183endCompspts = [Node183compspts[Node183ptslength-2],Node183compspts[Node183ptslength-1],0,0];
- var Node183startCompspts = [Node183compspts[0],Node183compspts[1],0,0];
- Node183.setImage(GD.getPolyLineJSON());
- Node183.setPosition(Node183rect.x+Node183rect.width/2,Node183rect.y+Node183rect.height/2);
- Node183.setSize(Node183rect.width,Node183rect.height);
- Node183.setStyle("opacity",1);
- Node183.s({'pixelPerfect':true});
- Node183borderwidth=1;
- Node183.setRotation(0);
- dataModel.add(Node183);
- Node183.a('node.points',Node183compspts);
- Node183.a('node.segments',[1,2]);
- Node183.a('node.color','rgba(192,192,192,1)');
- Node183.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node183.a('node.borderColor','rgba(192,192,192,1)');
- Node183.a('node.background','rgba(192,192,192,1)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','rgba(192,192,192,1)');
- Node183.a('node.endCompspts',Node183endCompspts);
- Node183.a('node.startCompspts',Node183startCompspts);
- (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 = 'Node183';
- 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);
- }
- })(Node183, Node183.getImage(), Node183compspts, Node183endCompspts, Node183startCompspts);
- var Node184points=[1345, 430,1345, 521],
- Node184rect=ht.Default.unionPoint([{x:1345,y:430},{x:1345,y:521}]),
- Node184compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node184points.length;i++){
- if(i%2==0){
- Node184compspts.push(Node184points[i]-Node184rect.x);
- }else{
- Node184compspts.push(Node184points[i]-Node184rect.y);
- }
- }
- var Node184ptslength=Node184compspts.length;
- if (Node184rect.height === 0) {
- Node184compspts[0] -= 0;
- Node184compspts[Node184ptslength-2] += 0;
- } else if (Node184rect.width === 0){
- Node184compspts[1] -= 0;
- Node184compspts[Node184ptslength-1] += 0;
- } else {
- Node184compspts[0] -= 0;
- Node184compspts[1] -= 0;
- Node184compspts[Node184ptslength-2] += 0;
- Node184compspts[Node184ptslength-1] += 0;
- }
- Node184 = new ht.Node();
- Node184.borderWidth = 1;
- Node184rect.width = Node184rect.width === 0 ? 0.0001 : Node184rect.width;
- Node184rect.height = Node184rect.height === 0 ? 0.0001 : Node184rect.height;
- var Node184endCompspts = [Node184compspts[Node184ptslength-2],Node184compspts[Node184ptslength-1],0,0];
- var Node184startCompspts = [Node184compspts[0],Node184compspts[1],0,0];
- Node184.setImage(GD.getPolyLineJSON());
- Node184.setPosition(Node184rect.x+Node184rect.width/2,Node184rect.y+Node184rect.height/2);
- Node184.setSize(Node184rect.width,Node184rect.height);
- Node184.setStyle("opacity",1);
- Node184.s({'pixelPerfect':true});
- Node184borderwidth=1;
- Node184.setRotation(0);
- dataModel.add(Node184);
- Node184.a('node.points',Node184compspts);
- Node184.a('node.segments',[1,2]);
- Node184.a('node.color','rgba(192,192,192,1)');
- Node184.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node184.a('node.borderColor','rgba(192,192,192,1)');
- Node184.a('node.background','rgba(192,192,192,1)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','rgba(192,192,192,1)');
- Node184.a('node.endCompspts',Node184endCompspts);
- Node184.a('node.startCompspts',Node184startCompspts);
- (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 = 'Node184';
- 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);
- }
- })(Node184, Node184.getImage(), Node184compspts, Node184endCompspts, Node184startCompspts);
- var Node185points=[1413, 430,1413, 522],
- Node185rect=ht.Default.unionPoint([{x:1413,y:430},{x:1413,y:522}]),
- Node185compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node185points.length;i++){
- if(i%2==0){
- Node185compspts.push(Node185points[i]-Node185rect.x);
- }else{
- Node185compspts.push(Node185points[i]-Node185rect.y);
- }
- }
- var Node185ptslength=Node185compspts.length;
- if (Node185rect.height === 0) {
- Node185compspts[0] -= 0;
- Node185compspts[Node185ptslength-2] += 0;
- } else if (Node185rect.width === 0){
- Node185compspts[1] -= 0;
- Node185compspts[Node185ptslength-1] += 0;
- } else {
- Node185compspts[0] -= 0;
- Node185compspts[1] -= 0;
- Node185compspts[Node185ptslength-2] += 0;
- Node185compspts[Node185ptslength-1] += 0;
- }
- Node185 = new ht.Node();
- Node185.borderWidth = 1;
- Node185rect.width = Node185rect.width === 0 ? 0.0001 : Node185rect.width;
- Node185rect.height = Node185rect.height === 0 ? 0.0001 : Node185rect.height;
- var Node185endCompspts = [Node185compspts[Node185ptslength-2],Node185compspts[Node185ptslength-1],0,0];
- var Node185startCompspts = [Node185compspts[0],Node185compspts[1],0,0];
- Node185.setImage(GD.getPolyLineJSON());
- Node185.setPosition(Node185rect.x+Node185rect.width/2,Node185rect.y+Node185rect.height/2);
- Node185.setSize(Node185rect.width,Node185rect.height);
- Node185.setStyle("opacity",1);
- Node185.s({'pixelPerfect':true});
- Node185borderwidth=1;
- Node185.setRotation(0);
- dataModel.add(Node185);
- Node185.a('node.points',Node185compspts);
- Node185.a('node.segments',[1,2]);
- Node185.a('node.color','rgba(192,192,192,1)');
- Node185.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node185.a('node.borderColor','rgba(192,192,192,1)');
- Node185.a('node.background','rgba(192,192,192,1)');
- Node185.a('node.gradient','');
- Node185.a('node.gradientcolor','rgba(192,192,192,1)');
- Node185.a('node.endCompspts',Node185endCompspts);
- Node185.a('node.startCompspts',Node185startCompspts);
- (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 = 'Node185';
- 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);
- }
- })(Node185, Node185.getImage(), Node185compspts, Node185endCompspts, Node185startCompspts);
- var Node186points=[1484, 430,1484, 521],
- Node186rect=ht.Default.unionPoint([{x:1484,y:430},{x:1484,y:521}]),
- Node186compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node186points.length;i++){
- if(i%2==0){
- Node186compspts.push(Node186points[i]-Node186rect.x);
- }else{
- Node186compspts.push(Node186points[i]-Node186rect.y);
- }
- }
- var Node186ptslength=Node186compspts.length;
- if (Node186rect.height === 0) {
- Node186compspts[0] -= 0;
- Node186compspts[Node186ptslength-2] += 0;
- } else if (Node186rect.width === 0){
- Node186compspts[1] -= 0;
- Node186compspts[Node186ptslength-1] += 0;
- } else {
- Node186compspts[0] -= 0;
- Node186compspts[1] -= 0;
- Node186compspts[Node186ptslength-2] += 0;
- Node186compspts[Node186ptslength-1] += 0;
- }
- Node186 = new ht.Node();
- Node186.borderWidth = 1;
- Node186rect.width = Node186rect.width === 0 ? 0.0001 : Node186rect.width;
- Node186rect.height = Node186rect.height === 0 ? 0.0001 : Node186rect.height;
- var Node186endCompspts = [Node186compspts[Node186ptslength-2],Node186compspts[Node186ptslength-1],0,0];
- var Node186startCompspts = [Node186compspts[0],Node186compspts[1],0,0];
- Node186.setImage(GD.getPolyLineJSON());
- Node186.setPosition(Node186rect.x+Node186rect.width/2,Node186rect.y+Node186rect.height/2);
- Node186.setSize(Node186rect.width,Node186rect.height);
- Node186.setStyle("opacity",1);
- Node186.s({'pixelPerfect':true});
- Node186borderwidth=1;
- Node186.setRotation(0);
- dataModel.add(Node186);
- Node186.a('node.points',Node186compspts);
- Node186.a('node.segments',[1,2]);
- Node186.a('node.color','rgba(192,192,192,1)');
- Node186.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node186.a('node.borderColor','rgba(192,192,192,1)');
- Node186.a('node.background','rgba(192,192,192,1)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','rgba(192,192,192,1)');
- Node186.a('node.endCompspts',Node186endCompspts);
- Node186.a('node.startCompspts',Node186startCompspts);
- (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 = 'Node186';
- 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);
- }
- })(Node186, Node186.getImage(), Node186compspts, Node186endCompspts, Node186startCompspts);
- var Node187points=[1158, 354,1530, 354],
- Node187rect=ht.Default.unionPoint([{x:1158,y:354},{x:1530,y:354}]),
- Node187compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node187points.length;i++){
- if(i%2==0){
- Node187compspts.push(Node187points[i]-Node187rect.x);
- }else{
- Node187compspts.push(Node187points[i]-Node187rect.y);
- }
- }
- var Node187ptslength=Node187compspts.length;
- if (Node187rect.height === 0) {
- Node187compspts[0] -= 0;
- Node187compspts[Node187ptslength-2] += 0;
- } else if (Node187rect.width === 0){
- Node187compspts[1] -= 0;
- Node187compspts[Node187ptslength-1] += 0;
- } else {
- Node187compspts[0] -= 0;
- Node187compspts[1] -= 0;
- Node187compspts[Node187ptslength-2] += 0;
- Node187compspts[Node187ptslength-1] += 0;
- }
- Node187 = new ht.Node();
- Node187.borderWidth = 1;
- Node187rect.width = Node187rect.width === 0 ? 0.0001 : Node187rect.width;
- Node187rect.height = Node187rect.height === 0 ? 0.0001 : Node187rect.height;
- var Node187endCompspts = [Node187compspts[Node187ptslength-2],Node187compspts[Node187ptslength-1],0,0];
- var Node187startCompspts = [Node187compspts[0],Node187compspts[1],0,0];
- Node187.setImage(GD.getPolyLineJSON());
- Node187.setPosition(Node187rect.x+Node187rect.width/2,Node187rect.y+Node187rect.height/2);
- Node187.setSize(Node187rect.width,Node187rect.height);
- Node187.setStyle("opacity",1);
- Node187.s({'pixelPerfect':true});
- Node187borderwidth=1;
- Node187.setRotation(0);
- dataModel.add(Node187);
- Node187.a('node.points',Node187compspts);
- Node187.a('node.segments',[1,2]);
- Node187.a('node.color','rgba(192,192,192,1)');
- Node187.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node187.a('node.borderColor','rgba(192,192,192,1)');
- Node187.a('node.background','rgba(192,192,192,1)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','rgba(192,192,192,1)');
- Node187.a('node.endCompspts',Node187endCompspts);
- Node187.a('node.startCompspts',Node187startCompspts);
- (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 = 'Node187';
- 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);
- }
- })(Node187, Node187.getImage(), Node187compspts, Node187endCompspts, Node187startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.Node();
- var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 13.3333*_ratio.ratioY,Node188width = 34*_ratio.ratioX, Node188height = 16*_ratio.ratioY;
- (function () {
- if (Node188align === 'left') {
- Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
- Node188textWidth = Node188width;
- Node188lineStart = 1;
- } else if (Node188align === 'right') {
- Node188textStart = 0;
- Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
- Node188lineStart = (Node188width - (ht.Default.getTextSize('并网', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('并网', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(1187*ratio.ratioX, 446*ratio.ratioY);
- Node188.setWidth(Node188width);
- Node188.setHeight(Node188height);
- Node188._nodeType = 'text';
- Node188._disallowEvert = true;
- Node188.setRotation(0*Math.PI/180);
- Node188.a('node.width', Node188width);
- Node188.a('node.height', Node188height);
- Node188.a('node.rect', [0, 0, Node188width, Node188height]);
- Node188.a('node.bordercolor','rgba(128,128,255,1)');
- Node188.a('node.borderwidth', 0);
- Node188.a('node.background','' || 'rgba(0,0,0,0)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','');
- Node188.a('node.text','并网');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(128,128,255,1)');
- Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
- Node188.a('node.textvisible',true);
- Node188.a('node.linefeed',false);
- if (false) {
- Node188.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node188.a('node.text') || '并网';
- var color=Node188.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node188width,Node188height,13.3333*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node188.a('node.underlinepoints',[Node188lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189 = new ht.Node();
- var Node189textStart, Node189textWidth, Node189lineStart, Node189align = 'left', Node189fontSize = 13.3333*_ratio.ratioY,Node189width = 34*_ratio.ratioX, Node189height = 16*_ratio.ratioY;
- (function () {
- if (Node189align === 'left') {
- Node189textStart = Node189fontSize * 0.2 > 2 ? Node189fontSize * 0.2 - 4 : Node189fontSize * 0.2 - 9;
- Node189textWidth = Node189width;
- Node189lineStart = 1;
- } else if (Node189align === 'right') {
- Node189textStart = 0;
- Node189textWidth =Node189fontSize <= 8 ? Node189width + Node189fontSize * 0.2 + 6 : Node189width - Node189fontSize * 0.2;
- Node189lineStart = (Node189width - (ht.Default.getTextSize('维护', ' '+ Node189fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node189align === 'center') {
- Node189textStart = -3;
- Node189textWidth = Node189width;
- Node189lineStart = Node189width - ht.Default.getTextSize('维护', ' '+ Node189fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node189.setImage(GD.getTextJSON(Node189width, Node189height, true, false, false, ' '+ Node189fontSize + 'px "Arial"'))
- Node189.setPosition(1188*ratio.ratioX, 476*ratio.ratioY);
- Node189.setWidth(Node189width);
- Node189.setHeight(Node189height);
- Node189._nodeType = 'text';
- Node189._disallowEvert = true;
- Node189.setRotation(0*Math.PI/180);
- Node189.a('node.width', Node189width);
- Node189.a('node.height', Node189height);
- Node189.a('node.rect', [0, 0, Node189width, Node189height]);
- Node189.a('node.bordercolor','rgba(192,64,0,1)');
- Node189.a('node.borderwidth', 0);
- Node189.a('node.background','' || 'rgba(0,0,0,0)');
- Node189.a('node.gradient','');
- Node189.a('node.gradientcolor','');
- Node189.a('node.text','维护');
- Node189.a('node.textalign','left');
- Node189.a('node.textvAlign','middle');
- Node189.a('node.textrect', [Node189textStart, 0, Node189textWidth, Node189height]);
- Node189.a('node.color','rgba(192,64,0,1)');
- Node189.a('node.font',' '+ Node189fontSize + 'px "Arial"');
- Node189.a('node.textvisible',true);
- Node189.a('node.linefeed',false);
- if (false) {
- Node189.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node189.a('node.text') || '维护';
- var color=Node189.a('node.color') || 'rgba(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node189width,Node189height,13.3333*_ratio.ratioY,"left",color,' '+ Node189fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node189.a('node.underlinepoints',[Node189lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node189fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node189fontSize + 'px "Arial"').width + 6, (Node189height - Node189fontSize) * 0.5*_ratio.ratioY + Node189fontSize + 2 ]);
- Node189.a('node.underlinevisible',false);
- Node189.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node189);
- zoomNodeList.push({
- node: Node189,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190 = new ht.Node();
- var Node190textStart, Node190textWidth, Node190lineStart, Node190align = 'left', Node190fontSize = 13.3333*_ratio.ratioY,Node190width = 34*_ratio.ratioX, Node190height = 16*_ratio.ratioY;
- (function () {
- if (Node190align === 'left') {
- Node190textStart = Node190fontSize * 0.2 > 2 ? Node190fontSize * 0.2 - 4 : Node190fontSize * 0.2 - 9;
- Node190textWidth = Node190width;
- Node190lineStart = 1;
- } else if (Node190align === 'right') {
- Node190textStart = 0;
- Node190textWidth =Node190fontSize <= 8 ? Node190width + Node190fontSize * 0.2 + 6 : Node190width - Node190fontSize * 0.2;
- Node190lineStart = (Node190width - (ht.Default.getTextSize('限电', ' '+ Node190fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node190align === 'center') {
- Node190textStart = -3;
- Node190textWidth = Node190width;
- Node190lineStart = Node190width - ht.Default.getTextSize('限电', ' '+ Node190fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node190.setImage(GD.getTextJSON(Node190width, Node190height, true, false, false, ' '+ Node190fontSize + 'px "Arial"'))
- Node190.setPosition(1188*ratio.ratioX, 506*ratio.ratioY);
- Node190.setWidth(Node190width);
- Node190.setHeight(Node190height);
- Node190._nodeType = 'text';
- Node190._disallowEvert = true;
- Node190.setRotation(0*Math.PI/180);
- Node190.a('node.width', Node190width);
- Node190.a('node.height', Node190height);
- Node190.a('node.rect', [0, 0, Node190width, Node190height]);
- Node190.a('node.bordercolor','rgba(128,0,128,1)');
- Node190.a('node.borderwidth', 0);
- Node190.a('node.background','' || 'rgba(0,0,0,0)');
- Node190.a('node.gradient','');
- Node190.a('node.gradientcolor','');
- Node190.a('node.text','限电');
- Node190.a('node.textalign','left');
- Node190.a('node.textvAlign','middle');
- Node190.a('node.textrect', [Node190textStart, 0, Node190textWidth, Node190height]);
- Node190.a('node.color','rgba(128,0,128,1)');
- Node190.a('node.font',' '+ Node190fontSize + 'px "Arial"');
- Node190.a('node.textvisible',true);
- Node190.a('node.linefeed',false);
- if (false) {
- Node190.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node190.a('node.text') || '限电';
- var color=Node190.a('node.color') || 'rgba(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node190width,Node190height,13.3333*_ratio.ratioY,"left",color,' '+ Node190fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node190.a('node.underlinepoints',[Node190lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node190fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node190fontSize + 'px "Arial"').width + 6, (Node190height - Node190fontSize) * 0.5*_ratio.ratioY + Node190fontSize + 2 ]);
- Node190.a('node.underlinevisible',false);
- Node190.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node190);
- zoomNodeList.push({
- node: Node190,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node191 = new ht.Node();
- var Node191textStart, Node191textWidth, Node191lineStart, Node191align = 'left', Node191fontSize = 13.3333*_ratio.ratioY,Node191width = 34*_ratio.ratioX, Node191height = 16*_ratio.ratioY;
- (function () {
- if (Node191align === 'left') {
- Node191textStart = Node191fontSize * 0.2 > 2 ? Node191fontSize * 0.2 - 4 : Node191fontSize * 0.2 - 9;
- Node191textWidth = Node191width;
- Node191lineStart = 1;
- } else if (Node191align === 'right') {
- Node191textStart = 0;
- Node191textWidth =Node191fontSize <= 8 ? Node191width + Node191fontSize * 0.2 + 6 : Node191width - Node191fontSize * 0.2;
- Node191lineStart = (Node191width - (ht.Default.getTextSize('待机', ' '+ Node191fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node191align === 'center') {
- Node191textStart = -3;
- Node191textWidth = Node191width;
- Node191lineStart = Node191width - ht.Default.getTextSize('待机', ' '+ Node191fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node191.setImage(GD.getTextJSON(Node191width, Node191height, true, false, false, ' '+ Node191fontSize + 'px "Arial"'))
- Node191.setPosition(1377*ratio.ratioX, 446*ratio.ratioY);
- Node191.setWidth(Node191width);
- Node191.setHeight(Node191height);
- Node191._nodeType = 'text';
- Node191._disallowEvert = true;
- Node191.setRotation(0*Math.PI/180);
- Node191.a('node.width', Node191width);
- Node191.a('node.height', Node191height);
- Node191.a('node.rect', [0, 0, Node191width, Node191height]);
- Node191.a('node.bordercolor','rgba(0,128,0,1)');
- Node191.a('node.borderwidth', 0);
- Node191.a('node.background','' || 'rgba(0,0,0,0)');
- Node191.a('node.gradient','');
- Node191.a('node.gradientcolor','');
- Node191.a('node.text','待机');
- Node191.a('node.textalign','left');
- Node191.a('node.textvAlign','middle');
- Node191.a('node.textrect', [Node191textStart, 0, Node191textWidth, Node191height]);
- Node191.a('node.color','rgba(0,128,0,1)');
- Node191.a('node.font',' '+ Node191fontSize + 'px "Arial"');
- Node191.a('node.textvisible',true);
- Node191.a('node.linefeed',false);
- if (false) {
- Node191.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node191.a('node.text') || '待机';
- var color=Node191.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node191width,Node191height,13.3333*_ratio.ratioY,"left",color,' '+ Node191fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node191.a('node.underlinepoints',[Node191lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node191fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node191fontSize + 'px "Arial"').width + 6, (Node191height - Node191fontSize) * 0.5*_ratio.ratioY + Node191fontSize + 2 ]);
- Node191.a('node.underlinevisible',false);
- Node191.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node191);
- zoomNodeList.push({
- node: Node191,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192 = new ht.Node();
- var Node192textStart, Node192textWidth, Node192lineStart, Node192align = 'left', Node192fontSize = 13.3333*_ratio.ratioY,Node192width = 34*_ratio.ratioX, Node192height = 16*_ratio.ratioY;
- (function () {
- if (Node192align === 'left') {
- Node192textStart = Node192fontSize * 0.2 > 2 ? Node192fontSize * 0.2 - 4 : Node192fontSize * 0.2 - 9;
- Node192textWidth = Node192width;
- Node192lineStart = 1;
- } else if (Node192align === 'right') {
- Node192textStart = 0;
- Node192textWidth =Node192fontSize <= 8 ? Node192width + Node192fontSize * 0.2 + 6 : Node192width - Node192fontSize * 0.2;
- Node192lineStart = (Node192width - (ht.Default.getTextSize('故障', ' '+ Node192fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node192align === 'center') {
- Node192textStart = -3;
- Node192textWidth = Node192width;
- Node192lineStart = Node192width - ht.Default.getTextSize('故障', ' '+ Node192fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node192.setImage(GD.getTextJSON(Node192width, Node192height, true, false, false, ' '+ Node192fontSize + 'px "Arial"'))
- Node192.setPosition(1378*ratio.ratioX, 476*ratio.ratioY);
- Node192.setWidth(Node192width);
- Node192.setHeight(Node192height);
- Node192._nodeType = 'text';
- Node192._disallowEvert = true;
- Node192.setRotation(0*Math.PI/180);
- Node192.a('node.width', Node192width);
- Node192.a('node.height', Node192height);
- Node192.a('node.rect', [0, 0, Node192width, Node192height]);
- Node192.a('node.bordercolor','rgba(192,0,0,1)');
- Node192.a('node.borderwidth', 0);
- Node192.a('node.background','' || 'rgba(0,0,0,0)');
- Node192.a('node.gradient','');
- Node192.a('node.gradientcolor','');
- Node192.a('node.text','故障');
- Node192.a('node.textalign','left');
- Node192.a('node.textvAlign','middle');
- Node192.a('node.textrect', [Node192textStart, 0, Node192textWidth, Node192height]);
- Node192.a('node.color','rgba(192,0,0,1)');
- Node192.a('node.font',' '+ Node192fontSize + 'px "Arial"');
- Node192.a('node.textvisible',true);
- Node192.a('node.linefeed',false);
- if (false) {
- Node192.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node192.a('node.text') || '故障';
- var color=Node192.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node192width,Node192height,13.3333*_ratio.ratioY,"left",color,' '+ Node192fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node192.a('node.underlinepoints',[Node192lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node192fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node192fontSize + 'px "Arial"').width + 6, (Node192height - Node192fontSize) * 0.5*_ratio.ratioY + Node192fontSize + 2 ]);
- Node192.a('node.underlinevisible',false);
- Node192.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node192);
- zoomNodeList.push({
- node: Node192,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.Node();
- var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'left', Node193fontSize = 13.3333*_ratio.ratioY,Node193width = 34*_ratio.ratioX, Node193height = 16*_ratio.ratioY;
- (function () {
- if (Node193align === 'left') {
- Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9;
- Node193textWidth = Node193width;
- Node193lineStart = 1;
- } else if (Node193align === 'right') {
- Node193textStart = 0;
- Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2;
- Node193lineStart = (Node193width - (ht.Default.getTextSize('离线', ' '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node193align === 'center') {
- Node193textStart = -3;
- Node193textWidth = Node193width;
- Node193lineStart = Node193width - ht.Default.getTextSize('离线', ' '+ Node193fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, ' '+ Node193fontSize + 'px "Arial"'))
- Node193.setPosition(1378*ratio.ratioX, 506*ratio.ratioY);
- Node193.setWidth(Node193width);
- Node193.setHeight(Node193height);
- Node193._nodeType = 'text';
- Node193._disallowEvert = true;
- Node193.setRotation(0*Math.PI/180);
- Node193.a('node.width', Node193width);
- Node193.a('node.height', Node193height);
- Node193.a('node.rect', [0, 0, Node193width, Node193height]);
- Node193.a('node.bordercolor','rgba(128,128,128,1)');
- Node193.a('node.borderwidth', 0);
- Node193.a('node.background','' || 'rgba(0,0,0,0)');
- Node193.a('node.gradient','');
- Node193.a('node.gradientcolor','');
- Node193.a('node.text','离线');
- Node193.a('node.textalign','left');
- Node193.a('node.textvAlign','middle');
- Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]);
- Node193.a('node.color','rgba(128,128,128,1)');
- Node193.a('node.font',' '+ Node193fontSize + 'px "Arial"');
- Node193.a('node.textvisible',true);
- Node193.a('node.linefeed',false);
- if (false) {
- Node193.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node193.a('node.text') || '离线';
- var color=Node193.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node193width,Node193height,13.3333*_ratio.ratioY,"left",color,' '+ Node193fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node193.a('node.underlinepoints',[Node193lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]);
- Node193.a('node.underlinevisible',false);
- Node193.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node193);
- zoomNodeList.push({
- node: Node193,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.Node();
- var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 19*_ratio.ratioX, Node194height = 16*_ratio.ratioY;
- (function () {
- if (Node194align === 'left') {
- Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9;
- Node194textWidth = Node194width;
- Node194lineStart = 1;
- } else if (Node194align === 'right') {
- Node194textStart = 0;
- Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2;
- Node194lineStart = (Node194width - (ht.Default.getTextSize('台', ' '+ Node194fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node194align === 'center') {
- Node194textStart = -3;
- Node194textWidth = Node194width;
- Node194lineStart = Node194width - ht.Default.getTextSize('台', ' '+ Node194fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "UniDreamLED"'))
- Node194.setPosition(1326*ratio.ratioX, 446*ratio.ratioY);
- Node194.setWidth(Node194width);
- Node194.setHeight(Node194height);
- Node194._nodeType = 'text';
- Node194._disallowEvert = true;
- Node194.setRotation(0*Math.PI/180);
- Node194.a('node.width', Node194width);
- Node194.a('node.height', Node194height);
- Node194.a('node.rect', [0, 0, Node194width, Node194height]);
- Node194.a('node.bordercolor','rgba(64,64,64,1)');
- Node194.a('node.borderwidth', 0);
- Node194.a('node.background','' || 'rgba(0,0,0,0)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','');
- Node194.a('node.text','台');
- Node194.a('node.textalign','left');
- Node194.a('node.textvAlign','middle');
- Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]);
- Node194.a('node.color','rgba(64,64,64,1)');
- Node194.a('node.font',' '+ Node194fontSize + 'px "UniDreamLED"');
- Node194.a('node.textvisible',true);
- Node194.a('node.linefeed',false);
- if (false) {
- Node194.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node194.a('node.text') || '台';
- var color=Node194.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node194.a('node.underlinepoints',[Node194lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node194fontSize + 'px "UniDreamLED"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]);
- Node194.a('node.underlinevisible',false);
- Node194.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node194);
- zoomNodeList.push({
- node: Node194,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195 = new ht.Node();
- var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'left', Node195fontSize = 13.3333*_ratio.ratioY,Node195width = 19*_ratio.ratioX, Node195height = 16*_ratio.ratioY;
- (function () {
- if (Node195align === 'left') {
- Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9;
- Node195textWidth = Node195width;
- Node195lineStart = 1;
- } else if (Node195align === 'right') {
- Node195textStart = 0;
- Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2;
- Node195lineStart = (Node195width - (ht.Default.getTextSize('台', ' '+ Node195fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node195align === 'center') {
- Node195textStart = -3;
- Node195textWidth = Node195width;
- Node195lineStart = Node195width - ht.Default.getTextSize('台', ' '+ Node195fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, ' '+ Node195fontSize + 'px "UniDreamLED"'))
- Node195.setPosition(1326*ratio.ratioX, 477*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',' '+ Node195fontSize + 'px "UniDreamLED"');
- 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,13.3333*0.5*_ratio.ratioY,Node195width,Node195height,13.3333*_ratio.ratioY,"left",color,' '+ Node195fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node195.a('node.underlinepoints',[Node195lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node195fontSize + 'px "UniDreamLED"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]);
- Node195.a('node.underlinevisible',false);
- Node195.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195);
- zoomNodeList.push({
- node: Node195,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node196 = new ht.Node();
- var Node196textStart, Node196textWidth, Node196lineStart, Node196align = 'left', Node196fontSize = 13.3333*_ratio.ratioY,Node196width = 19*_ratio.ratioX, Node196height = 16*_ratio.ratioY;
- (function () {
- if (Node196align === 'left') {
- Node196textStart = Node196fontSize * 0.2 > 2 ? Node196fontSize * 0.2 - 4 : Node196fontSize * 0.2 - 9;
- Node196textWidth = Node196width;
- Node196lineStart = 1;
- } else if (Node196align === 'right') {
- Node196textStart = 0;
- Node196textWidth =Node196fontSize <= 8 ? Node196width + Node196fontSize * 0.2 + 6 : Node196width - Node196fontSize * 0.2;
- Node196lineStart = (Node196width - (ht.Default.getTextSize('台', ' '+ Node196fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node196align === 'center') {
- Node196textStart = -3;
- Node196textWidth = Node196width;
- Node196lineStart = Node196width - ht.Default.getTextSize('台', ' '+ Node196fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node196.setImage(GD.getTextJSON(Node196width, Node196height, true, false, false, ' '+ Node196fontSize + 'px "UniDreamLED"'))
- Node196.setPosition(1327*ratio.ratioX, 506*ratio.ratioY);
- Node196.setWidth(Node196width);
- Node196.setHeight(Node196height);
- Node196._nodeType = 'text';
- Node196._disallowEvert = true;
- Node196.setRotation(0*Math.PI/180);
- Node196.a('node.width', Node196width);
- Node196.a('node.height', Node196height);
- Node196.a('node.rect', [0, 0, Node196width, Node196height]);
- Node196.a('node.bordercolor','rgba(64,64,64,1)');
- Node196.a('node.borderwidth', 0);
- Node196.a('node.background','' || 'rgba(0,0,0,0)');
- Node196.a('node.gradient','');
- Node196.a('node.gradientcolor','');
- Node196.a('node.text','台');
- Node196.a('node.textalign','left');
- Node196.a('node.textvAlign','middle');
- Node196.a('node.textrect', [Node196textStart, 0, Node196textWidth, Node196height]);
- Node196.a('node.color','rgba(64,64,64,1)');
- Node196.a('node.font',' '+ Node196fontSize + 'px "UniDreamLED"');
- Node196.a('node.textvisible',true);
- Node196.a('node.linefeed',false);
- if (false) {
- Node196.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node196.a('node.text') || '台';
- var color=Node196.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node196width,Node196height,13.3333*_ratio.ratioY,"left",color,' '+ Node196fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node196.a('node.underlinepoints',[Node196lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node196fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node196fontSize + 'px "UniDreamLED"').width + 6, (Node196height - Node196fontSize) * 0.5*_ratio.ratioY + Node196fontSize + 2 ]);
- Node196.a('node.underlinevisible',false);
- Node196.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node196);
- zoomNodeList.push({
- node: Node196,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node197 = new ht.Node();
- var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'left', Node197fontSize = 13.3333*_ratio.ratioY,Node197width = 17*_ratio.ratioX, Node197height = 16*_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('24', ' '+ Node197fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('24', ' '+ Node197fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, ' '+ Node197fontSize + 'px "UniDreamLED"'))
- Node197.setPosition(1270*ratio.ratioX, 446*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(64,64,64,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','24');
- Node197.a('node.textalign','left');
- Node197.a('node.textvAlign','middle');
- Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
- Node197.a('node.color','rgba(64,64,64,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') || '24';
- var color=Node197.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node197width,Node197height,13.3333*_ratio.ratioY,"left",color,' '+ Node197fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('24', ' '+ 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 = 13.3333*_ratio.ratioY,Node198width = 10*_ratio.ratioX, Node198height = 16*_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('0', ' '+ Node198fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('0', ' '+ Node198fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "UniDreamLED"'))
- Node198.setPosition(1267*ratio.ratioX, 475*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(64,64,64,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','0');
- Node198.a('node.textalign','left');
- Node198.a('node.textvAlign','middle');
- Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
- Node198.a('node.color','rgba(64,64,64,1)');
- Node198.a('node.font',' '+ Node198fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node198.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node198fontSize + 'px "UniDreamLED"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
- Node198.a('node.underlinevisible',false);
- Node198.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node198);
- zoomNodeList.push({
- node: Node198,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.Node();
- var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'left', Node199fontSize = 13.3333*_ratio.ratioY,Node199width = 10*_ratio.ratioX, Node199height = 16*_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('0', ' '+ Node199fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node199align === 'center') {
- Node199textStart = -3;
- Node199textWidth = Node199width;
- Node199lineStart = Node199width - ht.Default.getTextSize('0', ' '+ Node199fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, ' '+ Node199fontSize + 'px "UniDreamLED"'))
- Node199.setPosition(1267*ratio.ratioX, 506*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','0');
- 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',' '+ Node199fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node199.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node199width,Node199height,13.3333*_ratio.ratioY,"left",color,' '+ Node199fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node199.a('node.underlinepoints',[Node199lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node199fontSize + 'px "UniDreamLED"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
- Node199.a('node.underlinevisible',false);
- Node199.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node199);
- zoomNodeList.push({
- node: Node199,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node200 = new ht.Node();
- var Node200textStart, Node200textWidth, Node200lineStart, Node200align = 'left', Node200fontSize = 13.3333*_ratio.ratioY,Node200width = 10*_ratio.ratioX, Node200height = 16*_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('0', ' '+ Node200fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node200align === 'center') {
- Node200textStart = -3;
- Node200textWidth = Node200width;
- Node200lineStart = Node200width - ht.Default.getTextSize('0', ' '+ Node200fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node200.setImage(GD.getTextJSON(Node200width, Node200height, true, false, false, ' '+ Node200fontSize + 'px "UniDreamLED"'))
- Node200.setPosition(1444*ratio.ratioX, 446*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','0');
- 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',' '+ Node200fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node200.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node200width,Node200height,13.3333*_ratio.ratioY,"left",color,' '+ Node200fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node200.a('node.underlinepoints',[Node200lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node200fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node200fontSize + 'px "UniDreamLED"').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 = 10*_ratio.ratioX, Node201height = 16*_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('0', ' '+ Node201fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node201align === 'center') {
- Node201textStart = -3;
- Node201textWidth = Node201width;
- Node201lineStart = Node201width - ht.Default.getTextSize('0', ' '+ Node201fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node201.setImage(GD.getTextJSON(Node201width, Node201height, true, false, false, ' '+ Node201fontSize + 'px "UniDreamLED"'))
- Node201.setPosition(1444*ratio.ratioX, 475*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','0');
- 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 "UniDreamLED"');
- 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') || '0';
- 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 "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node201.a('node.underlinepoints',[Node201lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node201fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node201fontSize + 'px "UniDreamLED"').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*Math.PI/180, ratio);
- var Node202 = new ht.Node();
- var Node202textStart, Node202textWidth, Node202lineStart, Node202align = 'left', Node202fontSize = 13.3333*_ratio.ratioY,Node202width = 10*_ratio.ratioX, Node202height = 16*_ratio.ratioY;
- (function () {
- if (Node202align === 'left') {
- Node202textStart = Node202fontSize * 0.2 > 2 ? Node202fontSize * 0.2 - 4 : Node202fontSize * 0.2 - 9;
- Node202textWidth = Node202width;
- Node202lineStart = 1;
- } else if (Node202align === 'right') {
- Node202textStart = 0;
- Node202textWidth =Node202fontSize <= 8 ? Node202width + Node202fontSize * 0.2 + 6 : Node202width - Node202fontSize * 0.2;
- Node202lineStart = (Node202width - (ht.Default.getTextSize('0', ' '+ Node202fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node202align === 'center') {
- Node202textStart = -3;
- Node202textWidth = Node202width;
- Node202lineStart = Node202width - ht.Default.getTextSize('0', ' '+ Node202fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node202.setImage(GD.getTextJSON(Node202width, Node202height, true, false, false, ' '+ Node202fontSize + 'px "UniDreamLED"'))
- Node202.setPosition(1444*ratio.ratioX, 506*ratio.ratioY);
- Node202.setWidth(Node202width);
- Node202.setHeight(Node202height);
- Node202._nodeType = 'text';
- Node202._disallowEvert = true;
- Node202.setRotation(0*Math.PI/180);
- Node202.a('node.width', Node202width);
- Node202.a('node.height', Node202height);
- Node202.a('node.rect', [0, 0, Node202width, Node202height]);
- Node202.a('node.bordercolor','rgba(64,64,64,1)');
- Node202.a('node.borderwidth', 0);
- Node202.a('node.background','' || 'rgba(0,0,0,0)');
- Node202.a('node.gradient','');
- Node202.a('node.gradientcolor','');
- Node202.a('node.text','0');
- Node202.a('node.textalign','left');
- Node202.a('node.textvAlign','middle');
- Node202.a('node.textrect', [Node202textStart, 0, Node202textWidth, Node202height]);
- Node202.a('node.color','rgba(64,64,64,1)');
- Node202.a('node.font',' '+ Node202fontSize + 'px "UniDreamLED"');
- Node202.a('node.textvisible',true);
- Node202.a('node.linefeed',false);
- if (false) {
- Node202.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node202.a('node.text') || '0';
- var color=Node202.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node202width,Node202height,13.3333*_ratio.ratioY,"left",color,' '+ Node202fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node202.a('node.underlinepoints',[Node202lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node202fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node202fontSize + 'px "UniDreamLED"').width + 6, (Node202height - Node202fontSize) * 0.5*_ratio.ratioY + Node202fontSize + 2 ]);
- Node202.a('node.underlinevisible',false);
- Node202.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node202);
- zoomNodeList.push({
- node: Node202,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node203 = new ht.Node();
- var Node203textStart, Node203textWidth, Node203lineStart, Node203align = 'left', Node203fontSize = 13.3333*_ratio.ratioY,Node203width = 19*_ratio.ratioX, Node203height = 16*_ratio.ratioY;
- (function () {
- if (Node203align === 'left') {
- Node203textStart = Node203fontSize * 0.2 > 2 ? Node203fontSize * 0.2 - 4 : Node203fontSize * 0.2 - 9;
- Node203textWidth = Node203width;
- Node203lineStart = 1;
- } else if (Node203align === 'right') {
- Node203textStart = 0;
- Node203textWidth =Node203fontSize <= 8 ? Node203width + Node203fontSize * 0.2 + 6 : Node203width - Node203fontSize * 0.2;
- Node203lineStart = (Node203width - (ht.Default.getTextSize('台', ' '+ Node203fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node203align === 'center') {
- Node203textStart = -3;
- Node203textWidth = Node203width;
- Node203lineStart = Node203width - ht.Default.getTextSize('台', ' '+ Node203fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node203.setImage(GD.getTextJSON(Node203width, Node203height, true, false, false, ' '+ Node203fontSize + 'px "UniDreamLED"'))
- Node203.setPosition(1502*ratio.ratioX, 445*ratio.ratioY);
- Node203.setWidth(Node203width);
- Node203.setHeight(Node203height);
- Node203._nodeType = 'text';
- Node203._disallowEvert = true;
- Node203.setRotation(0*Math.PI/180);
- Node203.a('node.width', Node203width);
- Node203.a('node.height', Node203height);
- Node203.a('node.rect', [0, 0, Node203width, Node203height]);
- Node203.a('node.bordercolor','rgba(64,64,64,1)');
- Node203.a('node.borderwidth', 0);
- Node203.a('node.background','' || 'rgba(0,0,0,0)');
- Node203.a('node.gradient','');
- Node203.a('node.gradientcolor','');
- Node203.a('node.text','台');
- Node203.a('node.textalign','left');
- Node203.a('node.textvAlign','middle');
- Node203.a('node.textrect', [Node203textStart, 0, Node203textWidth, Node203height]);
- Node203.a('node.color','rgba(64,64,64,1)');
- Node203.a('node.font',' '+ Node203fontSize + 'px "UniDreamLED"');
- Node203.a('node.textvisible',true);
- Node203.a('node.linefeed',false);
- if (false) {
- Node203.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node203.a('node.text') || '台';
- var color=Node203.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node203width,Node203height,13.3333*_ratio.ratioY,"left",color,' '+ Node203fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node203.a('node.underlinepoints',[Node203lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node203fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node203fontSize + 'px "UniDreamLED"').width + 6, (Node203height - Node203fontSize) * 0.5*_ratio.ratioY + Node203fontSize + 2 ]);
- Node203.a('node.underlinevisible',false);
- Node203.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node203);
- zoomNodeList.push({
- node: Node203,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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 = 19*_ratio.ratioX, Node204height = 16*_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('台', ' '+ Node204fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node204align === 'center') {
- Node204textStart = -3;
- Node204textWidth = Node204width;
- Node204lineStart = Node204width - ht.Default.getTextSize('台', ' '+ Node204fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node204.setImage(GD.getTextJSON(Node204width, Node204height, true, false, false, ' '+ Node204fontSize + 'px "UniDreamLED"'))
- Node204.setPosition(1502*ratio.ratioX, 476*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','台');
- 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 "UniDreamLED"');
- 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') || '台';
- 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 "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node204.a('node.underlinepoints',[Node204lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node204fontSize + 'px "UniDreamLED"').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*Math.PI/180, ratio);
- var Node205 = new ht.Node();
- var Node205textStart, Node205textWidth, Node205lineStart, Node205align = 'left', Node205fontSize = 13.3333*_ratio.ratioY,Node205width = 19*_ratio.ratioX, Node205height = 16*_ratio.ratioY;
- (function () {
- if (Node205align === 'left') {
- Node205textStart = Node205fontSize * 0.2 > 2 ? Node205fontSize * 0.2 - 4 : Node205fontSize * 0.2 - 9;
- Node205textWidth = Node205width;
- Node205lineStart = 1;
- } else if (Node205align === 'right') {
- Node205textStart = 0;
- Node205textWidth =Node205fontSize <= 8 ? Node205width + Node205fontSize * 0.2 + 6 : Node205width - Node205fontSize * 0.2;
- Node205lineStart = (Node205width - (ht.Default.getTextSize('台', ' '+ Node205fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node205align === 'center') {
- Node205textStart = -3;
- Node205textWidth = Node205width;
- Node205lineStart = Node205width - ht.Default.getTextSize('台', ' '+ Node205fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node205.setImage(GD.getTextJSON(Node205width, Node205height, true, false, false, ' '+ Node205fontSize + 'px "UniDreamLED"'))
- Node205.setPosition(1503*ratio.ratioX, 505*ratio.ratioY);
- Node205.setWidth(Node205width);
- Node205.setHeight(Node205height);
- Node205._nodeType = 'text';
- Node205._disallowEvert = true;
- Node205.setRotation(0*Math.PI/180);
- Node205.a('node.width', Node205width);
- Node205.a('node.height', Node205height);
- Node205.a('node.rect', [0, 0, Node205width, Node205height]);
- Node205.a('node.bordercolor','rgba(64,64,64,1)');
- Node205.a('node.borderwidth', 0);
- Node205.a('node.background','' || 'rgba(0,0,0,0)');
- Node205.a('node.gradient','');
- Node205.a('node.gradientcolor','');
- Node205.a('node.text','台');
- Node205.a('node.textalign','left');
- Node205.a('node.textvAlign','middle');
- Node205.a('node.textrect', [Node205textStart, 0, Node205textWidth, Node205height]);
- Node205.a('node.color','rgba(64,64,64,1)');
- Node205.a('node.font',' '+ Node205fontSize + 'px "UniDreamLED"');
- Node205.a('node.textvisible',true);
- Node205.a('node.linefeed',false);
- if (false) {
- Node205.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205.a('node.text') || '台';
- var color=Node205.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205width,Node205height,13.3333*_ratio.ratioY,"left",color,' '+ Node205fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node205.a('node.underlinepoints',[Node205lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node205fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node205fontSize + 'px "UniDreamLED"').width + 6, (Node205height - Node205fontSize) * 0.5*_ratio.ratioY + Node205fontSize + 2 ]);
- Node205.a('node.underlinevisible',false);
- Node205.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205);
- zoomNodeList.push({
- node: Node205,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node206type = 'rect';
- var Node206 = new ht.Node(),
- Node206BorderWidth = 0*2;
- if (Node206type === 'arc') {
- Node206BorderWidth *= 0;
- }
- Node206.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node206type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node206.setPosition(1758*ratio.ratioX, 508*ratio.ratioY);
- Node206.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node206.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node206.a('node.width', 66*_ratio.ratioX);
- Node206.a('node.height', 30*_ratio.ratioY);
- Node206.a('node.type', Node206type);
- Node206.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node206.a('node.background', 'rgba(245,245,245,1)');
- Node206.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node206.a('node.gradient', '');
- Node206.a('node.borderwidth', Node206BorderWidth);
- Node206.a('node.color', 'rgba(224,224,224,0)');
- Node206.a('node.fillrect', [0,0,0,0]);
- Node206.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node206.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node206.a('node.fillgradient', '');
- if (Node206type !== 'rect') {
- Node206.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node206.a('node.arcTo', parseFloat('@arcTo@'));
- Node206.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node206type === 'arc') {
- Node206.a('node.arcOval', true);
- }
- Node206.setRotation(0*Math.PI/180);
- Node206.borderWidth = Node206BorderWidth;
- Node206.borderFillwidth = Node206BorderWidth;
- dataModel.add(Node206);
- Node206._nodename = 'Node206'
- Node206._nodeType = 'rect';
- zoomNodeList.push({
- node: Node206,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node206, Node206.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node207type = 'rect';
- var Node207 = new ht.Node(),
- Node207BorderWidth = 0*2;
- if (Node207type === 'arc') {
- Node207BorderWidth *= 0;
- }
- Node207.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node207type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node207.setPosition(1758*ratio.ratioX, 477*ratio.ratioY);
- Node207.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node207.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node207.a('node.width', 66*_ratio.ratioX);
- Node207.a('node.height', 30*_ratio.ratioY);
- Node207.a('node.type', Node207type);
- Node207.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node207.a('node.background', 'rgba(245,245,245,1)');
- Node207.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node207.a('node.gradient', '');
- Node207.a('node.borderwidth', Node207BorderWidth);
- Node207.a('node.color', 'rgba(224,224,224,0)');
- Node207.a('node.fillrect', [0,0,0,0]);
- Node207.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node207.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node207.a('node.fillgradient', '');
- if (Node207type !== 'rect') {
- Node207.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node207.a('node.arcTo', parseFloat('@arcTo@'));
- Node207.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node207type === 'arc') {
- Node207.a('node.arcOval', true);
- }
- Node207.setRotation(0*Math.PI/180);
- Node207.borderWidth = Node207BorderWidth;
- Node207.borderFillwidth = Node207BorderWidth;
- dataModel.add(Node207);
- Node207._nodename = 'Node207'
- Node207._nodeType = 'rect';
- zoomNodeList.push({
- node: Node207,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node207, Node207.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node208type = 'rect';
- var Node208 = new ht.Node(),
- Node208BorderWidth = 0*2;
- if (Node208type === 'arc') {
- Node208BorderWidth *= 0;
- }
- Node208.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node208type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node208.setPosition(1758*ratio.ratioX, 446*ratio.ratioY);
- Node208.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node208.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node208.a('node.width', 66*_ratio.ratioX);
- Node208.a('node.height', 30*_ratio.ratioY);
- Node208.a('node.type', Node208type);
- Node208.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node208.a('node.background', 'rgba(245,245,245,1)');
- Node208.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node208.a('node.gradient', '');
- Node208.a('node.borderwidth', Node208BorderWidth);
- Node208.a('node.color', 'rgba(224,224,224,0)');
- 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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node209type = 'rect';
- var Node209 = new ht.Node(),
- Node209BorderWidth = 0*2;
- if (Node209type === 'arc') {
- Node209BorderWidth *= 0;
- }
- Node209.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node209type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node209.setPosition(1569*ratio.ratioX, 508*ratio.ratioY);
- Node209.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node209.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node209.a('node.width', 66*_ratio.ratioX);
- Node209.a('node.height', 30*_ratio.ratioY);
- Node209.a('node.type', Node209type);
- Node209.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node209.a('node.background', 'rgba(245,245,245,1)');
- Node209.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node209.a('node.gradient', '');
- Node209.a('node.borderwidth', Node209BorderWidth);
- Node209.a('node.color', 'rgba(224,224,224,0)');
- Node209.a('node.fillrect', [0,0,0,0]);
- Node209.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node209.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node209.a('node.fillgradient', '');
- if (Node209type !== 'rect') {
- Node209.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node209.a('node.arcTo', parseFloat('@arcTo@'));
- Node209.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node209type === 'arc') {
- Node209.a('node.arcOval', true);
- }
- Node209.setRotation(0*Math.PI/180);
- Node209.borderWidth = Node209BorderWidth;
- Node209.borderFillwidth = Node209BorderWidth;
- dataModel.add(Node209);
- Node209._nodename = 'Node209'
- Node209._nodeType = 'rect';
- zoomNodeList.push({
- node: Node209,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node209, Node209.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node210type = 'rect';
- var Node210 = new ht.Node(),
- Node210BorderWidth = 0*2;
- if (Node210type === 'arc') {
- Node210BorderWidth *= 0;
- }
- Node210.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node210type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node210.setPosition(1569*ratio.ratioX, 476*ratio.ratioY);
- Node210.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node210.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node210.a('node.width', 66*_ratio.ratioX);
- Node210.a('node.height', 30*_ratio.ratioY);
- Node210.a('node.type', Node210type);
- Node210.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node210.a('node.background', 'rgba(245,245,245,1)');
- Node210.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node210.a('node.gradient', '');
- Node210.a('node.borderwidth', Node210BorderWidth);
- Node210.a('node.color', 'rgba(224,224,224,0)');
- Node210.a('node.fillrect', [0,0,0,0]);
- Node210.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node210.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node210.a('node.fillgradient', '');
- if (Node210type !== 'rect') {
- Node210.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node210.a('node.arcTo', parseFloat('@arcTo@'));
- Node210.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node210type === 'arc') {
- Node210.a('node.arcOval', true);
- }
- Node210.setRotation(0*Math.PI/180);
- Node210.borderWidth = Node210BorderWidth;
- Node210.borderFillwidth = Node210BorderWidth;
- dataModel.add(Node210);
- Node210._nodename = 'Node210'
- Node210._nodeType = 'rect';
- zoomNodeList.push({
- node: Node210,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node210, Node210.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node211type = 'rect';
- var Node211 = new ht.Node(),
- Node211BorderWidth = 0*2;
- if (Node211type === 'arc') {
- Node211BorderWidth *= 0;
- }
- Node211.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node211type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node211.setPosition(1570*ratio.ratioX, 445*ratio.ratioY);
- Node211.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node211.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node211.a('node.width', 66*_ratio.ratioX);
- Node211.a('node.height', 30*_ratio.ratioY);
- Node211.a('node.type', Node211type);
- Node211.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node211.a('node.background', 'rgba(245,245,245,1)');
- Node211.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node211.a('node.gradient', '');
- Node211.a('node.borderwidth', Node211BorderWidth);
- Node211.a('node.color', 'rgba(224,224,224,0)');
- Node211.a('node.fillrect', [0,0,0,0]);
- Node211.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node211.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node211.a('node.fillgradient', '');
- if (Node211type !== 'rect') {
- Node211.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node211.a('node.arcTo', parseFloat('@arcTo@'));
- Node211.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node211type === 'arc') {
- Node211.a('node.arcOval', true);
- }
- Node211.setRotation(0*Math.PI/180);
- Node211.borderWidth = Node211BorderWidth;
- Node211.borderFillwidth = Node211BorderWidth;
- dataModel.add(Node211);
- Node211._nodename = 'Node211'
- Node211._nodeType = 'rect';
- zoomNodeList.push({
- node: Node211,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node211, Node211.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node212= new ht.Node();
- Node212._borderWidth = 1;
- Node212.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)', Node212._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node212.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node212.background'},
- gradient: {value:'', func: 'attr@Node212.gradient'},
- gradientColor:{value:'', func: 'attr@Node212.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node212.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node212.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node212.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node212.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node212.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node212.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node212.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node212.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node212.borderPattern'}
- }
- ]
- });
- var Node212borderwidth = 1;
- var Node212borderFillwidth = 1*2;
- Node212 .setPosition(1722*ratio.ratioX,378*ratio.ratioY);
- Node212.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node212.setRotation(0*Math.PI/180);
- Node212.s({'pixelPerfect':true});
- Node212.a('Node212.borderwidth',1);
- Node212.a('Node212.color','@bordercolor@');
- Node212.a('Node212.background','rgba(255,255,255,0.003921569)');
- Node212.a('Node212.gradient','');
- Node212.a('Node212.gradientcolor','');
- Node212.a('Node212.borderPattern',getDashStyle("Solid"));
- Node212.a('Node212.fillrect',[0,0,0,0]);
- Node212.a('Node212.fillbackcolor','rgba(0, 0, 0, 0)');
- Node212.a('Node212.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node212.a('Node212.fillgradient','');
- Node212borderwidth=1;
- dataModel.add(Node212);
- Node212.borderWidth = 1;
- Node212.borderFillwidth = 1*2;
- Node212._nodename = 'Node212';
- Node212._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node212,
- attr: 'Node212.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('Node212.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('Node212.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node212, Node212.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node213 = new ht.Node();
- var Node213textStart, Node213textWidth, Node213lineStart, Node213align = 'left', Node213fontSize = 11.99997*_ratio.ratioY,Node213width = 99*_ratio.ratioX, Node213height = 15*_ratio.ratioY;
- (function () {
- if (Node213align === 'left') {
- Node213textStart = Node213fontSize * 0.2 > 2 ? Node213fontSize * 0.2 - 4 : Node213fontSize * 0.2 - 9;
- Node213textWidth = Node213width;
- Node213lineStart = 1;
- } else if (Node213align === 'right') {
- Node213textStart = 0;
- Node213textWidth =Node213fontSize <= 8 ? Node213width + Node213fontSize * 0.2 + 6 : Node213width - Node213fontSize * 0.2;
- Node213lineStart = (Node213width - (ht.Default.getTextSize('浑源峰岳风电场', 'bold '+ Node213fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node213align === 'center') {
- Node213textStart = -3;
- Node213textWidth = Node213width;
- Node213lineStart = Node213width - ht.Default.getTextSize('浑源峰岳风电场', 'bold '+ Node213fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node213.setImage(GD.getTextJSON(Node213width, Node213height, true, false, false, 'bold '+ Node213fontSize + 'px "Arial"'))
- Node213.setPosition(1591*ratio.ratioX, 342*ratio.ratioY);
- Node213.setWidth(Node213width);
- Node213.setHeight(Node213height);
- Node213._nodeType = 'text';
- Node213._disallowEvert = true;
- Node213.setRotation(0*Math.PI/180);
- Node213.a('node.width', Node213width);
- Node213.a('node.height', Node213height);
- Node213.a('node.rect', [0, 0, Node213width, Node213height]);
- Node213.a('node.bordercolor','rgba(64,64,64,1)');
- Node213.a('node.borderwidth', 0);
- Node213.a('node.background','' || 'rgba(0,0,0,0)');
- Node213.a('node.gradient','');
- Node213.a('node.gradientcolor','');
- Node213.a('node.text','浑源峰岳风电场');
- Node213.a('node.textalign','left');
- Node213.a('node.textvAlign','middle');
- Node213.a('node.textrect', [Node213textStart, 0, Node213textWidth, Node213height]);
- Node213.a('node.color','rgba(64,64,64,1)');
- Node213.a('node.font','bold '+ Node213fontSize + 'px "Arial"');
- Node213.a('node.textvisible',true);
- Node213.a('node.linefeed',false);
- if (false) {
- Node213.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node213.a('node.text') || '浑源峰岳风电场';
- var color=Node213.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node213width,Node213height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node213fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node213.a('node.underlinepoints',[Node213lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node213fontSize + 2 , ht.Default.getTextSize('浑源峰岳风电场', 'bold '+ Node213fontSize + 'px "Arial"').width + 6, (Node213height - Node213fontSize) * 0.5*_ratio.ratioY + Node213fontSize + 2 ]);
- Node213.a('node.underlinevisible',false);
- Node213.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node213);
- zoomNodeList.push({
- node: Node213,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node214 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 1817*ratio.ratioX, 342*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 Node215 = new ht.Node();
- var Node215textStart, Node215textWidth, Node215lineStart, Node215align = 'left', Node215fontSize = 11.99997*_ratio.ratioY,Node215width = 23*_ratio.ratioX, Node215height = 15*_ratio.ratioY;
- (function () {
- if (Node215align === 'left') {
- Node215textStart = Node215fontSize * 0.2 > 2 ? Node215fontSize * 0.2 - 4 : Node215fontSize * 0.2 - 9;
- Node215textWidth = Node215width;
- Node215lineStart = 1;
- } else if (Node215align === 'right') {
- Node215textStart = 0;
- Node215textWidth =Node215fontSize <= 8 ? Node215width + Node215fontSize * 0.2 + 6 : Node215width - Node215fontSize * 0.2;
- Node215lineStart = (Node215width - (ht.Default.getTextSize('4.48', ' '+ Node215fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node215align === 'center') {
- Node215textStart = -3;
- Node215textWidth = Node215width;
- Node215lineStart = Node215width - ht.Default.getTextSize('4.48', ' '+ Node215fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node215.setImage(GD.getTextJSON(Node215width, Node215height, true, false, false, ' '+ Node215fontSize + 'px "UniDreamLED"'))
- Node215.setPosition(1663*ratio.ratioX, 386*ratio.ratioY);
- Node215.setWidth(Node215width);
- Node215.setHeight(Node215height);
- Node215._nodeType = 'text';
- Node215._disallowEvert = true;
- Node215.setRotation(0*Math.PI/180);
- Node215.a('node.width', Node215width);
- Node215.a('node.height', Node215height);
- Node215.a('node.rect', [0, 0, Node215width, Node215height]);
- Node215.a('node.bordercolor','rgba(0,0,0,1)');
- Node215.a('node.borderwidth', 0);
- Node215.a('node.background','' || 'rgba(0,0,0,0)');
- Node215.a('node.gradient','');
- Node215.a('node.gradientcolor','');
- Node215.a('node.text','4.48');
- Node215.a('node.textalign','left');
- Node215.a('node.textvAlign','middle');
- Node215.a('node.textrect', [Node215textStart, 0, Node215textWidth, Node215height]);
- Node215.a('node.color','rgba(0,0,0,1)');
- Node215.a('node.font',' '+ Node215fontSize + 'px "UniDreamLED"');
- Node215.a('node.textvisible',true);
- Node215.a('node.linefeed',false);
- if (false) {
- Node215.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node215.a('node.text') || '4.48';
- var color=Node215.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node215width,Node215height,11.99997*_ratio.ratioY,"left",color,' '+ Node215fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node215.a('node.underlinepoints',[Node215lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node215fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node215fontSize + 'px "UniDreamLED"').width + 6, (Node215height - Node215fontSize) * 0.5*_ratio.ratioY + Node215fontSize + 2 ]);
- Node215.a('node.underlinevisible',false);
- Node215.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node215);
- zoomNodeList.push({
- node: Node215,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node216 = new ht.Node();
- var Node216textStart, Node216textWidth, Node216lineStart, Node216align = 'left', Node216fontSize = 11.99997*_ratio.ratioY,Node216width = 23*_ratio.ratioX, Node216height = 15*_ratio.ratioY;
- (function () {
- if (Node216align === 'left') {
- Node216textStart = Node216fontSize * 0.2 > 2 ? Node216fontSize * 0.2 - 4 : Node216fontSize * 0.2 - 9;
- Node216textWidth = Node216width;
- Node216lineStart = 1;
- } else if (Node216align === 'right') {
- Node216textStart = 0;
- Node216textWidth =Node216fontSize <= 8 ? Node216width + Node216fontSize * 0.2 + 6 : Node216width - Node216fontSize * 0.2;
- Node216lineStart = (Node216width - (ht.Default.getTextSize('m/s', ' '+ Node216fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node216align === 'center') {
- Node216textStart = -3;
- Node216textWidth = Node216width;
- Node216lineStart = Node216width - ht.Default.getTextSize('m/s', ' '+ Node216fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node216.setImage(GD.getTextJSON(Node216width, Node216height, true, false, false, ' '+ Node216fontSize + 'px "Arial"'))
- Node216.setPosition(1663*ratio.ratioX, 407*ratio.ratioY);
- Node216.setWidth(Node216width);
- Node216.setHeight(Node216height);
- Node216._nodeType = 'text';
- Node216._disallowEvert = true;
- Node216.setRotation(0*Math.PI/180);
- Node216.a('node.width', Node216width);
- Node216.a('node.height', Node216height);
- Node216.a('node.rect', [0, 0, Node216width, Node216height]);
- Node216.a('node.bordercolor','rgba(0,0,0,1)');
- Node216.a('node.borderwidth', 0);
- Node216.a('node.background','' || 'rgba(0,0,0,0)');
- Node216.a('node.gradient','');
- Node216.a('node.gradientcolor','');
- Node216.a('node.text','m/s');
- Node216.a('node.textalign','left');
- Node216.a('node.textvAlign','middle');
- Node216.a('node.textrect', [Node216textStart, 0, Node216textWidth, Node216height]);
- Node216.a('node.color','rgba(0,0,0,1)');
- Node216.a('node.font',' '+ Node216fontSize + 'px "Arial"');
- Node216.a('node.textvisible',true);
- Node216.a('node.linefeed',false);
- if (false) {
- Node216.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node216.a('node.text') || 'm/s';
- var color=Node216.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node216width,Node216height,11.99997*_ratio.ratioY,"left",color,' '+ Node216fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node216.a('node.underlinepoints',[Node216lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node216fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node216fontSize + 'px "Arial"').width + 6, (Node216height - Node216fontSize) * 0.5*_ratio.ratioY + Node216fontSize + 2 ]);
- Node216.a('node.underlinevisible',false);
- Node216.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node216);
- zoomNodeList.push({
- node: Node216,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node217 = new ht.Node();
- var Node217textStart, Node217textWidth, Node217lineStart, Node217align = 'left', Node217fontSize = 11.99997*_ratio.ratioY,Node217width = 31*_ratio.ratioX, Node217height = 15*_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('功率', 'bold '+ Node217fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node217align === 'center') {
- Node217textStart = -3;
- Node217textWidth = Node217width;
- Node217lineStart = Node217width - ht.Default.getTextSize('功率', 'bold '+ Node217fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node217.setImage(GD.getTextJSON(Node217width, Node217height, true, false, false, 'bold '+ Node217fontSize + 'px "Arial"'))
- Node217.setPosition(1727*ratio.ratioX, 374*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(64,64,64,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(64,64,64,1)');
- Node217.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node217width,Node217height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node217fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node217.a('node.underlinepoints',[Node217lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node217fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ 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 = 11.99997*_ratio.ratioY,Node218width = 44*_ratio.ratioX, Node218height = 15*_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('发电量', 'bold '+ Node218fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node218align === 'center') {
- Node218textStart = -3;
- Node218textWidth = Node218width;
- Node218lineStart = Node218width - ht.Default.getTextSize('发电量', 'bold '+ Node218fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node218.setImage(GD.getTextJSON(Node218width, Node218height, true, false, false, 'bold '+ Node218fontSize + 'px "Arial"'))
- Node218.setPosition(1734*ratio.ratioX, 408*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(64,64,64,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(64,64,64,1)');
- Node218.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node218width,Node218height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node218fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node218.a('node.underlinepoints',[Node218lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node218fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ 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 = 19*_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(1877*ratio.ratioX, 343*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(64,64,64,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(64,64,64,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(64,64,64,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 = 28*_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('MW', ' '+ Node220fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node220align === 'center') {
- Node220textStart = -3;
- Node220textWidth = Node220width;
- Node220lineStart = Node220width - ht.Default.getTextSize('MW', ' '+ Node220fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node220.setImage(GD.getTextJSON(Node220width, Node220height, true, false, false, ' '+ Node220fontSize + 'px "Arial"'))
- Node220.setPosition(1874*ratio.ratioX, 373*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(64,64,64,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','MW');
- Node220.a('node.textalign','left');
- Node220.a('node.textvAlign','middle');
- Node220.a('node.textrect', [Node220textStart, 0, Node220textWidth, Node220height]);
- Node220.a('node.color','rgba(64,64,64,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') || 'MW';
- var color=Node220.a('node.color') || 'rgba(64,64,64,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('MW', ' '+ 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 = 43*_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('万kwh', ' '+ Node221fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node221align === 'center') {
- Node221textStart = -3;
- Node221textWidth = Node221width;
- Node221lineStart = Node221width - ht.Default.getTextSize('万kwh', ' '+ Node221fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node221.setImage(GD.getTextJSON(Node221width, Node221height, true, false, false, ' '+ Node221fontSize + 'px "Arial"'))
- Node221.setPosition(1882*ratio.ratioX, 408*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(64,64,64,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','万kwh');
- Node221.a('node.textalign','left');
- Node221.a('node.textvAlign','middle');
- Node221.a('node.textrect', [Node221textStart, 0, Node221textWidth, Node221height]);
- Node221.a('node.color','rgba(64,64,64,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') || '万kwh';
- var color=Node221.a('node.color') || 'rgba(64,64,64,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('万kwh', ' '+ 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 Node222type = 'rect';
- var Node222 = new ht.Node(),
- Node222BorderWidth = 1*2;
- if (Node222type === 'arc') {
- Node222BorderWidth *= 1;
- }
- Node222.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node222type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node222.setPosition(1722*ratio.ratioX, 476*ratio.ratioY);
- Node222.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node222.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node222.a('node.width', 373*_ratio.ratioX);
- Node222.a('node.height', 93*_ratio.ratioY);
- Node222.a('node.type', Node222type);
- Node222.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node222.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node222.a('node.gradientcolor', '');
- Node222.a('node.gradient', '');
- Node222.a('node.borderwidth', Node222BorderWidth);
- Node222.a('node.color', 'rgba(192,192,192,1)');
- Node222.a('node.fillrect', [0,0,0,0]);
- Node222.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node222.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node222.a('node.fillgradient', '');
- if (Node222type !== 'rect') {
- Node222.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node222.a('node.arcTo', parseFloat('@arcTo@'));
- Node222.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node222type === 'arc') {
- Node222.a('node.arcOval', true);
- }
- Node222.setRotation(0*Math.PI/180);
- Node222.borderWidth = Node222BorderWidth;
- Node222.borderFillwidth = Node222BorderWidth;
- dataModel.add(Node222);
- Node222._nodename = 'Node222'
- Node222._nodeType = 'rect';
- zoomNodeList.push({
- node: Node222,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node222, Node222.getImage());var Node223points=[1536, 461,1909, 461],
- Node223rect=ht.Default.unionPoint([{x:1536,y:461},{x:1909,y:461}]),
- Node223compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node223points.length;i++){
- if(i%2==0){
- Node223compspts.push(Node223points[i]-Node223rect.x);
- }else{
- Node223compspts.push(Node223points[i]-Node223rect.y);
- }
- }
- var Node223ptslength=Node223compspts.length;
- if (Node223rect.height === 0) {
- Node223compspts[0] -= 0;
- Node223compspts[Node223ptslength-2] += 0;
- } else if (Node223rect.width === 0){
- Node223compspts[1] -= 0;
- Node223compspts[Node223ptslength-1] += 0;
- } else {
- Node223compspts[0] -= 0;
- Node223compspts[1] -= 0;
- Node223compspts[Node223ptslength-2] += 0;
- Node223compspts[Node223ptslength-1] += 0;
- }
- Node223 = new ht.Node();
- Node223.borderWidth = 1;
- Node223rect.width = Node223rect.width === 0 ? 0.0001 : Node223rect.width;
- Node223rect.height = Node223rect.height === 0 ? 0.0001 : Node223rect.height;
- var Node223endCompspts = [Node223compspts[Node223ptslength-2],Node223compspts[Node223ptslength-1],0,0];
- var Node223startCompspts = [Node223compspts[0],Node223compspts[1],0,0];
- Node223.setImage(GD.getPolyLineJSON());
- Node223.setPosition(Node223rect.x+Node223rect.width/2,Node223rect.y+Node223rect.height/2);
- Node223.setSize(Node223rect.width,Node223rect.height);
- Node223.setStyle("opacity",1);
- Node223.s({'pixelPerfect':true});
- Node223borderwidth=1;
- Node223.setRotation(0);
- dataModel.add(Node223);
- Node223.a('node.points',Node223compspts);
- Node223.a('node.segments',[1,2]);
- Node223.a('node.color','rgba(192,192,192,1)');
- Node223.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node223.a('node.borderColor','rgba(192,192,192,1)');
- Node223.a('node.background','rgba(192,192,192,1)');
- Node223.a('node.gradient','');
- Node223.a('node.gradientcolor','rgba(192,192,192,1)');
- Node223.a('node.endCompspts',Node223endCompspts);
- Node223.a('node.startCompspts',Node223startCompspts);
- (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 = 'Node223';
- 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);
- }
- })(Node223, Node223.getImage(), Node223compspts, Node223endCompspts, Node223startCompspts);
- var Node224points=[1536, 492,1909, 492],
- Node224rect=ht.Default.unionPoint([{x:1536,y:492},{x:1909,y:492}]),
- Node224compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node224points.length;i++){
- if(i%2==0){
- Node224compspts.push(Node224points[i]-Node224rect.x);
- }else{
- Node224compspts.push(Node224points[i]-Node224rect.y);
- }
- }
- var Node224ptslength=Node224compspts.length;
- if (Node224rect.height === 0) {
- Node224compspts[0] -= 0;
- Node224compspts[Node224ptslength-2] += 0;
- } else if (Node224rect.width === 0){
- Node224compspts[1] -= 0;
- Node224compspts[Node224ptslength-1] += 0;
- } else {
- Node224compspts[0] -= 0;
- Node224compspts[1] -= 0;
- Node224compspts[Node224ptslength-2] += 0;
- Node224compspts[Node224ptslength-1] += 0;
- }
- Node224 = new ht.Node();
- Node224.borderWidth = 1;
- Node224rect.width = Node224rect.width === 0 ? 0.0001 : Node224rect.width;
- Node224rect.height = Node224rect.height === 0 ? 0.0001 : Node224rect.height;
- var Node224endCompspts = [Node224compspts[Node224ptslength-2],Node224compspts[Node224ptslength-1],0,0];
- var Node224startCompspts = [Node224compspts[0],Node224compspts[1],0,0];
- Node224.setImage(GD.getPolyLineJSON());
- Node224.setPosition(Node224rect.x+Node224rect.width/2,Node224rect.y+Node224rect.height/2);
- Node224.setSize(Node224rect.width,Node224rect.height);
- Node224.setStyle("opacity",1);
- Node224.s({'pixelPerfect':true});
- Node224borderwidth=1;
- Node224.setRotation(0);
- dataModel.add(Node224);
- Node224.a('node.points',Node224compspts);
- Node224.a('node.segments',[1,2]);
- Node224.a('node.color','rgba(192,192,192,1)');
- Node224.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node224.a('node.borderColor','rgba(192,192,192,1)');
- Node224.a('node.background','rgba(192,192,192,1)');
- Node224.a('node.gradient','');
- Node224.a('node.gradientcolor','rgba(192,192,192,1)');
- Node224.a('node.endCompspts',Node224endCompspts);
- Node224.a('node.startCompspts',Node224startCompspts);
- (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 = 'Node224';
- 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);
- }
- })(Node224, Node224.getImage(), Node224compspts, Node224endCompspts, Node224startCompspts);
- var Node225points=[1603, 431,1603, 522],
- Node225rect=ht.Default.unionPoint([{x:1603,y:431},{x:1603,y:522}]),
- Node225compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node225points.length;i++){
- if(i%2==0){
- Node225compspts.push(Node225points[i]-Node225rect.x);
- }else{
- Node225compspts.push(Node225points[i]-Node225rect.y);
- }
- }
- var Node225ptslength=Node225compspts.length;
- if (Node225rect.height === 0) {
- Node225compspts[0] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- } else if (Node225rect.width === 0){
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-1] += 0;
- } else {
- Node225compspts[0] -= 0;
- Node225compspts[1] -= 0;
- Node225compspts[Node225ptslength-2] += 0;
- Node225compspts[Node225ptslength-1] += 0;
- }
- Node225 = new ht.Node();
- Node225.borderWidth = 1;
- Node225rect.width = Node225rect.width === 0 ? 0.0001 : Node225rect.width;
- Node225rect.height = Node225rect.height === 0 ? 0.0001 : Node225rect.height;
- var Node225endCompspts = [Node225compspts[Node225ptslength-2],Node225compspts[Node225ptslength-1],0,0];
- var Node225startCompspts = [Node225compspts[0],Node225compspts[1],0,0];
- Node225.setImage(GD.getPolyLineJSON());
- Node225.setPosition(Node225rect.x+Node225rect.width/2,Node225rect.y+Node225rect.height/2);
- Node225.setSize(Node225rect.width,Node225rect.height);
- Node225.setStyle("opacity",1);
- Node225.s({'pixelPerfect':true});
- Node225borderwidth=1;
- Node225.setRotation(0);
- dataModel.add(Node225);
- Node225.a('node.points',Node225compspts);
- Node225.a('node.segments',[1,2]);
- Node225.a('node.color','rgba(192,192,192,1)');
- Node225.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node225.a('node.borderColor','rgba(192,192,192,1)');
- Node225.a('node.background','rgba(192,192,192,1)');
- Node225.a('node.gradient','');
- Node225.a('node.gradientcolor','rgba(192,192,192,1)');
- Node225.a('node.endCompspts',Node225endCompspts);
- Node225.a('node.startCompspts',Node225startCompspts);
- (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 = 'Node225';
- 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);
- }
- })(Node225, Node225.getImage(), Node225compspts, Node225endCompspts, Node225startCompspts);
- var Node226points=[1689, 430,1689, 522],
- Node226rect=ht.Default.unionPoint([{x:1689,y:430},{x:1689,y:522}]),
- Node226compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node226points.length;i++){
- if(i%2==0){
- Node226compspts.push(Node226points[i]-Node226rect.x);
- }else{
- Node226compspts.push(Node226points[i]-Node226rect.y);
- }
- }
- var Node226ptslength=Node226compspts.length;
- if (Node226rect.height === 0) {
- Node226compspts[0] -= 0;
- Node226compspts[Node226ptslength-2] += 0;
- } else if (Node226rect.width === 0){
- Node226compspts[1] -= 0;
- Node226compspts[Node226ptslength-1] += 0;
- } else {
- Node226compspts[0] -= 0;
- Node226compspts[1] -= 0;
- Node226compspts[Node226ptslength-2] += 0;
- Node226compspts[Node226ptslength-1] += 0;
- }
- Node226 = new ht.Node();
- Node226.borderWidth = 1;
- Node226rect.width = Node226rect.width === 0 ? 0.0001 : Node226rect.width;
- Node226rect.height = Node226rect.height === 0 ? 0.0001 : Node226rect.height;
- var Node226endCompspts = [Node226compspts[Node226ptslength-2],Node226compspts[Node226ptslength-1],0,0];
- var Node226startCompspts = [Node226compspts[0],Node226compspts[1],0,0];
- Node226.setImage(GD.getPolyLineJSON());
- Node226.setPosition(Node226rect.x+Node226rect.width/2,Node226rect.y+Node226rect.height/2);
- Node226.setSize(Node226rect.width,Node226rect.height);
- Node226.setStyle("opacity",1);
- Node226.s({'pixelPerfect':true});
- Node226borderwidth=1;
- Node226.setRotation(0);
- dataModel.add(Node226);
- Node226.a('node.points',Node226compspts);
- Node226.a('node.segments',[1,2]);
- Node226.a('node.color','rgba(192,192,192,1)');
- Node226.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node226.a('node.borderColor','rgba(192,192,192,1)');
- Node226.a('node.background','rgba(192,192,192,1)');
- Node226.a('node.gradient','');
- Node226.a('node.gradientcolor','rgba(192,192,192,1)');
- Node226.a('node.endCompspts',Node226endCompspts);
- Node226.a('node.startCompspts',Node226startCompspts);
- (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 = 'Node226';
- 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);
- }
- })(Node226, Node226.getImage(), Node226compspts, Node226endCompspts, Node226startCompspts);
- var Node227points=[1724, 431,1724, 522],
- Node227rect=ht.Default.unionPoint([{x:1724,y:431},{x:1724,y:522}]),
- Node227compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node227points.length;i++){
- if(i%2==0){
- Node227compspts.push(Node227points[i]-Node227rect.x);
- }else{
- Node227compspts.push(Node227points[i]-Node227rect.y);
- }
- }
- var Node227ptslength=Node227compspts.length;
- if (Node227rect.height === 0) {
- Node227compspts[0] -= 0;
- Node227compspts[Node227ptslength-2] += 0;
- } else if (Node227rect.width === 0){
- Node227compspts[1] -= 0;
- Node227compspts[Node227ptslength-1] += 0;
- } else {
- Node227compspts[0] -= 0;
- Node227compspts[1] -= 0;
- Node227compspts[Node227ptslength-2] += 0;
- Node227compspts[Node227ptslength-1] += 0;
- }
- Node227 = new ht.Node();
- Node227.borderWidth = 1;
- Node227rect.width = Node227rect.width === 0 ? 0.0001 : Node227rect.width;
- Node227rect.height = Node227rect.height === 0 ? 0.0001 : Node227rect.height;
- var Node227endCompspts = [Node227compspts[Node227ptslength-2],Node227compspts[Node227ptslength-1],0,0];
- var Node227startCompspts = [Node227compspts[0],Node227compspts[1],0,0];
- Node227.setImage(GD.getPolyLineJSON());
- Node227.setPosition(Node227rect.x+Node227rect.width/2,Node227rect.y+Node227rect.height/2);
- Node227.setSize(Node227rect.width,Node227rect.height);
- Node227.setStyle("opacity",1);
- Node227.s({'pixelPerfect':true});
- Node227borderwidth=1;
- Node227.setRotation(0);
- dataModel.add(Node227);
- Node227.a('node.points',Node227compspts);
- Node227.a('node.segments',[1,2]);
- Node227.a('node.color','rgba(192,192,192,1)');
- Node227.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node227.a('node.borderColor','rgba(192,192,192,1)');
- Node227.a('node.background','rgba(192,192,192,1)');
- Node227.a('node.gradient','');
- Node227.a('node.gradientcolor','rgba(192,192,192,1)');
- Node227.a('node.endCompspts',Node227endCompspts);
- Node227.a('node.startCompspts',Node227startCompspts);
- (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 = 'Node227';
- 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);
- }
- })(Node227, Node227.getImage(), Node227compspts, Node227endCompspts, Node227startCompspts);
- var Node228points=[1792, 431,1792, 523],
- Node228rect=ht.Default.unionPoint([{x:1792,y:431},{x:1792,y:523}]),
- Node228compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node228points.length;i++){
- if(i%2==0){
- Node228compspts.push(Node228points[i]-Node228rect.x);
- }else{
- Node228compspts.push(Node228points[i]-Node228rect.y);
- }
- }
- var Node228ptslength=Node228compspts.length;
- if (Node228rect.height === 0) {
- Node228compspts[0] -= 0;
- Node228compspts[Node228ptslength-2] += 0;
- } else if (Node228rect.width === 0){
- Node228compspts[1] -= 0;
- Node228compspts[Node228ptslength-1] += 0;
- } else {
- Node228compspts[0] -= 0;
- Node228compspts[1] -= 0;
- Node228compspts[Node228ptslength-2] += 0;
- Node228compspts[Node228ptslength-1] += 0;
- }
- Node228 = new ht.Node();
- Node228.borderWidth = 1;
- Node228rect.width = Node228rect.width === 0 ? 0.0001 : Node228rect.width;
- Node228rect.height = Node228rect.height === 0 ? 0.0001 : Node228rect.height;
- var Node228endCompspts = [Node228compspts[Node228ptslength-2],Node228compspts[Node228ptslength-1],0,0];
- var Node228startCompspts = [Node228compspts[0],Node228compspts[1],0,0];
- Node228.setImage(GD.getPolyLineJSON());
- Node228.setPosition(Node228rect.x+Node228rect.width/2,Node228rect.y+Node228rect.height/2);
- Node228.setSize(Node228rect.width,Node228rect.height);
- Node228.setStyle("opacity",1);
- Node228.s({'pixelPerfect':true});
- Node228borderwidth=1;
- Node228.setRotation(0);
- dataModel.add(Node228);
- Node228.a('node.points',Node228compspts);
- Node228.a('node.segments',[1,2]);
- Node228.a('node.color','rgba(192,192,192,1)');
- Node228.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node228.a('node.borderColor','rgba(192,192,192,1)');
- Node228.a('node.background','rgba(192,192,192,1)');
- Node228.a('node.gradient','');
- Node228.a('node.gradientcolor','rgba(192,192,192,1)');
- Node228.a('node.endCompspts',Node228endCompspts);
- Node228.a('node.startCompspts',Node228startCompspts);
- (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 = 'Node228';
- 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);
- }
- })(Node228, Node228.getImage(), Node228compspts, Node228endCompspts, Node228startCompspts);
- var Node229points=[1863, 431,1863, 522],
- Node229rect=ht.Default.unionPoint([{x:1863,y:431},{x:1863,y:522}]),
- Node229compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node229points.length;i++){
- if(i%2==0){
- Node229compspts.push(Node229points[i]-Node229rect.x);
- }else{
- Node229compspts.push(Node229points[i]-Node229rect.y);
- }
- }
- var Node229ptslength=Node229compspts.length;
- if (Node229rect.height === 0) {
- Node229compspts[0] -= 0;
- Node229compspts[Node229ptslength-2] += 0;
- } else if (Node229rect.width === 0){
- Node229compspts[1] -= 0;
- Node229compspts[Node229ptslength-1] += 0;
- } else {
- Node229compspts[0] -= 0;
- Node229compspts[1] -= 0;
- Node229compspts[Node229ptslength-2] += 0;
- Node229compspts[Node229ptslength-1] += 0;
- }
- Node229 = new ht.Node();
- Node229.borderWidth = 1;
- Node229rect.width = Node229rect.width === 0 ? 0.0001 : Node229rect.width;
- Node229rect.height = Node229rect.height === 0 ? 0.0001 : Node229rect.height;
- var Node229endCompspts = [Node229compspts[Node229ptslength-2],Node229compspts[Node229ptslength-1],0,0];
- var Node229startCompspts = [Node229compspts[0],Node229compspts[1],0,0];
- Node229.setImage(GD.getPolyLineJSON());
- Node229.setPosition(Node229rect.x+Node229rect.width/2,Node229rect.y+Node229rect.height/2);
- Node229.setSize(Node229rect.width,Node229rect.height);
- Node229.setStyle("opacity",1);
- Node229.s({'pixelPerfect':true});
- Node229borderwidth=1;
- Node229.setRotation(0);
- dataModel.add(Node229);
- Node229.a('node.points',Node229compspts);
- Node229.a('node.segments',[1,2]);
- Node229.a('node.color','rgba(192,192,192,1)');
- Node229.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node229.a('node.borderColor','rgba(192,192,192,1)');
- Node229.a('node.background','rgba(192,192,192,1)');
- Node229.a('node.gradient','');
- Node229.a('node.gradientcolor','rgba(192,192,192,1)');
- Node229.a('node.endCompspts',Node229endCompspts);
- Node229.a('node.startCompspts',Node229startCompspts);
- (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 = 'Node229';
- 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);
- }
- })(Node229, Node229.getImage(), Node229compspts, Node229endCompspts, Node229startCompspts);
- var Node230points=[1537, 355,1909, 355],
- Node230rect=ht.Default.unionPoint([{x:1537,y:355},{x:1909,y:355}]),
- Node230compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node230points.length;i++){
- if(i%2==0){
- Node230compspts.push(Node230points[i]-Node230rect.x);
- }else{
- Node230compspts.push(Node230points[i]-Node230rect.y);
- }
- }
- var Node230ptslength=Node230compspts.length;
- if (Node230rect.height === 0) {
- Node230compspts[0] -= 0;
- Node230compspts[Node230ptslength-2] += 0;
- } else if (Node230rect.width === 0){
- Node230compspts[1] -= 0;
- Node230compspts[Node230ptslength-1] += 0;
- } else {
- Node230compspts[0] -= 0;
- Node230compspts[1] -= 0;
- Node230compspts[Node230ptslength-2] += 0;
- Node230compspts[Node230ptslength-1] += 0;
- }
- Node230 = new ht.Node();
- Node230.borderWidth = 1;
- Node230rect.width = Node230rect.width === 0 ? 0.0001 : Node230rect.width;
- Node230rect.height = Node230rect.height === 0 ? 0.0001 : Node230rect.height;
- var Node230endCompspts = [Node230compspts[Node230ptslength-2],Node230compspts[Node230ptslength-1],0,0];
- var Node230startCompspts = [Node230compspts[0],Node230compspts[1],0,0];
- Node230.setImage(GD.getPolyLineJSON());
- Node230.setPosition(Node230rect.x+Node230rect.width/2,Node230rect.y+Node230rect.height/2);
- Node230.setSize(Node230rect.width,Node230rect.height);
- Node230.setStyle("opacity",1);
- Node230.s({'pixelPerfect':true});
- Node230borderwidth=1;
- Node230.setRotation(0);
- dataModel.add(Node230);
- Node230.a('node.points',Node230compspts);
- Node230.a('node.segments',[1,2]);
- Node230.a('node.color','rgba(192,192,192,1)');
- Node230.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node230.a('node.borderColor','rgba(192,192,192,1)');
- Node230.a('node.background','rgba(192,192,192,1)');
- Node230.a('node.gradient','');
- Node230.a('node.gradientcolor','rgba(192,192,192,1)');
- Node230.a('node.endCompspts',Node230endCompspts);
- Node230.a('node.startCompspts',Node230startCompspts);
- (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 = 'Node230';
- 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);
- }
- })(Node230, Node230.getImage(), Node230compspts, Node230endCompspts, Node230startCompspts);
- _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 = 34*_ratio.ratioX, Node231height = 16*_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('并网', ' '+ Node231fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node231align === 'center') {
- Node231textStart = -3;
- Node231textWidth = Node231width;
- Node231lineStart = Node231width - ht.Default.getTextSize('并网', ' '+ Node231fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node231.setImage(GD.getTextJSON(Node231width, Node231height, true, false, false, ' '+ Node231fontSize + 'px "Arial"'))
- Node231.setPosition(1566*ratio.ratioX, 447*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(128,128,255,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','并网');
- Node231.a('node.textalign','left');
- Node231.a('node.textvAlign','middle');
- Node231.a('node.textrect', [Node231textStart, 0, Node231textWidth, Node231height]);
- Node231.a('node.color','rgba(128,128,255,1)');
- Node231.a('node.font',' '+ Node231fontSize + 'px "Arial"');
- 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') || '并网';
- var color=Node231.a('node.color') || 'rgba(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node231width,Node231height,13.3333*_ratio.ratioY,"left",color,' '+ Node231fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node231.a('node.underlinepoints',[Node231lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node231fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node231fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node232height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node232align === 'center') {
- Node232textStart = -3;
- Node232textWidth = Node232width;
- Node232lineStart = Node232width - ht.Default.getTextSize('维护', ' '+ Node232fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node232.setImage(GD.getTextJSON(Node232width, Node232height, true, false, false, ' '+ Node232fontSize + 'px "Arial"'))
- Node232.setPosition(1567*ratio.ratioX, 477*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(192,64,0,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(192,64,0,1)');
- Node232.a('node.font',' '+ Node232fontSize + 'px "Arial"');
- 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(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node232width,Node232height,13.3333*_ratio.ratioY,"left",color,' '+ Node232fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node232.a('node.underlinepoints',[Node232lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node232fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node232fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node233height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node233align === 'center') {
- Node233textStart = -3;
- Node233textWidth = Node233width;
- Node233lineStart = Node233width - ht.Default.getTextSize('限电', ' '+ Node233fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node233.setImage(GD.getTextJSON(Node233width, Node233height, true, false, false, ' '+ Node233fontSize + 'px "Arial"'))
- Node233.setPosition(1567*ratio.ratioX, 507*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(128,0,128,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(128,0,128,1)');
- Node233.a('node.font',' '+ Node233fontSize + 'px "Arial"');
- 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(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node233width,Node233height,13.3333*_ratio.ratioY,"left",color,' '+ Node233fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node233.a('node.underlinepoints',[Node233lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node233fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node233fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node234height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node234align === 'center') {
- Node234textStart = -3;
- Node234textWidth = Node234width;
- Node234lineStart = Node234width - ht.Default.getTextSize('待机', ' '+ Node234fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node234.setImage(GD.getTextJSON(Node234width, Node234height, true, false, false, ' '+ Node234fontSize + 'px "Arial"'))
- Node234.setPosition(1756*ratio.ratioX, 447*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(0,128,0,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(0,128,0,1)');
- Node234.a('node.font',' '+ Node234fontSize + 'px "Arial"');
- 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(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node234width,Node234height,13.3333*_ratio.ratioY,"left",color,' '+ Node234fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node234.a('node.underlinepoints',[Node234lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node234fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node234fontSize + 'px "Arial"').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 Node235 = new ht.Node();
- var Node235textStart, Node235textWidth, Node235lineStart, Node235align = 'left', Node235fontSize = 13.3333*_ratio.ratioY,Node235width = 34*_ratio.ratioX, Node235height = 16*_ratio.ratioY;
- (function () {
- if (Node235align === 'left') {
- Node235textStart = Node235fontSize * 0.2 > 2 ? Node235fontSize * 0.2 - 4 : Node235fontSize * 0.2 - 9;
- Node235textWidth = Node235width;
- Node235lineStart = 1;
- } else if (Node235align === 'right') {
- Node235textStart = 0;
- Node235textWidth =Node235fontSize <= 8 ? Node235width + Node235fontSize * 0.2 + 6 : Node235width - Node235fontSize * 0.2;
- Node235lineStart = (Node235width - (ht.Default.getTextSize('故障', ' '+ Node235fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node235align === 'center') {
- Node235textStart = -3;
- Node235textWidth = Node235width;
- Node235lineStart = Node235width - ht.Default.getTextSize('故障', ' '+ Node235fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node235.setImage(GD.getTextJSON(Node235width, Node235height, true, false, false, ' '+ Node235fontSize + 'px "Arial"'))
- Node235.setPosition(1757*ratio.ratioX, 477*ratio.ratioY);
- Node235.setWidth(Node235width);
- Node235.setHeight(Node235height);
- Node235._nodeType = 'text';
- Node235._disallowEvert = true;
- Node235.setRotation(0*Math.PI/180);
- Node235.a('node.width', Node235width);
- Node235.a('node.height', Node235height);
- Node235.a('node.rect', [0, 0, Node235width, Node235height]);
- Node235.a('node.bordercolor','rgba(192,0,0,1)');
- Node235.a('node.borderwidth', 0);
- Node235.a('node.background','' || 'rgba(0,0,0,0)');
- Node235.a('node.gradient','');
- Node235.a('node.gradientcolor','');
- Node235.a('node.text','故障');
- Node235.a('node.textalign','left');
- Node235.a('node.textvAlign','middle');
- Node235.a('node.textrect', [Node235textStart, 0, Node235textWidth, Node235height]);
- Node235.a('node.color','rgba(192,0,0,1)');
- Node235.a('node.font',' '+ Node235fontSize + 'px "Arial"');
- Node235.a('node.textvisible',true);
- Node235.a('node.linefeed',false);
- if (false) {
- Node235.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node235.a('node.text') || '故障';
- var color=Node235.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node235width,Node235height,13.3333*_ratio.ratioY,"left",color,' '+ Node235fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node235.a('node.underlinepoints',[Node235lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node235fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node235fontSize + 'px "Arial"').width + 6, (Node235height - Node235fontSize) * 0.5*_ratio.ratioY + Node235fontSize + 2 ]);
- Node235.a('node.underlinevisible',false);
- Node235.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node235);
- zoomNodeList.push({
- node: Node235,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node236 = new ht.Node();
- var Node236textStart, Node236textWidth, Node236lineStart, Node236align = 'left', Node236fontSize = 13.3333*_ratio.ratioY,Node236width = 34*_ratio.ratioX, Node236height = 16*_ratio.ratioY;
- (function () {
- if (Node236align === 'left') {
- Node236textStart = Node236fontSize * 0.2 > 2 ? Node236fontSize * 0.2 - 4 : Node236fontSize * 0.2 - 9;
- Node236textWidth = Node236width;
- Node236lineStart = 1;
- } else if (Node236align === 'right') {
- Node236textStart = 0;
- Node236textWidth =Node236fontSize <= 8 ? Node236width + Node236fontSize * 0.2 + 6 : Node236width - Node236fontSize * 0.2;
- Node236lineStart = (Node236width - (ht.Default.getTextSize('离线', ' '+ Node236fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node236align === 'center') {
- Node236textStart = -3;
- Node236textWidth = Node236width;
- Node236lineStart = Node236width - ht.Default.getTextSize('离线', ' '+ Node236fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node236.setImage(GD.getTextJSON(Node236width, Node236height, true, false, false, ' '+ Node236fontSize + 'px "Arial"'))
- Node236.setPosition(1757*ratio.ratioX, 507*ratio.ratioY);
- Node236.setWidth(Node236width);
- Node236.setHeight(Node236height);
- Node236._nodeType = 'text';
- Node236._disallowEvert = true;
- Node236.setRotation(0*Math.PI/180);
- Node236.a('node.width', Node236width);
- Node236.a('node.height', Node236height);
- Node236.a('node.rect', [0, 0, Node236width, Node236height]);
- Node236.a('node.bordercolor','rgba(128,128,128,1)');
- Node236.a('node.borderwidth', 0);
- Node236.a('node.background','' || 'rgba(0,0,0,0)');
- Node236.a('node.gradient','');
- Node236.a('node.gradientcolor','');
- Node236.a('node.text','离线');
- Node236.a('node.textalign','left');
- Node236.a('node.textvAlign','middle');
- Node236.a('node.textrect', [Node236textStart, 0, Node236textWidth, Node236height]);
- Node236.a('node.color','rgba(128,128,128,1)');
- Node236.a('node.font',' '+ Node236fontSize + 'px "Arial"');
- Node236.a('node.textvisible',true);
- Node236.a('node.linefeed',false);
- if (false) {
- Node236.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node236.a('node.text') || '离线';
- var color=Node236.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node236width,Node236height,13.3333*_ratio.ratioY,"left",color,' '+ Node236fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node236.a('node.underlinepoints',[Node236lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node236fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node236fontSize + 'px "Arial"').width + 6, (Node236height - Node236fontSize) * 0.5*_ratio.ratioY + Node236fontSize + 2 ]);
- Node236.a('node.underlinevisible',false);
- Node236.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node236);
- zoomNodeList.push({
- node: Node236,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node237 = new ht.Node();
- var Node237textStart, Node237textWidth, Node237lineStart, Node237align = 'left', Node237fontSize = 13.3333*_ratio.ratioY,Node237width = 19*_ratio.ratioX, Node237height = 16*_ratio.ratioY;
- (function () {
- if (Node237align === 'left') {
- Node237textStart = Node237fontSize * 0.2 > 2 ? Node237fontSize * 0.2 - 4 : Node237fontSize * 0.2 - 9;
- Node237textWidth = Node237width;
- Node237lineStart = 1;
- } else if (Node237align === 'right') {
- Node237textStart = 0;
- Node237textWidth =Node237fontSize <= 8 ? Node237width + Node237fontSize * 0.2 + 6 : Node237width - Node237fontSize * 0.2;
- Node237lineStart = (Node237width - (ht.Default.getTextSize('台', ' '+ Node237fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node237align === 'center') {
- Node237textStart = -3;
- Node237textWidth = Node237width;
- Node237lineStart = Node237width - ht.Default.getTextSize('台', ' '+ Node237fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node237.setImage(GD.getTextJSON(Node237width, Node237height, true, false, false, ' '+ Node237fontSize + 'px "UniDreamLED"'))
- Node237.setPosition(1705*ratio.ratioX, 447*ratio.ratioY);
- Node237.setWidth(Node237width);
- Node237.setHeight(Node237height);
- Node237._nodeType = 'text';
- Node237._disallowEvert = true;
- Node237.setRotation(0*Math.PI/180);
- Node237.a('node.width', Node237width);
- Node237.a('node.height', Node237height);
- Node237.a('node.rect', [0, 0, Node237width, Node237height]);
- Node237.a('node.bordercolor','rgba(64,64,64,1)');
- Node237.a('node.borderwidth', 0);
- Node237.a('node.background','' || 'rgba(0,0,0,0)');
- Node237.a('node.gradient','');
- Node237.a('node.gradientcolor','');
- Node237.a('node.text','台');
- Node237.a('node.textalign','left');
- Node237.a('node.textvAlign','middle');
- Node237.a('node.textrect', [Node237textStart, 0, Node237textWidth, Node237height]);
- Node237.a('node.color','rgba(64,64,64,1)');
- Node237.a('node.font',' '+ Node237fontSize + 'px "UniDreamLED"');
- Node237.a('node.textvisible',true);
- Node237.a('node.linefeed',false);
- if (false) {
- Node237.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node237.a('node.text') || '台';
- var color=Node237.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node237width,Node237height,13.3333*_ratio.ratioY,"left",color,' '+ Node237fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node237.a('node.underlinepoints',[Node237lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node237fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node237fontSize + 'px "UniDreamLED"').width + 6, (Node237height - Node237fontSize) * 0.5*_ratio.ratioY + Node237fontSize + 2 ]);
- Node237.a('node.underlinevisible',false);
- Node237.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node237);
- zoomNodeList.push({
- node: Node237,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node238 = new ht.Node();
- var Node238textStart, Node238textWidth, Node238lineStart, Node238align = 'left', Node238fontSize = 13.3333*_ratio.ratioY,Node238width = 19*_ratio.ratioX, Node238height = 16*_ratio.ratioY;
- (function () {
- if (Node238align === 'left') {
- Node238textStart = Node238fontSize * 0.2 > 2 ? Node238fontSize * 0.2 - 4 : Node238fontSize * 0.2 - 9;
- Node238textWidth = Node238width;
- Node238lineStart = 1;
- } else if (Node238align === 'right') {
- Node238textStart = 0;
- Node238textWidth =Node238fontSize <= 8 ? Node238width + Node238fontSize * 0.2 + 6 : Node238width - Node238fontSize * 0.2;
- Node238lineStart = (Node238width - (ht.Default.getTextSize('台', ' '+ Node238fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node238align === 'center') {
- Node238textStart = -3;
- Node238textWidth = Node238width;
- Node238lineStart = Node238width - ht.Default.getTextSize('台', ' '+ Node238fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node238.setImage(GD.getTextJSON(Node238width, Node238height, true, false, false, ' '+ Node238fontSize + 'px "UniDreamLED"'))
- Node238.setPosition(1705*ratio.ratioX, 478*ratio.ratioY);
- Node238.setWidth(Node238width);
- Node238.setHeight(Node238height);
- Node238._nodeType = 'text';
- Node238._disallowEvert = true;
- Node238.setRotation(0*Math.PI/180);
- Node238.a('node.width', Node238width);
- Node238.a('node.height', Node238height);
- Node238.a('node.rect', [0, 0, Node238width, Node238height]);
- Node238.a('node.bordercolor','rgba(64,64,64,1)');
- Node238.a('node.borderwidth', 0);
- Node238.a('node.background','' || 'rgba(0,0,0,0)');
- Node238.a('node.gradient','');
- Node238.a('node.gradientcolor','');
- Node238.a('node.text','台');
- Node238.a('node.textalign','left');
- Node238.a('node.textvAlign','middle');
- Node238.a('node.textrect', [Node238textStart, 0, Node238textWidth, Node238height]);
- Node238.a('node.color','rgba(64,64,64,1)');
- Node238.a('node.font',' '+ Node238fontSize + 'px "UniDreamLED"');
- Node238.a('node.textvisible',true);
- Node238.a('node.linefeed',false);
- if (false) {
- Node238.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node238.a('node.text') || '台';
- var color=Node238.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node238width,Node238height,13.3333*_ratio.ratioY,"left",color,' '+ Node238fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node238.a('node.underlinepoints',[Node238lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node238fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node238fontSize + 'px "UniDreamLED"').width + 6, (Node238height - Node238fontSize) * 0.5*_ratio.ratioY + Node238fontSize + 2 ]);
- Node238.a('node.underlinevisible',false);
- Node238.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node238);
- zoomNodeList.push({
- node: Node238,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node239 = new ht.Node();
- var Node239textStart, Node239textWidth, Node239lineStart, Node239align = 'left', Node239fontSize = 13.3333*_ratio.ratioY,Node239width = 19*_ratio.ratioX, Node239height = 16*_ratio.ratioY;
- (function () {
- if (Node239align === 'left') {
- Node239textStart = Node239fontSize * 0.2 > 2 ? Node239fontSize * 0.2 - 4 : Node239fontSize * 0.2 - 9;
- Node239textWidth = Node239width;
- Node239lineStart = 1;
- } else if (Node239align === 'right') {
- Node239textStart = 0;
- Node239textWidth =Node239fontSize <= 8 ? Node239width + Node239fontSize * 0.2 + 6 : Node239width - Node239fontSize * 0.2;
- Node239lineStart = (Node239width - (ht.Default.getTextSize('台', ' '+ Node239fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node239align === 'center') {
- Node239textStart = -3;
- Node239textWidth = Node239width;
- Node239lineStart = Node239width - ht.Default.getTextSize('台', ' '+ Node239fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node239.setImage(GD.getTextJSON(Node239width, Node239height, true, false, false, ' '+ Node239fontSize + 'px "UniDreamLED"'))
- Node239.setPosition(1706*ratio.ratioX, 507*ratio.ratioY);
- Node239.setWidth(Node239width);
- Node239.setHeight(Node239height);
- Node239._nodeType = 'text';
- Node239._disallowEvert = true;
- Node239.setRotation(0*Math.PI/180);
- Node239.a('node.width', Node239width);
- Node239.a('node.height', Node239height);
- Node239.a('node.rect', [0, 0, Node239width, Node239height]);
- Node239.a('node.bordercolor','rgba(64,64,64,1)');
- Node239.a('node.borderwidth', 0);
- Node239.a('node.background','' || 'rgba(0,0,0,0)');
- Node239.a('node.gradient','');
- Node239.a('node.gradientcolor','');
- Node239.a('node.text','台');
- Node239.a('node.textalign','left');
- Node239.a('node.textvAlign','middle');
- Node239.a('node.textrect', [Node239textStart, 0, Node239textWidth, Node239height]);
- Node239.a('node.color','rgba(64,64,64,1)');
- Node239.a('node.font',' '+ Node239fontSize + 'px "UniDreamLED"');
- Node239.a('node.textvisible',true);
- Node239.a('node.linefeed',false);
- if (false) {
- Node239.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node239.a('node.text') || '台';
- var color=Node239.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node239width,Node239height,13.3333*_ratio.ratioY,"left",color,' '+ Node239fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node239.a('node.underlinepoints',[Node239lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node239fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node239fontSize + 'px "UniDreamLED"').width + 6, (Node239height - Node239fontSize) * 0.5*_ratio.ratioY + Node239fontSize + 2 ]);
- Node239.a('node.underlinevisible',false);
- Node239.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node239);
- zoomNodeList.push({
- node: Node239,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node240 = new ht.Node();
- var Node240textStart, Node240textWidth, Node240lineStart, Node240align = 'left', Node240fontSize = 13.3333*_ratio.ratioY,Node240width = 17*_ratio.ratioX, Node240height = 16*_ratio.ratioY;
- (function () {
- if (Node240align === 'left') {
- Node240textStart = Node240fontSize * 0.2 > 2 ? Node240fontSize * 0.2 - 4 : Node240fontSize * 0.2 - 9;
- Node240textWidth = Node240width;
- Node240lineStart = 1;
- } else if (Node240align === 'right') {
- Node240textStart = 0;
- Node240textWidth =Node240fontSize <= 8 ? Node240width + Node240fontSize * 0.2 + 6 : Node240width - Node240fontSize * 0.2;
- Node240lineStart = (Node240width - (ht.Default.getTextSize('83', ' '+ Node240fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node240align === 'center') {
- Node240textStart = -3;
- Node240textWidth = Node240width;
- Node240lineStart = Node240width - ht.Default.getTextSize('83', ' '+ Node240fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node240.setImage(GD.getTextJSON(Node240width, Node240height, true, false, false, ' '+ Node240fontSize + 'px "UniDreamLED"'))
- Node240.setPosition(1649*ratio.ratioX, 447*ratio.ratioY);
- Node240.setWidth(Node240width);
- Node240.setHeight(Node240height);
- Node240._nodeType = 'text';
- Node240._disallowEvert = true;
- Node240.setRotation(0*Math.PI/180);
- Node240.a('node.width', Node240width);
- Node240.a('node.height', Node240height);
- Node240.a('node.rect', [0, 0, Node240width, Node240height]);
- Node240.a('node.bordercolor','rgba(64,64,64,1)');
- Node240.a('node.borderwidth', 0);
- Node240.a('node.background','' || 'rgba(0,0,0,0)');
- Node240.a('node.gradient','');
- Node240.a('node.gradientcolor','');
- Node240.a('node.text','83');
- Node240.a('node.textalign','left');
- Node240.a('node.textvAlign','middle');
- Node240.a('node.textrect', [Node240textStart, 0, Node240textWidth, Node240height]);
- Node240.a('node.color','rgba(64,64,64,1)');
- Node240.a('node.font',' '+ Node240fontSize + 'px "UniDreamLED"');
- Node240.a('node.textvisible',true);
- Node240.a('node.linefeed',false);
- if (false) {
- Node240.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node240.a('node.text') || '83';
- var color=Node240.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node240width,Node240height,13.3333*_ratio.ratioY,"left",color,' '+ Node240fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node240.a('node.underlinepoints',[Node240lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node240fontSize + 2 , ht.Default.getTextSize('83', ' '+ Node240fontSize + 'px "UniDreamLED"').width + 6, (Node240height - Node240fontSize) * 0.5*_ratio.ratioY + Node240fontSize + 2 ]);
- Node240.a('node.underlinevisible',false);
- Node240.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node240);
- zoomNodeList.push({
- node: Node240,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node241 = new ht.Node();
- var Node241textStart, Node241textWidth, Node241lineStart, Node241align = 'left', Node241fontSize = 13.3333*_ratio.ratioY,Node241width = 10*_ratio.ratioX, Node241height = 16*_ratio.ratioY;
- (function () {
- if (Node241align === 'left') {
- Node241textStart = Node241fontSize * 0.2 > 2 ? Node241fontSize * 0.2 - 4 : Node241fontSize * 0.2 - 9;
- Node241textWidth = Node241width;
- Node241lineStart = 1;
- } else if (Node241align === 'right') {
- Node241textStart = 0;
- Node241textWidth =Node241fontSize <= 8 ? Node241width + Node241fontSize * 0.2 + 6 : Node241width - Node241fontSize * 0.2;
- Node241lineStart = (Node241width - (ht.Default.getTextSize('0', ' '+ Node241fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node241align === 'center') {
- Node241textStart = -3;
- Node241textWidth = Node241width;
- Node241lineStart = Node241width - ht.Default.getTextSize('0', ' '+ Node241fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node241.setImage(GD.getTextJSON(Node241width, Node241height, true, false, false, ' '+ Node241fontSize + 'px "UniDreamLED"'))
- Node241.setPosition(1646*ratio.ratioX, 476*ratio.ratioY);
- Node241.setWidth(Node241width);
- Node241.setHeight(Node241height);
- Node241._nodeType = 'text';
- Node241._disallowEvert = true;
- Node241.setRotation(0*Math.PI/180);
- Node241.a('node.width', Node241width);
- Node241.a('node.height', Node241height);
- Node241.a('node.rect', [0, 0, Node241width, Node241height]);
- Node241.a('node.bordercolor','rgba(64,64,64,1)');
- Node241.a('node.borderwidth', 0);
- Node241.a('node.background','' || 'rgba(0,0,0,0)');
- Node241.a('node.gradient','');
- Node241.a('node.gradientcolor','');
- Node241.a('node.text','0');
- Node241.a('node.textalign','left');
- Node241.a('node.textvAlign','middle');
- Node241.a('node.textrect', [Node241textStart, 0, Node241textWidth, Node241height]);
- Node241.a('node.color','rgba(64,64,64,1)');
- Node241.a('node.font',' '+ Node241fontSize + 'px "UniDreamLED"');
- Node241.a('node.textvisible',true);
- Node241.a('node.linefeed',false);
- if (false) {
- Node241.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node241.a('node.text') || '0';
- var color=Node241.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node241width,Node241height,13.3333*_ratio.ratioY,"left",color,' '+ Node241fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node241.a('node.underlinepoints',[Node241lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node241fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node241fontSize + 'px "UniDreamLED"').width + 6, (Node241height - Node241fontSize) * 0.5*_ratio.ratioY + Node241fontSize + 2 ]);
- Node241.a('node.underlinevisible',false);
- Node241.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node241);
- zoomNodeList.push({
- node: Node241,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node242 = new ht.Node();
- var Node242textStart, Node242textWidth, Node242lineStart, Node242align = 'left', Node242fontSize = 13.3333*_ratio.ratioY,Node242width = 10*_ratio.ratioX, Node242height = 16*_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('0', ' '+ Node242fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node242align === 'center') {
- Node242textStart = -3;
- Node242textWidth = Node242width;
- Node242lineStart = Node242width - ht.Default.getTextSize('0', ' '+ Node242fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node242.setImage(GD.getTextJSON(Node242width, Node242height, true, false, false, ' '+ Node242fontSize + 'px "UniDreamLED"'))
- Node242.setPosition(1646*ratio.ratioX, 507*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','0');
- 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',' '+ Node242fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node242.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node242width,Node242height,13.3333*_ratio.ratioY,"left",color,' '+ Node242fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node242.a('node.underlinepoints',[Node242lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node242fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node242fontSize + 'px "UniDreamLED"').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*Math.PI/180, ratio);
- var Node243 = new ht.Node();
- var Node243textStart, Node243textWidth, Node243lineStart, Node243align = 'left', Node243fontSize = 13.3333*_ratio.ratioY,Node243width = 10*_ratio.ratioX, Node243height = 16*_ratio.ratioY;
- (function () {
- if (Node243align === 'left') {
- Node243textStart = Node243fontSize * 0.2 > 2 ? Node243fontSize * 0.2 - 4 : Node243fontSize * 0.2 - 9;
- Node243textWidth = Node243width;
- Node243lineStart = 1;
- } else if (Node243align === 'right') {
- Node243textStart = 0;
- Node243textWidth =Node243fontSize <= 8 ? Node243width + Node243fontSize * 0.2 + 6 : Node243width - Node243fontSize * 0.2;
- Node243lineStart = (Node243width - (ht.Default.getTextSize('0', ' '+ Node243fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node243align === 'center') {
- Node243textStart = -3;
- Node243textWidth = Node243width;
- Node243lineStart = Node243width - ht.Default.getTextSize('0', ' '+ Node243fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node243.setImage(GD.getTextJSON(Node243width, Node243height, true, false, false, ' '+ Node243fontSize + 'px "UniDreamLED"'))
- Node243.setPosition(1823*ratio.ratioX, 447*ratio.ratioY);
- Node243.setWidth(Node243width);
- Node243.setHeight(Node243height);
- Node243._nodeType = 'text';
- Node243._disallowEvert = true;
- Node243.setRotation(0*Math.PI/180);
- Node243.a('node.width', Node243width);
- Node243.a('node.height', Node243height);
- Node243.a('node.rect', [0, 0, Node243width, Node243height]);
- Node243.a('node.bordercolor','rgba(64,64,64,1)');
- Node243.a('node.borderwidth', 0);
- Node243.a('node.background','' || 'rgba(0,0,0,0)');
- Node243.a('node.gradient','');
- Node243.a('node.gradientcolor','');
- Node243.a('node.text','0');
- Node243.a('node.textalign','left');
- Node243.a('node.textvAlign','middle');
- Node243.a('node.textrect', [Node243textStart, 0, Node243textWidth, Node243height]);
- Node243.a('node.color','rgba(64,64,64,1)');
- Node243.a('node.font',' '+ Node243fontSize + 'px "UniDreamLED"');
- Node243.a('node.textvisible',true);
- Node243.a('node.linefeed',false);
- if (false) {
- Node243.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node243.a('node.text') || '0';
- var color=Node243.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node243width,Node243height,13.3333*_ratio.ratioY,"left",color,' '+ Node243fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node243.a('node.underlinepoints',[Node243lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node243fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node243fontSize + 'px "UniDreamLED"').width + 6, (Node243height - Node243fontSize) * 0.5*_ratio.ratioY + Node243fontSize + 2 ]);
- Node243.a('node.underlinevisible',false);
- Node243.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node243);
- zoomNodeList.push({
- node: Node243,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node244 = new ht.Node();
- var Node244textStart, Node244textWidth, Node244lineStart, Node244align = 'left', Node244fontSize = 13.3333*_ratio.ratioY,Node244width = 10*_ratio.ratioX, Node244height = 16*_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('0', ' '+ Node244fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node244align === 'center') {
- Node244textStart = -3;
- Node244textWidth = Node244width;
- Node244lineStart = Node244width - ht.Default.getTextSize('0', ' '+ Node244fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node244.setImage(GD.getTextJSON(Node244width, Node244height, true, false, false, ' '+ Node244fontSize + 'px "UniDreamLED"'))
- Node244.setPosition(1823*ratio.ratioX, 476*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(64,64,64,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','0');
- Node244.a('node.textalign','left');
- Node244.a('node.textvAlign','middle');
- Node244.a('node.textrect', [Node244textStart, 0, Node244textWidth, Node244height]);
- Node244.a('node.color','rgba(64,64,64,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') || '0';
- var color=Node244.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node244width,Node244height,13.3333*_ratio.ratioY,"left",color,' '+ Node244fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node244.a('node.underlinepoints',[Node244lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node244fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 13.3333*_ratio.ratioY,Node245width = 10*_ratio.ratioX, Node245height = 16*_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('0', ' '+ Node245fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node245align === 'center') {
- Node245textStart = -3;
- Node245textWidth = Node245width;
- Node245lineStart = Node245width - ht.Default.getTextSize('0', ' '+ Node245fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node245.setImage(GD.getTextJSON(Node245width, Node245height, true, false, false, ' '+ Node245fontSize + 'px "UniDreamLED"'))
- Node245.setPosition(1823*ratio.ratioX, 507*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(64,64,64,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','0');
- Node245.a('node.textalign','left');
- Node245.a('node.textvAlign','middle');
- Node245.a('node.textrect', [Node245textStart, 0, Node245textWidth, Node245height]);
- Node245.a('node.color','rgba(64,64,64,1)');
- Node245.a('node.font',' '+ Node245fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node245.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node245width,Node245height,13.3333*_ratio.ratioY,"left",color,' '+ Node245fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node245.a('node.underlinepoints',[Node245lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node245fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node245fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node246width = 19*_ratio.ratioX, Node246height = 16*_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('台', ' '+ Node246fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node246align === 'center') {
- Node246textStart = -3;
- Node246textWidth = Node246width;
- Node246lineStart = Node246width - ht.Default.getTextSize('台', ' '+ Node246fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node246.setImage(GD.getTextJSON(Node246width, Node246height, true, false, false, ' '+ Node246fontSize + 'px "UniDreamLED"'))
- Node246.setPosition(1881*ratio.ratioX, 446*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',' '+ Node246fontSize + 'px "UniDreamLED"');
- 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,13.3333*0.5*_ratio.ratioY,Node246width,Node246height,13.3333*_ratio.ratioY,"left",color,' '+ Node246fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node246.a('node.underlinepoints',[Node246lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node246fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node246fontSize + 'px "UniDreamLED"').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 = 13.3333*_ratio.ratioY,Node247width = 19*_ratio.ratioX, Node247height = 16*_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('台', ' '+ Node247fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node247align === 'center') {
- Node247textStart = -3;
- Node247textWidth = Node247width;
- Node247lineStart = Node247width - ht.Default.getTextSize('台', ' '+ Node247fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node247.setImage(GD.getTextJSON(Node247width, Node247height, true, false, false, ' '+ Node247fontSize + 'px "UniDreamLED"'))
- Node247.setPosition(1881*ratio.ratioX, 477*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',' '+ Node247fontSize + 'px "UniDreamLED"');
- 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,13.3333*0.5*_ratio.ratioY,Node247width,Node247height,13.3333*_ratio.ratioY,"left",color,' '+ Node247fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node247.a('node.underlinepoints',[Node247lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node247fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node247fontSize + 'px "UniDreamLED"').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 = 19*_ratio.ratioX, Node248height = 16*_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 "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node248align === 'center') {
- Node248textStart = -3;
- Node248textWidth = Node248width;
- Node248lineStart = Node248width - ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node248.setImage(GD.getTextJSON(Node248width, Node248height, true, false, false, ' '+ Node248fontSize + 'px "UniDreamLED"'))
- Node248.setPosition(1882*ratio.ratioX, 506*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 "UniDreamLED"');
- 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 "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node248.a('node.underlinepoints',[Node248lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node248fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node248fontSize + 'px "UniDreamLED"').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'
- }); 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 Node249 = new ht.HtmlNode();
- Node249.setPosition({'x':468*ratio.ratioX,'y':408*ratio.ratioY});
- Node249.setWidth(180*_ratio.ratioX);
- Node249.setHeight(97*_ratio.ratioY);
- Node249.setScalable(false);
- Node249.setRotation(0);
- Node249.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node249.setHtml(chart);
- var Node249_chart = chart._chart;
- dataModel.add(Node249);option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:2,
- 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 Node250 = new ht.HtmlNode();
- Node250.setPosition({'x':846*ratio.ratioX,'y':409*ratio.ratioY});
- Node250.setWidth(180*_ratio.ratioX);
- Node250.setHeight(97*_ratio.ratioY);
- Node250.setScalable(false);
- Node250.setRotation(0);
- Node250.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node250.setHtml(chart);
- var Node250_chart = chart._chart;
- dataModel.add(Node250);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 Node251 = new ht.HtmlNode();
- Node251.setPosition({'x':1225*ratio.ratioX,'y':409*ratio.ratioY});
- Node251.setWidth(180*_ratio.ratioX);
- Node251.setHeight(97*_ratio.ratioY);
- Node251.setScalable(false);
- Node251.setRotation(0);
- Node251.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node251.setHtml(chart);
- var Node251_chart = chart._chart;
- dataModel.add(Node251);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 Node252 = new ht.HtmlNode();
- Node252.setPosition({'x':1602*ratio.ratioX,'y':410*ratio.ratioY});
- Node252.setWidth(180*_ratio.ratioX);
- Node252.setHeight(97*_ratio.ratioY);
- Node252.setScalable(false);
- Node252.setRotation(0);
- Node252.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node252.setHtml(chart);
- var Node252_chart = chart._chart;
- dataModel.add(Node252);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node253type = 'rect';
- var Node253 = new ht.Node(),
- Node253BorderWidth = 0*2;
- if (Node253type === 'arc') {
- Node253BorderWidth *= 0;
- }
- Node253.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node253type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node253.setPosition(246*ratio.ratioX, 708*ratio.ratioY);
- Node253.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node253.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node253.a('node.width', 66*_ratio.ratioX);
- Node253.a('node.height', 30*_ratio.ratioY);
- Node253.a('node.type', Node253type);
- Node253.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node253.a('node.background', 'rgba(245,245,245,1)');
- Node253.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node253.a('node.gradient', '');
- Node253.a('node.borderwidth', Node253BorderWidth);
- Node253.a('node.color', 'rgba(224,224,224,0)');
- Node253.a('node.fillrect', [0,0,0,0]);
- Node253.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node253.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node253.a('node.fillgradient', '');
- if (Node253type !== 'rect') {
- Node253.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node253.a('node.arcTo', parseFloat('@arcTo@'));
- Node253.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node253type === 'arc') {
- Node253.a('node.arcOval', true);
- }
- Node253.setRotation(0*Math.PI/180);
- Node253.borderWidth = Node253BorderWidth;
- Node253.borderFillwidth = Node253BorderWidth;
- dataModel.add(Node253);
- Node253._nodename = 'Node253'
- Node253._nodeType = 'rect';
- zoomNodeList.push({
- node: Node253,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node253, Node253.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node254type = 'rect';
- var Node254 = new ht.Node(),
- Node254BorderWidth = 0*2;
- if (Node254type === 'arc') {
- Node254BorderWidth *= 0;
- }
- Node254.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node254type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node254.setPosition(246*ratio.ratioX, 677*ratio.ratioY);
- Node254.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node254.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node254.a('node.width', 66*_ratio.ratioX);
- Node254.a('node.height', 30*_ratio.ratioY);
- Node254.a('node.type', Node254type);
- Node254.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node254.a('node.background', 'rgba(245,245,245,1)');
- Node254.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node254.a('node.gradient', '');
- Node254.a('node.borderwidth', Node254BorderWidth);
- Node254.a('node.color', 'rgba(224,224,224,0)');
- Node254.a('node.fillrect', [0,0,0,0]);
- Node254.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node254.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node254.a('node.fillgradient', '');
- if (Node254type !== 'rect') {
- Node254.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node254.a('node.arcTo', parseFloat('@arcTo@'));
- Node254.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node254type === 'arc') {
- Node254.a('node.arcOval', true);
- }
- Node254.setRotation(0*Math.PI/180);
- Node254.borderWidth = Node254BorderWidth;
- Node254.borderFillwidth = Node254BorderWidth;
- dataModel.add(Node254);
- Node254._nodename = 'Node254'
- Node254._nodeType = 'rect';
- zoomNodeList.push({
- node: Node254,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node254, Node254.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node255type = 'rect';
- var Node255 = new ht.Node(),
- Node255BorderWidth = 0*2;
- if (Node255type === 'arc') {
- Node255BorderWidth *= 0;
- }
- Node255.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node255type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node255.setPosition(246*ratio.ratioX, 646*ratio.ratioY);
- Node255.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node255.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node255.a('node.width', 66*_ratio.ratioX);
- Node255.a('node.height', 30*_ratio.ratioY);
- Node255.a('node.type', Node255type);
- Node255.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node255.a('node.background', 'rgba(245,245,245,1)');
- Node255.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node255.a('node.gradient', '');
- Node255.a('node.borderwidth', Node255BorderWidth);
- Node255.a('node.color', 'rgba(224,224,224,0)');
- 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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node256type = 'rect';
- var Node256 = new ht.Node(),
- Node256BorderWidth = 0*2;
- if (Node256type === 'arc') {
- Node256BorderWidth *= 0;
- }
- Node256.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node256type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node256.setPosition(57*ratio.ratioX, 708*ratio.ratioY);
- Node256.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node256.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node256.a('node.width', 66*_ratio.ratioX);
- Node256.a('node.height', 30*_ratio.ratioY);
- Node256.a('node.type', Node256type);
- Node256.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node256.a('node.background', 'rgba(245,245,245,1)');
- Node256.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node256.a('node.gradient', '');
- Node256.a('node.borderwidth', Node256BorderWidth);
- Node256.a('node.color', 'rgba(224,224,224,0)');
- Node256.a('node.fillrect', [0,0,0,0]);
- Node256.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node256.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node256.a('node.fillgradient', '');
- if (Node256type !== 'rect') {
- Node256.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node256.a('node.arcTo', parseFloat('@arcTo@'));
- Node256.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node256type === 'arc') {
- Node256.a('node.arcOval', true);
- }
- Node256.setRotation(0*Math.PI/180);
- Node256.borderWidth = Node256BorderWidth;
- Node256.borderFillwidth = Node256BorderWidth;
- dataModel.add(Node256);
- Node256._nodename = 'Node256'
- Node256._nodeType = 'rect';
- zoomNodeList.push({
- node: Node256,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node256, Node256.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node257type = 'rect';
- var Node257 = new ht.Node(),
- Node257BorderWidth = 0*2;
- if (Node257type === 'arc') {
- Node257BorderWidth *= 0;
- }
- Node257.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node257type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node257.setPosition(57*ratio.ratioX, 676*ratio.ratioY);
- Node257.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node257.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node257.a('node.width', 66*_ratio.ratioX);
- Node257.a('node.height', 30*_ratio.ratioY);
- Node257.a('node.type', Node257type);
- Node257.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node257.a('node.background', 'rgba(245,245,245,1)');
- Node257.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node257.a('node.gradient', '');
- Node257.a('node.borderwidth', Node257BorderWidth);
- Node257.a('node.color', 'rgba(224,224,224,0)');
- Node257.a('node.fillrect', [0,0,0,0]);
- Node257.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node257.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node257.a('node.fillgradient', '');
- if (Node257type !== 'rect') {
- Node257.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node257.a('node.arcTo', parseFloat('@arcTo@'));
- Node257.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node257type === 'arc') {
- Node257.a('node.arcOval', true);
- }
- Node257.setRotation(0*Math.PI/180);
- Node257.borderWidth = Node257BorderWidth;
- Node257.borderFillwidth = Node257BorderWidth;
- dataModel.add(Node257);
- Node257._nodename = 'Node257'
- Node257._nodeType = 'rect';
- zoomNodeList.push({
- node: Node257,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node257, Node257.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node258type = 'rect';
- var Node258 = new ht.Node(),
- Node258BorderWidth = 0*2;
- if (Node258type === 'arc') {
- Node258BorderWidth *= 0;
- }
- Node258.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node258type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node258.setPosition(58*ratio.ratioX, 645*ratio.ratioY);
- Node258.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node258.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node258.a('node.width', 66*_ratio.ratioX);
- Node258.a('node.height', 30*_ratio.ratioY);
- Node258.a('node.type', Node258type);
- Node258.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node258.a('node.background', 'rgba(245,245,245,1)');
- Node258.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node258.a('node.gradient', '');
- Node258.a('node.borderwidth', Node258BorderWidth);
- Node258.a('node.color', 'rgba(224,224,224,0)');
- Node258.a('node.fillrect', [0,0,0,0]);
- Node258.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node258.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node258.a('node.fillgradient', '');
- if (Node258type !== 'rect') {
- Node258.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node258.a('node.arcTo', parseFloat('@arcTo@'));
- Node258.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node258type === 'arc') {
- Node258.a('node.arcOval', true);
- }
- Node258.setRotation(0*Math.PI/180);
- Node258.borderWidth = Node258BorderWidth;
- Node258.borderFillwidth = Node258BorderWidth;
- dataModel.add(Node258);
- Node258._nodename = 'Node258'
- Node258._nodeType = 'rect';
- zoomNodeList.push({
- node: Node258,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node258, Node258.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259= new ht.Node();
- Node259._borderWidth = 1;
- Node259.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)', Node259._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node259.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node259.background'},
- gradient: {value:'', func: 'attr@Node259.gradient'},
- gradientColor:{value:'', func: 'attr@Node259.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node259.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node259.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node259.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node259.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node259.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node259.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node259.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node259.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node259.borderPattern'}
- }
- ]
- });
- var Node259borderwidth = 1;
- var Node259borderFillwidth = 1*2;
- Node259 .setPosition(210*ratio.ratioX,578*ratio.ratioY);
- Node259.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node259.setRotation(0*Math.PI/180);
- Node259.s({'pixelPerfect':true});
- Node259.a('Node259.borderwidth',1);
- Node259.a('Node259.color','@bordercolor@');
- Node259.a('Node259.background','rgba(255,255,255,0.003921569)');
- Node259.a('Node259.gradient','');
- Node259.a('Node259.gradientcolor','');
- Node259.a('Node259.borderPattern',getDashStyle("Solid"));
- Node259.a('Node259.fillrect',[0,0,0,0]);
- Node259.a('Node259.fillbackcolor','rgba(0, 0, 0, 0)');
- Node259.a('Node259.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node259.a('Node259.fillgradient','');
- Node259borderwidth=1;
- dataModel.add(Node259);
- Node259.borderWidth = 1;
- Node259.borderFillwidth = 1*2;
- Node259._nodename = 'Node259';
- Node259._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node259,
- attr: 'Node259.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('Node259.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('Node259.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node259, Node259.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260 = new ht.Node();
- var Node260textStart, Node260textWidth, Node260lineStart, Node260align = 'left', Node260fontSize = 11.99997*_ratio.ratioY,Node260width = 112*_ratio.ratioX, Node260height = 15*_ratio.ratioY;
- (function () {
- if (Node260align === 'left') {
- Node260textStart = Node260fontSize * 0.2 > 2 ? Node260fontSize * 0.2 - 4 : Node260fontSize * 0.2 - 9;
- Node260textWidth = Node260width;
- Node260lineStart = 1;
- } else if (Node260align === 'right') {
- Node260textStart = 0;
- Node260textWidth =Node260fontSize <= 8 ? Node260width + Node260fontSize * 0.2 + 6 : Node260width - Node260fontSize * 0.2;
- Node260lineStart = (Node260width - (ht.Default.getTextSize('吕梁宝塔山风电场', 'bold '+ Node260fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node260align === 'center') {
- Node260textStart = -3;
- Node260textWidth = Node260width;
- Node260lineStart = Node260width - ht.Default.getTextSize('吕梁宝塔山风电场', 'bold '+ Node260fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node260.setImage(GD.getTextJSON(Node260width, Node260height, true, false, false, 'bold '+ Node260fontSize + 'px "Arial"'))
- Node260.setPosition(86*ratio.ratioX, 542*ratio.ratioY);
- Node260.setWidth(Node260width);
- Node260.setHeight(Node260height);
- Node260._nodeType = 'text';
- Node260._disallowEvert = true;
- Node260.setRotation(0*Math.PI/180);
- Node260.a('node.width', Node260width);
- Node260.a('node.height', Node260height);
- Node260.a('node.rect', [0, 0, Node260width, Node260height]);
- Node260.a('node.bordercolor','rgba(64,64,64,1)');
- Node260.a('node.borderwidth', 0);
- Node260.a('node.background','' || 'rgba(0,0,0,0)');
- Node260.a('node.gradient','');
- Node260.a('node.gradientcolor','');
- Node260.a('node.text','吕梁宝塔山风电场');
- Node260.a('node.textalign','left');
- Node260.a('node.textvAlign','middle');
- Node260.a('node.textrect', [Node260textStart, 0, Node260textWidth, Node260height]);
- Node260.a('node.color','rgba(64,64,64,1)');
- Node260.a('node.font','bold '+ Node260fontSize + 'px "Arial"');
- Node260.a('node.textvisible',true);
- Node260.a('node.linefeed',false);
- if (false) {
- Node260.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node260.a('node.text') || '吕梁宝塔山风电场';
- var color=Node260.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node260width,Node260height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node260fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node260.a('node.underlinepoints',[Node260lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node260fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风电场', 'bold '+ Node260fontSize + 'px "Arial"').width + 6, (Node260height - Node260fontSize) * 0.5*_ratio.ratioY + Node260fontSize + 2 ]);
- Node260.a('node.underlinevisible',false);
- Node260.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node260);
- zoomNodeList.push({
- node: Node260,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node261 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 305*ratio.ratioX, 542*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 Node262 = new ht.HtmlNode();
- Node262.setPosition({'x':90*ratio.ratioX,'y':611*ratio.ratioY});
- Node262.setWidth(180*_ratio.ratioX);
- Node262.setHeight(97*_ratio.ratioY);
- Node262.setScalable(false);
- Node262.setRotation(0);
- Node262.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node262.setHtml(chart);
- var Node262_chart = chart._chart;
- dataModel.add(Node262);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node263 = new ht.Node();
- var Node263textStart, Node263textWidth, Node263lineStart, Node263align = 'left', Node263fontSize = 11.99997*_ratio.ratioY,Node263width = 23*_ratio.ratioX, Node263height = 15*_ratio.ratioY;
- (function () {
- if (Node263align === 'left') {
- Node263textStart = Node263fontSize * 0.2 > 2 ? Node263fontSize * 0.2 - 4 : Node263fontSize * 0.2 - 9;
- Node263textWidth = Node263width;
- Node263lineStart = 1;
- } else if (Node263align === 'right') {
- Node263textStart = 0;
- Node263textWidth =Node263fontSize <= 8 ? Node263width + Node263fontSize * 0.2 + 6 : Node263width - Node263fontSize * 0.2;
- Node263lineStart = (Node263width - (ht.Default.getTextSize('4.48', ' '+ Node263fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node263align === 'center') {
- Node263textStart = -3;
- Node263textWidth = Node263width;
- Node263lineStart = Node263width - ht.Default.getTextSize('4.48', ' '+ Node263fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node263.setImage(GD.getTextJSON(Node263width, Node263height, true, false, false, ' '+ Node263fontSize + 'px "UniDreamLED"'))
- Node263.setPosition(151*ratio.ratioX, 586*ratio.ratioY);
- Node263.setWidth(Node263width);
- Node263.setHeight(Node263height);
- Node263._nodeType = 'text';
- Node263._disallowEvert = true;
- Node263.setRotation(0*Math.PI/180);
- Node263.a('node.width', Node263width);
- Node263.a('node.height', Node263height);
- Node263.a('node.rect', [0, 0, Node263width, Node263height]);
- Node263.a('node.bordercolor','rgba(0,0,0,1)');
- Node263.a('node.borderwidth', 0);
- Node263.a('node.background','' || 'rgba(0,0,0,0)');
- Node263.a('node.gradient','');
- Node263.a('node.gradientcolor','');
- Node263.a('node.text','4.48');
- Node263.a('node.textalign','left');
- Node263.a('node.textvAlign','middle');
- Node263.a('node.textrect', [Node263textStart, 0, Node263textWidth, Node263height]);
- Node263.a('node.color','rgba(0,0,0,1)');
- Node263.a('node.font',' '+ Node263fontSize + 'px "UniDreamLED"');
- Node263.a('node.textvisible',true);
- Node263.a('node.linefeed',false);
- if (false) {
- Node263.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node263.a('node.text') || '4.48';
- var color=Node263.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node263width,Node263height,11.99997*_ratio.ratioY,"left",color,' '+ Node263fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node263.a('node.underlinepoints',[Node263lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node263fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node263fontSize + 'px "UniDreamLED"').width + 6, (Node263height - Node263fontSize) * 0.5*_ratio.ratioY + Node263fontSize + 2 ]);
- Node263.a('node.underlinevisible',false);
- Node263.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node263);
- zoomNodeList.push({
- node: Node263,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node264 = new ht.Node();
- var Node264textStart, Node264textWidth, Node264lineStart, Node264align = 'left', Node264fontSize = 11.99997*_ratio.ratioY,Node264width = 23*_ratio.ratioX, Node264height = 15*_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('m/s', ' '+ Node264fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node264align === 'center') {
- Node264textStart = -3;
- Node264textWidth = Node264width;
- Node264lineStart = Node264width - ht.Default.getTextSize('m/s', ' '+ Node264fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node264.setImage(GD.getTextJSON(Node264width, Node264height, true, false, false, ' '+ Node264fontSize + 'px "Arial"'))
- Node264.setPosition(151*ratio.ratioX, 607*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(0,0,0,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','m/s');
- Node264.a('node.textalign','left');
- Node264.a('node.textvAlign','middle');
- Node264.a('node.textrect', [Node264textStart, 0, Node264textWidth, Node264height]);
- Node264.a('node.color','rgba(0,0,0,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') || 'm/s';
- var color=Node264.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node264width,Node264height,11.99997*_ratio.ratioY,"left",color,' '+ Node264fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node264.a('node.underlinepoints',[Node264lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node264fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ 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 = 11.99997*_ratio.ratioY,Node265width = 31*_ratio.ratioX, Node265height = 15*_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('功率', 'bold '+ Node265fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node265align === 'center') {
- Node265textStart = -3;
- Node265textWidth = Node265width;
- Node265lineStart = Node265width - ht.Default.getTextSize('功率', 'bold '+ Node265fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node265.setImage(GD.getTextJSON(Node265width, Node265height, true, false, false, 'bold '+ Node265fontSize + 'px "Arial"'))
- Node265.setPosition(215*ratio.ratioX, 574*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(64,64,64,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(64,64,64,1)');
- Node265.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node265width,Node265height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node265fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node265.a('node.underlinepoints',[Node265lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node265fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ 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 = 11.99997*_ratio.ratioY,Node266width = 44*_ratio.ratioX, Node266height = 15*_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('发电量', 'bold '+ Node266fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node266align === 'center') {
- Node266textStart = -3;
- Node266textWidth = Node266width;
- Node266lineStart = Node266width - ht.Default.getTextSize('发电量', 'bold '+ Node266fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node266.setImage(GD.getTextJSON(Node266width, Node266height, true, false, false, 'bold '+ Node266fontSize + 'px "Arial"'))
- Node266.setPosition(222*ratio.ratioX, 608*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(64,64,64,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(64,64,64,1)');
- Node266.a('node.font','bold '+ 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(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node266width,Node266height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node266fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node266.a('node.underlinepoints',[Node266lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node266fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ 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 = 19*_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(365*ratio.ratioX, 543*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(64,64,64,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(64,64,64,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(64,64,64,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 = 28*_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('MW', ' '+ Node268fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node268align === 'center') {
- Node268textStart = -3;
- Node268textWidth = Node268width;
- Node268lineStart = Node268width - ht.Default.getTextSize('MW', ' '+ Node268fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node268.setImage(GD.getTextJSON(Node268width, Node268height, true, false, false, ' '+ Node268fontSize + 'px "Arial"'))
- Node268.setPosition(362*ratio.ratioX, 573*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(64,64,64,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','MW');
- Node268.a('node.textalign','left');
- Node268.a('node.textvAlign','middle');
- Node268.a('node.textrect', [Node268textStart, 0, Node268textWidth, Node268height]);
- Node268.a('node.color','rgba(64,64,64,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') || 'MW';
- var color=Node268.a('node.color') || 'rgba(64,64,64,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('MW', ' '+ 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 = 43*_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('万kwh', ' '+ Node269fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node269align === 'center') {
- Node269textStart = -3;
- Node269textWidth = Node269width;
- Node269lineStart = Node269width - ht.Default.getTextSize('万kwh', ' '+ Node269fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node269.setImage(GD.getTextJSON(Node269width, Node269height, true, false, false, ' '+ Node269fontSize + 'px "Arial"'))
- Node269.setPosition(370*ratio.ratioX, 608*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(64,64,64,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','万kwh');
- Node269.a('node.textalign','left');
- Node269.a('node.textvAlign','middle');
- Node269.a('node.textrect', [Node269textStart, 0, Node269textWidth, Node269height]);
- Node269.a('node.color','rgba(64,64,64,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') || '万kwh';
- var color=Node269.a('node.color') || 'rgba(64,64,64,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('万kwh', ' '+ 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 Node270type = 'rect';
- var Node270 = new ht.Node(),
- Node270BorderWidth = 1*2;
- if (Node270type === 'arc') {
- Node270BorderWidth *= 1;
- }
- Node270.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node270type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node270.setPosition(210*ratio.ratioX, 676*ratio.ratioY);
- Node270.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node270.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node270.a('node.width', 373*_ratio.ratioX);
- Node270.a('node.height', 93*_ratio.ratioY);
- Node270.a('node.type', Node270type);
- Node270.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node270.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node270.a('node.gradientcolor', '');
- Node270.a('node.gradient', '');
- Node270.a('node.borderwidth', Node270BorderWidth);
- Node270.a('node.color', 'rgba(192,192,192,1)');
- Node270.a('node.fillrect', [0,0,0,0]);
- Node270.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node270.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node270.a('node.fillgradient', '');
- if (Node270type !== 'rect') {
- Node270.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node270.a('node.arcTo', parseFloat('@arcTo@'));
- Node270.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node270type === 'arc') {
- Node270.a('node.arcOval', true);
- }
- Node270.setRotation(0*Math.PI/180);
- Node270.borderWidth = Node270BorderWidth;
- Node270.borderFillwidth = Node270BorderWidth;
- dataModel.add(Node270);
- Node270._nodename = 'Node270'
- Node270._nodeType = 'rect';
- zoomNodeList.push({
- node: Node270,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node270, Node270.getImage());var Node271points=[24, 661,397, 661],
- Node271rect=ht.Default.unionPoint([{x:24,y:661},{x:397,y:661}]),
- Node271compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node271points.length;i++){
- if(i%2==0){
- Node271compspts.push(Node271points[i]-Node271rect.x);
- }else{
- Node271compspts.push(Node271points[i]-Node271rect.y);
- }
- }
- var Node271ptslength=Node271compspts.length;
- if (Node271rect.height === 0) {
- Node271compspts[0] -= 0;
- Node271compspts[Node271ptslength-2] += 0;
- } else if (Node271rect.width === 0){
- Node271compspts[1] -= 0;
- Node271compspts[Node271ptslength-1] += 0;
- } else {
- Node271compspts[0] -= 0;
- Node271compspts[1] -= 0;
- Node271compspts[Node271ptslength-2] += 0;
- Node271compspts[Node271ptslength-1] += 0;
- }
- Node271 = new ht.Node();
- Node271.borderWidth = 1;
- Node271rect.width = Node271rect.width === 0 ? 0.0001 : Node271rect.width;
- Node271rect.height = Node271rect.height === 0 ? 0.0001 : Node271rect.height;
- var Node271endCompspts = [Node271compspts[Node271ptslength-2],Node271compspts[Node271ptslength-1],0,0];
- var Node271startCompspts = [Node271compspts[0],Node271compspts[1],0,0];
- Node271.setImage(GD.getPolyLineJSON());
- Node271.setPosition(Node271rect.x+Node271rect.width/2,Node271rect.y+Node271rect.height/2);
- Node271.setSize(Node271rect.width,Node271rect.height);
- Node271.setStyle("opacity",1);
- Node271.s({'pixelPerfect':true});
- Node271borderwidth=1;
- Node271.setRotation(0);
- dataModel.add(Node271);
- Node271.a('node.points',Node271compspts);
- Node271.a('node.segments',[1,2]);
- Node271.a('node.color','rgba(192,192,192,1)');
- Node271.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node271.a('node.borderColor','rgba(192,192,192,1)');
- Node271.a('node.background','rgba(192,192,192,1)');
- Node271.a('node.gradient','');
- Node271.a('node.gradientcolor','rgba(192,192,192,1)');
- Node271.a('node.endCompspts',Node271endCompspts);
- Node271.a('node.startCompspts',Node271startCompspts);
- (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 = 'Node271';
- 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);
- }
- })(Node271, Node271.getImage(), Node271compspts, Node271endCompspts, Node271startCompspts);
- var Node272points=[24, 692,397, 692],
- Node272rect=ht.Default.unionPoint([{x:24,y:692},{x:397,y:692}]),
- Node272compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node272points.length;i++){
- if(i%2==0){
- Node272compspts.push(Node272points[i]-Node272rect.x);
- }else{
- Node272compspts.push(Node272points[i]-Node272rect.y);
- }
- }
- var Node272ptslength=Node272compspts.length;
- if (Node272rect.height === 0) {
- Node272compspts[0] -= 0;
- Node272compspts[Node272ptslength-2] += 0;
- } else if (Node272rect.width === 0){
- Node272compspts[1] -= 0;
- Node272compspts[Node272ptslength-1] += 0;
- } else {
- Node272compspts[0] -= 0;
- Node272compspts[1] -= 0;
- Node272compspts[Node272ptslength-2] += 0;
- Node272compspts[Node272ptslength-1] += 0;
- }
- Node272 = new ht.Node();
- Node272.borderWidth = 1;
- Node272rect.width = Node272rect.width === 0 ? 0.0001 : Node272rect.width;
- Node272rect.height = Node272rect.height === 0 ? 0.0001 : Node272rect.height;
- var Node272endCompspts = [Node272compspts[Node272ptslength-2],Node272compspts[Node272ptslength-1],0,0];
- var Node272startCompspts = [Node272compspts[0],Node272compspts[1],0,0];
- Node272.setImage(GD.getPolyLineJSON());
- Node272.setPosition(Node272rect.x+Node272rect.width/2,Node272rect.y+Node272rect.height/2);
- Node272.setSize(Node272rect.width,Node272rect.height);
- Node272.setStyle("opacity",1);
- Node272.s({'pixelPerfect':true});
- Node272borderwidth=1;
- Node272.setRotation(0);
- dataModel.add(Node272);
- Node272.a('node.points',Node272compspts);
- Node272.a('node.segments',[1,2]);
- Node272.a('node.color','rgba(192,192,192,1)');
- Node272.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node272.a('node.borderColor','rgba(192,192,192,1)');
- Node272.a('node.background','rgba(192,192,192,1)');
- Node272.a('node.gradient','');
- Node272.a('node.gradientcolor','rgba(192,192,192,1)');
- Node272.a('node.endCompspts',Node272endCompspts);
- Node272.a('node.startCompspts',Node272startCompspts);
- (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 = 'Node272';
- 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);
- }
- })(Node272, Node272.getImage(), Node272compspts, Node272endCompspts, Node272startCompspts);
- var Node273points=[91, 631,91, 722],
- Node273rect=ht.Default.unionPoint([{x:91,y:631},{x:91,y:722}]),
- Node273compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node273points.length;i++){
- if(i%2==0){
- Node273compspts.push(Node273points[i]-Node273rect.x);
- }else{
- Node273compspts.push(Node273points[i]-Node273rect.y);
- }
- }
- var Node273ptslength=Node273compspts.length;
- if (Node273rect.height === 0) {
- Node273compspts[0] -= 0;
- Node273compspts[Node273ptslength-2] += 0;
- } else if (Node273rect.width === 0){
- Node273compspts[1] -= 0;
- Node273compspts[Node273ptslength-1] += 0;
- } else {
- Node273compspts[0] -= 0;
- Node273compspts[1] -= 0;
- Node273compspts[Node273ptslength-2] += 0;
- Node273compspts[Node273ptslength-1] += 0;
- }
- Node273 = new ht.Node();
- Node273.borderWidth = 1;
- Node273rect.width = Node273rect.width === 0 ? 0.0001 : Node273rect.width;
- Node273rect.height = Node273rect.height === 0 ? 0.0001 : Node273rect.height;
- var Node273endCompspts = [Node273compspts[Node273ptslength-2],Node273compspts[Node273ptslength-1],0,0];
- var Node273startCompspts = [Node273compspts[0],Node273compspts[1],0,0];
- Node273.setImage(GD.getPolyLineJSON());
- Node273.setPosition(Node273rect.x+Node273rect.width/2,Node273rect.y+Node273rect.height/2);
- Node273.setSize(Node273rect.width,Node273rect.height);
- Node273.setStyle("opacity",1);
- Node273.s({'pixelPerfect':true});
- Node273borderwidth=1;
- Node273.setRotation(0);
- dataModel.add(Node273);
- Node273.a('node.points',Node273compspts);
- Node273.a('node.segments',[1,2]);
- Node273.a('node.color','rgba(192,192,192,1)');
- Node273.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node273.a('node.borderColor','rgba(192,192,192,1)');
- Node273.a('node.background','rgba(192,192,192,1)');
- Node273.a('node.gradient','');
- Node273.a('node.gradientcolor','rgba(192,192,192,1)');
- Node273.a('node.endCompspts',Node273endCompspts);
- Node273.a('node.startCompspts',Node273startCompspts);
- (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 = 'Node273';
- 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);
- }
- })(Node273, Node273.getImage(), Node273compspts, Node273endCompspts, Node273startCompspts);
- var Node274points=[177, 630,177, 722],
- Node274rect=ht.Default.unionPoint([{x:177,y:630},{x:177,y:722}]),
- Node274compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node274points.length;i++){
- if(i%2==0){
- Node274compspts.push(Node274points[i]-Node274rect.x);
- }else{
- Node274compspts.push(Node274points[i]-Node274rect.y);
- }
- }
- var Node274ptslength=Node274compspts.length;
- if (Node274rect.height === 0) {
- Node274compspts[0] -= 0;
- Node274compspts[Node274ptslength-2] += 0;
- } else if (Node274rect.width === 0){
- Node274compspts[1] -= 0;
- Node274compspts[Node274ptslength-1] += 0;
- } else {
- Node274compspts[0] -= 0;
- Node274compspts[1] -= 0;
- Node274compspts[Node274ptslength-2] += 0;
- Node274compspts[Node274ptslength-1] += 0;
- }
- Node274 = new ht.Node();
- Node274.borderWidth = 1;
- Node274rect.width = Node274rect.width === 0 ? 0.0001 : Node274rect.width;
- Node274rect.height = Node274rect.height === 0 ? 0.0001 : Node274rect.height;
- var Node274endCompspts = [Node274compspts[Node274ptslength-2],Node274compspts[Node274ptslength-1],0,0];
- var Node274startCompspts = [Node274compspts[0],Node274compspts[1],0,0];
- Node274.setImage(GD.getPolyLineJSON());
- Node274.setPosition(Node274rect.x+Node274rect.width/2,Node274rect.y+Node274rect.height/2);
- Node274.setSize(Node274rect.width,Node274rect.height);
- Node274.setStyle("opacity",1);
- Node274.s({'pixelPerfect':true});
- Node274borderwidth=1;
- Node274.setRotation(0);
- dataModel.add(Node274);
- Node274.a('node.points',Node274compspts);
- Node274.a('node.segments',[1,2]);
- Node274.a('node.color','rgba(192,192,192,1)');
- Node274.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node274.a('node.borderColor','rgba(192,192,192,1)');
- Node274.a('node.background','rgba(192,192,192,1)');
- Node274.a('node.gradient','');
- Node274.a('node.gradientcolor','rgba(192,192,192,1)');
- Node274.a('node.endCompspts',Node274endCompspts);
- Node274.a('node.startCompspts',Node274startCompspts);
- (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 = 'Node274';
- 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);
- }
- })(Node274, Node274.getImage(), Node274compspts, Node274endCompspts, Node274startCompspts);
- var Node275points=[212, 631,212, 722],
- Node275rect=ht.Default.unionPoint([{x:212,y:631},{x:212,y:722}]),
- Node275compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node275points.length;i++){
- if(i%2==0){
- Node275compspts.push(Node275points[i]-Node275rect.x);
- }else{
- Node275compspts.push(Node275points[i]-Node275rect.y);
- }
- }
- var Node275ptslength=Node275compspts.length;
- if (Node275rect.height === 0) {
- Node275compspts[0] -= 0;
- Node275compspts[Node275ptslength-2] += 0;
- } else if (Node275rect.width === 0){
- Node275compspts[1] -= 0;
- Node275compspts[Node275ptslength-1] += 0;
- } else {
- Node275compspts[0] -= 0;
- Node275compspts[1] -= 0;
- Node275compspts[Node275ptslength-2] += 0;
- Node275compspts[Node275ptslength-1] += 0;
- }
- Node275 = new ht.Node();
- Node275.borderWidth = 1;
- Node275rect.width = Node275rect.width === 0 ? 0.0001 : Node275rect.width;
- Node275rect.height = Node275rect.height === 0 ? 0.0001 : Node275rect.height;
- var Node275endCompspts = [Node275compspts[Node275ptslength-2],Node275compspts[Node275ptslength-1],0,0];
- var Node275startCompspts = [Node275compspts[0],Node275compspts[1],0,0];
- Node275.setImage(GD.getPolyLineJSON());
- Node275.setPosition(Node275rect.x+Node275rect.width/2,Node275rect.y+Node275rect.height/2);
- Node275.setSize(Node275rect.width,Node275rect.height);
- Node275.setStyle("opacity",1);
- Node275.s({'pixelPerfect':true});
- Node275borderwidth=1;
- Node275.setRotation(0);
- dataModel.add(Node275);
- Node275.a('node.points',Node275compspts);
- Node275.a('node.segments',[1,2]);
- Node275.a('node.color','rgba(192,192,192,1)');
- Node275.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node275.a('node.borderColor','rgba(192,192,192,1)');
- Node275.a('node.background','rgba(192,192,192,1)');
- Node275.a('node.gradient','');
- Node275.a('node.gradientcolor','rgba(192,192,192,1)');
- Node275.a('node.endCompspts',Node275endCompspts);
- Node275.a('node.startCompspts',Node275startCompspts);
- (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 = 'Node275';
- 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);
- }
- })(Node275, Node275.getImage(), Node275compspts, Node275endCompspts, Node275startCompspts);
- var Node276points=[280, 631,280, 723],
- Node276rect=ht.Default.unionPoint([{x:280,y:631},{x:280,y:723}]),
- Node276compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node276points.length;i++){
- if(i%2==0){
- Node276compspts.push(Node276points[i]-Node276rect.x);
- }else{
- Node276compspts.push(Node276points[i]-Node276rect.y);
- }
- }
- var Node276ptslength=Node276compspts.length;
- if (Node276rect.height === 0) {
- Node276compspts[0] -= 0;
- Node276compspts[Node276ptslength-2] += 0;
- } else if (Node276rect.width === 0){
- Node276compspts[1] -= 0;
- Node276compspts[Node276ptslength-1] += 0;
- } else {
- Node276compspts[0] -= 0;
- Node276compspts[1] -= 0;
- Node276compspts[Node276ptslength-2] += 0;
- Node276compspts[Node276ptslength-1] += 0;
- }
- Node276 = new ht.Node();
- Node276.borderWidth = 1;
- Node276rect.width = Node276rect.width === 0 ? 0.0001 : Node276rect.width;
- Node276rect.height = Node276rect.height === 0 ? 0.0001 : Node276rect.height;
- var Node276endCompspts = [Node276compspts[Node276ptslength-2],Node276compspts[Node276ptslength-1],0,0];
- var Node276startCompspts = [Node276compspts[0],Node276compspts[1],0,0];
- Node276.setImage(GD.getPolyLineJSON());
- Node276.setPosition(Node276rect.x+Node276rect.width/2,Node276rect.y+Node276rect.height/2);
- Node276.setSize(Node276rect.width,Node276rect.height);
- Node276.setStyle("opacity",1);
- Node276.s({'pixelPerfect':true});
- Node276borderwidth=1;
- Node276.setRotation(0);
- dataModel.add(Node276);
- Node276.a('node.points',Node276compspts);
- Node276.a('node.segments',[1,2]);
- Node276.a('node.color','rgba(192,192,192,1)');
- Node276.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node276.a('node.borderColor','rgba(192,192,192,1)');
- Node276.a('node.background','rgba(192,192,192,1)');
- Node276.a('node.gradient','');
- Node276.a('node.gradientcolor','rgba(192,192,192,1)');
- Node276.a('node.endCompspts',Node276endCompspts);
- Node276.a('node.startCompspts',Node276startCompspts);
- (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 = 'Node276';
- 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);
- }
- })(Node276, Node276.getImage(), Node276compspts, Node276endCompspts, Node276startCompspts);
- var Node277points=[351, 631,351, 722],
- Node277rect=ht.Default.unionPoint([{x:351,y:631},{x:351,y:722}]),
- Node277compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node277points.length;i++){
- if(i%2==0){
- Node277compspts.push(Node277points[i]-Node277rect.x);
- }else{
- Node277compspts.push(Node277points[i]-Node277rect.y);
- }
- }
- var Node277ptslength=Node277compspts.length;
- if (Node277rect.height === 0) {
- Node277compspts[0] -= 0;
- Node277compspts[Node277ptslength-2] += 0;
- } else if (Node277rect.width === 0){
- Node277compspts[1] -= 0;
- Node277compspts[Node277ptslength-1] += 0;
- } else {
- Node277compspts[0] -= 0;
- Node277compspts[1] -= 0;
- Node277compspts[Node277ptslength-2] += 0;
- Node277compspts[Node277ptslength-1] += 0;
- }
- Node277 = new ht.Node();
- Node277.borderWidth = 1;
- Node277rect.width = Node277rect.width === 0 ? 0.0001 : Node277rect.width;
- Node277rect.height = Node277rect.height === 0 ? 0.0001 : Node277rect.height;
- var Node277endCompspts = [Node277compspts[Node277ptslength-2],Node277compspts[Node277ptslength-1],0,0];
- var Node277startCompspts = [Node277compspts[0],Node277compspts[1],0,0];
- Node277.setImage(GD.getPolyLineJSON());
- Node277.setPosition(Node277rect.x+Node277rect.width/2,Node277rect.y+Node277rect.height/2);
- Node277.setSize(Node277rect.width,Node277rect.height);
- Node277.setStyle("opacity",1);
- Node277.s({'pixelPerfect':true});
- Node277borderwidth=1;
- Node277.setRotation(0);
- dataModel.add(Node277);
- Node277.a('node.points',Node277compspts);
- Node277.a('node.segments',[1,2]);
- Node277.a('node.color','rgba(192,192,192,1)');
- Node277.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node277.a('node.borderColor','rgba(192,192,192,1)');
- Node277.a('node.background','rgba(192,192,192,1)');
- Node277.a('node.gradient','');
- Node277.a('node.gradientcolor','rgba(192,192,192,1)');
- Node277.a('node.endCompspts',Node277endCompspts);
- Node277.a('node.startCompspts',Node277startCompspts);
- (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 = 'Node277';
- 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);
- }
- })(Node277, Node277.getImage(), Node277compspts, Node277endCompspts, Node277startCompspts);
- var Node278points=[25, 555,397, 555],
- Node278rect=ht.Default.unionPoint([{x:25,y:555},{x:397,y:555}]),
- Node278compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node278points.length;i++){
- if(i%2==0){
- Node278compspts.push(Node278points[i]-Node278rect.x);
- }else{
- Node278compspts.push(Node278points[i]-Node278rect.y);
- }
- }
- var Node278ptslength=Node278compspts.length;
- if (Node278rect.height === 0) {
- Node278compspts[0] -= 0;
- Node278compspts[Node278ptslength-2] += 0;
- } else if (Node278rect.width === 0){
- Node278compspts[1] -= 0;
- Node278compspts[Node278ptslength-1] += 0;
- } else {
- Node278compspts[0] -= 0;
- Node278compspts[1] -= 0;
- Node278compspts[Node278ptslength-2] += 0;
- Node278compspts[Node278ptslength-1] += 0;
- }
- Node278 = new ht.Node();
- Node278.borderWidth = 1;
- Node278rect.width = Node278rect.width === 0 ? 0.0001 : Node278rect.width;
- Node278rect.height = Node278rect.height === 0 ? 0.0001 : Node278rect.height;
- var Node278endCompspts = [Node278compspts[Node278ptslength-2],Node278compspts[Node278ptslength-1],0,0];
- var Node278startCompspts = [Node278compspts[0],Node278compspts[1],0,0];
- Node278.setImage(GD.getPolyLineJSON());
- Node278.setPosition(Node278rect.x+Node278rect.width/2,Node278rect.y+Node278rect.height/2);
- Node278.setSize(Node278rect.width,Node278rect.height);
- Node278.setStyle("opacity",1);
- Node278.s({'pixelPerfect':true});
- Node278borderwidth=1;
- Node278.setRotation(0);
- dataModel.add(Node278);
- Node278.a('node.points',Node278compspts);
- Node278.a('node.segments',[1,2]);
- Node278.a('node.color','rgba(192,192,192,1)');
- Node278.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node278.a('node.borderColor','rgba(192,192,192,1)');
- Node278.a('node.background','rgba(192,192,192,1)');
- Node278.a('node.gradient','');
- Node278.a('node.gradientcolor','rgba(192,192,192,1)');
- Node278.a('node.endCompspts',Node278endCompspts);
- Node278.a('node.startCompspts',Node278startCompspts);
- (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 = 'Node278';
- 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);
- }
- })(Node278, Node278.getImage(), Node278compspts, Node278endCompspts, Node278startCompspts);
- _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 = 34*_ratio.ratioX, Node279height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node279align === 'center') {
- Node279textStart = -3;
- Node279textWidth = Node279width;
- Node279lineStart = Node279width - ht.Default.getTextSize('并网', ' '+ Node279fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279.setImage(GD.getTextJSON(Node279width, Node279height, true, false, false, ' '+ Node279fontSize + 'px "Arial"'))
- Node279.setPosition(54*ratio.ratioX, 647*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(128,128,255,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(128,128,255,1)');
- Node279.a('node.font',' '+ Node279fontSize + 'px "Arial"');
- 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(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node279width,Node279height,13.3333*_ratio.ratioY,"left",color,' '+ Node279fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279.a('node.underlinepoints',[Node279lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node279fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node279fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node280height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node280align === 'center') {
- Node280textStart = -3;
- Node280textWidth = Node280width;
- Node280lineStart = Node280width - ht.Default.getTextSize('维护', ' '+ Node280fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node280.setImage(GD.getTextJSON(Node280width, Node280height, true, false, false, ' '+ Node280fontSize + 'px "Arial"'))
- Node280.setPosition(55*ratio.ratioX, 677*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(192,64,0,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(192,64,0,1)');
- Node280.a('node.font',' '+ Node280fontSize + 'px "Arial"');
- 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(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node280width,Node280height,13.3333*_ratio.ratioY,"left",color,' '+ Node280fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node280.a('node.underlinepoints',[Node280lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node280fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node280fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node281height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node281align === 'center') {
- Node281textStart = -3;
- Node281textWidth = Node281width;
- Node281lineStart = Node281width - ht.Default.getTextSize('限电', ' '+ Node281fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node281.setImage(GD.getTextJSON(Node281width, Node281height, true, false, false, ' '+ Node281fontSize + 'px "Arial"'))
- Node281.setPosition(55*ratio.ratioX, 707*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(128,0,128,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(128,0,128,1)');
- Node281.a('node.font',' '+ Node281fontSize + 'px "Arial"');
- 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(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node281width,Node281height,13.3333*_ratio.ratioY,"left",color,' '+ Node281fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node281.a('node.underlinepoints',[Node281lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node281fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node281fontSize + 'px "Arial"').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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node282 = new ht.Node();
- var Node282textStart, Node282textWidth, Node282lineStart, Node282align = 'left', Node282fontSize = 13.3333*_ratio.ratioY,Node282width = 34*_ratio.ratioX, Node282height = 16*_ratio.ratioY;
- (function () {
- if (Node282align === 'left') {
- Node282textStart = Node282fontSize * 0.2 > 2 ? Node282fontSize * 0.2 - 4 : Node282fontSize * 0.2 - 9;
- Node282textWidth = Node282width;
- Node282lineStart = 1;
- } else if (Node282align === 'right') {
- Node282textStart = 0;
- Node282textWidth =Node282fontSize <= 8 ? Node282width + Node282fontSize * 0.2 + 6 : Node282width - Node282fontSize * 0.2;
- Node282lineStart = (Node282width - (ht.Default.getTextSize('待机', ' '+ Node282fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node282align === 'center') {
- Node282textStart = -3;
- Node282textWidth = Node282width;
- Node282lineStart = Node282width - ht.Default.getTextSize('待机', ' '+ Node282fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node282.setImage(GD.getTextJSON(Node282width, Node282height, true, false, false, ' '+ Node282fontSize + 'px "Arial"'))
- Node282.setPosition(244*ratio.ratioX, 647*ratio.ratioY);
- Node282.setWidth(Node282width);
- Node282.setHeight(Node282height);
- Node282._nodeType = 'text';
- Node282._disallowEvert = true;
- Node282.setRotation(0*Math.PI/180);
- Node282.a('node.width', Node282width);
- Node282.a('node.height', Node282height);
- Node282.a('node.rect', [0, 0, Node282width, Node282height]);
- Node282.a('node.bordercolor','rgba(0,128,0,1)');
- Node282.a('node.borderwidth', 0);
- Node282.a('node.background','' || 'rgba(0,0,0,0)');
- Node282.a('node.gradient','');
- Node282.a('node.gradientcolor','');
- Node282.a('node.text','待机');
- Node282.a('node.textalign','left');
- Node282.a('node.textvAlign','middle');
- Node282.a('node.textrect', [Node282textStart, 0, Node282textWidth, Node282height]);
- Node282.a('node.color','rgba(0,128,0,1)');
- Node282.a('node.font',' '+ Node282fontSize + 'px "Arial"');
- Node282.a('node.textvisible',true);
- Node282.a('node.linefeed',false);
- if (false) {
- Node282.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node282.a('node.text') || '待机';
- var color=Node282.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node282width,Node282height,13.3333*_ratio.ratioY,"left",color,' '+ Node282fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node282.a('node.underlinepoints',[Node282lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node282fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node282fontSize + 'px "Arial"').width + 6, (Node282height - Node282fontSize) * 0.5*_ratio.ratioY + Node282fontSize + 2 ]);
- Node282.a('node.underlinevisible',false);
- Node282.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node282);
- zoomNodeList.push({
- node: Node282,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node283 = new ht.Node();
- var Node283textStart, Node283textWidth, Node283lineStart, Node283align = 'left', Node283fontSize = 13.3333*_ratio.ratioY,Node283width = 34*_ratio.ratioX, Node283height = 16*_ratio.ratioY;
- (function () {
- if (Node283align === 'left') {
- Node283textStart = Node283fontSize * 0.2 > 2 ? Node283fontSize * 0.2 - 4 : Node283fontSize * 0.2 - 9;
- Node283textWidth = Node283width;
- Node283lineStart = 1;
- } else if (Node283align === 'right') {
- Node283textStart = 0;
- Node283textWidth =Node283fontSize <= 8 ? Node283width + Node283fontSize * 0.2 + 6 : Node283width - Node283fontSize * 0.2;
- Node283lineStart = (Node283width - (ht.Default.getTextSize('故障', ' '+ Node283fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node283align === 'center') {
- Node283textStart = -3;
- Node283textWidth = Node283width;
- Node283lineStart = Node283width - ht.Default.getTextSize('故障', ' '+ Node283fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node283.setImage(GD.getTextJSON(Node283width, Node283height, true, false, false, ' '+ Node283fontSize + 'px "Arial"'))
- Node283.setPosition(245*ratio.ratioX, 677*ratio.ratioY);
- Node283.setWidth(Node283width);
- Node283.setHeight(Node283height);
- Node283._nodeType = 'text';
- Node283._disallowEvert = true;
- Node283.setRotation(0*Math.PI/180);
- Node283.a('node.width', Node283width);
- Node283.a('node.height', Node283height);
- Node283.a('node.rect', [0, 0, Node283width, Node283height]);
- Node283.a('node.bordercolor','rgba(192,0,0,1)');
- Node283.a('node.borderwidth', 0);
- Node283.a('node.background','' || 'rgba(0,0,0,0)');
- Node283.a('node.gradient','');
- Node283.a('node.gradientcolor','');
- Node283.a('node.text','故障');
- Node283.a('node.textalign','left');
- Node283.a('node.textvAlign','middle');
- Node283.a('node.textrect', [Node283textStart, 0, Node283textWidth, Node283height]);
- Node283.a('node.color','rgba(192,0,0,1)');
- Node283.a('node.font',' '+ Node283fontSize + 'px "Arial"');
- Node283.a('node.textvisible',true);
- Node283.a('node.linefeed',false);
- if (false) {
- Node283.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node283.a('node.text') || '故障';
- var color=Node283.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node283width,Node283height,13.3333*_ratio.ratioY,"left",color,' '+ Node283fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node283.a('node.underlinepoints',[Node283lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node283fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node283fontSize + 'px "Arial"').width + 6, (Node283height - Node283fontSize) * 0.5*_ratio.ratioY + Node283fontSize + 2 ]);
- Node283.a('node.underlinevisible',false);
- Node283.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node283);
- zoomNodeList.push({
- node: Node283,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node284 = new ht.Node();
- var Node284textStart, Node284textWidth, Node284lineStart, Node284align = 'left', Node284fontSize = 13.3333*_ratio.ratioY,Node284width = 34*_ratio.ratioX, Node284height = 16*_ratio.ratioY;
- (function () {
- if (Node284align === 'left') {
- Node284textStart = Node284fontSize * 0.2 > 2 ? Node284fontSize * 0.2 - 4 : Node284fontSize * 0.2 - 9;
- Node284textWidth = Node284width;
- Node284lineStart = 1;
- } else if (Node284align === 'right') {
- Node284textStart = 0;
- Node284textWidth =Node284fontSize <= 8 ? Node284width + Node284fontSize * 0.2 + 6 : Node284width - Node284fontSize * 0.2;
- Node284lineStart = (Node284width - (ht.Default.getTextSize('离线', ' '+ Node284fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node284align === 'center') {
- Node284textStart = -3;
- Node284textWidth = Node284width;
- Node284lineStart = Node284width - ht.Default.getTextSize('离线', ' '+ Node284fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node284.setImage(GD.getTextJSON(Node284width, Node284height, true, false, false, ' '+ Node284fontSize + 'px "Arial"'))
- Node284.setPosition(245*ratio.ratioX, 707*ratio.ratioY);
- Node284.setWidth(Node284width);
- Node284.setHeight(Node284height);
- Node284._nodeType = 'text';
- Node284._disallowEvert = true;
- Node284.setRotation(0*Math.PI/180);
- Node284.a('node.width', Node284width);
- Node284.a('node.height', Node284height);
- Node284.a('node.rect', [0, 0, Node284width, Node284height]);
- Node284.a('node.bordercolor','rgba(128,128,128,1)');
- Node284.a('node.borderwidth', 0);
- Node284.a('node.background','' || 'rgba(0,0,0,0)');
- Node284.a('node.gradient','');
- Node284.a('node.gradientcolor','');
- Node284.a('node.text','离线');
- Node284.a('node.textalign','left');
- Node284.a('node.textvAlign','middle');
- Node284.a('node.textrect', [Node284textStart, 0, Node284textWidth, Node284height]);
- Node284.a('node.color','rgba(128,128,128,1)');
- Node284.a('node.font',' '+ Node284fontSize + 'px "Arial"');
- Node284.a('node.textvisible',true);
- Node284.a('node.linefeed',false);
- if (false) {
- Node284.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node284.a('node.text') || '离线';
- var color=Node284.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node284width,Node284height,13.3333*_ratio.ratioY,"left",color,' '+ Node284fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node284.a('node.underlinepoints',[Node284lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node284fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node284fontSize + 'px "Arial"').width + 6, (Node284height - Node284fontSize) * 0.5*_ratio.ratioY + Node284fontSize + 2 ]);
- Node284.a('node.underlinevisible',false);
- Node284.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node284);
- zoomNodeList.push({
- node: Node284,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node285 = new ht.Node();
- var Node285textStart, Node285textWidth, Node285lineStart, Node285align = 'left', Node285fontSize = 13.3333*_ratio.ratioY,Node285width = 19*_ratio.ratioX, Node285height = 16*_ratio.ratioY;
- (function () {
- if (Node285align === 'left') {
- Node285textStart = Node285fontSize * 0.2 > 2 ? Node285fontSize * 0.2 - 4 : Node285fontSize * 0.2 - 9;
- Node285textWidth = Node285width;
- Node285lineStart = 1;
- } else if (Node285align === 'right') {
- Node285textStart = 0;
- Node285textWidth =Node285fontSize <= 8 ? Node285width + Node285fontSize * 0.2 + 6 : Node285width - Node285fontSize * 0.2;
- Node285lineStart = (Node285width - (ht.Default.getTextSize('台', ' '+ Node285fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node285align === 'center') {
- Node285textStart = -3;
- Node285textWidth = Node285width;
- Node285lineStart = Node285width - ht.Default.getTextSize('台', ' '+ Node285fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node285.setImage(GD.getTextJSON(Node285width, Node285height, true, false, false, ' '+ Node285fontSize + 'px "UniDreamLED"'))
- Node285.setPosition(193*ratio.ratioX, 647*ratio.ratioY);
- Node285.setWidth(Node285width);
- Node285.setHeight(Node285height);
- Node285._nodeType = 'text';
- Node285._disallowEvert = true;
- Node285.setRotation(0*Math.PI/180);
- Node285.a('node.width', Node285width);
- Node285.a('node.height', Node285height);
- Node285.a('node.rect', [0, 0, Node285width, Node285height]);
- Node285.a('node.bordercolor','rgba(64,64,64,1)');
- Node285.a('node.borderwidth', 0);
- Node285.a('node.background','' || 'rgba(0,0,0,0)');
- Node285.a('node.gradient','');
- Node285.a('node.gradientcolor','');
- Node285.a('node.text','台');
- Node285.a('node.textalign','left');
- Node285.a('node.textvAlign','middle');
- Node285.a('node.textrect', [Node285textStart, 0, Node285textWidth, Node285height]);
- Node285.a('node.color','rgba(64,64,64,1)');
- Node285.a('node.font',' '+ Node285fontSize + 'px "UniDreamLED"');
- Node285.a('node.textvisible',true);
- Node285.a('node.linefeed',false);
- if (false) {
- Node285.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node285.a('node.text') || '台';
- var color=Node285.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node285width,Node285height,13.3333*_ratio.ratioY,"left",color,' '+ Node285fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node285.a('node.underlinepoints',[Node285lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node285fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node285fontSize + 'px "UniDreamLED"').width + 6, (Node285height - Node285fontSize) * 0.5*_ratio.ratioY + Node285fontSize + 2 ]);
- Node285.a('node.underlinevisible',false);
- Node285.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node285);
- zoomNodeList.push({
- node: Node285,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node286 = new ht.Node();
- var Node286textStart, Node286textWidth, Node286lineStart, Node286align = 'left', Node286fontSize = 13.3333*_ratio.ratioY,Node286width = 19*_ratio.ratioX, Node286height = 16*_ratio.ratioY;
- (function () {
- if (Node286align === 'left') {
- Node286textStart = Node286fontSize * 0.2 > 2 ? Node286fontSize * 0.2 - 4 : Node286fontSize * 0.2 - 9;
- Node286textWidth = Node286width;
- Node286lineStart = 1;
- } else if (Node286align === 'right') {
- Node286textStart = 0;
- Node286textWidth =Node286fontSize <= 8 ? Node286width + Node286fontSize * 0.2 + 6 : Node286width - Node286fontSize * 0.2;
- Node286lineStart = (Node286width - (ht.Default.getTextSize('台', ' '+ Node286fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node286align === 'center') {
- Node286textStart = -3;
- Node286textWidth = Node286width;
- Node286lineStart = Node286width - ht.Default.getTextSize('台', ' '+ Node286fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node286.setImage(GD.getTextJSON(Node286width, Node286height, true, false, false, ' '+ Node286fontSize + 'px "UniDreamLED"'))
- Node286.setPosition(193*ratio.ratioX, 678*ratio.ratioY);
- Node286.setWidth(Node286width);
- Node286.setHeight(Node286height);
- Node286._nodeType = 'text';
- Node286._disallowEvert = true;
- Node286.setRotation(0*Math.PI/180);
- Node286.a('node.width', Node286width);
- Node286.a('node.height', Node286height);
- Node286.a('node.rect', [0, 0, Node286width, Node286height]);
- Node286.a('node.bordercolor','rgba(64,64,64,1)');
- Node286.a('node.borderwidth', 0);
- Node286.a('node.background','' || 'rgba(0,0,0,0)');
- Node286.a('node.gradient','');
- Node286.a('node.gradientcolor','');
- Node286.a('node.text','台');
- Node286.a('node.textalign','left');
- Node286.a('node.textvAlign','middle');
- Node286.a('node.textrect', [Node286textStart, 0, Node286textWidth, Node286height]);
- Node286.a('node.color','rgba(64,64,64,1)');
- Node286.a('node.font',' '+ Node286fontSize + 'px "UniDreamLED"');
- Node286.a('node.textvisible',true);
- Node286.a('node.linefeed',false);
- if (false) {
- Node286.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node286.a('node.text') || '台';
- var color=Node286.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node286width,Node286height,13.3333*_ratio.ratioY,"left",color,' '+ Node286fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node286.a('node.underlinepoints',[Node286lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node286fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node286fontSize + 'px "UniDreamLED"').width + 6, (Node286height - Node286fontSize) * 0.5*_ratio.ratioY + Node286fontSize + 2 ]);
- Node286.a('node.underlinevisible',false);
- Node286.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node286);
- zoomNodeList.push({
- node: Node286,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node287 = new ht.Node();
- var Node287textStart, Node287textWidth, Node287lineStart, Node287align = 'left', Node287fontSize = 13.3333*_ratio.ratioY,Node287width = 19*_ratio.ratioX, Node287height = 16*_ratio.ratioY;
- (function () {
- if (Node287align === 'left') {
- Node287textStart = Node287fontSize * 0.2 > 2 ? Node287fontSize * 0.2 - 4 : Node287fontSize * 0.2 - 9;
- Node287textWidth = Node287width;
- Node287lineStart = 1;
- } else if (Node287align === 'right') {
- Node287textStart = 0;
- Node287textWidth =Node287fontSize <= 8 ? Node287width + Node287fontSize * 0.2 + 6 : Node287width - Node287fontSize * 0.2;
- Node287lineStart = (Node287width - (ht.Default.getTextSize('台', ' '+ Node287fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node287align === 'center') {
- Node287textStart = -3;
- Node287textWidth = Node287width;
- Node287lineStart = Node287width - ht.Default.getTextSize('台', ' '+ Node287fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node287.setImage(GD.getTextJSON(Node287width, Node287height, true, false, false, ' '+ Node287fontSize + 'px "UniDreamLED"'))
- Node287.setPosition(194*ratio.ratioX, 707*ratio.ratioY);
- Node287.setWidth(Node287width);
- Node287.setHeight(Node287height);
- Node287._nodeType = 'text';
- Node287._disallowEvert = true;
- Node287.setRotation(0*Math.PI/180);
- Node287.a('node.width', Node287width);
- Node287.a('node.height', Node287height);
- Node287.a('node.rect', [0, 0, Node287width, Node287height]);
- Node287.a('node.bordercolor','rgba(64,64,64,1)');
- Node287.a('node.borderwidth', 0);
- Node287.a('node.background','' || 'rgba(0,0,0,0)');
- Node287.a('node.gradient','');
- Node287.a('node.gradientcolor','');
- Node287.a('node.text','台');
- Node287.a('node.textalign','left');
- Node287.a('node.textvAlign','middle');
- Node287.a('node.textrect', [Node287textStart, 0, Node287textWidth, Node287height]);
- Node287.a('node.color','rgba(64,64,64,1)');
- Node287.a('node.font',' '+ Node287fontSize + 'px "UniDreamLED"');
- Node287.a('node.textvisible',true);
- Node287.a('node.linefeed',false);
- if (false) {
- Node287.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node287.a('node.text') || '台';
- var color=Node287.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node287width,Node287height,13.3333*_ratio.ratioY,"left",color,' '+ Node287fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node287.a('node.underlinepoints',[Node287lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node287fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node287fontSize + 'px "UniDreamLED"').width + 6, (Node287height - Node287fontSize) * 0.5*_ratio.ratioY + Node287fontSize + 2 ]);
- Node287.a('node.underlinevisible',false);
- Node287.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node287);
- zoomNodeList.push({
- node: Node287,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node288 = new ht.Node();
- var Node288textStart, Node288textWidth, Node288lineStart, Node288align = 'left', Node288fontSize = 13.3333*_ratio.ratioY,Node288width = 17*_ratio.ratioX, Node288height = 16*_ratio.ratioY;
- (function () {
- if (Node288align === 'left') {
- Node288textStart = Node288fontSize * 0.2 > 2 ? Node288fontSize * 0.2 - 4 : Node288fontSize * 0.2 - 9;
- Node288textWidth = Node288width;
- Node288lineStart = 1;
- } else if (Node288align === 'right') {
- Node288textStart = 0;
- Node288textWidth =Node288fontSize <= 8 ? Node288width + Node288fontSize * 0.2 + 6 : Node288width - Node288fontSize * 0.2;
- Node288lineStart = (Node288width - (ht.Default.getTextSize('99', ' '+ Node288fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node288align === 'center') {
- Node288textStart = -3;
- Node288textWidth = Node288width;
- Node288lineStart = Node288width - ht.Default.getTextSize('99', ' '+ Node288fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node288.setImage(GD.getTextJSON(Node288width, Node288height, true, false, false, ' '+ Node288fontSize + 'px "UniDreamLED"'))
- Node288.setPosition(137*ratio.ratioX, 647*ratio.ratioY);
- Node288.setWidth(Node288width);
- Node288.setHeight(Node288height);
- Node288._nodeType = 'text';
- Node288._disallowEvert = true;
- Node288.setRotation(0*Math.PI/180);
- Node288.a('node.width', Node288width);
- Node288.a('node.height', Node288height);
- Node288.a('node.rect', [0, 0, Node288width, Node288height]);
- Node288.a('node.bordercolor','rgba(64,64,64,1)');
- Node288.a('node.borderwidth', 0);
- Node288.a('node.background','' || 'rgba(0,0,0,0)');
- Node288.a('node.gradient','');
- Node288.a('node.gradientcolor','');
- Node288.a('node.text','99');
- Node288.a('node.textalign','left');
- Node288.a('node.textvAlign','middle');
- Node288.a('node.textrect', [Node288textStart, 0, Node288textWidth, Node288height]);
- Node288.a('node.color','rgba(64,64,64,1)');
- Node288.a('node.font',' '+ Node288fontSize + 'px "UniDreamLED"');
- Node288.a('node.textvisible',true);
- Node288.a('node.linefeed',false);
- if (false) {
- Node288.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node288.a('node.text') || '99';
- var color=Node288.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node288width,Node288height,13.3333*_ratio.ratioY,"left",color,' '+ Node288fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node288.a('node.underlinepoints',[Node288lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node288fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node288fontSize + 'px "UniDreamLED"').width + 6, (Node288height - Node288fontSize) * 0.5*_ratio.ratioY + Node288fontSize + 2 ]);
- Node288.a('node.underlinevisible',false);
- Node288.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node288);
- zoomNodeList.push({
- node: Node288,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node289 = new ht.Node();
- var Node289textStart, Node289textWidth, Node289lineStart, Node289align = 'left', Node289fontSize = 13.3333*_ratio.ratioY,Node289width = 10*_ratio.ratioX, Node289height = 16*_ratio.ratioY;
- (function () {
- if (Node289align === 'left') {
- Node289textStart = Node289fontSize * 0.2 > 2 ? Node289fontSize * 0.2 - 4 : Node289fontSize * 0.2 - 9;
- Node289textWidth = Node289width;
- Node289lineStart = 1;
- } else if (Node289align === 'right') {
- Node289textStart = 0;
- Node289textWidth =Node289fontSize <= 8 ? Node289width + Node289fontSize * 0.2 + 6 : Node289width - Node289fontSize * 0.2;
- Node289lineStart = (Node289width - (ht.Default.getTextSize('0', ' '+ Node289fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node289align === 'center') {
- Node289textStart = -3;
- Node289textWidth = Node289width;
- Node289lineStart = Node289width - ht.Default.getTextSize('0', ' '+ Node289fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node289.setImage(GD.getTextJSON(Node289width, Node289height, true, false, false, ' '+ Node289fontSize + 'px "UniDreamLED"'))
- Node289.setPosition(134*ratio.ratioX, 676*ratio.ratioY);
- Node289.setWidth(Node289width);
- Node289.setHeight(Node289height);
- Node289._nodeType = 'text';
- Node289._disallowEvert = true;
- Node289.setRotation(0*Math.PI/180);
- Node289.a('node.width', Node289width);
- Node289.a('node.height', Node289height);
- Node289.a('node.rect', [0, 0, Node289width, Node289height]);
- Node289.a('node.bordercolor','rgba(64,64,64,1)');
- Node289.a('node.borderwidth', 0);
- Node289.a('node.background','' || 'rgba(0,0,0,0)');
- Node289.a('node.gradient','');
- Node289.a('node.gradientcolor','');
- Node289.a('node.text','0');
- Node289.a('node.textalign','left');
- Node289.a('node.textvAlign','middle');
- Node289.a('node.textrect', [Node289textStart, 0, Node289textWidth, Node289height]);
- Node289.a('node.color','rgba(64,64,64,1)');
- Node289.a('node.font',' '+ Node289fontSize + 'px "UniDreamLED"');
- Node289.a('node.textvisible',true);
- Node289.a('node.linefeed',false);
- if (false) {
- Node289.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node289.a('node.text') || '0';
- var color=Node289.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node289width,Node289height,13.3333*_ratio.ratioY,"left",color,' '+ Node289fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node289.a('node.underlinepoints',[Node289lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node289fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node289fontSize + 'px "UniDreamLED"').width + 6, (Node289height - Node289fontSize) * 0.5*_ratio.ratioY + Node289fontSize + 2 ]);
- Node289.a('node.underlinevisible',false);
- Node289.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node289);
- zoomNodeList.push({
- node: Node289,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node290 = new ht.Node();
- var Node290textStart, Node290textWidth, Node290lineStart, Node290align = 'left', Node290fontSize = 13.3333*_ratio.ratioY,Node290width = 10*_ratio.ratioX, Node290height = 16*_ratio.ratioY;
- (function () {
- if (Node290align === 'left') {
- Node290textStart = Node290fontSize * 0.2 > 2 ? Node290fontSize * 0.2 - 4 : Node290fontSize * 0.2 - 9;
- Node290textWidth = Node290width;
- Node290lineStart = 1;
- } else if (Node290align === 'right') {
- Node290textStart = 0;
- Node290textWidth =Node290fontSize <= 8 ? Node290width + Node290fontSize * 0.2 + 6 : Node290width - Node290fontSize * 0.2;
- Node290lineStart = (Node290width - (ht.Default.getTextSize('0', ' '+ Node290fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node290align === 'center') {
- Node290textStart = -3;
- Node290textWidth = Node290width;
- Node290lineStart = Node290width - ht.Default.getTextSize('0', ' '+ Node290fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node290.setImage(GD.getTextJSON(Node290width, Node290height, true, false, false, ' '+ Node290fontSize + 'px "UniDreamLED"'))
- Node290.setPosition(134*ratio.ratioX, 707*ratio.ratioY);
- Node290.setWidth(Node290width);
- Node290.setHeight(Node290height);
- Node290._nodeType = 'text';
- Node290._disallowEvert = true;
- Node290.setRotation(0*Math.PI/180);
- Node290.a('node.width', Node290width);
- Node290.a('node.height', Node290height);
- Node290.a('node.rect', [0, 0, Node290width, Node290height]);
- Node290.a('node.bordercolor','rgba(64,64,64,1)');
- Node290.a('node.borderwidth', 0);
- Node290.a('node.background','' || 'rgba(0,0,0,0)');
- Node290.a('node.gradient','');
- Node290.a('node.gradientcolor','');
- Node290.a('node.text','0');
- Node290.a('node.textalign','left');
- Node290.a('node.textvAlign','middle');
- Node290.a('node.textrect', [Node290textStart, 0, Node290textWidth, Node290height]);
- Node290.a('node.color','rgba(64,64,64,1)');
- Node290.a('node.font',' '+ Node290fontSize + 'px "UniDreamLED"');
- Node290.a('node.textvisible',true);
- Node290.a('node.linefeed',false);
- if (false) {
- Node290.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node290.a('node.text') || '0';
- var color=Node290.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node290width,Node290height,13.3333*_ratio.ratioY,"left",color,' '+ Node290fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node290.a('node.underlinepoints',[Node290lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node290fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node290fontSize + 'px "UniDreamLED"').width + 6, (Node290height - Node290fontSize) * 0.5*_ratio.ratioY + Node290fontSize + 2 ]);
- Node290.a('node.underlinevisible',false);
- Node290.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node290);
- zoomNodeList.push({
- node: Node290,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node291 = new ht.Node();
- var Node291textStart, Node291textWidth, Node291lineStart, Node291align = 'left', Node291fontSize = 13.3333*_ratio.ratioY,Node291width = 10*_ratio.ratioX, Node291height = 16*_ratio.ratioY;
- (function () {
- if (Node291align === 'left') {
- Node291textStart = Node291fontSize * 0.2 > 2 ? Node291fontSize * 0.2 - 4 : Node291fontSize * 0.2 - 9;
- Node291textWidth = Node291width;
- Node291lineStart = 1;
- } else if (Node291align === 'right') {
- Node291textStart = 0;
- Node291textWidth =Node291fontSize <= 8 ? Node291width + Node291fontSize * 0.2 + 6 : Node291width - Node291fontSize * 0.2;
- Node291lineStart = (Node291width - (ht.Default.getTextSize('0', ' '+ Node291fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node291align === 'center') {
- Node291textStart = -3;
- Node291textWidth = Node291width;
- Node291lineStart = Node291width - ht.Default.getTextSize('0', ' '+ Node291fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node291.setImage(GD.getTextJSON(Node291width, Node291height, true, false, false, ' '+ Node291fontSize + 'px "UniDreamLED"'))
- Node291.setPosition(311*ratio.ratioX, 647*ratio.ratioY);
- Node291.setWidth(Node291width);
- Node291.setHeight(Node291height);
- Node291._nodeType = 'text';
- Node291._disallowEvert = true;
- Node291.setRotation(0*Math.PI/180);
- Node291.a('node.width', Node291width);
- Node291.a('node.height', Node291height);
- Node291.a('node.rect', [0, 0, Node291width, Node291height]);
- Node291.a('node.bordercolor','rgba(64,64,64,1)');
- Node291.a('node.borderwidth', 0);
- Node291.a('node.background','' || 'rgba(0,0,0,0)');
- Node291.a('node.gradient','');
- Node291.a('node.gradientcolor','');
- Node291.a('node.text','0');
- Node291.a('node.textalign','left');
- Node291.a('node.textvAlign','middle');
- Node291.a('node.textrect', [Node291textStart, 0, Node291textWidth, Node291height]);
- Node291.a('node.color','rgba(64,64,64,1)');
- Node291.a('node.font',' '+ Node291fontSize + 'px "UniDreamLED"');
- Node291.a('node.textvisible',true);
- Node291.a('node.linefeed',false);
- if (false) {
- Node291.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node291.a('node.text') || '0';
- var color=Node291.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node291width,Node291height,13.3333*_ratio.ratioY,"left",color,' '+ Node291fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node291.a('node.underlinepoints',[Node291lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node291fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node291fontSize + 'px "UniDreamLED"').width + 6, (Node291height - Node291fontSize) * 0.5*_ratio.ratioY + Node291fontSize + 2 ]);
- Node291.a('node.underlinevisible',false);
- Node291.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node291);
- zoomNodeList.push({
- node: Node291,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node292 = new ht.Node();
- var Node292textStart, Node292textWidth, Node292lineStart, Node292align = 'left', Node292fontSize = 13.3333*_ratio.ratioY,Node292width = 10*_ratio.ratioX, Node292height = 16*_ratio.ratioY;
- (function () {
- if (Node292align === 'left') {
- Node292textStart = Node292fontSize * 0.2 > 2 ? Node292fontSize * 0.2 - 4 : Node292fontSize * 0.2 - 9;
- Node292textWidth = Node292width;
- Node292lineStart = 1;
- } else if (Node292align === 'right') {
- Node292textStart = 0;
- Node292textWidth =Node292fontSize <= 8 ? Node292width + Node292fontSize * 0.2 + 6 : Node292width - Node292fontSize * 0.2;
- Node292lineStart = (Node292width - (ht.Default.getTextSize('0', ' '+ Node292fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node292align === 'center') {
- Node292textStart = -3;
- Node292textWidth = Node292width;
- Node292lineStart = Node292width - ht.Default.getTextSize('0', ' '+ Node292fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node292.setImage(GD.getTextJSON(Node292width, Node292height, true, false, false, ' '+ Node292fontSize + 'px "UniDreamLED"'))
- Node292.setPosition(311*ratio.ratioX, 676*ratio.ratioY);
- Node292.setWidth(Node292width);
- Node292.setHeight(Node292height);
- Node292._nodeType = 'text';
- Node292._disallowEvert = true;
- Node292.setRotation(0*Math.PI/180);
- Node292.a('node.width', Node292width);
- Node292.a('node.height', Node292height);
- Node292.a('node.rect', [0, 0, Node292width, Node292height]);
- Node292.a('node.bordercolor','rgba(64,64,64,1)');
- Node292.a('node.borderwidth', 0);
- Node292.a('node.background','' || 'rgba(0,0,0,0)');
- Node292.a('node.gradient','');
- Node292.a('node.gradientcolor','');
- Node292.a('node.text','0');
- Node292.a('node.textalign','left');
- Node292.a('node.textvAlign','middle');
- Node292.a('node.textrect', [Node292textStart, 0, Node292textWidth, Node292height]);
- Node292.a('node.color','rgba(64,64,64,1)');
- Node292.a('node.font',' '+ Node292fontSize + 'px "UniDreamLED"');
- Node292.a('node.textvisible',true);
- Node292.a('node.linefeed',false);
- if (false) {
- Node292.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node292.a('node.text') || '0';
- var color=Node292.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node292width,Node292height,13.3333*_ratio.ratioY,"left",color,' '+ Node292fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node292.a('node.underlinepoints',[Node292lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node292fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node292fontSize + 'px "UniDreamLED"').width + 6, (Node292height - Node292fontSize) * 0.5*_ratio.ratioY + Node292fontSize + 2 ]);
- Node292.a('node.underlinevisible',false);
- Node292.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node292);
- zoomNodeList.push({
- node: Node292,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node293 = new ht.Node();
- var Node293textStart, Node293textWidth, Node293lineStart, Node293align = 'left', Node293fontSize = 13.3333*_ratio.ratioY,Node293width = 10*_ratio.ratioX, Node293height = 16*_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('0', ' '+ Node293fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node293align === 'center') {
- Node293textStart = -3;
- Node293textWidth = Node293width;
- Node293lineStart = Node293width - ht.Default.getTextSize('0', ' '+ Node293fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node293.setImage(GD.getTextJSON(Node293width, Node293height, true, false, false, ' '+ Node293fontSize + 'px "UniDreamLED"'))
- Node293.setPosition(311*ratio.ratioX, 707*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','0');
- 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',' '+ Node293fontSize + 'px "UniDreamLED"');
- 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') || '0';
- var color=Node293.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node293width,Node293height,13.3333*_ratio.ratioY,"left",color,' '+ Node293fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node293.a('node.underlinepoints',[Node293lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node293fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node293fontSize + 'px "UniDreamLED"').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*Math.PI/180, ratio);
- var Node294 = new ht.Node();
- var Node294textStart, Node294textWidth, Node294lineStart, Node294align = 'left', Node294fontSize = 13.3333*_ratio.ratioY,Node294width = 19*_ratio.ratioX, Node294height = 16*_ratio.ratioY;
- (function () {
- if (Node294align === 'left') {
- Node294textStart = Node294fontSize * 0.2 > 2 ? Node294fontSize * 0.2 - 4 : Node294fontSize * 0.2 - 9;
- Node294textWidth = Node294width;
- Node294lineStart = 1;
- } else if (Node294align === 'right') {
- Node294textStart = 0;
- Node294textWidth =Node294fontSize <= 8 ? Node294width + Node294fontSize * 0.2 + 6 : Node294width - Node294fontSize * 0.2;
- Node294lineStart = (Node294width - (ht.Default.getTextSize('台', ' '+ Node294fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node294align === 'center') {
- Node294textStart = -3;
- Node294textWidth = Node294width;
- Node294lineStart = Node294width - ht.Default.getTextSize('台', ' '+ Node294fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node294.setImage(GD.getTextJSON(Node294width, Node294height, true, false, false, ' '+ Node294fontSize + 'px "UniDreamLED"'))
- Node294.setPosition(369*ratio.ratioX, 646*ratio.ratioY);
- Node294.setWidth(Node294width);
- Node294.setHeight(Node294height);
- Node294._nodeType = 'text';
- Node294._disallowEvert = true;
- Node294.setRotation(0*Math.PI/180);
- Node294.a('node.width', Node294width);
- Node294.a('node.height', Node294height);
- Node294.a('node.rect', [0, 0, Node294width, Node294height]);
- Node294.a('node.bordercolor','rgba(64,64,64,1)');
- Node294.a('node.borderwidth', 0);
- Node294.a('node.background','' || 'rgba(0,0,0,0)');
- Node294.a('node.gradient','');
- Node294.a('node.gradientcolor','');
- Node294.a('node.text','台');
- Node294.a('node.textalign','left');
- Node294.a('node.textvAlign','middle');
- Node294.a('node.textrect', [Node294textStart, 0, Node294textWidth, Node294height]);
- Node294.a('node.color','rgba(64,64,64,1)');
- Node294.a('node.font',' '+ Node294fontSize + 'px "UniDreamLED"');
- Node294.a('node.textvisible',true);
- Node294.a('node.linefeed',false);
- if (false) {
- Node294.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node294.a('node.text') || '台';
- var color=Node294.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node294width,Node294height,13.3333*_ratio.ratioY,"left",color,' '+ Node294fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node294.a('node.underlinepoints',[Node294lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node294fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node294fontSize + 'px "UniDreamLED"').width + 6, (Node294height - Node294fontSize) * 0.5*_ratio.ratioY + Node294fontSize + 2 ]);
- Node294.a('node.underlinevisible',false);
- Node294.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node294);
- zoomNodeList.push({
- node: Node294,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node295 = new ht.Node();
- var Node295textStart, Node295textWidth, Node295lineStart, Node295align = 'left', Node295fontSize = 13.3333*_ratio.ratioY,Node295width = 19*_ratio.ratioX, Node295height = 16*_ratio.ratioY;
- (function () {
- if (Node295align === 'left') {
- Node295textStart = Node295fontSize * 0.2 > 2 ? Node295fontSize * 0.2 - 4 : Node295fontSize * 0.2 - 9;
- Node295textWidth = Node295width;
- Node295lineStart = 1;
- } else if (Node295align === 'right') {
- Node295textStart = 0;
- Node295textWidth =Node295fontSize <= 8 ? Node295width + Node295fontSize * 0.2 + 6 : Node295width - Node295fontSize * 0.2;
- Node295lineStart = (Node295width - (ht.Default.getTextSize('台', ' '+ Node295fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node295align === 'center') {
- Node295textStart = -3;
- Node295textWidth = Node295width;
- Node295lineStart = Node295width - ht.Default.getTextSize('台', ' '+ Node295fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node295.setImage(GD.getTextJSON(Node295width, Node295height, true, false, false, ' '+ Node295fontSize + 'px "UniDreamLED"'))
- Node295.setPosition(369*ratio.ratioX, 677*ratio.ratioY);
- Node295.setWidth(Node295width);
- Node295.setHeight(Node295height);
- Node295._nodeType = 'text';
- Node295._disallowEvert = true;
- Node295.setRotation(0*Math.PI/180);
- Node295.a('node.width', Node295width);
- Node295.a('node.height', Node295height);
- Node295.a('node.rect', [0, 0, Node295width, Node295height]);
- Node295.a('node.bordercolor','rgba(64,64,64,1)');
- Node295.a('node.borderwidth', 0);
- Node295.a('node.background','' || 'rgba(0,0,0,0)');
- Node295.a('node.gradient','');
- Node295.a('node.gradientcolor','');
- Node295.a('node.text','台');
- Node295.a('node.textalign','left');
- Node295.a('node.textvAlign','middle');
- Node295.a('node.textrect', [Node295textStart, 0, Node295textWidth, Node295height]);
- Node295.a('node.color','rgba(64,64,64,1)');
- Node295.a('node.font',' '+ Node295fontSize + 'px "UniDreamLED"');
- Node295.a('node.textvisible',true);
- Node295.a('node.linefeed',false);
- if (false) {
- Node295.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node295.a('node.text') || '台';
- var color=Node295.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node295width,Node295height,13.3333*_ratio.ratioY,"left",color,' '+ Node295fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node295.a('node.underlinepoints',[Node295lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node295fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node295fontSize + 'px "UniDreamLED"').width + 6, (Node295height - Node295fontSize) * 0.5*_ratio.ratioY + Node295fontSize + 2 ]);
- Node295.a('node.underlinevisible',false);
- Node295.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node295);
- zoomNodeList.push({
- node: Node295,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node296 = new ht.Node();
- var Node296textStart, Node296textWidth, Node296lineStart, Node296align = 'left', Node296fontSize = 13.3333*_ratio.ratioY,Node296width = 19*_ratio.ratioX, Node296height = 16*_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('台', ' '+ Node296fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node296align === 'center') {
- Node296textStart = -3;
- Node296textWidth = Node296width;
- Node296lineStart = Node296width - ht.Default.getTextSize('台', ' '+ Node296fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node296.setImage(GD.getTextJSON(Node296width, Node296height, true, false, false, ' '+ Node296fontSize + 'px "UniDreamLED"'))
- Node296.setPosition(370*ratio.ratioX, 706*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(64,64,64,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','台');
- Node296.a('node.textalign','left');
- Node296.a('node.textvAlign','middle');
- Node296.a('node.textrect', [Node296textStart, 0, Node296textWidth, Node296height]);
- Node296.a('node.color','rgba(64,64,64,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') || '台';
- var color=Node296.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node296width,Node296height,13.3333*_ratio.ratioY,"left",color,' '+ Node296fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node296.a('node.underlinepoints',[Node296lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node296fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 Node297type = 'rect';
- var Node297 = new ht.Node(),
- Node297BorderWidth = 0*2;
- if (Node297type === 'arc') {
- Node297BorderWidth *= 0;
- }
- Node297.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node297type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node297.setPosition(623*ratio.ratioX, 708*ratio.ratioY);
- Node297.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node297.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node297.a('node.width', 66*_ratio.ratioX);
- Node297.a('node.height', 30*_ratio.ratioY);
- Node297.a('node.type', Node297type);
- Node297.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node297.a('node.background', 'rgba(245,245,245,1)');
- Node297.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node297.a('node.gradient', '');
- Node297.a('node.borderwidth', Node297BorderWidth);
- Node297.a('node.color', 'rgba(224,224,224,0)');
- Node297.a('node.fillrect', [0,0,0,0]);
- Node297.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node297.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node297.a('node.fillgradient', '');
- if (Node297type !== 'rect') {
- Node297.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node297.a('node.arcTo', parseFloat('@arcTo@'));
- Node297.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node297type === 'arc') {
- Node297.a('node.arcOval', true);
- }
- Node297.setRotation(0*Math.PI/180);
- Node297.borderWidth = Node297BorderWidth;
- Node297.borderFillwidth = Node297BorderWidth;
- dataModel.add(Node297);
- Node297._nodename = 'Node297'
- Node297._nodeType = 'rect';
- zoomNodeList.push({
- node: Node297,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node297, Node297.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node298type = 'rect';
- var Node298 = new ht.Node(),
- Node298BorderWidth = 0*2;
- if (Node298type === 'arc') {
- Node298BorderWidth *= 0;
- }
- Node298.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node298type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node298.setPosition(623*ratio.ratioX, 677*ratio.ratioY);
- Node298.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node298.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node298.a('node.width', 66*_ratio.ratioX);
- Node298.a('node.height', 30*_ratio.ratioY);
- Node298.a('node.type', Node298type);
- Node298.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node298.a('node.background', 'rgba(245,245,245,1)');
- Node298.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node298.a('node.gradient', '');
- Node298.a('node.borderwidth', Node298BorderWidth);
- Node298.a('node.color', 'rgba(224,224,224,0)');
- Node298.a('node.fillrect', [0,0,0,0]);
- Node298.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node298.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node298.a('node.fillgradient', '');
- if (Node298type !== 'rect') {
- Node298.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node298.a('node.arcTo', parseFloat('@arcTo@'));
- Node298.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node298type === 'arc') {
- Node298.a('node.arcOval', true);
- }
- Node298.setRotation(0*Math.PI/180);
- Node298.borderWidth = Node298BorderWidth;
- Node298.borderFillwidth = Node298BorderWidth;
- dataModel.add(Node298);
- Node298._nodename = 'Node298'
- Node298._nodeType = 'rect';
- zoomNodeList.push({
- node: Node298,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node298, Node298.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node299type = 'rect';
- var Node299 = new ht.Node(),
- Node299BorderWidth = 0*2;
- if (Node299type === 'arc') {
- Node299BorderWidth *= 0;
- }
- Node299.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node299type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node299.setPosition(623*ratio.ratioX, 646*ratio.ratioY);
- Node299.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node299.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node299.a('node.width', 66*_ratio.ratioX);
- Node299.a('node.height', 30*_ratio.ratioY);
- Node299.a('node.type', Node299type);
- Node299.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node299.a('node.background', 'rgba(245,245,245,1)');
- Node299.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node299.a('node.gradient', '');
- Node299.a('node.borderwidth', Node299BorderWidth);
- Node299.a('node.color', 'rgba(224,224,224,0)');
- Node299.a('node.fillrect', [0,0,0,0]);
- Node299.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node299.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node299.a('node.fillgradient', '');
- if (Node299type !== 'rect') {
- Node299.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node299.a('node.arcTo', parseFloat('@arcTo@'));
- Node299.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node299type === 'arc') {
- Node299.a('node.arcOval', true);
- }
- Node299.setRotation(0*Math.PI/180);
- Node299.borderWidth = Node299BorderWidth;
- Node299.borderFillwidth = Node299BorderWidth;
- dataModel.add(Node299);
- Node299._nodename = 'Node299'
- Node299._nodeType = 'rect';
- zoomNodeList.push({
- node: Node299,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node299, Node299.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node300type = 'rect';
- var Node300 = new ht.Node(),
- Node300BorderWidth = 0*2;
- if (Node300type === 'arc') {
- Node300BorderWidth *= 0;
- }
- Node300.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node300type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node300.setPosition(434*ratio.ratioX, 708*ratio.ratioY);
- Node300.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node300.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node300.a('node.width', 66*_ratio.ratioX);
- Node300.a('node.height', 30*_ratio.ratioY);
- Node300.a('node.type', Node300type);
- Node300.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node300.a('node.background', 'rgba(245,245,245,1)');
- Node300.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node300.a('node.gradient', '');
- Node300.a('node.borderwidth', Node300BorderWidth);
- Node300.a('node.color', 'rgba(224,224,224,0)');
- Node300.a('node.fillrect', [0,0,0,0]);
- Node300.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node300.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node300.a('node.fillgradient', '');
- if (Node300type !== 'rect') {
- Node300.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node300.a('node.arcTo', parseFloat('@arcTo@'));
- Node300.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node300type === 'arc') {
- Node300.a('node.arcOval', true);
- }
- Node300.setRotation(0*Math.PI/180);
- Node300.borderWidth = Node300BorderWidth;
- Node300.borderFillwidth = Node300BorderWidth;
- dataModel.add(Node300);
- Node300._nodename = 'Node300'
- Node300._nodeType = 'rect';
- zoomNodeList.push({
- node: Node300,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node300, Node300.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node301type = 'rect';
- var Node301 = new ht.Node(),
- Node301BorderWidth = 0*2;
- if (Node301type === 'arc') {
- Node301BorderWidth *= 0;
- }
- Node301.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node301type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node301.setPosition(434*ratio.ratioX, 676*ratio.ratioY);
- Node301.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node301.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node301.a('node.width', 66*_ratio.ratioX);
- Node301.a('node.height', 30*_ratio.ratioY);
- Node301.a('node.type', Node301type);
- Node301.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node301.a('node.background', 'rgba(245,245,245,1)');
- Node301.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node301.a('node.gradient', '');
- Node301.a('node.borderwidth', Node301BorderWidth);
- Node301.a('node.color', 'rgba(224,224,224,0)');
- Node301.a('node.fillrect', [0,0,0,0]);
- Node301.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node301.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node301.a('node.fillgradient', '');
- if (Node301type !== 'rect') {
- Node301.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node301.a('node.arcTo', parseFloat('@arcTo@'));
- Node301.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node301type === 'arc') {
- Node301.a('node.arcOval', true);
- }
- Node301.setRotation(0*Math.PI/180);
- Node301.borderWidth = Node301BorderWidth;
- Node301.borderFillwidth = Node301BorderWidth;
- dataModel.add(Node301);
- Node301._nodename = 'Node301'
- Node301._nodeType = 'rect';
- zoomNodeList.push({
- node: Node301,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node301, Node301.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node302type = 'rect';
- var Node302 = new ht.Node(),
- Node302BorderWidth = 0*2;
- if (Node302type === 'arc') {
- Node302BorderWidth *= 0;
- }
- Node302.setImage(GD.getRectJSON(66*_ratio.ratioX, 30*_ratio.ratioY, Node302type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node302.setPosition(435*ratio.ratioX, 645*ratio.ratioY);
- Node302.setSize(66*_ratio.ratioX, 30*_ratio.ratioY);
- Node302.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node302.a('node.width', 66*_ratio.ratioX);
- Node302.a('node.height', 30*_ratio.ratioY);
- Node302.a('node.type', Node302type);
- Node302.a('node.rect', [0, 0, 66*_ratio.ratioX, 30*_ratio.ratioY]);
- Node302.a('node.background', 'rgba(245,245,245,1)');
- Node302.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node302.a('node.gradient', '');
- Node302.a('node.borderwidth', Node302BorderWidth);
- Node302.a('node.color', 'rgba(224,224,224,0)');
- Node302.a('node.fillrect', [0,0,0,0]);
- Node302.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node302.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node302.a('node.fillgradient', '');
- if (Node302type !== 'rect') {
- Node302.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node302.a('node.arcTo', parseFloat('@arcTo@'));
- Node302.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node302type === 'arc') {
- Node302.a('node.arcOval', true);
- }
- Node302.setRotation(0*Math.PI/180);
- Node302.borderWidth = Node302BorderWidth;
- Node302.borderFillwidth = Node302BorderWidth;
- dataModel.add(Node302);
- Node302._nodename = 'Node302'
- Node302._nodeType = 'rect';
- zoomNodeList.push({
- node: Node302,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node302, Node302.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node303= new ht.Node();
- Node303._borderWidth = 1;
- Node303.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)', Node303._borderWidth);
- g.clip();
- },
- comps: [
- {
- type: 'rect',
- rect: {value: [0, 0, 373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node303.rect'},
- background:{value:'rgba(255,255,255,0.003921569)', func: 'attr@Node303.background'},
- gradient: {value:'', func: 'attr@Node303.gradient'},
- gradientColor:{value:'', func: 'attr@Node303.gradientcolor'},
- borderPattern:{value:getDashStyle("Solid"), func: 'attr@Node303.borderPattern'}
- },
- {
- type: 'rect',
- rect: {value: [0, 0, 0, 0], func: 'attr@Node303.fillrect'},
- background: {value: 'rgba(255,255,255,0.003921569)', func: 'attr@Node303.fillbackcolor'},
- gradientColor: {value: '', func: 'attr@Node303.fillgradientcolor'},
- gradient: {value: '', func: 'attr@Node303.fillgradient'}
- },
- {
- type: 'rect',
- rect: {value: [0,0,373*_ratio.ratioX, 103*_ratio.ratioY], func: 'attr@Node303.rect'},
- dash: false,
- borderwidth: {value: 1, func: 'attr@Node303.borderwidth'},
- borderColor: {value: 'rgba(192,192,192,1)', func: 'attr@Node303.color'},
- borderPattern: {value: getDashStyle('Solid'), func: 'attr@Node303.borderPattern'}
- }
- ]
- });
- var Node303borderwidth = 1;
- var Node303borderFillwidth = 1*2;
- Node303 .setPosition(587*ratio.ratioX,578*ratio.ratioY);
- Node303.setSize(373*_ratio.ratioX, 103*_ratio.ratioY);
- Node303.setRotation(0*Math.PI/180);
- Node303.s({'pixelPerfect':true});
- Node303.a('Node303.borderwidth',1);
- Node303.a('Node303.color','@bordercolor@');
- Node303.a('Node303.background','rgba(255,255,255,0.003921569)');
- Node303.a('Node303.gradient','');
- Node303.a('Node303.gradientcolor','');
- Node303.a('Node303.borderPattern',getDashStyle("Solid"));
- Node303.a('Node303.fillrect',[0,0,0,0]);
- Node303.a('Node303.fillbackcolor','rgba(0, 0, 0, 0)');
- Node303.a('Node303.fillgradientcolor','rgba(0, 0, 0, 0)');
- Node303.a('Node303.fillgradient','');
- Node303borderwidth=1;
- dataModel.add(Node303);
- Node303.borderWidth = 1;
- Node303.borderFillwidth = 1*2;
- Node303._nodename = 'Node303';
- Node303._nodeType = 'roundrect';
- zoomNodeList.push({
- node: Node303,
- attr: 'Node303.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('Node303.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('Node303.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node303, Node303.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node304 = new ht.Node();
- var Node304textStart, Node304textWidth, Node304lineStart, Node304align = 'left', Node304fontSize = 11.99997*_ratio.ratioY,Node304width = 112*_ratio.ratioX, Node304height = 15*_ratio.ratioY;
- (function () {
- if (Node304align === 'left') {
- Node304textStart = Node304fontSize * 0.2 > 2 ? Node304fontSize * 0.2 - 4 : Node304fontSize * 0.2 - 9;
- Node304textWidth = Node304width;
- Node304lineStart = 1;
- } else if (Node304align === 'right') {
- Node304textStart = 0;
- Node304textWidth =Node304fontSize <= 8 ? Node304width + Node304fontSize * 0.2 + 6 : Node304width - Node304fontSize * 0.2;
- Node304lineStart = (Node304width - (ht.Default.getTextSize('阳高采凉山风电场', 'bold '+ Node304fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node304align === 'center') {
- Node304textStart = -3;
- Node304textWidth = Node304width;
- Node304lineStart = Node304width - ht.Default.getTextSize('阳高采凉山风电场', 'bold '+ Node304fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node304.setImage(GD.getTextJSON(Node304width, Node304height, true, false, false, 'bold '+ Node304fontSize + 'px "Arial"'))
- Node304.setPosition(463*ratio.ratioX, 542*ratio.ratioY);
- Node304.setWidth(Node304width);
- Node304.setHeight(Node304height);
- Node304._nodeType = 'text';
- Node304._disallowEvert = true;
- Node304.setRotation(0*Math.PI/180);
- Node304.a('node.width', Node304width);
- Node304.a('node.height', Node304height);
- Node304.a('node.rect', [0, 0, Node304width, Node304height]);
- Node304.a('node.bordercolor','rgba(64,64,64,1)');
- Node304.a('node.borderwidth', 0);
- Node304.a('node.background','' || 'rgba(0,0,0,0)');
- Node304.a('node.gradient','');
- Node304.a('node.gradientcolor','');
- Node304.a('node.text','阳高采凉山风电场');
- Node304.a('node.textalign','left');
- Node304.a('node.textvAlign','middle');
- Node304.a('node.textrect', [Node304textStart, 0, Node304textWidth, Node304height]);
- Node304.a('node.color','rgba(64,64,64,1)');
- Node304.a('node.font','bold '+ Node304fontSize + 'px "Arial"');
- Node304.a('node.textvisible',true);
- Node304.a('node.linefeed',false);
- if (false) {
- Node304.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node304.a('node.text') || '阳高采凉山风电场';
- var color=Node304.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node304width,Node304height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node304fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node304.a('node.underlinepoints',[Node304lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node304fontSize + 2 , ht.Default.getTextSize('阳高采凉山风电场', 'bold '+ Node304fontSize + 'px "Arial"').width + 6, (Node304height - Node304fontSize) * 0.5*_ratio.ratioY + Node304fontSize + 2 ]);
- Node304.a('node.underlinevisible',false);
- Node304.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node304);
- zoomNodeList.push({
- node: Node304,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node305 = GD.createButton(97*_ratio.ratioX, 27*_ratio.ratioY, 682*ratio.ratioX, 542*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 Node306 = new ht.Node();
- var Node306textStart, Node306textWidth, Node306lineStart, Node306align = 'left', Node306fontSize = 11.99997*_ratio.ratioY,Node306width = 23*_ratio.ratioX, Node306height = 15*_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('4.48', ' '+ Node306fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node306align === 'center') {
- Node306textStart = -3;
- Node306textWidth = Node306width;
- Node306lineStart = Node306width - ht.Default.getTextSize('4.48', ' '+ Node306fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node306.setImage(GD.getTextJSON(Node306width, Node306height, true, false, false, ' '+ Node306fontSize + 'px "UniDreamLED"'))
- Node306.setPosition(528*ratio.ratioX, 586*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(0,0,0,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','4.48');
- Node306.a('node.textalign','left');
- Node306.a('node.textvAlign','middle');
- Node306.a('node.textrect', [Node306textStart, 0, Node306textWidth, Node306height]);
- Node306.a('node.color','rgba(0,0,0,1)');
- Node306.a('node.font',' '+ Node306fontSize + 'px "UniDreamLED"');
- 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') || '4.48';
- var color=Node306.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node306width,Node306height,11.99997*_ratio.ratioY,"left",color,' '+ Node306fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node306.a('node.underlinepoints',[Node306lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node306fontSize + 2 , ht.Default.getTextSize('4.48', ' '+ Node306fontSize + 'px "UniDreamLED"').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 Node307 = new ht.Node();
- var Node307textStart, Node307textWidth, Node307lineStart, Node307align = 'left', Node307fontSize = 11.99997*_ratio.ratioY,Node307width = 23*_ratio.ratioX, Node307height = 15*_ratio.ratioY;
- (function () {
- if (Node307align === 'left') {
- Node307textStart = Node307fontSize * 0.2 > 2 ? Node307fontSize * 0.2 - 4 : Node307fontSize * 0.2 - 9;
- Node307textWidth = Node307width;
- Node307lineStart = 1;
- } else if (Node307align === 'right') {
- Node307textStart = 0;
- Node307textWidth =Node307fontSize <= 8 ? Node307width + Node307fontSize * 0.2 + 6 : Node307width - Node307fontSize * 0.2;
- Node307lineStart = (Node307width - (ht.Default.getTextSize('m/s', ' '+ Node307fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node307align === 'center') {
- Node307textStart = -3;
- Node307textWidth = Node307width;
- Node307lineStart = Node307width - ht.Default.getTextSize('m/s', ' '+ Node307fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node307.setImage(GD.getTextJSON(Node307width, Node307height, true, false, false, ' '+ Node307fontSize + 'px "Arial"'))
- Node307.setPosition(528*ratio.ratioX, 607*ratio.ratioY);
- Node307.setWidth(Node307width);
- Node307.setHeight(Node307height);
- Node307._nodeType = 'text';
- Node307._disallowEvert = true;
- Node307.setRotation(0*Math.PI/180);
- Node307.a('node.width', Node307width);
- Node307.a('node.height', Node307height);
- Node307.a('node.rect', [0, 0, Node307width, Node307height]);
- Node307.a('node.bordercolor','rgba(0,0,0,1)');
- Node307.a('node.borderwidth', 0);
- Node307.a('node.background','' || 'rgba(0,0,0,0)');
- Node307.a('node.gradient','');
- Node307.a('node.gradientcolor','');
- Node307.a('node.text','m/s');
- Node307.a('node.textalign','left');
- Node307.a('node.textvAlign','middle');
- Node307.a('node.textrect', [Node307textStart, 0, Node307textWidth, Node307height]);
- Node307.a('node.color','rgba(0,0,0,1)');
- Node307.a('node.font',' '+ Node307fontSize + 'px "Arial"');
- Node307.a('node.textvisible',true);
- Node307.a('node.linefeed',false);
- if (false) {
- Node307.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node307.a('node.text') || 'm/s';
- var color=Node307.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node307width,Node307height,11.99997*_ratio.ratioY,"left",color,' '+ Node307fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node307.a('node.underlinepoints',[Node307lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node307fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node307fontSize + 'px "Arial"').width + 6, (Node307height - Node307fontSize) * 0.5*_ratio.ratioY + Node307fontSize + 2 ]);
- Node307.a('node.underlinevisible',false);
- Node307.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node307);
- zoomNodeList.push({
- node: Node307,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node308 = new ht.Node();
- var Node308textStart, Node308textWidth, Node308lineStart, Node308align = 'left', Node308fontSize = 11.99997*_ratio.ratioY,Node308width = 31*_ratio.ratioX, Node308height = 15*_ratio.ratioY;
- (function () {
- if (Node308align === 'left') {
- Node308textStart = Node308fontSize * 0.2 > 2 ? Node308fontSize * 0.2 - 4 : Node308fontSize * 0.2 - 9;
- Node308textWidth = Node308width;
- Node308lineStart = 1;
- } else if (Node308align === 'right') {
- Node308textStart = 0;
- Node308textWidth =Node308fontSize <= 8 ? Node308width + Node308fontSize * 0.2 + 6 : Node308width - Node308fontSize * 0.2;
- Node308lineStart = (Node308width - (ht.Default.getTextSize('功率', 'bold '+ Node308fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node308align === 'center') {
- Node308textStart = -3;
- Node308textWidth = Node308width;
- Node308lineStart = Node308width - ht.Default.getTextSize('功率', 'bold '+ Node308fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node308.setImage(GD.getTextJSON(Node308width, Node308height, true, false, false, 'bold '+ Node308fontSize + 'px "Arial"'))
- Node308.setPosition(592*ratio.ratioX, 574*ratio.ratioY);
- Node308.setWidth(Node308width);
- Node308.setHeight(Node308height);
- Node308._nodeType = 'text';
- Node308._disallowEvert = true;
- Node308.setRotation(0*Math.PI/180);
- Node308.a('node.width', Node308width);
- Node308.a('node.height', Node308height);
- Node308.a('node.rect', [0, 0, Node308width, Node308height]);
- Node308.a('node.bordercolor','rgba(64,64,64,1)');
- Node308.a('node.borderwidth', 0);
- Node308.a('node.background','' || 'rgba(0,0,0,0)');
- Node308.a('node.gradient','');
- Node308.a('node.gradientcolor','');
- Node308.a('node.text','功率');
- Node308.a('node.textalign','left');
- Node308.a('node.textvAlign','middle');
- Node308.a('node.textrect', [Node308textStart, 0, Node308textWidth, Node308height]);
- Node308.a('node.color','rgba(64,64,64,1)');
- Node308.a('node.font','bold '+ Node308fontSize + 'px "Arial"');
- Node308.a('node.textvisible',true);
- Node308.a('node.linefeed',false);
- if (false) {
- Node308.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node308.a('node.text') || '功率';
- var color=Node308.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node308width,Node308height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node308fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node308.a('node.underlinepoints',[Node308lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node308fontSize + 2 , ht.Default.getTextSize('功率', 'bold '+ Node308fontSize + 'px "Arial"').width + 6, (Node308height - Node308fontSize) * 0.5*_ratio.ratioY + Node308fontSize + 2 ]);
- Node308.a('node.underlinevisible',false);
- Node308.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node308);
- zoomNodeList.push({
- node: Node308,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node309 = new ht.Node();
- var Node309textStart, Node309textWidth, Node309lineStart, Node309align = 'left', Node309fontSize = 11.99997*_ratio.ratioY,Node309width = 44*_ratio.ratioX, Node309height = 15*_ratio.ratioY;
- (function () {
- if (Node309align === 'left') {
- Node309textStart = Node309fontSize * 0.2 > 2 ? Node309fontSize * 0.2 - 4 : Node309fontSize * 0.2 - 9;
- Node309textWidth = Node309width;
- Node309lineStart = 1;
- } else if (Node309align === 'right') {
- Node309textStart = 0;
- Node309textWidth =Node309fontSize <= 8 ? Node309width + Node309fontSize * 0.2 + 6 : Node309width - Node309fontSize * 0.2;
- Node309lineStart = (Node309width - (ht.Default.getTextSize('发电量', 'bold '+ Node309fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node309align === 'center') {
- Node309textStart = -3;
- Node309textWidth = Node309width;
- Node309lineStart = Node309width - ht.Default.getTextSize('发电量', 'bold '+ Node309fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node309.setImage(GD.getTextJSON(Node309width, Node309height, true, false, false, 'bold '+ Node309fontSize + 'px "Arial"'))
- Node309.setPosition(599*ratio.ratioX, 608*ratio.ratioY);
- Node309.setWidth(Node309width);
- Node309.setHeight(Node309height);
- Node309._nodeType = 'text';
- Node309._disallowEvert = true;
- Node309.setRotation(0*Math.PI/180);
- Node309.a('node.width', Node309width);
- Node309.a('node.height', Node309height);
- Node309.a('node.rect', [0, 0, Node309width, Node309height]);
- Node309.a('node.bordercolor','rgba(64,64,64,1)');
- Node309.a('node.borderwidth', 0);
- Node309.a('node.background','' || 'rgba(0,0,0,0)');
- Node309.a('node.gradient','');
- Node309.a('node.gradientcolor','');
- Node309.a('node.text','发电量');
- Node309.a('node.textalign','left');
- Node309.a('node.textvAlign','middle');
- Node309.a('node.textrect', [Node309textStart, 0, Node309textWidth, Node309height]);
- Node309.a('node.color','rgba(64,64,64,1)');
- Node309.a('node.font','bold '+ Node309fontSize + 'px "Arial"');
- Node309.a('node.textvisible',true);
- Node309.a('node.linefeed',false);
- if (false) {
- Node309.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node309.a('node.text') || '发电量';
- var color=Node309.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node309width,Node309height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node309fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node309.a('node.underlinepoints',[Node309lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node309fontSize + 2 , ht.Default.getTextSize('发电量', 'bold '+ Node309fontSize + 'px "Arial"').width + 6, (Node309height - Node309fontSize) * 0.5*_ratio.ratioY + Node309fontSize + 2 ]);
- Node309.a('node.underlinevisible',false);
- Node309.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node309);
- zoomNodeList.push({
- node: Node309,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node310 = new ht.Node();
- var Node310textStart, Node310textWidth, Node310lineStart, Node310align = 'left', Node310fontSize = 13.3333*_ratio.ratioY,Node310width = 19*_ratio.ratioX, Node310height = 16*_ratio.ratioY;
- (function () {
- if (Node310align === 'left') {
- Node310textStart = Node310fontSize * 0.2 > 2 ? Node310fontSize * 0.2 - 4 : Node310fontSize * 0.2 - 9;
- Node310textWidth = Node310width;
- Node310lineStart = 1;
- } else if (Node310align === 'right') {
- Node310textStart = 0;
- Node310textWidth =Node310fontSize <= 8 ? Node310width + Node310fontSize * 0.2 + 6 : Node310width - Node310fontSize * 0.2;
- Node310lineStart = (Node310width - (ht.Default.getTextSize('台', ' '+ Node310fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node310align === 'center') {
- Node310textStart = -3;
- Node310textWidth = Node310width;
- Node310lineStart = Node310width - ht.Default.getTextSize('台', ' '+ Node310fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node310.setImage(GD.getTextJSON(Node310width, Node310height, true, false, false, ' '+ Node310fontSize + 'px "Arial"'))
- Node310.setPosition(742*ratio.ratioX, 543*ratio.ratioY);
- Node310.setWidth(Node310width);
- Node310.setHeight(Node310height);
- Node310._nodeType = 'text';
- Node310._disallowEvert = true;
- Node310.setRotation(0*Math.PI/180);
- Node310.a('node.width', Node310width);
- Node310.a('node.height', Node310height);
- Node310.a('node.rect', [0, 0, Node310width, Node310height]);
- Node310.a('node.bordercolor','rgba(64,64,64,1)');
- Node310.a('node.borderwidth', 0);
- Node310.a('node.background','' || 'rgba(0,0,0,0)');
- Node310.a('node.gradient','');
- Node310.a('node.gradientcolor','');
- Node310.a('node.text','台');
- Node310.a('node.textalign','left');
- Node310.a('node.textvAlign','middle');
- Node310.a('node.textrect', [Node310textStart, 0, Node310textWidth, Node310height]);
- Node310.a('node.color','rgba(64,64,64,1)');
- Node310.a('node.font',' '+ Node310fontSize + 'px "Arial"');
- Node310.a('node.textvisible',true);
- Node310.a('node.linefeed',false);
- if (false) {
- Node310.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node310.a('node.text') || '台';
- var color=Node310.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node310width,Node310height,13.3333*_ratio.ratioY,"left",color,' '+ Node310fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node310.a('node.underlinepoints',[Node310lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node310fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node310fontSize + 'px "Arial"').width + 6, (Node310height - Node310fontSize) * 0.5*_ratio.ratioY + Node310fontSize + 2 ]);
- Node310.a('node.underlinevisible',false);
- Node310.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node310);
- zoomNodeList.push({
- node: Node310,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node311 = new ht.Node();
- var Node311textStart, Node311textWidth, Node311lineStart, Node311align = 'left', Node311fontSize = 13.3333*_ratio.ratioY,Node311width = 28*_ratio.ratioX, Node311height = 16*_ratio.ratioY;
- (function () {
- if (Node311align === 'left') {
- Node311textStart = Node311fontSize * 0.2 > 2 ? Node311fontSize * 0.2 - 4 : Node311fontSize * 0.2 - 9;
- Node311textWidth = Node311width;
- Node311lineStart = 1;
- } else if (Node311align === 'right') {
- Node311textStart = 0;
- Node311textWidth =Node311fontSize <= 8 ? Node311width + Node311fontSize * 0.2 + 6 : Node311width - Node311fontSize * 0.2;
- Node311lineStart = (Node311width - (ht.Default.getTextSize('MW', ' '+ Node311fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node311align === 'center') {
- Node311textStart = -3;
- Node311textWidth = Node311width;
- Node311lineStart = Node311width - ht.Default.getTextSize('MW', ' '+ Node311fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node311.setImage(GD.getTextJSON(Node311width, Node311height, true, false, false, ' '+ Node311fontSize + 'px "Arial"'))
- Node311.setPosition(739*ratio.ratioX, 573*ratio.ratioY);
- Node311.setWidth(Node311width);
- Node311.setHeight(Node311height);
- Node311._nodeType = 'text';
- Node311._disallowEvert = true;
- Node311.setRotation(0*Math.PI/180);
- Node311.a('node.width', Node311width);
- Node311.a('node.height', Node311height);
- Node311.a('node.rect', [0, 0, Node311width, Node311height]);
- Node311.a('node.bordercolor','rgba(64,64,64,1)');
- Node311.a('node.borderwidth', 0);
- Node311.a('node.background','' || 'rgba(0,0,0,0)');
- Node311.a('node.gradient','');
- Node311.a('node.gradientcolor','');
- Node311.a('node.text','MW');
- Node311.a('node.textalign','left');
- Node311.a('node.textvAlign','middle');
- Node311.a('node.textrect', [Node311textStart, 0, Node311textWidth, Node311height]);
- Node311.a('node.color','rgba(64,64,64,1)');
- Node311.a('node.font',' '+ Node311fontSize + 'px "Arial"');
- Node311.a('node.textvisible',true);
- Node311.a('node.linefeed',false);
- if (false) {
- Node311.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node311.a('node.text') || 'MW';
- var color=Node311.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node311width,Node311height,13.3333*_ratio.ratioY,"left",color,' '+ Node311fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node311.a('node.underlinepoints',[Node311lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node311fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node311fontSize + 'px "Arial"').width + 6, (Node311height - Node311fontSize) * 0.5*_ratio.ratioY + Node311fontSize + 2 ]);
- Node311.a('node.underlinevisible',false);
- Node311.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node311);
- zoomNodeList.push({
- node: Node311,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node312 = new ht.Node();
- var Node312textStart, Node312textWidth, Node312lineStart, Node312align = 'left', Node312fontSize = 13.3333*_ratio.ratioY,Node312width = 43*_ratio.ratioX, Node312height = 16*_ratio.ratioY;
- (function () {
- if (Node312align === 'left') {
- Node312textStart = Node312fontSize * 0.2 > 2 ? Node312fontSize * 0.2 - 4 : Node312fontSize * 0.2 - 9;
- Node312textWidth = Node312width;
- Node312lineStart = 1;
- } else if (Node312align === 'right') {
- Node312textStart = 0;
- Node312textWidth =Node312fontSize <= 8 ? Node312width + Node312fontSize * 0.2 + 6 : Node312width - Node312fontSize * 0.2;
- Node312lineStart = (Node312width - (ht.Default.getTextSize('万kwh', ' '+ Node312fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node312align === 'center') {
- Node312textStart = -3;
- Node312textWidth = Node312width;
- Node312lineStart = Node312width - ht.Default.getTextSize('万kwh', ' '+ Node312fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node312.setImage(GD.getTextJSON(Node312width, Node312height, true, false, false, ' '+ Node312fontSize + 'px "Arial"'))
- Node312.setPosition(747*ratio.ratioX, 608*ratio.ratioY);
- Node312.setWidth(Node312width);
- Node312.setHeight(Node312height);
- Node312._nodeType = 'text';
- Node312._disallowEvert = true;
- Node312.setRotation(0*Math.PI/180);
- Node312.a('node.width', Node312width);
- Node312.a('node.height', Node312height);
- Node312.a('node.rect', [0, 0, Node312width, Node312height]);
- Node312.a('node.bordercolor','rgba(64,64,64,1)');
- Node312.a('node.borderwidth', 0);
- Node312.a('node.background','' || 'rgba(0,0,0,0)');
- Node312.a('node.gradient','');
- Node312.a('node.gradientcolor','');
- Node312.a('node.text','万kwh');
- Node312.a('node.textalign','left');
- Node312.a('node.textvAlign','middle');
- Node312.a('node.textrect', [Node312textStart, 0, Node312textWidth, Node312height]);
- Node312.a('node.color','rgba(64,64,64,1)');
- Node312.a('node.font',' '+ Node312fontSize + 'px "Arial"');
- Node312.a('node.textvisible',true);
- Node312.a('node.linefeed',false);
- if (false) {
- Node312.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node312.a('node.text') || '万kwh';
- var color=Node312.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node312width,Node312height,13.3333*_ratio.ratioY,"left",color,' '+ Node312fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node312.a('node.underlinepoints',[Node312lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node312fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node312fontSize + 'px "Arial"').width + 6, (Node312height - Node312fontSize) * 0.5*_ratio.ratioY + Node312fontSize + 2 ]);
- Node312.a('node.underlinevisible',false);
- Node312.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node312);
- zoomNodeList.push({
- node: Node312,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node313type = 'rect';
- var Node313 = new ht.Node(),
- Node313BorderWidth = 1*2;
- if (Node313type === 'arc') {
- Node313BorderWidth *= 1;
- }
- Node313.setImage(GD.getRectJSON(373*_ratio.ratioX, 93*_ratio.ratioY, Node313type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node313.setPosition(587*ratio.ratioX, 676*ratio.ratioY);
- Node313.setSize(373*_ratio.ratioX, 93*_ratio.ratioY);
- Node313.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node313.a('node.width', 373*_ratio.ratioX);
- Node313.a('node.height', 93*_ratio.ratioY);
- Node313.a('node.type', Node313type);
- Node313.a('node.rect', [0, 0, 373*_ratio.ratioX, 93*_ratio.ratioY]);
- Node313.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node313.a('node.gradientcolor', '');
- Node313.a('node.gradient', '');
- Node313.a('node.borderwidth', Node313BorderWidth);
- Node313.a('node.color', 'rgba(192,192,192,1)');
- Node313.a('node.fillrect', [0,0,0,0]);
- Node313.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node313.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node313.a('node.fillgradient', '');
- if (Node313type !== 'rect') {
- Node313.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node313.a('node.arcTo', parseFloat('@arcTo@'));
- Node313.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node313type === 'arc') {
- Node313.a('node.arcOval', true);
- }
- Node313.setRotation(0*Math.PI/180);
- Node313.borderWidth = Node313BorderWidth;
- Node313.borderFillwidth = Node313BorderWidth;
- dataModel.add(Node313);
- Node313._nodename = 'Node313'
- Node313._nodeType = 'rect';
- zoomNodeList.push({
- node: Node313,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node313, Node313.getImage());var Node314points=[401, 661,774, 661],
- Node314rect=ht.Default.unionPoint([{x:401,y:661},{x:774,y:661}]),
- Node314compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, 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=[401, 692,774, 692],
- Node315rect=ht.Default.unionPoint([{x:401,y:692},{x:774,y:692}]),
- 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);
- var Node316points=[468, 631,468, 722],
- Node316rect=ht.Default.unionPoint([{x:468,y:631},{x:468,y:722}]),
- Node316compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node316points.length;i++){
- if(i%2==0){
- Node316compspts.push(Node316points[i]-Node316rect.x);
- }else{
- Node316compspts.push(Node316points[i]-Node316rect.y);
- }
- }
- var Node316ptslength=Node316compspts.length;
- if (Node316rect.height === 0) {
- Node316compspts[0] -= 0;
- Node316compspts[Node316ptslength-2] += 0;
- } else if (Node316rect.width === 0){
- Node316compspts[1] -= 0;
- Node316compspts[Node316ptslength-1] += 0;
- } else {
- Node316compspts[0] -= 0;
- Node316compspts[1] -= 0;
- Node316compspts[Node316ptslength-2] += 0;
- Node316compspts[Node316ptslength-1] += 0;
- }
- Node316 = new ht.Node();
- Node316.borderWidth = 1;
- Node316rect.width = Node316rect.width === 0 ? 0.0001 : Node316rect.width;
- Node316rect.height = Node316rect.height === 0 ? 0.0001 : Node316rect.height;
- var Node316endCompspts = [Node316compspts[Node316ptslength-2],Node316compspts[Node316ptslength-1],0,0];
- var Node316startCompspts = [Node316compspts[0],Node316compspts[1],0,0];
- Node316.setImage(GD.getPolyLineJSON());
- Node316.setPosition(Node316rect.x+Node316rect.width/2,Node316rect.y+Node316rect.height/2);
- Node316.setSize(Node316rect.width,Node316rect.height);
- Node316.setStyle("opacity",1);
- Node316.s({'pixelPerfect':true});
- Node316borderwidth=1;
- Node316.setRotation(0);
- dataModel.add(Node316);
- Node316.a('node.points',Node316compspts);
- Node316.a('node.segments',[1,2]);
- Node316.a('node.color','rgba(192,192,192,1)');
- Node316.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node316.a('node.borderColor','rgba(192,192,192,1)');
- Node316.a('node.background','rgba(192,192,192,1)');
- Node316.a('node.gradient','');
- Node316.a('node.gradientcolor','rgba(192,192,192,1)');
- Node316.a('node.endCompspts',Node316endCompspts);
- Node316.a('node.startCompspts',Node316startCompspts);
- (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 = 'Node316';
- 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);
- }
- })(Node316, Node316.getImage(), Node316compspts, Node316endCompspts, Node316startCompspts);
- var Node317points=[554, 630,554, 722],
- Node317rect=ht.Default.unionPoint([{x:554,y:630},{x:554,y:722}]),
- Node317compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node317points.length;i++){
- if(i%2==0){
- Node317compspts.push(Node317points[i]-Node317rect.x);
- }else{
- Node317compspts.push(Node317points[i]-Node317rect.y);
- }
- }
- var Node317ptslength=Node317compspts.length;
- if (Node317rect.height === 0) {
- Node317compspts[0] -= 0;
- Node317compspts[Node317ptslength-2] += 0;
- } else if (Node317rect.width === 0){
- Node317compspts[1] -= 0;
- Node317compspts[Node317ptslength-1] += 0;
- } else {
- Node317compspts[0] -= 0;
- Node317compspts[1] -= 0;
- Node317compspts[Node317ptslength-2] += 0;
- Node317compspts[Node317ptslength-1] += 0;
- }
- Node317 = new ht.Node();
- Node317.borderWidth = 1;
- Node317rect.width = Node317rect.width === 0 ? 0.0001 : Node317rect.width;
- Node317rect.height = Node317rect.height === 0 ? 0.0001 : Node317rect.height;
- var Node317endCompspts = [Node317compspts[Node317ptslength-2],Node317compspts[Node317ptslength-1],0,0];
- var Node317startCompspts = [Node317compspts[0],Node317compspts[1],0,0];
- Node317.setImage(GD.getPolyLineJSON());
- Node317.setPosition(Node317rect.x+Node317rect.width/2,Node317rect.y+Node317rect.height/2);
- Node317.setSize(Node317rect.width,Node317rect.height);
- Node317.setStyle("opacity",1);
- Node317.s({'pixelPerfect':true});
- Node317borderwidth=1;
- Node317.setRotation(0);
- dataModel.add(Node317);
- Node317.a('node.points',Node317compspts);
- Node317.a('node.segments',[1,2]);
- Node317.a('node.color','rgba(192,192,192,1)');
- Node317.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node317.a('node.borderColor','rgba(192,192,192,1)');
- Node317.a('node.background','rgba(192,192,192,1)');
- Node317.a('node.gradient','');
- Node317.a('node.gradientcolor','rgba(192,192,192,1)');
- Node317.a('node.endCompspts',Node317endCompspts);
- Node317.a('node.startCompspts',Node317startCompspts);
- (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 = 'Node317';
- 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);
- }
- })(Node317, Node317.getImage(), Node317compspts, Node317endCompspts, Node317startCompspts);
- var Node318points=[589, 631,589, 722],
- Node318rect=ht.Default.unionPoint([{x:589,y:631},{x:589,y:722}]),
- Node318compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node318points.length;i++){
- if(i%2==0){
- Node318compspts.push(Node318points[i]-Node318rect.x);
- }else{
- Node318compspts.push(Node318points[i]-Node318rect.y);
- }
- }
- var Node318ptslength=Node318compspts.length;
- if (Node318rect.height === 0) {
- Node318compspts[0] -= 0;
- Node318compspts[Node318ptslength-2] += 0;
- } else if (Node318rect.width === 0){
- Node318compspts[1] -= 0;
- Node318compspts[Node318ptslength-1] += 0;
- } else {
- Node318compspts[0] -= 0;
- Node318compspts[1] -= 0;
- Node318compspts[Node318ptslength-2] += 0;
- Node318compspts[Node318ptslength-1] += 0;
- }
- Node318 = new ht.Node();
- Node318.borderWidth = 1;
- Node318rect.width = Node318rect.width === 0 ? 0.0001 : Node318rect.width;
- Node318rect.height = Node318rect.height === 0 ? 0.0001 : Node318rect.height;
- var Node318endCompspts = [Node318compspts[Node318ptslength-2],Node318compspts[Node318ptslength-1],0,0];
- var Node318startCompspts = [Node318compspts[0],Node318compspts[1],0,0];
- Node318.setImage(GD.getPolyLineJSON());
- Node318.setPosition(Node318rect.x+Node318rect.width/2,Node318rect.y+Node318rect.height/2);
- Node318.setSize(Node318rect.width,Node318rect.height);
- Node318.setStyle("opacity",1);
- Node318.s({'pixelPerfect':true});
- Node318borderwidth=1;
- Node318.setRotation(0);
- dataModel.add(Node318);
- Node318.a('node.points',Node318compspts);
- Node318.a('node.segments',[1,2]);
- Node318.a('node.color','rgba(192,192,192,1)');
- Node318.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node318.a('node.borderColor','rgba(192,192,192,1)');
- Node318.a('node.background','rgba(192,192,192,1)');
- Node318.a('node.gradient','');
- Node318.a('node.gradientcolor','rgba(192,192,192,1)');
- Node318.a('node.endCompspts',Node318endCompspts);
- Node318.a('node.startCompspts',Node318startCompspts);
- (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 = 'Node318';
- 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);
- }
- })(Node318, Node318.getImage(), Node318compspts, Node318endCompspts, Node318startCompspts);
- var Node319points=[657, 631,657, 723],
- Node319rect=ht.Default.unionPoint([{x:657,y:631},{x:657,y:723}]),
- Node319compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node319points.length;i++){
- if(i%2==0){
- Node319compspts.push(Node319points[i]-Node319rect.x);
- }else{
- Node319compspts.push(Node319points[i]-Node319rect.y);
- }
- }
- var Node319ptslength=Node319compspts.length;
- if (Node319rect.height === 0) {
- Node319compspts[0] -= 0;
- Node319compspts[Node319ptslength-2] += 0;
- } else if (Node319rect.width === 0){
- Node319compspts[1] -= 0;
- Node319compspts[Node319ptslength-1] += 0;
- } else {
- Node319compspts[0] -= 0;
- Node319compspts[1] -= 0;
- Node319compspts[Node319ptslength-2] += 0;
- Node319compspts[Node319ptslength-1] += 0;
- }
- Node319 = new ht.Node();
- Node319.borderWidth = 1;
- Node319rect.width = Node319rect.width === 0 ? 0.0001 : Node319rect.width;
- Node319rect.height = Node319rect.height === 0 ? 0.0001 : Node319rect.height;
- var Node319endCompspts = [Node319compspts[Node319ptslength-2],Node319compspts[Node319ptslength-1],0,0];
- var Node319startCompspts = [Node319compspts[0],Node319compspts[1],0,0];
- Node319.setImage(GD.getPolyLineJSON());
- Node319.setPosition(Node319rect.x+Node319rect.width/2,Node319rect.y+Node319rect.height/2);
- Node319.setSize(Node319rect.width,Node319rect.height);
- Node319.setStyle("opacity",1);
- Node319.s({'pixelPerfect':true});
- Node319borderwidth=1;
- Node319.setRotation(0);
- dataModel.add(Node319);
- Node319.a('node.points',Node319compspts);
- Node319.a('node.segments',[1,2]);
- Node319.a('node.color','rgba(192,192,192,1)');
- Node319.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node319.a('node.borderColor','rgba(192,192,192,1)');
- Node319.a('node.background','rgba(192,192,192,1)');
- Node319.a('node.gradient','');
- Node319.a('node.gradientcolor','rgba(192,192,192,1)');
- Node319.a('node.endCompspts',Node319endCompspts);
- Node319.a('node.startCompspts',Node319startCompspts);
- (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 = 'Node319';
- 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);
- }
- })(Node319, Node319.getImage(), Node319compspts, Node319endCompspts, Node319startCompspts);
- var Node320points=[728, 631,728, 722],
- Node320rect=ht.Default.unionPoint([{x:728,y:631},{x:728,y:722}]),
- Node320compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node320points.length;i++){
- if(i%2==0){
- Node320compspts.push(Node320points[i]-Node320rect.x);
- }else{
- Node320compspts.push(Node320points[i]-Node320rect.y);
- }
- }
- var Node320ptslength=Node320compspts.length;
- if (Node320rect.height === 0) {
- Node320compspts[0] -= 0;
- Node320compspts[Node320ptslength-2] += 0;
- } else if (Node320rect.width === 0){
- Node320compspts[1] -= 0;
- Node320compspts[Node320ptslength-1] += 0;
- } else {
- Node320compspts[0] -= 0;
- Node320compspts[1] -= 0;
- Node320compspts[Node320ptslength-2] += 0;
- Node320compspts[Node320ptslength-1] += 0;
- }
- Node320 = new ht.Node();
- Node320.borderWidth = 1;
- Node320rect.width = Node320rect.width === 0 ? 0.0001 : Node320rect.width;
- Node320rect.height = Node320rect.height === 0 ? 0.0001 : Node320rect.height;
- var Node320endCompspts = [Node320compspts[Node320ptslength-2],Node320compspts[Node320ptslength-1],0,0];
- var Node320startCompspts = [Node320compspts[0],Node320compspts[1],0,0];
- Node320.setImage(GD.getPolyLineJSON());
- Node320.setPosition(Node320rect.x+Node320rect.width/2,Node320rect.y+Node320rect.height/2);
- Node320.setSize(Node320rect.width,Node320rect.height);
- Node320.setStyle("opacity",1);
- Node320.s({'pixelPerfect':true});
- Node320borderwidth=1;
- Node320.setRotation(0);
- dataModel.add(Node320);
- Node320.a('node.points',Node320compspts);
- Node320.a('node.segments',[1,2]);
- Node320.a('node.color','rgba(192,192,192,1)');
- Node320.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node320.a('node.borderColor','rgba(192,192,192,1)');
- Node320.a('node.background','rgba(192,192,192,1)');
- Node320.a('node.gradient','');
- Node320.a('node.gradientcolor','rgba(192,192,192,1)');
- Node320.a('node.endCompspts',Node320endCompspts);
- Node320.a('node.startCompspts',Node320startCompspts);
- (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 = 'Node320';
- 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);
- }
- })(Node320, Node320.getImage(), Node320compspts, Node320endCompspts, Node320startCompspts);
- var Node321points=[402, 555,774, 555],
- Node321rect=ht.Default.unionPoint([{x:402,y:555},{x:774,y:555}]),
- Node321compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node321points.length;i++){
- if(i%2==0){
- Node321compspts.push(Node321points[i]-Node321rect.x);
- }else{
- Node321compspts.push(Node321points[i]-Node321rect.y);
- }
- }
- var Node321ptslength=Node321compspts.length;
- if (Node321rect.height === 0) {
- Node321compspts[0] -= 0;
- Node321compspts[Node321ptslength-2] += 0;
- } else if (Node321rect.width === 0){
- Node321compspts[1] -= 0;
- Node321compspts[Node321ptslength-1] += 0;
- } else {
- Node321compspts[0] -= 0;
- Node321compspts[1] -= 0;
- Node321compspts[Node321ptslength-2] += 0;
- Node321compspts[Node321ptslength-1] += 0;
- }
- Node321 = new ht.Node();
- Node321.borderWidth = 1;
- Node321rect.width = Node321rect.width === 0 ? 0.0001 : Node321rect.width;
- Node321rect.height = Node321rect.height === 0 ? 0.0001 : Node321rect.height;
- var Node321endCompspts = [Node321compspts[Node321ptslength-2],Node321compspts[Node321ptslength-1],0,0];
- var Node321startCompspts = [Node321compspts[0],Node321compspts[1],0,0];
- Node321.setImage(GD.getPolyLineJSON());
- Node321.setPosition(Node321rect.x+Node321rect.width/2,Node321rect.y+Node321rect.height/2);
- Node321.setSize(Node321rect.width,Node321rect.height);
- Node321.setStyle("opacity",1);
- Node321.s({'pixelPerfect':true});
- Node321borderwidth=1;
- Node321.setRotation(0);
- dataModel.add(Node321);
- Node321.a('node.points',Node321compspts);
- Node321.a('node.segments',[1,2]);
- Node321.a('node.color','rgba(192,192,192,1)');
- Node321.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node321.a('node.borderColor','rgba(192,192,192,1)');
- Node321.a('node.background','rgba(192,192,192,1)');
- Node321.a('node.gradient','');
- Node321.a('node.gradientcolor','rgba(192,192,192,1)');
- Node321.a('node.endCompspts',Node321endCompspts);
- Node321.a('node.startCompspts',Node321startCompspts);
- (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 = 'Node321';
- 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);
- }
- })(Node321, Node321.getImage(), Node321compspts, Node321endCompspts, Node321startCompspts);
- _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 = 34*_ratio.ratioX, Node322height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node322align === 'center') {
- Node322textStart = -3;
- Node322textWidth = Node322width;
- Node322lineStart = Node322width - ht.Default.getTextSize('并网', ' '+ Node322fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node322.setImage(GD.getTextJSON(Node322width, Node322height, true, false, false, ' '+ Node322fontSize + 'px "Arial"'))
- Node322.setPosition(431*ratio.ratioX, 647*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(128,128,255,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(128,128,255,1)');
- Node322.a('node.font',' '+ Node322fontSize + 'px "Arial"');
- 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(128,128,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node322width,Node322height,13.3333*_ratio.ratioY,"left",color,' '+ Node322fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node322.a('node.underlinepoints',[Node322lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node322fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node322fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node323height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node323align === 'center') {
- Node323textStart = -3;
- Node323textWidth = Node323width;
- Node323lineStart = Node323width - ht.Default.getTextSize('维护', ' '+ Node323fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node323.setImage(GD.getTextJSON(Node323width, Node323height, true, false, false, ' '+ Node323fontSize + 'px "Arial"'))
- Node323.setPosition(432*ratio.ratioX, 677*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(192,64,0,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(192,64,0,1)');
- Node323.a('node.font',' '+ Node323fontSize + 'px "Arial"');
- 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(192,64,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node323width,Node323height,13.3333*_ratio.ratioY,"left",color,' '+ Node323fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node323.a('node.underlinepoints',[Node323lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node323fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node323fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node324height = 16*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node324align === 'center') {
- Node324textStart = -3;
- Node324textWidth = Node324width;
- Node324lineStart = Node324width - ht.Default.getTextSize('限电', ' '+ Node324fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node324.setImage(GD.getTextJSON(Node324width, Node324height, true, false, false, ' '+ Node324fontSize + 'px "Arial"'))
- Node324.setPosition(432*ratio.ratioX, 707*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(128,0,128,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(128,0,128,1)');
- Node324.a('node.font',' '+ Node324fontSize + 'px "Arial"');
- 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(128,0,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node324width,Node324height,13.3333*_ratio.ratioY,"left",color,' '+ Node324fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node324.a('node.underlinepoints',[Node324lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node324fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node324fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node325height = 16*_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('待机', ' '+ Node325fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node325align === 'center') {
- Node325textStart = -3;
- Node325textWidth = Node325width;
- Node325lineStart = Node325width - ht.Default.getTextSize('待机', ' '+ Node325fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node325.setImage(GD.getTextJSON(Node325width, Node325height, true, false, false, ' '+ Node325fontSize + 'px "Arial"'))
- Node325.setPosition(621*ratio.ratioX, 647*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(0,128,0,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','待机');
- Node325.a('node.textalign','left');
- Node325.a('node.textvAlign','middle');
- Node325.a('node.textrect', [Node325textStart, 0, Node325textWidth, Node325height]);
- Node325.a('node.color','rgba(0,128,0,1)');
- Node325.a('node.font',' '+ Node325fontSize + 'px "Arial"');
- 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') || '待机';
- var color=Node325.a('node.color') || 'rgba(0,128,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node325width,Node325height,13.3333*_ratio.ratioY,"left",color,' '+ Node325fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node325.a('node.underlinepoints',[Node325lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node325fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node325fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node326height = 16*_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('故障', ' '+ Node326fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node326align === 'center') {
- Node326textStart = -3;
- Node326textWidth = Node326width;
- Node326lineStart = Node326width - ht.Default.getTextSize('故障', ' '+ Node326fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node326.setImage(GD.getTextJSON(Node326width, Node326height, true, false, false, ' '+ Node326fontSize + 'px "Arial"'))
- Node326.setPosition(622*ratio.ratioX, 677*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(192,0,0,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','故障');
- Node326.a('node.textalign','left');
- Node326.a('node.textvAlign','middle');
- Node326.a('node.textrect', [Node326textStart, 0, Node326textWidth, Node326height]);
- Node326.a('node.color','rgba(192,0,0,1)');
- Node326.a('node.font',' '+ Node326fontSize + 'px "Arial"');
- 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') || '故障';
- var color=Node326.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node326width,Node326height,13.3333*_ratio.ratioY,"left",color,' '+ Node326fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node326.a('node.underlinepoints',[Node326lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node326fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node326fontSize + 'px "Arial"').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 = 34*_ratio.ratioX, Node327height = 16*_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('离线', ' '+ Node327fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node327align === 'center') {
- Node327textStart = -3;
- Node327textWidth = Node327width;
- Node327lineStart = Node327width - ht.Default.getTextSize('离线', ' '+ Node327fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node327.setImage(GD.getTextJSON(Node327width, Node327height, true, false, false, ' '+ Node327fontSize + 'px "Arial"'))
- Node327.setPosition(622*ratio.ratioX, 707*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(128,128,128,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','离线');
- Node327.a('node.textalign','left');
- Node327.a('node.textvAlign','middle');
- Node327.a('node.textrect', [Node327textStart, 0, Node327textWidth, Node327height]);
- Node327.a('node.color','rgba(128,128,128,1)');
- Node327.a('node.font',' '+ Node327fontSize + 'px "Arial"');
- 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') || '离线';
- var color=Node327.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node327width,Node327height,13.3333*_ratio.ratioY,"left",color,' '+ Node327fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node327.a('node.underlinepoints',[Node327lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node327fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node327fontSize + 'px "Arial"').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 = 19*_ratio.ratioX, Node328height = 16*_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('台', ' '+ Node328fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node328align === 'center') {
- Node328textStart = -3;
- Node328textWidth = Node328width;
- Node328lineStart = Node328width - ht.Default.getTextSize('台', ' '+ Node328fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node328.setImage(GD.getTextJSON(Node328width, Node328height, true, false, false, ' '+ Node328fontSize + 'px "UniDreamLED"'))
- Node328.setPosition(570*ratio.ratioX, 647*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','台');
- 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') || '台';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node328fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 19*_ratio.ratioX, Node329height = 16*_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('台', ' '+ Node329fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node329align === 'center') {
- Node329textStart = -3;
- Node329textWidth = Node329width;
- Node329lineStart = Node329width - ht.Default.getTextSize('台', ' '+ Node329fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node329.setImage(GD.getTextJSON(Node329width, Node329height, true, false, false, ' '+ Node329fontSize + 'px "UniDreamLED"'))
- Node329.setPosition(570*ratio.ratioX, 678*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','台');
- 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') || '台';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node329fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 19*_ratio.ratioX, Node330height = 16*_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('台', ' '+ Node330fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node330align === 'center') {
- Node330textStart = -3;
- Node330textWidth = Node330width;
- Node330lineStart = Node330width - ht.Default.getTextSize('台', ' '+ Node330fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node330.setImage(GD.getTextJSON(Node330width, Node330height, true, false, false, ' '+ Node330fontSize + 'px "UniDreamLED"'))
- Node330.setPosition(571*ratio.ratioX, 707*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','台');
- 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') || '台';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node330fontSize + 2 , ht.Default.getTextSize('台', ' '+ 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 = 19*_ratio.ratioX, Node331height = 16*_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('132', ' '+ Node331fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node331align === 'center') {
- Node331textStart = -3;
- Node331textWidth = Node331width;
- Node331lineStart = Node331width - ht.Default.getTextSize('132', ' '+ Node331fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node331.setImage(GD.getTextJSON(Node331width, Node331height, true, false, false, ' '+ Node331fontSize + 'px "UniDreamLED"'))
- Node331.setPosition(515*ratio.ratioX, 647*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','132');
- 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') || '132';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node331fontSize + 2 , ht.Default.getTextSize('132', ' '+ 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 = 10*_ratio.ratioX, Node332height = 16*_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('0', ' '+ Node332fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node332align === 'center') {
- Node332textStart = -3;
- Node332textWidth = Node332width;
- Node332lineStart = Node332width - ht.Default.getTextSize('0', ' '+ Node332fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node332.setImage(GD.getTextJSON(Node332width, Node332height, true, false, false, ' '+ Node332fontSize + 'px "UniDreamLED"'))
- Node332.setPosition(511*ratio.ratioX, 676*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','0');
- 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') || '0';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node332fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 10*_ratio.ratioX, Node333height = 16*_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('0', ' '+ Node333fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node333align === 'center') {
- Node333textStart = -3;
- Node333textWidth = Node333width;
- Node333lineStart = Node333width - ht.Default.getTextSize('0', ' '+ Node333fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node333.setImage(GD.getTextJSON(Node333width, Node333height, true, false, false, ' '+ Node333fontSize + 'px "UniDreamLED"'))
- Node333.setPosition(511*ratio.ratioX, 707*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','0');
- 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') || '0';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node333fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 Node334 = new ht.Node();
- var Node334textStart, Node334textWidth, Node334lineStart, Node334align = 'left', Node334fontSize = 13.3333*_ratio.ratioY,Node334width = 10*_ratio.ratioX, Node334height = 16*_ratio.ratioY;
- (function () {
- if (Node334align === 'left') {
- Node334textStart = Node334fontSize * 0.2 > 2 ? Node334fontSize * 0.2 - 4 : Node334fontSize * 0.2 - 9;
- Node334textWidth = Node334width;
- Node334lineStart = 1;
- } else if (Node334align === 'right') {
- Node334textStart = 0;
- Node334textWidth =Node334fontSize <= 8 ? Node334width + Node334fontSize * 0.2 + 6 : Node334width - Node334fontSize * 0.2;
- Node334lineStart = (Node334width - (ht.Default.getTextSize('0', ' '+ Node334fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node334align === 'center') {
- Node334textStart = -3;
- Node334textWidth = Node334width;
- Node334lineStart = Node334width - ht.Default.getTextSize('0', ' '+ Node334fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node334.setImage(GD.getTextJSON(Node334width, Node334height, true, false, false, ' '+ Node334fontSize + 'px "UniDreamLED"'))
- Node334.setPosition(688*ratio.ratioX, 647*ratio.ratioY);
- Node334.setWidth(Node334width);
- Node334.setHeight(Node334height);
- Node334._nodeType = 'text';
- Node334._disallowEvert = true;
- Node334.setRotation(0*Math.PI/180);
- Node334.a('node.width', Node334width);
- Node334.a('node.height', Node334height);
- Node334.a('node.rect', [0, 0, Node334width, Node334height]);
- Node334.a('node.bordercolor','rgba(64,64,64,1)');
- Node334.a('node.borderwidth', 0);
- Node334.a('node.background','' || 'rgba(0,0,0,0)');
- Node334.a('node.gradient','');
- Node334.a('node.gradientcolor','');
- Node334.a('node.text','0');
- Node334.a('node.textalign','left');
- Node334.a('node.textvAlign','middle');
- Node334.a('node.textrect', [Node334textStart, 0, Node334textWidth, Node334height]);
- Node334.a('node.color','rgba(64,64,64,1)');
- Node334.a('node.font',' '+ Node334fontSize + 'px "UniDreamLED"');
- Node334.a('node.textvisible',true);
- Node334.a('node.linefeed',false);
- if (false) {
- Node334.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node334.a('node.text') || '0';
- var color=Node334.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node334width,Node334height,13.3333*_ratio.ratioY,"left",color,' '+ Node334fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node334.a('node.underlinepoints',[Node334lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node334fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node334fontSize + 'px "UniDreamLED"').width + 6, (Node334height - Node334fontSize) * 0.5*_ratio.ratioY + Node334fontSize + 2 ]);
- Node334.a('node.underlinevisible',false);
- Node334.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node334);
- zoomNodeList.push({
- node: Node334,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node335 = new ht.Node();
- var Node335textStart, Node335textWidth, Node335lineStart, Node335align = 'left', Node335fontSize = 13.3333*_ratio.ratioY,Node335width = 10*_ratio.ratioX, Node335height = 16*_ratio.ratioY;
- (function () {
- if (Node335align === 'left') {
- Node335textStart = Node335fontSize * 0.2 > 2 ? Node335fontSize * 0.2 - 4 : Node335fontSize * 0.2 - 9;
- Node335textWidth = Node335width;
- Node335lineStart = 1;
- } else if (Node335align === 'right') {
- Node335textStart = 0;
- Node335textWidth =Node335fontSize <= 8 ? Node335width + Node335fontSize * 0.2 + 6 : Node335width - Node335fontSize * 0.2;
- Node335lineStart = (Node335width - (ht.Default.getTextSize('0', ' '+ Node335fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node335align === 'center') {
- Node335textStart = -3;
- Node335textWidth = Node335width;
- Node335lineStart = Node335width - ht.Default.getTextSize('0', ' '+ Node335fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node335.setImage(GD.getTextJSON(Node335width, Node335height, true, false, false, ' '+ Node335fontSize + 'px "UniDreamLED"'))
- Node335.setPosition(688*ratio.ratioX, 676*ratio.ratioY);
- Node335.setWidth(Node335width);
- Node335.setHeight(Node335height);
- Node335._nodeType = 'text';
- Node335._disallowEvert = true;
- Node335.setRotation(0*Math.PI/180);
- Node335.a('node.width', Node335width);
- Node335.a('node.height', Node335height);
- Node335.a('node.rect', [0, 0, Node335width, Node335height]);
- Node335.a('node.bordercolor','rgba(64,64,64,1)');
- Node335.a('node.borderwidth', 0);
- Node335.a('node.background','' || 'rgba(0,0,0,0)');
- Node335.a('node.gradient','');
- Node335.a('node.gradientcolor','');
- Node335.a('node.text','0');
- Node335.a('node.textalign','left');
- Node335.a('node.textvAlign','middle');
- Node335.a('node.textrect', [Node335textStart, 0, Node335textWidth, Node335height]);
- Node335.a('node.color','rgba(64,64,64,1)');
- Node335.a('node.font',' '+ Node335fontSize + 'px "UniDreamLED"');
- Node335.a('node.textvisible',true);
- Node335.a('node.linefeed',false);
- if (false) {
- Node335.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node335.a('node.text') || '0';
- var color=Node335.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node335width,Node335height,13.3333*_ratio.ratioY,"left",color,' '+ Node335fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node335.a('node.underlinepoints',[Node335lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node335fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node335fontSize + 'px "UniDreamLED"').width + 6, (Node335height - Node335fontSize) * 0.5*_ratio.ratioY + Node335fontSize + 2 ]);
- Node335.a('node.underlinevisible',false);
- Node335.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node335);
- zoomNodeList.push({
- node: Node335,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node336 = new ht.Node();
- var Node336textStart, Node336textWidth, Node336lineStart, Node336align = 'left', Node336fontSize = 13.3333*_ratio.ratioY,Node336width = 10*_ratio.ratioX, Node336height = 16*_ratio.ratioY;
- (function () {
- if (Node336align === 'left') {
- Node336textStart = Node336fontSize * 0.2 > 2 ? Node336fontSize * 0.2 - 4 : Node336fontSize * 0.2 - 9;
- Node336textWidth = Node336width;
- Node336lineStart = 1;
- } else if (Node336align === 'right') {
- Node336textStart = 0;
- Node336textWidth =Node336fontSize <= 8 ? Node336width + Node336fontSize * 0.2 + 6 : Node336width - Node336fontSize * 0.2;
- Node336lineStart = (Node336width - (ht.Default.getTextSize('0', ' '+ Node336fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node336align === 'center') {
- Node336textStart = -3;
- Node336textWidth = Node336width;
- Node336lineStart = Node336width - ht.Default.getTextSize('0', ' '+ Node336fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node336.setImage(GD.getTextJSON(Node336width, Node336height, true, false, false, ' '+ Node336fontSize + 'px "UniDreamLED"'))
- Node336.setPosition(688*ratio.ratioX, 707*ratio.ratioY);
- Node336.setWidth(Node336width);
- Node336.setHeight(Node336height);
- Node336._nodeType = 'text';
- Node336._disallowEvert = true;
- Node336.setRotation(0*Math.PI/180);
- Node336.a('node.width', Node336width);
- Node336.a('node.height', Node336height);
- Node336.a('node.rect', [0, 0, Node336width, Node336height]);
- Node336.a('node.bordercolor','rgba(64,64,64,1)');
- Node336.a('node.borderwidth', 0);
- Node336.a('node.background','' || 'rgba(0,0,0,0)');
- Node336.a('node.gradient','');
- Node336.a('node.gradientcolor','');
- Node336.a('node.text','0');
- Node336.a('node.textalign','left');
- Node336.a('node.textvAlign','middle');
- Node336.a('node.textrect', [Node336textStart, 0, Node336textWidth, Node336height]);
- Node336.a('node.color','rgba(64,64,64,1)');
- Node336.a('node.font',' '+ Node336fontSize + 'px "UniDreamLED"');
- Node336.a('node.textvisible',true);
- Node336.a('node.linefeed',false);
- if (false) {
- Node336.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node336.a('node.text') || '0';
- var color=Node336.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node336width,Node336height,13.3333*_ratio.ratioY,"left",color,' '+ Node336fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node336.a('node.underlinepoints',[Node336lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node336fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node336fontSize + 'px "UniDreamLED"').width + 6, (Node336height - Node336fontSize) * 0.5*_ratio.ratioY + Node336fontSize + 2 ]);
- Node336.a('node.underlinevisible',false);
- Node336.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node336);
- zoomNodeList.push({
- node: Node336,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node337 = new ht.Node();
- var Node337textStart, Node337textWidth, Node337lineStart, Node337align = 'left', Node337fontSize = 13.3333*_ratio.ratioY,Node337width = 19*_ratio.ratioX, Node337height = 16*_ratio.ratioY;
- (function () {
- if (Node337align === 'left') {
- Node337textStart = Node337fontSize * 0.2 > 2 ? Node337fontSize * 0.2 - 4 : Node337fontSize * 0.2 - 9;
- Node337textWidth = Node337width;
- Node337lineStart = 1;
- } else if (Node337align === 'right') {
- Node337textStart = 0;
- Node337textWidth =Node337fontSize <= 8 ? Node337width + Node337fontSize * 0.2 + 6 : Node337width - Node337fontSize * 0.2;
- Node337lineStart = (Node337width - (ht.Default.getTextSize('台', ' '+ Node337fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node337align === 'center') {
- Node337textStart = -3;
- Node337textWidth = Node337width;
- Node337lineStart = Node337width - ht.Default.getTextSize('台', ' '+ Node337fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node337.setImage(GD.getTextJSON(Node337width, Node337height, true, false, false, ' '+ Node337fontSize + 'px "UniDreamLED"'))
- Node337.setPosition(746*ratio.ratioX, 646*ratio.ratioY);
- Node337.setWidth(Node337width);
- Node337.setHeight(Node337height);
- Node337._nodeType = 'text';
- Node337._disallowEvert = true;
- Node337.setRotation(0*Math.PI/180);
- Node337.a('node.width', Node337width);
- Node337.a('node.height', Node337height);
- Node337.a('node.rect', [0, 0, Node337width, Node337height]);
- Node337.a('node.bordercolor','rgba(64,64,64,1)');
- Node337.a('node.borderwidth', 0);
- Node337.a('node.background','' || 'rgba(0,0,0,0)');
- Node337.a('node.gradient','');
- Node337.a('node.gradientcolor','');
- Node337.a('node.text','台');
- Node337.a('node.textalign','left');
- Node337.a('node.textvAlign','middle');
- Node337.a('node.textrect', [Node337textStart, 0, Node337textWidth, Node337height]);
- Node337.a('node.color','rgba(64,64,64,1)');
- Node337.a('node.font',' '+ Node337fontSize + 'px "UniDreamLED"');
- Node337.a('node.textvisible',true);
- Node337.a('node.linefeed',false);
- if (false) {
- Node337.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node337.a('node.text') || '台';
- var color=Node337.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node337width,Node337height,13.3333*_ratio.ratioY,"left",color,' '+ Node337fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node337.a('node.underlinepoints',[Node337lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node337fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node337fontSize + 'px "UniDreamLED"').width + 6, (Node337height - Node337fontSize) * 0.5*_ratio.ratioY + Node337fontSize + 2 ]);
- Node337.a('node.underlinevisible',false);
- Node337.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node337);
- zoomNodeList.push({
- node: Node337,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node338 = new ht.Node();
- var Node338textStart, Node338textWidth, Node338lineStart, Node338align = 'left', Node338fontSize = 13.3333*_ratio.ratioY,Node338width = 19*_ratio.ratioX, Node338height = 16*_ratio.ratioY;
- (function () {
- if (Node338align === 'left') {
- Node338textStart = Node338fontSize * 0.2 > 2 ? Node338fontSize * 0.2 - 4 : Node338fontSize * 0.2 - 9;
- Node338textWidth = Node338width;
- Node338lineStart = 1;
- } else if (Node338align === 'right') {
- Node338textStart = 0;
- Node338textWidth =Node338fontSize <= 8 ? Node338width + Node338fontSize * 0.2 + 6 : Node338width - Node338fontSize * 0.2;
- Node338lineStart = (Node338width - (ht.Default.getTextSize('台', ' '+ Node338fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node338align === 'center') {
- Node338textStart = -3;
- Node338textWidth = Node338width;
- Node338lineStart = Node338width - ht.Default.getTextSize('台', ' '+ Node338fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node338.setImage(GD.getTextJSON(Node338width, Node338height, true, false, false, ' '+ Node338fontSize + 'px "UniDreamLED"'))
- Node338.setPosition(746*ratio.ratioX, 677*ratio.ratioY);
- Node338.setWidth(Node338width);
- Node338.setHeight(Node338height);
- Node338._nodeType = 'text';
- Node338._disallowEvert = true;
- Node338.setRotation(0*Math.PI/180);
- Node338.a('node.width', Node338width);
- Node338.a('node.height', Node338height);
- Node338.a('node.rect', [0, 0, Node338width, Node338height]);
- Node338.a('node.bordercolor','rgba(64,64,64,1)');
- Node338.a('node.borderwidth', 0);
- Node338.a('node.background','' || 'rgba(0,0,0,0)');
- Node338.a('node.gradient','');
- Node338.a('node.gradientcolor','');
- Node338.a('node.text','台');
- Node338.a('node.textalign','left');
- Node338.a('node.textvAlign','middle');
- Node338.a('node.textrect', [Node338textStart, 0, Node338textWidth, Node338height]);
- Node338.a('node.color','rgba(64,64,64,1)');
- Node338.a('node.font',' '+ Node338fontSize + 'px "UniDreamLED"');
- Node338.a('node.textvisible',true);
- Node338.a('node.linefeed',false);
- if (false) {
- Node338.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node338.a('node.text') || '台';
- var color=Node338.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node338width,Node338height,13.3333*_ratio.ratioY,"left",color,' '+ Node338fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node338.a('node.underlinepoints',[Node338lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node338fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node338fontSize + 'px "UniDreamLED"').width + 6, (Node338height - Node338fontSize) * 0.5*_ratio.ratioY + Node338fontSize + 2 ]);
- Node338.a('node.underlinevisible',false);
- Node338.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node338);
- zoomNodeList.push({
- node: Node338,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node339 = new ht.Node();
- var Node339textStart, Node339textWidth, Node339lineStart, Node339align = 'left', Node339fontSize = 13.3333*_ratio.ratioY,Node339width = 19*_ratio.ratioX, Node339height = 16*_ratio.ratioY;
- (function () {
- if (Node339align === 'left') {
- Node339textStart = Node339fontSize * 0.2 > 2 ? Node339fontSize * 0.2 - 4 : Node339fontSize * 0.2 - 9;
- Node339textWidth = Node339width;
- Node339lineStart = 1;
- } else if (Node339align === 'right') {
- Node339textStart = 0;
- Node339textWidth =Node339fontSize <= 8 ? Node339width + Node339fontSize * 0.2 + 6 : Node339width - Node339fontSize * 0.2;
- Node339lineStart = (Node339width - (ht.Default.getTextSize('台', ' '+ Node339fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node339align === 'center') {
- Node339textStart = -3;
- Node339textWidth = Node339width;
- Node339lineStart = Node339width - ht.Default.getTextSize('台', ' '+ Node339fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node339.setImage(GD.getTextJSON(Node339width, Node339height, true, false, false, ' '+ Node339fontSize + 'px "UniDreamLED"'))
- Node339.setPosition(747*ratio.ratioX, 706*ratio.ratioY);
- Node339.setWidth(Node339width);
- Node339.setHeight(Node339height);
- Node339._nodeType = 'text';
- Node339._disallowEvert = true;
- Node339.setRotation(0*Math.PI/180);
- Node339.a('node.width', Node339width);
- Node339.a('node.height', Node339height);
- Node339.a('node.rect', [0, 0, Node339width, Node339height]);
- Node339.a('node.bordercolor','rgba(64,64,64,1)');
- Node339.a('node.borderwidth', 0);
- Node339.a('node.background','' || 'rgba(0,0,0,0)');
- Node339.a('node.gradient','');
- Node339.a('node.gradientcolor','');
- Node339.a('node.text','台');
- Node339.a('node.textalign','left');
- Node339.a('node.textvAlign','middle');
- Node339.a('node.textrect', [Node339textStart, 0, Node339textWidth, Node339height]);
- Node339.a('node.color','rgba(64,64,64,1)');
- Node339.a('node.font',' '+ Node339fontSize + 'px "UniDreamLED"');
- Node339.a('node.textvisible',true);
- Node339.a('node.linefeed',false);
- if (false) {
- Node339.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node339.a('node.text') || '台';
- var color=Node339.a('node.color') || 'rgba(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node339width,Node339height,13.3333*_ratio.ratioY,"left",color,' '+ Node339fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node339.a('node.underlinepoints',[Node339lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node339fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node339fontSize + 'px "UniDreamLED"').width + 6, (Node339height - Node339fontSize) * 0.5*_ratio.ratioY + Node339fontSize + 2 ]);
- Node339.a('node.underlinevisible',false);
- Node339.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node339);
- zoomNodeList.push({
- node: Node339,
- 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 Node340 = new ht.HtmlNode();
- Node340.setPosition({'x':468*ratio.ratioX,'y':611*ratio.ratioY});
- Node340.setWidth(180*_ratio.ratioX);
- Node340.setHeight(97*_ratio.ratioY);
- Node340.setScalable(false);
- Node340.setRotation(0);
- Node340.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 180*_ratio.ratioX, 97*_ratio.ratioY);
- Node340.setHtml(chart);
- var Node340_chart = chart._chart;
- dataModel.add(Node340);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node341type = 'rect';
- var Node341 = new ht.Node(),
- Node341BorderWidth = 0*2;
- if (Node341type === 'arc') {
- Node341BorderWidth *= 0;
- }
- Node341.setImage(GD.getRectJSON(28*_ratio.ratioX, 166*_ratio.ratioY, Node341type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node341.setPosition(39*ratio.ratioX, 810*ratio.ratioY);
- Node341.setSize(28*_ratio.ratioX, 166*_ratio.ratioY);
- Node341.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node341.a('node.width', 28*_ratio.ratioX);
- Node341.a('node.height', 166*_ratio.ratioY);
- Node341.a('node.type', Node341type);
- Node341.a('node.rect', [0, 0, 28*_ratio.ratioX, 166*_ratio.ratioY]);
- Node341.a('node.background', 'rgba(32,191,135,1)');
- Node341.a('node.gradientcolor', 'rgba(32,191,135,1)');
- Node341.a('node.gradient', '');
- Node341.a('node.borderwidth', Node341BorderWidth);
- Node341.a('node.color', 'rgba(0,0,0,0)');
- Node341.a('node.fillrect', [0,0,0,0]);
- Node341.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node341.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node341.a('node.fillgradient', '');
- if (Node341type !== 'rect') {
- Node341.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node341.a('node.arcTo', parseFloat('@arcTo@'));
- Node341.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node341type === 'arc') {
- Node341.a('node.arcOval', true);
- }
- Node341.setRotation(0*Math.PI/180);
- Node341.borderWidth = Node341BorderWidth;
- Node341.borderFillwidth = Node341BorderWidth;
- dataModel.add(Node341);
- Node341._nodename = 'Node341'
- Node341._nodeType = 'rect';
- zoomNodeList.push({
- node: Node341,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node341, Node341.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node342 = new ht.Node();
- var Node342textStart, Node342textWidth, Node342lineStart, Node342align = 'center', Node342fontSize = 13.3333*_ratio.ratioY,Node342width = 9*_ratio.ratioX, Node342height = 114*_ratio.ratioY;
- (function () {
- if (Node342align === 'left') {
- Node342textStart = Node342fontSize * 0.2 > 2 ? Node342fontSize * 0.2 - 4 : Node342fontSize * 0.2 - 9;
- Node342textWidth = Node342width;
- Node342lineStart = 1;
- } else if (Node342align === 'right') {
- Node342textStart = 0;
- Node342textWidth =Node342fontSize <= 8 ? Node342width + Node342fontSize * 0.2 + 6 : Node342width - Node342fontSize * 0.2;
- Node342lineStart = (Node342width - (ht.Default.getTextSize('月计划电量完成率', ' '+ Node342fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node342align === 'center') {
- Node342textStart = -3;
- Node342textWidth = Node342width;
- Node342lineStart = Node342width - ht.Default.getTextSize('月计划电量完成率', ' '+ Node342fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node342.setImage(GD.getTextJSON(Node342width, Node342height, false, true, false, ' '+ Node342fontSize + 'px "Arial"'))
- Node342.setPosition(39*ratio.ratioX, 819*ratio.ratioY);
- Node342.setWidth(Node342width);
- Node342.setHeight(Node342height);
- Node342._nodeType = 'text';
- Node342._disallowEvert = true;
- Node342.setRotation(0*Math.PI/180);
- Node342.a('node.width', Node342width);
- Node342.a('node.height', Node342height);
- Node342.a('node.rect', [0, 0, Node342width, Node342height]);
- Node342.a('node.bordercolor','rgba(255,255,255,1)');
- Node342.a('node.borderwidth', 0);
- Node342.a('node.background','' || 'rgba(0,0,0,0)');
- Node342.a('node.gradient','');
- Node342.a('node.gradientcolor','');
- Node342.a('node.text','月计划电量完成率');
- Node342.a('node.textalign','center');
- Node342.a('node.textvAlign','middle');
- Node342.a('node.textrect', [Node342textStart, 0, Node342textWidth, Node342height]);
- Node342.a('node.color','rgba(255,255,255,1)');
- Node342.a('node.font',' '+ Node342fontSize + 'px "Arial"');
- Node342.a('node.textvisible',false);
- Node342.a('node.linefeed',true);
- if (true) {
- Node342.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node342.a('node.text') || '月计划电量完成率';
- var color=Node342.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node342width,Node342height,13.3333*_ratio.ratioY,"center",color,' '+ Node342fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node342.a('node.underlinepoints',[Node342lineStart, (114 - 13.3333) * 0.5 * _ratio.ratioY + Node342fontSize + 2 , ht.Default.getTextSize('月计划电量完成率', ' '+ Node342fontSize + 'px "Arial"').width + 6, (Node342height - Node342fontSize) * 0.5*_ratio.ratioY + Node342fontSize + 2 ]);
- Node342.a('node.underlinevisible',false);
- Node342.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node342);
- zoomNodeList.push({
- node: Node342,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- var Node343style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
- var Node343obj=getIndicatorAndSheBeiArr(Node343GroupVarName,Node343GroupInVarName);
- var Node343series=getIndicatorOrShebeiInfo(Node343GroupVarName,Node343GroupInVarName,Node343style);
- Node343series && Node343series[0] && (Node343series[0].barGap = 0);
- var Node343option = {
- 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:Node343obj["indicatorArr"]
- },
- xAxis : [
- {
- type : 'category',
- splitNumber:0,
- data :Node343obj["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: Node343obj.colorArr,
- series : Node343series
-
- };
- var Node343 = new ht.HtmlNode();
- var Node343BeginTime = "";
- var Node343endTime = "";
- var Node343yRange = 'fixed';
- Node343.setPosition({'x':393*ratio.ratioX,'y':812*ratio.ratioY});
- Node343.setWidth(606*ratio.ratioX);
- Node343.setHeight(129*ratio.ratioY);
- Node343.setScalable(false);
- Node343.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- var Node343chart = new ht.Chart(Node343option, 606*ratio.ratioX, 129*ratio.ratioY);
- Node343.setHtml( Node343chart);
- var Node343_chart = Node343chart._chart;
- dataModel.add(Node343);
- function Node343Refresh(){
- var option = Node343chart.getOption(),
- _option = Node343_chart.getOption(),
- ses = _option.series;
- option.series = getIndicatorOrShebeiInfo(Node343GroupVarName,Node343GroupInVarName,Node343style);
- if (Node343yRange === '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;
- }
- Node343_chart.setOption(option, true);
- }
- function Node343Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- // var tagsInfo = encodeURIComponent(Node343obj.tagArr.join(','));
- var beginTime = "",
- endTime = "",
- type = 'static'; // 时间段:当日,当月,当年 。固定时间
- var groupbarType = 'snap';
- var beginTimeType = 'begin',
- endTimeType = 'end';
- var difTagsInfo = '',
- staTagsInfo = '',
- staTagArr = [],
- difTagArr = [];
- (function () {
- var tagsType = Node343obj.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') {
- Node343Refresh()
- 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 = Node343chart.getOption(),
- _option = Node343_chart.getOption(),
- ses = _option.series;
- var series = [];
- for (var i = 0, len = Node343GroupInVarName.length; i < len; i++) {
- var indiacatorData = Node343GroupInVarName[i];
- var data = {};
- data.name = indiacatorData.displayName || indiacatorData.Desc;
- data.type = 'bar';
- data.data = [];
- for (var j = 0, leng = Node343GroupVarName.length; j < leng; j++) {
- var itemStyle={normal:{color:indiacatorData.color}};
- data.itemStyle=itemStyle;
- var deviceData = Node343GroupVarName[j];
- var value = 0;
- var tagName = '' + deviceData.Name + indiacatorData.Name;
- var statisticsType = Node343obj.statisticsTypeObj && Node343obj.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 (Node343yRange === '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;
- }
- Node343_chart.setOption(option, true);
- }
- }
- if(true){
- Node343Refresh();
- intervalTimers.push(setInterval(function(){
- Node343Refresh();
- },1000));
- } else {
- // Node343Search();
- }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node344type = 'rect';
- var Node344 = new ht.Node(),
- Node344BorderWidth = 0*2;
- if (Node344type === 'arc') {
- Node344BorderWidth *= 0;
- }
- Node344.setImage(GD.getRectJSON(25*_ratio.ratioX, 356*_ratio.ratioY, Node344type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node344.setPosition(797*ratio.ratioX, 706*ratio.ratioY);
- Node344.setSize(25*_ratio.ratioX, 356*_ratio.ratioY);
- Node344.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node344.a('node.width', 25*_ratio.ratioX);
- Node344.a('node.height', 356*_ratio.ratioY);
- Node344.a('node.type', Node344type);
- Node344.a('node.rect', [0, 0, 25*_ratio.ratioX, 356*_ratio.ratioY]);
- Node344.a('node.background', 'rgba(0,132,216,1)');
- Node344.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node344.a('node.gradient', '');
- Node344.a('node.borderwidth', Node344BorderWidth);
- Node344.a('node.color', 'rgba(0,0,0,0)');
- Node344.a('node.fillrect', [0,0,0,0]);
- Node344.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node344.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node344.a('node.fillgradient', '');
- if (Node344type !== 'rect') {
- Node344.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node344.a('node.arcTo', parseFloat('@arcTo@'));
- Node344.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node344type === 'arc') {
- Node344.a('node.arcOval', true);
- }
- Node344.setRotation(0*Math.PI/180);
- Node344.borderWidth = Node344BorderWidth;
- Node344.borderFillwidth = Node344BorderWidth;
- dataModel.add(Node344);
- Node344._nodename = 'Node344'
- Node344._nodeType = 'rect';
- zoomNodeList.push({
- node: Node344,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node344, Node344.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node345 = new ht.Node();
- var Node345textStart, Node345textWidth, Node345lineStart, Node345align = 'center', Node345fontSize = 13.3333*_ratio.ratioY,Node345width = 9*_ratio.ratioX, Node345height = 114*_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('理论电量平衡分析', ' '+ Node345fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node345align === 'center') {
- Node345textStart = -3;
- Node345textWidth = Node345width;
- Node345lineStart = Node345width - ht.Default.getTextSize('理论电量平衡分析', ' '+ Node345fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node345.setImage(GD.getTextJSON(Node345width, Node345height, false, true, false, ' '+ Node345fontSize + 'px "Arial"'))
- Node345.setPosition(799*ratio.ratioX, 688*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(255,255,255,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','center');
- Node345.a('node.textvAlign','middle');
- Node345.a('node.textrect', [Node345textStart, 0, Node345textWidth, Node345height]);
- Node345.a('node.color','rgba(255,255,255,1)');
- Node345.a('node.font',' '+ Node345fontSize + 'px "Arial"');
- Node345.a('node.textvisible',false);
- Node345.a('node.linefeed',true);
- if (true) {
- Node345.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node345.a('node.text') || '理论电量平衡分析';
- var color=Node345.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node345width,Node345height,13.3333*_ratio.ratioY,"center",color,' '+ Node345fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node345.a('node.underlinepoints',[Node345lineStart, (114 - 13.3333) * 0.5 * _ratio.ratioY + Node345fontSize + 2 , ht.Default.getTextSize('理论电量平衡分析', ' '+ 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'
- });
- // var alarmLevelDic = {};
- // var alarmLevelDicName = {};
- // var alarmGroupDic = {};
- var Node346_beginTime='2018/6/28 14:55:34';
- var Node346_endTime='2018/6/29 14:55:34';
- var Node346_alarmAreaTmp='*';
- var Node346_chartType="normal";
- var Node346Export;
- var Node346Arr=[{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:'10',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 Node346Option = {
- 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('10'), 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 Node346 = new ht.HtmlNode();
- Node346.setPosition({'x':1017*ratio.ratioX,'y':714*ratio.ratioY});
- Node346.setWidth(379.2*ratio.ratioX);
- Node346.setHeight(379.2*ratio.ratioY);
- Node346.setScalable(false);
- Node346.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- //Node346.option=Node346Option;
- chart = new ht.Chart(Node346Option, 379.2*ratio.ratioX, 379.2*ratio.ratioY);
- Node346.setHtml(chart);
- var Node346_chart = chart._chart;
- dataModel.add(Node346);
- Node346.option=Node346Option;
- if(Node346_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:34')).getTime();
- et=(new Date('2018/6/29 14:55:34')).getTime();
- Node346_alarmAreaTmp = '*'||'*';
- }else{
- st=(new Date("'2018/6/28 14:55:34'")).getTime();
- et=(new Date("'2018/6/29 14:55:34'")).getTime();
- Node346_alarmAreaTmp= ''*''||'*';
- }
- var alarmAreaDicName = {};
- Node346.NodeCreat=function(option)
- {
- Node346_chart.clear();
- Node346_chart.setOption(option);
- };
- //判断是不是报警画图
- if(Node346_chartType!="normal"){
- if(Node346_chartType=="alarmLevel"){
- //报警等级画图
- // getAlarmLevels();
- getAlarmLevelChartData(st,et,Node346_alarmAreaTmp,"alarmLevelPie",Node346,Node346.NodeCreat);
- }else if(Node346_chartType=="alarmGroup"){
- //报警组画图
- // alarmGroupDic= getAlarmGroups();
- getAlarmGroupChartData(st,et,Node346_alarmAreaTmp,"alarmGroupPie",Node346,Node346.NodeCreat);
- }
- }
- function Node346RefreshPieChartInfo(){
- if (Node346_chartType === 'statistic') {
- return Node346Search();
- }
- if(Node346_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:34')).getTime();
- et=(new Date('2018/6/29 14:55:34')).getTime();
- Node346_alarmAreaTmp = '*'||'*';
- // Node346_alarmAreaTmp="你好";
- // var Node346type=Node346_chartType+"pie";
- if (!GD.testSearchTime(st, et)) {
- return ;
- }
- if(Node346_chartType=="alarmLevel"){
- getAlarmLevelChartData(st,et,Node346_alarmAreaTmp,"alarmLevelPie",Node346,Node346.NodeCreat);
- }else if(Node346_chartType=="alarmGroup"){
- getAlarmGroupChartData(st,et,Node346_alarmAreaTmp,"alarmGroupPie",Node346,Node346.NodeCreat);
- }
- }else{
- st=(new Date("'2018/6/28 14:55:34'")).getTime();
- et=(new Date("'2018/6/29 14:55:34'")).getTime();
- Node346_alarmAreaTmp= 'Node346_alarmAreaTmp'||'*';
- }
- }
- Node346Export = function () {
- var option = Node346_chart.getOption(),
- series = option.series[0] || {},
- data = series['data'] || [];
- var tempArr = [],
- resultArr = [],
- titleArr = [],
- d,title, total = 0, t, fileName;
- if(Node346_chartType!="normal"){
- if(Node346_chartType=="alarmLevel"){
- title = '故障级别';
- fileName = '故障级别';
- } else if(Node346_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 Node346Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- var statisticsTypeObj = {};
- for(var i=0;i<Node346Arr.length;i++){
- statisticsTypeObj[Node346Arr[i].tagName] = Node346Arr[i].statisticsType;
- }
- var beginTime = '2018/6/28 14:55:34',
- endTime = '2018/6/29 14:55:34';
- // 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 (Node346_chartType != 'statistic') {
- Node346RefreshPieChartInfo()
- 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 = Node346_chart.getOption();
- option.series[0].data=[];
- for (var i = 0, len = Node346Arr.length; i < len; i++) {
- var sdata = Node346Arr[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);
- }
- Node346_chart.setOption(option, true);
- }
- }
- if(Node346_chartType == 'statistic'){
- Node346Search();
- }
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node347type = 'rect';
- var Node347 = new ht.Node(),
- Node347BorderWidth = 1*2;
- if (Node347type === 'arc') {
- Node347BorderWidth *= 1;
- }
- Node347.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node347type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node347.setPosition(1210*ratio.ratioX, 601*ratio.ratioY);
- Node347.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node347.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node347.a('node.width', 72*_ratio.ratioX);
- Node347.a('node.height', 33*_ratio.ratioY);
- Node347.a('node.type', Node347type);
- Node347.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node347.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node347.a('node.gradientcolor', '');
- Node347.a('node.gradient', '');
- Node347.a('node.borderwidth', Node347BorderWidth);
- Node347.a('node.color', 'rgba(192,192,192,1)');
- Node347.a('node.fillrect', [0,0,0,0]);
- Node347.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node347.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node347.a('node.fillgradient', '');
- if (Node347type !== 'rect') {
- Node347.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node347.a('node.arcTo', parseFloat('@arcTo@'));
- Node347.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node347type === 'arc') {
- Node347.a('node.arcOval', true);
- }
- Node347.setRotation(0*Math.PI/180);
- Node347.borderWidth = Node347BorderWidth;
- Node347.borderFillwidth = Node347BorderWidth;
- dataModel.add(Node347);
- Node347._nodename = 'Node347'
- Node347._nodeType = 'rect';
- zoomNodeList.push({
- node: Node347,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node347, Node347.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node348type = 'rect';
- var Node348 = new ht.Node(),
- Node348BorderWidth = 0*2;
- if (Node348type === 'arc') {
- Node348BorderWidth *= 0;
- }
- Node348.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node348type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node348.setPosition(1282*ratio.ratioX, 601*ratio.ratioY);
- Node348.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node348.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node348.a('node.width', 72*_ratio.ratioX);
- Node348.a('node.height', 33*_ratio.ratioY);
- Node348.a('node.type', Node348type);
- Node348.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node348.a('node.background', 'rgba(0,132,235,1)');
- Node348.a('node.gradientcolor', 'rgba(0,132,235,1)');
- Node348.a('node.gradient', '');
- Node348.a('node.borderwidth', Node348BorderWidth);
- Node348.a('node.color', 'rgba(0,12,215,0)');
- Node348.a('node.fillrect', [0,0,0,0]);
- Node348.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node348.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node348.a('node.fillgradient', '');
- if (Node348type !== 'rect') {
- Node348.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node348.a('node.arcTo', parseFloat('@arcTo@'));
- Node348.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node348type === 'arc') {
- Node348.a('node.arcOval', true);
- }
- Node348.setRotation(0*Math.PI/180);
- Node348.borderWidth = Node348BorderWidth;
- Node348.borderFillwidth = Node348BorderWidth;
- dataModel.add(Node348);
- Node348._nodename = 'Node348'
- Node348._nodeType = 'rect';
- zoomNodeList.push({
- node: Node348,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node348, Node348.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node349 = new ht.Node();
- var Node349textStart, Node349textWidth, Node349lineStart, Node349align = 'left', Node349fontSize = 10.66664*_ratio.ratioY,Node349width = 63*_ratio.ratioX, Node349height = 13*_ratio.ratioY;
- (function () {
- if (Node349align === 'left') {
- Node349textStart = Node349fontSize * 0.2 > 2 ? Node349fontSize * 0.2 - 4 : Node349fontSize * 0.2 - 9;
- Node349textWidth = Node349width;
- Node349lineStart = 1;
- } else if (Node349align === 'right') {
- Node349textStart = 0;
- Node349textWidth =Node349fontSize <= 8 ? Node349width + Node349fontSize * 0.2 + 6 : Node349width - Node349fontSize * 0.2;
- Node349lineStart = (Node349width - (ht.Default.getTextSize('理论发电量', ' '+ Node349fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node349align === 'center') {
- Node349textStart = -3;
- Node349textWidth = Node349width;
- Node349lineStart = Node349width - ht.Default.getTextSize('理论发电量', ' '+ Node349fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node349.setImage(GD.getTextJSON(Node349width, Node349height, true, false, false, ' '+ Node349fontSize + 'px "Arial"'))
- Node349.setPosition(1209*ratio.ratioX, 603*ratio.ratioY);
- Node349.setWidth(Node349width);
- Node349.setHeight(Node349height);
- Node349._nodeType = 'text';
- Node349._disallowEvert = true;
- Node349.setRotation(0*Math.PI/180);
- Node349.a('node.width', Node349width);
- Node349.a('node.height', Node349height);
- Node349.a('node.rect', [0, 0, Node349width, Node349height]);
- Node349.a('node.bordercolor','rgba(0,0,0,1)');
- Node349.a('node.borderwidth', 0);
- Node349.a('node.background','' || 'rgba(0,0,0,0)');
- Node349.a('node.gradient','');
- Node349.a('node.gradientcolor','');
- Node349.a('node.text','理论发电量');
- Node349.a('node.textalign','left');
- Node349.a('node.textvAlign','middle');
- Node349.a('node.textrect', [Node349textStart, 0, Node349textWidth, Node349height]);
- Node349.a('node.color','rgba(0,0,0,1)');
- Node349.a('node.font',' '+ Node349fontSize + 'px "Arial"');
- Node349.a('node.textvisible',true);
- Node349.a('node.linefeed',false);
- if (false) {
- Node349.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node349.a('node.text') || '理论发电量';
- var color=Node349.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node349width,Node349height,10.66664*_ratio.ratioY,"left",color,' '+ Node349fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node349.a('node.underlinepoints',[Node349lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node349fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node349fontSize + 'px "Arial"').width + 6, (Node349height - Node349fontSize) * 0.5*_ratio.ratioY + Node349fontSize + 2 ]);
- Node349.a('node.underlinevisible',false);
- Node349.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node349);
- zoomNodeList.push({
- node: Node349,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node350type = 'rect';
- var Node350 = new ht.Node(),
- Node350BorderWidth = 1*2;
- if (Node350type === 'arc') {
- Node350BorderWidth *= 1;
- }
- Node350.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node350type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node350.setPosition(1210*ratio.ratioX, 640*ratio.ratioY);
- Node350.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node350.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node350.a('node.width', 72*_ratio.ratioX);
- Node350.a('node.height', 33*_ratio.ratioY);
- Node350.a('node.type', Node350type);
- Node350.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node350.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node350.a('node.gradientcolor', '');
- Node350.a('node.gradient', '');
- Node350.a('node.borderwidth', Node350BorderWidth);
- Node350.a('node.color', 'rgba(192,192,192,1)');
- Node350.a('node.fillrect', [0,0,0,0]);
- Node350.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node350.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node350.a('node.fillgradient', '');
- if (Node350type !== 'rect') {
- Node350.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node350.a('node.arcTo', parseFloat('@arcTo@'));
- Node350.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node350type === 'arc') {
- Node350.a('node.arcOval', true);
- }
- Node350.setRotation(0*Math.PI/180);
- Node350.borderWidth = Node350BorderWidth;
- Node350.borderFillwidth = Node350BorderWidth;
- dataModel.add(Node350);
- Node350._nodename = 'Node350'
- Node350._nodeType = 'rect';
- zoomNodeList.push({
- node: Node350,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node350, Node350.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node351type = 'rect';
- var Node351 = new ht.Node(),
- Node351BorderWidth = 1*2;
- if (Node351type === 'arc') {
- Node351BorderWidth *= 1;
- }
- Node351.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node351type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node351.setPosition(1282*ratio.ratioX, 640*ratio.ratioY);
- Node351.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node351.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node351.a('node.width', 72*_ratio.ratioX);
- Node351.a('node.height', 33*_ratio.ratioY);
- Node351.a('node.type', Node351type);
- Node351.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node351.a('node.background', 'rgba(60,184,254,1)');
- Node351.a('node.gradientcolor', 'rgba(60,184,254,1)');
- Node351.a('node.gradient', '');
- Node351.a('node.borderwidth', Node351BorderWidth);
- Node351.a('node.color', 'rgba(192,192,192,1)');
- Node351.a('node.fillrect', [0,0,0,0]);
- Node351.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node351.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node351.a('node.fillgradient', '');
- if (Node351type !== 'rect') {
- Node351.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node351.a('node.arcTo', parseFloat('@arcTo@'));
- Node351.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node351type === 'arc') {
- Node351.a('node.arcOval', true);
- }
- Node351.setRotation(0*Math.PI/180);
- Node351.borderWidth = Node351BorderWidth;
- Node351.borderFillwidth = Node351BorderWidth;
- dataModel.add(Node351);
- Node351._nodename = 'Node351'
- Node351._nodeType = 'rect';
- zoomNodeList.push({
- node: Node351,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node351, Node351.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node352 = new ht.Node();
- var Node352textStart, Node352textWidth, Node352lineStart, Node352align = 'left', Node352fontSize = 10.66664*_ratio.ratioY,Node352width = 63*_ratio.ratioX, Node352height = 13*_ratio.ratioY;
- (function () {
- if (Node352align === 'left') {
- Node352textStart = Node352fontSize * 0.2 > 2 ? Node352fontSize * 0.2 - 4 : Node352fontSize * 0.2 - 9;
- Node352textWidth = Node352width;
- Node352lineStart = 1;
- } else if (Node352align === 'right') {
- Node352textStart = 0;
- Node352textWidth =Node352fontSize <= 8 ? Node352width + Node352fontSize * 0.2 + 6 : Node352width - Node352fontSize * 0.2;
- Node352lineStart = (Node352width - (ht.Default.getTextSize('实际发电量', ' '+ Node352fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node352align === 'center') {
- Node352textStart = -3;
- Node352textWidth = Node352width;
- Node352lineStart = Node352width - ht.Default.getTextSize('实际发电量', ' '+ Node352fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node352.setImage(GD.getTextJSON(Node352width, Node352height, true, false, false, ' '+ Node352fontSize + 'px "Arial"'))
- Node352.setPosition(1209*ratio.ratioX, 642*ratio.ratioY);
- Node352.setWidth(Node352width);
- Node352.setHeight(Node352height);
- Node352._nodeType = 'text';
- Node352._disallowEvert = true;
- Node352.setRotation(0*Math.PI/180);
- Node352.a('node.width', Node352width);
- Node352.a('node.height', Node352height);
- Node352.a('node.rect', [0, 0, Node352width, Node352height]);
- Node352.a('node.bordercolor','rgba(0,0,0,1)');
- Node352.a('node.borderwidth', 0);
- Node352.a('node.background','' || 'rgba(0,0,0,0)');
- Node352.a('node.gradient','');
- Node352.a('node.gradientcolor','');
- Node352.a('node.text','实际发电量');
- Node352.a('node.textalign','left');
- Node352.a('node.textvAlign','middle');
- Node352.a('node.textrect', [Node352textStart, 0, Node352textWidth, Node352height]);
- Node352.a('node.color','rgba(0,0,0,1)');
- Node352.a('node.font',' '+ Node352fontSize + 'px "Arial"');
- Node352.a('node.textvisible',true);
- Node352.a('node.linefeed',false);
- if (false) {
- Node352.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node352.a('node.text') || '实际发电量';
- var color=Node352.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node352width,Node352height,10.66664*_ratio.ratioY,"left",color,' '+ Node352fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node352.a('node.underlinepoints',[Node352lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node352fontSize + 2 , ht.Default.getTextSize('实际发电量', ' '+ Node352fontSize + 'px "Arial"').width + 6, (Node352height - Node352fontSize) * 0.5*_ratio.ratioY + Node352fontSize + 2 ]);
- Node352.a('node.underlinevisible',false);
- Node352.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node352);
- zoomNodeList.push({
- node: Node352,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node353type = 'rect';
- var Node353 = new ht.Node(),
- Node353BorderWidth = 1*2;
- if (Node353type === 'arc') {
- Node353BorderWidth *= 1;
- }
- Node353.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node353type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node353.setPosition(1210*ratio.ratioX, 678*ratio.ratioY);
- Node353.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node353.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node353.a('node.width', 72*_ratio.ratioX);
- Node353.a('node.height', 33*_ratio.ratioY);
- Node353.a('node.type', Node353type);
- Node353.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node353.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node353.a('node.gradientcolor', '');
- Node353.a('node.gradient', '');
- Node353.a('node.borderwidth', Node353BorderWidth);
- Node353.a('node.color', 'rgba(192,192,192,1)');
- Node353.a('node.fillrect', [0,0,0,0]);
- Node353.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node353.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node353.a('node.fillgradient', '');
- if (Node353type !== 'rect') {
- Node353.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node353.a('node.arcTo', parseFloat('@arcTo@'));
- Node353.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node353type === 'arc') {
- Node353.a('node.arcOval', true);
- }
- Node353.setRotation(0*Math.PI/180);
- Node353.borderWidth = Node353BorderWidth;
- Node353.borderFillwidth = Node353BorderWidth;
- dataModel.add(Node353);
- Node353._nodename = 'Node353'
- Node353._nodeType = 'rect';
- zoomNodeList.push({
- node: Node353,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node353, Node353.getImage());_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(72*_ratio.ratioX, 33*_ratio.ratioY, Node354type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node354.setPosition(1282*ratio.ratioX, 678*ratio.ratioY);
- Node354.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node354.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node354.a('node.width', 72*_ratio.ratioX);
- Node354.a('node.height', 33*_ratio.ratioY);
- Node354.a('node.type', Node354type);
- Node354.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node354.a('node.background', 'rgba(255,115,20,1)');
- Node354.a('node.gradientcolor', 'rgba(255,115,20,1)');
- Node354.a('node.gradient', '');
- Node354.a('node.borderwidth', Node354BorderWidth);
- Node354.a('node.color', 'rgba(255,115,20,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());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node355 = new ht.Node();
- var Node355textStart, Node355textWidth, Node355lineStart, Node355align = 'left', Node355fontSize = 10.66664*_ratio.ratioY,Node355width = 51*_ratio.ratioX, Node355height = 13*_ratio.ratioY;
- (function () {
- if (Node355align === 'left') {
- Node355textStart = Node355fontSize * 0.2 > 2 ? Node355fontSize * 0.2 - 4 : Node355fontSize * 0.2 - 9;
- Node355textWidth = Node355width;
- Node355lineStart = 1;
- } else if (Node355align === 'right') {
- Node355textStart = 0;
- Node355textWidth =Node355fontSize <= 8 ? Node355width + Node355fontSize * 0.2 + 6 : Node355width - Node355fontSize * 0.2;
- Node355lineStart = (Node355width - (ht.Default.getTextSize('维护损失', ' '+ Node355fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node355align === 'center') {
- Node355textStart = -3;
- Node355textWidth = Node355width;
- Node355lineStart = Node355width - ht.Default.getTextSize('维护损失', ' '+ Node355fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node355.setImage(GD.getTextJSON(Node355width, Node355height, true, false, false, ' '+ Node355fontSize + 'px "Arial"'))
- Node355.setPosition(1203*ratio.ratioX, 680*ratio.ratioY);
- Node355.setWidth(Node355width);
- Node355.setHeight(Node355height);
- Node355._nodeType = 'text';
- Node355._disallowEvert = true;
- Node355.setRotation(0*Math.PI/180);
- Node355.a('node.width', Node355width);
- Node355.a('node.height', Node355height);
- Node355.a('node.rect', [0, 0, Node355width, Node355height]);
- Node355.a('node.bordercolor','rgba(0,0,0,1)');
- Node355.a('node.borderwidth', 0);
- Node355.a('node.background','' || 'rgba(0,0,0,0)');
- Node355.a('node.gradient','');
- Node355.a('node.gradientcolor','');
- Node355.a('node.text','维护损失');
- Node355.a('node.textalign','left');
- Node355.a('node.textvAlign','middle');
- Node355.a('node.textrect', [Node355textStart, 0, Node355textWidth, Node355height]);
- Node355.a('node.color','rgba(0,0,0,1)');
- Node355.a('node.font',' '+ Node355fontSize + 'px "Arial"');
- Node355.a('node.textvisible',true);
- Node355.a('node.linefeed',false);
- if (false) {
- Node355.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node355.a('node.text') || '维护损失';
- var color=Node355.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node355width,Node355height,10.66664*_ratio.ratioY,"left",color,' '+ Node355fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node355.a('node.underlinepoints',[Node355lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node355fontSize + 2 , ht.Default.getTextSize('维护损失', ' '+ Node355fontSize + 'px "Arial"').width + 6, (Node355height - Node355fontSize) * 0.5*_ratio.ratioY + Node355fontSize + 2 ]);
- Node355.a('node.underlinevisible',false);
- Node355.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node355);
- zoomNodeList.push({
- node: Node355,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node356type = 'rect';
- var Node356 = new ht.Node(),
- Node356BorderWidth = 1*2;
- if (Node356type === 'arc') {
- Node356BorderWidth *= 1;
- }
- Node356.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node356type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node356.setPosition(1210*ratio.ratioX, 717*ratio.ratioY);
- Node356.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node356.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node356.a('node.width', 72*_ratio.ratioX);
- Node356.a('node.height', 33*_ratio.ratioY);
- Node356.a('node.type', Node356type);
- Node356.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node356.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node356.a('node.gradientcolor', '');
- Node356.a('node.gradient', '');
- Node356.a('node.borderwidth', Node356BorderWidth);
- Node356.a('node.color', 'rgba(192,192,192,1)');
- Node356.a('node.fillrect', [0,0,0,0]);
- Node356.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node356.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node356.a('node.fillgradient', '');
- if (Node356type !== 'rect') {
- Node356.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node356.a('node.arcTo', parseFloat('@arcTo@'));
- Node356.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node356type === 'arc') {
- Node356.a('node.arcOval', true);
- }
- Node356.setRotation(0*Math.PI/180);
- Node356.borderWidth = Node356BorderWidth;
- Node356.borderFillwidth = Node356BorderWidth;
- dataModel.add(Node356);
- Node356._nodename = 'Node356'
- Node356._nodeType = 'rect';
- zoomNodeList.push({
- node: Node356,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node356, Node356.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node357type = 'rect';
- var Node357 = new ht.Node(),
- Node357BorderWidth = 1*2;
- if (Node357type === 'arc') {
- Node357BorderWidth *= 1;
- }
- Node357.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node357type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node357.setPosition(1282*ratio.ratioX, 717*ratio.ratioY);
- Node357.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node357.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node357.a('node.width', 72*_ratio.ratioX);
- Node357.a('node.height', 33*_ratio.ratioY);
- Node357.a('node.type', Node357type);
- Node357.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node357.a('node.background', 'rgba(202,32,32,1)');
- Node357.a('node.gradientcolor', 'rgba(202,32,32,1)');
- Node357.a('node.gradient', '');
- Node357.a('node.borderwidth', Node357BorderWidth);
- Node357.a('node.color', 'rgba(192,192,192,1)');
- Node357.a('node.fillrect', [0,0,0,0]);
- Node357.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node357.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node357.a('node.fillgradient', '');
- if (Node357type !== 'rect') {
- Node357.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node357.a('node.arcTo', parseFloat('@arcTo@'));
- Node357.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node357type === 'arc') {
- Node357.a('node.arcOval', true);
- }
- Node357.setRotation(0*Math.PI/180);
- Node357.borderWidth = Node357BorderWidth;
- Node357.borderFillwidth = Node357BorderWidth;
- dataModel.add(Node357);
- Node357._nodename = 'Node357'
- Node357._nodeType = 'rect';
- zoomNodeList.push({
- node: Node357,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node357, Node357.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node358 = new ht.Node();
- var Node358textStart, Node358textWidth, Node358lineStart, Node358align = 'left', Node358fontSize = 10.66664*_ratio.ratioY,Node358width = 51*_ratio.ratioX, Node358height = 13*_ratio.ratioY;
- (function () {
- if (Node358align === 'left') {
- Node358textStart = Node358fontSize * 0.2 > 2 ? Node358fontSize * 0.2 - 4 : Node358fontSize * 0.2 - 9;
- Node358textWidth = Node358width;
- Node358lineStart = 1;
- } else if (Node358align === 'right') {
- Node358textStart = 0;
- Node358textWidth =Node358fontSize <= 8 ? Node358width + Node358fontSize * 0.2 + 6 : Node358width - Node358fontSize * 0.2;
- Node358lineStart = (Node358width - (ht.Default.getTextSize('故障损失', ' '+ Node358fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node358align === 'center') {
- Node358textStart = -3;
- Node358textWidth = Node358width;
- Node358lineStart = Node358width - ht.Default.getTextSize('故障损失', ' '+ Node358fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node358.setImage(GD.getTextJSON(Node358width, Node358height, true, false, false, ' '+ Node358fontSize + 'px "Arial"'))
- Node358.setPosition(1203*ratio.ratioX, 719*ratio.ratioY);
- Node358.setWidth(Node358width);
- Node358.setHeight(Node358height);
- Node358._nodeType = 'text';
- Node358._disallowEvert = true;
- Node358.setRotation(0*Math.PI/180);
- Node358.a('node.width', Node358width);
- Node358.a('node.height', Node358height);
- Node358.a('node.rect', [0, 0, Node358width, Node358height]);
- Node358.a('node.bordercolor','rgba(0,0,0,1)');
- Node358.a('node.borderwidth', 0);
- Node358.a('node.background','' || 'rgba(0,0,0,0)');
- Node358.a('node.gradient','');
- Node358.a('node.gradientcolor','');
- Node358.a('node.text','故障损失');
- Node358.a('node.textalign','left');
- Node358.a('node.textvAlign','middle');
- Node358.a('node.textrect', [Node358textStart, 0, Node358textWidth, Node358height]);
- Node358.a('node.color','rgba(0,0,0,1)');
- Node358.a('node.font',' '+ Node358fontSize + 'px "Arial"');
- Node358.a('node.textvisible',true);
- Node358.a('node.linefeed',false);
- if (false) {
- Node358.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node358.a('node.text') || '故障损失';
- var color=Node358.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node358width,Node358height,10.66664*_ratio.ratioY,"left",color,' '+ Node358fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node358.a('node.underlinepoints',[Node358lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node358fontSize + 2 , ht.Default.getTextSize('故障损失', ' '+ Node358fontSize + 'px "Arial"').width + 6, (Node358height - Node358fontSize) * 0.5*_ratio.ratioY + Node358fontSize + 2 ]);
- Node358.a('node.underlinevisible',false);
- Node358.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node358);
- zoomNodeList.push({
- node: Node358,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node359type = 'rect';
- var Node359 = new ht.Node(),
- Node359BorderWidth = 1*2;
- if (Node359type === 'arc') {
- Node359BorderWidth *= 1;
- }
- Node359.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node359type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node359.setPosition(1210*ratio.ratioX, 755*ratio.ratioY);
- Node359.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node359.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node359.a('node.width', 72*_ratio.ratioX);
- Node359.a('node.height', 33*_ratio.ratioY);
- Node359.a('node.type', Node359type);
- Node359.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node359.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node359.a('node.gradientcolor', '');
- Node359.a('node.gradient', '');
- Node359.a('node.borderwidth', Node359BorderWidth);
- Node359.a('node.color', 'rgba(192,192,192,1)');
- Node359.a('node.fillrect', [0,0,0,0]);
- Node359.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node359.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node359.a('node.fillgradient', '');
- if (Node359type !== 'rect') {
- Node359.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node359.a('node.arcTo', parseFloat('@arcTo@'));
- Node359.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node359type === 'arc') {
- Node359.a('node.arcOval', true);
- }
- Node359.setRotation(0*Math.PI/180);
- Node359.borderWidth = Node359BorderWidth;
- Node359.borderFillwidth = Node359BorderWidth;
- dataModel.add(Node359);
- Node359._nodename = 'Node359'
- Node359._nodeType = 'rect';
- zoomNodeList.push({
- node: Node359,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node359, Node359.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node360type = 'rect';
- var Node360 = new ht.Node(),
- Node360BorderWidth = 1*2;
- if (Node360type === 'arc') {
- Node360BorderWidth *= 1;
- }
- Node360.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node360type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node360.setPosition(1282*ratio.ratioX, 755*ratio.ratioY);
- Node360.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node360.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node360.a('node.width', 72*_ratio.ratioX);
- Node360.a('node.height', 33*_ratio.ratioY);
- Node360.a('node.type', Node360type);
- Node360.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node360.a('node.background', 'rgba(172,56,137,1)');
- Node360.a('node.gradientcolor', 'rgba(172,56,137,1)');
- Node360.a('node.gradient', '');
- Node360.a('node.borderwidth', Node360BorderWidth);
- Node360.a('node.color', 'rgba(192,192,192,1)');
- Node360.a('node.fillrect', [0,0,0,0]);
- Node360.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node360.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node360.a('node.fillgradient', '');
- if (Node360type !== 'rect') {
- Node360.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node360.a('node.arcTo', parseFloat('@arcTo@'));
- Node360.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node360type === 'arc') {
- Node360.a('node.arcOval', true);
- }
- Node360.setRotation(0*Math.PI/180);
- Node360.borderWidth = Node360BorderWidth;
- Node360.borderFillwidth = Node360BorderWidth;
- dataModel.add(Node360);
- Node360._nodename = 'Node360'
- Node360._nodeType = 'rect';
- zoomNodeList.push({
- node: Node360,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node360, Node360.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node361 = new ht.Node();
- var Node361textStart, Node361textWidth, Node361lineStart, Node361align = 'left', Node361fontSize = 10.66664*_ratio.ratioY,Node361width = 51*_ratio.ratioX, Node361height = 13*_ratio.ratioY;
- (function () {
- if (Node361align === 'left') {
- Node361textStart = Node361fontSize * 0.2 > 2 ? Node361fontSize * 0.2 - 4 : Node361fontSize * 0.2 - 9;
- Node361textWidth = Node361width;
- Node361lineStart = 1;
- } else if (Node361align === 'right') {
- Node361textStart = 0;
- Node361textWidth =Node361fontSize <= 8 ? Node361width + Node361fontSize * 0.2 + 6 : Node361width - Node361fontSize * 0.2;
- Node361lineStart = (Node361width - (ht.Default.getTextSize('限电损失', ' '+ Node361fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node361align === 'center') {
- Node361textStart = -3;
- Node361textWidth = Node361width;
- Node361lineStart = Node361width - ht.Default.getTextSize('限电损失', ' '+ Node361fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node361.setImage(GD.getTextJSON(Node361width, Node361height, true, false, false, ' '+ Node361fontSize + 'px "Arial"'))
- Node361.setPosition(1203*ratio.ratioX, 757*ratio.ratioY);
- Node361.setWidth(Node361width);
- Node361.setHeight(Node361height);
- Node361._nodeType = 'text';
- Node361._disallowEvert = true;
- Node361.setRotation(0*Math.PI/180);
- Node361.a('node.width', Node361width);
- Node361.a('node.height', Node361height);
- Node361.a('node.rect', [0, 0, Node361width, Node361height]);
- Node361.a('node.bordercolor','rgba(0,0,0,1)');
- Node361.a('node.borderwidth', 0);
- Node361.a('node.background','' || 'rgba(0,0,0,0)');
- Node361.a('node.gradient','');
- Node361.a('node.gradientcolor','');
- Node361.a('node.text','限电损失');
- Node361.a('node.textalign','left');
- Node361.a('node.textvAlign','middle');
- Node361.a('node.textrect', [Node361textStart, 0, Node361textWidth, Node361height]);
- Node361.a('node.color','rgba(0,0,0,1)');
- Node361.a('node.font',' '+ Node361fontSize + 'px "Arial"');
- Node361.a('node.textvisible',true);
- Node361.a('node.linefeed',false);
- if (false) {
- Node361.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node361.a('node.text') || '限电损失';
- var color=Node361.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node361width,Node361height,10.66664*_ratio.ratioY,"left",color,' '+ Node361fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node361.a('node.underlinepoints',[Node361lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node361fontSize + 2 , ht.Default.getTextSize('限电损失', ' '+ Node361fontSize + 'px "Arial"').width + 6, (Node361height - Node361fontSize) * 0.5*_ratio.ratioY + Node361fontSize + 2 ]);
- Node361.a('node.underlinevisible',false);
- Node361.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node361);
- zoomNodeList.push({
- node: Node361,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node362type = 'rect';
- var Node362 = new ht.Node(),
- Node362BorderWidth = 1*2;
- if (Node362type === 'arc') {
- Node362BorderWidth *= 1;
- }
- Node362.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node362type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node362.setPosition(1210*ratio.ratioX, 794*ratio.ratioY);
- Node362.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node362.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node362.a('node.width', 72*_ratio.ratioX);
- Node362.a('node.height', 33*_ratio.ratioY);
- Node362.a('node.type', Node362type);
- Node362.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node362.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node362.a('node.gradientcolor', '');
- Node362.a('node.gradient', '');
- Node362.a('node.borderwidth', Node362BorderWidth);
- Node362.a('node.color', 'rgba(192,192,192,1)');
- Node362.a('node.fillrect', [0,0,0,0]);
- Node362.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node362.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node362.a('node.fillgradient', '');
- if (Node362type !== 'rect') {
- Node362.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node362.a('node.arcTo', parseFloat('@arcTo@'));
- Node362.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node362type === 'arc') {
- Node362.a('node.arcOval', true);
- }
- Node362.setRotation(0*Math.PI/180);
- Node362.borderWidth = Node362BorderWidth;
- Node362.borderFillwidth = Node362BorderWidth;
- dataModel.add(Node362);
- Node362._nodename = 'Node362'
- Node362._nodeType = 'rect';
- zoomNodeList.push({
- node: Node362,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node362, Node362.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node363type = 'rect';
- var Node363 = new ht.Node(),
- Node363BorderWidth = 1*2;
- if (Node363type === 'arc') {
- Node363BorderWidth *= 1;
- }
- Node363.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node363type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node363.setPosition(1282*ratio.ratioX, 794*ratio.ratioY);
- Node363.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node363.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node363.a('node.width', 72*_ratio.ratioX);
- Node363.a('node.height', 33*_ratio.ratioY);
- Node363.a('node.type', Node363type);
- Node363.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node363.a('node.background', 'rgba(1,212,135,1)');
- Node363.a('node.gradientcolor', 'rgba(1,212,135,1)');
- Node363.a('node.gradient', '');
- Node363.a('node.borderwidth', Node363BorderWidth);
- Node363.a('node.color', 'rgba(192,192,192,1)');
- Node363.a('node.fillrect', [0,0,0,0]);
- Node363.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node363.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node363.a('node.fillgradient', '');
- if (Node363type !== 'rect') {
- Node363.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node363.a('node.arcTo', parseFloat('@arcTo@'));
- Node363.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node363type === 'arc') {
- Node363.a('node.arcOval', true);
- }
- Node363.setRotation(0*Math.PI/180);
- Node363.borderWidth = Node363BorderWidth;
- Node363.borderFillwidth = Node363BorderWidth;
- dataModel.add(Node363);
- Node363._nodename = 'Node363'
- Node363._nodeType = 'rect';
- zoomNodeList.push({
- node: Node363,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node363, Node363.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node364 = new ht.Node();
- var Node364textStart, Node364textWidth, Node364lineStart, Node364align = 'left', Node364fontSize = 10.66664*_ratio.ratioY,Node364width = 51*_ratio.ratioX, Node364height = 13*_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(1203*ratio.ratioX, 796*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(0,0,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(0,0,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(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node364width,Node364height,10.66664*_ratio.ratioY,"left",color,' '+ Node364fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node364.a('node.underlinepoints',[Node364lineStart, (13 - 10.66664) * 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 Node365type = 'rect';
- var Node365 = new ht.Node(),
- Node365BorderWidth = 1*2;
- if (Node365type === 'arc') {
- Node365BorderWidth *= 1;
- }
- Node365.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node365type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node365.setPosition(1210*ratio.ratioX, 832*ratio.ratioY);
- Node365.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node365.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node365.a('node.width', 72*_ratio.ratioX);
- Node365.a('node.height', 33*_ratio.ratioY);
- Node365.a('node.type', Node365type);
- Node365.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node365.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node365.a('node.gradientcolor', '');
- Node365.a('node.gradient', '');
- Node365.a('node.borderwidth', Node365BorderWidth);
- Node365.a('node.color', 'rgba(192,192,192,1)');
- Node365.a('node.fillrect', [0,0,0,0]);
- Node365.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node365.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node365.a('node.fillgradient', '');
- if (Node365type !== 'rect') {
- Node365.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node365.a('node.arcTo', parseFloat('@arcTo@'));
- Node365.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node365type === 'arc') {
- Node365.a('node.arcOval', true);
- }
- Node365.setRotation(0*Math.PI/180);
- Node365.borderWidth = Node365BorderWidth;
- Node365.borderFillwidth = Node365BorderWidth;
- dataModel.add(Node365);
- Node365._nodename = 'Node365'
- Node365._nodeType = 'rect';
- zoomNodeList.push({
- node: Node365,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node365, Node365.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node366type = 'rect';
- var Node366 = new ht.Node(),
- Node366BorderWidth = 1*2;
- if (Node366type === 'arc') {
- Node366BorderWidth *= 1;
- }
- Node366.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node366type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node366.setPosition(1282*ratio.ratioX, 832*ratio.ratioY);
- Node366.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node366.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node366.a('node.width', 72*_ratio.ratioX);
- Node366.a('node.height', 33*_ratio.ratioY);
- Node366.a('node.type', Node366type);
- Node366.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node366.a('node.background', 'rgba(173,173,173,1)');
- Node366.a('node.gradientcolor', 'rgba(173,173,173,1)');
- Node366.a('node.gradient', '');
- Node366.a('node.borderwidth', Node366BorderWidth);
- Node366.a('node.color', 'rgba(192,192,192,1)');
- Node366.a('node.fillrect', [0,0,0,0]);
- Node366.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node366.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node366.a('node.fillgradient', '');
- if (Node366type !== 'rect') {
- Node366.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node366.a('node.arcTo', parseFloat('@arcTo@'));
- Node366.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node366type === 'arc') {
- Node366.a('node.arcOval', true);
- }
- Node366.setRotation(0*Math.PI/180);
- Node366.borderWidth = Node366BorderWidth;
- Node366.borderFillwidth = Node366BorderWidth;
- dataModel.add(Node366);
- Node366._nodename = 'Node366'
- Node366._nodeType = 'rect';
- zoomNodeList.push({
- node: Node366,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node366, Node366.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node367 = new ht.Node();
- var Node367textStart, Node367textWidth, Node367lineStart, Node367align = 'left', Node367fontSize = 10.66664*_ratio.ratioY,Node367width = 51*_ratio.ratioX, Node367height = 13*_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(1203*ratio.ratioX, 834*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(0,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(0,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(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node367width,Node367height,10.66664*_ratio.ratioY,"left",color,' '+ Node367fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node367.a('node.underlinepoints',[Node367lineStart, (13 - 10.66664) * 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 = 64*_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(872*ratio.ratioX, 557*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(105,105,105,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(105,105,105,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(105,105,105,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 = 77*_ratio.ratioX, Node369height = 16*_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('单位:万kwh', ' '+ Node369fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node369align === 'center') {
- Node369textStart = -3;
- Node369textWidth = Node369width;
- Node369lineStart = Node369width - ht.Default.getTextSize('单位:万kwh', ' '+ Node369fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node369.setImage(GD.getTextJSON(Node369width, Node369height, true, false, false, ' '+ Node369fontSize + 'px "Arial"'))
- Node369.setPosition(1283*ratio.ratioX, 567*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(105,105,105,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','单位:万kwh');
- Node369.a('node.textalign','left');
- Node369.a('node.textvAlign','middle');
- Node369.a('node.textrect', [Node369textStart, 0, Node369textWidth, Node369height]);
- Node369.a('node.color','rgba(105,105,105,1)');
- Node369.a('node.font',' '+ Node369fontSize + 'px "Arial"');
- 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') || '单位:万kwh';
- var color=Node369.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node369width,Node369height,13.3333*_ratio.ratioY,"left",color,' '+ Node369fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node369.a('node.underlinepoints',[Node369lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node369fontSize + 2 , ht.Default.getTextSize('单位:万kwh', ' '+ Node369fontSize + 'px "Arial"').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 Node370type = 'rect';
- var Node370 = new ht.Node(),
- Node370BorderWidth = 1*2;
- if (Node370type === 'arc') {
- Node370BorderWidth *= 1;
- }
- Node370.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node370type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node370.setPosition(1750*ratio.ratioX, 594*ratio.ratioY);
- Node370.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node370.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node370.a('node.width', 72*_ratio.ratioX);
- Node370.a('node.height', 33*_ratio.ratioY);
- Node370.a('node.type', Node370type);
- Node370.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node370.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node370.a('node.gradientcolor', '');
- Node370.a('node.gradient', '');
- Node370.a('node.borderwidth', Node370BorderWidth);
- Node370.a('node.color', 'rgba(192,192,192,1)');
- Node370.a('node.fillrect', [0,0,0,0]);
- Node370.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node370.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node370.a('node.fillgradient', '');
- if (Node370type !== 'rect') {
- Node370.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node370.a('node.arcTo', parseFloat('@arcTo@'));
- Node370.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node370type === 'arc') {
- Node370.a('node.arcOval', true);
- }
- Node370.setRotation(0*Math.PI/180);
- Node370.borderWidth = Node370BorderWidth;
- Node370.borderFillwidth = Node370BorderWidth;
- dataModel.add(Node370);
- Node370._nodename = 'Node370'
- Node370._nodeType = 'rect';
- zoomNodeList.push({
- node: Node370,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node370, Node370.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node371type = 'rect';
- var Node371 = new ht.Node(),
- Node371BorderWidth = 1*2;
- if (Node371type === 'arc') {
- Node371BorderWidth *= 1;
- }
- Node371.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node371type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node371.setPosition(1822*ratio.ratioX, 594*ratio.ratioY);
- Node371.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node371.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node371.a('node.width', 72*_ratio.ratioX);
- Node371.a('node.height', 33*_ratio.ratioY);
- Node371.a('node.type', Node371type);
- Node371.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node371.a('node.background', 'rgba(0,132,235,1)');
- Node371.a('node.gradientcolor', 'rgba(0,132,235,1)');
- Node371.a('node.gradient', '');
- Node371.a('node.borderwidth', Node371BorderWidth);
- Node371.a('node.color', 'rgba(192,192,192,1)');
- Node371.a('node.fillrect', [0,0,0,0]);
- Node371.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node371.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node371.a('node.fillgradient', '');
- if (Node371type !== 'rect') {
- Node371.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node371.a('node.arcTo', parseFloat('@arcTo@'));
- Node371.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node371type === 'arc') {
- Node371.a('node.arcOval', true);
- }
- Node371.setRotation(0*Math.PI/180);
- Node371.borderWidth = Node371BorderWidth;
- Node371.borderFillwidth = Node371BorderWidth;
- dataModel.add(Node371);
- Node371._nodename = 'Node371'
- Node371._nodeType = 'rect';
- zoomNodeList.push({
- node: Node371,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node371, Node371.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node372 = new ht.Node();
- var Node372textStart, Node372textWidth, Node372lineStart, Node372align = 'left', Node372fontSize = 10.66664*_ratio.ratioY,Node372width = 63*_ratio.ratioX, Node372height = 13*_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('理论发电量', ' '+ Node372fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node372align === 'center') {
- Node372textStart = -3;
- Node372textWidth = Node372width;
- Node372lineStart = Node372width - ht.Default.getTextSize('理论发电量', ' '+ Node372fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node372.setImage(GD.getTextJSON(Node372width, Node372height, true, false, false, ' '+ Node372fontSize + 'px "Arial"'))
- Node372.setPosition(1749*ratio.ratioX, 596*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(0,0,0,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','理论发电量');
- Node372.a('node.textalign','left');
- Node372.a('node.textvAlign','middle');
- Node372.a('node.textrect', [Node372textStart, 0, Node372textWidth, Node372height]);
- Node372.a('node.color','rgba(0,0,0,1)');
- Node372.a('node.font',' '+ Node372fontSize + 'px "Arial"');
- 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') || '理论发电量';
- var color=Node372.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node372width,Node372height,10.66664*_ratio.ratioY,"left",color,' '+ Node372fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node372.a('node.underlinepoints',[Node372lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node372fontSize + 2 , ht.Default.getTextSize('理论发电量', ' '+ Node372fontSize + 'px "Arial"').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 Node373type = 'rect';
- var Node373 = new ht.Node(),
- Node373BorderWidth = 1*2;
- if (Node373type === 'arc') {
- Node373BorderWidth *= 1;
- }
- Node373.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node373type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node373.setPosition(1750*ratio.ratioX, 633*ratio.ratioY);
- Node373.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node373.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node373.a('node.width', 72*_ratio.ratioX);
- Node373.a('node.height', 33*_ratio.ratioY);
- Node373.a('node.type', Node373type);
- Node373.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node373.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node373.a('node.gradientcolor', '');
- Node373.a('node.gradient', '');
- Node373.a('node.borderwidth', Node373BorderWidth);
- Node373.a('node.color', 'rgba(192,192,192,1)');
- Node373.a('node.fillrect', [0,0,0,0]);
- Node373.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node373.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node373.a('node.fillgradient', '');
- if (Node373type !== 'rect') {
- Node373.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node373.a('node.arcTo', parseFloat('@arcTo@'));
- Node373.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node373type === 'arc') {
- Node373.a('node.arcOval', true);
- }
- Node373.setRotation(0*Math.PI/180);
- Node373.borderWidth = Node373BorderWidth;
- Node373.borderFillwidth = Node373BorderWidth;
- dataModel.add(Node373);
- Node373._nodename = 'Node373'
- Node373._nodeType = 'rect';
- zoomNodeList.push({
- node: Node373,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node373, Node373.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node374type = 'rect';
- var Node374 = new ht.Node(),
- Node374BorderWidth = 1*2;
- if (Node374type === 'arc') {
- Node374BorderWidth *= 1;
- }
- Node374.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node374type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node374.setPosition(1822*ratio.ratioX, 633*ratio.ratioY);
- Node374.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node374.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node374.a('node.width', 72*_ratio.ratioX);
- Node374.a('node.height', 33*_ratio.ratioY);
- Node374.a('node.type', Node374type);
- Node374.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node374.a('node.background', 'rgba(60,184,254,1)');
- Node374.a('node.gradientcolor', 'rgba(60,184,254,1)');
- Node374.a('node.gradient', '');
- Node374.a('node.borderwidth', Node374BorderWidth);
- Node374.a('node.color', 'rgba(192,192,192,1)');
- Node374.a('node.fillrect', [0,0,0,0]);
- Node374.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node374.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node374.a('node.fillgradient', '');
- if (Node374type !== 'rect') {
- Node374.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node374.a('node.arcTo', parseFloat('@arcTo@'));
- Node374.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node374type === 'arc') {
- Node374.a('node.arcOval', true);
- }
- Node374.setRotation(0*Math.PI/180);
- Node374.borderWidth = Node374BorderWidth;
- Node374.borderFillwidth = Node374BorderWidth;
- dataModel.add(Node374);
- Node374._nodename = 'Node374'
- Node374._nodeType = 'rect';
- zoomNodeList.push({
- node: Node374,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node374, Node374.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node375 = new ht.Node();
- var Node375textStart, Node375textWidth, Node375lineStart, Node375align = 'left', Node375fontSize = 10.66664*_ratio.ratioY,Node375width = 63*_ratio.ratioX, Node375height = 13*_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('实际发电量', ' '+ Node375fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node375align === 'center') {
- Node375textStart = -3;
- Node375textWidth = Node375width;
- Node375lineStart = Node375width - ht.Default.getTextSize('实际发电量', ' '+ Node375fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node375.setImage(GD.getTextJSON(Node375width, Node375height, true, false, false, ' '+ Node375fontSize + 'px "Arial"'))
- Node375.setPosition(1749*ratio.ratioX, 635*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(0,0,0,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','实际发电量');
- Node375.a('node.textalign','left');
- Node375.a('node.textvAlign','middle');
- Node375.a('node.textrect', [Node375textStart, 0, Node375textWidth, Node375height]);
- Node375.a('node.color','rgba(0,0,0,1)');
- Node375.a('node.font',' '+ Node375fontSize + 'px "Arial"');
- 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') || '实际发电量';
- var color=Node375.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node375width,Node375height,10.66664*_ratio.ratioY,"left",color,' '+ Node375fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node375.a('node.underlinepoints',[Node375lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node375fontSize + 2 , ht.Default.getTextSize('实际发电量', ' '+ Node375fontSize + 'px "Arial"').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 Node376type = 'rect';
- var Node376 = new ht.Node(),
- Node376BorderWidth = 1*2;
- if (Node376type === 'arc') {
- Node376BorderWidth *= 1;
- }
- Node376.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node376type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node376.setPosition(1750*ratio.ratioX, 671*ratio.ratioY);
- Node376.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node376.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node376.a('node.width', 72*_ratio.ratioX);
- Node376.a('node.height', 33*_ratio.ratioY);
- Node376.a('node.type', Node376type);
- Node376.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node376.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node376.a('node.gradientcolor', '');
- Node376.a('node.gradient', '');
- Node376.a('node.borderwidth', Node376BorderWidth);
- Node376.a('node.color', 'rgba(192,192,192,1)');
- Node376.a('node.fillrect', [0,0,0,0]);
- Node376.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node376.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node376.a('node.fillgradient', '');
- if (Node376type !== 'rect') {
- Node376.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node376.a('node.arcTo', parseFloat('@arcTo@'));
- Node376.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node376type === 'arc') {
- Node376.a('node.arcOval', true);
- }
- Node376.setRotation(0*Math.PI/180);
- Node376.borderWidth = Node376BorderWidth;
- Node376.borderFillwidth = Node376BorderWidth;
- dataModel.add(Node376);
- Node376._nodename = 'Node376'
- Node376._nodeType = 'rect';
- zoomNodeList.push({
- node: Node376,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node376, Node376.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node377type = 'rect';
- var Node377 = new ht.Node(),
- Node377BorderWidth = 1*2;
- if (Node377type === 'arc') {
- Node377BorderWidth *= 1;
- }
- Node377.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node377type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node377.setPosition(1822*ratio.ratioX, 671*ratio.ratioY);
- Node377.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node377.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node377.a('node.width', 72*_ratio.ratioX);
- Node377.a('node.height', 33*_ratio.ratioY);
- Node377.a('node.type', Node377type);
- Node377.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node377.a('node.background', 'rgba(255,115,20,1)');
- Node377.a('node.gradientcolor', 'rgba(255,115,20,1)');
- Node377.a('node.gradient', '');
- Node377.a('node.borderwidth', Node377BorderWidth);
- Node377.a('node.color', 'rgba(192,192,192,1)');
- Node377.a('node.fillrect', [0,0,0,0]);
- Node377.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node377.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node377.a('node.fillgradient', '');
- if (Node377type !== 'rect') {
- Node377.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node377.a('node.arcTo', parseFloat('@arcTo@'));
- Node377.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node377type === 'arc') {
- Node377.a('node.arcOval', true);
- }
- Node377.setRotation(0*Math.PI/180);
- Node377.borderWidth = Node377BorderWidth;
- Node377.borderFillwidth = Node377BorderWidth;
- dataModel.add(Node377);
- Node377._nodename = 'Node377'
- Node377._nodeType = 'rect';
- zoomNodeList.push({
- node: Node377,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node377, Node377.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node378 = new ht.Node();
- var Node378textStart, Node378textWidth, Node378lineStart, Node378align = 'left', Node378fontSize = 10.66664*_ratio.ratioY,Node378width = 51*_ratio.ratioX, Node378height = 13*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node378align === 'center') {
- Node378textStart = -3;
- Node378textWidth = Node378width;
- Node378lineStart = Node378width - ht.Default.getTextSize('维护损失', ' '+ Node378fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node378.setImage(GD.getTextJSON(Node378width, Node378height, true, false, false, ' '+ Node378fontSize + 'px "Arial"'))
- Node378.setPosition(1743*ratio.ratioX, 673*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(0,0,0,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(0,0,0,1)');
- Node378.a('node.font',' '+ Node378fontSize + 'px "Arial"');
- 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(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node378width,Node378height,10.66664*_ratio.ratioY,"left",color,' '+ Node378fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node378.a('node.underlinepoints',[Node378lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node378fontSize + 2 , ht.Default.getTextSize('维护损失', ' '+ Node378fontSize + 'px "Arial"').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 Node379type = 'rect';
- var Node379 = new ht.Node(),
- Node379BorderWidth = 1*2;
- if (Node379type === 'arc') {
- Node379BorderWidth *= 1;
- }
- Node379.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node379type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node379.setPosition(1750*ratio.ratioX, 710*ratio.ratioY);
- Node379.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node379.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node379.a('node.width', 72*_ratio.ratioX);
- Node379.a('node.height', 33*_ratio.ratioY);
- Node379.a('node.type', Node379type);
- Node379.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node379.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node379.a('node.gradientcolor', '');
- Node379.a('node.gradient', '');
- Node379.a('node.borderwidth', Node379BorderWidth);
- Node379.a('node.color', 'rgba(192,192,192,1)');
- Node379.a('node.fillrect', [0,0,0,0]);
- Node379.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node379.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node379.a('node.fillgradient', '');
- if (Node379type !== 'rect') {
- Node379.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node379.a('node.arcTo', parseFloat('@arcTo@'));
- Node379.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node379type === 'arc') {
- Node379.a('node.arcOval', true);
- }
- Node379.setRotation(0*Math.PI/180);
- Node379.borderWidth = Node379BorderWidth;
- Node379.borderFillwidth = Node379BorderWidth;
- dataModel.add(Node379);
- Node379._nodename = 'Node379'
- Node379._nodeType = 'rect';
- zoomNodeList.push({
- node: Node379,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node379, Node379.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node380type = 'rect';
- var Node380 = new ht.Node(),
- Node380BorderWidth = 1*2;
- if (Node380type === 'arc') {
- Node380BorderWidth *= 1;
- }
- Node380.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node380type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node380.setPosition(1822*ratio.ratioX, 710*ratio.ratioY);
- Node380.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node380.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node380.a('node.width', 72*_ratio.ratioX);
- Node380.a('node.height', 33*_ratio.ratioY);
- Node380.a('node.type', Node380type);
- Node380.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node380.a('node.background', 'rgba(202,32,32,1)');
- Node380.a('node.gradientcolor', 'rgba(202,32,32,1)');
- Node380.a('node.gradient', '');
- Node380.a('node.borderwidth', Node380BorderWidth);
- Node380.a('node.color', 'rgba(192,192,192,1)');
- Node380.a('node.fillrect', [0,0,0,0]);
- Node380.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node380.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node380.a('node.fillgradient', '');
- if (Node380type !== 'rect') {
- Node380.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node380.a('node.arcTo', parseFloat('@arcTo@'));
- Node380.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node380type === 'arc') {
- Node380.a('node.arcOval', true);
- }
- Node380.setRotation(0*Math.PI/180);
- Node380.borderWidth = Node380BorderWidth;
- Node380.borderFillwidth = Node380BorderWidth;
- dataModel.add(Node380);
- Node380._nodename = 'Node380'
- Node380._nodeType = 'rect';
- zoomNodeList.push({
- node: Node380,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node380, Node380.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node381 = new ht.Node();
- var Node381textStart, Node381textWidth, Node381lineStart, Node381align = 'left', Node381fontSize = 10.66664*_ratio.ratioY,Node381width = 51*_ratio.ratioX, Node381height = 13*_ratio.ratioY;
- (function () {
- if (Node381align === 'left') {
- Node381textStart = Node381fontSize * 0.2 > 2 ? Node381fontSize * 0.2 - 4 : Node381fontSize * 0.2 - 9;
- Node381textWidth = Node381width;
- Node381lineStart = 1;
- } else if (Node381align === 'right') {
- Node381textStart = 0;
- Node381textWidth =Node381fontSize <= 8 ? Node381width + Node381fontSize * 0.2 + 6 : Node381width - Node381fontSize * 0.2;
- Node381lineStart = (Node381width - (ht.Default.getTextSize('故障损失', ' '+ Node381fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node381align === 'center') {
- Node381textStart = -3;
- Node381textWidth = Node381width;
- Node381lineStart = Node381width - ht.Default.getTextSize('故障损失', ' '+ Node381fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node381.setImage(GD.getTextJSON(Node381width, Node381height, true, false, false, ' '+ Node381fontSize + 'px "Arial"'))
- Node381.setPosition(1743*ratio.ratioX, 712*ratio.ratioY);
- Node381.setWidth(Node381width);
- Node381.setHeight(Node381height);
- Node381._nodeType = 'text';
- Node381._disallowEvert = true;
- Node381.setRotation(0*Math.PI/180);
- Node381.a('node.width', Node381width);
- Node381.a('node.height', Node381height);
- Node381.a('node.rect', [0, 0, Node381width, Node381height]);
- Node381.a('node.bordercolor','rgba(0,0,0,1)');
- Node381.a('node.borderwidth', 0);
- Node381.a('node.background','' || 'rgba(0,0,0,0)');
- Node381.a('node.gradient','');
- Node381.a('node.gradientcolor','');
- Node381.a('node.text','故障损失');
- Node381.a('node.textalign','left');
- Node381.a('node.textvAlign','middle');
- Node381.a('node.textrect', [Node381textStart, 0, Node381textWidth, Node381height]);
- Node381.a('node.color','rgba(0,0,0,1)');
- Node381.a('node.font',' '+ Node381fontSize + 'px "Arial"');
- Node381.a('node.textvisible',true);
- Node381.a('node.linefeed',false);
- if (false) {
- Node381.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node381.a('node.text') || '故障损失';
- var color=Node381.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node381width,Node381height,10.66664*_ratio.ratioY,"left",color,' '+ Node381fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node381.a('node.underlinepoints',[Node381lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node381fontSize + 2 , ht.Default.getTextSize('故障损失', ' '+ Node381fontSize + 'px "Arial"').width + 6, (Node381height - Node381fontSize) * 0.5*_ratio.ratioY + Node381fontSize + 2 ]);
- Node381.a('node.underlinevisible',false);
- Node381.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node381);
- zoomNodeList.push({
- node: Node381,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node382type = 'rect';
- var Node382 = new ht.Node(),
- Node382BorderWidth = 1*2;
- if (Node382type === 'arc') {
- Node382BorderWidth *= 1;
- }
- Node382.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node382type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node382.setPosition(1750*ratio.ratioX, 748*ratio.ratioY);
- Node382.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node382.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node382.a('node.width', 72*_ratio.ratioX);
- Node382.a('node.height', 33*_ratio.ratioY);
- Node382.a('node.type', Node382type);
- Node382.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node382.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node382.a('node.gradientcolor', '');
- Node382.a('node.gradient', '');
- Node382.a('node.borderwidth', Node382BorderWidth);
- Node382.a('node.color', 'rgba(192,192,192,1)');
- 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 Node383type = 'rect';
- var Node383 = new ht.Node(),
- Node383BorderWidth = 1*2;
- if (Node383type === 'arc') {
- Node383BorderWidth *= 1;
- }
- Node383.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node383type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node383.setPosition(1822*ratio.ratioX, 748*ratio.ratioY);
- Node383.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node383.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node383.a('node.width', 72*_ratio.ratioX);
- Node383.a('node.height', 33*_ratio.ratioY);
- Node383.a('node.type', Node383type);
- Node383.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node383.a('node.background', 'rgba(172,56,137,1)');
- Node383.a('node.gradientcolor', 'rgba(172,56,137,1)');
- Node383.a('node.gradient', '');
- Node383.a('node.borderwidth', Node383BorderWidth);
- Node383.a('node.color', 'rgba(192,192,192,1)');
- Node383.a('node.fillrect', [0,0,0,0]);
- Node383.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node383.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node383.a('node.fillgradient', '');
- if (Node383type !== 'rect') {
- Node383.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node383.a('node.arcTo', parseFloat('@arcTo@'));
- Node383.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node383type === 'arc') {
- Node383.a('node.arcOval', true);
- }
- Node383.setRotation(0*Math.PI/180);
- Node383.borderWidth = Node383BorderWidth;
- Node383.borderFillwidth = Node383BorderWidth;
- dataModel.add(Node383);
- Node383._nodename = 'Node383'
- Node383._nodeType = 'rect';
- zoomNodeList.push({
- node: Node383,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node383, Node383.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node384 = new ht.Node();
- var Node384textStart, Node384textWidth, Node384lineStart, Node384align = 'left', Node384fontSize = 10.66664*_ratio.ratioY,Node384width = 51*_ratio.ratioX, Node384height = 13*_ratio.ratioY;
- (function () {
- if (Node384align === 'left') {
- Node384textStart = Node384fontSize * 0.2 > 2 ? Node384fontSize * 0.2 - 4 : Node384fontSize * 0.2 - 9;
- Node384textWidth = Node384width;
- Node384lineStart = 1;
- } else if (Node384align === 'right') {
- Node384textStart = 0;
- Node384textWidth =Node384fontSize <= 8 ? Node384width + Node384fontSize * 0.2 + 6 : Node384width - Node384fontSize * 0.2;
- Node384lineStart = (Node384width - (ht.Default.getTextSize('限电损失', ' '+ Node384fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node384align === 'center') {
- Node384textStart = -3;
- Node384textWidth = Node384width;
- Node384lineStart = Node384width - ht.Default.getTextSize('限电损失', ' '+ Node384fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node384.setImage(GD.getTextJSON(Node384width, Node384height, true, false, false, ' '+ Node384fontSize + 'px "Arial"'))
- Node384.setPosition(1743*ratio.ratioX, 750*ratio.ratioY);
- Node384.setWidth(Node384width);
- Node384.setHeight(Node384height);
- Node384._nodeType = 'text';
- Node384._disallowEvert = true;
- Node384.setRotation(0*Math.PI/180);
- Node384.a('node.width', Node384width);
- Node384.a('node.height', Node384height);
- Node384.a('node.rect', [0, 0, Node384width, Node384height]);
- Node384.a('node.bordercolor','rgba(0,0,0,1)');
- Node384.a('node.borderwidth', 0);
- Node384.a('node.background','' || 'rgba(0,0,0,0)');
- Node384.a('node.gradient','');
- Node384.a('node.gradientcolor','');
- Node384.a('node.text','限电损失');
- Node384.a('node.textalign','left');
- Node384.a('node.textvAlign','middle');
- Node384.a('node.textrect', [Node384textStart, 0, Node384textWidth, Node384height]);
- Node384.a('node.color','rgba(0,0,0,1)');
- Node384.a('node.font',' '+ Node384fontSize + 'px "Arial"');
- Node384.a('node.textvisible',true);
- Node384.a('node.linefeed',false);
- if (false) {
- Node384.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node384.a('node.text') || '限电损失';
- var color=Node384.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node384width,Node384height,10.66664*_ratio.ratioY,"left",color,' '+ Node384fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node384.a('node.underlinepoints',[Node384lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node384fontSize + 2 , ht.Default.getTextSize('限电损失', ' '+ Node384fontSize + 'px "Arial"').width + 6, (Node384height - Node384fontSize) * 0.5*_ratio.ratioY + Node384fontSize + 2 ]);
- Node384.a('node.underlinevisible',false);
- Node384.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node384);
- zoomNodeList.push({
- node: Node384,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node385type = 'rect';
- var Node385 = new ht.Node(),
- Node385BorderWidth = 1*2;
- if (Node385type === 'arc') {
- Node385BorderWidth *= 1;
- }
- Node385.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node385type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node385.setPosition(1750*ratio.ratioX, 787*ratio.ratioY);
- Node385.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node385.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node385.a('node.width', 72*_ratio.ratioX);
- Node385.a('node.height', 33*_ratio.ratioY);
- Node385.a('node.type', Node385type);
- Node385.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node385.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node385.a('node.gradientcolor', '');
- Node385.a('node.gradient', '');
- Node385.a('node.borderwidth', Node385BorderWidth);
- Node385.a('node.color', 'rgba(192,192,192,1)');
- 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 Node386type = 'rect';
- var Node386 = new ht.Node(),
- Node386BorderWidth = 1*2;
- if (Node386type === 'arc') {
- Node386BorderWidth *= 1;
- }
- Node386.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node386type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node386.setPosition(1822*ratio.ratioX, 787*ratio.ratioY);
- Node386.setSize(72*_ratio.ratioX, 33*_ratio.ratioY);
- Node386.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node386.a('node.width', 72*_ratio.ratioX);
- Node386.a('node.height', 33*_ratio.ratioY);
- Node386.a('node.type', Node386type);
- Node386.a('node.rect', [0, 0, 72*_ratio.ratioX, 33*_ratio.ratioY]);
- Node386.a('node.background', 'rgba(1,212,135,1)');
- Node386.a('node.gradientcolor', 'rgba(1,212,135,1)');
- Node386.a('node.gradient', '');
- Node386.a('node.borderwidth', Node386BorderWidth);
- Node386.a('node.color', 'rgba(192,192,192,1)');
- Node386.a('node.fillrect', [0,0,0,0]);
- Node386.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node386.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node386.a('node.fillgradient', '');
- if (Node386type !== 'rect') {
- Node386.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node386.a('node.arcTo', parseFloat('@arcTo@'));
- Node386.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node386type === 'arc') {
- Node386.a('node.arcOval', true);
- }
- Node386.setRotation(0*Math.PI/180);
- Node386.borderWidth = Node386BorderWidth;
- Node386.borderFillwidth = Node386BorderWidth;
- dataModel.add(Node386);
- Node386._nodename = 'Node386'
- Node386._nodeType = 'rect';
- zoomNodeList.push({
- node: Node386,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node386, Node386.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node387 = new ht.Node();
- var Node387textStart, Node387textWidth, Node387lineStart, Node387align = 'left', Node387fontSize = 10.66664*_ratio.ratioY,Node387width = 51*_ratio.ratioX, Node387height = 13*_ratio.ratioY;
- (function () {
- if (Node387align === 'left') {
- Node387textStart = Node387fontSize * 0.2 > 2 ? Node387fontSize * 0.2 - 4 : Node387fontSize * 0.2 - 9;
- Node387textWidth = Node387width;
- Node387lineStart = 1;
- } else if (Node387align === 'right') {
- Node387textStart = 0;
- Node387textWidth =Node387fontSize <= 8 ? Node387width + Node387fontSize * 0.2 + 6 : Node387width - Node387fontSize * 0.2;
- Node387lineStart = (Node387width - (ht.Default.getTextSize('性能损失', ' '+ Node387fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node387align === 'center') {
- Node387textStart = -3;
- Node387textWidth = Node387width;
- Node387lineStart = Node387width - ht.Default.getTextSize('性能损失', ' '+ Node387fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node387.setImage(GD.getTextJSON(Node387width, Node387height, true, false, false, ' '+ Node387fontSize + 'px "Arial"'))
- Node387.setPosition(1743*ratio.ratioX, 789*ratio.ratioY);
- Node387.setWidth(Node387width);
- Node387.setHeight(Node387height);
- Node387._nodeType = 'text';
- Node387._disallowEvert = true;
- Node387.setRotation(0*Math.PI/180);
- Node387.a('node.width', Node387width);
- Node387.a('node.height', Node387height);
- Node387.a('node.rect', [0, 0, Node387width, Node387height]);
- Node387.a('node.bordercolor','rgba(0,0,0,1)');
- Node387.a('node.borderwidth', 0);
- Node387.a('node.background','' || 'rgba(0,0,0,0)');
- Node387.a('node.gradient','');
- Node387.a('node.gradientcolor','');
- Node387.a('node.text','性能损失');
- Node387.a('node.textalign','left');
- Node387.a('node.textvAlign','middle');
- Node387.a('node.textrect', [Node387textStart, 0, Node387textWidth, Node387height]);
- Node387.a('node.color','rgba(0,0,0,1)');
- Node387.a('node.font',' '+ Node387fontSize + 'px "Arial"');
- Node387.a('node.textvisible',true);
- Node387.a('node.linefeed',false);
- if (false) {
- Node387.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node387.a('node.text') || '性能损失';
- var color=Node387.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node387width,Node387height,10.66664*_ratio.ratioY,"left",color,' '+ Node387fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node387.a('node.underlinepoints',[Node387lineStart, (13 - 10.66664) * 0.5 * _ratio.ratioY + Node387fontSize + 2 , ht.Default.getTextSize('性能损失', ' '+ Node387fontSize + 'px "Arial"').width + 6, (Node387height - Node387fontSize) * 0.5*_ratio.ratioY + Node387fontSize + 2 ]);
- Node387.a('node.underlinevisible',false);
- Node387.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node387);
- zoomNodeList.push({
- node: Node387,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _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(1750*ratio.ratioX, 825*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 = 1*2;
- if (Node389type === 'arc') {
- Node389BorderWidth *= 1;
- }
- Node389.setImage(GD.getRectJSON(72*_ratio.ratioX, 33*_ratio.ratioY, Node389type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node389.setPosition(1822*ratio.ratioX, 825*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(173,173,173,1)');
- Node389.a('node.gradientcolor', 'rgba(173,173,173,1)');
- Node389.a('node.gradient', '');
- Node389.a('node.borderwidth', Node389BorderWidth);
- Node389.a('node.color', 'rgba(173,173,173,1)');
- 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 = 51*_ratio.ratioX, Node390height = 13*_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(1743*ratio.ratioX, 827*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, (13 - 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 Node391 = new ht.Node();
- var Node391textStart, Node391textWidth, Node391lineStart, Node391align = 'left', Node391fontSize = 13.3333*_ratio.ratioY,Node391width = 64*_ratio.ratioX, Node391height = 16*_ratio.ratioY;
- (function () {
- if (Node391align === 'left') {
- Node391textStart = Node391fontSize * 0.2 > 2 ? Node391fontSize * 0.2 - 4 : Node391fontSize * 0.2 - 9;
- Node391textWidth = Node391width;
- Node391lineStart = 1;
- } else if (Node391align === 'right') {
- Node391textStart = 0;
- Node391textWidth =Node391fontSize <= 8 ? Node391width + Node391fontSize * 0.2 + 6 : Node391width - Node391fontSize * 0.2;
- Node391lineStart = (Node391width - (ht.Default.getTextSize('年度分析', ' '+ Node391fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node391align === 'center') {
- Node391textStart = -3;
- Node391textWidth = Node391width;
- Node391lineStart = Node391width - ht.Default.getTextSize('年度分析', ' '+ Node391fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node391.setImage(GD.getTextJSON(Node391width, Node391height, true, false, false, ' '+ Node391fontSize + 'px "Arial"'))
- Node391.setPosition(1412*ratio.ratioX, 557*ratio.ratioY);
- Node391.setWidth(Node391width);
- Node391.setHeight(Node391height);
- Node391._nodeType = 'text';
- Node391._disallowEvert = true;
- Node391.setRotation(0*Math.PI/180);
- Node391.a('node.width', Node391width);
- Node391.a('node.height', Node391height);
- Node391.a('node.rect', [0, 0, Node391width, Node391height]);
- Node391.a('node.bordercolor','rgba(105,105,105,1)');
- Node391.a('node.borderwidth', 0);
- Node391.a('node.background','' || 'rgba(0,0,0,0)');
- Node391.a('node.gradient','');
- Node391.a('node.gradientcolor','');
- Node391.a('node.text','年度分析');
- Node391.a('node.textalign','left');
- Node391.a('node.textvAlign','middle');
- Node391.a('node.textrect', [Node391textStart, 0, Node391textWidth, Node391height]);
- Node391.a('node.color','rgba(105,105,105,1)');
- Node391.a('node.font',' '+ Node391fontSize + 'px "Arial"');
- Node391.a('node.textvisible',true);
- Node391.a('node.linefeed',false);
- if (false) {
- Node391.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node391.a('node.text') || '年度分析';
- var color=Node391.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node391width,Node391height,13.3333*_ratio.ratioY,"left",color,' '+ Node391fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node391.a('node.underlinepoints',[Node391lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node391fontSize + 2 , ht.Default.getTextSize('年度分析', ' '+ Node391fontSize + 'px "Arial"').width + 6, (Node391height - Node391fontSize) * 0.5*_ratio.ratioY + Node391fontSize + 2 ]);
- Node391.a('node.underlinevisible',false);
- Node391.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node391);
- zoomNodeList.push({
- node: Node391,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node392 = new ht.Node();
- var Node392textStart, Node392textWidth, Node392lineStart, Node392align = 'left', Node392fontSize = 13.3333*_ratio.ratioY,Node392width = 77*_ratio.ratioX, Node392height = 16*_ratio.ratioY;
- (function () {
- if (Node392align === 'left') {
- Node392textStart = Node392fontSize * 0.2 > 2 ? Node392fontSize * 0.2 - 4 : Node392fontSize * 0.2 - 9;
- Node392textWidth = Node392width;
- Node392lineStart = 1;
- } else if (Node392align === 'right') {
- Node392textStart = 0;
- Node392textWidth =Node392fontSize <= 8 ? Node392width + Node392fontSize * 0.2 + 6 : Node392width - Node392fontSize * 0.2;
- Node392lineStart = (Node392width - (ht.Default.getTextSize('单位:万kwh', ' '+ Node392fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node392align === 'center') {
- Node392textStart = -3;
- Node392textWidth = Node392width;
- Node392lineStart = Node392width - ht.Default.getTextSize('单位:万kwh', ' '+ Node392fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node392.setImage(GD.getTextJSON(Node392width, Node392height, true, false, false, ' '+ Node392fontSize + 'px "Arial"'))
- Node392.setPosition(1823*ratio.ratioX, 560*ratio.ratioY);
- Node392.setWidth(Node392width);
- Node392.setHeight(Node392height);
- Node392._nodeType = 'text';
- Node392._disallowEvert = true;
- Node392.setRotation(0*Math.PI/180);
- Node392.a('node.width', Node392width);
- Node392.a('node.height', Node392height);
- Node392.a('node.rect', [0, 0, Node392width, Node392height]);
- Node392.a('node.bordercolor','rgba(105,105,105,1)');
- Node392.a('node.borderwidth', 0);
- Node392.a('node.background','' || 'rgba(0,0,0,0)');
- Node392.a('node.gradient','');
- Node392.a('node.gradientcolor','');
- Node392.a('node.text','单位:万kwh');
- Node392.a('node.textalign','left');
- Node392.a('node.textvAlign','middle');
- Node392.a('node.textrect', [Node392textStart, 0, Node392textWidth, Node392height]);
- Node392.a('node.color','rgba(105,105,105,1)');
- Node392.a('node.font',' '+ Node392fontSize + 'px "Arial"');
- Node392.a('node.textvisible',true);
- Node392.a('node.linefeed',false);
- if (false) {
- Node392.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node392.a('node.text') || '单位:万kwh';
- var color=Node392.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node392width,Node392height,13.3333*_ratio.ratioY,"left",color,' '+ Node392fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node392.a('node.underlinepoints',[Node392lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node392fontSize + 2 , ht.Default.getTextSize('单位:万kwh', ' '+ Node392fontSize + 'px "Arial"').width + 6, (Node392height - Node392fontSize) * 0.5*_ratio.ratioY + Node392fontSize + 2 ]);
- Node392.a('node.underlinevisible',false);
- Node392.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node392);
- zoomNodeList.push({
- node: Node392,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node393 = new ht.Node();
- var Node393textStart, Node393textWidth, Node393lineStart, Node393align = 'left', Node393fontSize = 13.3333*_ratio.ratioY,Node393width = 38*_ratio.ratioX, Node393height = 16*_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('100.5', ' '+ Node393fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node393align === 'center') {
- Node393textStart = -3;
- Node393textWidth = Node393width;
- Node393lineStart = Node393width - ht.Default.getTextSize('100.5', ' '+ Node393fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node393.setImage(GD.getTextJSON(Node393width, Node393height, true, false, false, ' '+ Node393fontSize + 'px "Arial"'))
- Node393.setPosition(1281*ratio.ratioX, 603*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(255,255,255,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','100.5');
- Node393.a('node.textalign','left');
- Node393.a('node.textvAlign','middle');
- Node393.a('node.textrect', [Node393textStart, 0, Node393textWidth, Node393height]);
- Node393.a('node.color','rgba(255,255,255,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') || '100.5';
- var color=Node393.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node393width,Node393height,13.3333*_ratio.ratioY,"left",color,' '+ Node393fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node393.a('node.underlinepoints',[Node393lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node393fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ 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 Node394 = new ht.Node();
- var Node394textStart, Node394textWidth, Node394lineStart, Node394align = 'left', Node394fontSize = 13.3333*_ratio.ratioY,Node394width = 38*_ratio.ratioX, Node394height = 16*_ratio.ratioY;
- (function () {
- if (Node394align === 'left') {
- Node394textStart = Node394fontSize * 0.2 > 2 ? Node394fontSize * 0.2 - 4 : Node394fontSize * 0.2 - 9;
- Node394textWidth = Node394width;
- Node394lineStart = 1;
- } else if (Node394align === 'right') {
- Node394textStart = 0;
- Node394textWidth =Node394fontSize <= 8 ? Node394width + Node394fontSize * 0.2 + 6 : Node394width - Node394fontSize * 0.2;
- Node394lineStart = (Node394width - (ht.Default.getTextSize('100.5', ' '+ Node394fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node394align === 'center') {
- Node394textStart = -3;
- Node394textWidth = Node394width;
- Node394lineStart = Node394width - ht.Default.getTextSize('100.5', ' '+ Node394fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node394.setImage(GD.getTextJSON(Node394width, Node394height, true, false, false, ' '+ Node394fontSize + 'px "Arial"'))
- Node394.setPosition(1281*ratio.ratioX, 832*ratio.ratioY);
- Node394.setWidth(Node394width);
- Node394.setHeight(Node394height);
- Node394._nodeType = 'text';
- Node394._disallowEvert = true;
- Node394.setRotation(0*Math.PI/180);
- Node394.a('node.width', Node394width);
- Node394.a('node.height', Node394height);
- Node394.a('node.rect', [0, 0, Node394width, Node394height]);
- Node394.a('node.bordercolor','rgba(255,255,255,1)');
- Node394.a('node.borderwidth', 0);
- Node394.a('node.background','' || 'rgba(0,0,0,0)');
- Node394.a('node.gradient','');
- Node394.a('node.gradientcolor','');
- Node394.a('node.text','100.5');
- Node394.a('node.textalign','left');
- Node394.a('node.textvAlign','middle');
- Node394.a('node.textrect', [Node394textStart, 0, Node394textWidth, Node394height]);
- Node394.a('node.color','rgba(255,255,255,1)');
- Node394.a('node.font',' '+ Node394fontSize + 'px "Arial"');
- Node394.a('node.textvisible',true);
- Node394.a('node.linefeed',false);
- if (false) {
- Node394.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node394.a('node.text') || '100.5';
- var color=Node394.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node394width,Node394height,13.3333*_ratio.ratioY,"left",color,' '+ Node394fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node394.a('node.underlinepoints',[Node394lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node394fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node394fontSize + 'px "Arial"').width + 6, (Node394height - Node394fontSize) * 0.5*_ratio.ratioY + Node394fontSize + 2 ]);
- Node394.a('node.underlinevisible',false);
- Node394.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node394);
- zoomNodeList.push({
- node: Node394,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node395 = new ht.Node();
- var Node395textStart, Node395textWidth, Node395lineStart, Node395align = 'left', Node395fontSize = 13.3333*_ratio.ratioY,Node395width = 38*_ratio.ratioX, Node395height = 16*_ratio.ratioY;
- (function () {
- if (Node395align === 'left') {
- Node395textStart = Node395fontSize * 0.2 > 2 ? Node395fontSize * 0.2 - 4 : Node395fontSize * 0.2 - 9;
- Node395textWidth = Node395width;
- Node395lineStart = 1;
- } else if (Node395align === 'right') {
- Node395textStart = 0;
- Node395textWidth =Node395fontSize <= 8 ? Node395width + Node395fontSize * 0.2 + 6 : Node395width - Node395fontSize * 0.2;
- Node395lineStart = (Node395width - (ht.Default.getTextSize('100.5', ' '+ Node395fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node395align === 'center') {
- Node395textStart = -3;
- Node395textWidth = Node395width;
- Node395lineStart = Node395width - ht.Default.getTextSize('100.5', ' '+ Node395fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node395.setImage(GD.getTextJSON(Node395width, Node395height, true, false, false, ' '+ Node395fontSize + 'px "Arial"'))
- Node395.setPosition(1281*ratio.ratioX, 794*ratio.ratioY);
- Node395.setWidth(Node395width);
- Node395.setHeight(Node395height);
- Node395._nodeType = 'text';
- Node395._disallowEvert = true;
- Node395.setRotation(0*Math.PI/180);
- Node395.a('node.width', Node395width);
- Node395.a('node.height', Node395height);
- Node395.a('node.rect', [0, 0, Node395width, Node395height]);
- Node395.a('node.bordercolor','rgba(255,255,255,1)');
- Node395.a('node.borderwidth', 0);
- Node395.a('node.background','' || 'rgba(0,0,0,0)');
- Node395.a('node.gradient','');
- Node395.a('node.gradientcolor','');
- Node395.a('node.text','100.5');
- Node395.a('node.textalign','left');
- Node395.a('node.textvAlign','middle');
- Node395.a('node.textrect', [Node395textStart, 0, Node395textWidth, Node395height]);
- Node395.a('node.color','rgba(255,255,255,1)');
- Node395.a('node.font',' '+ Node395fontSize + 'px "Arial"');
- Node395.a('node.textvisible',true);
- Node395.a('node.linefeed',false);
- if (false) {
- Node395.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node395.a('node.text') || '100.5';
- var color=Node395.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node395width,Node395height,13.3333*_ratio.ratioY,"left",color,' '+ Node395fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node395.a('node.underlinepoints',[Node395lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node395fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node395fontSize + 'px "Arial"').width + 6, (Node395height - Node395fontSize) * 0.5*_ratio.ratioY + Node395fontSize + 2 ]);
- Node395.a('node.underlinevisible',false);
- Node395.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node395);
- zoomNodeList.push({
- node: Node395,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node396 = new ht.Node();
- var Node396textStart, Node396textWidth, Node396lineStart, Node396align = 'left', Node396fontSize = 13.3333*_ratio.ratioY,Node396width = 38*_ratio.ratioX, Node396height = 16*_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('100.5', ' '+ Node396fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node396align === 'center') {
- Node396textStart = -3;
- Node396textWidth = Node396width;
- Node396lineStart = Node396width - ht.Default.getTextSize('100.5', ' '+ Node396fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node396.setImage(GD.getTextJSON(Node396width, Node396height, true, false, false, ' '+ Node396fontSize + 'px "Arial"'))
- Node396.setPosition(1281*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(255,255,255,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','100.5');
- Node396.a('node.textalign','left');
- Node396.a('node.textvAlign','middle');
- Node396.a('node.textrect', [Node396textStart, 0, Node396textWidth, Node396height]);
- Node396.a('node.color','rgba(255,255,255,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') || '100.5';
- var color=Node396.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node396width,Node396height,13.3333*_ratio.ratioY,"left",color,' '+ Node396fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node396.a('node.underlinepoints',[Node396lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node396fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ 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 Node397 = new ht.Node();
- var Node397textStart, Node397textWidth, Node397lineStart, Node397align = 'left', Node397fontSize = 13.3333*_ratio.ratioY,Node397width = 38*_ratio.ratioX, Node397height = 16*_ratio.ratioY;
- (function () {
- if (Node397align === 'left') {
- Node397textStart = Node397fontSize * 0.2 > 2 ? Node397fontSize * 0.2 - 4 : Node397fontSize * 0.2 - 9;
- Node397textWidth = Node397width;
- Node397lineStart = 1;
- } else if (Node397align === 'right') {
- Node397textStart = 0;
- Node397textWidth =Node397fontSize <= 8 ? Node397width + Node397fontSize * 0.2 + 6 : Node397width - Node397fontSize * 0.2;
- Node397lineStart = (Node397width - (ht.Default.getTextSize('100.5', ' '+ Node397fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node397align === 'center') {
- Node397textStart = -3;
- Node397textWidth = Node397width;
- Node397lineStart = Node397width - ht.Default.getTextSize('100.5', ' '+ Node397fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node397.setImage(GD.getTextJSON(Node397width, Node397height, true, false, false, ' '+ Node397fontSize + 'px "Arial"'))
- Node397.setPosition(1281*ratio.ratioX, 717*ratio.ratioY);
- Node397.setWidth(Node397width);
- Node397.setHeight(Node397height);
- Node397._nodeType = 'text';
- Node397._disallowEvert = true;
- Node397.setRotation(0*Math.PI/180);
- Node397.a('node.width', Node397width);
- Node397.a('node.height', Node397height);
- Node397.a('node.rect', [0, 0, Node397width, Node397height]);
- Node397.a('node.bordercolor','rgba(255,255,255,1)');
- Node397.a('node.borderwidth', 0);
- Node397.a('node.background','' || 'rgba(0,0,0,0)');
- Node397.a('node.gradient','');
- Node397.a('node.gradientcolor','');
- Node397.a('node.text','100.5');
- Node397.a('node.textalign','left');
- Node397.a('node.textvAlign','middle');
- Node397.a('node.textrect', [Node397textStart, 0, Node397textWidth, Node397height]);
- Node397.a('node.color','rgba(255,255,255,1)');
- Node397.a('node.font',' '+ Node397fontSize + 'px "Arial"');
- Node397.a('node.textvisible',true);
- Node397.a('node.linefeed',false);
- if (false) {
- Node397.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node397.a('node.text') || '100.5';
- var color=Node397.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node397width,Node397height,13.3333*_ratio.ratioY,"left",color,' '+ Node397fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node397.a('node.underlinepoints',[Node397lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node397fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node397fontSize + 'px "Arial"').width + 6, (Node397height - Node397fontSize) * 0.5*_ratio.ratioY + Node397fontSize + 2 ]);
- Node397.a('node.underlinevisible',false);
- Node397.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node397);
- zoomNodeList.push({
- node: Node397,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node398 = new ht.Node();
- var Node398textStart, Node398textWidth, Node398lineStart, Node398align = 'left', Node398fontSize = 13.3333*_ratio.ratioY,Node398width = 38*_ratio.ratioX, Node398height = 16*_ratio.ratioY;
- (function () {
- if (Node398align === 'left') {
- Node398textStart = Node398fontSize * 0.2 > 2 ? Node398fontSize * 0.2 - 4 : Node398fontSize * 0.2 - 9;
- Node398textWidth = Node398width;
- Node398lineStart = 1;
- } else if (Node398align === 'right') {
- Node398textStart = 0;
- Node398textWidth =Node398fontSize <= 8 ? Node398width + Node398fontSize * 0.2 + 6 : Node398width - Node398fontSize * 0.2;
- Node398lineStart = (Node398width - (ht.Default.getTextSize('100.5', ' '+ Node398fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node398align === 'center') {
- Node398textStart = -3;
- Node398textWidth = Node398width;
- Node398lineStart = Node398width - ht.Default.getTextSize('100.5', ' '+ Node398fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node398.setImage(GD.getTextJSON(Node398width, Node398height, true, false, false, ' '+ Node398fontSize + 'px "Arial"'))
- Node398.setPosition(1281*ratio.ratioX, 679*ratio.ratioY);
- Node398.setWidth(Node398width);
- Node398.setHeight(Node398height);
- Node398._nodeType = 'text';
- Node398._disallowEvert = true;
- Node398.setRotation(0*Math.PI/180);
- Node398.a('node.width', Node398width);
- Node398.a('node.height', Node398height);
- Node398.a('node.rect', [0, 0, Node398width, Node398height]);
- Node398.a('node.bordercolor','rgba(255,255,255,1)');
- Node398.a('node.borderwidth', 0);
- Node398.a('node.background','' || 'rgba(0,0,0,0)');
- Node398.a('node.gradient','');
- Node398.a('node.gradientcolor','');
- Node398.a('node.text','100.5');
- Node398.a('node.textalign','left');
- Node398.a('node.textvAlign','middle');
- Node398.a('node.textrect', [Node398textStart, 0, Node398textWidth, Node398height]);
- Node398.a('node.color','rgba(255,255,255,1)');
- Node398.a('node.font',' '+ Node398fontSize + 'px "Arial"');
- Node398.a('node.textvisible',true);
- Node398.a('node.linefeed',false);
- if (false) {
- Node398.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node398.a('node.text') || '100.5';
- var color=Node398.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node398width,Node398height,13.3333*_ratio.ratioY,"left",color,' '+ Node398fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node398.a('node.underlinepoints',[Node398lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node398fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node398fontSize + 'px "Arial"').width + 6, (Node398height - Node398fontSize) * 0.5*_ratio.ratioY + Node398fontSize + 2 ]);
- Node398.a('node.underlinevisible',false);
- Node398.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node398);
- zoomNodeList.push({
- node: Node398,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node399 = new ht.Node();
- var Node399textStart, Node399textWidth, Node399lineStart, Node399align = 'left', Node399fontSize = 13.3333*_ratio.ratioY,Node399width = 38*_ratio.ratioX, Node399height = 16*_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('100.5', ' '+ Node399fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node399align === 'center') {
- Node399textStart = -3;
- Node399textWidth = Node399width;
- Node399lineStart = Node399width - ht.Default.getTextSize('100.5', ' '+ Node399fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node399.setImage(GD.getTextJSON(Node399width, Node399height, true, false, false, ' '+ Node399fontSize + 'px "Arial"'))
- Node399.setPosition(1281*ratio.ratioX, 641*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(255,255,255,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','100.5');
- Node399.a('node.textalign','left');
- Node399.a('node.textvAlign','middle');
- Node399.a('node.textrect', [Node399textStart, 0, Node399textWidth, Node399height]);
- Node399.a('node.color','rgba(255,255,255,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') || '100.5';
- var color=Node399.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node399width,Node399height,13.3333*_ratio.ratioY,"left",color,' '+ Node399fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node399.a('node.underlinepoints',[Node399lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node399fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ 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 Node400 = new ht.Node();
- var Node400textStart, Node400textWidth, Node400lineStart, Node400align = 'left', Node400fontSize = 13.3333*_ratio.ratioY,Node400width = 38*_ratio.ratioX, Node400height = 16*_ratio.ratioY;
- (function () {
- if (Node400align === 'left') {
- Node400textStart = Node400fontSize * 0.2 > 2 ? Node400fontSize * 0.2 - 4 : Node400fontSize * 0.2 - 9;
- Node400textWidth = Node400width;
- Node400lineStart = 1;
- } else if (Node400align === 'right') {
- Node400textStart = 0;
- Node400textWidth =Node400fontSize <= 8 ? Node400width + Node400fontSize * 0.2 + 6 : Node400width - Node400fontSize * 0.2;
- Node400lineStart = (Node400width - (ht.Default.getTextSize('100.5', ' '+ Node400fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node400align === 'center') {
- Node400textStart = -3;
- Node400textWidth = Node400width;
- Node400lineStart = Node400width - ht.Default.getTextSize('100.5', ' '+ Node400fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node400.setImage(GD.getTextJSON(Node400width, Node400height, true, false, false, ' '+ Node400fontSize + 'px "Arial"'))
- Node400.setPosition(1821*ratio.ratioX, 596*ratio.ratioY);
- Node400.setWidth(Node400width);
- Node400.setHeight(Node400height);
- Node400._nodeType = 'text';
- Node400._disallowEvert = true;
- Node400.setRotation(0*Math.PI/180);
- Node400.a('node.width', Node400width);
- Node400.a('node.height', Node400height);
- Node400.a('node.rect', [0, 0, Node400width, Node400height]);
- Node400.a('node.bordercolor','rgba(255,255,255,1)');
- Node400.a('node.borderwidth', 0);
- Node400.a('node.background','' || 'rgba(0,0,0,0)');
- Node400.a('node.gradient','');
- Node400.a('node.gradientcolor','');
- Node400.a('node.text','100.5');
- Node400.a('node.textalign','left');
- Node400.a('node.textvAlign','middle');
- Node400.a('node.textrect', [Node400textStart, 0, Node400textWidth, Node400height]);
- Node400.a('node.color','rgba(255,255,255,1)');
- Node400.a('node.font',' '+ Node400fontSize + 'px "Arial"');
- Node400.a('node.textvisible',true);
- Node400.a('node.linefeed',false);
- if (false) {
- Node400.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node400.a('node.text') || '100.5';
- var color=Node400.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node400width,Node400height,13.3333*_ratio.ratioY,"left",color,' '+ Node400fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node400.a('node.underlinepoints',[Node400lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node400fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node400fontSize + 'px "Arial"').width + 6, (Node400height - Node400fontSize) * 0.5*_ratio.ratioY + Node400fontSize + 2 ]);
- Node400.a('node.underlinevisible',false);
- Node400.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node400);
- zoomNodeList.push({
- node: Node400,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node401 = new ht.Node();
- var Node401textStart, Node401textWidth, Node401lineStart, Node401align = 'left', Node401fontSize = 13.3333*_ratio.ratioY,Node401width = 38*_ratio.ratioX, Node401height = 16*_ratio.ratioY;
- (function () {
- if (Node401align === 'left') {
- Node401textStart = Node401fontSize * 0.2 > 2 ? Node401fontSize * 0.2 - 4 : Node401fontSize * 0.2 - 9;
- Node401textWidth = Node401width;
- Node401lineStart = 1;
- } else if (Node401align === 'right') {
- Node401textStart = 0;
- Node401textWidth =Node401fontSize <= 8 ? Node401width + Node401fontSize * 0.2 + 6 : Node401width - Node401fontSize * 0.2;
- Node401lineStart = (Node401width - (ht.Default.getTextSize('100.5', ' '+ Node401fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node401align === 'center') {
- Node401textStart = -3;
- Node401textWidth = Node401width;
- Node401lineStart = Node401width - ht.Default.getTextSize('100.5', ' '+ Node401fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node401.setImage(GD.getTextJSON(Node401width, Node401height, true, false, false, ' '+ Node401fontSize + 'px "Arial"'))
- Node401.setPosition(1821*ratio.ratioX, 825*ratio.ratioY);
- Node401.setWidth(Node401width);
- Node401.setHeight(Node401height);
- Node401._nodeType = 'text';
- Node401._disallowEvert = true;
- Node401.setRotation(0*Math.PI/180);
- Node401.a('node.width', Node401width);
- Node401.a('node.height', Node401height);
- Node401.a('node.rect', [0, 0, Node401width, Node401height]);
- Node401.a('node.bordercolor','rgba(255,255,255,1)');
- Node401.a('node.borderwidth', 0);
- Node401.a('node.background','' || 'rgba(0,0,0,0)');
- Node401.a('node.gradient','');
- Node401.a('node.gradientcolor','');
- Node401.a('node.text','100.5');
- Node401.a('node.textalign','left');
- Node401.a('node.textvAlign','middle');
- Node401.a('node.textrect', [Node401textStart, 0, Node401textWidth, Node401height]);
- Node401.a('node.color','rgba(255,255,255,1)');
- Node401.a('node.font',' '+ Node401fontSize + 'px "Arial"');
- Node401.a('node.textvisible',true);
- Node401.a('node.linefeed',false);
- if (false) {
- Node401.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node401.a('node.text') || '100.5';
- var color=Node401.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node401width,Node401height,13.3333*_ratio.ratioY,"left",color,' '+ Node401fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node401.a('node.underlinepoints',[Node401lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node401fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node401fontSize + 'px "Arial"').width + 6, (Node401height - Node401fontSize) * 0.5*_ratio.ratioY + Node401fontSize + 2 ]);
- Node401.a('node.underlinevisible',false);
- Node401.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node401);
- zoomNodeList.push({
- node: Node401,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node402 = new ht.Node();
- var Node402textStart, Node402textWidth, Node402lineStart, Node402align = 'left', Node402fontSize = 13.3333*_ratio.ratioY,Node402width = 38*_ratio.ratioX, Node402height = 16*_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('100.5', ' '+ Node402fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node402align === 'center') {
- Node402textStart = -3;
- Node402textWidth = Node402width;
- Node402lineStart = Node402width - ht.Default.getTextSize('100.5', ' '+ Node402fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node402.setImage(GD.getTextJSON(Node402width, Node402height, true, false, false, ' '+ Node402fontSize + 'px "Arial"'))
- Node402.setPosition(1821*ratio.ratioX, 787*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(255,255,255,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','100.5');
- Node402.a('node.textalign','left');
- Node402.a('node.textvAlign','middle');
- Node402.a('node.textrect', [Node402textStart, 0, Node402textWidth, Node402height]);
- Node402.a('node.color','rgba(255,255,255,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') || '100.5';
- var color=Node402.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node402width,Node402height,13.3333*_ratio.ratioY,"left",color,' '+ Node402fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node402.a('node.underlinepoints',[Node402lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node402fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ 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 Node403 = new ht.Node();
- var Node403textStart, Node403textWidth, Node403lineStart, Node403align = 'left', Node403fontSize = 13.3333*_ratio.ratioY,Node403width = 38*_ratio.ratioX, Node403height = 16*_ratio.ratioY;
- (function () {
- if (Node403align === 'left') {
- Node403textStart = Node403fontSize * 0.2 > 2 ? Node403fontSize * 0.2 - 4 : Node403fontSize * 0.2 - 9;
- Node403textWidth = Node403width;
- Node403lineStart = 1;
- } else if (Node403align === 'right') {
- Node403textStart = 0;
- Node403textWidth =Node403fontSize <= 8 ? Node403width + Node403fontSize * 0.2 + 6 : Node403width - Node403fontSize * 0.2;
- Node403lineStart = (Node403width - (ht.Default.getTextSize('100.5', ' '+ Node403fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node403align === 'center') {
- Node403textStart = -3;
- Node403textWidth = Node403width;
- Node403lineStart = Node403width - ht.Default.getTextSize('100.5', ' '+ Node403fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node403.setImage(GD.getTextJSON(Node403width, Node403height, true, false, false, ' '+ Node403fontSize + 'px "Arial"'))
- Node403.setPosition(1821*ratio.ratioX, 749*ratio.ratioY);
- Node403.setWidth(Node403width);
- Node403.setHeight(Node403height);
- Node403._nodeType = 'text';
- Node403._disallowEvert = true;
- Node403.setRotation(0*Math.PI/180);
- Node403.a('node.width', Node403width);
- Node403.a('node.height', Node403height);
- Node403.a('node.rect', [0, 0, Node403width, Node403height]);
- Node403.a('node.bordercolor','rgba(255,255,255,1)');
- Node403.a('node.borderwidth', 0);
- Node403.a('node.background','' || 'rgba(0,0,0,0)');
- Node403.a('node.gradient','');
- Node403.a('node.gradientcolor','');
- Node403.a('node.text','100.5');
- Node403.a('node.textalign','left');
- Node403.a('node.textvAlign','middle');
- Node403.a('node.textrect', [Node403textStart, 0, Node403textWidth, Node403height]);
- Node403.a('node.color','rgba(255,255,255,1)');
- Node403.a('node.font',' '+ Node403fontSize + 'px "Arial"');
- Node403.a('node.textvisible',true);
- Node403.a('node.linefeed',false);
- if (false) {
- Node403.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node403.a('node.text') || '100.5';
- var color=Node403.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node403width,Node403height,13.3333*_ratio.ratioY,"left",color,' '+ Node403fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node403.a('node.underlinepoints',[Node403lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node403fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node403fontSize + 'px "Arial"').width + 6, (Node403height - Node403fontSize) * 0.5*_ratio.ratioY + Node403fontSize + 2 ]);
- Node403.a('node.underlinevisible',false);
- Node403.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node403);
- zoomNodeList.push({
- node: Node403,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node404 = new ht.Node();
- var Node404textStart, Node404textWidth, Node404lineStart, Node404align = 'left', Node404fontSize = 13.3333*_ratio.ratioY,Node404width = 38*_ratio.ratioX, Node404height = 16*_ratio.ratioY;
- (function () {
- if (Node404align === 'left') {
- Node404textStart = Node404fontSize * 0.2 > 2 ? Node404fontSize * 0.2 - 4 : Node404fontSize * 0.2 - 9;
- Node404textWidth = Node404width;
- Node404lineStart = 1;
- } else if (Node404align === 'right') {
- Node404textStart = 0;
- Node404textWidth =Node404fontSize <= 8 ? Node404width + Node404fontSize * 0.2 + 6 : Node404width - Node404fontSize * 0.2;
- Node404lineStart = (Node404width - (ht.Default.getTextSize('100.5', ' '+ Node404fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node404align === 'center') {
- Node404textStart = -3;
- Node404textWidth = Node404width;
- Node404lineStart = Node404width - ht.Default.getTextSize('100.5', ' '+ Node404fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node404.setImage(GD.getTextJSON(Node404width, Node404height, true, false, false, ' '+ Node404fontSize + 'px "Arial"'))
- Node404.setPosition(1821*ratio.ratioX, 710*ratio.ratioY);
- Node404.setWidth(Node404width);
- Node404.setHeight(Node404height);
- Node404._nodeType = 'text';
- Node404._disallowEvert = true;
- Node404.setRotation(0*Math.PI/180);
- Node404.a('node.width', Node404width);
- Node404.a('node.height', Node404height);
- Node404.a('node.rect', [0, 0, Node404width, Node404height]);
- Node404.a('node.bordercolor','rgba(255,255,255,1)');
- Node404.a('node.borderwidth', 0);
- Node404.a('node.background','' || 'rgba(0,0,0,0)');
- Node404.a('node.gradient','');
- Node404.a('node.gradientcolor','');
- Node404.a('node.text','100.5');
- Node404.a('node.textalign','left');
- Node404.a('node.textvAlign','middle');
- Node404.a('node.textrect', [Node404textStart, 0, Node404textWidth, Node404height]);
- Node404.a('node.color','rgba(255,255,255,1)');
- Node404.a('node.font',' '+ Node404fontSize + 'px "Arial"');
- Node404.a('node.textvisible',true);
- Node404.a('node.linefeed',false);
- if (false) {
- Node404.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node404.a('node.text') || '100.5';
- var color=Node404.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node404width,Node404height,13.3333*_ratio.ratioY,"left",color,' '+ Node404fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node404.a('node.underlinepoints',[Node404lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node404fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node404fontSize + 'px "Arial"').width + 6, (Node404height - Node404fontSize) * 0.5*_ratio.ratioY + Node404fontSize + 2 ]);
- Node404.a('node.underlinevisible',false);
- Node404.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node404);
- zoomNodeList.push({
- node: Node404,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node405 = new ht.Node();
- var Node405textStart, Node405textWidth, Node405lineStart, Node405align = 'left', Node405fontSize = 13.3333*_ratio.ratioY,Node405width = 38*_ratio.ratioX, Node405height = 16*_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('100.5', ' '+ Node405fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node405align === 'center') {
- Node405textStart = -3;
- Node405textWidth = Node405width;
- Node405lineStart = Node405width - ht.Default.getTextSize('100.5', ' '+ Node405fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node405.setImage(GD.getTextJSON(Node405width, Node405height, true, false, false, ' '+ Node405fontSize + 'px "Arial"'))
- Node405.setPosition(1821*ratio.ratioX, 672*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(255,255,255,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','100.5');
- Node405.a('node.textalign','left');
- Node405.a('node.textvAlign','middle');
- Node405.a('node.textrect', [Node405textStart, 0, Node405textWidth, Node405height]);
- Node405.a('node.color','rgba(255,255,255,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') || '100.5';
- var color=Node405.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node405width,Node405height,13.3333*_ratio.ratioY,"left",color,' '+ Node405fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node405.a('node.underlinepoints',[Node405lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node405fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ 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 Node406 = new ht.Node();
- var Node406textStart, Node406textWidth, Node406lineStart, Node406align = 'left', Node406fontSize = 13.3333*_ratio.ratioY,Node406width = 38*_ratio.ratioX, Node406height = 16*_ratio.ratioY;
- (function () {
- if (Node406align === 'left') {
- Node406textStart = Node406fontSize * 0.2 > 2 ? Node406fontSize * 0.2 - 4 : Node406fontSize * 0.2 - 9;
- Node406textWidth = Node406width;
- Node406lineStart = 1;
- } else if (Node406align === 'right') {
- Node406textStart = 0;
- Node406textWidth =Node406fontSize <= 8 ? Node406width + Node406fontSize * 0.2 + 6 : Node406width - Node406fontSize * 0.2;
- Node406lineStart = (Node406width - (ht.Default.getTextSize('100.5', ' '+ Node406fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node406align === 'center') {
- Node406textStart = -3;
- Node406textWidth = Node406width;
- Node406lineStart = Node406width - ht.Default.getTextSize('100.5', ' '+ Node406fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node406.setImage(GD.getTextJSON(Node406width, Node406height, true, false, false, ' '+ Node406fontSize + 'px "Arial"'))
- Node406.setPosition(1821*ratio.ratioX, 634*ratio.ratioY);
- Node406.setWidth(Node406width);
- Node406.setHeight(Node406height);
- Node406._nodeType = 'text';
- Node406._disallowEvert = true;
- Node406.setRotation(0*Math.PI/180);
- Node406.a('node.width', Node406width);
- Node406.a('node.height', Node406height);
- Node406.a('node.rect', [0, 0, Node406width, Node406height]);
- Node406.a('node.bordercolor','rgba(255,255,255,1)');
- Node406.a('node.borderwidth', 0);
- Node406.a('node.background','' || 'rgba(0,0,0,0)');
- Node406.a('node.gradient','');
- Node406.a('node.gradientcolor','');
- Node406.a('node.text','100.5');
- Node406.a('node.textalign','left');
- Node406.a('node.textvAlign','middle');
- Node406.a('node.textrect', [Node406textStart, 0, Node406textWidth, Node406height]);
- Node406.a('node.color','rgba(255,255,255,1)');
- Node406.a('node.font',' '+ Node406fontSize + 'px "Arial"');
- Node406.a('node.textvisible',true);
- Node406.a('node.linefeed',false);
- if (false) {
- Node406.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node406.a('node.text') || '100.5';
- var color=Node406.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node406width,Node406height,13.3333*_ratio.ratioY,"left",color,' '+ Node406fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node406.a('node.underlinepoints',[Node406lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node406fontSize + 2 , ht.Default.getTextSize('100.5', ' '+ Node406fontSize + 'px "Arial"').width + 6, (Node406height - Node406fontSize) * 0.5*_ratio.ratioY + Node406fontSize + 2 ]);
- Node406.a('node.underlinevisible',false);
- Node406.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node406);
- zoomNodeList.push({
- node: Node406,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- // var alarmLevelDic = {};
- // var alarmLevelDicName = {};
- // var alarmGroupDic = {};
- var Node407_beginTime='2018/6/28 14:55:34';
- var Node407_endTime='2018/6/29 14:55:34';
- var Node407_alarmAreaTmp='*';
- var Node407_chartType="normal";
- var Node407Export;
- var Node407Arr=[{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:'10',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 Node407Option = {
- 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('10'), 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 Node407 = new ht.HtmlNode();
- Node407.setPosition({'x':1537*ratio.ratioX,'y':724*ratio.ratioY});
- Node407.setWidth(379.2*ratio.ratioX);
- Node407.setHeight(379.2*ratio.ratioY);
- Node407.setScalable(false);
- Node407.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- //Node407.option=Node407Option;
- chart = new ht.Chart(Node407Option, 379.2*ratio.ratioX, 379.2*ratio.ratioY);
- Node407.setHtml(chart);
- var Node407_chart = chart._chart;
- dataModel.add(Node407);
- Node407.option=Node407Option;
- if(Node407_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:34')).getTime();
- et=(new Date('2018/6/29 14:55:34')).getTime();
- Node407_alarmAreaTmp = '*'||'*';
- }else{
- st=(new Date("'2018/6/28 14:55:34'")).getTime();
- et=(new Date("'2018/6/29 14:55:34'")).getTime();
- Node407_alarmAreaTmp= ''*''||'*';
- }
- var alarmAreaDicName = {};
- Node407.NodeCreat=function(option)
- {
- Node407_chart.clear();
- Node407_chart.setOption(option);
- };
- //判断是不是报警画图
- if(Node407_chartType!="normal"){
- if(Node407_chartType=="alarmLevel"){
- //报警等级画图
- // getAlarmLevels();
- getAlarmLevelChartData(st,et,Node407_alarmAreaTmp,"alarmLevelPie",Node407,Node407.NodeCreat);
- }else if(Node407_chartType=="alarmGroup"){
- //报警组画图
- // alarmGroupDic= getAlarmGroups();
- getAlarmGroupChartData(st,et,Node407_alarmAreaTmp,"alarmGroupPie",Node407,Node407.NodeCreat);
- }
- }
- function Node407RefreshPieChartInfo(){
- if (Node407_chartType === 'statistic') {
- return Node407Search();
- }
- if(Node407_chartType!="normal"){
- st=(new Date('2018/6/28 14:55:34')).getTime();
- et=(new Date('2018/6/29 14:55:34')).getTime();
- Node407_alarmAreaTmp = '*'||'*';
- // Node407_alarmAreaTmp="你好";
- // var Node407type=Node407_chartType+"pie";
- if (!GD.testSearchTime(st, et)) {
- return ;
- }
- if(Node407_chartType=="alarmLevel"){
- getAlarmLevelChartData(st,et,Node407_alarmAreaTmp,"alarmLevelPie",Node407,Node407.NodeCreat);
- }else if(Node407_chartType=="alarmGroup"){
- getAlarmGroupChartData(st,et,Node407_alarmAreaTmp,"alarmGroupPie",Node407,Node407.NodeCreat);
- }
- }else{
- st=(new Date("'2018/6/28 14:55:34'")).getTime();
- et=(new Date("'2018/6/29 14:55:34'")).getTime();
- Node407_alarmAreaTmp= 'Node407_alarmAreaTmp'||'*';
- }
- }
- Node407Export = function () {
- var option = Node407_chart.getOption(),
- series = option.series[0] || {},
- data = series['data'] || [];
- var tempArr = [],
- resultArr = [],
- titleArr = [],
- d,title, total = 0, t, fileName;
- if(Node407_chartType!="normal"){
- if(Node407_chartType=="alarmLevel"){
- title = '故障级别';
- fileName = '故障级别';
- } else if(Node407_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 Node407Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- var statisticsTypeObj = {};
- for(var i=0;i<Node407Arr.length;i++){
- statisticsTypeObj[Node407Arr[i].tagName] = Node407Arr[i].statisticsType;
- }
- var beginTime = '2018/6/28 14:55:34',
- endTime = '2018/6/29 14:55:34';
- // 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 (Node407_chartType != 'statistic') {
- Node407RefreshPieChartInfo()
- 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 = Node407_chart.getOption();
- option.series[0].data=[];
- for (var i = 0, len = Node407Arr.length; i < len; i++) {
- var sdata = Node407Arr[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);
- }
- Node407_chart.setOption(option, true);
- }
- }
- if(Node407_chartType == 'statistic'){
- Node407Search();
- }
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node408 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1425*ratio.ratioX, 408*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 Node409 = GD.createButton(90*_ratio.ratioX, 30*_ratio.ratioY, 1425*ratio.ratioX, 408*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'});var Node410;
- (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_jingguo.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_jingguo.png');
- Node410 = new ht.Node();
- Node410.setPosition(1817*ratio.ratioX, 374*ratio.ratioY);
- Node410.setSize(90*ratioX, 30*ratioY);
- Node410.setImage('imgimage//img//page_ztjs_sx_jingguo.png');
- Node410.setRotation(0*Math.PI/180);
- Node410._zoomBy = 'Default';
- Node410._nodeType = 'image';
- Node410._disallowEvert = true;
- dataModel.add(Node410);
- })();
- var Node411;
- (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_z_bj.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_z_bj.png');
- Node411 = new ht.Node();
- Node411.setPosition(1817*ratio.ratioX, 374*ratio.ratioY);
- Node411.setSize(90*ratioX, 30*ratioY);
- Node411.setImage('imgimage//img//page_ztjs_sx_z_bj.png');
- Node411.setRotation(0*Math.PI/180);
- Node411._zoomBy = 'Default';
- Node411._nodeType = 'image';
- Node411._disallowEvert = true;
- dataModel.add(Node411);
- })();
- var Node412;
- (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_jingguo.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_jingguo.png');
- Node412 = new ht.Node();
- Node412.setPosition(1818*ratio.ratioX, 408*ratio.ratioY);
- Node412.setSize(90*ratioX, 30*ratioY);
- Node412.setImage('imgimage//img//page_ztjs_sx_jingguo.png');
- Node412.setRotation(0*Math.PI/180);
- Node412._zoomBy = 'Default';
- Node412._nodeType = 'image';
- Node412._disallowEvert = true;
- dataModel.add(Node412);
- })();
- var Node413;
- (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_z_bj.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_z_bj.png');
- Node413 = new ht.Node();
- Node413.setPosition(1818*ratio.ratioX, 408*ratio.ratioY);
- Node413.setSize(90*ratioX, 30*ratioY);
- Node413.setImage('imgimage//img//page_ztjs_sx_z_bj.png');
- Node413.setRotation(0*Math.PI/180);
- Node413._zoomBy = 'Default';
- Node413._nodeType = 'image';
- Node413._disallowEvert = true;
- dataModel.add(Node413);
- })();
- var Node414;
- (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_jingguo.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_jingguo.png');
- Node414 = new ht.Node();
- Node414.setPosition(303*ratio.ratioX, 574*ratio.ratioY);
- Node414.setSize(90*ratioX, 30*ratioY);
- Node414.setImage('imgimage//img//page_ztjs_sx_jingguo.png');
- Node414.setRotation(0*Math.PI/180);
- Node414._zoomBy = 'Default';
- Node414._nodeType = 'image';
- Node414._disallowEvert = true;
- dataModel.add(Node414);
- })();
- var Node415;
- (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_z_bj.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_z_bj.png');
- Node415 = new ht.Node();
- Node415.setPosition(303*ratio.ratioX, 574*ratio.ratioY);
- Node415.setSize(90*ratioX, 30*ratioY);
- Node415.setImage('imgimage//img//page_ztjs_sx_z_bj.png');
- Node415.setRotation(0*Math.PI/180);
- Node415._zoomBy = 'Default';
- Node415._nodeType = 'image';
- Node415._disallowEvert = true;
- dataModel.add(Node415);
- })();
- var Node416;
- (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_jingguo.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_jingguo.png');
- Node416 = new ht.Node();
- Node416.setPosition(303*ratio.ratioX, 609*ratio.ratioY);
- Node416.setSize(90*ratioX, 30*ratioY);
- Node416.setImage('imgimage//img//page_ztjs_sx_jingguo.png');
- Node416.setRotation(0*Math.PI/180);
- Node416._zoomBy = 'Default';
- Node416._nodeType = 'image';
- Node416._disallowEvert = true;
- dataModel.add(Node416);
- })();
- var Node417;
- (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_z_bj.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_z_bj.png');
- Node417 = new ht.Node();
- Node417.setPosition(303*ratio.ratioX, 609*ratio.ratioY);
- Node417.setSize(90*ratioX, 30*ratioY);
- Node417.setImage('imgimage//img//page_ztjs_sx_z_bj.png');
- Node417.setRotation(0*Math.PI/180);
- Node417._zoomBy = 'Default';
- Node417._nodeType = 'image';
- Node417._disallowEvert = true;
- dataModel.add(Node417);
- })();
- var Node418;
- (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_jingguo.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_jingguo.png');
- Node418 = new ht.Node();
- Node418.setPosition(679*ratio.ratioX, 574*ratio.ratioY);
- Node418.setSize(90*ratioX, 30*ratioY);
- Node418.setImage('imgimage//img//page_ztjs_sx_jingguo.png');
- Node418.setRotation(0*Math.PI/180);
- Node418._zoomBy = 'Default';
- Node418._nodeType = 'image';
- Node418._disallowEvert = true;
- dataModel.add(Node418);
- })();
- var Node419;
- (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_z_bj.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_z_bj.png');
- Node419 = new ht.Node();
- Node419.setPosition(679*ratio.ratioX, 574*ratio.ratioY);
- Node419.setSize(90*ratioX, 30*ratioY);
- Node419.setImage('imgimage//img//page_ztjs_sx_z_bj.png');
- Node419.setRotation(0*Math.PI/180);
- Node419._zoomBy = 'Default';
- Node419._nodeType = 'image';
- Node419._disallowEvert = true;
- dataModel.add(Node419);
- })();
- var Node420;
- (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_jingguo.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_jingguo.png');
- Node420 = new ht.Node();
- Node420.setPosition(679*ratio.ratioX, 609*ratio.ratioY);
- Node420.setSize(90*ratioX, 30*ratioY);
- Node420.setImage('imgimage//img//page_ztjs_sx_jingguo.png');
- Node420.setRotation(0*Math.PI/180);
- Node420._zoomBy = 'Default';
- Node420._nodeType = 'image';
- Node420._disallowEvert = true;
- dataModel.add(Node420);
- })();
- var Node421;
- (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_z_bj.png', PAGEROOTDIR + 'image//img//page_ztjs_sx_z_bj.png');
- Node421 = new ht.Node();
- Node421.setPosition(678*ratio.ratioX, 609*ratio.ratioY);
- Node421.setSize(90*ratioX, 30*ratioY);
- Node421.setImage('imgimage//img//page_ztjs_sx_z_bj.png');
- Node421.setRotation(0*Math.PI/180);
- Node421._zoomBy = 'Default';
- Node421._nodeType = 'image';
- Node421._disallowEvert = true;
- dataModel.add(Node421);
- })();
- var Node422points=[150, 319,277, 319],
- Node422rect=ht.Default.unionPoint([{x:150,y:319},{x:277,y:319}]),
- Node422compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node422points.length;i++){
- if(i%2==0){
- Node422compspts.push(Node422points[i]-Node422rect.x);
- }else{
- Node422compspts.push(Node422points[i]-Node422rect.y);
- }
- }
- var Node422ptslength=Node422compspts.length;
- if (Node422rect.height === 0) {
- Node422compspts[0] -= 0;
- Node422compspts[Node422ptslength-2] += 0;
- } else if (Node422rect.width === 0){
- Node422compspts[1] -= 0;
- Node422compspts[Node422ptslength-1] += 0;
- } else {
- Node422compspts[0] -= 0;
- Node422compspts[1] -= 0;
- Node422compspts[Node422ptslength-2] += 0;
- Node422compspts[Node422ptslength-1] += 0;
- }
- Node422 = new ht.Node();
- Node422.borderWidth = 1;
- Node422rect.width = Node422rect.width === 0 ? 0.0001 : Node422rect.width;
- Node422rect.height = Node422rect.height === 0 ? 0.0001 : Node422rect.height;
- var Node422endCompspts = [Node422compspts[Node422ptslength-2],Node422compspts[Node422ptslength-1],0,0];
- var Node422startCompspts = [Node422compspts[0],Node422compspts[1],0,0];
- Node422.setImage(GD.getPolyLineJSON());
- Node422.setPosition(Node422rect.x+Node422rect.width/2,Node422rect.y+Node422rect.height/2);
- Node422.setSize(Node422rect.width,Node422rect.height);
- Node422.setStyle("opacity",1);
- Node422.s({'pixelPerfect':true});
- Node422borderwidth=1;
- Node422.setRotation(0);
- dataModel.add(Node422);
- Node422.a('node.points',Node422compspts);
- Node422.a('node.segments',[1,2]);
- Node422.a('node.color','rgba(192,192,192,1)');
- Node422.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node422.a('node.borderColor','rgba(192,192,192,1)');
- Node422.a('node.background','rgba(192,192,192,1)');
- Node422.a('node.gradient','');
- Node422.a('node.gradientcolor','rgba(192,192,192,1)');
- Node422.a('node.endCompspts',Node422endCompspts);
- Node422.a('node.startCompspts',Node422startCompspts);
- (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 = 'Node422';
- 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);
- }
- })(Node422, Node422.getImage(), Node422compspts, Node422endCompspts, Node422startCompspts);
- var Node423points=[658, 319,785, 319],
- Node423rect=ht.Default.unionPoint([{x:658,y:319},{x:785,y:319}]),
- Node423compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node423points.length;i++){
- if(i%2==0){
- Node423compspts.push(Node423points[i]-Node423rect.x);
- }else{
- Node423compspts.push(Node423points[i]-Node423rect.y);
- }
- }
- var Node423ptslength=Node423compspts.length;
- if (Node423rect.height === 0) {
- Node423compspts[0] -= 0;
- Node423compspts[Node423ptslength-2] += 0;
- } else if (Node423rect.width === 0){
- Node423compspts[1] -= 0;
- Node423compspts[Node423ptslength-1] += 0;
- } else {
- Node423compspts[0] -= 0;
- Node423compspts[1] -= 0;
- Node423compspts[Node423ptslength-2] += 0;
- Node423compspts[Node423ptslength-1] += 0;
- }
- Node423 = new ht.Node();
- Node423.borderWidth = 1;
- Node423rect.width = Node423rect.width === 0 ? 0.0001 : Node423rect.width;
- Node423rect.height = Node423rect.height === 0 ? 0.0001 : Node423rect.height;
- var Node423endCompspts = [Node423compspts[Node423ptslength-2],Node423compspts[Node423ptslength-1],0,0];
- var Node423startCompspts = [Node423compspts[0],Node423compspts[1],0,0];
- Node423.setImage(GD.getPolyLineJSON());
- Node423.setPosition(Node423rect.x+Node423rect.width/2,Node423rect.y+Node423rect.height/2);
- Node423.setSize(Node423rect.width,Node423rect.height);
- Node423.setStyle("opacity",1);
- Node423.s({'pixelPerfect':true});
- Node423borderwidth=1;
- Node423.setRotation(0);
- dataModel.add(Node423);
- Node423.a('node.points',Node423compspts);
- Node423.a('node.segments',[1,2]);
- Node423.a('node.color','rgba(192,192,192,1)');
- Node423.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node423.a('node.borderColor','rgba(192,192,192,1)');
- Node423.a('node.background','rgba(192,192,192,1)');
- Node423.a('node.gradient','');
- Node423.a('node.gradientcolor','rgba(192,192,192,1)');
- Node423.a('node.endCompspts',Node423endCompspts);
- Node423.a('node.startCompspts',Node423startCompspts);
- (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 = 'Node423';
- 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);
- }
- })(Node423, Node423.getImage(), Node423compspts, Node423endCompspts, Node423startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_0type = 'rect';
- var Node424_0 = new ht.Node(),
- Node424_0BorderWidth = 0*2;
- if (Node424_0type === 'arc') {
- Node424_0BorderWidth *= 0;
- }
- Node424_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_0.setPosition(1848*ratio.ratioX, 115*ratio.ratioY);
- Node424_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_0.a('node.width', 127*_ratio.ratioX);
- Node424_0.a('node.height', 32*_ratio.ratioY);
- Node424_0.a('node.type', Node424_0type);
- Node424_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_0.a('node.background', 'rgba(245,245,245,1)');
- Node424_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node424_0.a('node.gradient', '');
- Node424_0.a('node.borderwidth', Node424_0BorderWidth);
- Node424_0.a('node.color', 'rgba(192,192,192,0)');
- Node424_0.a('node.fillrect', [0,0,0,0]);
- Node424_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_0.a('node.fillgradient', '');
- if (Node424_0type !== 'rect') {
- Node424_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_0type === 'arc') {
- Node424_0.a('node.arcOval', true);
- }
- Node424_0.setRotation(0*Math.PI/180);
- Node424_0.borderWidth = Node424_0BorderWidth;
- Node424_0.borderFillwidth = Node424_0BorderWidth;
- dataModel.add(Node424_0);
- Node424_0._nodename = 'Node424_0'
- Node424_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_0, Node424_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_1type = 'rect';
- var Node424_1 = new ht.Node(),
- Node424_1BorderWidth = 0*2;
- if (Node424_1type === 'arc') {
- Node424_1BorderWidth *= 0;
- }
- Node424_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_1.setPosition(1848*ratio.ratioX, 147*ratio.ratioY);
- Node424_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_1.a('node.width', 127*_ratio.ratioX);
- Node424_1.a('node.height', 32*_ratio.ratioY);
- Node424_1.a('node.type', Node424_1type);
- Node424_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node424_1.a('node.gradientcolor', '');
- Node424_1.a('node.gradient', '');
- Node424_1.a('node.borderwidth', Node424_1BorderWidth);
- Node424_1.a('node.color', 'rgba(192,192,192,0)');
- Node424_1.a('node.fillrect', [0,0,0,0]);
- Node424_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_1.a('node.fillgradient', '');
- if (Node424_1type !== 'rect') {
- Node424_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_1type === 'arc') {
- Node424_1.a('node.arcOval', true);
- }
- Node424_1.setRotation(0*Math.PI/180);
- Node424_1.borderWidth = Node424_1BorderWidth;
- Node424_1.borderFillwidth = Node424_1BorderWidth;
- dataModel.add(Node424_1);
- Node424_1._nodename = 'Node424_1'
- Node424_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_1, Node424_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_2type = 'rect';
- var Node424_2 = new ht.Node(),
- Node424_2BorderWidth = 0*2;
- if (Node424_2type === 'arc') {
- Node424_2BorderWidth *= 0;
- }
- Node424_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_2.setPosition(1848*ratio.ratioX, 179*ratio.ratioY);
- Node424_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_2.a('node.width', 127*_ratio.ratioX);
- Node424_2.a('node.height', 32*_ratio.ratioY);
- Node424_2.a('node.type', Node424_2type);
- Node424_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_2.a('node.background', 'rgba(245,245,245,1)');
- Node424_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node424_2.a('node.gradient', '');
- Node424_2.a('node.borderwidth', Node424_2BorderWidth);
- Node424_2.a('node.color', 'rgba(192,192,192,0)');
- Node424_2.a('node.fillrect', [0,0,0,0]);
- Node424_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_2.a('node.fillgradient', '');
- if (Node424_2type !== 'rect') {
- Node424_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_2type === 'arc') {
- Node424_2.a('node.arcOval', true);
- }
- Node424_2.setRotation(0*Math.PI/180);
- Node424_2.borderWidth = Node424_2BorderWidth;
- Node424_2.borderFillwidth = Node424_2BorderWidth;
- dataModel.add(Node424_2);
- Node424_2._nodename = 'Node424_2'
- Node424_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_2, Node424_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_3type = 'rect';
- var Node424_3 = new ht.Node(),
- Node424_3BorderWidth = 0*2;
- if (Node424_3type === 'arc') {
- Node424_3BorderWidth *= 0;
- }
- Node424_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_3.setPosition(1848*ratio.ratioX, 210*ratio.ratioY);
- Node424_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_3.a('node.width', 127*_ratio.ratioX);
- Node424_3.a('node.height', 32*_ratio.ratioY);
- Node424_3.a('node.type', Node424_3type);
- Node424_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node424_3.a('node.gradientcolor', '');
- Node424_3.a('node.gradient', '');
- Node424_3.a('node.borderwidth', Node424_3BorderWidth);
- Node424_3.a('node.color', 'rgba(192,192,192,0)');
- Node424_3.a('node.fillrect', [0,0,0,0]);
- Node424_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_3.a('node.fillgradient', '');
- if (Node424_3type !== 'rect') {
- Node424_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_3type === 'arc') {
- Node424_3.a('node.arcOval', true);
- }
- Node424_3.setRotation(0*Math.PI/180);
- Node424_3.borderWidth = Node424_3BorderWidth;
- Node424_3.borderFillwidth = Node424_3BorderWidth;
- dataModel.add(Node424_3);
- Node424_3._nodename = 'Node424_3'
- Node424_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_3, Node424_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_4type = 'rect';
- var Node424_4 = new ht.Node(),
- Node424_4BorderWidth = 0*2;
- if (Node424_4type === 'arc') {
- Node424_4BorderWidth *= 0;
- }
- Node424_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_4.setPosition(1848*ratio.ratioX, 241*ratio.ratioY);
- Node424_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_4.a('node.width', 127*_ratio.ratioX);
- Node424_4.a('node.height', 32*_ratio.ratioY);
- Node424_4.a('node.type', Node424_4type);
- Node424_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_4.a('node.background', 'rgba(245,245,245,1)');
- Node424_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node424_4.a('node.gradient', '');
- Node424_4.a('node.borderwidth', Node424_4BorderWidth);
- Node424_4.a('node.color', 'rgba(192,192,192,0)');
- Node424_4.a('node.fillrect', [0,0,0,0]);
- Node424_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_4.a('node.fillgradient', '');
- if (Node424_4type !== 'rect') {
- Node424_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_4type === 'arc') {
- Node424_4.a('node.arcOval', true);
- }
- Node424_4.setRotation(0*Math.PI/180);
- Node424_4.borderWidth = Node424_4BorderWidth;
- Node424_4.borderFillwidth = Node424_4BorderWidth;
- dataModel.add(Node424_4);
- Node424_4._nodename = 'Node424_4'
- Node424_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_4, Node424_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_5type = 'rect';
- var Node424_5 = new ht.Node(),
- Node424_5BorderWidth = 0*2;
- if (Node424_5type === 'arc') {
- Node424_5BorderWidth *= 0;
- }
- Node424_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_5.setPosition(1848*ratio.ratioX, 272*ratio.ratioY);
- Node424_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_5.a('node.width', 127*_ratio.ratioX);
- Node424_5.a('node.height', 32*_ratio.ratioY);
- Node424_5.a('node.type', Node424_5type);
- Node424_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node424_5.a('node.gradientcolor', '');
- Node424_5.a('node.gradient', '');
- Node424_5.a('node.borderwidth', Node424_5BorderWidth);
- Node424_5.a('node.color', 'rgba(192,192,192,0)');
- Node424_5.a('node.fillrect', [0,0,0,0]);
- Node424_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_5.a('node.fillgradient', '');
- if (Node424_5type !== 'rect') {
- Node424_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_5type === 'arc') {
- Node424_5.a('node.arcOval', true);
- }
- Node424_5.setRotation(0*Math.PI/180);
- Node424_5.borderWidth = Node424_5BorderWidth;
- Node424_5.borderFillwidth = Node424_5BorderWidth;
- dataModel.add(Node424_5);
- Node424_5._nodename = 'Node424_5'
- Node424_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_5, Node424_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_6type = 'rect';
- var Node424_6 = new ht.Node(),
- Node424_6BorderWidth = 0*2;
- if (Node424_6type === 'arc') {
- Node424_6BorderWidth *= 0;
- }
- Node424_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node424_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_6.setPosition(1848*ratio.ratioX, 303*ratio.ratioY);
- Node424_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node424_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_6.a('node.width', 127*_ratio.ratioX);
- Node424_6.a('node.height', 32*_ratio.ratioY);
- Node424_6.a('node.type', Node424_6type);
- Node424_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node424_6.a('node.background', 'rgba(245,245,245,1)');
- Node424_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node424_6.a('node.gradient', '');
- Node424_6.a('node.borderwidth', Node424_6BorderWidth);
- Node424_6.a('node.color', 'rgba(192,192,192,0)');
- Node424_6.a('node.fillrect', [0,0,0,0]);
- Node424_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_6.a('node.fillgradient', '');
- if (Node424_6type !== 'rect') {
- Node424_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_6type === 'arc') {
- Node424_6.a('node.arcOval', true);
- }
- Node424_6.setRotation(0*Math.PI/180);
- Node424_6.borderWidth = Node424_6BorderWidth;
- Node424_6.borderFillwidth = Node424_6BorderWidth;
- dataModel.add(Node424_6);
- Node424_6._nodename = 'Node424_6'
- Node424_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_6, Node424_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_7type = 'rect';
- var Node424_7 = new ht.Node(),
- Node424_7BorderWidth = 1*2;
- if (Node424_7type === 'arc') {
- Node424_7BorderWidth *= 1;
- }
- Node424_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node424_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node424_7.setPosition(1848*ratio.ratioX, 164*ratio.ratioY);
- Node424_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node424_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node424_7.a('node.width', 127*_ratio.ratioX);
- Node424_7.a('node.height', 309*_ratio.ratioY);
- Node424_7.a('node.type', Node424_7type);
- Node424_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node424_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node424_7.a('node.gradientcolor', '');
- Node424_7.a('node.gradient', '');
- Node424_7.a('node.borderwidth', Node424_7BorderWidth);
- Node424_7.a('node.color', 'rgba(192,192,192,1)');
- Node424_7.a('node.fillrect', [0,0,0,0]);
- Node424_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node424_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node424_7.a('node.fillgradient', '');
- if (Node424_7type !== 'rect') {
- Node424_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node424_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node424_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node424_7type === 'arc') {
- Node424_7.a('node.arcOval', true);
- }
- Node424_7.setRotation(0*Math.PI/180);
- Node424_7.borderWidth = Node424_7BorderWidth;
- Node424_7.borderFillwidth = Node424_7BorderWidth;
- dataModel.add(Node424_7);
- Node424_7._nodename = 'Node424_7'
- Node424_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node424_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);
- }
- })(Node424_7, Node424_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_8 = new ht.Node();
- var Node424_8textStart, Node424_8textWidth, Node424_8lineStart, Node424_8align = 'center', Node424_8fontSize = 13.3333*_ratio.ratioY,Node424_8width = 64*_ratio.ratioX, Node424_8height = 16*_ratio.ratioY;
- (function () {
- if (Node424_8align === 'left') {
- Node424_8textStart = Node424_8fontSize * 0.2 > 2 ? Node424_8fontSize * 0.2 - 4 : Node424_8fontSize * 0.2 - 9;
- Node424_8textWidth = Node424_8width;
- Node424_8lineStart = 1;
- } else if (Node424_8align === 'right') {
- Node424_8textStart = 0;
- Node424_8textWidth =Node424_8fontSize <= 8 ? Node424_8width + Node424_8fontSize * 0.2 + 6 : Node424_8width - Node424_8fontSize * 0.2;
- Node424_8lineStart = (Node424_8width - (ht.Default.getTextSize('实际功率', 'bold '+ Node424_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node424_8align === 'center') {
- Node424_8textStart = -3;
- Node424_8textWidth = Node424_8width;
- Node424_8lineStart = Node424_8width - ht.Default.getTextSize('实际功率', 'bold '+ Node424_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node424_8.setImage(GD.getTextJSON(Node424_8width, Node424_8height, true, false, false, 'bold '+ Node424_8fontSize + 'px "Arial"'))
- Node424_8.setPosition(1845*ratio.ratioX, 28*ratio.ratioY);
- Node424_8.setWidth(Node424_8width);
- Node424_8.setHeight(Node424_8height);
- Node424_8._nodeType = 'text';
- Node424_8._disallowEvert = true;
- Node424_8.setRotation(0*Math.PI/180);
- Node424_8.a('node.width', Node424_8width);
- Node424_8.a('node.height', Node424_8height);
- Node424_8.a('node.rect', [0, 0, Node424_8width, Node424_8height]);
- Node424_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node424_8.a('node.borderwidth', 0);
- Node424_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_8.a('node.gradient','');
- Node424_8.a('node.gradientcolor','');
- Node424_8.a('node.text','实际功率');
- Node424_8.a('node.textalign','center');
- Node424_8.a('node.textvAlign','middle');
- Node424_8.a('node.textrect', [Node424_8textStart, 0, Node424_8textWidth, Node424_8height]);
- Node424_8.a('node.color','rgba(255,255,255,1)');
- Node424_8.a('node.font','bold '+ Node424_8fontSize + 'px "Arial"');
- Node424_8.a('node.textvisible',true);
- Node424_8.a('node.linefeed',false);
- if (false) {
- Node424_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_8.a('node.text') || '实际功率';
- var color=Node424_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_8width,Node424_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node424_8.a('node.underlinepoints',[Node424_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_8fontSize + 2 , ht.Default.getTextSize('实际功率', 'bold '+ Node424_8fontSize + 'px "Arial"').width + 6, (Node424_8height - Node424_8fontSize) * 0.5*_ratio.ratioY + Node424_8fontSize + 2 ]);
- Node424_8.a('node.underlinevisible',false);
- Node424_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_8);
- zoomNodeList.push({
- node: Node424_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_9 = new ht.Node();
- var Node424_9textStart, Node424_9textWidth, Node424_9lineStart, Node424_9align = 'center', Node424_9fontSize = 11.99997*_ratio.ratioY,Node424_9width = 25*_ratio.ratioX, Node424_9height = 15*_ratio.ratioY;
- (function () {
- if (Node424_9align === 'left') {
- Node424_9textStart = Node424_9fontSize * 0.2 > 2 ? Node424_9fontSize * 0.2 - 4 : Node424_9fontSize * 0.2 - 9;
- Node424_9textWidth = Node424_9width;
- Node424_9lineStart = 1;
- } else if (Node424_9align === 'right') {
- Node424_9textStart = 0;
- Node424_9textWidth =Node424_9fontSize <= 8 ? Node424_9width + Node424_9fontSize * 0.2 + 6 : Node424_9width - Node424_9fontSize * 0.2;
- Node424_9lineStart = (Node424_9width - (ht.Default.getTextSize('MW', 'bold '+ Node424_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node424_9align === 'center') {
- Node424_9textStart = -3;
- Node424_9textWidth = Node424_9width;
- Node424_9lineStart = Node424_9width - ht.Default.getTextSize('MW', 'bold '+ Node424_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node424_9.setImage(GD.getTextJSON(Node424_9width, Node424_9height, true, false, false, 'bold '+ Node424_9fontSize + 'px "Arial"'))
- Node424_9.setPosition(1845*ratio.ratioX, 56*ratio.ratioY);
- Node424_9.setWidth(Node424_9width);
- Node424_9.setHeight(Node424_9height);
- Node424_9._nodeType = 'text';
- Node424_9._disallowEvert = true;
- Node424_9.setRotation(0*Math.PI/180);
- Node424_9.a('node.width', Node424_9width);
- Node424_9.a('node.height', Node424_9height);
- Node424_9.a('node.rect', [0, 0, Node424_9width, Node424_9height]);
- Node424_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node424_9.a('node.borderwidth', 0);
- Node424_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_9.a('node.gradient','');
- Node424_9.a('node.gradientcolor','');
- Node424_9.a('node.text','MW');
- Node424_9.a('node.textalign','center');
- Node424_9.a('node.textvAlign','middle');
- Node424_9.a('node.textrect', [Node424_9textStart, 0, Node424_9textWidth, Node424_9height]);
- Node424_9.a('node.color','rgba(128,128,128,1)');
- Node424_9.a('node.font','bold '+ Node424_9fontSize + 'px "Arial"');
- Node424_9.a('node.textvisible',true);
- Node424_9.a('node.linefeed',false);
- if (false) {
- Node424_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_9.a('node.text') || 'MW';
- var color=Node424_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node424_9width,Node424_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node424_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node424_9.a('node.underlinepoints',[Node424_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node424_9fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node424_9fontSize + 'px "Arial"').width + 6, (Node424_9height - Node424_9fontSize) * 0.5*_ratio.ratioY + Node424_9fontSize + 2 ]);
- Node424_9.a('node.underlinevisible',false);
- Node424_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_9);
- zoomNodeList.push({
- node: Node424_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_10 = new ht.Node();
- var Node424_10textStart, Node424_10textWidth, Node424_10lineStart, Node424_10align = 'center', Node424_10fontSize = 13.3333*_ratio.ratioY,Node424_10width = 20*_ratio.ratioX, Node424_10height = 16*_ratio.ratioY;
- (function () {
- if (Node424_10align === 'left') {
- Node424_10textStart = Node424_10fontSize * 0.2 > 2 ? Node424_10fontSize * 0.2 - 4 : Node424_10fontSize * 0.2 - 9;
- Node424_10textWidth = Node424_10width;
- Node424_10lineStart = 1;
- } else if (Node424_10align === 'right') {
- Node424_10textStart = 0;
- Node424_10textWidth =Node424_10fontSize <= 8 ? Node424_10width + Node424_10fontSize * 0.2 + 6 : Node424_10width - Node424_10fontSize * 0.2;
- Node424_10lineStart = (Node424_10width - (ht.Default.getTextSize('9.7', 'bold '+ Node424_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_10align === 'center') {
- Node424_10textStart = -3;
- Node424_10textWidth = Node424_10width;
- Node424_10lineStart = Node424_10width - ht.Default.getTextSize('9.7', 'bold '+ Node424_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_10.setImage(GD.getTextJSON(Node424_10width, Node424_10height, true, false, false, 'bold '+ Node424_10fontSize + 'px "UniDreamLED"'))
- Node424_10.setPosition(1845*ratio.ratioX, 83*ratio.ratioY);
- Node424_10.setWidth(Node424_10width);
- Node424_10.setHeight(Node424_10height);
- Node424_10._nodeType = 'text';
- Node424_10._disallowEvert = true;
- Node424_10.setRotation(0*Math.PI/180);
- Node424_10.a('node.width', Node424_10width);
- Node424_10.a('node.height', Node424_10height);
- Node424_10.a('node.rect', [0, 0, Node424_10width, Node424_10height]);
- Node424_10.a('node.bordercolor','rgba(25,25,112,1)');
- Node424_10.a('node.borderwidth', 0);
- Node424_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_10.a('node.gradient','');
- Node424_10.a('node.gradientcolor','');
- Node424_10.a('node.text','9.7');
- Node424_10.a('node.textalign','center');
- Node424_10.a('node.textvAlign','middle');
- Node424_10.a('node.textrect', [Node424_10textStart, 0, Node424_10textWidth, Node424_10height]);
- Node424_10.a('node.color','rgba(25,25,112,1)');
- Node424_10.a('node.font','bold '+ Node424_10fontSize + 'px "UniDreamLED"');
- Node424_10.a('node.textvisible',true);
- Node424_10.a('node.linefeed',false);
- if (false) {
- Node424_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_10.a('node.text') || '9.7';
- var color=Node424_10.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_10width,Node424_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_10.a('node.underlinepoints',[Node424_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_10fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node424_10fontSize + 'px "UniDreamLED"').width + 6, (Node424_10height - Node424_10fontSize) * 0.5*_ratio.ratioY + Node424_10fontSize + 2 ]);
- Node424_10.a('node.underlinevisible',false);
- Node424_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_10);
- zoomNodeList.push({
- node: Node424_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_11 = new ht.Node();
- var Node424_11textStart, Node424_11textWidth, Node424_11lineStart, Node424_11align = 'center', Node424_11fontSize = 13.3333*_ratio.ratioY,Node424_11width = 20*_ratio.ratioX, Node424_11height = 16*_ratio.ratioY;
- (function () {
- if (Node424_11align === 'left') {
- Node424_11textStart = Node424_11fontSize * 0.2 > 2 ? Node424_11fontSize * 0.2 - 4 : Node424_11fontSize * 0.2 - 9;
- Node424_11textWidth = Node424_11width;
- Node424_11lineStart = 1;
- } else if (Node424_11align === 'right') {
- Node424_11textStart = 0;
- Node424_11textWidth =Node424_11fontSize <= 8 ? Node424_11width + Node424_11fontSize * 0.2 + 6 : Node424_11width - Node424_11fontSize * 0.2;
- Node424_11lineStart = (Node424_11width - (ht.Default.getTextSize('9.7', 'bold '+ Node424_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_11align === 'center') {
- Node424_11textStart = -3;
- Node424_11textWidth = Node424_11width;
- Node424_11lineStart = Node424_11width - ht.Default.getTextSize('9.7', 'bold '+ Node424_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_11.setImage(GD.getTextJSON(Node424_11width, Node424_11height, true, false, false, 'bold '+ Node424_11fontSize + 'px "UniDreamLED"'))
- Node424_11.setPosition(1848*ratio.ratioX, 115*ratio.ratioY);
- Node424_11.setWidth(Node424_11width);
- Node424_11.setHeight(Node424_11height);
- Node424_11._nodeType = 'text';
- Node424_11._disallowEvert = true;
- Node424_11.setRotation(0*Math.PI/180);
- Node424_11.a('node.width', Node424_11width);
- Node424_11.a('node.height', Node424_11height);
- Node424_11.a('node.rect', [0, 0, Node424_11width, Node424_11height]);
- Node424_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_11.a('node.borderwidth', 0);
- Node424_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_11.a('node.gradient','');
- Node424_11.a('node.gradientcolor','');
- Node424_11.a('node.text','9.7');
- Node424_11.a('node.textalign','center');
- Node424_11.a('node.textvAlign','middle');
- Node424_11.a('node.textrect', [Node424_11textStart, 0, Node424_11textWidth, Node424_11height]);
- Node424_11.a('node.color','rgba(0,0,0,1)');
- Node424_11.a('node.font','bold '+ Node424_11fontSize + 'px "UniDreamLED"');
- Node424_11.a('node.textvisible',true);
- Node424_11.a('node.linefeed',false);
- if (false) {
- Node424_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_11.a('node.text') || '9.7';
- var color=Node424_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_11width,Node424_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_11.a('node.underlinepoints',[Node424_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_11fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node424_11fontSize + 'px "UniDreamLED"').width + 6, (Node424_11height - Node424_11fontSize) * 0.5*_ratio.ratioY + Node424_11fontSize + 2 ]);
- Node424_11.a('node.underlinevisible',false);
- Node424_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_11);
- zoomNodeList.push({
- node: Node424_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_12 = new ht.Node();
- var Node424_12textStart, Node424_12textWidth, Node424_12lineStart, Node424_12align = 'center', Node424_12fontSize = 13.3333*_ratio.ratioY,Node424_12width = 27*_ratio.ratioX, Node424_12height = 16*_ratio.ratioY;
- (function () {
- if (Node424_12align === 'left') {
- Node424_12textStart = Node424_12fontSize * 0.2 > 2 ? Node424_12fontSize * 0.2 - 4 : Node424_12fontSize * 0.2 - 9;
- Node424_12textWidth = Node424_12width;
- Node424_12lineStart = 1;
- } else if (Node424_12align === 'right') {
- Node424_12textStart = 0;
- Node424_12textWidth =Node424_12fontSize <= 8 ? Node424_12width + Node424_12fontSize * 0.2 + 6 : Node424_12width - Node424_12fontSize * 0.2;
- Node424_12lineStart = (Node424_12width - (ht.Default.getTextSize('8.02', 'bold '+ Node424_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_12align === 'center') {
- Node424_12textStart = -3;
- Node424_12textWidth = Node424_12width;
- Node424_12lineStart = Node424_12width - ht.Default.getTextSize('8.02', 'bold '+ Node424_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_12.setImage(GD.getTextJSON(Node424_12width, Node424_12height, true, false, false, 'bold '+ Node424_12fontSize + 'px "UniDreamLED"'))
- Node424_12.setPosition(1848*ratio.ratioX, 145*ratio.ratioY);
- Node424_12.setWidth(Node424_12width);
- Node424_12.setHeight(Node424_12height);
- Node424_12._nodeType = 'text';
- Node424_12._disallowEvert = true;
- Node424_12.setRotation(0*Math.PI/180);
- Node424_12.a('node.width', Node424_12width);
- Node424_12.a('node.height', Node424_12height);
- Node424_12.a('node.rect', [0, 0, Node424_12width, Node424_12height]);
- Node424_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_12.a('node.borderwidth', 0);
- Node424_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_12.a('node.gradient','');
- Node424_12.a('node.gradientcolor','');
- Node424_12.a('node.text','8.02');
- Node424_12.a('node.textalign','center');
- Node424_12.a('node.textvAlign','middle');
- Node424_12.a('node.textrect', [Node424_12textStart, 0, Node424_12textWidth, Node424_12height]);
- Node424_12.a('node.color','rgba(0,0,0,1)');
- Node424_12.a('node.font','bold '+ Node424_12fontSize + 'px "UniDreamLED"');
- Node424_12.a('node.textvisible',true);
- Node424_12.a('node.linefeed',false);
- if (false) {
- Node424_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_12.a('node.text') || '8.02';
- var color=Node424_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_12width,Node424_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_12.a('node.underlinepoints',[Node424_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_12fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node424_12fontSize + 'px "UniDreamLED"').width + 6, (Node424_12height - Node424_12fontSize) * 0.5*_ratio.ratioY + Node424_12fontSize + 2 ]);
- Node424_12.a('node.underlinevisible',false);
- Node424_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_12);
- zoomNodeList.push({
- node: Node424_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_13 = new ht.Node();
- var Node424_13textStart, Node424_13textWidth, Node424_13lineStart, Node424_13align = 'center', Node424_13fontSize = 13.3333*_ratio.ratioY,Node424_13width = 27*_ratio.ratioX, Node424_13height = 16*_ratio.ratioY;
- (function () {
- if (Node424_13align === 'left') {
- Node424_13textStart = Node424_13fontSize * 0.2 > 2 ? Node424_13fontSize * 0.2 - 4 : Node424_13fontSize * 0.2 - 9;
- Node424_13textWidth = Node424_13width;
- Node424_13lineStart = 1;
- } else if (Node424_13align === 'right') {
- Node424_13textStart = 0;
- Node424_13textWidth =Node424_13fontSize <= 8 ? Node424_13width + Node424_13fontSize * 0.2 + 6 : Node424_13width - Node424_13fontSize * 0.2;
- Node424_13lineStart = (Node424_13width - (ht.Default.getTextSize('9.69', 'bold '+ Node424_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_13align === 'center') {
- Node424_13textStart = -3;
- Node424_13textWidth = Node424_13width;
- Node424_13lineStart = Node424_13width - ht.Default.getTextSize('9.69', 'bold '+ Node424_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_13.setImage(GD.getTextJSON(Node424_13width, Node424_13height, true, false, false, 'bold '+ Node424_13fontSize + 'px "UniDreamLED"'))
- Node424_13.setPosition(1848*ratio.ratioX, 175*ratio.ratioY);
- Node424_13.setWidth(Node424_13width);
- Node424_13.setHeight(Node424_13height);
- Node424_13._nodeType = 'text';
- Node424_13._disallowEvert = true;
- Node424_13.setRotation(0*Math.PI/180);
- Node424_13.a('node.width', Node424_13width);
- Node424_13.a('node.height', Node424_13height);
- Node424_13.a('node.rect', [0, 0, Node424_13width, Node424_13height]);
- Node424_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_13.a('node.borderwidth', 0);
- Node424_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_13.a('node.gradient','');
- Node424_13.a('node.gradientcolor','');
- Node424_13.a('node.text','9.69');
- Node424_13.a('node.textalign','center');
- Node424_13.a('node.textvAlign','middle');
- Node424_13.a('node.textrect', [Node424_13textStart, 0, Node424_13textWidth, Node424_13height]);
- Node424_13.a('node.color','rgba(0,0,0,1)');
- Node424_13.a('node.font','bold '+ Node424_13fontSize + 'px "UniDreamLED"');
- Node424_13.a('node.textvisible',true);
- Node424_13.a('node.linefeed',false);
- if (false) {
- Node424_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_13.a('node.text') || '9.69';
- var color=Node424_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_13width,Node424_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_13.a('node.underlinepoints',[Node424_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_13fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node424_13fontSize + 'px "UniDreamLED"').width + 6, (Node424_13height - Node424_13fontSize) * 0.5*_ratio.ratioY + Node424_13fontSize + 2 ]);
- Node424_13.a('node.underlinevisible',false);
- Node424_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_13);
- zoomNodeList.push({
- node: Node424_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_14 = new ht.Node();
- var Node424_14textStart, Node424_14textWidth, Node424_14lineStart, Node424_14align = 'center', Node424_14fontSize = 13.3333*_ratio.ratioY,Node424_14width = 29*_ratio.ratioX, Node424_14height = 16*_ratio.ratioY;
- (function () {
- if (Node424_14align === 'left') {
- Node424_14textStart = Node424_14fontSize * 0.2 > 2 ? Node424_14fontSize * 0.2 - 4 : Node424_14fontSize * 0.2 - 9;
- Node424_14textWidth = Node424_14width;
- Node424_14lineStart = 1;
- } else if (Node424_14align === 'right') {
- Node424_14textStart = 0;
- Node424_14textWidth =Node424_14fontSize <= 8 ? Node424_14width + Node424_14fontSize * 0.2 + 6 : Node424_14width - Node424_14fontSize * 0.2;
- Node424_14lineStart = (Node424_14width - (ht.Default.getTextSize('10.72', 'bold '+ Node424_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_14align === 'center') {
- Node424_14textStart = -3;
- Node424_14textWidth = Node424_14width;
- Node424_14lineStart = Node424_14width - ht.Default.getTextSize('10.72', 'bold '+ Node424_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_14.setImage(GD.getTextJSON(Node424_14width, Node424_14height, true, false, false, 'bold '+ Node424_14fontSize + 'px "UniDreamLED"'))
- Node424_14.setPosition(1848*ratio.ratioX, 209*ratio.ratioY);
- Node424_14.setWidth(Node424_14width);
- Node424_14.setHeight(Node424_14height);
- Node424_14._nodeType = 'text';
- Node424_14._disallowEvert = true;
- Node424_14.setRotation(0*Math.PI/180);
- Node424_14.a('node.width', Node424_14width);
- Node424_14.a('node.height', Node424_14height);
- Node424_14.a('node.rect', [0, 0, Node424_14width, Node424_14height]);
- Node424_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_14.a('node.borderwidth', 0);
- Node424_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_14.a('node.gradient','');
- Node424_14.a('node.gradientcolor','');
- Node424_14.a('node.text','10.72');
- Node424_14.a('node.textalign','center');
- Node424_14.a('node.textvAlign','middle');
- Node424_14.a('node.textrect', [Node424_14textStart, 0, Node424_14textWidth, Node424_14height]);
- Node424_14.a('node.color','rgba(0,0,0,1)');
- Node424_14.a('node.font','bold '+ Node424_14fontSize + 'px "UniDreamLED"');
- Node424_14.a('node.textvisible',true);
- Node424_14.a('node.linefeed',false);
- if (false) {
- Node424_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_14.a('node.text') || '10.72';
- var color=Node424_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_14width,Node424_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_14.a('node.underlinepoints',[Node424_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_14fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node424_14fontSize + 'px "UniDreamLED"').width + 6, (Node424_14height - Node424_14fontSize) * 0.5*_ratio.ratioY + Node424_14fontSize + 2 ]);
- Node424_14.a('node.underlinevisible',false);
- Node424_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_14);
- zoomNodeList.push({
- node: Node424_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_15 = new ht.Node();
- var Node424_15textStart, Node424_15textWidth, Node424_15lineStart, Node424_15align = 'center', Node424_15fontSize = 13.3333*_ratio.ratioY,Node424_15width = 27*_ratio.ratioX, Node424_15height = 16*_ratio.ratioY;
- (function () {
- if (Node424_15align === 'left') {
- Node424_15textStart = Node424_15fontSize * 0.2 > 2 ? Node424_15fontSize * 0.2 - 4 : Node424_15fontSize * 0.2 - 9;
- Node424_15textWidth = Node424_15width;
- Node424_15lineStart = 1;
- } else if (Node424_15align === 'right') {
- Node424_15textStart = 0;
- Node424_15textWidth =Node424_15fontSize <= 8 ? Node424_15width + Node424_15fontSize * 0.2 + 6 : Node424_15width - Node424_15fontSize * 0.2;
- Node424_15lineStart = (Node424_15width - (ht.Default.getTextSize('7.97', 'bold '+ Node424_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_15align === 'center') {
- Node424_15textStart = -3;
- Node424_15textWidth = Node424_15width;
- Node424_15lineStart = Node424_15width - ht.Default.getTextSize('7.97', 'bold '+ Node424_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_15.setImage(GD.getTextJSON(Node424_15width, Node424_15height, true, false, false, 'bold '+ Node424_15fontSize + 'px "UniDreamLED"'))
- Node424_15.setPosition(1848*ratio.ratioX, 242*ratio.ratioY);
- Node424_15.setWidth(Node424_15width);
- Node424_15.setHeight(Node424_15height);
- Node424_15._nodeType = 'text';
- Node424_15._disallowEvert = true;
- Node424_15.setRotation(0*Math.PI/180);
- Node424_15.a('node.width', Node424_15width);
- Node424_15.a('node.height', Node424_15height);
- Node424_15.a('node.rect', [0, 0, Node424_15width, Node424_15height]);
- Node424_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_15.a('node.borderwidth', 0);
- Node424_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_15.a('node.gradient','');
- Node424_15.a('node.gradientcolor','');
- Node424_15.a('node.text','7.97');
- Node424_15.a('node.textalign','center');
- Node424_15.a('node.textvAlign','middle');
- Node424_15.a('node.textrect', [Node424_15textStart, 0, Node424_15textWidth, Node424_15height]);
- Node424_15.a('node.color','rgba(0,0,0,1)');
- Node424_15.a('node.font','bold '+ Node424_15fontSize + 'px "UniDreamLED"');
- Node424_15.a('node.textvisible',true);
- Node424_15.a('node.linefeed',false);
- if (false) {
- Node424_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_15.a('node.text') || '7.97';
- var color=Node424_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_15width,Node424_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_15.a('node.underlinepoints',[Node424_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_15fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node424_15fontSize + 'px "UniDreamLED"').width + 6, (Node424_15height - Node424_15fontSize) * 0.5*_ratio.ratioY + Node424_15fontSize + 2 ]);
- Node424_15.a('node.underlinevisible',false);
- Node424_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_15);
- zoomNodeList.push({
- node: Node424_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_16 = new ht.Node();
- var Node424_16textStart, Node424_16textWidth, Node424_16lineStart, Node424_16align = 'center', Node424_16fontSize = 13.3333*_ratio.ratioY,Node424_16width = 16*_ratio.ratioX, Node424_16height = 16*_ratio.ratioY;
- (function () {
- if (Node424_16align === 'left') {
- Node424_16textStart = Node424_16fontSize * 0.2 > 2 ? Node424_16fontSize * 0.2 - 4 : Node424_16fontSize * 0.2 - 9;
- Node424_16textWidth = Node424_16width;
- Node424_16lineStart = 1;
- } else if (Node424_16align === 'right') {
- Node424_16textStart = 0;
- Node424_16textWidth =Node424_16fontSize <= 8 ? Node424_16width + Node424_16fontSize * 0.2 + 6 : Node424_16width - Node424_16fontSize * 0.2;
- Node424_16lineStart = (Node424_16width - (ht.Default.getTextSize('8.1', 'bold '+ Node424_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_16align === 'center') {
- Node424_16textStart = -3;
- Node424_16textWidth = Node424_16width;
- Node424_16lineStart = Node424_16width - ht.Default.getTextSize('8.1', 'bold '+ Node424_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_16.setImage(GD.getTextJSON(Node424_16width, Node424_16height, true, false, false, 'bold '+ Node424_16fontSize + 'px "UniDreamLED"'))
- Node424_16.setPosition(1848*ratio.ratioX, 271*ratio.ratioY);
- Node424_16.setWidth(Node424_16width);
- Node424_16.setHeight(Node424_16height);
- Node424_16._nodeType = 'text';
- Node424_16._disallowEvert = true;
- Node424_16.setRotation(0*Math.PI/180);
- Node424_16.a('node.width', Node424_16width);
- Node424_16.a('node.height', Node424_16height);
- Node424_16.a('node.rect', [0, 0, Node424_16width, Node424_16height]);
- Node424_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_16.a('node.borderwidth', 0);
- Node424_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_16.a('node.gradient','');
- Node424_16.a('node.gradientcolor','');
- Node424_16.a('node.text','8.1');
- Node424_16.a('node.textalign','center');
- Node424_16.a('node.textvAlign','middle');
- Node424_16.a('node.textrect', [Node424_16textStart, 0, Node424_16textWidth, Node424_16height]);
- Node424_16.a('node.color','rgba(0,0,0,1)');
- Node424_16.a('node.font','bold '+ Node424_16fontSize + 'px "UniDreamLED"');
- Node424_16.a('node.textvisible',true);
- Node424_16.a('node.linefeed',false);
- if (false) {
- Node424_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_16.a('node.text') || '8.1';
- var color=Node424_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_16width,Node424_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_16.a('node.underlinepoints',[Node424_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_16fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node424_16fontSize + 'px "UniDreamLED"').width + 6, (Node424_16height - Node424_16fontSize) * 0.5*_ratio.ratioY + Node424_16fontSize + 2 ]);
- Node424_16.a('node.underlinevisible',false);
- Node424_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_16);
- zoomNodeList.push({
- node: Node424_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node424_17 = new ht.Node();
- var Node424_17textStart, Node424_17textWidth, Node424_17lineStart, Node424_17align = 'center', Node424_17fontSize = 13.3333*_ratio.ratioY,Node424_17width = 9*_ratio.ratioX, Node424_17height = 16*_ratio.ratioY;
- (function () {
- if (Node424_17align === 'left') {
- Node424_17textStart = Node424_17fontSize * 0.2 > 2 ? Node424_17fontSize * 0.2 - 4 : Node424_17fontSize * 0.2 - 9;
- Node424_17textWidth = Node424_17width;
- Node424_17lineStart = 1;
- } else if (Node424_17align === 'right') {
- Node424_17textStart = 0;
- Node424_17textWidth =Node424_17fontSize <= 8 ? Node424_17width + Node424_17fontSize * 0.2 + 6 : Node424_17width - Node424_17fontSize * 0.2;
- Node424_17lineStart = (Node424_17width - (ht.Default.getTextSize('-', 'bold '+ Node424_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node424_17align === 'center') {
- Node424_17textStart = -3;
- Node424_17textWidth = Node424_17width;
- Node424_17lineStart = Node424_17width - ht.Default.getTextSize('-', 'bold '+ Node424_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node424_17.setImage(GD.getTextJSON(Node424_17width, Node424_17height, true, false, false, 'bold '+ Node424_17fontSize + 'px "UniDreamLED"'))
- Node424_17.setPosition(1848*ratio.ratioX, 302*ratio.ratioY);
- Node424_17.setWidth(Node424_17width);
- Node424_17.setHeight(Node424_17height);
- Node424_17._nodeType = 'text';
- Node424_17._disallowEvert = true;
- Node424_17.setRotation(0*Math.PI/180);
- Node424_17.a('node.width', Node424_17width);
- Node424_17.a('node.height', Node424_17height);
- Node424_17.a('node.rect', [0, 0, Node424_17width, Node424_17height]);
- Node424_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node424_17.a('node.borderwidth', 0);
- Node424_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node424_17.a('node.gradient','');
- Node424_17.a('node.gradientcolor','');
- Node424_17.a('node.text','-');
- Node424_17.a('node.textalign','center');
- Node424_17.a('node.textvAlign','middle');
- Node424_17.a('node.textrect', [Node424_17textStart, 0, Node424_17textWidth, Node424_17height]);
- Node424_17.a('node.color','rgba(0,0,0,1)');
- Node424_17.a('node.font','bold '+ Node424_17fontSize + 'px "UniDreamLED"');
- Node424_17.a('node.textvisible',true);
- Node424_17.a('node.linefeed',false);
- if (false) {
- Node424_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node424_17.a('node.text') || '-';
- var color=Node424_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node424_17width,Node424_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node424_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node424_17.a('node.underlinepoints',[Node424_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node424_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node424_17fontSize + 'px "UniDreamLED"').width + 6, (Node424_17height - Node424_17fontSize) * 0.5*_ratio.ratioY + Node424_17fontSize + 2 ]);
- Node424_17.a('node.underlinevisible',false);
- Node424_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node424_17);
- zoomNodeList.push({
- node: Node424_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node425_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');
- Node425_0 = new ht.Node();
- Node425_0.setPosition(1846*ratio.ratioX, 162*ratio.ratioY);
- Node425_0.setSize(127*ratioX, 313*ratioY);
- Node425_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node425_0.setRotation(0*Math.PI/180);
- Node425_0._zoomBy = 'Default';
- Node425_0._nodeType = 'image';
- Node425_0._disallowEvert = true;
- dataModel.add(Node425_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node425_1 = new ht.Node();
- var Node425_1textStart, Node425_1textWidth, Node425_1lineStart, Node425_1align = 'left', Node425_1fontSize = 13.3333*_ratio.ratioY,Node425_1width = 64*_ratio.ratioX, Node425_1height = 16*_ratio.ratioY;
- (function () {
- if (Node425_1align === 'left') {
- Node425_1textStart = Node425_1fontSize * 0.2 > 2 ? Node425_1fontSize * 0.2 - 4 : Node425_1fontSize * 0.2 - 9;
- Node425_1textWidth = Node425_1width;
- Node425_1lineStart = 1;
- } else if (Node425_1align === 'right') {
- Node425_1textStart = 0;
- Node425_1textWidth =Node425_1fontSize <= 8 ? Node425_1width + Node425_1fontSize * 0.2 + 6 : Node425_1width - Node425_1fontSize * 0.2;
- Node425_1lineStart = (Node425_1width - (ht.Default.getTextSize('实际功率', ' '+ Node425_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node425_1align === 'center') {
- Node425_1textStart = -3;
- Node425_1textWidth = Node425_1width;
- Node425_1lineStart = Node425_1width - ht.Default.getTextSize('实际功率', ' '+ Node425_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node425_1.setImage(GD.getTextJSON(Node425_1width, Node425_1height, true, false, false, ' '+ Node425_1fontSize + 'px "Arial"'))
- Node425_1.setPosition(1846*ratio.ratioX, 27*ratio.ratioY);
- Node425_1.setWidth(Node425_1width);
- Node425_1.setHeight(Node425_1height);
- Node425_1._nodeType = 'text';
- Node425_1._disallowEvert = true;
- Node425_1.setRotation(0*Math.PI/180);
- Node425_1.a('node.width', Node425_1width);
- Node425_1.a('node.height', Node425_1height);
- Node425_1.a('node.rect', [0, 0, Node425_1width, Node425_1height]);
- Node425_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node425_1.a('node.borderwidth', 0);
- Node425_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node425_1.a('node.gradient','');
- Node425_1.a('node.gradientcolor','');
- Node425_1.a('node.text','实际功率');
- Node425_1.a('node.textalign','left');
- Node425_1.a('node.textvAlign','middle');
- Node425_1.a('node.textrect', [Node425_1textStart, 0, Node425_1textWidth, Node425_1height]);
- Node425_1.a('node.color','rgba(255,255,255,1)');
- Node425_1.a('node.font',' '+ Node425_1fontSize + 'px "Arial"');
- Node425_1.a('node.textvisible',true);
- Node425_1.a('node.linefeed',false);
- if (false) {
- Node425_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node425_1.a('node.text') || '实际功率';
- var color=Node425_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node425_1width,Node425_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node425_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node425_1.a('node.underlinepoints',[Node425_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node425_1fontSize + 2 , ht.Default.getTextSize('实际功率', ' '+ Node425_1fontSize + 'px "Arial"').width + 6, (Node425_1height - Node425_1fontSize) * 0.5*_ratio.ratioY + Node425_1fontSize + 2 ]);
- Node425_1.a('node.underlinevisible',false);
- Node425_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node425_1);
- zoomNodeList.push({
- node: Node425_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node426points=[152, 319,279, 319],
- Node426rect=ht.Default.unionPoint([{x:152,y:319},{x:279,y:319}]),
- Node426compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node426points.length;i++){
- if(i%2==0){
- Node426compspts.push(Node426points[i]-Node426rect.x);
- }else{
- Node426compspts.push(Node426points[i]-Node426rect.y);
- }
- }
- var Node426ptslength=Node426compspts.length;
- if (Node426rect.height === 0) {
- Node426compspts[0] -= 0;
- Node426compspts[Node426ptslength-2] += 0;
- } else if (Node426rect.width === 0){
- Node426compspts[1] -= 0;
- Node426compspts[Node426ptslength-1] += 0;
- } else {
- Node426compspts[0] -= 0;
- Node426compspts[1] -= 0;
- Node426compspts[Node426ptslength-2] += 0;
- Node426compspts[Node426ptslength-1] += 0;
- }
- Node426 = new ht.Node();
- Node426.borderWidth = 1;
- Node426rect.width = Node426rect.width === 0 ? 0.0001 : Node426rect.width;
- Node426rect.height = Node426rect.height === 0 ? 0.0001 : Node426rect.height;
- var Node426endCompspts = [Node426compspts[Node426ptslength-2],Node426compspts[Node426ptslength-1],0,0];
- var Node426startCompspts = [Node426compspts[0],Node426compspts[1],0,0];
- Node426.setImage(GD.getPolyLineJSON());
- Node426.setPosition(Node426rect.x+Node426rect.width/2,Node426rect.y+Node426rect.height/2);
- Node426.setSize(Node426rect.width,Node426rect.height);
- Node426.setStyle("opacity",1);
- Node426.s({'pixelPerfect':true});
- Node426borderwidth=1;
- Node426.setRotation(0);
- dataModel.add(Node426);
- Node426.a('node.points',Node426compspts);
- Node426.a('node.segments',[1,2]);
- Node426.a('node.color','rgba(192,192,192,1)');
- Node426.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node426.a('node.borderColor','rgba(192,192,192,1)');
- Node426.a('node.background','rgba(192,192,192,1)');
- Node426.a('node.gradient','');
- Node426.a('node.gradientcolor','rgba(192,192,192,1)');
- Node426.a('node.endCompspts',Node426endCompspts);
- Node426.a('node.startCompspts',Node426startCompspts);
- (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 = 'Node426';
- 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);
- }
- })(Node426, Node426.getImage(), Node426compspts, Node426endCompspts, Node426startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_0 = new ht.Node();
- var Node427_0textStart, Node427_0textWidth, Node427_0lineStart, Node427_0align = 'center', Node427_0fontSize = 13.3333*_ratio.ratioY,Node427_0width = 34*_ratio.ratioX, Node427_0height = 16*_ratio.ratioY;
- (function () {
- if (Node427_0align === 'left') {
- Node427_0textStart = Node427_0fontSize * 0.2 > 2 ? Node427_0fontSize * 0.2 - 4 : Node427_0fontSize * 0.2 - 9;
- Node427_0textWidth = Node427_0width;
- Node427_0lineStart = 1;
- } else if (Node427_0align === 'right') {
- Node427_0textStart = 0;
- Node427_0textWidth =Node427_0fontSize <= 8 ? Node427_0width + Node427_0fontSize * 0.2 + 6 : Node427_0width - Node427_0fontSize * 0.2;
- Node427_0lineStart = (Node427_0width - (ht.Default.getTextSize('风速', 'bold '+ Node427_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node427_0align === 'center') {
- Node427_0textStart = -3;
- Node427_0textWidth = Node427_0width;
- Node427_0lineStart = Node427_0width - ht.Default.getTextSize('风速', 'bold '+ Node427_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node427_0.setImage(GD.getTextJSON(Node427_0width, Node427_0height, true, false, false, 'bold '+ Node427_0fontSize + 'px "Arial"'))
- Node427_0.setPosition(216*ratio.ratioX, 28*ratio.ratioY);
- Node427_0.setWidth(Node427_0width);
- Node427_0.setHeight(Node427_0height);
- Node427_0._nodeType = 'text';
- Node427_0._disallowEvert = true;
- Node427_0.setRotation(0*Math.PI/180);
- Node427_0.a('node.width', Node427_0width);
- Node427_0.a('node.height', Node427_0height);
- Node427_0.a('node.rect', [0, 0, Node427_0width, Node427_0height]);
- Node427_0.a('node.bordercolor','rgba(255,255,255,1)');
- Node427_0.a('node.borderwidth', 0);
- Node427_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_0.a('node.gradient','');
- Node427_0.a('node.gradientcolor','');
- Node427_0.a('node.text','风速');
- Node427_0.a('node.textalign','center');
- Node427_0.a('node.textvAlign','middle');
- Node427_0.a('node.textrect', [Node427_0textStart, 0, Node427_0textWidth, Node427_0height]);
- Node427_0.a('node.color','rgba(255,255,255,1)');
- Node427_0.a('node.font','bold '+ Node427_0fontSize + 'px "Arial"');
- Node427_0.a('node.textvisible',true);
- Node427_0.a('node.linefeed',false);
- if (false) {
- Node427_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_0.a('node.text') || '风速';
- var color=Node427_0.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_0width,Node427_0height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node427_0.a('node.underlinepoints',[Node427_0lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_0fontSize + 2 , ht.Default.getTextSize('风速', 'bold '+ Node427_0fontSize + 'px "Arial"').width + 6, (Node427_0height - Node427_0fontSize) * 0.5*_ratio.ratioY + Node427_0fontSize + 2 ]);
- Node427_0.a('node.underlinevisible',false);
- Node427_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_0);
- zoomNodeList.push({
- node: Node427_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_1type = 'rect';
- var Node427_1 = new ht.Node(),
- Node427_1BorderWidth = 0*2;
- if (Node427_1type === 'arc') {
- Node427_1BorderWidth *= 0;
- }
- Node427_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_1.setPosition(213*ratio.ratioX, 115*ratio.ratioY);
- Node427_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_1.a('node.width', 127*_ratio.ratioX);
- Node427_1.a('node.height', 32*_ratio.ratioY);
- Node427_1.a('node.type', Node427_1type);
- Node427_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_1.a('node.background', 'rgba(245,245,245,1)');
- Node427_1.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node427_1.a('node.gradient', '');
- Node427_1.a('node.borderwidth', Node427_1BorderWidth);
- Node427_1.a('node.color', 'rgba(192,192,192,0)');
- Node427_1.a('node.fillrect', [0,0,0,0]);
- Node427_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_1.a('node.fillgradient', '');
- if (Node427_1type !== 'rect') {
- Node427_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_1type === 'arc') {
- Node427_1.a('node.arcOval', true);
- }
- Node427_1.setRotation(0*Math.PI/180);
- Node427_1.borderWidth = Node427_1BorderWidth;
- Node427_1.borderFillwidth = Node427_1BorderWidth;
- dataModel.add(Node427_1);
- Node427_1._nodename = 'Node427_1'
- Node427_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_1, Node427_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_2type = 'rect';
- var Node427_2 = new ht.Node(),
- Node427_2BorderWidth = 0*2;
- if (Node427_2type === 'arc') {
- Node427_2BorderWidth *= 0;
- }
- Node427_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_2.setPosition(213*ratio.ratioX, 147*ratio.ratioY);
- Node427_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_2.a('node.width', 127*_ratio.ratioX);
- Node427_2.a('node.height', 32*_ratio.ratioY);
- Node427_2.a('node.type', Node427_2type);
- Node427_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_2.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node427_2.a('node.gradientcolor', '');
- Node427_2.a('node.gradient', '');
- Node427_2.a('node.borderwidth', Node427_2BorderWidth);
- Node427_2.a('node.color', 'rgba(192,192,192,0)');
- Node427_2.a('node.fillrect', [0,0,0,0]);
- Node427_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_2.a('node.fillgradient', '');
- if (Node427_2type !== 'rect') {
- Node427_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_2type === 'arc') {
- Node427_2.a('node.arcOval', true);
- }
- Node427_2.setRotation(0*Math.PI/180);
- Node427_2.borderWidth = Node427_2BorderWidth;
- Node427_2.borderFillwidth = Node427_2BorderWidth;
- dataModel.add(Node427_2);
- Node427_2._nodename = 'Node427_2'
- Node427_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_2, Node427_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_3type = 'rect';
- var Node427_3 = new ht.Node(),
- Node427_3BorderWidth = 0*2;
- if (Node427_3type === 'arc') {
- Node427_3BorderWidth *= 0;
- }
- Node427_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_3.setPosition(213*ratio.ratioX, 179*ratio.ratioY);
- Node427_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_3.a('node.width', 127*_ratio.ratioX);
- Node427_3.a('node.height', 32*_ratio.ratioY);
- Node427_3.a('node.type', Node427_3type);
- Node427_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_3.a('node.background', 'rgba(245,245,245,1)');
- Node427_3.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node427_3.a('node.gradient', '');
- Node427_3.a('node.borderwidth', Node427_3BorderWidth);
- Node427_3.a('node.color', 'rgba(192,192,192,0)');
- Node427_3.a('node.fillrect', [0,0,0,0]);
- Node427_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_3.a('node.fillgradient', '');
- if (Node427_3type !== 'rect') {
- Node427_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_3type === 'arc') {
- Node427_3.a('node.arcOval', true);
- }
- Node427_3.setRotation(0*Math.PI/180);
- Node427_3.borderWidth = Node427_3BorderWidth;
- Node427_3.borderFillwidth = Node427_3BorderWidth;
- dataModel.add(Node427_3);
- Node427_3._nodename = 'Node427_3'
- Node427_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_3, Node427_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_4type = 'rect';
- var Node427_4 = new ht.Node(),
- Node427_4BorderWidth = 0*2;
- if (Node427_4type === 'arc') {
- Node427_4BorderWidth *= 0;
- }
- Node427_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_4.setPosition(213*ratio.ratioX, 210*ratio.ratioY);
- Node427_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_4.a('node.width', 127*_ratio.ratioX);
- Node427_4.a('node.height', 32*_ratio.ratioY);
- Node427_4.a('node.type', Node427_4type);
- Node427_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_4.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node427_4.a('node.gradientcolor', '');
- Node427_4.a('node.gradient', '');
- Node427_4.a('node.borderwidth', Node427_4BorderWidth);
- Node427_4.a('node.color', 'rgba(192,192,192,0)');
- Node427_4.a('node.fillrect', [0,0,0,0]);
- Node427_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_4.a('node.fillgradient', '');
- if (Node427_4type !== 'rect') {
- Node427_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_4type === 'arc') {
- Node427_4.a('node.arcOval', true);
- }
- Node427_4.setRotation(0*Math.PI/180);
- Node427_4.borderWidth = Node427_4BorderWidth;
- Node427_4.borderFillwidth = Node427_4BorderWidth;
- dataModel.add(Node427_4);
- Node427_4._nodename = 'Node427_4'
- Node427_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_4, Node427_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_5type = 'rect';
- var Node427_5 = new ht.Node(),
- Node427_5BorderWidth = 0*2;
- if (Node427_5type === 'arc') {
- Node427_5BorderWidth *= 0;
- }
- Node427_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_5.setPosition(213*ratio.ratioX, 241*ratio.ratioY);
- Node427_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_5.a('node.width', 127*_ratio.ratioX);
- Node427_5.a('node.height', 32*_ratio.ratioY);
- Node427_5.a('node.type', Node427_5type);
- Node427_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_5.a('node.background', 'rgba(245,245,245,1)');
- Node427_5.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node427_5.a('node.gradient', '');
- Node427_5.a('node.borderwidth', Node427_5BorderWidth);
- Node427_5.a('node.color', 'rgba(192,192,192,0)');
- Node427_5.a('node.fillrect', [0,0,0,0]);
- Node427_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_5.a('node.fillgradient', '');
- if (Node427_5type !== 'rect') {
- Node427_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_5type === 'arc') {
- Node427_5.a('node.arcOval', true);
- }
- Node427_5.setRotation(0*Math.PI/180);
- Node427_5.borderWidth = Node427_5BorderWidth;
- Node427_5.borderFillwidth = Node427_5BorderWidth;
- dataModel.add(Node427_5);
- Node427_5._nodename = 'Node427_5'
- Node427_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_5, Node427_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_6type = 'rect';
- var Node427_6 = new ht.Node(),
- Node427_6BorderWidth = 0*2;
- if (Node427_6type === 'arc') {
- Node427_6BorderWidth *= 0;
- }
- Node427_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_6.setPosition(213*ratio.ratioX, 272*ratio.ratioY);
- Node427_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_6.a('node.width', 127*_ratio.ratioX);
- Node427_6.a('node.height', 32*_ratio.ratioY);
- Node427_6.a('node.type', Node427_6type);
- Node427_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_6.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node427_6.a('node.gradientcolor', '');
- Node427_6.a('node.gradient', '');
- Node427_6.a('node.borderwidth', Node427_6BorderWidth);
- Node427_6.a('node.color', 'rgba(192,192,192,0)');
- Node427_6.a('node.fillrect', [0,0,0,0]);
- Node427_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_6.a('node.fillgradient', '');
- if (Node427_6type !== 'rect') {
- Node427_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_6type === 'arc') {
- Node427_6.a('node.arcOval', true);
- }
- Node427_6.setRotation(0*Math.PI/180);
- Node427_6.borderWidth = Node427_6BorderWidth;
- Node427_6.borderFillwidth = Node427_6BorderWidth;
- dataModel.add(Node427_6);
- Node427_6._nodename = 'Node427_6'
- Node427_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_6, Node427_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_7type = 'rect';
- var Node427_7 = new ht.Node(),
- Node427_7BorderWidth = 0*2;
- if (Node427_7type === 'arc') {
- Node427_7BorderWidth *= 0;
- }
- Node427_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node427_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_7.setPosition(213*ratio.ratioX, 303*ratio.ratioY);
- Node427_7.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node427_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_7.a('node.width', 127*_ratio.ratioX);
- Node427_7.a('node.height', 32*_ratio.ratioY);
- Node427_7.a('node.type', Node427_7type);
- Node427_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node427_7.a('node.background', 'rgba(245,245,245,1)');
- Node427_7.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node427_7.a('node.gradient', '');
- Node427_7.a('node.borderwidth', Node427_7BorderWidth);
- Node427_7.a('node.color', 'rgba(192,192,192,0)');
- Node427_7.a('node.fillrect', [0,0,0,0]);
- Node427_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_7.a('node.fillgradient', '');
- if (Node427_7type !== 'rect') {
- Node427_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_7type === 'arc') {
- Node427_7.a('node.arcOval', true);
- }
- Node427_7.setRotation(0*Math.PI/180);
- Node427_7.borderWidth = Node427_7BorderWidth;
- Node427_7.borderFillwidth = Node427_7BorderWidth;
- dataModel.add(Node427_7);
- Node427_7._nodename = 'Node427_7'
- Node427_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_7, Node427_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_8 = new ht.Node();
- var Node427_8textStart, Node427_8textWidth, Node427_8lineStart, Node427_8align = 'center', Node427_8fontSize = 11.99997*_ratio.ratioY,Node427_8width = 25*_ratio.ratioX, Node427_8height = 15*_ratio.ratioY;
- (function () {
- if (Node427_8align === 'left') {
- Node427_8textStart = Node427_8fontSize * 0.2 > 2 ? Node427_8fontSize * 0.2 - 4 : Node427_8fontSize * 0.2 - 9;
- Node427_8textWidth = Node427_8width;
- Node427_8lineStart = 1;
- } else if (Node427_8align === 'right') {
- Node427_8textStart = 0;
- Node427_8textWidth =Node427_8fontSize <= 8 ? Node427_8width + Node427_8fontSize * 0.2 + 6 : Node427_8width - Node427_8fontSize * 0.2;
- Node427_8lineStart = (Node427_8width - (ht.Default.getTextSize('m/s', 'bold '+ Node427_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node427_8align === 'center') {
- Node427_8textStart = -3;
- Node427_8textWidth = Node427_8width;
- Node427_8lineStart = Node427_8width - ht.Default.getTextSize('m/s', 'bold '+ Node427_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node427_8.setImage(GD.getTextJSON(Node427_8width, Node427_8height, true, false, false, 'bold '+ Node427_8fontSize + 'px "Arial"'))
- Node427_8.setPosition(213*ratio.ratioX, 58*ratio.ratioY);
- Node427_8.setWidth(Node427_8width);
- Node427_8.setHeight(Node427_8height);
- Node427_8._nodeType = 'text';
- Node427_8._disallowEvert = true;
- Node427_8.setRotation(0*Math.PI/180);
- Node427_8.a('node.width', Node427_8width);
- Node427_8.a('node.height', Node427_8height);
- Node427_8.a('node.rect', [0, 0, Node427_8width, Node427_8height]);
- Node427_8.a('node.bordercolor','rgba(128,128,128,1)');
- Node427_8.a('node.borderwidth', 0);
- Node427_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_8.a('node.gradient','');
- Node427_8.a('node.gradientcolor','');
- Node427_8.a('node.text','m/s');
- Node427_8.a('node.textalign','center');
- Node427_8.a('node.textvAlign','middle');
- Node427_8.a('node.textrect', [Node427_8textStart, 0, Node427_8textWidth, Node427_8height]);
- Node427_8.a('node.color','rgba(128,128,128,1)');
- Node427_8.a('node.font','bold '+ Node427_8fontSize + 'px "Arial"');
- Node427_8.a('node.textvisible',true);
- Node427_8.a('node.linefeed',false);
- if (false) {
- Node427_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_8.a('node.text') || 'm/s';
- var color=Node427_8.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node427_8width,Node427_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node427_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node427_8.a('node.underlinepoints',[Node427_8lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node427_8fontSize + 2 , ht.Default.getTextSize('m/s', 'bold '+ Node427_8fontSize + 'px "Arial"').width + 6, (Node427_8height - Node427_8fontSize) * 0.5*_ratio.ratioY + Node427_8fontSize + 2 ]);
- Node427_8.a('node.underlinevisible',false);
- Node427_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_8);
- zoomNodeList.push({
- node: Node427_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_9 = new ht.Node();
- var Node427_9textStart, Node427_9textWidth, Node427_9lineStart, Node427_9align = 'center', Node427_9fontSize = 13.3333*_ratio.ratioY,Node427_9width = 20*_ratio.ratioX, Node427_9height = 16*_ratio.ratioY;
- (function () {
- if (Node427_9align === 'left') {
- Node427_9textStart = Node427_9fontSize * 0.2 > 2 ? Node427_9fontSize * 0.2 - 4 : Node427_9fontSize * 0.2 - 9;
- Node427_9textWidth = Node427_9width;
- Node427_9lineStart = 1;
- } else if (Node427_9align === 'right') {
- Node427_9textStart = 0;
- Node427_9textWidth =Node427_9fontSize <= 8 ? Node427_9width + Node427_9fontSize * 0.2 + 6 : Node427_9width - Node427_9fontSize * 0.2;
- Node427_9lineStart = (Node427_9width - (ht.Default.getTextSize('9.7', 'bold '+ Node427_9fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_9align === 'center') {
- Node427_9textStart = -3;
- Node427_9textWidth = Node427_9width;
- Node427_9lineStart = Node427_9width - ht.Default.getTextSize('9.7', 'bold '+ Node427_9fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_9.setImage(GD.getTextJSON(Node427_9width, Node427_9height, true, false, false, 'bold '+ Node427_9fontSize + 'px "UniDreamLED"'))
- Node427_9.setPosition(213*ratio.ratioX, 89*ratio.ratioY);
- Node427_9.setWidth(Node427_9width);
- Node427_9.setHeight(Node427_9height);
- Node427_9._nodeType = 'text';
- Node427_9._disallowEvert = true;
- Node427_9.setRotation(0*Math.PI/180);
- Node427_9.a('node.width', Node427_9width);
- Node427_9.a('node.height', Node427_9height);
- Node427_9.a('node.rect', [0, 0, Node427_9width, Node427_9height]);
- Node427_9.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_9.a('node.borderwidth', 0);
- Node427_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_9.a('node.gradient','');
- Node427_9.a('node.gradientcolor','');
- Node427_9.a('node.text','9.7');
- Node427_9.a('node.textalign','center');
- Node427_9.a('node.textvAlign','middle');
- Node427_9.a('node.textrect', [Node427_9textStart, 0, Node427_9textWidth, Node427_9height]);
- Node427_9.a('node.color','rgba(25,25,112,1)');
- Node427_9.a('node.font','bold '+ Node427_9fontSize + 'px "UniDreamLED"');
- Node427_9.a('node.textvisible',true);
- Node427_9.a('node.linefeed',false);
- if (false) {
- Node427_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_9.a('node.text') || '9.7';
- var color=Node427_9.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_9width,Node427_9height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_9fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_9.a('node.underlinepoints',[Node427_9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_9fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node427_9fontSize + 'px "UniDreamLED"').width + 6, (Node427_9height - Node427_9fontSize) * 0.5*_ratio.ratioY + Node427_9fontSize + 2 ]);
- Node427_9.a('node.underlinevisible',false);
- Node427_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_9);
- zoomNodeList.push({
- node: Node427_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_10 = new ht.Node();
- var Node427_10textStart, Node427_10textWidth, Node427_10lineStart, Node427_10align = 'center', Node427_10fontSize = 13.3333*_ratio.ratioY,Node427_10width = 27*_ratio.ratioX, Node427_10height = 16*_ratio.ratioY;
- (function () {
- if (Node427_10align === 'left') {
- Node427_10textStart = Node427_10fontSize * 0.2 > 2 ? Node427_10fontSize * 0.2 - 4 : Node427_10fontSize * 0.2 - 9;
- Node427_10textWidth = Node427_10width;
- Node427_10lineStart = 1;
- } else if (Node427_10align === 'right') {
- Node427_10textStart = 0;
- Node427_10textWidth =Node427_10fontSize <= 8 ? Node427_10width + Node427_10fontSize * 0.2 + 6 : Node427_10width - Node427_10fontSize * 0.2;
- Node427_10lineStart = (Node427_10width - (ht.Default.getTextSize('8.02', 'bold '+ Node427_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_10align === 'center') {
- Node427_10textStart = -3;
- Node427_10textWidth = Node427_10width;
- Node427_10lineStart = Node427_10width - ht.Default.getTextSize('8.02', 'bold '+ Node427_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_10.setImage(GD.getTextJSON(Node427_10width, Node427_10height, true, false, false, 'bold '+ Node427_10fontSize + 'px "UniDreamLED"'))
- Node427_10.setPosition(213*ratio.ratioX, 120*ratio.ratioY);
- Node427_10.setWidth(Node427_10width);
- Node427_10.setHeight(Node427_10height);
- Node427_10._nodeType = 'text';
- Node427_10._disallowEvert = true;
- Node427_10.setRotation(0*Math.PI/180);
- Node427_10.a('node.width', Node427_10width);
- Node427_10.a('node.height', Node427_10height);
- Node427_10.a('node.rect', [0, 0, Node427_10width, Node427_10height]);
- Node427_10.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_10.a('node.borderwidth', 0);
- Node427_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_10.a('node.gradient','');
- Node427_10.a('node.gradientcolor','');
- Node427_10.a('node.text','8.02');
- Node427_10.a('node.textalign','center');
- Node427_10.a('node.textvAlign','middle');
- Node427_10.a('node.textrect', [Node427_10textStart, 0, Node427_10textWidth, Node427_10height]);
- Node427_10.a('node.color','rgba(25,25,112,1)');
- Node427_10.a('node.font','bold '+ Node427_10fontSize + 'px "UniDreamLED"');
- Node427_10.a('node.textvisible',true);
- Node427_10.a('node.linefeed',false);
- if (false) {
- Node427_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_10.a('node.text') || '8.02';
- var color=Node427_10.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_10width,Node427_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_10.a('node.underlinepoints',[Node427_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_10fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node427_10fontSize + 'px "UniDreamLED"').width + 6, (Node427_10height - Node427_10fontSize) * 0.5*_ratio.ratioY + Node427_10fontSize + 2 ]);
- Node427_10.a('node.underlinevisible',false);
- Node427_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_10);
- zoomNodeList.push({
- node: Node427_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_11 = new ht.Node();
- var Node427_11textStart, Node427_11textWidth, Node427_11lineStart, Node427_11align = 'center', Node427_11fontSize = 13.3333*_ratio.ratioY,Node427_11width = 27*_ratio.ratioX, Node427_11height = 16*_ratio.ratioY;
- (function () {
- if (Node427_11align === 'left') {
- Node427_11textStart = Node427_11fontSize * 0.2 > 2 ? Node427_11fontSize * 0.2 - 4 : Node427_11fontSize * 0.2 - 9;
- Node427_11textWidth = Node427_11width;
- Node427_11lineStart = 1;
- } else if (Node427_11align === 'right') {
- Node427_11textStart = 0;
- Node427_11textWidth =Node427_11fontSize <= 8 ? Node427_11width + Node427_11fontSize * 0.2 + 6 : Node427_11width - Node427_11fontSize * 0.2;
- Node427_11lineStart = (Node427_11width - (ht.Default.getTextSize('9.69', 'bold '+ Node427_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_11align === 'center') {
- Node427_11textStart = -3;
- Node427_11textWidth = Node427_11width;
- Node427_11lineStart = Node427_11width - ht.Default.getTextSize('9.69', 'bold '+ Node427_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_11.setImage(GD.getTextJSON(Node427_11width, Node427_11height, true, false, false, 'bold '+ Node427_11fontSize + 'px "UniDreamLED"'))
- Node427_11.setPosition(213*ratio.ratioX, 150*ratio.ratioY);
- Node427_11.setWidth(Node427_11width);
- Node427_11.setHeight(Node427_11height);
- Node427_11._nodeType = 'text';
- Node427_11._disallowEvert = true;
- Node427_11.setRotation(0*Math.PI/180);
- Node427_11.a('node.width', Node427_11width);
- Node427_11.a('node.height', Node427_11height);
- Node427_11.a('node.rect', [0, 0, Node427_11width, Node427_11height]);
- Node427_11.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_11.a('node.borderwidth', 0);
- Node427_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_11.a('node.gradient','');
- Node427_11.a('node.gradientcolor','');
- Node427_11.a('node.text','9.69');
- Node427_11.a('node.textalign','center');
- Node427_11.a('node.textvAlign','middle');
- Node427_11.a('node.textrect', [Node427_11textStart, 0, Node427_11textWidth, Node427_11height]);
- Node427_11.a('node.color','rgba(25,25,112,1)');
- Node427_11.a('node.font','bold '+ Node427_11fontSize + 'px "UniDreamLED"');
- Node427_11.a('node.textvisible',true);
- Node427_11.a('node.linefeed',false);
- if (false) {
- Node427_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_11.a('node.text') || '9.69';
- var color=Node427_11.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_11width,Node427_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_11.a('node.underlinepoints',[Node427_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_11fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node427_11fontSize + 'px "UniDreamLED"').width + 6, (Node427_11height - Node427_11fontSize) * 0.5*_ratio.ratioY + Node427_11fontSize + 2 ]);
- Node427_11.a('node.underlinevisible',false);
- Node427_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_11);
- zoomNodeList.push({
- node: Node427_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_12 = new ht.Node();
- var Node427_12textStart, Node427_12textWidth, Node427_12lineStart, Node427_12align = 'center', Node427_12fontSize = 13.3333*_ratio.ratioY,Node427_12width = 29*_ratio.ratioX, Node427_12height = 16*_ratio.ratioY;
- (function () {
- if (Node427_12align === 'left') {
- Node427_12textStart = Node427_12fontSize * 0.2 > 2 ? Node427_12fontSize * 0.2 - 4 : Node427_12fontSize * 0.2 - 9;
- Node427_12textWidth = Node427_12width;
- Node427_12lineStart = 1;
- } else if (Node427_12align === 'right') {
- Node427_12textStart = 0;
- Node427_12textWidth =Node427_12fontSize <= 8 ? Node427_12width + Node427_12fontSize * 0.2 + 6 : Node427_12width - Node427_12fontSize * 0.2;
- Node427_12lineStart = (Node427_12width - (ht.Default.getTextSize('10.72', 'bold '+ Node427_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_12align === 'center') {
- Node427_12textStart = -3;
- Node427_12textWidth = Node427_12width;
- Node427_12lineStart = Node427_12width - ht.Default.getTextSize('10.72', 'bold '+ Node427_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_12.setImage(GD.getTextJSON(Node427_12width, Node427_12height, true, false, false, 'bold '+ Node427_12fontSize + 'px "UniDreamLED"'))
- Node427_12.setPosition(213*ratio.ratioX, 181*ratio.ratioY);
- Node427_12.setWidth(Node427_12width);
- Node427_12.setHeight(Node427_12height);
- Node427_12._nodeType = 'text';
- Node427_12._disallowEvert = true;
- Node427_12.setRotation(0*Math.PI/180);
- Node427_12.a('node.width', Node427_12width);
- Node427_12.a('node.height', Node427_12height);
- Node427_12.a('node.rect', [0, 0, Node427_12width, Node427_12height]);
- Node427_12.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_12.a('node.borderwidth', 0);
- Node427_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_12.a('node.gradient','');
- Node427_12.a('node.gradientcolor','');
- Node427_12.a('node.text','10.72');
- Node427_12.a('node.textalign','center');
- Node427_12.a('node.textvAlign','middle');
- Node427_12.a('node.textrect', [Node427_12textStart, 0, Node427_12textWidth, Node427_12height]);
- Node427_12.a('node.color','rgba(25,25,112,1)');
- Node427_12.a('node.font','bold '+ Node427_12fontSize + 'px "UniDreamLED"');
- Node427_12.a('node.textvisible',true);
- Node427_12.a('node.linefeed',false);
- if (false) {
- Node427_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_12.a('node.text') || '10.72';
- var color=Node427_12.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_12width,Node427_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_12.a('node.underlinepoints',[Node427_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_12fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node427_12fontSize + 'px "UniDreamLED"').width + 6, (Node427_12height - Node427_12fontSize) * 0.5*_ratio.ratioY + Node427_12fontSize + 2 ]);
- Node427_12.a('node.underlinevisible',false);
- Node427_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_12);
- zoomNodeList.push({
- node: Node427_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_13 = new ht.Node();
- var Node427_13textStart, Node427_13textWidth, Node427_13lineStart, Node427_13align = 'center', Node427_13fontSize = 13.3333*_ratio.ratioY,Node427_13width = 27*_ratio.ratioX, Node427_13height = 16*_ratio.ratioY;
- (function () {
- if (Node427_13align === 'left') {
- Node427_13textStart = Node427_13fontSize * 0.2 > 2 ? Node427_13fontSize * 0.2 - 4 : Node427_13fontSize * 0.2 - 9;
- Node427_13textWidth = Node427_13width;
- Node427_13lineStart = 1;
- } else if (Node427_13align === 'right') {
- Node427_13textStart = 0;
- Node427_13textWidth =Node427_13fontSize <= 8 ? Node427_13width + Node427_13fontSize * 0.2 + 6 : Node427_13width - Node427_13fontSize * 0.2;
- Node427_13lineStart = (Node427_13width - (ht.Default.getTextSize('7.97', 'bold '+ Node427_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_13align === 'center') {
- Node427_13textStart = -3;
- Node427_13textWidth = Node427_13width;
- Node427_13lineStart = Node427_13width - ht.Default.getTextSize('7.97', 'bold '+ Node427_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_13.setImage(GD.getTextJSON(Node427_13width, Node427_13height, true, false, false, 'bold '+ Node427_13fontSize + 'px "UniDreamLED"'))
- Node427_13.setPosition(213*ratio.ratioX, 212*ratio.ratioY);
- Node427_13.setWidth(Node427_13width);
- Node427_13.setHeight(Node427_13height);
- Node427_13._nodeType = 'text';
- Node427_13._disallowEvert = true;
- Node427_13.setRotation(0*Math.PI/180);
- Node427_13.a('node.width', Node427_13width);
- Node427_13.a('node.height', Node427_13height);
- Node427_13.a('node.rect', [0, 0, Node427_13width, Node427_13height]);
- Node427_13.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_13.a('node.borderwidth', 0);
- Node427_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_13.a('node.gradient','');
- Node427_13.a('node.gradientcolor','');
- Node427_13.a('node.text','7.97');
- Node427_13.a('node.textalign','center');
- Node427_13.a('node.textvAlign','middle');
- Node427_13.a('node.textrect', [Node427_13textStart, 0, Node427_13textWidth, Node427_13height]);
- Node427_13.a('node.color','rgba(25,25,112,1)');
- Node427_13.a('node.font','bold '+ Node427_13fontSize + 'px "UniDreamLED"');
- Node427_13.a('node.textvisible',true);
- Node427_13.a('node.linefeed',false);
- if (false) {
- Node427_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_13.a('node.text') || '7.97';
- var color=Node427_13.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_13width,Node427_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_13.a('node.underlinepoints',[Node427_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_13fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node427_13fontSize + 'px "UniDreamLED"').width + 6, (Node427_13height - Node427_13fontSize) * 0.5*_ratio.ratioY + Node427_13fontSize + 2 ]);
- Node427_13.a('node.underlinevisible',false);
- Node427_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_13);
- zoomNodeList.push({
- node: Node427_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_14 = new ht.Node();
- var Node427_14textStart, Node427_14textWidth, Node427_14lineStart, Node427_14align = 'center', Node427_14fontSize = 13.3333*_ratio.ratioY,Node427_14width = 16*_ratio.ratioX, Node427_14height = 16*_ratio.ratioY;
- (function () {
- if (Node427_14align === 'left') {
- Node427_14textStart = Node427_14fontSize * 0.2 > 2 ? Node427_14fontSize * 0.2 - 4 : Node427_14fontSize * 0.2 - 9;
- Node427_14textWidth = Node427_14width;
- Node427_14lineStart = 1;
- } else if (Node427_14align === 'right') {
- Node427_14textStart = 0;
- Node427_14textWidth =Node427_14fontSize <= 8 ? Node427_14width + Node427_14fontSize * 0.2 + 6 : Node427_14width - Node427_14fontSize * 0.2;
- Node427_14lineStart = (Node427_14width - (ht.Default.getTextSize('8.1', 'bold '+ Node427_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_14align === 'center') {
- Node427_14textStart = -3;
- Node427_14textWidth = Node427_14width;
- Node427_14lineStart = Node427_14width - ht.Default.getTextSize('8.1', 'bold '+ Node427_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_14.setImage(GD.getTextJSON(Node427_14width, Node427_14height, true, false, false, 'bold '+ Node427_14fontSize + 'px "UniDreamLED"'))
- Node427_14.setPosition(213*ratio.ratioX, 242*ratio.ratioY);
- Node427_14.setWidth(Node427_14width);
- Node427_14.setHeight(Node427_14height);
- Node427_14._nodeType = 'text';
- Node427_14._disallowEvert = true;
- Node427_14.setRotation(0*Math.PI/180);
- Node427_14.a('node.width', Node427_14width);
- Node427_14.a('node.height', Node427_14height);
- Node427_14.a('node.rect', [0, 0, Node427_14width, Node427_14height]);
- Node427_14.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_14.a('node.borderwidth', 0);
- Node427_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_14.a('node.gradient','');
- Node427_14.a('node.gradientcolor','');
- Node427_14.a('node.text','8.1');
- Node427_14.a('node.textalign','center');
- Node427_14.a('node.textvAlign','middle');
- Node427_14.a('node.textrect', [Node427_14textStart, 0, Node427_14textWidth, Node427_14height]);
- Node427_14.a('node.color','rgba(25,25,112,1)');
- Node427_14.a('node.font','bold '+ Node427_14fontSize + 'px "UniDreamLED"');
- Node427_14.a('node.textvisible',true);
- Node427_14.a('node.linefeed',false);
- if (false) {
- Node427_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_14.a('node.text') || '8.1';
- var color=Node427_14.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_14width,Node427_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_14.a('node.underlinepoints',[Node427_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_14fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node427_14fontSize + 'px "UniDreamLED"').width + 6, (Node427_14height - Node427_14fontSize) * 0.5*_ratio.ratioY + Node427_14fontSize + 2 ]);
- Node427_14.a('node.underlinevisible',false);
- Node427_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_14);
- zoomNodeList.push({
- node: Node427_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_15 = new ht.Node();
- var Node427_15textStart, Node427_15textWidth, Node427_15lineStart, Node427_15align = 'center', Node427_15fontSize = 13.3333*_ratio.ratioY,Node427_15width = 20*_ratio.ratioX, Node427_15height = 16*_ratio.ratioY;
- (function () {
- if (Node427_15align === 'left') {
- Node427_15textStart = Node427_15fontSize * 0.2 > 2 ? Node427_15fontSize * 0.2 - 4 : Node427_15fontSize * 0.2 - 9;
- Node427_15textWidth = Node427_15width;
- Node427_15lineStart = 1;
- } else if (Node427_15align === 'right') {
- Node427_15textStart = 0;
- Node427_15textWidth =Node427_15fontSize <= 8 ? Node427_15width + Node427_15fontSize * 0.2 + 6 : Node427_15width - Node427_15fontSize * 0.2;
- Node427_15lineStart = (Node427_15width - (ht.Default.getTextSize('9.2', 'bold '+ Node427_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_15align === 'center') {
- Node427_15textStart = -3;
- Node427_15textWidth = Node427_15width;
- Node427_15lineStart = Node427_15width - ht.Default.getTextSize('9.2', 'bold '+ Node427_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_15.setImage(GD.getTextJSON(Node427_15width, Node427_15height, true, false, false, 'bold '+ Node427_15fontSize + 'px "UniDreamLED"'))
- Node427_15.setPosition(213*ratio.ratioX, 273*ratio.ratioY);
- Node427_15.setWidth(Node427_15width);
- Node427_15.setHeight(Node427_15height);
- Node427_15._nodeType = 'text';
- Node427_15._disallowEvert = true;
- Node427_15.setRotation(0*Math.PI/180);
- Node427_15.a('node.width', Node427_15width);
- Node427_15.a('node.height', Node427_15height);
- Node427_15.a('node.rect', [0, 0, Node427_15width, Node427_15height]);
- Node427_15.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_15.a('node.borderwidth', 0);
- Node427_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_15.a('node.gradient','');
- Node427_15.a('node.gradientcolor','');
- Node427_15.a('node.text','9.2');
- Node427_15.a('node.textalign','center');
- Node427_15.a('node.textvAlign','middle');
- Node427_15.a('node.textrect', [Node427_15textStart, 0, Node427_15textWidth, Node427_15height]);
- Node427_15.a('node.color','rgba(25,25,112,1)');
- Node427_15.a('node.font','bold '+ Node427_15fontSize + 'px "UniDreamLED"');
- Node427_15.a('node.textvisible',true);
- Node427_15.a('node.linefeed',false);
- if (false) {
- Node427_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_15.a('node.text') || '9.2';
- var color=Node427_15.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_15width,Node427_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_15.a('node.underlinepoints',[Node427_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_15fontSize + 2 , ht.Default.getTextSize('9.2', 'bold '+ Node427_15fontSize + 'px "UniDreamLED"').width + 6, (Node427_15height - Node427_15fontSize) * 0.5*_ratio.ratioY + Node427_15fontSize + 2 ]);
- Node427_15.a('node.underlinevisible',false);
- Node427_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_15);
- zoomNodeList.push({
- node: Node427_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_16 = new ht.Node();
- var Node427_16textStart, Node427_16textWidth, Node427_16lineStart, Node427_16align = 'center', Node427_16fontSize = 13.3333*_ratio.ratioY,Node427_16width = 9*_ratio.ratioX, Node427_16height = 16*_ratio.ratioY;
- (function () {
- if (Node427_16align === 'left') {
- Node427_16textStart = Node427_16fontSize * 0.2 > 2 ? Node427_16fontSize * 0.2 - 4 : Node427_16fontSize * 0.2 - 9;
- Node427_16textWidth = Node427_16width;
- Node427_16lineStart = 1;
- } else if (Node427_16align === 'right') {
- Node427_16textStart = 0;
- Node427_16textWidth =Node427_16fontSize <= 8 ? Node427_16width + Node427_16fontSize * 0.2 + 6 : Node427_16width - Node427_16fontSize * 0.2;
- Node427_16lineStart = (Node427_16width - (ht.Default.getTextSize('-', 'bold '+ Node427_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node427_16align === 'center') {
- Node427_16textStart = -3;
- Node427_16textWidth = Node427_16width;
- Node427_16lineStart = Node427_16width - ht.Default.getTextSize('-', 'bold '+ Node427_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node427_16.setImage(GD.getTextJSON(Node427_16width, Node427_16height, true, false, false, 'bold '+ Node427_16fontSize + 'px "UniDreamLED"'))
- Node427_16.setPosition(213*ratio.ratioX, 303*ratio.ratioY);
- Node427_16.setWidth(Node427_16width);
- Node427_16.setHeight(Node427_16height);
- Node427_16._nodeType = 'text';
- Node427_16._disallowEvert = true;
- Node427_16.setRotation(0*Math.PI/180);
- Node427_16.a('node.width', Node427_16width);
- Node427_16.a('node.height', Node427_16height);
- Node427_16.a('node.rect', [0, 0, Node427_16width, Node427_16height]);
- Node427_16.a('node.bordercolor','rgba(25,25,112,1)');
- Node427_16.a('node.borderwidth', 0);
- Node427_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node427_16.a('node.gradient','');
- Node427_16.a('node.gradientcolor','');
- Node427_16.a('node.text','-');
- Node427_16.a('node.textalign','center');
- Node427_16.a('node.textvAlign','middle');
- Node427_16.a('node.textrect', [Node427_16textStart, 0, Node427_16textWidth, Node427_16height]);
- Node427_16.a('node.color','rgba(25,25,112,1)');
- Node427_16.a('node.font','bold '+ Node427_16fontSize + 'px "UniDreamLED"');
- Node427_16.a('node.textvisible',true);
- Node427_16.a('node.linefeed',false);
- if (false) {
- Node427_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node427_16.a('node.text') || '-';
- var color=Node427_16.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node427_16width,Node427_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node427_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node427_16.a('node.underlinepoints',[Node427_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node427_16fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node427_16fontSize + 'px "UniDreamLED"').width + 6, (Node427_16height - Node427_16fontSize) * 0.5*_ratio.ratioY + Node427_16fontSize + 2 ]);
- Node427_16.a('node.underlinevisible',false);
- Node427_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node427_16);
- zoomNodeList.push({
- node: Node427_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node427_17type = 'rect';
- var Node427_17 = new ht.Node(),
- Node427_17BorderWidth = 1*2;
- if (Node427_17type === 'arc') {
- Node427_17BorderWidth *= 1;
- }
- Node427_17.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node427_17type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node427_17.setPosition(213*ratio.ratioX, 164*ratio.ratioY);
- Node427_17.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node427_17.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node427_17.a('node.width', 127*_ratio.ratioX);
- Node427_17.a('node.height', 309*_ratio.ratioY);
- Node427_17.a('node.type', Node427_17type);
- Node427_17.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node427_17.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node427_17.a('node.gradientcolor', '');
- Node427_17.a('node.gradient', '');
- Node427_17.a('node.borderwidth', Node427_17BorderWidth);
- Node427_17.a('node.color', 'rgba(192,192,192,1)');
- Node427_17.a('node.fillrect', [0,0,0,0]);
- Node427_17.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node427_17.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node427_17.a('node.fillgradient', '');
- if (Node427_17type !== 'rect') {
- Node427_17.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node427_17.a('node.arcTo', parseFloat('@arcTo@'));
- Node427_17.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node427_17type === 'arc') {
- Node427_17.a('node.arcOval', true);
- }
- Node427_17.setRotation(0*Math.PI/180);
- Node427_17.borderWidth = Node427_17BorderWidth;
- Node427_17.borderFillwidth = Node427_17BorderWidth;
- dataModel.add(Node427_17);
- Node427_17._nodename = 'Node427_17'
- Node427_17._nodeType = 'rect';
- zoomNodeList.push({
- node: Node427_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);
- }
- })(Node427_17, Node427_17.getImage());var Node427_18points=[285, 155,285, 155],
- Node427_18rect=ht.Default.unionPoint([{x:285,y:155},{x:285,y:155}]),
- Node427_18compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node427_18points.length;i++){
- if(i%2==0){
- Node427_18compspts.push(Node427_18points[i]-Node427_18rect.x);
- }else{
- Node427_18compspts.push(Node427_18points[i]-Node427_18rect.y);
- }
- }
- var Node427_18ptslength=Node427_18compspts.length;
- if (Node427_18rect.height === 0) {
- Node427_18compspts[0] -= 0;
- Node427_18compspts[Node427_18ptslength-2] += 0;
- } else if (Node427_18rect.width === 0){
- Node427_18compspts[1] -= 0;
- Node427_18compspts[Node427_18ptslength-1] += 0;
- } else {
- Node427_18compspts[0] -= 0;
- Node427_18compspts[1] -= 0;
- Node427_18compspts[Node427_18ptslength-2] += 0;
- Node427_18compspts[Node427_18ptslength-1] += 0;
- }
- Node427_18 = new ht.Node();
- Node427_18.borderWidth = 1;
- Node427_18rect.width = Node427_18rect.width === 0 ? 0.0001 : Node427_18rect.width;
- Node427_18rect.height = Node427_18rect.height === 0 ? 0.0001 : Node427_18rect.height;
- var Node427_18endCompspts = [Node427_18compspts[Node427_18ptslength-2],Node427_18compspts[Node427_18ptslength-1],0,0];
- var Node427_18startCompspts = [Node427_18compspts[0],Node427_18compspts[1],0,0];
- Node427_18.setImage(GD.getPolyLineJSON());
- Node427_18.setPosition(Node427_18rect.x+Node427_18rect.width/2,Node427_18rect.y+Node427_18rect.height/2);
- Node427_18.setSize(Node427_18rect.width,Node427_18rect.height);
- Node427_18.setStyle("opacity",1);
- Node427_18.s({'pixelPerfect':true});
- Node427_18borderwidth=1;
- Node427_18.setRotation(0);
- dataModel.add(Node427_18);
- Node427_18.a('node.points',Node427_18compspts);
- Node427_18.a('node.segments',[1,2]);
- Node427_18.a('node.color','rgba(0,0,0,1)');
- Node427_18.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node427_18.a('node.borderColor','rgba(0,0,0,1)');
- Node427_18.a('node.background','rgba(0,0,0,1)');
- Node427_18.a('node.gradient','');
- Node427_18.a('node.gradientcolor','rgba(0,0,0,1)');
- Node427_18.a('node.endCompspts',Node427_18endCompspts);
- Node427_18.a('node.startCompspts',Node427_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 = 'Node427_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);
- }
- })(Node427_18, Node427_18.getImage(), Node427_18compspts, Node427_18endCompspts, Node427_18startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_0type = 'rect';
- var Node428_0 = new ht.Node(),
- Node428_0BorderWidth = 0*2;
- if (Node428_0type === 'arc') {
- Node428_0BorderWidth *= 0;
- }
- Node428_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_0.setPosition(340*ratio.ratioX, 115*ratio.ratioY);
- Node428_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_0.a('node.width', 127*_ratio.ratioX);
- Node428_0.a('node.height', 32*_ratio.ratioY);
- Node428_0.a('node.type', Node428_0type);
- Node428_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_0.a('node.background', 'rgba(245,245,245,1)');
- Node428_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node428_0.a('node.gradient', '');
- Node428_0.a('node.borderwidth', Node428_0BorderWidth);
- Node428_0.a('node.color', 'rgba(192,192,192,0)');
- Node428_0.a('node.fillrect', [0,0,0,0]);
- Node428_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_0.a('node.fillgradient', '');
- if (Node428_0type !== 'rect') {
- Node428_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_0type === 'arc') {
- Node428_0.a('node.arcOval', true);
- }
- Node428_0.setRotation(0*Math.PI/180);
- Node428_0.borderWidth = Node428_0BorderWidth;
- Node428_0.borderFillwidth = Node428_0BorderWidth;
- dataModel.add(Node428_0);
- Node428_0._nodename = 'Node428_0'
- Node428_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_0, Node428_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_1type = 'rect';
- var Node428_1 = new ht.Node(),
- Node428_1BorderWidth = 0*2;
- if (Node428_1type === 'arc') {
- Node428_1BorderWidth *= 0;
- }
- Node428_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_1.setPosition(340*ratio.ratioX, 147*ratio.ratioY);
- Node428_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_1.a('node.width', 127*_ratio.ratioX);
- Node428_1.a('node.height', 32*_ratio.ratioY);
- Node428_1.a('node.type', Node428_1type);
- Node428_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node428_1.a('node.gradientcolor', '');
- Node428_1.a('node.gradient', '');
- Node428_1.a('node.borderwidth', Node428_1BorderWidth);
- Node428_1.a('node.color', 'rgba(192,192,192,0)');
- Node428_1.a('node.fillrect', [0,0,0,0]);
- Node428_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_1.a('node.fillgradient', '');
- if (Node428_1type !== 'rect') {
- Node428_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_1type === 'arc') {
- Node428_1.a('node.arcOval', true);
- }
- Node428_1.setRotation(0*Math.PI/180);
- Node428_1.borderWidth = Node428_1BorderWidth;
- Node428_1.borderFillwidth = Node428_1BorderWidth;
- dataModel.add(Node428_1);
- Node428_1._nodename = 'Node428_1'
- Node428_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_1, Node428_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_2type = 'rect';
- var Node428_2 = new ht.Node(),
- Node428_2BorderWidth = 0*2;
- if (Node428_2type === 'arc') {
- Node428_2BorderWidth *= 0;
- }
- Node428_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_2.setPosition(340*ratio.ratioX, 179*ratio.ratioY);
- Node428_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_2.a('node.width', 127*_ratio.ratioX);
- Node428_2.a('node.height', 32*_ratio.ratioY);
- Node428_2.a('node.type', Node428_2type);
- Node428_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_2.a('node.background', 'rgba(245,245,245,1)');
- Node428_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node428_2.a('node.gradient', '');
- Node428_2.a('node.borderwidth', Node428_2BorderWidth);
- Node428_2.a('node.color', 'rgba(192,192,192,0)');
- Node428_2.a('node.fillrect', [0,0,0,0]);
- Node428_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_2.a('node.fillgradient', '');
- if (Node428_2type !== 'rect') {
- Node428_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_2type === 'arc') {
- Node428_2.a('node.arcOval', true);
- }
- Node428_2.setRotation(0*Math.PI/180);
- Node428_2.borderWidth = Node428_2BorderWidth;
- Node428_2.borderFillwidth = Node428_2BorderWidth;
- dataModel.add(Node428_2);
- Node428_2._nodename = 'Node428_2'
- Node428_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_2, Node428_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_3type = 'rect';
- var Node428_3 = new ht.Node(),
- Node428_3BorderWidth = 0*2;
- if (Node428_3type === 'arc') {
- Node428_3BorderWidth *= 0;
- }
- Node428_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_3.setPosition(340*ratio.ratioX, 210*ratio.ratioY);
- Node428_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_3.a('node.width', 127*_ratio.ratioX);
- Node428_3.a('node.height', 32*_ratio.ratioY);
- Node428_3.a('node.type', Node428_3type);
- Node428_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node428_3.a('node.gradientcolor', '');
- Node428_3.a('node.gradient', '');
- Node428_3.a('node.borderwidth', Node428_3BorderWidth);
- Node428_3.a('node.color', 'rgba(192,192,192,0)');
- Node428_3.a('node.fillrect', [0,0,0,0]);
- Node428_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_3.a('node.fillgradient', '');
- if (Node428_3type !== 'rect') {
- Node428_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_3type === 'arc') {
- Node428_3.a('node.arcOval', true);
- }
- Node428_3.setRotation(0*Math.PI/180);
- Node428_3.borderWidth = Node428_3BorderWidth;
- Node428_3.borderFillwidth = Node428_3BorderWidth;
- dataModel.add(Node428_3);
- Node428_3._nodename = 'Node428_3'
- Node428_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_3, Node428_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_4type = 'rect';
- var Node428_4 = new ht.Node(),
- Node428_4BorderWidth = 0*2;
- if (Node428_4type === 'arc') {
- Node428_4BorderWidth *= 0;
- }
- Node428_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_4.setPosition(340*ratio.ratioX, 241*ratio.ratioY);
- Node428_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_4.a('node.width', 127*_ratio.ratioX);
- Node428_4.a('node.height', 32*_ratio.ratioY);
- Node428_4.a('node.type', Node428_4type);
- Node428_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_4.a('node.background', 'rgba(245,245,245,1)');
- Node428_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node428_4.a('node.gradient', '');
- Node428_4.a('node.borderwidth', Node428_4BorderWidth);
- Node428_4.a('node.color', 'rgba(192,192,192,0)');
- Node428_4.a('node.fillrect', [0,0,0,0]);
- Node428_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_4.a('node.fillgradient', '');
- if (Node428_4type !== 'rect') {
- Node428_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_4type === 'arc') {
- Node428_4.a('node.arcOval', true);
- }
- Node428_4.setRotation(0*Math.PI/180);
- Node428_4.borderWidth = Node428_4BorderWidth;
- Node428_4.borderFillwidth = Node428_4BorderWidth;
- dataModel.add(Node428_4);
- Node428_4._nodename = 'Node428_4'
- Node428_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_4, Node428_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_5type = 'rect';
- var Node428_5 = new ht.Node(),
- Node428_5BorderWidth = 0*2;
- if (Node428_5type === 'arc') {
- Node428_5BorderWidth *= 0;
- }
- Node428_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_5.setPosition(340*ratio.ratioX, 272*ratio.ratioY);
- Node428_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_5.a('node.width', 127*_ratio.ratioX);
- Node428_5.a('node.height', 32*_ratio.ratioY);
- Node428_5.a('node.type', Node428_5type);
- Node428_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node428_5.a('node.gradientcolor', '');
- Node428_5.a('node.gradient', '');
- Node428_5.a('node.borderwidth', Node428_5BorderWidth);
- Node428_5.a('node.color', 'rgba(192,192,192,0)');
- Node428_5.a('node.fillrect', [0,0,0,0]);
- Node428_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_5.a('node.fillgradient', '');
- if (Node428_5type !== 'rect') {
- Node428_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_5type === 'arc') {
- Node428_5.a('node.arcOval', true);
- }
- Node428_5.setRotation(0*Math.PI/180);
- Node428_5.borderWidth = Node428_5BorderWidth;
- Node428_5.borderFillwidth = Node428_5BorderWidth;
- dataModel.add(Node428_5);
- Node428_5._nodename = 'Node428_5'
- Node428_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_5, Node428_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_6type = 'rect';
- var Node428_6 = new ht.Node(),
- Node428_6BorderWidth = 0*2;
- if (Node428_6type === 'arc') {
- Node428_6BorderWidth *= 0;
- }
- Node428_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node428_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_6.setPosition(340*ratio.ratioX, 303*ratio.ratioY);
- Node428_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node428_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_6.a('node.width', 127*_ratio.ratioX);
- Node428_6.a('node.height', 32*_ratio.ratioY);
- Node428_6.a('node.type', Node428_6type);
- Node428_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node428_6.a('node.background', 'rgba(245,245,245,1)');
- Node428_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node428_6.a('node.gradient', '');
- Node428_6.a('node.borderwidth', Node428_6BorderWidth);
- Node428_6.a('node.color', 'rgba(192,192,192,0)');
- Node428_6.a('node.fillrect', [0,0,0,0]);
- Node428_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_6.a('node.fillgradient', '');
- if (Node428_6type !== 'rect') {
- Node428_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_6type === 'arc') {
- Node428_6.a('node.arcOval', true);
- }
- Node428_6.setRotation(0*Math.PI/180);
- Node428_6.borderWidth = Node428_6BorderWidth;
- Node428_6.borderFillwidth = Node428_6BorderWidth;
- dataModel.add(Node428_6);
- Node428_6._nodename = 'Node428_6'
- Node428_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_6, Node428_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_7type = 'rect';
- var Node428_7 = new ht.Node(),
- Node428_7BorderWidth = 1*2;
- if (Node428_7type === 'arc') {
- Node428_7BorderWidth *= 1;
- }
- Node428_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node428_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node428_7.setPosition(340*ratio.ratioX, 164*ratio.ratioY);
- Node428_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node428_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node428_7.a('node.width', 127*_ratio.ratioX);
- Node428_7.a('node.height', 309*_ratio.ratioY);
- Node428_7.a('node.type', Node428_7type);
- Node428_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node428_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node428_7.a('node.gradientcolor', '');
- Node428_7.a('node.gradient', '');
- Node428_7.a('node.borderwidth', Node428_7BorderWidth);
- Node428_7.a('node.color', 'rgba(192,192,192,1)');
- Node428_7.a('node.fillrect', [0,0,0,0]);
- Node428_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node428_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node428_7.a('node.fillgradient', '');
- if (Node428_7type !== 'rect') {
- Node428_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node428_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node428_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node428_7type === 'arc') {
- Node428_7.a('node.arcOval', true);
- }
- Node428_7.setRotation(0*Math.PI/180);
- Node428_7.borderWidth = Node428_7BorderWidth;
- Node428_7.borderFillwidth = Node428_7BorderWidth;
- dataModel.add(Node428_7);
- Node428_7._nodename = 'Node428_7'
- Node428_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node428_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);
- }
- })(Node428_7, Node428_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_8 = new ht.Node();
- var Node428_8textStart, Node428_8textWidth, Node428_8lineStart, Node428_8align = 'center', Node428_8fontSize = 13.3333*_ratio.ratioY,Node428_8width = 64*_ratio.ratioX, Node428_8height = 16*_ratio.ratioY;
- (function () {
- if (Node428_8align === 'left') {
- Node428_8textStart = Node428_8fontSize * 0.2 > 2 ? Node428_8fontSize * 0.2 - 4 : Node428_8fontSize * 0.2 - 9;
- Node428_8textWidth = Node428_8width;
- Node428_8lineStart = 1;
- } else if (Node428_8align === 'right') {
- Node428_8textStart = 0;
- Node428_8textWidth =Node428_8fontSize <= 8 ? Node428_8width + Node428_8fontSize * 0.2 + 6 : Node428_8width - Node428_8fontSize * 0.2;
- Node428_8lineStart = (Node428_8width - (ht.Default.getTextSize('实际功率', 'bold '+ Node428_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node428_8align === 'center') {
- Node428_8textStart = -3;
- Node428_8textWidth = Node428_8width;
- Node428_8lineStart = Node428_8width - ht.Default.getTextSize('实际功率', 'bold '+ Node428_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node428_8.setImage(GD.getTextJSON(Node428_8width, Node428_8height, true, false, false, 'bold '+ Node428_8fontSize + 'px "Arial"'))
- Node428_8.setPosition(337*ratio.ratioX, 28*ratio.ratioY);
- Node428_8.setWidth(Node428_8width);
- Node428_8.setHeight(Node428_8height);
- Node428_8._nodeType = 'text';
- Node428_8._disallowEvert = true;
- Node428_8.setRotation(0*Math.PI/180);
- Node428_8.a('node.width', Node428_8width);
- Node428_8.a('node.height', Node428_8height);
- Node428_8.a('node.rect', [0, 0, Node428_8width, Node428_8height]);
- Node428_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node428_8.a('node.borderwidth', 0);
- Node428_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_8.a('node.gradient','');
- Node428_8.a('node.gradientcolor','');
- Node428_8.a('node.text','实际功率');
- Node428_8.a('node.textalign','center');
- Node428_8.a('node.textvAlign','middle');
- Node428_8.a('node.textrect', [Node428_8textStart, 0, Node428_8textWidth, Node428_8height]);
- Node428_8.a('node.color','rgba(255,255,255,1)');
- Node428_8.a('node.font','bold '+ Node428_8fontSize + 'px "Arial"');
- Node428_8.a('node.textvisible',true);
- Node428_8.a('node.linefeed',false);
- if (false) {
- Node428_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_8.a('node.text') || '实际功率';
- var color=Node428_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_8width,Node428_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node428_8.a('node.underlinepoints',[Node428_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_8fontSize + 2 , ht.Default.getTextSize('实际功率', 'bold '+ Node428_8fontSize + 'px "Arial"').width + 6, (Node428_8height - Node428_8fontSize) * 0.5*_ratio.ratioY + Node428_8fontSize + 2 ]);
- Node428_8.a('node.underlinevisible',false);
- Node428_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_8);
- zoomNodeList.push({
- node: Node428_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_9 = new ht.Node();
- var Node428_9textStart, Node428_9textWidth, Node428_9lineStart, Node428_9align = 'center', Node428_9fontSize = 11.99997*_ratio.ratioY,Node428_9width = 25*_ratio.ratioX, Node428_9height = 15*_ratio.ratioY;
- (function () {
- if (Node428_9align === 'left') {
- Node428_9textStart = Node428_9fontSize * 0.2 > 2 ? Node428_9fontSize * 0.2 - 4 : Node428_9fontSize * 0.2 - 9;
- Node428_9textWidth = Node428_9width;
- Node428_9lineStart = 1;
- } else if (Node428_9align === 'right') {
- Node428_9textStart = 0;
- Node428_9textWidth =Node428_9fontSize <= 8 ? Node428_9width + Node428_9fontSize * 0.2 + 6 : Node428_9width - Node428_9fontSize * 0.2;
- Node428_9lineStart = (Node428_9width - (ht.Default.getTextSize('MW', 'bold '+ Node428_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node428_9align === 'center') {
- Node428_9textStart = -3;
- Node428_9textWidth = Node428_9width;
- Node428_9lineStart = Node428_9width - ht.Default.getTextSize('MW', 'bold '+ Node428_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node428_9.setImage(GD.getTextJSON(Node428_9width, Node428_9height, true, false, false, 'bold '+ Node428_9fontSize + 'px "Arial"'))
- Node428_9.setPosition(337*ratio.ratioX, 56*ratio.ratioY);
- Node428_9.setWidth(Node428_9width);
- Node428_9.setHeight(Node428_9height);
- Node428_9._nodeType = 'text';
- Node428_9._disallowEvert = true;
- Node428_9.setRotation(0*Math.PI/180);
- Node428_9.a('node.width', Node428_9width);
- Node428_9.a('node.height', Node428_9height);
- Node428_9.a('node.rect', [0, 0, Node428_9width, Node428_9height]);
- Node428_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node428_9.a('node.borderwidth', 0);
- Node428_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_9.a('node.gradient','');
- Node428_9.a('node.gradientcolor','');
- Node428_9.a('node.text','MW');
- Node428_9.a('node.textalign','center');
- Node428_9.a('node.textvAlign','middle');
- Node428_9.a('node.textrect', [Node428_9textStart, 0, Node428_9textWidth, Node428_9height]);
- Node428_9.a('node.color','rgba(128,128,128,1)');
- Node428_9.a('node.font','bold '+ Node428_9fontSize + 'px "Arial"');
- Node428_9.a('node.textvisible',true);
- Node428_9.a('node.linefeed',false);
- if (false) {
- Node428_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_9.a('node.text') || 'MW';
- var color=Node428_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node428_9width,Node428_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node428_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node428_9.a('node.underlinepoints',[Node428_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node428_9fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node428_9fontSize + 'px "Arial"').width + 6, (Node428_9height - Node428_9fontSize) * 0.5*_ratio.ratioY + Node428_9fontSize + 2 ]);
- Node428_9.a('node.underlinevisible',false);
- Node428_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_9);
- zoomNodeList.push({
- node: Node428_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_10 = new ht.Node();
- var Node428_10textStart, Node428_10textWidth, Node428_10lineStart, Node428_10align = 'center', Node428_10fontSize = 13.3333*_ratio.ratioY,Node428_10width = 20*_ratio.ratioX, Node428_10height = 16*_ratio.ratioY;
- (function () {
- if (Node428_10align === 'left') {
- Node428_10textStart = Node428_10fontSize * 0.2 > 2 ? Node428_10fontSize * 0.2 - 4 : Node428_10fontSize * 0.2 - 9;
- Node428_10textWidth = Node428_10width;
- Node428_10lineStart = 1;
- } else if (Node428_10align === 'right') {
- Node428_10textStart = 0;
- Node428_10textWidth =Node428_10fontSize <= 8 ? Node428_10width + Node428_10fontSize * 0.2 + 6 : Node428_10width - Node428_10fontSize * 0.2;
- Node428_10lineStart = (Node428_10width - (ht.Default.getTextSize('9.7', 'bold '+ Node428_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_10align === 'center') {
- Node428_10textStart = -3;
- Node428_10textWidth = Node428_10width;
- Node428_10lineStart = Node428_10width - ht.Default.getTextSize('9.7', 'bold '+ Node428_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_10.setImage(GD.getTextJSON(Node428_10width, Node428_10height, true, false, false, 'bold '+ Node428_10fontSize + 'px "UniDreamLED"'))
- Node428_10.setPosition(337*ratio.ratioX, 83*ratio.ratioY);
- Node428_10.setWidth(Node428_10width);
- Node428_10.setHeight(Node428_10height);
- Node428_10._nodeType = 'text';
- Node428_10._disallowEvert = true;
- Node428_10.setRotation(0*Math.PI/180);
- Node428_10.a('node.width', Node428_10width);
- Node428_10.a('node.height', Node428_10height);
- Node428_10.a('node.rect', [0, 0, Node428_10width, Node428_10height]);
- Node428_10.a('node.bordercolor','rgba(25,25,112,1)');
- Node428_10.a('node.borderwidth', 0);
- Node428_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_10.a('node.gradient','');
- Node428_10.a('node.gradientcolor','');
- Node428_10.a('node.text','9.7');
- Node428_10.a('node.textalign','center');
- Node428_10.a('node.textvAlign','middle');
- Node428_10.a('node.textrect', [Node428_10textStart, 0, Node428_10textWidth, Node428_10height]);
- Node428_10.a('node.color','rgba(25,25,112,1)');
- Node428_10.a('node.font','bold '+ Node428_10fontSize + 'px "UniDreamLED"');
- Node428_10.a('node.textvisible',true);
- Node428_10.a('node.linefeed',false);
- if (false) {
- Node428_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_10.a('node.text') || '9.7';
- var color=Node428_10.a('node.color') || 'rgba(25,25,112,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_10width,Node428_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_10.a('node.underlinepoints',[Node428_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_10fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node428_10fontSize + 'px "UniDreamLED"').width + 6, (Node428_10height - Node428_10fontSize) * 0.5*_ratio.ratioY + Node428_10fontSize + 2 ]);
- Node428_10.a('node.underlinevisible',false);
- Node428_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_10);
- zoomNodeList.push({
- node: Node428_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_11 = new ht.Node();
- var Node428_11textStart, Node428_11textWidth, Node428_11lineStart, Node428_11align = 'center', Node428_11fontSize = 13.3333*_ratio.ratioY,Node428_11width = 20*_ratio.ratioX, Node428_11height = 16*_ratio.ratioY;
- (function () {
- if (Node428_11align === 'left') {
- Node428_11textStart = Node428_11fontSize * 0.2 > 2 ? Node428_11fontSize * 0.2 - 4 : Node428_11fontSize * 0.2 - 9;
- Node428_11textWidth = Node428_11width;
- Node428_11lineStart = 1;
- } else if (Node428_11align === 'right') {
- Node428_11textStart = 0;
- Node428_11textWidth =Node428_11fontSize <= 8 ? Node428_11width + Node428_11fontSize * 0.2 + 6 : Node428_11width - Node428_11fontSize * 0.2;
- Node428_11lineStart = (Node428_11width - (ht.Default.getTextSize('9.7', 'bold '+ Node428_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_11align === 'center') {
- Node428_11textStart = -3;
- Node428_11textWidth = Node428_11width;
- Node428_11lineStart = Node428_11width - ht.Default.getTextSize('9.7', 'bold '+ Node428_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_11.setImage(GD.getTextJSON(Node428_11width, Node428_11height, true, false, false, 'bold '+ Node428_11fontSize + 'px "UniDreamLED"'))
- Node428_11.setPosition(340*ratio.ratioX, 115*ratio.ratioY);
- Node428_11.setWidth(Node428_11width);
- Node428_11.setHeight(Node428_11height);
- Node428_11._nodeType = 'text';
- Node428_11._disallowEvert = true;
- Node428_11.setRotation(0*Math.PI/180);
- Node428_11.a('node.width', Node428_11width);
- Node428_11.a('node.height', Node428_11height);
- Node428_11.a('node.rect', [0, 0, Node428_11width, Node428_11height]);
- Node428_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_11.a('node.borderwidth', 0);
- Node428_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_11.a('node.gradient','');
- Node428_11.a('node.gradientcolor','');
- Node428_11.a('node.text','9.7');
- Node428_11.a('node.textalign','center');
- Node428_11.a('node.textvAlign','middle');
- Node428_11.a('node.textrect', [Node428_11textStart, 0, Node428_11textWidth, Node428_11height]);
- Node428_11.a('node.color','rgba(0,0,0,1)');
- Node428_11.a('node.font','bold '+ Node428_11fontSize + 'px "UniDreamLED"');
- Node428_11.a('node.textvisible',true);
- Node428_11.a('node.linefeed',false);
- if (false) {
- Node428_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_11.a('node.text') || '9.7';
- var color=Node428_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_11width,Node428_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_11.a('node.underlinepoints',[Node428_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_11fontSize + 2 , ht.Default.getTextSize('9.7', 'bold '+ Node428_11fontSize + 'px "UniDreamLED"').width + 6, (Node428_11height - Node428_11fontSize) * 0.5*_ratio.ratioY + Node428_11fontSize + 2 ]);
- Node428_11.a('node.underlinevisible',false);
- Node428_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_11);
- zoomNodeList.push({
- node: Node428_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_12 = new ht.Node();
- var Node428_12textStart, Node428_12textWidth, Node428_12lineStart, Node428_12align = 'center', Node428_12fontSize = 13.3333*_ratio.ratioY,Node428_12width = 27*_ratio.ratioX, Node428_12height = 16*_ratio.ratioY;
- (function () {
- if (Node428_12align === 'left') {
- Node428_12textStart = Node428_12fontSize * 0.2 > 2 ? Node428_12fontSize * 0.2 - 4 : Node428_12fontSize * 0.2 - 9;
- Node428_12textWidth = Node428_12width;
- Node428_12lineStart = 1;
- } else if (Node428_12align === 'right') {
- Node428_12textStart = 0;
- Node428_12textWidth =Node428_12fontSize <= 8 ? Node428_12width + Node428_12fontSize * 0.2 + 6 : Node428_12width - Node428_12fontSize * 0.2;
- Node428_12lineStart = (Node428_12width - (ht.Default.getTextSize('8.02', 'bold '+ Node428_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_12align === 'center') {
- Node428_12textStart = -3;
- Node428_12textWidth = Node428_12width;
- Node428_12lineStart = Node428_12width - ht.Default.getTextSize('8.02', 'bold '+ Node428_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_12.setImage(GD.getTextJSON(Node428_12width, Node428_12height, true, false, false, 'bold '+ Node428_12fontSize + 'px "UniDreamLED"'))
- Node428_12.setPosition(340*ratio.ratioX, 145*ratio.ratioY);
- Node428_12.setWidth(Node428_12width);
- Node428_12.setHeight(Node428_12height);
- Node428_12._nodeType = 'text';
- Node428_12._disallowEvert = true;
- Node428_12.setRotation(0*Math.PI/180);
- Node428_12.a('node.width', Node428_12width);
- Node428_12.a('node.height', Node428_12height);
- Node428_12.a('node.rect', [0, 0, Node428_12width, Node428_12height]);
- Node428_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_12.a('node.borderwidth', 0);
- Node428_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_12.a('node.gradient','');
- Node428_12.a('node.gradientcolor','');
- Node428_12.a('node.text','8.02');
- Node428_12.a('node.textalign','center');
- Node428_12.a('node.textvAlign','middle');
- Node428_12.a('node.textrect', [Node428_12textStart, 0, Node428_12textWidth, Node428_12height]);
- Node428_12.a('node.color','rgba(0,0,0,1)');
- Node428_12.a('node.font','bold '+ Node428_12fontSize + 'px "UniDreamLED"');
- Node428_12.a('node.textvisible',true);
- Node428_12.a('node.linefeed',false);
- if (false) {
- Node428_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_12.a('node.text') || '8.02';
- var color=Node428_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_12width,Node428_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_12.a('node.underlinepoints',[Node428_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_12fontSize + 2 , ht.Default.getTextSize('8.02', 'bold '+ Node428_12fontSize + 'px "UniDreamLED"').width + 6, (Node428_12height - Node428_12fontSize) * 0.5*_ratio.ratioY + Node428_12fontSize + 2 ]);
- Node428_12.a('node.underlinevisible',false);
- Node428_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_12);
- zoomNodeList.push({
- node: Node428_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_13 = new ht.Node();
- var Node428_13textStart, Node428_13textWidth, Node428_13lineStart, Node428_13align = 'center', Node428_13fontSize = 13.3333*_ratio.ratioY,Node428_13width = 27*_ratio.ratioX, Node428_13height = 16*_ratio.ratioY;
- (function () {
- if (Node428_13align === 'left') {
- Node428_13textStart = Node428_13fontSize * 0.2 > 2 ? Node428_13fontSize * 0.2 - 4 : Node428_13fontSize * 0.2 - 9;
- Node428_13textWidth = Node428_13width;
- Node428_13lineStart = 1;
- } else if (Node428_13align === 'right') {
- Node428_13textStart = 0;
- Node428_13textWidth =Node428_13fontSize <= 8 ? Node428_13width + Node428_13fontSize * 0.2 + 6 : Node428_13width - Node428_13fontSize * 0.2;
- Node428_13lineStart = (Node428_13width - (ht.Default.getTextSize('9.69', 'bold '+ Node428_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_13align === 'center') {
- Node428_13textStart = -3;
- Node428_13textWidth = Node428_13width;
- Node428_13lineStart = Node428_13width - ht.Default.getTextSize('9.69', 'bold '+ Node428_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_13.setImage(GD.getTextJSON(Node428_13width, Node428_13height, true, false, false, 'bold '+ Node428_13fontSize + 'px "UniDreamLED"'))
- Node428_13.setPosition(340*ratio.ratioX, 175*ratio.ratioY);
- Node428_13.setWidth(Node428_13width);
- Node428_13.setHeight(Node428_13height);
- Node428_13._nodeType = 'text';
- Node428_13._disallowEvert = true;
- Node428_13.setRotation(0*Math.PI/180);
- Node428_13.a('node.width', Node428_13width);
- Node428_13.a('node.height', Node428_13height);
- Node428_13.a('node.rect', [0, 0, Node428_13width, Node428_13height]);
- Node428_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_13.a('node.borderwidth', 0);
- Node428_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_13.a('node.gradient','');
- Node428_13.a('node.gradientcolor','');
- Node428_13.a('node.text','9.69');
- Node428_13.a('node.textalign','center');
- Node428_13.a('node.textvAlign','middle');
- Node428_13.a('node.textrect', [Node428_13textStart, 0, Node428_13textWidth, Node428_13height]);
- Node428_13.a('node.color','rgba(0,0,0,1)');
- Node428_13.a('node.font','bold '+ Node428_13fontSize + 'px "UniDreamLED"');
- Node428_13.a('node.textvisible',true);
- Node428_13.a('node.linefeed',false);
- if (false) {
- Node428_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_13.a('node.text') || '9.69';
- var color=Node428_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_13width,Node428_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_13.a('node.underlinepoints',[Node428_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_13fontSize + 2 , ht.Default.getTextSize('9.69', 'bold '+ Node428_13fontSize + 'px "UniDreamLED"').width + 6, (Node428_13height - Node428_13fontSize) * 0.5*_ratio.ratioY + Node428_13fontSize + 2 ]);
- Node428_13.a('node.underlinevisible',false);
- Node428_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_13);
- zoomNodeList.push({
- node: Node428_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_14 = new ht.Node();
- var Node428_14textStart, Node428_14textWidth, Node428_14lineStart, Node428_14align = 'center', Node428_14fontSize = 13.3333*_ratio.ratioY,Node428_14width = 29*_ratio.ratioX, Node428_14height = 16*_ratio.ratioY;
- (function () {
- if (Node428_14align === 'left') {
- Node428_14textStart = Node428_14fontSize * 0.2 > 2 ? Node428_14fontSize * 0.2 - 4 : Node428_14fontSize * 0.2 - 9;
- Node428_14textWidth = Node428_14width;
- Node428_14lineStart = 1;
- } else if (Node428_14align === 'right') {
- Node428_14textStart = 0;
- Node428_14textWidth =Node428_14fontSize <= 8 ? Node428_14width + Node428_14fontSize * 0.2 + 6 : Node428_14width - Node428_14fontSize * 0.2;
- Node428_14lineStart = (Node428_14width - (ht.Default.getTextSize('10.72', 'bold '+ Node428_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_14align === 'center') {
- Node428_14textStart = -3;
- Node428_14textWidth = Node428_14width;
- Node428_14lineStart = Node428_14width - ht.Default.getTextSize('10.72', 'bold '+ Node428_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_14.setImage(GD.getTextJSON(Node428_14width, Node428_14height, true, false, false, 'bold '+ Node428_14fontSize + 'px "UniDreamLED"'))
- Node428_14.setPosition(340*ratio.ratioX, 209*ratio.ratioY);
- Node428_14.setWidth(Node428_14width);
- Node428_14.setHeight(Node428_14height);
- Node428_14._nodeType = 'text';
- Node428_14._disallowEvert = true;
- Node428_14.setRotation(0*Math.PI/180);
- Node428_14.a('node.width', Node428_14width);
- Node428_14.a('node.height', Node428_14height);
- Node428_14.a('node.rect', [0, 0, Node428_14width, Node428_14height]);
- Node428_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_14.a('node.borderwidth', 0);
- Node428_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_14.a('node.gradient','');
- Node428_14.a('node.gradientcolor','');
- Node428_14.a('node.text','10.72');
- Node428_14.a('node.textalign','center');
- Node428_14.a('node.textvAlign','middle');
- Node428_14.a('node.textrect', [Node428_14textStart, 0, Node428_14textWidth, Node428_14height]);
- Node428_14.a('node.color','rgba(0,0,0,1)');
- Node428_14.a('node.font','bold '+ Node428_14fontSize + 'px "UniDreamLED"');
- Node428_14.a('node.textvisible',true);
- Node428_14.a('node.linefeed',false);
- if (false) {
- Node428_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_14.a('node.text') || '10.72';
- var color=Node428_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_14width,Node428_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_14.a('node.underlinepoints',[Node428_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_14fontSize + 2 , ht.Default.getTextSize('10.72', 'bold '+ Node428_14fontSize + 'px "UniDreamLED"').width + 6, (Node428_14height - Node428_14fontSize) * 0.5*_ratio.ratioY + Node428_14fontSize + 2 ]);
- Node428_14.a('node.underlinevisible',false);
- Node428_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_14);
- zoomNodeList.push({
- node: Node428_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_15 = new ht.Node();
- var Node428_15textStart, Node428_15textWidth, Node428_15lineStart, Node428_15align = 'center', Node428_15fontSize = 13.3333*_ratio.ratioY,Node428_15width = 27*_ratio.ratioX, Node428_15height = 16*_ratio.ratioY;
- (function () {
- if (Node428_15align === 'left') {
- Node428_15textStart = Node428_15fontSize * 0.2 > 2 ? Node428_15fontSize * 0.2 - 4 : Node428_15fontSize * 0.2 - 9;
- Node428_15textWidth = Node428_15width;
- Node428_15lineStart = 1;
- } else if (Node428_15align === 'right') {
- Node428_15textStart = 0;
- Node428_15textWidth =Node428_15fontSize <= 8 ? Node428_15width + Node428_15fontSize * 0.2 + 6 : Node428_15width - Node428_15fontSize * 0.2;
- Node428_15lineStart = (Node428_15width - (ht.Default.getTextSize('7.97', 'bold '+ Node428_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_15align === 'center') {
- Node428_15textStart = -3;
- Node428_15textWidth = Node428_15width;
- Node428_15lineStart = Node428_15width - ht.Default.getTextSize('7.97', 'bold '+ Node428_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_15.setImage(GD.getTextJSON(Node428_15width, Node428_15height, true, false, false, 'bold '+ Node428_15fontSize + 'px "UniDreamLED"'))
- Node428_15.setPosition(340*ratio.ratioX, 242*ratio.ratioY);
- Node428_15.setWidth(Node428_15width);
- Node428_15.setHeight(Node428_15height);
- Node428_15._nodeType = 'text';
- Node428_15._disallowEvert = true;
- Node428_15.setRotation(0*Math.PI/180);
- Node428_15.a('node.width', Node428_15width);
- Node428_15.a('node.height', Node428_15height);
- Node428_15.a('node.rect', [0, 0, Node428_15width, Node428_15height]);
- Node428_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_15.a('node.borderwidth', 0);
- Node428_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_15.a('node.gradient','');
- Node428_15.a('node.gradientcolor','');
- Node428_15.a('node.text','7.97');
- Node428_15.a('node.textalign','center');
- Node428_15.a('node.textvAlign','middle');
- Node428_15.a('node.textrect', [Node428_15textStart, 0, Node428_15textWidth, Node428_15height]);
- Node428_15.a('node.color','rgba(0,0,0,1)');
- Node428_15.a('node.font','bold '+ Node428_15fontSize + 'px "UniDreamLED"');
- Node428_15.a('node.textvisible',true);
- Node428_15.a('node.linefeed',false);
- if (false) {
- Node428_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_15.a('node.text') || '7.97';
- var color=Node428_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_15width,Node428_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_15.a('node.underlinepoints',[Node428_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_15fontSize + 2 , ht.Default.getTextSize('7.97', 'bold '+ Node428_15fontSize + 'px "UniDreamLED"').width + 6, (Node428_15height - Node428_15fontSize) * 0.5*_ratio.ratioY + Node428_15fontSize + 2 ]);
- Node428_15.a('node.underlinevisible',false);
- Node428_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_15);
- zoomNodeList.push({
- node: Node428_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_16 = new ht.Node();
- var Node428_16textStart, Node428_16textWidth, Node428_16lineStart, Node428_16align = 'center', Node428_16fontSize = 13.3333*_ratio.ratioY,Node428_16width = 16*_ratio.ratioX, Node428_16height = 16*_ratio.ratioY;
- (function () {
- if (Node428_16align === 'left') {
- Node428_16textStart = Node428_16fontSize * 0.2 > 2 ? Node428_16fontSize * 0.2 - 4 : Node428_16fontSize * 0.2 - 9;
- Node428_16textWidth = Node428_16width;
- Node428_16lineStart = 1;
- } else if (Node428_16align === 'right') {
- Node428_16textStart = 0;
- Node428_16textWidth =Node428_16fontSize <= 8 ? Node428_16width + Node428_16fontSize * 0.2 + 6 : Node428_16width - Node428_16fontSize * 0.2;
- Node428_16lineStart = (Node428_16width - (ht.Default.getTextSize('8.1', 'bold '+ Node428_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_16align === 'center') {
- Node428_16textStart = -3;
- Node428_16textWidth = Node428_16width;
- Node428_16lineStart = Node428_16width - ht.Default.getTextSize('8.1', 'bold '+ Node428_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_16.setImage(GD.getTextJSON(Node428_16width, Node428_16height, true, false, false, 'bold '+ Node428_16fontSize + 'px "UniDreamLED"'))
- Node428_16.setPosition(340*ratio.ratioX, 271*ratio.ratioY);
- Node428_16.setWidth(Node428_16width);
- Node428_16.setHeight(Node428_16height);
- Node428_16._nodeType = 'text';
- Node428_16._disallowEvert = true;
- Node428_16.setRotation(0*Math.PI/180);
- Node428_16.a('node.width', Node428_16width);
- Node428_16.a('node.height', Node428_16height);
- Node428_16.a('node.rect', [0, 0, Node428_16width, Node428_16height]);
- Node428_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_16.a('node.borderwidth', 0);
- Node428_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_16.a('node.gradient','');
- Node428_16.a('node.gradientcolor','');
- Node428_16.a('node.text','8.1');
- Node428_16.a('node.textalign','center');
- Node428_16.a('node.textvAlign','middle');
- Node428_16.a('node.textrect', [Node428_16textStart, 0, Node428_16textWidth, Node428_16height]);
- Node428_16.a('node.color','rgba(0,0,0,1)');
- Node428_16.a('node.font','bold '+ Node428_16fontSize + 'px "UniDreamLED"');
- Node428_16.a('node.textvisible',true);
- Node428_16.a('node.linefeed',false);
- if (false) {
- Node428_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_16.a('node.text') || '8.1';
- var color=Node428_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_16width,Node428_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_16.a('node.underlinepoints',[Node428_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_16fontSize + 2 , ht.Default.getTextSize('8.1', 'bold '+ Node428_16fontSize + 'px "UniDreamLED"').width + 6, (Node428_16height - Node428_16fontSize) * 0.5*_ratio.ratioY + Node428_16fontSize + 2 ]);
- Node428_16.a('node.underlinevisible',false);
- Node428_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_16);
- zoomNodeList.push({
- node: Node428_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node428_17 = new ht.Node();
- var Node428_17textStart, Node428_17textWidth, Node428_17lineStart, Node428_17align = 'center', Node428_17fontSize = 13.3333*_ratio.ratioY,Node428_17width = 9*_ratio.ratioX, Node428_17height = 16*_ratio.ratioY;
- (function () {
- if (Node428_17align === 'left') {
- Node428_17textStart = Node428_17fontSize * 0.2 > 2 ? Node428_17fontSize * 0.2 - 4 : Node428_17fontSize * 0.2 - 9;
- Node428_17textWidth = Node428_17width;
- Node428_17lineStart = 1;
- } else if (Node428_17align === 'right') {
- Node428_17textStart = 0;
- Node428_17textWidth =Node428_17fontSize <= 8 ? Node428_17width + Node428_17fontSize * 0.2 + 6 : Node428_17width - Node428_17fontSize * 0.2;
- Node428_17lineStart = (Node428_17width - (ht.Default.getTextSize('-', 'bold '+ Node428_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node428_17align === 'center') {
- Node428_17textStart = -3;
- Node428_17textWidth = Node428_17width;
- Node428_17lineStart = Node428_17width - ht.Default.getTextSize('-', 'bold '+ Node428_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node428_17.setImage(GD.getTextJSON(Node428_17width, Node428_17height, true, false, false, 'bold '+ Node428_17fontSize + 'px "UniDreamLED"'))
- Node428_17.setPosition(340*ratio.ratioX, 302*ratio.ratioY);
- Node428_17.setWidth(Node428_17width);
- Node428_17.setHeight(Node428_17height);
- Node428_17._nodeType = 'text';
- Node428_17._disallowEvert = true;
- Node428_17.setRotation(0*Math.PI/180);
- Node428_17.a('node.width', Node428_17width);
- Node428_17.a('node.height', Node428_17height);
- Node428_17.a('node.rect', [0, 0, Node428_17width, Node428_17height]);
- Node428_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node428_17.a('node.borderwidth', 0);
- Node428_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node428_17.a('node.gradient','');
- Node428_17.a('node.gradientcolor','');
- Node428_17.a('node.text','-');
- Node428_17.a('node.textalign','center');
- Node428_17.a('node.textvAlign','middle');
- Node428_17.a('node.textrect', [Node428_17textStart, 0, Node428_17textWidth, Node428_17height]);
- Node428_17.a('node.color','rgba(0,0,0,1)');
- Node428_17.a('node.font','bold '+ Node428_17fontSize + 'px "UniDreamLED"');
- Node428_17.a('node.textvisible',true);
- Node428_17.a('node.linefeed',false);
- if (false) {
- Node428_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node428_17.a('node.text') || '-';
- var color=Node428_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node428_17width,Node428_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node428_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node428_17.a('node.underlinepoints',[Node428_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node428_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node428_17fontSize + 'px "UniDreamLED"').width + 6, (Node428_17height - Node428_17fontSize) * 0.5*_ratio.ratioY + Node428_17fontSize + 2 ]);
- Node428_17.a('node.underlinevisible',false);
- Node428_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node428_17);
- zoomNodeList.push({
- node: Node428_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_0type = 'rect';
- var Node429_0 = new ht.Node(),
- Node429_0BorderWidth = 0*2;
- if (Node429_0type === 'arc') {
- Node429_0BorderWidth *= 0;
- }
- Node429_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_0.setPosition(467*ratio.ratioX, 116*ratio.ratioY);
- Node429_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_0.a('node.width', 127*_ratio.ratioX);
- Node429_0.a('node.height', 32*_ratio.ratioY);
- Node429_0.a('node.type', Node429_0type);
- Node429_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_0.a('node.background', 'rgba(245,245,245,1)');
- Node429_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node429_0.a('node.gradient', '');
- Node429_0.a('node.borderwidth', Node429_0BorderWidth);
- Node429_0.a('node.color', 'rgba(192,192,192,0)');
- Node429_0.a('node.fillrect', [0,0,0,0]);
- Node429_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_0.a('node.fillgradient', '');
- if (Node429_0type !== 'rect') {
- Node429_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_0type === 'arc') {
- Node429_0.a('node.arcOval', true);
- }
- Node429_0.setRotation(0*Math.PI/180);
- Node429_0.borderWidth = Node429_0BorderWidth;
- Node429_0.borderFillwidth = Node429_0BorderWidth;
- dataModel.add(Node429_0);
- Node429_0._nodename = 'Node429_0'
- Node429_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_0, Node429_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_1type = 'rect';
- var Node429_1 = new ht.Node(),
- Node429_1BorderWidth = 0*2;
- if (Node429_1type === 'arc') {
- Node429_1BorderWidth *= 0;
- }
- Node429_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_1.setPosition(467*ratio.ratioX, 148*ratio.ratioY);
- Node429_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_1.a('node.width', 127*_ratio.ratioX);
- Node429_1.a('node.height', 32*_ratio.ratioY);
- Node429_1.a('node.type', Node429_1type);
- Node429_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node429_1.a('node.gradientcolor', '');
- Node429_1.a('node.gradient', '');
- Node429_1.a('node.borderwidth', Node429_1BorderWidth);
- Node429_1.a('node.color', 'rgba(192,192,192,0)');
- Node429_1.a('node.fillrect', [0,0,0,0]);
- Node429_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_1.a('node.fillgradient', '');
- if (Node429_1type !== 'rect') {
- Node429_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_1type === 'arc') {
- Node429_1.a('node.arcOval', true);
- }
- Node429_1.setRotation(0*Math.PI/180);
- Node429_1.borderWidth = Node429_1BorderWidth;
- Node429_1.borderFillwidth = Node429_1BorderWidth;
- dataModel.add(Node429_1);
- Node429_1._nodename = 'Node429_1'
- Node429_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_1, Node429_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_2type = 'rect';
- var Node429_2 = new ht.Node(),
- Node429_2BorderWidth = 0*2;
- if (Node429_2type === 'arc') {
- Node429_2BorderWidth *= 0;
- }
- Node429_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_2.setPosition(467*ratio.ratioX, 180*ratio.ratioY);
- Node429_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_2.a('node.width', 127*_ratio.ratioX);
- Node429_2.a('node.height', 32*_ratio.ratioY);
- Node429_2.a('node.type', Node429_2type);
- Node429_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_2.a('node.background', 'rgba(245,245,245,1)');
- Node429_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node429_2.a('node.gradient', '');
- Node429_2.a('node.borderwidth', Node429_2BorderWidth);
- Node429_2.a('node.color', 'rgba(192,192,192,0)');
- Node429_2.a('node.fillrect', [0,0,0,0]);
- Node429_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_2.a('node.fillgradient', '');
- if (Node429_2type !== 'rect') {
- Node429_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_2type === 'arc') {
- Node429_2.a('node.arcOval', true);
- }
- Node429_2.setRotation(0*Math.PI/180);
- Node429_2.borderWidth = Node429_2BorderWidth;
- Node429_2.borderFillwidth = Node429_2BorderWidth;
- dataModel.add(Node429_2);
- Node429_2._nodename = 'Node429_2'
- Node429_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_2, Node429_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_3type = 'rect';
- var Node429_3 = new ht.Node(),
- Node429_3BorderWidth = 0*2;
- if (Node429_3type === 'arc') {
- Node429_3BorderWidth *= 0;
- }
- Node429_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_3.setPosition(467*ratio.ratioX, 211*ratio.ratioY);
- Node429_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_3.a('node.width', 127*_ratio.ratioX);
- Node429_3.a('node.height', 32*_ratio.ratioY);
- Node429_3.a('node.type', Node429_3type);
- Node429_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node429_3.a('node.gradientcolor', '');
- Node429_3.a('node.gradient', '');
- Node429_3.a('node.borderwidth', Node429_3BorderWidth);
- Node429_3.a('node.color', 'rgba(192,192,192,0)');
- Node429_3.a('node.fillrect', [0,0,0,0]);
- Node429_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_3.a('node.fillgradient', '');
- if (Node429_3type !== 'rect') {
- Node429_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_3type === 'arc') {
- Node429_3.a('node.arcOval', true);
- }
- Node429_3.setRotation(0*Math.PI/180);
- Node429_3.borderWidth = Node429_3BorderWidth;
- Node429_3.borderFillwidth = Node429_3BorderWidth;
- dataModel.add(Node429_3);
- Node429_3._nodename = 'Node429_3'
- Node429_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_3, Node429_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_4type = 'rect';
- var Node429_4 = new ht.Node(),
- Node429_4BorderWidth = 0*2;
- if (Node429_4type === 'arc') {
- Node429_4BorderWidth *= 0;
- }
- Node429_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_4.setPosition(467*ratio.ratioX, 242*ratio.ratioY);
- Node429_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_4.a('node.width', 127*_ratio.ratioX);
- Node429_4.a('node.height', 32*_ratio.ratioY);
- Node429_4.a('node.type', Node429_4type);
- Node429_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_4.a('node.background', 'rgba(245,245,245,1)');
- Node429_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node429_4.a('node.gradient', '');
- Node429_4.a('node.borderwidth', Node429_4BorderWidth);
- Node429_4.a('node.color', 'rgba(192,192,192,0)');
- Node429_4.a('node.fillrect', [0,0,0,0]);
- Node429_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_4.a('node.fillgradient', '');
- if (Node429_4type !== 'rect') {
- Node429_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_4type === 'arc') {
- Node429_4.a('node.arcOval', true);
- }
- Node429_4.setRotation(0*Math.PI/180);
- Node429_4.borderWidth = Node429_4BorderWidth;
- Node429_4.borderFillwidth = Node429_4BorderWidth;
- dataModel.add(Node429_4);
- Node429_4._nodename = 'Node429_4'
- Node429_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_4, Node429_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_5type = 'rect';
- var Node429_5 = new ht.Node(),
- Node429_5BorderWidth = 0*2;
- if (Node429_5type === 'arc') {
- Node429_5BorderWidth *= 0;
- }
- Node429_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_5.setPosition(467*ratio.ratioX, 273*ratio.ratioY);
- Node429_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_5.a('node.width', 127*_ratio.ratioX);
- Node429_5.a('node.height', 32*_ratio.ratioY);
- Node429_5.a('node.type', Node429_5type);
- Node429_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node429_5.a('node.gradientcolor', '');
- Node429_5.a('node.gradient', '');
- Node429_5.a('node.borderwidth', Node429_5BorderWidth);
- Node429_5.a('node.color', 'rgba(192,192,192,0)');
- Node429_5.a('node.fillrect', [0,0,0,0]);
- Node429_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_5.a('node.fillgradient', '');
- if (Node429_5type !== 'rect') {
- Node429_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_5type === 'arc') {
- Node429_5.a('node.arcOval', true);
- }
- Node429_5.setRotation(0*Math.PI/180);
- Node429_5.borderWidth = Node429_5BorderWidth;
- Node429_5.borderFillwidth = Node429_5BorderWidth;
- dataModel.add(Node429_5);
- Node429_5._nodename = 'Node429_5'
- Node429_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_5, Node429_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_6type = 'rect';
- var Node429_6 = new ht.Node(),
- Node429_6BorderWidth = 0*2;
- if (Node429_6type === 'arc') {
- Node429_6BorderWidth *= 0;
- }
- Node429_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node429_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_6.setPosition(467*ratio.ratioX, 304*ratio.ratioY);
- Node429_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node429_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_6.a('node.width', 127*_ratio.ratioX);
- Node429_6.a('node.height', 32*_ratio.ratioY);
- Node429_6.a('node.type', Node429_6type);
- Node429_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node429_6.a('node.background', 'rgba(245,245,245,1)');
- Node429_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node429_6.a('node.gradient', '');
- Node429_6.a('node.borderwidth', Node429_6BorderWidth);
- Node429_6.a('node.color', 'rgba(192,192,192,0)');
- Node429_6.a('node.fillrect', [0,0,0,0]);
- Node429_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_6.a('node.fillgradient', '');
- if (Node429_6type !== 'rect') {
- Node429_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_6type === 'arc') {
- Node429_6.a('node.arcOval', true);
- }
- Node429_6.setRotation(0*Math.PI/180);
- Node429_6.borderWidth = Node429_6BorderWidth;
- Node429_6.borderFillwidth = Node429_6BorderWidth;
- dataModel.add(Node429_6);
- Node429_6._nodename = 'Node429_6'
- Node429_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_6, Node429_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_7type = 'rect';
- var Node429_7 = new ht.Node(),
- Node429_7BorderWidth = 1*2;
- if (Node429_7type === 'arc') {
- Node429_7BorderWidth *= 1;
- }
- Node429_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node429_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node429_7.setPosition(467*ratio.ratioX, 165*ratio.ratioY);
- Node429_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node429_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node429_7.a('node.width', 127*_ratio.ratioX);
- Node429_7.a('node.height', 309*_ratio.ratioY);
- Node429_7.a('node.type', Node429_7type);
- Node429_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node429_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node429_7.a('node.gradientcolor', '');
- Node429_7.a('node.gradient', '');
- Node429_7.a('node.borderwidth', Node429_7BorderWidth);
- Node429_7.a('node.color', 'rgba(192,192,192,1)');
- Node429_7.a('node.fillrect', [0,0,0,0]);
- Node429_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node429_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node429_7.a('node.fillgradient', '');
- if (Node429_7type !== 'rect') {
- Node429_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node429_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node429_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node429_7type === 'arc') {
- Node429_7.a('node.arcOval', true);
- }
- Node429_7.setRotation(0*Math.PI/180);
- Node429_7.borderWidth = Node429_7BorderWidth;
- Node429_7.borderFillwidth = Node429_7BorderWidth;
- dataModel.add(Node429_7);
- Node429_7._nodename = 'Node429_7'
- Node429_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node429_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);
- }
- })(Node429_7, Node429_7.getImage());var Node429_8points=[412, 156,412, 156],
- Node429_8rect=ht.Default.unionPoint([{x:412,y:156},{x:412,y:156}]),
- Node429_8compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node429_8points.length;i++){
- if(i%2==0){
- Node429_8compspts.push(Node429_8points[i]-Node429_8rect.x);
- }else{
- Node429_8compspts.push(Node429_8points[i]-Node429_8rect.y);
- }
- }
- var Node429_8ptslength=Node429_8compspts.length;
- if (Node429_8rect.height === 0) {
- Node429_8compspts[0] -= 0;
- Node429_8compspts[Node429_8ptslength-2] += 0;
- } else if (Node429_8rect.width === 0){
- Node429_8compspts[1] -= 0;
- Node429_8compspts[Node429_8ptslength-1] += 0;
- } else {
- Node429_8compspts[0] -= 0;
- Node429_8compspts[1] -= 0;
- Node429_8compspts[Node429_8ptslength-2] += 0;
- Node429_8compspts[Node429_8ptslength-1] += 0;
- }
- Node429_8 = new ht.Node();
- Node429_8.borderWidth = 1;
- Node429_8rect.width = Node429_8rect.width === 0 ? 0.0001 : Node429_8rect.width;
- Node429_8rect.height = Node429_8rect.height === 0 ? 0.0001 : Node429_8rect.height;
- var Node429_8endCompspts = [Node429_8compspts[Node429_8ptslength-2],Node429_8compspts[Node429_8ptslength-1],0,0];
- var Node429_8startCompspts = [Node429_8compspts[0],Node429_8compspts[1],0,0];
- Node429_8.setImage(GD.getPolyLineJSON());
- Node429_8.setPosition(Node429_8rect.x+Node429_8rect.width/2,Node429_8rect.y+Node429_8rect.height/2);
- Node429_8.setSize(Node429_8rect.width,Node429_8rect.height);
- Node429_8.setStyle("opacity",1);
- Node429_8.s({'pixelPerfect':true});
- Node429_8borderwidth=1;
- Node429_8.setRotation(0);
- dataModel.add(Node429_8);
- Node429_8.a('node.points',Node429_8compspts);
- Node429_8.a('node.segments',[1,2]);
- Node429_8.a('node.color','rgba(0,0,0,1)');
- Node429_8.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node429_8.a('node.borderColor','rgba(0,0,0,1)');
- Node429_8.a('node.background','rgba(0,0,0,1)');
- Node429_8.a('node.gradient','');
- Node429_8.a('node.gradientcolor','rgba(0,0,0,1)');
- Node429_8.a('node.endCompspts',Node429_8endCompspts);
- Node429_8.a('node.startCompspts',Node429_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 = 'Node429_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);
- }
- })(Node429_8, Node429_8.getImage(), Node429_8compspts, Node429_8endCompspts, Node429_8startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_9 = new ht.Node();
- var Node429_9textStart, Node429_9textWidth, Node429_9lineStart, Node429_9align = 'center', Node429_9fontSize = 13.3333*_ratio.ratioY,Node429_9width = 64*_ratio.ratioX, Node429_9height = 16*_ratio.ratioY;
- (function () {
- if (Node429_9align === 'left') {
- Node429_9textStart = Node429_9fontSize * 0.2 > 2 ? Node429_9fontSize * 0.2 - 4 : Node429_9fontSize * 0.2 - 9;
- Node429_9textWidth = Node429_9width;
- Node429_9lineStart = 1;
- } else if (Node429_9align === 'right') {
- Node429_9textStart = 0;
- Node429_9textWidth =Node429_9fontSize <= 8 ? Node429_9width + Node429_9fontSize * 0.2 + 6 : Node429_9width - Node429_9fontSize * 0.2;
- Node429_9lineStart = (Node429_9width - (ht.Default.getTextSize('应发功率', 'bold '+ Node429_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node429_9align === 'center') {
- Node429_9textStart = -3;
- Node429_9textWidth = Node429_9width;
- Node429_9lineStart = Node429_9width - ht.Default.getTextSize('应发功率', 'bold '+ Node429_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node429_9.setImage(GD.getTextJSON(Node429_9width, Node429_9height, true, false, false, 'bold '+ Node429_9fontSize + 'px "Arial"'))
- Node429_9.setPosition(464*ratio.ratioX, 29*ratio.ratioY);
- Node429_9.setWidth(Node429_9width);
- Node429_9.setHeight(Node429_9height);
- Node429_9._nodeType = 'text';
- Node429_9._disallowEvert = true;
- Node429_9.setRotation(0*Math.PI/180);
- Node429_9.a('node.width', Node429_9width);
- Node429_9.a('node.height', Node429_9height);
- Node429_9.a('node.rect', [0, 0, Node429_9width, Node429_9height]);
- Node429_9.a('node.bordercolor','rgba(255,255,255,1)');
- Node429_9.a('node.borderwidth', 0);
- Node429_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_9.a('node.gradient','');
- Node429_9.a('node.gradientcolor','');
- Node429_9.a('node.text','应发功率');
- Node429_9.a('node.textalign','center');
- Node429_9.a('node.textvAlign','middle');
- Node429_9.a('node.textrect', [Node429_9textStart, 0, Node429_9textWidth, Node429_9height]);
- Node429_9.a('node.color','rgba(255,255,255,1)');
- Node429_9.a('node.font','bold '+ Node429_9fontSize + 'px "Arial"');
- Node429_9.a('node.textvisible',true);
- Node429_9.a('node.linefeed',false);
- if (false) {
- Node429_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_9.a('node.text') || '应发功率';
- var color=Node429_9.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_9width,Node429_9height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node429_9.a('node.underlinepoints',[Node429_9lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_9fontSize + 2 , ht.Default.getTextSize('应发功率', 'bold '+ Node429_9fontSize + 'px "Arial"').width + 6, (Node429_9height - Node429_9fontSize) * 0.5*_ratio.ratioY + Node429_9fontSize + 2 ]);
- Node429_9.a('node.underlinevisible',false);
- Node429_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_9);
- zoomNodeList.push({
- node: Node429_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_10 = new ht.Node();
- var Node429_10textStart, Node429_10textWidth, Node429_10lineStart, Node429_10align = 'center', Node429_10fontSize = 11.99997*_ratio.ratioY,Node429_10width = 25*_ratio.ratioX, Node429_10height = 15*_ratio.ratioY;
- (function () {
- if (Node429_10align === 'left') {
- Node429_10textStart = Node429_10fontSize * 0.2 > 2 ? Node429_10fontSize * 0.2 - 4 : Node429_10fontSize * 0.2 - 9;
- Node429_10textWidth = Node429_10width;
- Node429_10lineStart = 1;
- } else if (Node429_10align === 'right') {
- Node429_10textStart = 0;
- Node429_10textWidth =Node429_10fontSize <= 8 ? Node429_10width + Node429_10fontSize * 0.2 + 6 : Node429_10width - Node429_10fontSize * 0.2;
- Node429_10lineStart = (Node429_10width - (ht.Default.getTextSize('MW', 'bold '+ Node429_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node429_10align === 'center') {
- Node429_10textStart = -3;
- Node429_10textWidth = Node429_10width;
- Node429_10lineStart = Node429_10width - ht.Default.getTextSize('MW', 'bold '+ Node429_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node429_10.setImage(GD.getTextJSON(Node429_10width, Node429_10height, true, false, false, 'bold '+ Node429_10fontSize + 'px "Arial"'))
- Node429_10.setPosition(464*ratio.ratioX, 57*ratio.ratioY);
- Node429_10.setWidth(Node429_10width);
- Node429_10.setHeight(Node429_10height);
- Node429_10._nodeType = 'text';
- Node429_10._disallowEvert = true;
- Node429_10.setRotation(0*Math.PI/180);
- Node429_10.a('node.width', Node429_10width);
- Node429_10.a('node.height', Node429_10height);
- Node429_10.a('node.rect', [0, 0, Node429_10width, Node429_10height]);
- Node429_10.a('node.bordercolor','rgba(128,128,128,1)');
- Node429_10.a('node.borderwidth', 0);
- Node429_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_10.a('node.gradient','');
- Node429_10.a('node.gradientcolor','');
- Node429_10.a('node.text','MW');
- Node429_10.a('node.textalign','center');
- Node429_10.a('node.textvAlign','middle');
- Node429_10.a('node.textrect', [Node429_10textStart, 0, Node429_10textWidth, Node429_10height]);
- Node429_10.a('node.color','rgba(128,128,128,1)');
- Node429_10.a('node.font','bold '+ Node429_10fontSize + 'px "Arial"');
- Node429_10.a('node.textvisible',true);
- Node429_10.a('node.linefeed',false);
- if (false) {
- Node429_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_10.a('node.text') || 'MW';
- var color=Node429_10.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node429_10width,Node429_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node429_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node429_10.a('node.underlinepoints',[Node429_10lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node429_10fontSize + 2 , ht.Default.getTextSize('MW', 'bold '+ Node429_10fontSize + 'px "Arial"').width + 6, (Node429_10height - Node429_10fontSize) * 0.5*_ratio.ratioY + Node429_10fontSize + 2 ]);
- Node429_10.a('node.underlinevisible',false);
- Node429_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_10);
- zoomNodeList.push({
- node: Node429_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_11 = new ht.Node();
- var Node429_11textStart, Node429_11textWidth, Node429_11lineStart, Node429_11align = 'center', Node429_11fontSize = 13.3333*_ratio.ratioY,Node429_11width = 40*_ratio.ratioX, Node429_11height = 16*_ratio.ratioY;
- (function () {
- if (Node429_11align === 'left') {
- Node429_11textStart = Node429_11fontSize * 0.2 > 2 ? Node429_11fontSize * 0.2 - 4 : Node429_11fontSize * 0.2 - 9;
- Node429_11textWidth = Node429_11width;
- Node429_11lineStart = 1;
- } else if (Node429_11align === 'right') {
- Node429_11textStart = 0;
- Node429_11textWidth =Node429_11fontSize <= 8 ? Node429_11width + Node429_11fontSize * 0.2 + 6 : Node429_11width - Node429_11fontSize * 0.2;
- Node429_11lineStart = (Node429_11width - (ht.Default.getTextSize('400.00', 'bold '+ Node429_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_11align === 'center') {
- Node429_11textStart = -3;
- Node429_11textWidth = Node429_11width;
- Node429_11lineStart = Node429_11width - ht.Default.getTextSize('400.00', 'bold '+ Node429_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_11.setImage(GD.getTextJSON(Node429_11width, Node429_11height, true, false, false, 'bold '+ Node429_11fontSize + 'px "UniDreamLED"'))
- Node429_11.setPosition(464*ratio.ratioX, 84*ratio.ratioY);
- Node429_11.setWidth(Node429_11width);
- Node429_11.setHeight(Node429_11height);
- Node429_11._nodeType = 'text';
- Node429_11._disallowEvert = true;
- Node429_11.setRotation(0*Math.PI/180);
- Node429_11.a('node.width', Node429_11width);
- Node429_11.a('node.height', Node429_11height);
- Node429_11.a('node.rect', [0, 0, Node429_11width, Node429_11height]);
- Node429_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_11.a('node.borderwidth', 0);
- Node429_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_11.a('node.gradient','');
- Node429_11.a('node.gradientcolor','');
- Node429_11.a('node.text','400.00');
- Node429_11.a('node.textalign','center');
- Node429_11.a('node.textvAlign','middle');
- Node429_11.a('node.textrect', [Node429_11textStart, 0, Node429_11textWidth, Node429_11height]);
- Node429_11.a('node.color','rgba(0,0,0,1)');
- Node429_11.a('node.font','bold '+ Node429_11fontSize + 'px "UniDreamLED"');
- Node429_11.a('node.textvisible',true);
- Node429_11.a('node.linefeed',false);
- if (false) {
- Node429_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_11.a('node.text') || '400.00';
- var color=Node429_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_11width,Node429_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_11.a('node.underlinepoints',[Node429_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_11fontSize + 2 , ht.Default.getTextSize('400.00', 'bold '+ Node429_11fontSize + 'px "UniDreamLED"').width + 6, (Node429_11height - Node429_11fontSize) * 0.5*_ratio.ratioY + Node429_11fontSize + 2 ]);
- Node429_11.a('node.underlinevisible',false);
- Node429_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_11);
- zoomNodeList.push({
- node: Node429_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_12 = new ht.Node();
- var Node429_12textStart, Node429_12textWidth, Node429_12lineStart, Node429_12align = 'center', Node429_12fontSize = 13.3333*_ratio.ratioY,Node429_12width = 9*_ratio.ratioX, Node429_12height = 16*_ratio.ratioY;
- (function () {
- if (Node429_12align === 'left') {
- Node429_12textStart = Node429_12fontSize * 0.2 > 2 ? Node429_12fontSize * 0.2 - 4 : Node429_12fontSize * 0.2 - 9;
- Node429_12textWidth = Node429_12width;
- Node429_12lineStart = 1;
- } else if (Node429_12align === 'right') {
- Node429_12textStart = 0;
- Node429_12textWidth =Node429_12fontSize <= 8 ? Node429_12width + Node429_12fontSize * 0.2 + 6 : Node429_12width - Node429_12fontSize * 0.2;
- Node429_12lineStart = (Node429_12width - (ht.Default.getTextSize('-', 'bold '+ Node429_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_12align === 'center') {
- Node429_12textStart = -3;
- Node429_12textWidth = Node429_12width;
- Node429_12lineStart = Node429_12width - ht.Default.getTextSize('-', 'bold '+ Node429_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_12.setImage(GD.getTextJSON(Node429_12width, Node429_12height, true, false, false, 'bold '+ Node429_12fontSize + 'px "UniDreamLED"'))
- Node429_12.setPosition(467*ratio.ratioX, 116*ratio.ratioY);
- Node429_12.setWidth(Node429_12width);
- Node429_12.setHeight(Node429_12height);
- Node429_12._nodeType = 'text';
- Node429_12._disallowEvert = true;
- Node429_12.setRotation(0*Math.PI/180);
- Node429_12.a('node.width', Node429_12width);
- Node429_12.a('node.height', Node429_12height);
- Node429_12.a('node.rect', [0, 0, Node429_12width, Node429_12height]);
- Node429_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_12.a('node.borderwidth', 0);
- Node429_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_12.a('node.gradient','');
- Node429_12.a('node.gradientcolor','');
- Node429_12.a('node.text','-');
- Node429_12.a('node.textalign','center');
- Node429_12.a('node.textvAlign','middle');
- Node429_12.a('node.textrect', [Node429_12textStart, 0, Node429_12textWidth, Node429_12height]);
- Node429_12.a('node.color','rgba(0,0,0,1)');
- Node429_12.a('node.font','bold '+ Node429_12fontSize + 'px "UniDreamLED"');
- Node429_12.a('node.textvisible',true);
- Node429_12.a('node.linefeed',false);
- if (false) {
- Node429_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_12.a('node.text') || '-';
- var color=Node429_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_12width,Node429_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_12.a('node.underlinepoints',[Node429_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_12fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_12fontSize + 'px "UniDreamLED"').width + 6, (Node429_12height - Node429_12fontSize) * 0.5*_ratio.ratioY + Node429_12fontSize + 2 ]);
- Node429_12.a('node.underlinevisible',false);
- Node429_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_12);
- zoomNodeList.push({
- node: Node429_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_13 = new ht.Node();
- var Node429_13textStart, Node429_13textWidth, Node429_13lineStart, Node429_13align = 'center', Node429_13fontSize = 13.3333*_ratio.ratioY,Node429_13width = 9*_ratio.ratioX, Node429_13height = 16*_ratio.ratioY;
- (function () {
- if (Node429_13align === 'left') {
- Node429_13textStart = Node429_13fontSize * 0.2 > 2 ? Node429_13fontSize * 0.2 - 4 : Node429_13fontSize * 0.2 - 9;
- Node429_13textWidth = Node429_13width;
- Node429_13lineStart = 1;
- } else if (Node429_13align === 'right') {
- Node429_13textStart = 0;
- Node429_13textWidth =Node429_13fontSize <= 8 ? Node429_13width + Node429_13fontSize * 0.2 + 6 : Node429_13width - Node429_13fontSize * 0.2;
- Node429_13lineStart = (Node429_13width - (ht.Default.getTextSize('-', 'bold '+ Node429_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_13align === 'center') {
- Node429_13textStart = -3;
- Node429_13textWidth = Node429_13width;
- Node429_13lineStart = Node429_13width - ht.Default.getTextSize('-', 'bold '+ Node429_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_13.setImage(GD.getTextJSON(Node429_13width, Node429_13height, true, false, false, 'bold '+ Node429_13fontSize + 'px "UniDreamLED"'))
- Node429_13.setPosition(467*ratio.ratioX, 146*ratio.ratioY);
- Node429_13.setWidth(Node429_13width);
- Node429_13.setHeight(Node429_13height);
- Node429_13._nodeType = 'text';
- Node429_13._disallowEvert = true;
- Node429_13.setRotation(0*Math.PI/180);
- Node429_13.a('node.width', Node429_13width);
- Node429_13.a('node.height', Node429_13height);
- Node429_13.a('node.rect', [0, 0, Node429_13width, Node429_13height]);
- Node429_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_13.a('node.borderwidth', 0);
- Node429_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_13.a('node.gradient','');
- Node429_13.a('node.gradientcolor','');
- Node429_13.a('node.text','-');
- Node429_13.a('node.textalign','center');
- Node429_13.a('node.textvAlign','middle');
- Node429_13.a('node.textrect', [Node429_13textStart, 0, Node429_13textWidth, Node429_13height]);
- Node429_13.a('node.color','rgba(0,0,0,1)');
- Node429_13.a('node.font','bold '+ Node429_13fontSize + 'px "UniDreamLED"');
- Node429_13.a('node.textvisible',true);
- Node429_13.a('node.linefeed',false);
- if (false) {
- Node429_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_13.a('node.text') || '-';
- var color=Node429_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_13width,Node429_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_13.a('node.underlinepoints',[Node429_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_13fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_13fontSize + 'px "UniDreamLED"').width + 6, (Node429_13height - Node429_13fontSize) * 0.5*_ratio.ratioY + Node429_13fontSize + 2 ]);
- Node429_13.a('node.underlinevisible',false);
- Node429_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_13);
- zoomNodeList.push({
- node: Node429_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_14 = new ht.Node();
- var Node429_14textStart, Node429_14textWidth, Node429_14lineStart, Node429_14align = 'center', Node429_14fontSize = 13.3333*_ratio.ratioY,Node429_14width = 9*_ratio.ratioX, Node429_14height = 16*_ratio.ratioY;
- (function () {
- if (Node429_14align === 'left') {
- Node429_14textStart = Node429_14fontSize * 0.2 > 2 ? Node429_14fontSize * 0.2 - 4 : Node429_14fontSize * 0.2 - 9;
- Node429_14textWidth = Node429_14width;
- Node429_14lineStart = 1;
- } else if (Node429_14align === 'right') {
- Node429_14textStart = 0;
- Node429_14textWidth =Node429_14fontSize <= 8 ? Node429_14width + Node429_14fontSize * 0.2 + 6 : Node429_14width - Node429_14fontSize * 0.2;
- Node429_14lineStart = (Node429_14width - (ht.Default.getTextSize('-', 'bold '+ Node429_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_14align === 'center') {
- Node429_14textStart = -3;
- Node429_14textWidth = Node429_14width;
- Node429_14lineStart = Node429_14width - ht.Default.getTextSize('-', 'bold '+ Node429_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_14.setImage(GD.getTextJSON(Node429_14width, Node429_14height, true, false, false, 'bold '+ Node429_14fontSize + 'px "UniDreamLED"'))
- Node429_14.setPosition(467*ratio.ratioX, 176*ratio.ratioY);
- Node429_14.setWidth(Node429_14width);
- Node429_14.setHeight(Node429_14height);
- Node429_14._nodeType = 'text';
- Node429_14._disallowEvert = true;
- Node429_14.setRotation(0*Math.PI/180);
- Node429_14.a('node.width', Node429_14width);
- Node429_14.a('node.height', Node429_14height);
- Node429_14.a('node.rect', [0, 0, Node429_14width, Node429_14height]);
- Node429_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_14.a('node.borderwidth', 0);
- Node429_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_14.a('node.gradient','');
- Node429_14.a('node.gradientcolor','');
- Node429_14.a('node.text','-');
- Node429_14.a('node.textalign','center');
- Node429_14.a('node.textvAlign','middle');
- Node429_14.a('node.textrect', [Node429_14textStart, 0, Node429_14textWidth, Node429_14height]);
- Node429_14.a('node.color','rgba(0,0,0,1)');
- Node429_14.a('node.font','bold '+ Node429_14fontSize + 'px "UniDreamLED"');
- Node429_14.a('node.textvisible',true);
- Node429_14.a('node.linefeed',false);
- if (false) {
- Node429_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_14.a('node.text') || '-';
- var color=Node429_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_14width,Node429_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_14.a('node.underlinepoints',[Node429_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_14fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_14fontSize + 'px "UniDreamLED"').width + 6, (Node429_14height - Node429_14fontSize) * 0.5*_ratio.ratioY + Node429_14fontSize + 2 ]);
- Node429_14.a('node.underlinevisible',false);
- Node429_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_14);
- zoomNodeList.push({
- node: Node429_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_15 = new ht.Node();
- var Node429_15textStart, Node429_15textWidth, Node429_15lineStart, Node429_15align = 'center', Node429_15fontSize = 13.3333*_ratio.ratioY,Node429_15width = 9*_ratio.ratioX, Node429_15height = 16*_ratio.ratioY;
- (function () {
- if (Node429_15align === 'left') {
- Node429_15textStart = Node429_15fontSize * 0.2 > 2 ? Node429_15fontSize * 0.2 - 4 : Node429_15fontSize * 0.2 - 9;
- Node429_15textWidth = Node429_15width;
- Node429_15lineStart = 1;
- } else if (Node429_15align === 'right') {
- Node429_15textStart = 0;
- Node429_15textWidth =Node429_15fontSize <= 8 ? Node429_15width + Node429_15fontSize * 0.2 + 6 : Node429_15width - Node429_15fontSize * 0.2;
- Node429_15lineStart = (Node429_15width - (ht.Default.getTextSize('-', 'bold '+ Node429_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_15align === 'center') {
- Node429_15textStart = -3;
- Node429_15textWidth = Node429_15width;
- Node429_15lineStart = Node429_15width - ht.Default.getTextSize('-', 'bold '+ Node429_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_15.setImage(GD.getTextJSON(Node429_15width, Node429_15height, true, false, false, 'bold '+ Node429_15fontSize + 'px "UniDreamLED"'))
- Node429_15.setPosition(467*ratio.ratioX, 210*ratio.ratioY);
- Node429_15.setWidth(Node429_15width);
- Node429_15.setHeight(Node429_15height);
- Node429_15._nodeType = 'text';
- Node429_15._disallowEvert = true;
- Node429_15.setRotation(0*Math.PI/180);
- Node429_15.a('node.width', Node429_15width);
- Node429_15.a('node.height', Node429_15height);
- Node429_15.a('node.rect', [0, 0, Node429_15width, Node429_15height]);
- Node429_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_15.a('node.borderwidth', 0);
- Node429_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_15.a('node.gradient','');
- Node429_15.a('node.gradientcolor','');
- Node429_15.a('node.text','-');
- Node429_15.a('node.textalign','center');
- Node429_15.a('node.textvAlign','middle');
- Node429_15.a('node.textrect', [Node429_15textStart, 0, Node429_15textWidth, Node429_15height]);
- Node429_15.a('node.color','rgba(0,0,0,1)');
- Node429_15.a('node.font','bold '+ Node429_15fontSize + 'px "UniDreamLED"');
- Node429_15.a('node.textvisible',true);
- Node429_15.a('node.linefeed',false);
- if (false) {
- Node429_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_15.a('node.text') || '-';
- var color=Node429_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_15width,Node429_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_15.a('node.underlinepoints',[Node429_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_15fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_15fontSize + 'px "UniDreamLED"').width + 6, (Node429_15height - Node429_15fontSize) * 0.5*_ratio.ratioY + Node429_15fontSize + 2 ]);
- Node429_15.a('node.underlinevisible',false);
- Node429_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_15);
- zoomNodeList.push({
- node: Node429_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_16 = new ht.Node();
- var Node429_16textStart, Node429_16textWidth, Node429_16lineStart, Node429_16align = 'center', Node429_16fontSize = 13.3333*_ratio.ratioY,Node429_16width = 9*_ratio.ratioX, Node429_16height = 16*_ratio.ratioY;
- (function () {
- if (Node429_16align === 'left') {
- Node429_16textStart = Node429_16fontSize * 0.2 > 2 ? Node429_16fontSize * 0.2 - 4 : Node429_16fontSize * 0.2 - 9;
- Node429_16textWidth = Node429_16width;
- Node429_16lineStart = 1;
- } else if (Node429_16align === 'right') {
- Node429_16textStart = 0;
- Node429_16textWidth =Node429_16fontSize <= 8 ? Node429_16width + Node429_16fontSize * 0.2 + 6 : Node429_16width - Node429_16fontSize * 0.2;
- Node429_16lineStart = (Node429_16width - (ht.Default.getTextSize('-', 'bold '+ Node429_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_16align === 'center') {
- Node429_16textStart = -3;
- Node429_16textWidth = Node429_16width;
- Node429_16lineStart = Node429_16width - ht.Default.getTextSize('-', 'bold '+ Node429_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_16.setImage(GD.getTextJSON(Node429_16width, Node429_16height, true, false, false, 'bold '+ Node429_16fontSize + 'px "UniDreamLED"'))
- Node429_16.setPosition(467*ratio.ratioX, 243*ratio.ratioY);
- Node429_16.setWidth(Node429_16width);
- Node429_16.setHeight(Node429_16height);
- Node429_16._nodeType = 'text';
- Node429_16._disallowEvert = true;
- Node429_16.setRotation(0*Math.PI/180);
- Node429_16.a('node.width', Node429_16width);
- Node429_16.a('node.height', Node429_16height);
- Node429_16.a('node.rect', [0, 0, Node429_16width, Node429_16height]);
- Node429_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_16.a('node.borderwidth', 0);
- Node429_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_16.a('node.gradient','');
- Node429_16.a('node.gradientcolor','');
- Node429_16.a('node.text','-');
- Node429_16.a('node.textalign','center');
- Node429_16.a('node.textvAlign','middle');
- Node429_16.a('node.textrect', [Node429_16textStart, 0, Node429_16textWidth, Node429_16height]);
- Node429_16.a('node.color','rgba(0,0,0,1)');
- Node429_16.a('node.font','bold '+ Node429_16fontSize + 'px "UniDreamLED"');
- Node429_16.a('node.textvisible',true);
- Node429_16.a('node.linefeed',false);
- if (false) {
- Node429_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_16.a('node.text') || '-';
- var color=Node429_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_16width,Node429_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_16.a('node.underlinepoints',[Node429_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_16fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_16fontSize + 'px "UniDreamLED"').width + 6, (Node429_16height - Node429_16fontSize) * 0.5*_ratio.ratioY + Node429_16fontSize + 2 ]);
- Node429_16.a('node.underlinevisible',false);
- Node429_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_16);
- zoomNodeList.push({
- node: Node429_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_17 = new ht.Node();
- var Node429_17textStart, Node429_17textWidth, Node429_17lineStart, Node429_17align = 'center', Node429_17fontSize = 13.3333*_ratio.ratioY,Node429_17width = 9*_ratio.ratioX, Node429_17height = 16*_ratio.ratioY;
- (function () {
- if (Node429_17align === 'left') {
- Node429_17textStart = Node429_17fontSize * 0.2 > 2 ? Node429_17fontSize * 0.2 - 4 : Node429_17fontSize * 0.2 - 9;
- Node429_17textWidth = Node429_17width;
- Node429_17lineStart = 1;
- } else if (Node429_17align === 'right') {
- Node429_17textStart = 0;
- Node429_17textWidth =Node429_17fontSize <= 8 ? Node429_17width + Node429_17fontSize * 0.2 + 6 : Node429_17width - Node429_17fontSize * 0.2;
- Node429_17lineStart = (Node429_17width - (ht.Default.getTextSize('-', 'bold '+ Node429_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_17align === 'center') {
- Node429_17textStart = -3;
- Node429_17textWidth = Node429_17width;
- Node429_17lineStart = Node429_17width - ht.Default.getTextSize('-', 'bold '+ Node429_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_17.setImage(GD.getTextJSON(Node429_17width, Node429_17height, true, false, false, 'bold '+ Node429_17fontSize + 'px "UniDreamLED"'))
- Node429_17.setPosition(467*ratio.ratioX, 272*ratio.ratioY);
- Node429_17.setWidth(Node429_17width);
- Node429_17.setHeight(Node429_17height);
- Node429_17._nodeType = 'text';
- Node429_17._disallowEvert = true;
- Node429_17.setRotation(0*Math.PI/180);
- Node429_17.a('node.width', Node429_17width);
- Node429_17.a('node.height', Node429_17height);
- Node429_17.a('node.rect', [0, 0, Node429_17width, Node429_17height]);
- Node429_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_17.a('node.borderwidth', 0);
- Node429_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_17.a('node.gradient','');
- Node429_17.a('node.gradientcolor','');
- Node429_17.a('node.text','-');
- Node429_17.a('node.textalign','center');
- Node429_17.a('node.textvAlign','middle');
- Node429_17.a('node.textrect', [Node429_17textStart, 0, Node429_17textWidth, Node429_17height]);
- Node429_17.a('node.color','rgba(0,0,0,1)');
- Node429_17.a('node.font','bold '+ Node429_17fontSize + 'px "UniDreamLED"');
- Node429_17.a('node.textvisible',true);
- Node429_17.a('node.linefeed',false);
- if (false) {
- Node429_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_17.a('node.text') || '-';
- var color=Node429_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_17width,Node429_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_17.a('node.underlinepoints',[Node429_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_17fontSize + 'px "UniDreamLED"').width + 6, (Node429_17height - Node429_17fontSize) * 0.5*_ratio.ratioY + Node429_17fontSize + 2 ]);
- Node429_17.a('node.underlinevisible',false);
- Node429_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_17);
- zoomNodeList.push({
- node: Node429_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node429_18 = new ht.Node();
- var Node429_18textStart, Node429_18textWidth, Node429_18lineStart, Node429_18align = 'center', Node429_18fontSize = 13.3333*_ratio.ratioY,Node429_18width = 9*_ratio.ratioX, Node429_18height = 16*_ratio.ratioY;
- (function () {
- if (Node429_18align === 'left') {
- Node429_18textStart = Node429_18fontSize * 0.2 > 2 ? Node429_18fontSize * 0.2 - 4 : Node429_18fontSize * 0.2 - 9;
- Node429_18textWidth = Node429_18width;
- Node429_18lineStart = 1;
- } else if (Node429_18align === 'right') {
- Node429_18textStart = 0;
- Node429_18textWidth =Node429_18fontSize <= 8 ? Node429_18width + Node429_18fontSize * 0.2 + 6 : Node429_18width - Node429_18fontSize * 0.2;
- Node429_18lineStart = (Node429_18width - (ht.Default.getTextSize('-', 'bold '+ Node429_18fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node429_18align === 'center') {
- Node429_18textStart = -3;
- Node429_18textWidth = Node429_18width;
- Node429_18lineStart = Node429_18width - ht.Default.getTextSize('-', 'bold '+ Node429_18fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node429_18.setImage(GD.getTextJSON(Node429_18width, Node429_18height, true, false, false, 'bold '+ Node429_18fontSize + 'px "UniDreamLED"'))
- Node429_18.setPosition(467*ratio.ratioX, 303*ratio.ratioY);
- Node429_18.setWidth(Node429_18width);
- Node429_18.setHeight(Node429_18height);
- Node429_18._nodeType = 'text';
- Node429_18._disallowEvert = true;
- Node429_18.setRotation(0*Math.PI/180);
- Node429_18.a('node.width', Node429_18width);
- Node429_18.a('node.height', Node429_18height);
- Node429_18.a('node.rect', [0, 0, Node429_18width, Node429_18height]);
- Node429_18.a('node.bordercolor','rgba(0,0,0,1)');
- Node429_18.a('node.borderwidth', 0);
- Node429_18.a('node.background','' || 'rgba(0,0,0,0)');
- Node429_18.a('node.gradient','');
- Node429_18.a('node.gradientcolor','');
- Node429_18.a('node.text','-');
- Node429_18.a('node.textalign','center');
- Node429_18.a('node.textvAlign','middle');
- Node429_18.a('node.textrect', [Node429_18textStart, 0, Node429_18textWidth, Node429_18height]);
- Node429_18.a('node.color','rgba(0,0,0,1)');
- Node429_18.a('node.font','bold '+ Node429_18fontSize + 'px "UniDreamLED"');
- Node429_18.a('node.textvisible',true);
- Node429_18.a('node.linefeed',false);
- if (false) {
- Node429_18.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node429_18.a('node.text') || '-';
- var color=Node429_18.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node429_18width,Node429_18height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node429_18fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node429_18.a('node.underlinepoints',[Node429_18lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node429_18fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node429_18fontSize + 'px "UniDreamLED"').width + 6, (Node429_18height - Node429_18fontSize) * 0.5*_ratio.ratioY + Node429_18fontSize + 2 ]);
- Node429_18.a('node.underlinevisible',false);
- Node429_18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node429_18);
- zoomNodeList.push({
- node: Node429_18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node429_19points=[539, 156,539, 156],
- Node429_19rect=ht.Default.unionPoint([{x:539,y:156},{x:539,y:156}]),
- Node429_19compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(4.71238898038469, ratio);
- for(var i=0;i<Node429_19points.length;i++){
- if(i%2==0){
- Node429_19compspts.push(Node429_19points[i]-Node429_19rect.x);
- }else{
- Node429_19compspts.push(Node429_19points[i]-Node429_19rect.y);
- }
- }
- var Node429_19ptslength=Node429_19compspts.length;
- if (Node429_19rect.height === 0) {
- Node429_19compspts[0] -= 0;
- Node429_19compspts[Node429_19ptslength-2] += 0;
- } else if (Node429_19rect.width === 0){
- Node429_19compspts[1] -= 0;
- Node429_19compspts[Node429_19ptslength-1] += 0;
- } else {
- Node429_19compspts[0] -= 0;
- Node429_19compspts[1] -= 0;
- Node429_19compspts[Node429_19ptslength-2] += 0;
- Node429_19compspts[Node429_19ptslength-1] += 0;
- }
- Node429_19 = new ht.Node();
- Node429_19.borderWidth = 1;
- Node429_19rect.width = Node429_19rect.width === 0 ? 0.0001 : Node429_19rect.width;
- Node429_19rect.height = Node429_19rect.height === 0 ? 0.0001 : Node429_19rect.height;
- var Node429_19endCompspts = [Node429_19compspts[Node429_19ptslength-2],Node429_19compspts[Node429_19ptslength-1],0,0];
- var Node429_19startCompspts = [Node429_19compspts[0],Node429_19compspts[1],0,0];
- Node429_19.setImage(GD.getPolyLineJSON());
- Node429_19.setPosition(Node429_19rect.x+Node429_19rect.width/2,Node429_19rect.y+Node429_19rect.height/2);
- Node429_19.setSize(Node429_19rect.width,Node429_19rect.height);
- Node429_19.setStyle("opacity",1);
- Node429_19.s({'pixelPerfect':true});
- Node429_19borderwidth=1;
- Node429_19.setRotation(0);
- dataModel.add(Node429_19);
- Node429_19.a('node.points',Node429_19compspts);
- Node429_19.a('node.segments',[1,2]);
- Node429_19.a('node.color','rgba(0,0,0,1)');
- Node429_19.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node429_19.a('node.borderColor','rgba(0,0,0,1)');
- Node429_19.a('node.background','rgba(0,0,0,1)');
- Node429_19.a('node.gradient','');
- Node429_19.a('node.gradientcolor','rgba(0,0,0,1)');
- Node429_19.a('node.endCompspts',Node429_19endCompspts);
- Node429_19.a('node.startCompspts',Node429_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 = 'Node429_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);
- }
- })(Node429_19, Node429_19.getImage(), Node429_19compspts, Node429_19endCompspts, Node429_19startCompspts);
- var Node430_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');
- Node430_0 = new ht.Node();
- Node430_0.setPosition(213*ratio.ratioX, 162*ratio.ratioY);
- Node430_0.setSize(127*ratioX, 313*ratioY);
- Node430_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node430_0.setRotation(0*Math.PI/180);
- Node430_0._zoomBy = 'Default';
- Node430_0._nodeType = 'image';
- Node430_0._disallowEvert = true;
- dataModel.add(Node430_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node430_1 = new ht.Node();
- var Node430_1textStart, Node430_1textWidth, Node430_1lineStart, Node430_1align = 'left', Node430_1fontSize = 13.3333*_ratio.ratioY,Node430_1width = 34*_ratio.ratioX, Node430_1height = 16*_ratio.ratioY;
- (function () {
- if (Node430_1align === 'left') {
- Node430_1textStart = Node430_1fontSize * 0.2 > 2 ? Node430_1fontSize * 0.2 - 4 : Node430_1fontSize * 0.2 - 9;
- Node430_1textWidth = Node430_1width;
- Node430_1lineStart = 1;
- } else if (Node430_1align === 'right') {
- Node430_1textStart = 0;
- Node430_1textWidth =Node430_1fontSize <= 8 ? Node430_1width + Node430_1fontSize * 0.2 + 6 : Node430_1width - Node430_1fontSize * 0.2;
- Node430_1lineStart = (Node430_1width - (ht.Default.getTextSize('风速', ' '+ Node430_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node430_1align === 'center') {
- Node430_1textStart = -3;
- Node430_1textWidth = Node430_1width;
- Node430_1lineStart = Node430_1width - ht.Default.getTextSize('风速', ' '+ Node430_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node430_1.setImage(GD.getTextJSON(Node430_1width, Node430_1height, true, false, false, ' '+ Node430_1fontSize + 'px "Arial"'))
- Node430_1.setPosition(210*ratio.ratioX, 27*ratio.ratioY);
- Node430_1.setWidth(Node430_1width);
- Node430_1.setHeight(Node430_1height);
- Node430_1._nodeType = 'text';
- Node430_1._disallowEvert = true;
- Node430_1.setRotation(0*Math.PI/180);
- Node430_1.a('node.width', Node430_1width);
- Node430_1.a('node.height', Node430_1height);
- Node430_1.a('node.rect', [0, 0, Node430_1width, Node430_1height]);
- Node430_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node430_1.a('node.borderwidth', 0);
- Node430_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node430_1.a('node.gradient','');
- Node430_1.a('node.gradientcolor','');
- Node430_1.a('node.text','风速');
- Node430_1.a('node.textalign','left');
- Node430_1.a('node.textvAlign','middle');
- Node430_1.a('node.textrect', [Node430_1textStart, 0, Node430_1textWidth, Node430_1height]);
- Node430_1.a('node.color','rgba(255,255,255,1)');
- Node430_1.a('node.font',' '+ Node430_1fontSize + 'px "Arial"');
- Node430_1.a('node.textvisible',true);
- Node430_1.a('node.linefeed',false);
- if (false) {
- Node430_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node430_1.a('node.text') || '风速';
- var color=Node430_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node430_1width,Node430_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node430_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node430_1.a('node.underlinepoints',[Node430_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node430_1fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node430_1fontSize + 'px "Arial"').width + 6, (Node430_1height - Node430_1fontSize) * 0.5*_ratio.ratioY + Node430_1fontSize + 2 ]);
- Node430_1.a('node.underlinevisible',false);
- Node430_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node430_1);
- zoomNodeList.push({
- node: Node430_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node431_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');
- Node431_0 = new ht.Node();
- Node431_0.setPosition(340*ratio.ratioX, 162*ratio.ratioY);
- Node431_0.setSize(127*ratioX, 313*ratioY);
- Node431_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node431_0.setRotation(0*Math.PI/180);
- Node431_0._zoomBy = 'Default';
- Node431_0._nodeType = 'image';
- Node431_0._disallowEvert = true;
- dataModel.add(Node431_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node431_1 = new ht.Node();
- var Node431_1textStart, Node431_1textWidth, Node431_1lineStart, Node431_1align = 'left', Node431_1fontSize = 13.3333*_ratio.ratioY,Node431_1width = 64*_ratio.ratioX, Node431_1height = 16*_ratio.ratioY;
- (function () {
- if (Node431_1align === 'left') {
- Node431_1textStart = Node431_1fontSize * 0.2 > 2 ? Node431_1fontSize * 0.2 - 4 : Node431_1fontSize * 0.2 - 9;
- Node431_1textWidth = Node431_1width;
- Node431_1lineStart = 1;
- } else if (Node431_1align === 'right') {
- Node431_1textStart = 0;
- Node431_1textWidth =Node431_1fontSize <= 8 ? Node431_1width + Node431_1fontSize * 0.2 + 6 : Node431_1width - Node431_1fontSize * 0.2;
- Node431_1lineStart = (Node431_1width - (ht.Default.getTextSize('实际功率', ' '+ Node431_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node431_1align === 'center') {
- Node431_1textStart = -3;
- Node431_1textWidth = Node431_1width;
- Node431_1lineStart = Node431_1width - ht.Default.getTextSize('实际功率', ' '+ Node431_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node431_1.setImage(GD.getTextJSON(Node431_1width, Node431_1height, true, false, false, ' '+ Node431_1fontSize + 'px "Arial"'))
- Node431_1.setPosition(340*ratio.ratioX, 27*ratio.ratioY);
- Node431_1.setWidth(Node431_1width);
- Node431_1.setHeight(Node431_1height);
- Node431_1._nodeType = 'text';
- Node431_1._disallowEvert = true;
- Node431_1.setRotation(0*Math.PI/180);
- Node431_1.a('node.width', Node431_1width);
- Node431_1.a('node.height', Node431_1height);
- Node431_1.a('node.rect', [0, 0, Node431_1width, Node431_1height]);
- Node431_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node431_1.a('node.borderwidth', 0);
- Node431_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node431_1.a('node.gradient','');
- Node431_1.a('node.gradientcolor','');
- Node431_1.a('node.text','实际功率');
- Node431_1.a('node.textalign','left');
- Node431_1.a('node.textvAlign','middle');
- Node431_1.a('node.textrect', [Node431_1textStart, 0, Node431_1textWidth, Node431_1height]);
- Node431_1.a('node.color','rgba(255,255,255,1)');
- Node431_1.a('node.font',' '+ Node431_1fontSize + 'px "Arial"');
- Node431_1.a('node.textvisible',true);
- Node431_1.a('node.linefeed',false);
- if (false) {
- Node431_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node431_1.a('node.text') || '实际功率';
- var color=Node431_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node431_1width,Node431_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node431_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node431_1.a('node.underlinepoints',[Node431_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node431_1fontSize + 2 , ht.Default.getTextSize('实际功率', ' '+ Node431_1fontSize + 'px "Arial"').width + 6, (Node431_1height - Node431_1fontSize) * 0.5*_ratio.ratioY + Node431_1fontSize + 2 ]);
- Node431_1.a('node.underlinevisible',false);
- Node431_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node431_1);
- zoomNodeList.push({
- node: Node431_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node432_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');
- Node432_0 = new ht.Node();
- Node432_0.setPosition(467*ratio.ratioX, 162*ratio.ratioY);
- Node432_0.setSize(127*ratioX, 313*ratioY);
- Node432_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node432_0.setRotation(0*Math.PI/180);
- Node432_0._zoomBy = 'Default';
- Node432_0._nodeType = 'image';
- Node432_0._disallowEvert = true;
- dataModel.add(Node432_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node432_1 = new ht.Node();
- var Node432_1textStart, Node432_1textWidth, Node432_1lineStart, Node432_1align = 'center', Node432_1fontSize = 13.3333*_ratio.ratioY,Node432_1width = 64*_ratio.ratioX, Node432_1height = 16*_ratio.ratioY;
- (function () {
- if (Node432_1align === 'left') {
- Node432_1textStart = Node432_1fontSize * 0.2 > 2 ? Node432_1fontSize * 0.2 - 4 : Node432_1fontSize * 0.2 - 9;
- Node432_1textWidth = Node432_1width;
- Node432_1lineStart = 1;
- } else if (Node432_1align === 'right') {
- Node432_1textStart = 0;
- Node432_1textWidth =Node432_1fontSize <= 8 ? Node432_1width + Node432_1fontSize * 0.2 + 6 : Node432_1width - Node432_1fontSize * 0.2;
- Node432_1lineStart = (Node432_1width - (ht.Default.getTextSize('应发功率', 'bold '+ Node432_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node432_1align === 'center') {
- Node432_1textStart = -3;
- Node432_1textWidth = Node432_1width;
- Node432_1lineStart = Node432_1width - ht.Default.getTextSize('应发功率', 'bold '+ Node432_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node432_1.setImage(GD.getTextJSON(Node432_1width, Node432_1height, true, false, false, 'bold '+ Node432_1fontSize + 'px "Arial"'))
- Node432_1.setPosition(462*ratio.ratioX, 27*ratio.ratioY);
- Node432_1.setWidth(Node432_1width);
- Node432_1.setHeight(Node432_1height);
- Node432_1._nodeType = 'text';
- Node432_1._disallowEvert = true;
- Node432_1.setRotation(0*Math.PI/180);
- Node432_1.a('node.width', Node432_1width);
- Node432_1.a('node.height', Node432_1height);
- Node432_1.a('node.rect', [0, 0, Node432_1width, Node432_1height]);
- Node432_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node432_1.a('node.borderwidth', 0);
- Node432_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node432_1.a('node.gradient','');
- Node432_1.a('node.gradientcolor','');
- Node432_1.a('node.text','应发功率');
- Node432_1.a('node.textalign','center');
- Node432_1.a('node.textvAlign','middle');
- Node432_1.a('node.textrect', [Node432_1textStart, 0, Node432_1textWidth, Node432_1height]);
- Node432_1.a('node.color','rgba(255,255,255,1)');
- Node432_1.a('node.font','bold '+ Node432_1fontSize + 'px "Arial"');
- Node432_1.a('node.textvisible',true);
- Node432_1.a('node.linefeed',false);
- if (false) {
- Node432_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node432_1.a('node.text') || '应发功率';
- var color=Node432_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node432_1width,Node432_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node432_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node432_1.a('node.underlinepoints',[Node432_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node432_1fontSize + 2 , ht.Default.getTextSize('应发功率', 'bold '+ Node432_1fontSize + 'px "Arial"').width + 6, (Node432_1height - Node432_1fontSize) * 0.5*_ratio.ratioY + Node432_1fontSize + 2 ]);
- Node432_1.a('node.underlinevisible',false);
- Node432_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node432_1);
- zoomNodeList.push({
- node: Node432_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_0type = 'rect';
- var Node433_0 = new ht.Node(),
- Node433_0BorderWidth = 0*2;
- if (Node433_0type === 'arc') {
- Node433_0BorderWidth *= 0;
- }
- Node433_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_0.setPosition(594*ratio.ratioX, 116*ratio.ratioY);
- Node433_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_0.a('node.width', 127*_ratio.ratioX);
- Node433_0.a('node.height', 32*_ratio.ratioY);
- Node433_0.a('node.type', Node433_0type);
- Node433_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_0.a('node.background', 'rgba(245,245,245,1)');
- Node433_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node433_0.a('node.gradient', '');
- Node433_0.a('node.borderwidth', Node433_0BorderWidth);
- Node433_0.a('node.color', 'rgba(192,192,192,0)');
- Node433_0.a('node.fillrect', [0,0,0,0]);
- Node433_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_0.a('node.fillgradient', '');
- if (Node433_0type !== 'rect') {
- Node433_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_0type === 'arc') {
- Node433_0.a('node.arcOval', true);
- }
- Node433_0.setRotation(0*Math.PI/180);
- Node433_0.borderWidth = Node433_0BorderWidth;
- Node433_0.borderFillwidth = Node433_0BorderWidth;
- dataModel.add(Node433_0);
- Node433_0._nodename = 'Node433_0'
- Node433_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_0, Node433_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_1type = 'rect';
- var Node433_1 = new ht.Node(),
- Node433_1BorderWidth = 0*2;
- if (Node433_1type === 'arc') {
- Node433_1BorderWidth *= 0;
- }
- Node433_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_1.setPosition(594*ratio.ratioX, 148*ratio.ratioY);
- Node433_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_1.a('node.width', 127*_ratio.ratioX);
- Node433_1.a('node.height', 32*_ratio.ratioY);
- Node433_1.a('node.type', Node433_1type);
- Node433_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node433_1.a('node.gradientcolor', '');
- Node433_1.a('node.gradient', '');
- Node433_1.a('node.borderwidth', Node433_1BorderWidth);
- Node433_1.a('node.color', 'rgba(192,192,192,0)');
- Node433_1.a('node.fillrect', [0,0,0,0]);
- Node433_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_1.a('node.fillgradient', '');
- if (Node433_1type !== 'rect') {
- Node433_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_1type === 'arc') {
- Node433_1.a('node.arcOval', true);
- }
- Node433_1.setRotation(0*Math.PI/180);
- Node433_1.borderWidth = Node433_1BorderWidth;
- Node433_1.borderFillwidth = Node433_1BorderWidth;
- dataModel.add(Node433_1);
- Node433_1._nodename = 'Node433_1'
- Node433_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_1, Node433_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_2type = 'rect';
- var Node433_2 = new ht.Node(),
- Node433_2BorderWidth = 0*2;
- if (Node433_2type === 'arc') {
- Node433_2BorderWidth *= 0;
- }
- Node433_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_2.setPosition(594*ratio.ratioX, 180*ratio.ratioY);
- Node433_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_2.a('node.width', 127*_ratio.ratioX);
- Node433_2.a('node.height', 32*_ratio.ratioY);
- Node433_2.a('node.type', Node433_2type);
- Node433_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_2.a('node.background', 'rgba(245,245,245,1)');
- Node433_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node433_2.a('node.gradient', '');
- Node433_2.a('node.borderwidth', Node433_2BorderWidth);
- Node433_2.a('node.color', 'rgba(192,192,192,0)');
- Node433_2.a('node.fillrect', [0,0,0,0]);
- Node433_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_2.a('node.fillgradient', '');
- if (Node433_2type !== 'rect') {
- Node433_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_2type === 'arc') {
- Node433_2.a('node.arcOval', true);
- }
- Node433_2.setRotation(0*Math.PI/180);
- Node433_2.borderWidth = Node433_2BorderWidth;
- Node433_2.borderFillwidth = Node433_2BorderWidth;
- dataModel.add(Node433_2);
- Node433_2._nodename = 'Node433_2'
- Node433_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_2, Node433_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_3type = 'rect';
- var Node433_3 = new ht.Node(),
- Node433_3BorderWidth = 0*2;
- if (Node433_3type === 'arc') {
- Node433_3BorderWidth *= 0;
- }
- Node433_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_3.setPosition(594*ratio.ratioX, 211*ratio.ratioY);
- Node433_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_3.a('node.width', 127*_ratio.ratioX);
- Node433_3.a('node.height', 32*_ratio.ratioY);
- Node433_3.a('node.type', Node433_3type);
- Node433_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node433_3.a('node.gradientcolor', '');
- Node433_3.a('node.gradient', '');
- Node433_3.a('node.borderwidth', Node433_3BorderWidth);
- Node433_3.a('node.color', 'rgba(192,192,192,0)');
- Node433_3.a('node.fillrect', [0,0,0,0]);
- Node433_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_3.a('node.fillgradient', '');
- if (Node433_3type !== 'rect') {
- Node433_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_3type === 'arc') {
- Node433_3.a('node.arcOval', true);
- }
- Node433_3.setRotation(0*Math.PI/180);
- Node433_3.borderWidth = Node433_3BorderWidth;
- Node433_3.borderFillwidth = Node433_3BorderWidth;
- dataModel.add(Node433_3);
- Node433_3._nodename = 'Node433_3'
- Node433_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_3, Node433_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_4type = 'rect';
- var Node433_4 = new ht.Node(),
- Node433_4BorderWidth = 0*2;
- if (Node433_4type === 'arc') {
- Node433_4BorderWidth *= 0;
- }
- Node433_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_4.setPosition(594*ratio.ratioX, 242*ratio.ratioY);
- Node433_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_4.a('node.width', 127*_ratio.ratioX);
- Node433_4.a('node.height', 32*_ratio.ratioY);
- Node433_4.a('node.type', Node433_4type);
- Node433_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_4.a('node.background', 'rgba(245,245,245,1)');
- Node433_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node433_4.a('node.gradient', '');
- Node433_4.a('node.borderwidth', Node433_4BorderWidth);
- Node433_4.a('node.color', 'rgba(192,192,192,0)');
- Node433_4.a('node.fillrect', [0,0,0,0]);
- Node433_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_4.a('node.fillgradient', '');
- if (Node433_4type !== 'rect') {
- Node433_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_4type === 'arc') {
- Node433_4.a('node.arcOval', true);
- }
- Node433_4.setRotation(0*Math.PI/180);
- Node433_4.borderWidth = Node433_4BorderWidth;
- Node433_4.borderFillwidth = Node433_4BorderWidth;
- dataModel.add(Node433_4);
- Node433_4._nodename = 'Node433_4'
- Node433_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_4, Node433_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_5type = 'rect';
- var Node433_5 = new ht.Node(),
- Node433_5BorderWidth = 0*2;
- if (Node433_5type === 'arc') {
- Node433_5BorderWidth *= 0;
- }
- Node433_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_5.setPosition(594*ratio.ratioX, 273*ratio.ratioY);
- Node433_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_5.a('node.width', 127*_ratio.ratioX);
- Node433_5.a('node.height', 32*_ratio.ratioY);
- Node433_5.a('node.type', Node433_5type);
- Node433_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node433_5.a('node.gradientcolor', '');
- Node433_5.a('node.gradient', '');
- Node433_5.a('node.borderwidth', Node433_5BorderWidth);
- Node433_5.a('node.color', 'rgba(192,192,192,0)');
- Node433_5.a('node.fillrect', [0,0,0,0]);
- Node433_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_5.a('node.fillgradient', '');
- if (Node433_5type !== 'rect') {
- Node433_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_5type === 'arc') {
- Node433_5.a('node.arcOval', true);
- }
- Node433_5.setRotation(0*Math.PI/180);
- Node433_5.borderWidth = Node433_5BorderWidth;
- Node433_5.borderFillwidth = Node433_5BorderWidth;
- dataModel.add(Node433_5);
- Node433_5._nodename = 'Node433_5'
- Node433_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_5, Node433_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_6type = 'rect';
- var Node433_6 = new ht.Node(),
- Node433_6BorderWidth = 0*2;
- if (Node433_6type === 'arc') {
- Node433_6BorderWidth *= 0;
- }
- Node433_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node433_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_6.setPosition(594*ratio.ratioX, 304*ratio.ratioY);
- Node433_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node433_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_6.a('node.width', 127*_ratio.ratioX);
- Node433_6.a('node.height', 32*_ratio.ratioY);
- Node433_6.a('node.type', Node433_6type);
- Node433_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node433_6.a('node.background', 'rgba(245,245,245,1)');
- Node433_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node433_6.a('node.gradient', '');
- Node433_6.a('node.borderwidth', Node433_6BorderWidth);
- Node433_6.a('node.color', 'rgba(192,192,192,0)');
- Node433_6.a('node.fillrect', [0,0,0,0]);
- Node433_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_6.a('node.fillgradient', '');
- if (Node433_6type !== 'rect') {
- Node433_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_6type === 'arc') {
- Node433_6.a('node.arcOval', true);
- }
- Node433_6.setRotation(0*Math.PI/180);
- Node433_6.borderWidth = Node433_6BorderWidth;
- Node433_6.borderFillwidth = Node433_6BorderWidth;
- dataModel.add(Node433_6);
- Node433_6._nodename = 'Node433_6'
- Node433_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_6, Node433_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_7type = 'rect';
- var Node433_7 = new ht.Node(),
- Node433_7BorderWidth = 1*2;
- if (Node433_7type === 'arc') {
- Node433_7BorderWidth *= 1;
- }
- Node433_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node433_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node433_7.setPosition(594*ratio.ratioX, 165*ratio.ratioY);
- Node433_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node433_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node433_7.a('node.width', 127*_ratio.ratioX);
- Node433_7.a('node.height', 309*_ratio.ratioY);
- Node433_7.a('node.type', Node433_7type);
- Node433_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node433_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node433_7.a('node.gradientcolor', '');
- Node433_7.a('node.gradient', '');
- Node433_7.a('node.borderwidth', Node433_7BorderWidth);
- Node433_7.a('node.color', 'rgba(192,192,192,1)');
- Node433_7.a('node.fillrect', [0,0,0,0]);
- Node433_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node433_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node433_7.a('node.fillgradient', '');
- if (Node433_7type !== 'rect') {
- Node433_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node433_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node433_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node433_7type === 'arc') {
- Node433_7.a('node.arcOval', true);
- }
- Node433_7.setRotation(0*Math.PI/180);
- Node433_7.borderWidth = Node433_7BorderWidth;
- Node433_7.borderFillwidth = Node433_7BorderWidth;
- dataModel.add(Node433_7);
- Node433_7._nodename = 'Node433_7'
- Node433_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node433_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);
- }
- })(Node433_7, Node433_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_8 = new ht.Node();
- var Node433_8textStart, Node433_8textWidth, Node433_8lineStart, Node433_8align = 'center', Node433_8fontSize = 13.3333*_ratio.ratioY,Node433_8width = 64*_ratio.ratioX, Node433_8height = 16*_ratio.ratioY;
- (function () {
- if (Node433_8align === 'left') {
- Node433_8textStart = Node433_8fontSize * 0.2 > 2 ? Node433_8fontSize * 0.2 - 4 : Node433_8fontSize * 0.2 - 9;
- Node433_8textWidth = Node433_8width;
- Node433_8lineStart = 1;
- } else if (Node433_8align === 'right') {
- Node433_8textStart = 0;
- Node433_8textWidth =Node433_8fontSize <= 8 ? Node433_8width + Node433_8fontSize * 0.2 + 6 : Node433_8width - Node433_8fontSize * 0.2;
- Node433_8lineStart = (Node433_8width - (ht.Default.getTextSize('年发电量', 'bold '+ Node433_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node433_8align === 'center') {
- Node433_8textStart = -3;
- Node433_8textWidth = Node433_8width;
- Node433_8lineStart = Node433_8width - ht.Default.getTextSize('年发电量', 'bold '+ Node433_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node433_8.setImage(GD.getTextJSON(Node433_8width, Node433_8height, true, false, false, 'bold '+ Node433_8fontSize + 'px "Arial"'))
- Node433_8.setPosition(591*ratio.ratioX, 29*ratio.ratioY);
- Node433_8.setWidth(Node433_8width);
- Node433_8.setHeight(Node433_8height);
- Node433_8._nodeType = 'text';
- Node433_8._disallowEvert = true;
- Node433_8.setRotation(0*Math.PI/180);
- Node433_8.a('node.width', Node433_8width);
- Node433_8.a('node.height', Node433_8height);
- Node433_8.a('node.rect', [0, 0, Node433_8width, Node433_8height]);
- Node433_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node433_8.a('node.borderwidth', 0);
- Node433_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_8.a('node.gradient','');
- Node433_8.a('node.gradientcolor','');
- Node433_8.a('node.text','年发电量');
- Node433_8.a('node.textalign','center');
- Node433_8.a('node.textvAlign','middle');
- Node433_8.a('node.textrect', [Node433_8textStart, 0, Node433_8textWidth, Node433_8height]);
- Node433_8.a('node.color','rgba(255,255,255,1)');
- Node433_8.a('node.font','bold '+ Node433_8fontSize + 'px "Arial"');
- Node433_8.a('node.textvisible',true);
- Node433_8.a('node.linefeed',false);
- if (false) {
- Node433_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_8.a('node.text') || '年发电量';
- var color=Node433_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_8width,Node433_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node433_8.a('node.underlinepoints',[Node433_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_8fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node433_8fontSize + 'px "Arial"').width + 6, (Node433_8height - Node433_8fontSize) * 0.5*_ratio.ratioY + Node433_8fontSize + 2 ]);
- Node433_8.a('node.underlinevisible',false);
- Node433_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_8);
- zoomNodeList.push({
- node: Node433_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_9 = new ht.Node();
- var Node433_9textStart, Node433_9textWidth, Node433_9lineStart, Node433_9align = 'center', Node433_9fontSize = 11.99997*_ratio.ratioY,Node433_9width = 41*_ratio.ratioX, Node433_9height = 15*_ratio.ratioY;
- (function () {
- if (Node433_9align === 'left') {
- Node433_9textStart = Node433_9fontSize * 0.2 > 2 ? Node433_9fontSize * 0.2 - 4 : Node433_9fontSize * 0.2 - 9;
- Node433_9textWidth = Node433_9width;
- Node433_9lineStart = 1;
- } else if (Node433_9align === 'right') {
- Node433_9textStart = 0;
- Node433_9textWidth =Node433_9fontSize <= 8 ? Node433_9width + Node433_9fontSize * 0.2 + 6 : Node433_9width - Node433_9fontSize * 0.2;
- Node433_9lineStart = (Node433_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node433_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node433_9align === 'center') {
- Node433_9textStart = -3;
- Node433_9textWidth = Node433_9width;
- Node433_9lineStart = Node433_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node433_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node433_9.setImage(GD.getTextJSON(Node433_9width, Node433_9height, true, false, false, 'bold '+ Node433_9fontSize + 'px "Arial"'))
- Node433_9.setPosition(591*ratio.ratioX, 57*ratio.ratioY);
- Node433_9.setWidth(Node433_9width);
- Node433_9.setHeight(Node433_9height);
- Node433_9._nodeType = 'text';
- Node433_9._disallowEvert = true;
- Node433_9.setRotation(0*Math.PI/180);
- Node433_9.a('node.width', Node433_9width);
- Node433_9.a('node.height', Node433_9height);
- Node433_9.a('node.rect', [0, 0, Node433_9width, Node433_9height]);
- Node433_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node433_9.a('node.borderwidth', 0);
- Node433_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_9.a('node.gradient','');
- Node433_9.a('node.gradientcolor','');
- Node433_9.a('node.text','万kwh');
- Node433_9.a('node.textalign','center');
- Node433_9.a('node.textvAlign','middle');
- Node433_9.a('node.textrect', [Node433_9textStart, 0, Node433_9textWidth, Node433_9height]);
- Node433_9.a('node.color','rgba(128,128,128,1)');
- Node433_9.a('node.font','bold '+ Node433_9fontSize + 'px "Arial"');
- Node433_9.a('node.textvisible',true);
- Node433_9.a('node.linefeed',false);
- if (false) {
- Node433_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_9.a('node.text') || '万kwh';
- var color=Node433_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node433_9width,Node433_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node433_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node433_9.a('node.underlinepoints',[Node433_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node433_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node433_9fontSize + 'px "Arial"').width + 6, (Node433_9height - Node433_9fontSize) * 0.5*_ratio.ratioY + Node433_9fontSize + 2 ]);
- Node433_9.a('node.underlinevisible',false);
- Node433_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_9);
- zoomNodeList.push({
- node: Node433_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_10 = new ht.Node();
- var Node433_10textStart, Node433_10textWidth, Node433_10lineStart, Node433_10align = 'center', Node433_10fontSize = 13.3333*_ratio.ratioY,Node433_10width = 39*_ratio.ratioX, Node433_10height = 16*_ratio.ratioY;
- (function () {
- if (Node433_10align === 'left') {
- Node433_10textStart = Node433_10fontSize * 0.2 > 2 ? Node433_10fontSize * 0.2 - 4 : Node433_10fontSize * 0.2 - 9;
- Node433_10textWidth = Node433_10width;
- Node433_10lineStart = 1;
- } else if (Node433_10align === 'right') {
- Node433_10textStart = 0;
- Node433_10textWidth =Node433_10fontSize <= 8 ? Node433_10width + Node433_10fontSize * 0.2 + 6 : Node433_10width - Node433_10fontSize * 0.2;
- Node433_10lineStart = (Node433_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node433_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_10align === 'center') {
- Node433_10textStart = -3;
- Node433_10textWidth = Node433_10width;
- Node433_10lineStart = Node433_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node433_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_10.setImage(GD.getTextJSON(Node433_10width, Node433_10height, true, false, false, 'bold '+ Node433_10fontSize + 'px "UniDreamLED"'))
- Node433_10.setPosition(591*ratio.ratioX, 84*ratio.ratioY);
- Node433_10.setWidth(Node433_10width);
- Node433_10.setHeight(Node433_10height);
- Node433_10._nodeType = 'text';
- Node433_10._disallowEvert = true;
- Node433_10.setRotation(0*Math.PI/180);
- Node433_10.a('node.width', Node433_10width);
- Node433_10.a('node.height', Node433_10height);
- Node433_10.a('node.rect', [0, 0, Node433_10width, Node433_10height]);
- Node433_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_10.a('node.borderwidth', 0);
- Node433_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_10.a('node.gradient','');
- Node433_10.a('node.gradientcolor','');
- Node433_10.a('node.text','1134.76');
- Node433_10.a('node.textalign','center');
- Node433_10.a('node.textvAlign','middle');
- Node433_10.a('node.textrect', [Node433_10textStart, 0, Node433_10textWidth, Node433_10height]);
- Node433_10.a('node.color','rgba(0,0,0,1)');
- Node433_10.a('node.font','bold '+ Node433_10fontSize + 'px "UniDreamLED"');
- Node433_10.a('node.textvisible',true);
- Node433_10.a('node.linefeed',false);
- if (false) {
- Node433_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_10.a('node.text') || '1134.76';
- var color=Node433_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_10width,Node433_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_10.a('node.underlinepoints',[Node433_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node433_10fontSize + 'px "UniDreamLED"').width + 6, (Node433_10height - Node433_10fontSize) * 0.5*_ratio.ratioY + Node433_10fontSize + 2 ]);
- Node433_10.a('node.underlinevisible',false);
- Node433_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_10);
- zoomNodeList.push({
- node: Node433_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_11 = new ht.Node();
- var Node433_11textStart, Node433_11textWidth, Node433_11lineStart, Node433_11align = 'center', Node433_11fontSize = 13.3333*_ratio.ratioY,Node433_11width = 28*_ratio.ratioX, Node433_11height = 16*_ratio.ratioY;
- (function () {
- if (Node433_11align === 'left') {
- Node433_11textStart = Node433_11fontSize * 0.2 > 2 ? Node433_11fontSize * 0.2 - 4 : Node433_11fontSize * 0.2 - 9;
- Node433_11textWidth = Node433_11width;
- Node433_11lineStart = 1;
- } else if (Node433_11align === 'right') {
- Node433_11textStart = 0;
- Node433_11textWidth =Node433_11fontSize <= 8 ? Node433_11width + Node433_11fontSize * 0.2 + 6 : Node433_11width - Node433_11fontSize * 0.2;
- Node433_11lineStart = (Node433_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node433_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_11align === 'center') {
- Node433_11textStart = -3;
- Node433_11textWidth = Node433_11width;
- Node433_11lineStart = Node433_11width - ht.Default.getTextSize('171.51', 'bold '+ Node433_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_11.setImage(GD.getTextJSON(Node433_11width, Node433_11height, true, false, false, 'bold '+ Node433_11fontSize + 'px "UniDreamLED"'))
- Node433_11.setPosition(594*ratio.ratioX, 116*ratio.ratioY);
- Node433_11.setWidth(Node433_11width);
- Node433_11.setHeight(Node433_11height);
- Node433_11._nodeType = 'text';
- Node433_11._disallowEvert = true;
- Node433_11.setRotation(0*Math.PI/180);
- Node433_11.a('node.width', Node433_11width);
- Node433_11.a('node.height', Node433_11height);
- Node433_11.a('node.rect', [0, 0, Node433_11width, Node433_11height]);
- Node433_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_11.a('node.borderwidth', 0);
- Node433_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_11.a('node.gradient','');
- Node433_11.a('node.gradientcolor','');
- Node433_11.a('node.text','171.51');
- Node433_11.a('node.textalign','center');
- Node433_11.a('node.textvAlign','middle');
- Node433_11.a('node.textrect', [Node433_11textStart, 0, Node433_11textWidth, Node433_11height]);
- Node433_11.a('node.color','rgba(0,0,0,1)');
- Node433_11.a('node.font','bold '+ Node433_11fontSize + 'px "UniDreamLED"');
- Node433_11.a('node.textvisible',true);
- Node433_11.a('node.linefeed',false);
- if (false) {
- Node433_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_11.a('node.text') || '171.51';
- var color=Node433_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_11width,Node433_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_11.a('node.underlinepoints',[Node433_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node433_11fontSize + 'px "UniDreamLED"').width + 6, (Node433_11height - Node433_11fontSize) * 0.5*_ratio.ratioY + Node433_11fontSize + 2 ]);
- Node433_11.a('node.underlinevisible',false);
- Node433_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_11);
- zoomNodeList.push({
- node: Node433_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_12 = new ht.Node();
- var Node433_12textStart, Node433_12textWidth, Node433_12lineStart, Node433_12align = 'center', Node433_12fontSize = 13.3333*_ratio.ratioY,Node433_12width = 36*_ratio.ratioX, Node433_12height = 16*_ratio.ratioY;
- (function () {
- if (Node433_12align === 'left') {
- Node433_12textStart = Node433_12fontSize * 0.2 > 2 ? Node433_12fontSize * 0.2 - 4 : Node433_12fontSize * 0.2 - 9;
- Node433_12textWidth = Node433_12width;
- Node433_12lineStart = 1;
- } else if (Node433_12align === 'right') {
- Node433_12textStart = 0;
- Node433_12textWidth =Node433_12fontSize <= 8 ? Node433_12width + Node433_12fontSize * 0.2 + 6 : Node433_12width - Node433_12fontSize * 0.2;
- Node433_12lineStart = (Node433_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node433_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_12align === 'center') {
- Node433_12textStart = -3;
- Node433_12textWidth = Node433_12width;
- Node433_12lineStart = Node433_12width - ht.Default.getTextSize('329.51', 'bold '+ Node433_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_12.setImage(GD.getTextJSON(Node433_12width, Node433_12height, true, false, false, 'bold '+ Node433_12fontSize + 'px "UniDreamLED"'))
- Node433_12.setPosition(594*ratio.ratioX, 146*ratio.ratioY);
- Node433_12.setWidth(Node433_12width);
- Node433_12.setHeight(Node433_12height);
- Node433_12._nodeType = 'text';
- Node433_12._disallowEvert = true;
- Node433_12.setRotation(0*Math.PI/180);
- Node433_12.a('node.width', Node433_12width);
- Node433_12.a('node.height', Node433_12height);
- Node433_12.a('node.rect', [0, 0, Node433_12width, Node433_12height]);
- Node433_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_12.a('node.borderwidth', 0);
- Node433_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_12.a('node.gradient','');
- Node433_12.a('node.gradientcolor','');
- Node433_12.a('node.text','329.51');
- Node433_12.a('node.textalign','center');
- Node433_12.a('node.textvAlign','middle');
- Node433_12.a('node.textrect', [Node433_12textStart, 0, Node433_12textWidth, Node433_12height]);
- Node433_12.a('node.color','rgba(0,0,0,1)');
- Node433_12.a('node.font','bold '+ Node433_12fontSize + 'px "UniDreamLED"');
- Node433_12.a('node.textvisible',true);
- Node433_12.a('node.linefeed',false);
- if (false) {
- Node433_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_12.a('node.text') || '329.51';
- var color=Node433_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_12width,Node433_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_12.a('node.underlinepoints',[Node433_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node433_12fontSize + 'px "UniDreamLED"').width + 6, (Node433_12height - Node433_12fontSize) * 0.5*_ratio.ratioY + Node433_12fontSize + 2 ]);
- Node433_12.a('node.underlinevisible',false);
- Node433_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_12);
- zoomNodeList.push({
- node: Node433_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_13 = new ht.Node();
- var Node433_13textStart, Node433_13textWidth, Node433_13lineStart, Node433_13align = 'center', Node433_13fontSize = 13.3333*_ratio.ratioY,Node433_13width = 36*_ratio.ratioX, Node433_13height = 16*_ratio.ratioY;
- (function () {
- if (Node433_13align === 'left') {
- Node433_13textStart = Node433_13fontSize * 0.2 > 2 ? Node433_13fontSize * 0.2 - 4 : Node433_13fontSize * 0.2 - 9;
- Node433_13textWidth = Node433_13width;
- Node433_13lineStart = 1;
- } else if (Node433_13align === 'right') {
- Node433_13textStart = 0;
- Node433_13textWidth =Node433_13fontSize <= 8 ? Node433_13width + Node433_13fontSize * 0.2 + 6 : Node433_13width - Node433_13fontSize * 0.2;
- Node433_13lineStart = (Node433_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node433_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_13align === 'center') {
- Node433_13textStart = -3;
- Node433_13textWidth = Node433_13width;
- Node433_13lineStart = Node433_13width - ht.Default.getTextSize('340.14', 'bold '+ Node433_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_13.setImage(GD.getTextJSON(Node433_13width, Node433_13height, true, false, false, 'bold '+ Node433_13fontSize + 'px "UniDreamLED"'))
- Node433_13.setPosition(594*ratio.ratioX, 176*ratio.ratioY);
- Node433_13.setWidth(Node433_13width);
- Node433_13.setHeight(Node433_13height);
- Node433_13._nodeType = 'text';
- Node433_13._disallowEvert = true;
- Node433_13.setRotation(0*Math.PI/180);
- Node433_13.a('node.width', Node433_13width);
- Node433_13.a('node.height', Node433_13height);
- Node433_13.a('node.rect', [0, 0, Node433_13width, Node433_13height]);
- Node433_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_13.a('node.borderwidth', 0);
- Node433_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_13.a('node.gradient','');
- Node433_13.a('node.gradientcolor','');
- Node433_13.a('node.text','340.14');
- Node433_13.a('node.textalign','center');
- Node433_13.a('node.textvAlign','middle');
- Node433_13.a('node.textrect', [Node433_13textStart, 0, Node433_13textWidth, Node433_13height]);
- Node433_13.a('node.color','rgba(0,0,0,1)');
- Node433_13.a('node.font','bold '+ Node433_13fontSize + 'px "UniDreamLED"');
- Node433_13.a('node.textvisible',true);
- Node433_13.a('node.linefeed',false);
- if (false) {
- Node433_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_13.a('node.text') || '340.14';
- var color=Node433_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_13width,Node433_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_13.a('node.underlinepoints',[Node433_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node433_13fontSize + 'px "UniDreamLED"').width + 6, (Node433_13height - Node433_13fontSize) * 0.5*_ratio.ratioY + Node433_13fontSize + 2 ]);
- Node433_13.a('node.underlinevisible',false);
- Node433_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_13);
- zoomNodeList.push({
- node: Node433_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_14 = new ht.Node();
- var Node433_14textStart, Node433_14textWidth, Node433_14lineStart, Node433_14align = 'center', Node433_14fontSize = 13.3333*_ratio.ratioY,Node433_14width = 29*_ratio.ratioX, Node433_14height = 16*_ratio.ratioY;
- (function () {
- if (Node433_14align === 'left') {
- Node433_14textStart = Node433_14fontSize * 0.2 > 2 ? Node433_14fontSize * 0.2 - 4 : Node433_14fontSize * 0.2 - 9;
- Node433_14textWidth = Node433_14width;
- Node433_14lineStart = 1;
- } else if (Node433_14align === 'right') {
- Node433_14textStart = 0;
- Node433_14textWidth =Node433_14fontSize <= 8 ? Node433_14width + Node433_14fontSize * 0.2 + 6 : Node433_14width - Node433_14fontSize * 0.2;
- Node433_14lineStart = (Node433_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node433_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_14align === 'center') {
- Node433_14textStart = -3;
- Node433_14textWidth = Node433_14width;
- Node433_14lineStart = Node433_14width - ht.Default.getTextSize('60.61', 'bold '+ Node433_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_14.setImage(GD.getTextJSON(Node433_14width, Node433_14height, true, false, false, 'bold '+ Node433_14fontSize + 'px "UniDreamLED"'))
- Node433_14.setPosition(594*ratio.ratioX, 210*ratio.ratioY);
- Node433_14.setWidth(Node433_14width);
- Node433_14.setHeight(Node433_14height);
- Node433_14._nodeType = 'text';
- Node433_14._disallowEvert = true;
- Node433_14.setRotation(0*Math.PI/180);
- Node433_14.a('node.width', Node433_14width);
- Node433_14.a('node.height', Node433_14height);
- Node433_14.a('node.rect', [0, 0, Node433_14width, Node433_14height]);
- Node433_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_14.a('node.borderwidth', 0);
- Node433_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_14.a('node.gradient','');
- Node433_14.a('node.gradientcolor','');
- Node433_14.a('node.text','60.61');
- Node433_14.a('node.textalign','center');
- Node433_14.a('node.textvAlign','middle');
- Node433_14.a('node.textrect', [Node433_14textStart, 0, Node433_14textWidth, Node433_14height]);
- Node433_14.a('node.color','rgba(0,0,0,1)');
- Node433_14.a('node.font','bold '+ Node433_14fontSize + 'px "UniDreamLED"');
- Node433_14.a('node.textvisible',true);
- Node433_14.a('node.linefeed',false);
- if (false) {
- Node433_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_14.a('node.text') || '60.61';
- var color=Node433_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_14width,Node433_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_14.a('node.underlinepoints',[Node433_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node433_14fontSize + 'px "UniDreamLED"').width + 6, (Node433_14height - Node433_14fontSize) * 0.5*_ratio.ratioY + Node433_14fontSize + 2 ]);
- Node433_14.a('node.underlinevisible',false);
- Node433_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_14);
- zoomNodeList.push({
- node: Node433_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_15 = new ht.Node();
- var Node433_15textStart, Node433_15textWidth, Node433_15lineStart, Node433_15align = 'center', Node433_15fontSize = 13.3333*_ratio.ratioY,Node433_15width = 36*_ratio.ratioX, Node433_15height = 16*_ratio.ratioY;
- (function () {
- if (Node433_15align === 'left') {
- Node433_15textStart = Node433_15fontSize * 0.2 > 2 ? Node433_15fontSize * 0.2 - 4 : Node433_15fontSize * 0.2 - 9;
- Node433_15textWidth = Node433_15width;
- Node433_15lineStart = 1;
- } else if (Node433_15align === 'right') {
- Node433_15textStart = 0;
- Node433_15textWidth =Node433_15fontSize <= 8 ? Node433_15width + Node433_15fontSize * 0.2 + 6 : Node433_15width - Node433_15fontSize * 0.2;
- Node433_15lineStart = (Node433_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node433_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_15align === 'center') {
- Node433_15textStart = -3;
- Node433_15textWidth = Node433_15width;
- Node433_15lineStart = Node433_15width - ht.Default.getTextSize('166.79', 'bold '+ Node433_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_15.setImage(GD.getTextJSON(Node433_15width, Node433_15height, true, false, false, 'bold '+ Node433_15fontSize + 'px "UniDreamLED"'))
- Node433_15.setPosition(594*ratio.ratioX, 243*ratio.ratioY);
- Node433_15.setWidth(Node433_15width);
- Node433_15.setHeight(Node433_15height);
- Node433_15._nodeType = 'text';
- Node433_15._disallowEvert = true;
- Node433_15.setRotation(0*Math.PI/180);
- Node433_15.a('node.width', Node433_15width);
- Node433_15.a('node.height', Node433_15height);
- Node433_15.a('node.rect', [0, 0, Node433_15width, Node433_15height]);
- Node433_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_15.a('node.borderwidth', 0);
- Node433_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_15.a('node.gradient','');
- Node433_15.a('node.gradientcolor','');
- Node433_15.a('node.text','166.79');
- Node433_15.a('node.textalign','center');
- Node433_15.a('node.textvAlign','middle');
- Node433_15.a('node.textrect', [Node433_15textStart, 0, Node433_15textWidth, Node433_15height]);
- Node433_15.a('node.color','rgba(0,0,0,1)');
- Node433_15.a('node.font','bold '+ Node433_15fontSize + 'px "UniDreamLED"');
- Node433_15.a('node.textvisible',true);
- Node433_15.a('node.linefeed',false);
- if (false) {
- Node433_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_15.a('node.text') || '166.79';
- var color=Node433_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_15width,Node433_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_15.a('node.underlinepoints',[Node433_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node433_15fontSize + 'px "UniDreamLED"').width + 6, (Node433_15height - Node433_15fontSize) * 0.5*_ratio.ratioY + Node433_15fontSize + 2 ]);
- Node433_15.a('node.underlinevisible',false);
- Node433_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_15);
- zoomNodeList.push({
- node: Node433_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_16 = new ht.Node();
- var Node433_16textStart, Node433_16textWidth, Node433_16lineStart, Node433_16align = 'center', Node433_16fontSize = 13.3333*_ratio.ratioY,Node433_16width = 29*_ratio.ratioX, Node433_16height = 16*_ratio.ratioY;
- (function () {
- if (Node433_16align === 'left') {
- Node433_16textStart = Node433_16fontSize * 0.2 > 2 ? Node433_16fontSize * 0.2 - 4 : Node433_16fontSize * 0.2 - 9;
- Node433_16textWidth = Node433_16width;
- Node433_16lineStart = 1;
- } else if (Node433_16align === 'right') {
- Node433_16textStart = 0;
- Node433_16textWidth =Node433_16fontSize <= 8 ? Node433_16width + Node433_16fontSize * 0.2 + 6 : Node433_16width - Node433_16fontSize * 0.2;
- Node433_16lineStart = (Node433_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node433_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_16align === 'center') {
- Node433_16textStart = -3;
- Node433_16textWidth = Node433_16width;
- Node433_16lineStart = Node433_16width - ht.Default.getTextSize('66.18', 'bold '+ Node433_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_16.setImage(GD.getTextJSON(Node433_16width, Node433_16height, true, false, false, 'bold '+ Node433_16fontSize + 'px "UniDreamLED"'))
- Node433_16.setPosition(594*ratio.ratioX, 272*ratio.ratioY);
- Node433_16.setWidth(Node433_16width);
- Node433_16.setHeight(Node433_16height);
- Node433_16._nodeType = 'text';
- Node433_16._disallowEvert = true;
- Node433_16.setRotation(0*Math.PI/180);
- Node433_16.a('node.width', Node433_16width);
- Node433_16.a('node.height', Node433_16height);
- Node433_16.a('node.rect', [0, 0, Node433_16width, Node433_16height]);
- Node433_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_16.a('node.borderwidth', 0);
- Node433_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_16.a('node.gradient','');
- Node433_16.a('node.gradientcolor','');
- Node433_16.a('node.text','66.18');
- Node433_16.a('node.textalign','center');
- Node433_16.a('node.textvAlign','middle');
- Node433_16.a('node.textrect', [Node433_16textStart, 0, Node433_16textWidth, Node433_16height]);
- Node433_16.a('node.color','rgba(0,0,0,1)');
- Node433_16.a('node.font','bold '+ Node433_16fontSize + 'px "UniDreamLED"');
- Node433_16.a('node.textvisible',true);
- Node433_16.a('node.linefeed',false);
- if (false) {
- Node433_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_16.a('node.text') || '66.18';
- var color=Node433_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_16width,Node433_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_16.a('node.underlinepoints',[Node433_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node433_16fontSize + 'px "UniDreamLED"').width + 6, (Node433_16height - Node433_16fontSize) * 0.5*_ratio.ratioY + Node433_16fontSize + 2 ]);
- Node433_16.a('node.underlinevisible',false);
- Node433_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_16);
- zoomNodeList.push({
- node: Node433_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node433_17 = new ht.Node();
- var Node433_17textStart, Node433_17textWidth, Node433_17lineStart, Node433_17align = 'center', Node433_17fontSize = 13.3333*_ratio.ratioY,Node433_17width = 9*_ratio.ratioX, Node433_17height = 16*_ratio.ratioY;
- (function () {
- if (Node433_17align === 'left') {
- Node433_17textStart = Node433_17fontSize * 0.2 > 2 ? Node433_17fontSize * 0.2 - 4 : Node433_17fontSize * 0.2 - 9;
- Node433_17textWidth = Node433_17width;
- Node433_17lineStart = 1;
- } else if (Node433_17align === 'right') {
- Node433_17textStart = 0;
- Node433_17textWidth =Node433_17fontSize <= 8 ? Node433_17width + Node433_17fontSize * 0.2 + 6 : Node433_17width - Node433_17fontSize * 0.2;
- Node433_17lineStart = (Node433_17width - (ht.Default.getTextSize('-', 'bold '+ Node433_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node433_17align === 'center') {
- Node433_17textStart = -3;
- Node433_17textWidth = Node433_17width;
- Node433_17lineStart = Node433_17width - ht.Default.getTextSize('-', 'bold '+ Node433_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node433_17.setImage(GD.getTextJSON(Node433_17width, Node433_17height, true, false, false, 'bold '+ Node433_17fontSize + 'px "UniDreamLED"'))
- Node433_17.setPosition(594*ratio.ratioX, 303*ratio.ratioY);
- Node433_17.setWidth(Node433_17width);
- Node433_17.setHeight(Node433_17height);
- Node433_17._nodeType = 'text';
- Node433_17._disallowEvert = true;
- Node433_17.setRotation(0*Math.PI/180);
- Node433_17.a('node.width', Node433_17width);
- Node433_17.a('node.height', Node433_17height);
- Node433_17.a('node.rect', [0, 0, Node433_17width, Node433_17height]);
- Node433_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node433_17.a('node.borderwidth', 0);
- Node433_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node433_17.a('node.gradient','');
- Node433_17.a('node.gradientcolor','');
- Node433_17.a('node.text','-');
- Node433_17.a('node.textalign','center');
- Node433_17.a('node.textvAlign','middle');
- Node433_17.a('node.textrect', [Node433_17textStart, 0, Node433_17textWidth, Node433_17height]);
- Node433_17.a('node.color','rgba(0,0,0,1)');
- Node433_17.a('node.font','bold '+ Node433_17fontSize + 'px "UniDreamLED"');
- Node433_17.a('node.textvisible',true);
- Node433_17.a('node.linefeed',false);
- if (false) {
- Node433_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node433_17.a('node.text') || '-';
- var color=Node433_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node433_17width,Node433_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node433_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node433_17.a('node.underlinepoints',[Node433_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node433_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node433_17fontSize + 'px "UniDreamLED"').width + 6, (Node433_17height - Node433_17fontSize) * 0.5*_ratio.ratioY + Node433_17fontSize + 2 ]);
- Node433_17.a('node.underlinevisible',false);
- Node433_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node433_17);
- zoomNodeList.push({
- node: Node433_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node434_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');
- Node434_0 = new ht.Node();
- Node434_0.setPosition(595*ratio.ratioX, 162*ratio.ratioY);
- Node434_0.setSize(127*ratioX, 313*ratioY);
- Node434_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node434_0.setRotation(0*Math.PI/180);
- Node434_0._zoomBy = 'Default';
- Node434_0._nodeType = 'image';
- Node434_0._disallowEvert = true;
- dataModel.add(Node434_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node434_1 = new ht.Node();
- var Node434_1textStart, Node434_1textWidth, Node434_1lineStart, Node434_1align = 'center', Node434_1fontSize = 13.3333*_ratio.ratioY,Node434_1width = 64*_ratio.ratioX, Node434_1height = 16*_ratio.ratioY;
- (function () {
- if (Node434_1align === 'left') {
- Node434_1textStart = Node434_1fontSize * 0.2 > 2 ? Node434_1fontSize * 0.2 - 4 : Node434_1fontSize * 0.2 - 9;
- Node434_1textWidth = Node434_1width;
- Node434_1lineStart = 1;
- } else if (Node434_1align === 'right') {
- Node434_1textStart = 0;
- Node434_1textWidth =Node434_1fontSize <= 8 ? Node434_1width + Node434_1fontSize * 0.2 + 6 : Node434_1width - Node434_1fontSize * 0.2;
- Node434_1lineStart = (Node434_1width - (ht.Default.getTextSize('年发电量', 'bold '+ Node434_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node434_1align === 'center') {
- Node434_1textStart = -3;
- Node434_1textWidth = Node434_1width;
- Node434_1lineStart = Node434_1width - ht.Default.getTextSize('年发电量', 'bold '+ Node434_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node434_1.setImage(GD.getTextJSON(Node434_1width, Node434_1height, true, false, false, 'bold '+ Node434_1fontSize + 'px "Arial"'))
- Node434_1.setPosition(590*ratio.ratioX, 27*ratio.ratioY);
- Node434_1.setWidth(Node434_1width);
- Node434_1.setHeight(Node434_1height);
- Node434_1._nodeType = 'text';
- Node434_1._disallowEvert = true;
- Node434_1.setRotation(0*Math.PI/180);
- Node434_1.a('node.width', Node434_1width);
- Node434_1.a('node.height', Node434_1height);
- Node434_1.a('node.rect', [0, 0, Node434_1width, Node434_1height]);
- Node434_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node434_1.a('node.borderwidth', 0);
- Node434_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node434_1.a('node.gradient','');
- Node434_1.a('node.gradientcolor','');
- Node434_1.a('node.text','年发电量');
- Node434_1.a('node.textalign','center');
- Node434_1.a('node.textvAlign','middle');
- Node434_1.a('node.textrect', [Node434_1textStart, 0, Node434_1textWidth, Node434_1height]);
- Node434_1.a('node.color','rgba(255,255,255,1)');
- Node434_1.a('node.font','bold '+ Node434_1fontSize + 'px "Arial"');
- Node434_1.a('node.textvisible',true);
- Node434_1.a('node.linefeed',false);
- if (false) {
- Node434_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node434_1.a('node.text') || '年发电量';
- var color=Node434_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node434_1width,Node434_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node434_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node434_1.a('node.underlinepoints',[Node434_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node434_1fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node434_1fontSize + 'px "Arial"').width + 6, (Node434_1height - Node434_1fontSize) * 0.5*_ratio.ratioY + Node434_1fontSize + 2 ]);
- Node434_1.a('node.underlinevisible',false);
- Node434_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node434_1);
- zoomNodeList.push({
- node: Node434_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_0type = 'rect';
- var Node435_0 = new ht.Node(),
- Node435_0BorderWidth = 0*2;
- if (Node435_0type === 'arc') {
- Node435_0BorderWidth *= 0;
- }
- Node435_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_0.setPosition(721*ratio.ratioX, 115*ratio.ratioY);
- Node435_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_0.a('node.width', 127*_ratio.ratioX);
- Node435_0.a('node.height', 32*_ratio.ratioY);
- Node435_0.a('node.type', Node435_0type);
- Node435_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_0.a('node.background', 'rgba(245,245,245,1)');
- Node435_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node435_0.a('node.gradient', '');
- Node435_0.a('node.borderwidth', Node435_0BorderWidth);
- Node435_0.a('node.color', 'rgba(192,192,192,0)');
- Node435_0.a('node.fillrect', [0,0,0,0]);
- Node435_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_0.a('node.fillgradient', '');
- if (Node435_0type !== 'rect') {
- Node435_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_0type === 'arc') {
- Node435_0.a('node.arcOval', true);
- }
- Node435_0.setRotation(0*Math.PI/180);
- Node435_0.borderWidth = Node435_0BorderWidth;
- Node435_0.borderFillwidth = Node435_0BorderWidth;
- dataModel.add(Node435_0);
- Node435_0._nodename = 'Node435_0'
- Node435_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_0, Node435_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_1type = 'rect';
- var Node435_1 = new ht.Node(),
- Node435_1BorderWidth = 0*2;
- if (Node435_1type === 'arc') {
- Node435_1BorderWidth *= 0;
- }
- Node435_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_1.setPosition(721*ratio.ratioX, 147*ratio.ratioY);
- Node435_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_1.a('node.width', 127*_ratio.ratioX);
- Node435_1.a('node.height', 32*_ratio.ratioY);
- Node435_1.a('node.type', Node435_1type);
- Node435_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node435_1.a('node.gradientcolor', '');
- Node435_1.a('node.gradient', '');
- Node435_1.a('node.borderwidth', Node435_1BorderWidth);
- Node435_1.a('node.color', 'rgba(192,192,192,0)');
- Node435_1.a('node.fillrect', [0,0,0,0]);
- Node435_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_1.a('node.fillgradient', '');
- if (Node435_1type !== 'rect') {
- Node435_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_1type === 'arc') {
- Node435_1.a('node.arcOval', true);
- }
- Node435_1.setRotation(0*Math.PI/180);
- Node435_1.borderWidth = Node435_1BorderWidth;
- Node435_1.borderFillwidth = Node435_1BorderWidth;
- dataModel.add(Node435_1);
- Node435_1._nodename = 'Node435_1'
- Node435_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_1, Node435_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_2type = 'rect';
- var Node435_2 = new ht.Node(),
- Node435_2BorderWidth = 0*2;
- if (Node435_2type === 'arc') {
- Node435_2BorderWidth *= 0;
- }
- Node435_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_2.setPosition(721*ratio.ratioX, 179*ratio.ratioY);
- Node435_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_2.a('node.width', 127*_ratio.ratioX);
- Node435_2.a('node.height', 32*_ratio.ratioY);
- Node435_2.a('node.type', Node435_2type);
- Node435_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_2.a('node.background', 'rgba(245,245,245,1)');
- Node435_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node435_2.a('node.gradient', '');
- Node435_2.a('node.borderwidth', Node435_2BorderWidth);
- Node435_2.a('node.color', 'rgba(192,192,192,0)');
- Node435_2.a('node.fillrect', [0,0,0,0]);
- Node435_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_2.a('node.fillgradient', '');
- if (Node435_2type !== 'rect') {
- Node435_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_2type === 'arc') {
- Node435_2.a('node.arcOval', true);
- }
- Node435_2.setRotation(0*Math.PI/180);
- Node435_2.borderWidth = Node435_2BorderWidth;
- Node435_2.borderFillwidth = Node435_2BorderWidth;
- dataModel.add(Node435_2);
- Node435_2._nodename = 'Node435_2'
- Node435_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_2, Node435_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_3type = 'rect';
- var Node435_3 = new ht.Node(),
- Node435_3BorderWidth = 0*2;
- if (Node435_3type === 'arc') {
- Node435_3BorderWidth *= 0;
- }
- Node435_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_3.setPosition(721*ratio.ratioX, 210*ratio.ratioY);
- Node435_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_3.a('node.width', 127*_ratio.ratioX);
- Node435_3.a('node.height', 32*_ratio.ratioY);
- Node435_3.a('node.type', Node435_3type);
- Node435_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node435_3.a('node.gradientcolor', '');
- Node435_3.a('node.gradient', '');
- Node435_3.a('node.borderwidth', Node435_3BorderWidth);
- Node435_3.a('node.color', 'rgba(192,192,192,0)');
- Node435_3.a('node.fillrect', [0,0,0,0]);
- Node435_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_3.a('node.fillgradient', '');
- if (Node435_3type !== 'rect') {
- Node435_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_3type === 'arc') {
- Node435_3.a('node.arcOval', true);
- }
- Node435_3.setRotation(0*Math.PI/180);
- Node435_3.borderWidth = Node435_3BorderWidth;
- Node435_3.borderFillwidth = Node435_3BorderWidth;
- dataModel.add(Node435_3);
- Node435_3._nodename = 'Node435_3'
- Node435_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_3, Node435_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_4type = 'rect';
- var Node435_4 = new ht.Node(),
- Node435_4BorderWidth = 0*2;
- if (Node435_4type === 'arc') {
- Node435_4BorderWidth *= 0;
- }
- Node435_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_4.setPosition(721*ratio.ratioX, 241*ratio.ratioY);
- Node435_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_4.a('node.width', 127*_ratio.ratioX);
- Node435_4.a('node.height', 32*_ratio.ratioY);
- Node435_4.a('node.type', Node435_4type);
- Node435_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_4.a('node.background', 'rgba(245,245,245,1)');
- Node435_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node435_4.a('node.gradient', '');
- Node435_4.a('node.borderwidth', Node435_4BorderWidth);
- Node435_4.a('node.color', 'rgba(192,192,192,0)');
- Node435_4.a('node.fillrect', [0,0,0,0]);
- Node435_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_4.a('node.fillgradient', '');
- if (Node435_4type !== 'rect') {
- Node435_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_4type === 'arc') {
- Node435_4.a('node.arcOval', true);
- }
- Node435_4.setRotation(0*Math.PI/180);
- Node435_4.borderWidth = Node435_4BorderWidth;
- Node435_4.borderFillwidth = Node435_4BorderWidth;
- dataModel.add(Node435_4);
- Node435_4._nodename = 'Node435_4'
- Node435_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_4, Node435_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_5type = 'rect';
- var Node435_5 = new ht.Node(),
- Node435_5BorderWidth = 0*2;
- if (Node435_5type === 'arc') {
- Node435_5BorderWidth *= 0;
- }
- Node435_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_5.setPosition(721*ratio.ratioX, 272*ratio.ratioY);
- Node435_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_5.a('node.width', 127*_ratio.ratioX);
- Node435_5.a('node.height', 32*_ratio.ratioY);
- Node435_5.a('node.type', Node435_5type);
- Node435_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node435_5.a('node.gradientcolor', '');
- Node435_5.a('node.gradient', '');
- Node435_5.a('node.borderwidth', Node435_5BorderWidth);
- Node435_5.a('node.color', 'rgba(192,192,192,0)');
- Node435_5.a('node.fillrect', [0,0,0,0]);
- Node435_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_5.a('node.fillgradient', '');
- if (Node435_5type !== 'rect') {
- Node435_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_5type === 'arc') {
- Node435_5.a('node.arcOval', true);
- }
- Node435_5.setRotation(0*Math.PI/180);
- Node435_5.borderWidth = Node435_5BorderWidth;
- Node435_5.borderFillwidth = Node435_5BorderWidth;
- dataModel.add(Node435_5);
- Node435_5._nodename = 'Node435_5'
- Node435_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_5, Node435_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_6type = 'rect';
- var Node435_6 = new ht.Node(),
- Node435_6BorderWidth = 0*2;
- if (Node435_6type === 'arc') {
- Node435_6BorderWidth *= 0;
- }
- Node435_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node435_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_6.setPosition(721*ratio.ratioX, 303*ratio.ratioY);
- Node435_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node435_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_6.a('node.width', 127*_ratio.ratioX);
- Node435_6.a('node.height', 32*_ratio.ratioY);
- Node435_6.a('node.type', Node435_6type);
- Node435_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node435_6.a('node.background', 'rgba(245,245,245,1)');
- Node435_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node435_6.a('node.gradient', '');
- Node435_6.a('node.borderwidth', Node435_6BorderWidth);
- Node435_6.a('node.color', 'rgba(192,192,192,0)');
- Node435_6.a('node.fillrect', [0,0,0,0]);
- Node435_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_6.a('node.fillgradient', '');
- if (Node435_6type !== 'rect') {
- Node435_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_6type === 'arc') {
- Node435_6.a('node.arcOval', true);
- }
- Node435_6.setRotation(0*Math.PI/180);
- Node435_6.borderWidth = Node435_6BorderWidth;
- Node435_6.borderFillwidth = Node435_6BorderWidth;
- dataModel.add(Node435_6);
- Node435_6._nodename = 'Node435_6'
- Node435_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_6, Node435_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_7type = 'rect';
- var Node435_7 = new ht.Node(),
- Node435_7BorderWidth = 1*2;
- if (Node435_7type === 'arc') {
- Node435_7BorderWidth *= 1;
- }
- Node435_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node435_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node435_7.setPosition(721*ratio.ratioX, 164*ratio.ratioY);
- Node435_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node435_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node435_7.a('node.width', 127*_ratio.ratioX);
- Node435_7.a('node.height', 309*_ratio.ratioY);
- Node435_7.a('node.type', Node435_7type);
- Node435_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node435_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node435_7.a('node.gradientcolor', '');
- Node435_7.a('node.gradient', '');
- Node435_7.a('node.borderwidth', Node435_7BorderWidth);
- Node435_7.a('node.color', 'rgba(192,192,192,1)');
- Node435_7.a('node.fillrect', [0,0,0,0]);
- Node435_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node435_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node435_7.a('node.fillgradient', '');
- if (Node435_7type !== 'rect') {
- Node435_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node435_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node435_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node435_7type === 'arc') {
- Node435_7.a('node.arcOval', true);
- }
- Node435_7.setRotation(0*Math.PI/180);
- Node435_7.borderWidth = Node435_7BorderWidth;
- Node435_7.borderFillwidth = Node435_7BorderWidth;
- dataModel.add(Node435_7);
- Node435_7._nodename = 'Node435_7'
- Node435_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node435_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);
- }
- })(Node435_7, Node435_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_8 = new ht.Node();
- var Node435_8textStart, Node435_8textWidth, Node435_8lineStart, Node435_8align = 'center', Node435_8fontSize = 13.3333*_ratio.ratioY,Node435_8width = 80*_ratio.ratioX, Node435_8height = 16*_ratio.ratioY;
- (function () {
- if (Node435_8align === 'left') {
- Node435_8textStart = Node435_8fontSize * 0.2 > 2 ? Node435_8fontSize * 0.2 - 4 : Node435_8fontSize * 0.2 - 9;
- Node435_8textWidth = Node435_8width;
- Node435_8lineStart = 1;
- } else if (Node435_8align === 'right') {
- Node435_8textStart = 0;
- Node435_8textWidth =Node435_8fontSize <= 8 ? Node435_8width + Node435_8fontSize * 0.2 + 6 : Node435_8width - Node435_8fontSize * 0.2;
- Node435_8lineStart = (Node435_8width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node435_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node435_8align === 'center') {
- Node435_8textStart = -3;
- Node435_8textWidth = Node435_8width;
- Node435_8lineStart = Node435_8width - ht.Default.getTextSize('年利用小时', 'bold '+ Node435_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node435_8.setImage(GD.getTextJSON(Node435_8width, Node435_8height, true, false, false, 'bold '+ Node435_8fontSize + 'px "Arial"'))
- Node435_8.setPosition(718*ratio.ratioX, 28*ratio.ratioY);
- Node435_8.setWidth(Node435_8width);
- Node435_8.setHeight(Node435_8height);
- Node435_8._nodeType = 'text';
- Node435_8._disallowEvert = true;
- Node435_8.setRotation(0*Math.PI/180);
- Node435_8.a('node.width', Node435_8width);
- Node435_8.a('node.height', Node435_8height);
- Node435_8.a('node.rect', [0, 0, Node435_8width, Node435_8height]);
- Node435_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node435_8.a('node.borderwidth', 0);
- Node435_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_8.a('node.gradient','');
- Node435_8.a('node.gradientcolor','');
- Node435_8.a('node.text','年利用小时');
- Node435_8.a('node.textalign','center');
- Node435_8.a('node.textvAlign','middle');
- Node435_8.a('node.textrect', [Node435_8textStart, 0, Node435_8textWidth, Node435_8height]);
- Node435_8.a('node.color','rgba(255,255,255,1)');
- Node435_8.a('node.font','bold '+ Node435_8fontSize + 'px "Arial"');
- Node435_8.a('node.textvisible',true);
- Node435_8.a('node.linefeed',false);
- if (false) {
- Node435_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_8.a('node.text') || '年利用小时';
- var color=Node435_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_8width,Node435_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node435_8.a('node.underlinepoints',[Node435_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_8fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node435_8fontSize + 'px "Arial"').width + 6, (Node435_8height - Node435_8fontSize) * 0.5*_ratio.ratioY + Node435_8fontSize + 2 ]);
- Node435_8.a('node.underlinevisible',false);
- Node435_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_8);
- zoomNodeList.push({
- node: Node435_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_9 = new ht.Node();
- var Node435_9textStart, Node435_9textWidth, Node435_9lineStart, Node435_9align = 'center', Node435_9fontSize = 11.99997*_ratio.ratioY,Node435_9width = 41*_ratio.ratioX, Node435_9height = 15*_ratio.ratioY;
- (function () {
- if (Node435_9align === 'left') {
- Node435_9textStart = Node435_9fontSize * 0.2 > 2 ? Node435_9fontSize * 0.2 - 4 : Node435_9fontSize * 0.2 - 9;
- Node435_9textWidth = Node435_9width;
- Node435_9lineStart = 1;
- } else if (Node435_9align === 'right') {
- Node435_9textStart = 0;
- Node435_9textWidth =Node435_9fontSize <= 8 ? Node435_9width + Node435_9fontSize * 0.2 + 6 : Node435_9width - Node435_9fontSize * 0.2;
- Node435_9lineStart = (Node435_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node435_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node435_9align === 'center') {
- Node435_9textStart = -3;
- Node435_9textWidth = Node435_9width;
- Node435_9lineStart = Node435_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node435_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node435_9.setImage(GD.getTextJSON(Node435_9width, Node435_9height, true, false, false, 'bold '+ Node435_9fontSize + 'px "Arial"'))
- Node435_9.setPosition(718*ratio.ratioX, 56*ratio.ratioY);
- Node435_9.setWidth(Node435_9width);
- Node435_9.setHeight(Node435_9height);
- Node435_9._nodeType = 'text';
- Node435_9._disallowEvert = true;
- Node435_9.setRotation(0*Math.PI/180);
- Node435_9.a('node.width', Node435_9width);
- Node435_9.a('node.height', Node435_9height);
- Node435_9.a('node.rect', [0, 0, Node435_9width, Node435_9height]);
- Node435_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node435_9.a('node.borderwidth', 0);
- Node435_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_9.a('node.gradient','');
- Node435_9.a('node.gradientcolor','');
- Node435_9.a('node.text','万kwh');
- Node435_9.a('node.textalign','center');
- Node435_9.a('node.textvAlign','middle');
- Node435_9.a('node.textrect', [Node435_9textStart, 0, Node435_9textWidth, Node435_9height]);
- Node435_9.a('node.color','rgba(128,128,128,1)');
- Node435_9.a('node.font','bold '+ Node435_9fontSize + 'px "Arial"');
- Node435_9.a('node.textvisible',true);
- Node435_9.a('node.linefeed',false);
- if (false) {
- Node435_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_9.a('node.text') || '万kwh';
- var color=Node435_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node435_9width,Node435_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node435_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node435_9.a('node.underlinepoints',[Node435_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node435_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node435_9fontSize + 'px "Arial"').width + 6, (Node435_9height - Node435_9fontSize) * 0.5*_ratio.ratioY + Node435_9fontSize + 2 ]);
- Node435_9.a('node.underlinevisible',false);
- Node435_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_9);
- zoomNodeList.push({
- node: Node435_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_10 = new ht.Node();
- var Node435_10textStart, Node435_10textWidth, Node435_10lineStart, Node435_10align = 'center', Node435_10fontSize = 13.3333*_ratio.ratioY,Node435_10width = 39*_ratio.ratioX, Node435_10height = 16*_ratio.ratioY;
- (function () {
- if (Node435_10align === 'left') {
- Node435_10textStart = Node435_10fontSize * 0.2 > 2 ? Node435_10fontSize * 0.2 - 4 : Node435_10fontSize * 0.2 - 9;
- Node435_10textWidth = Node435_10width;
- Node435_10lineStart = 1;
- } else if (Node435_10align === 'right') {
- Node435_10textStart = 0;
- Node435_10textWidth =Node435_10fontSize <= 8 ? Node435_10width + Node435_10fontSize * 0.2 + 6 : Node435_10width - Node435_10fontSize * 0.2;
- Node435_10lineStart = (Node435_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node435_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_10align === 'center') {
- Node435_10textStart = -3;
- Node435_10textWidth = Node435_10width;
- Node435_10lineStart = Node435_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node435_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_10.setImage(GD.getTextJSON(Node435_10width, Node435_10height, true, false, false, 'bold '+ Node435_10fontSize + 'px "UniDreamLED"'))
- Node435_10.setPosition(718*ratio.ratioX, 83*ratio.ratioY);
- Node435_10.setWidth(Node435_10width);
- Node435_10.setHeight(Node435_10height);
- Node435_10._nodeType = 'text';
- Node435_10._disallowEvert = true;
- Node435_10.setRotation(0*Math.PI/180);
- Node435_10.a('node.width', Node435_10width);
- Node435_10.a('node.height', Node435_10height);
- Node435_10.a('node.rect', [0, 0, Node435_10width, Node435_10height]);
- Node435_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_10.a('node.borderwidth', 0);
- Node435_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_10.a('node.gradient','');
- Node435_10.a('node.gradientcolor','');
- Node435_10.a('node.text','1134.76');
- Node435_10.a('node.textalign','center');
- Node435_10.a('node.textvAlign','middle');
- Node435_10.a('node.textrect', [Node435_10textStart, 0, Node435_10textWidth, Node435_10height]);
- Node435_10.a('node.color','rgba(0,0,0,1)');
- Node435_10.a('node.font','bold '+ Node435_10fontSize + 'px "UniDreamLED"');
- Node435_10.a('node.textvisible',true);
- Node435_10.a('node.linefeed',false);
- if (false) {
- Node435_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_10.a('node.text') || '1134.76';
- var color=Node435_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_10width,Node435_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_10.a('node.underlinepoints',[Node435_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node435_10fontSize + 'px "UniDreamLED"').width + 6, (Node435_10height - Node435_10fontSize) * 0.5*_ratio.ratioY + Node435_10fontSize + 2 ]);
- Node435_10.a('node.underlinevisible',false);
- Node435_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_10);
- zoomNodeList.push({
- node: Node435_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_11 = new ht.Node();
- var Node435_11textStart, Node435_11textWidth, Node435_11lineStart, Node435_11align = 'center', Node435_11fontSize = 13.3333*_ratio.ratioY,Node435_11width = 28*_ratio.ratioX, Node435_11height = 16*_ratio.ratioY;
- (function () {
- if (Node435_11align === 'left') {
- Node435_11textStart = Node435_11fontSize * 0.2 > 2 ? Node435_11fontSize * 0.2 - 4 : Node435_11fontSize * 0.2 - 9;
- Node435_11textWidth = Node435_11width;
- Node435_11lineStart = 1;
- } else if (Node435_11align === 'right') {
- Node435_11textStart = 0;
- Node435_11textWidth =Node435_11fontSize <= 8 ? Node435_11width + Node435_11fontSize * 0.2 + 6 : Node435_11width - Node435_11fontSize * 0.2;
- Node435_11lineStart = (Node435_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node435_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_11align === 'center') {
- Node435_11textStart = -3;
- Node435_11textWidth = Node435_11width;
- Node435_11lineStart = Node435_11width - ht.Default.getTextSize('171.51', 'bold '+ Node435_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_11.setImage(GD.getTextJSON(Node435_11width, Node435_11height, true, false, false, 'bold '+ Node435_11fontSize + 'px "UniDreamLED"'))
- Node435_11.setPosition(721*ratio.ratioX, 115*ratio.ratioY);
- Node435_11.setWidth(Node435_11width);
- Node435_11.setHeight(Node435_11height);
- Node435_11._nodeType = 'text';
- Node435_11._disallowEvert = true;
- Node435_11.setRotation(0*Math.PI/180);
- Node435_11.a('node.width', Node435_11width);
- Node435_11.a('node.height', Node435_11height);
- Node435_11.a('node.rect', [0, 0, Node435_11width, Node435_11height]);
- Node435_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_11.a('node.borderwidth', 0);
- Node435_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_11.a('node.gradient','');
- Node435_11.a('node.gradientcolor','');
- Node435_11.a('node.text','171.51');
- Node435_11.a('node.textalign','center');
- Node435_11.a('node.textvAlign','middle');
- Node435_11.a('node.textrect', [Node435_11textStart, 0, Node435_11textWidth, Node435_11height]);
- Node435_11.a('node.color','rgba(0,0,0,1)');
- Node435_11.a('node.font','bold '+ Node435_11fontSize + 'px "UniDreamLED"');
- Node435_11.a('node.textvisible',true);
- Node435_11.a('node.linefeed',false);
- if (false) {
- Node435_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_11.a('node.text') || '171.51';
- var color=Node435_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_11width,Node435_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_11.a('node.underlinepoints',[Node435_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node435_11fontSize + 'px "UniDreamLED"').width + 6, (Node435_11height - Node435_11fontSize) * 0.5*_ratio.ratioY + Node435_11fontSize + 2 ]);
- Node435_11.a('node.underlinevisible',false);
- Node435_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_11);
- zoomNodeList.push({
- node: Node435_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_12 = new ht.Node();
- var Node435_12textStart, Node435_12textWidth, Node435_12lineStart, Node435_12align = 'center', Node435_12fontSize = 13.3333*_ratio.ratioY,Node435_12width = 36*_ratio.ratioX, Node435_12height = 16*_ratio.ratioY;
- (function () {
- if (Node435_12align === 'left') {
- Node435_12textStart = Node435_12fontSize * 0.2 > 2 ? Node435_12fontSize * 0.2 - 4 : Node435_12fontSize * 0.2 - 9;
- Node435_12textWidth = Node435_12width;
- Node435_12lineStart = 1;
- } else if (Node435_12align === 'right') {
- Node435_12textStart = 0;
- Node435_12textWidth =Node435_12fontSize <= 8 ? Node435_12width + Node435_12fontSize * 0.2 + 6 : Node435_12width - Node435_12fontSize * 0.2;
- Node435_12lineStart = (Node435_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node435_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_12align === 'center') {
- Node435_12textStart = -3;
- Node435_12textWidth = Node435_12width;
- Node435_12lineStart = Node435_12width - ht.Default.getTextSize('329.51', 'bold '+ Node435_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_12.setImage(GD.getTextJSON(Node435_12width, Node435_12height, true, false, false, 'bold '+ Node435_12fontSize + 'px "UniDreamLED"'))
- Node435_12.setPosition(721*ratio.ratioX, 145*ratio.ratioY);
- Node435_12.setWidth(Node435_12width);
- Node435_12.setHeight(Node435_12height);
- Node435_12._nodeType = 'text';
- Node435_12._disallowEvert = true;
- Node435_12.setRotation(0*Math.PI/180);
- Node435_12.a('node.width', Node435_12width);
- Node435_12.a('node.height', Node435_12height);
- Node435_12.a('node.rect', [0, 0, Node435_12width, Node435_12height]);
- Node435_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_12.a('node.borderwidth', 0);
- Node435_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_12.a('node.gradient','');
- Node435_12.a('node.gradientcolor','');
- Node435_12.a('node.text','329.51');
- Node435_12.a('node.textalign','center');
- Node435_12.a('node.textvAlign','middle');
- Node435_12.a('node.textrect', [Node435_12textStart, 0, Node435_12textWidth, Node435_12height]);
- Node435_12.a('node.color','rgba(0,0,0,1)');
- Node435_12.a('node.font','bold '+ Node435_12fontSize + 'px "UniDreamLED"');
- Node435_12.a('node.textvisible',true);
- Node435_12.a('node.linefeed',false);
- if (false) {
- Node435_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_12.a('node.text') || '329.51';
- var color=Node435_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_12width,Node435_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_12.a('node.underlinepoints',[Node435_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node435_12fontSize + 'px "UniDreamLED"').width + 6, (Node435_12height - Node435_12fontSize) * 0.5*_ratio.ratioY + Node435_12fontSize + 2 ]);
- Node435_12.a('node.underlinevisible',false);
- Node435_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_12);
- zoomNodeList.push({
- node: Node435_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_13 = new ht.Node();
- var Node435_13textStart, Node435_13textWidth, Node435_13lineStart, Node435_13align = 'center', Node435_13fontSize = 13.3333*_ratio.ratioY,Node435_13width = 36*_ratio.ratioX, Node435_13height = 16*_ratio.ratioY;
- (function () {
- if (Node435_13align === 'left') {
- Node435_13textStart = Node435_13fontSize * 0.2 > 2 ? Node435_13fontSize * 0.2 - 4 : Node435_13fontSize * 0.2 - 9;
- Node435_13textWidth = Node435_13width;
- Node435_13lineStart = 1;
- } else if (Node435_13align === 'right') {
- Node435_13textStart = 0;
- Node435_13textWidth =Node435_13fontSize <= 8 ? Node435_13width + Node435_13fontSize * 0.2 + 6 : Node435_13width - Node435_13fontSize * 0.2;
- Node435_13lineStart = (Node435_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node435_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_13align === 'center') {
- Node435_13textStart = -3;
- Node435_13textWidth = Node435_13width;
- Node435_13lineStart = Node435_13width - ht.Default.getTextSize('340.14', 'bold '+ Node435_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_13.setImage(GD.getTextJSON(Node435_13width, Node435_13height, true, false, false, 'bold '+ Node435_13fontSize + 'px "UniDreamLED"'))
- Node435_13.setPosition(721*ratio.ratioX, 175*ratio.ratioY);
- Node435_13.setWidth(Node435_13width);
- Node435_13.setHeight(Node435_13height);
- Node435_13._nodeType = 'text';
- Node435_13._disallowEvert = true;
- Node435_13.setRotation(0*Math.PI/180);
- Node435_13.a('node.width', Node435_13width);
- Node435_13.a('node.height', Node435_13height);
- Node435_13.a('node.rect', [0, 0, Node435_13width, Node435_13height]);
- Node435_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_13.a('node.borderwidth', 0);
- Node435_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_13.a('node.gradient','');
- Node435_13.a('node.gradientcolor','');
- Node435_13.a('node.text','340.14');
- Node435_13.a('node.textalign','center');
- Node435_13.a('node.textvAlign','middle');
- Node435_13.a('node.textrect', [Node435_13textStart, 0, Node435_13textWidth, Node435_13height]);
- Node435_13.a('node.color','rgba(0,0,0,1)');
- Node435_13.a('node.font','bold '+ Node435_13fontSize + 'px "UniDreamLED"');
- Node435_13.a('node.textvisible',true);
- Node435_13.a('node.linefeed',false);
- if (false) {
- Node435_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_13.a('node.text') || '340.14';
- var color=Node435_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_13width,Node435_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_13.a('node.underlinepoints',[Node435_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node435_13fontSize + 'px "UniDreamLED"').width + 6, (Node435_13height - Node435_13fontSize) * 0.5*_ratio.ratioY + Node435_13fontSize + 2 ]);
- Node435_13.a('node.underlinevisible',false);
- Node435_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_13);
- zoomNodeList.push({
- node: Node435_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_14 = new ht.Node();
- var Node435_14textStart, Node435_14textWidth, Node435_14lineStart, Node435_14align = 'center', Node435_14fontSize = 13.3333*_ratio.ratioY,Node435_14width = 29*_ratio.ratioX, Node435_14height = 16*_ratio.ratioY;
- (function () {
- if (Node435_14align === 'left') {
- Node435_14textStart = Node435_14fontSize * 0.2 > 2 ? Node435_14fontSize * 0.2 - 4 : Node435_14fontSize * 0.2 - 9;
- Node435_14textWidth = Node435_14width;
- Node435_14lineStart = 1;
- } else if (Node435_14align === 'right') {
- Node435_14textStart = 0;
- Node435_14textWidth =Node435_14fontSize <= 8 ? Node435_14width + Node435_14fontSize * 0.2 + 6 : Node435_14width - Node435_14fontSize * 0.2;
- Node435_14lineStart = (Node435_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node435_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_14align === 'center') {
- Node435_14textStart = -3;
- Node435_14textWidth = Node435_14width;
- Node435_14lineStart = Node435_14width - ht.Default.getTextSize('60.61', 'bold '+ Node435_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_14.setImage(GD.getTextJSON(Node435_14width, Node435_14height, true, false, false, 'bold '+ Node435_14fontSize + 'px "UniDreamLED"'))
- Node435_14.setPosition(721*ratio.ratioX, 209*ratio.ratioY);
- Node435_14.setWidth(Node435_14width);
- Node435_14.setHeight(Node435_14height);
- Node435_14._nodeType = 'text';
- Node435_14._disallowEvert = true;
- Node435_14.setRotation(0*Math.PI/180);
- Node435_14.a('node.width', Node435_14width);
- Node435_14.a('node.height', Node435_14height);
- Node435_14.a('node.rect', [0, 0, Node435_14width, Node435_14height]);
- Node435_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_14.a('node.borderwidth', 0);
- Node435_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_14.a('node.gradient','');
- Node435_14.a('node.gradientcolor','');
- Node435_14.a('node.text','60.61');
- Node435_14.a('node.textalign','center');
- Node435_14.a('node.textvAlign','middle');
- Node435_14.a('node.textrect', [Node435_14textStart, 0, Node435_14textWidth, Node435_14height]);
- Node435_14.a('node.color','rgba(0,0,0,1)');
- Node435_14.a('node.font','bold '+ Node435_14fontSize + 'px "UniDreamLED"');
- Node435_14.a('node.textvisible',true);
- Node435_14.a('node.linefeed',false);
- if (false) {
- Node435_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_14.a('node.text') || '60.61';
- var color=Node435_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_14width,Node435_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_14.a('node.underlinepoints',[Node435_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node435_14fontSize + 'px "UniDreamLED"').width + 6, (Node435_14height - Node435_14fontSize) * 0.5*_ratio.ratioY + Node435_14fontSize + 2 ]);
- Node435_14.a('node.underlinevisible',false);
- Node435_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_14);
- zoomNodeList.push({
- node: Node435_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_15 = new ht.Node();
- var Node435_15textStart, Node435_15textWidth, Node435_15lineStart, Node435_15align = 'center', Node435_15fontSize = 13.3333*_ratio.ratioY,Node435_15width = 36*_ratio.ratioX, Node435_15height = 16*_ratio.ratioY;
- (function () {
- if (Node435_15align === 'left') {
- Node435_15textStart = Node435_15fontSize * 0.2 > 2 ? Node435_15fontSize * 0.2 - 4 : Node435_15fontSize * 0.2 - 9;
- Node435_15textWidth = Node435_15width;
- Node435_15lineStart = 1;
- } else if (Node435_15align === 'right') {
- Node435_15textStart = 0;
- Node435_15textWidth =Node435_15fontSize <= 8 ? Node435_15width + Node435_15fontSize * 0.2 + 6 : Node435_15width - Node435_15fontSize * 0.2;
- Node435_15lineStart = (Node435_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node435_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_15align === 'center') {
- Node435_15textStart = -3;
- Node435_15textWidth = Node435_15width;
- Node435_15lineStart = Node435_15width - ht.Default.getTextSize('166.79', 'bold '+ Node435_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_15.setImage(GD.getTextJSON(Node435_15width, Node435_15height, true, false, false, 'bold '+ Node435_15fontSize + 'px "UniDreamLED"'))
- Node435_15.setPosition(721*ratio.ratioX, 242*ratio.ratioY);
- Node435_15.setWidth(Node435_15width);
- Node435_15.setHeight(Node435_15height);
- Node435_15._nodeType = 'text';
- Node435_15._disallowEvert = true;
- Node435_15.setRotation(0*Math.PI/180);
- Node435_15.a('node.width', Node435_15width);
- Node435_15.a('node.height', Node435_15height);
- Node435_15.a('node.rect', [0, 0, Node435_15width, Node435_15height]);
- Node435_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_15.a('node.borderwidth', 0);
- Node435_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_15.a('node.gradient','');
- Node435_15.a('node.gradientcolor','');
- Node435_15.a('node.text','166.79');
- Node435_15.a('node.textalign','center');
- Node435_15.a('node.textvAlign','middle');
- Node435_15.a('node.textrect', [Node435_15textStart, 0, Node435_15textWidth, Node435_15height]);
- Node435_15.a('node.color','rgba(0,0,0,1)');
- Node435_15.a('node.font','bold '+ Node435_15fontSize + 'px "UniDreamLED"');
- Node435_15.a('node.textvisible',true);
- Node435_15.a('node.linefeed',false);
- if (false) {
- Node435_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_15.a('node.text') || '166.79';
- var color=Node435_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_15width,Node435_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_15.a('node.underlinepoints',[Node435_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node435_15fontSize + 'px "UniDreamLED"').width + 6, (Node435_15height - Node435_15fontSize) * 0.5*_ratio.ratioY + Node435_15fontSize + 2 ]);
- Node435_15.a('node.underlinevisible',false);
- Node435_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_15);
- zoomNodeList.push({
- node: Node435_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_16 = new ht.Node();
- var Node435_16textStart, Node435_16textWidth, Node435_16lineStart, Node435_16align = 'center', Node435_16fontSize = 13.3333*_ratio.ratioY,Node435_16width = 29*_ratio.ratioX, Node435_16height = 16*_ratio.ratioY;
- (function () {
- if (Node435_16align === 'left') {
- Node435_16textStart = Node435_16fontSize * 0.2 > 2 ? Node435_16fontSize * 0.2 - 4 : Node435_16fontSize * 0.2 - 9;
- Node435_16textWidth = Node435_16width;
- Node435_16lineStart = 1;
- } else if (Node435_16align === 'right') {
- Node435_16textStart = 0;
- Node435_16textWidth =Node435_16fontSize <= 8 ? Node435_16width + Node435_16fontSize * 0.2 + 6 : Node435_16width - Node435_16fontSize * 0.2;
- Node435_16lineStart = (Node435_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node435_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_16align === 'center') {
- Node435_16textStart = -3;
- Node435_16textWidth = Node435_16width;
- Node435_16lineStart = Node435_16width - ht.Default.getTextSize('66.18', 'bold '+ Node435_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_16.setImage(GD.getTextJSON(Node435_16width, Node435_16height, true, false, false, 'bold '+ Node435_16fontSize + 'px "UniDreamLED"'))
- Node435_16.setPosition(721*ratio.ratioX, 271*ratio.ratioY);
- Node435_16.setWidth(Node435_16width);
- Node435_16.setHeight(Node435_16height);
- Node435_16._nodeType = 'text';
- Node435_16._disallowEvert = true;
- Node435_16.setRotation(0*Math.PI/180);
- Node435_16.a('node.width', Node435_16width);
- Node435_16.a('node.height', Node435_16height);
- Node435_16.a('node.rect', [0, 0, Node435_16width, Node435_16height]);
- Node435_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_16.a('node.borderwidth', 0);
- Node435_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_16.a('node.gradient','');
- Node435_16.a('node.gradientcolor','');
- Node435_16.a('node.text','66.18');
- Node435_16.a('node.textalign','center');
- Node435_16.a('node.textvAlign','middle');
- Node435_16.a('node.textrect', [Node435_16textStart, 0, Node435_16textWidth, Node435_16height]);
- Node435_16.a('node.color','rgba(0,0,0,1)');
- Node435_16.a('node.font','bold '+ Node435_16fontSize + 'px "UniDreamLED"');
- Node435_16.a('node.textvisible',true);
- Node435_16.a('node.linefeed',false);
- if (false) {
- Node435_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_16.a('node.text') || '66.18';
- var color=Node435_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_16width,Node435_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_16.a('node.underlinepoints',[Node435_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node435_16fontSize + 'px "UniDreamLED"').width + 6, (Node435_16height - Node435_16fontSize) * 0.5*_ratio.ratioY + Node435_16fontSize + 2 ]);
- Node435_16.a('node.underlinevisible',false);
- Node435_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_16);
- zoomNodeList.push({
- node: Node435_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node435_17 = new ht.Node();
- var Node435_17textStart, Node435_17textWidth, Node435_17lineStart, Node435_17align = 'center', Node435_17fontSize = 13.3333*_ratio.ratioY,Node435_17width = 9*_ratio.ratioX, Node435_17height = 16*_ratio.ratioY;
- (function () {
- if (Node435_17align === 'left') {
- Node435_17textStart = Node435_17fontSize * 0.2 > 2 ? Node435_17fontSize * 0.2 - 4 : Node435_17fontSize * 0.2 - 9;
- Node435_17textWidth = Node435_17width;
- Node435_17lineStart = 1;
- } else if (Node435_17align === 'right') {
- Node435_17textStart = 0;
- Node435_17textWidth =Node435_17fontSize <= 8 ? Node435_17width + Node435_17fontSize * 0.2 + 6 : Node435_17width - Node435_17fontSize * 0.2;
- Node435_17lineStart = (Node435_17width - (ht.Default.getTextSize('-', 'bold '+ Node435_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node435_17align === 'center') {
- Node435_17textStart = -3;
- Node435_17textWidth = Node435_17width;
- Node435_17lineStart = Node435_17width - ht.Default.getTextSize('-', 'bold '+ Node435_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node435_17.setImage(GD.getTextJSON(Node435_17width, Node435_17height, true, false, false, 'bold '+ Node435_17fontSize + 'px "UniDreamLED"'))
- Node435_17.setPosition(721*ratio.ratioX, 302*ratio.ratioY);
- Node435_17.setWidth(Node435_17width);
- Node435_17.setHeight(Node435_17height);
- Node435_17._nodeType = 'text';
- Node435_17._disallowEvert = true;
- Node435_17.setRotation(0*Math.PI/180);
- Node435_17.a('node.width', Node435_17width);
- Node435_17.a('node.height', Node435_17height);
- Node435_17.a('node.rect', [0, 0, Node435_17width, Node435_17height]);
- Node435_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node435_17.a('node.borderwidth', 0);
- Node435_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node435_17.a('node.gradient','');
- Node435_17.a('node.gradientcolor','');
- Node435_17.a('node.text','-');
- Node435_17.a('node.textalign','center');
- Node435_17.a('node.textvAlign','middle');
- Node435_17.a('node.textrect', [Node435_17textStart, 0, Node435_17textWidth, Node435_17height]);
- Node435_17.a('node.color','rgba(0,0,0,1)');
- Node435_17.a('node.font','bold '+ Node435_17fontSize + 'px "UniDreamLED"');
- Node435_17.a('node.textvisible',true);
- Node435_17.a('node.linefeed',false);
- if (false) {
- Node435_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node435_17.a('node.text') || '-';
- var color=Node435_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node435_17width,Node435_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node435_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node435_17.a('node.underlinepoints',[Node435_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node435_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node435_17fontSize + 'px "UniDreamLED"').width + 6, (Node435_17height - Node435_17fontSize) * 0.5*_ratio.ratioY + Node435_17fontSize + 2 ]);
- Node435_17.a('node.underlinevisible',false);
- Node435_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node435_17);
- zoomNodeList.push({
- node: Node435_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node436_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');
- Node436_0 = new ht.Node();
- Node436_0.setPosition(722*ratio.ratioX, 162*ratio.ratioY);
- Node436_0.setSize(127*ratioX, 313*ratioY);
- Node436_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node436_0.setRotation(0*Math.PI/180);
- Node436_0._zoomBy = 'Default';
- Node436_0._nodeType = 'image';
- Node436_0._disallowEvert = true;
- dataModel.add(Node436_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node436_1 = new ht.Node();
- var Node436_1textStart, Node436_1textWidth, Node436_1lineStart, Node436_1align = 'center', Node436_1fontSize = 13.3333*_ratio.ratioY,Node436_1width = 80*_ratio.ratioX, Node436_1height = 16*_ratio.ratioY;
- (function () {
- if (Node436_1align === 'left') {
- Node436_1textStart = Node436_1fontSize * 0.2 > 2 ? Node436_1fontSize * 0.2 - 4 : Node436_1fontSize * 0.2 - 9;
- Node436_1textWidth = Node436_1width;
- Node436_1lineStart = 1;
- } else if (Node436_1align === 'right') {
- Node436_1textStart = 0;
- Node436_1textWidth =Node436_1fontSize <= 8 ? Node436_1width + Node436_1fontSize * 0.2 + 6 : Node436_1width - Node436_1fontSize * 0.2;
- Node436_1lineStart = (Node436_1width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node436_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node436_1align === 'center') {
- Node436_1textStart = -3;
- Node436_1textWidth = Node436_1width;
- Node436_1lineStart = Node436_1width - ht.Default.getTextSize('年利用小时', 'bold '+ Node436_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node436_1.setImage(GD.getTextJSON(Node436_1width, Node436_1height, true, false, false, 'bold '+ Node436_1fontSize + 'px "Arial"'))
- Node436_1.setPosition(717*ratio.ratioX, 27*ratio.ratioY);
- Node436_1.setWidth(Node436_1width);
- Node436_1.setHeight(Node436_1height);
- Node436_1._nodeType = 'text';
- Node436_1._disallowEvert = true;
- Node436_1.setRotation(0*Math.PI/180);
- Node436_1.a('node.width', Node436_1width);
- Node436_1.a('node.height', Node436_1height);
- Node436_1.a('node.rect', [0, 0, Node436_1width, Node436_1height]);
- Node436_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node436_1.a('node.borderwidth', 0);
- Node436_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node436_1.a('node.gradient','');
- Node436_1.a('node.gradientcolor','');
- Node436_1.a('node.text','年利用小时');
- Node436_1.a('node.textalign','center');
- Node436_1.a('node.textvAlign','middle');
- Node436_1.a('node.textrect', [Node436_1textStart, 0, Node436_1textWidth, Node436_1height]);
- Node436_1.a('node.color','rgba(255,255,255,1)');
- Node436_1.a('node.font','bold '+ Node436_1fontSize + 'px "Arial"');
- Node436_1.a('node.textvisible',true);
- Node436_1.a('node.linefeed',false);
- if (false) {
- Node436_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node436_1.a('node.text') || '年利用小时';
- var color=Node436_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node436_1width,Node436_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node436_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node436_1.a('node.underlinepoints',[Node436_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node436_1fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node436_1fontSize + 'px "Arial"').width + 6, (Node436_1height - Node436_1fontSize) * 0.5*_ratio.ratioY + Node436_1fontSize + 2 ]);
- Node436_1.a('node.underlinevisible',false);
- Node436_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node436_1);
- zoomNodeList.push({
- node: Node436_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_0type = 'rect';
- var Node437_0 = new ht.Node(),
- Node437_0BorderWidth = 0*2;
- if (Node437_0type === 'arc') {
- Node437_0BorderWidth *= 0;
- }
- Node437_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_0.setPosition(848*ratio.ratioX, 115*ratio.ratioY);
- Node437_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_0.a('node.width', 127*_ratio.ratioX);
- Node437_0.a('node.height', 32*_ratio.ratioY);
- Node437_0.a('node.type', Node437_0type);
- Node437_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_0.a('node.background', 'rgba(245,245,245,1)');
- Node437_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node437_0.a('node.gradient', '');
- Node437_0.a('node.borderwidth', Node437_0BorderWidth);
- Node437_0.a('node.color', 'rgba(192,192,192,0)');
- Node437_0.a('node.fillrect', [0,0,0,0]);
- Node437_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_0.a('node.fillgradient', '');
- if (Node437_0type !== 'rect') {
- Node437_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_0type === 'arc') {
- Node437_0.a('node.arcOval', true);
- }
- Node437_0.setRotation(0*Math.PI/180);
- Node437_0.borderWidth = Node437_0BorderWidth;
- Node437_0.borderFillwidth = Node437_0BorderWidth;
- dataModel.add(Node437_0);
- Node437_0._nodename = 'Node437_0'
- Node437_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_0, Node437_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_1type = 'rect';
- var Node437_1 = new ht.Node(),
- Node437_1BorderWidth = 0*2;
- if (Node437_1type === 'arc') {
- Node437_1BorderWidth *= 0;
- }
- Node437_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_1.setPosition(848*ratio.ratioX, 147*ratio.ratioY);
- Node437_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_1.a('node.width', 127*_ratio.ratioX);
- Node437_1.a('node.height', 32*_ratio.ratioY);
- Node437_1.a('node.type', Node437_1type);
- Node437_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node437_1.a('node.gradientcolor', '');
- Node437_1.a('node.gradient', '');
- Node437_1.a('node.borderwidth', Node437_1BorderWidth);
- Node437_1.a('node.color', 'rgba(192,192,192,0)');
- Node437_1.a('node.fillrect', [0,0,0,0]);
- Node437_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_1.a('node.fillgradient', '');
- if (Node437_1type !== 'rect') {
- Node437_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_1type === 'arc') {
- Node437_1.a('node.arcOval', true);
- }
- Node437_1.setRotation(0*Math.PI/180);
- Node437_1.borderWidth = Node437_1BorderWidth;
- Node437_1.borderFillwidth = Node437_1BorderWidth;
- dataModel.add(Node437_1);
- Node437_1._nodename = 'Node437_1'
- Node437_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_1, Node437_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_2type = 'rect';
- var Node437_2 = new ht.Node(),
- Node437_2BorderWidth = 0*2;
- if (Node437_2type === 'arc') {
- Node437_2BorderWidth *= 0;
- }
- Node437_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_2.setPosition(848*ratio.ratioX, 179*ratio.ratioY);
- Node437_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_2.a('node.width', 127*_ratio.ratioX);
- Node437_2.a('node.height', 32*_ratio.ratioY);
- Node437_2.a('node.type', Node437_2type);
- Node437_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_2.a('node.background', 'rgba(245,245,245,1)');
- Node437_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node437_2.a('node.gradient', '');
- Node437_2.a('node.borderwidth', Node437_2BorderWidth);
- Node437_2.a('node.color', 'rgba(192,192,192,0)');
- Node437_2.a('node.fillrect', [0,0,0,0]);
- Node437_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_2.a('node.fillgradient', '');
- if (Node437_2type !== 'rect') {
- Node437_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_2type === 'arc') {
- Node437_2.a('node.arcOval', true);
- }
- Node437_2.setRotation(0*Math.PI/180);
- Node437_2.borderWidth = Node437_2BorderWidth;
- Node437_2.borderFillwidth = Node437_2BorderWidth;
- dataModel.add(Node437_2);
- Node437_2._nodename = 'Node437_2'
- Node437_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_2, Node437_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_3type = 'rect';
- var Node437_3 = new ht.Node(),
- Node437_3BorderWidth = 0*2;
- if (Node437_3type === 'arc') {
- Node437_3BorderWidth *= 0;
- }
- Node437_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_3.setPosition(848*ratio.ratioX, 210*ratio.ratioY);
- Node437_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_3.a('node.width', 127*_ratio.ratioX);
- Node437_3.a('node.height', 32*_ratio.ratioY);
- Node437_3.a('node.type', Node437_3type);
- Node437_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node437_3.a('node.gradientcolor', '');
- Node437_3.a('node.gradient', '');
- Node437_3.a('node.borderwidth', Node437_3BorderWidth);
- Node437_3.a('node.color', 'rgba(192,192,192,0)');
- Node437_3.a('node.fillrect', [0,0,0,0]);
- Node437_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_3.a('node.fillgradient', '');
- if (Node437_3type !== 'rect') {
- Node437_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_3type === 'arc') {
- Node437_3.a('node.arcOval', true);
- }
- Node437_3.setRotation(0*Math.PI/180);
- Node437_3.borderWidth = Node437_3BorderWidth;
- Node437_3.borderFillwidth = Node437_3BorderWidth;
- dataModel.add(Node437_3);
- Node437_3._nodename = 'Node437_3'
- Node437_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_3, Node437_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_4type = 'rect';
- var Node437_4 = new ht.Node(),
- Node437_4BorderWidth = 0*2;
- if (Node437_4type === 'arc') {
- Node437_4BorderWidth *= 0;
- }
- Node437_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_4.setPosition(848*ratio.ratioX, 241*ratio.ratioY);
- Node437_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_4.a('node.width', 127*_ratio.ratioX);
- Node437_4.a('node.height', 32*_ratio.ratioY);
- Node437_4.a('node.type', Node437_4type);
- Node437_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_4.a('node.background', 'rgba(245,245,245,1)');
- Node437_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node437_4.a('node.gradient', '');
- Node437_4.a('node.borderwidth', Node437_4BorderWidth);
- Node437_4.a('node.color', 'rgba(192,192,192,0)');
- Node437_4.a('node.fillrect', [0,0,0,0]);
- Node437_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_4.a('node.fillgradient', '');
- if (Node437_4type !== 'rect') {
- Node437_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_4type === 'arc') {
- Node437_4.a('node.arcOval', true);
- }
- Node437_4.setRotation(0*Math.PI/180);
- Node437_4.borderWidth = Node437_4BorderWidth;
- Node437_4.borderFillwidth = Node437_4BorderWidth;
- dataModel.add(Node437_4);
- Node437_4._nodename = 'Node437_4'
- Node437_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_4, Node437_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_5type = 'rect';
- var Node437_5 = new ht.Node(),
- Node437_5BorderWidth = 0*2;
- if (Node437_5type === 'arc') {
- Node437_5BorderWidth *= 0;
- }
- Node437_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_5.setPosition(848*ratio.ratioX, 272*ratio.ratioY);
- Node437_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_5.a('node.width', 127*_ratio.ratioX);
- Node437_5.a('node.height', 32*_ratio.ratioY);
- Node437_5.a('node.type', Node437_5type);
- Node437_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node437_5.a('node.gradientcolor', '');
- Node437_5.a('node.gradient', '');
- Node437_5.a('node.borderwidth', Node437_5BorderWidth);
- Node437_5.a('node.color', 'rgba(192,192,192,0)');
- Node437_5.a('node.fillrect', [0,0,0,0]);
- Node437_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_5.a('node.fillgradient', '');
- if (Node437_5type !== 'rect') {
- Node437_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_5type === 'arc') {
- Node437_5.a('node.arcOval', true);
- }
- Node437_5.setRotation(0*Math.PI/180);
- Node437_5.borderWidth = Node437_5BorderWidth;
- Node437_5.borderFillwidth = Node437_5BorderWidth;
- dataModel.add(Node437_5);
- Node437_5._nodename = 'Node437_5'
- Node437_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_5, Node437_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_6type = 'rect';
- var Node437_6 = new ht.Node(),
- Node437_6BorderWidth = 0*2;
- if (Node437_6type === 'arc') {
- Node437_6BorderWidth *= 0;
- }
- Node437_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node437_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_6.setPosition(848*ratio.ratioX, 303*ratio.ratioY);
- Node437_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node437_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_6.a('node.width', 127*_ratio.ratioX);
- Node437_6.a('node.height', 32*_ratio.ratioY);
- Node437_6.a('node.type', Node437_6type);
- Node437_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node437_6.a('node.background', 'rgba(245,245,245,1)');
- Node437_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node437_6.a('node.gradient', '');
- Node437_6.a('node.borderwidth', Node437_6BorderWidth);
- Node437_6.a('node.color', 'rgba(192,192,192,0)');
- Node437_6.a('node.fillrect', [0,0,0,0]);
- Node437_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_6.a('node.fillgradient', '');
- if (Node437_6type !== 'rect') {
- Node437_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_6type === 'arc') {
- Node437_6.a('node.arcOval', true);
- }
- Node437_6.setRotation(0*Math.PI/180);
- Node437_6.borderWidth = Node437_6BorderWidth;
- Node437_6.borderFillwidth = Node437_6BorderWidth;
- dataModel.add(Node437_6);
- Node437_6._nodename = 'Node437_6'
- Node437_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_6, Node437_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_7type = 'rect';
- var Node437_7 = new ht.Node(),
- Node437_7BorderWidth = 1*2;
- if (Node437_7type === 'arc') {
- Node437_7BorderWidth *= 1;
- }
- Node437_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node437_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node437_7.setPosition(848*ratio.ratioX, 164*ratio.ratioY);
- Node437_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node437_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node437_7.a('node.width', 127*_ratio.ratioX);
- Node437_7.a('node.height', 309*_ratio.ratioY);
- Node437_7.a('node.type', Node437_7type);
- Node437_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node437_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node437_7.a('node.gradientcolor', '');
- Node437_7.a('node.gradient', '');
- Node437_7.a('node.borderwidth', Node437_7BorderWidth);
- Node437_7.a('node.color', 'rgba(192,192,192,1)');
- Node437_7.a('node.fillrect', [0,0,0,0]);
- Node437_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node437_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node437_7.a('node.fillgradient', '');
- if (Node437_7type !== 'rect') {
- Node437_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node437_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node437_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node437_7type === 'arc') {
- Node437_7.a('node.arcOval', true);
- }
- Node437_7.setRotation(0*Math.PI/180);
- Node437_7.borderWidth = Node437_7BorderWidth;
- Node437_7.borderFillwidth = Node437_7BorderWidth;
- dataModel.add(Node437_7);
- Node437_7._nodename = 'Node437_7'
- Node437_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node437_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);
- }
- })(Node437_7, Node437_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_8 = new ht.Node();
- var Node437_8textStart, Node437_8textWidth, Node437_8lineStart, Node437_8align = 'center', Node437_8fontSize = 13.3333*_ratio.ratioY,Node437_8width = 95*_ratio.ratioX, Node437_8height = 16*_ratio.ratioY;
- (function () {
- if (Node437_8align === 'left') {
- Node437_8textStart = Node437_8fontSize * 0.2 > 2 ? Node437_8fontSize * 0.2 - 4 : Node437_8fontSize * 0.2 - 9;
- Node437_8textWidth = Node437_8width;
- Node437_8lineStart = 1;
- } else if (Node437_8align === 'right') {
- Node437_8textStart = 0;
- Node437_8textWidth =Node437_8fontSize <= 8 ? Node437_8width + Node437_8fontSize * 0.2 + 6 : Node437_8width - Node437_8fontSize * 0.2;
- Node437_8lineStart = (Node437_8width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node437_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node437_8align === 'center') {
- Node437_8textStart = -3;
- Node437_8textWidth = Node437_8width;
- Node437_8lineStart = Node437_8width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node437_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node437_8.setImage(GD.getTextJSON(Node437_8width, Node437_8height, true, false, false, 'bold '+ Node437_8fontSize + 'px "Arial"'))
- Node437_8.setPosition(845*ratio.ratioX, 28*ratio.ratioY);
- Node437_8.setWidth(Node437_8width);
- Node437_8.setHeight(Node437_8height);
- Node437_8._nodeType = 'text';
- Node437_8._disallowEvert = true;
- Node437_8.setRotation(0*Math.PI/180);
- Node437_8.a('node.width', Node437_8width);
- Node437_8.a('node.height', Node437_8height);
- Node437_8.a('node.rect', [0, 0, Node437_8width, Node437_8height]);
- Node437_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node437_8.a('node.borderwidth', 0);
- Node437_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_8.a('node.gradient','');
- Node437_8.a('node.gradientcolor','');
- Node437_8.a('node.text','限电损失电量');
- Node437_8.a('node.textalign','center');
- Node437_8.a('node.textvAlign','middle');
- Node437_8.a('node.textrect', [Node437_8textStart, 0, Node437_8textWidth, Node437_8height]);
- Node437_8.a('node.color','rgba(255,255,255,1)');
- Node437_8.a('node.font','bold '+ Node437_8fontSize + 'px "Arial"');
- Node437_8.a('node.textvisible',true);
- Node437_8.a('node.linefeed',false);
- if (false) {
- Node437_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_8.a('node.text') || '限电损失电量';
- var color=Node437_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_8width,Node437_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node437_8.a('node.underlinepoints',[Node437_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_8fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node437_8fontSize + 'px "Arial"').width + 6, (Node437_8height - Node437_8fontSize) * 0.5*_ratio.ratioY + Node437_8fontSize + 2 ]);
- Node437_8.a('node.underlinevisible',false);
- Node437_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_8);
- zoomNodeList.push({
- node: Node437_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_9 = new ht.Node();
- var Node437_9textStart, Node437_9textWidth, Node437_9lineStart, Node437_9align = 'center', Node437_9fontSize = 11.99997*_ratio.ratioY,Node437_9width = 41*_ratio.ratioX, Node437_9height = 15*_ratio.ratioY;
- (function () {
- if (Node437_9align === 'left') {
- Node437_9textStart = Node437_9fontSize * 0.2 > 2 ? Node437_9fontSize * 0.2 - 4 : Node437_9fontSize * 0.2 - 9;
- Node437_9textWidth = Node437_9width;
- Node437_9lineStart = 1;
- } else if (Node437_9align === 'right') {
- Node437_9textStart = 0;
- Node437_9textWidth =Node437_9fontSize <= 8 ? Node437_9width + Node437_9fontSize * 0.2 + 6 : Node437_9width - Node437_9fontSize * 0.2;
- Node437_9lineStart = (Node437_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node437_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node437_9align === 'center') {
- Node437_9textStart = -3;
- Node437_9textWidth = Node437_9width;
- Node437_9lineStart = Node437_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node437_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node437_9.setImage(GD.getTextJSON(Node437_9width, Node437_9height, true, false, false, 'bold '+ Node437_9fontSize + 'px "Arial"'))
- Node437_9.setPosition(845*ratio.ratioX, 56*ratio.ratioY);
- Node437_9.setWidth(Node437_9width);
- Node437_9.setHeight(Node437_9height);
- Node437_9._nodeType = 'text';
- Node437_9._disallowEvert = true;
- Node437_9.setRotation(0*Math.PI/180);
- Node437_9.a('node.width', Node437_9width);
- Node437_9.a('node.height', Node437_9height);
- Node437_9.a('node.rect', [0, 0, Node437_9width, Node437_9height]);
- Node437_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node437_9.a('node.borderwidth', 0);
- Node437_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_9.a('node.gradient','');
- Node437_9.a('node.gradientcolor','');
- Node437_9.a('node.text','万kwh');
- Node437_9.a('node.textalign','center');
- Node437_9.a('node.textvAlign','middle');
- Node437_9.a('node.textrect', [Node437_9textStart, 0, Node437_9textWidth, Node437_9height]);
- Node437_9.a('node.color','rgba(128,128,128,1)');
- Node437_9.a('node.font','bold '+ Node437_9fontSize + 'px "Arial"');
- Node437_9.a('node.textvisible',true);
- Node437_9.a('node.linefeed',false);
- if (false) {
- Node437_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_9.a('node.text') || '万kwh';
- var color=Node437_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node437_9width,Node437_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node437_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node437_9.a('node.underlinepoints',[Node437_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node437_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node437_9fontSize + 'px "Arial"').width + 6, (Node437_9height - Node437_9fontSize) * 0.5*_ratio.ratioY + Node437_9fontSize + 2 ]);
- Node437_9.a('node.underlinevisible',false);
- Node437_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_9);
- zoomNodeList.push({
- node: Node437_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_10 = new ht.Node();
- var Node437_10textStart, Node437_10textWidth, Node437_10lineStart, Node437_10align = 'center', Node437_10fontSize = 13.3333*_ratio.ratioY,Node437_10width = 39*_ratio.ratioX, Node437_10height = 16*_ratio.ratioY;
- (function () {
- if (Node437_10align === 'left') {
- Node437_10textStart = Node437_10fontSize * 0.2 > 2 ? Node437_10fontSize * 0.2 - 4 : Node437_10fontSize * 0.2 - 9;
- Node437_10textWidth = Node437_10width;
- Node437_10lineStart = 1;
- } else if (Node437_10align === 'right') {
- Node437_10textStart = 0;
- Node437_10textWidth =Node437_10fontSize <= 8 ? Node437_10width + Node437_10fontSize * 0.2 + 6 : Node437_10width - Node437_10fontSize * 0.2;
- Node437_10lineStart = (Node437_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node437_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_10align === 'center') {
- Node437_10textStart = -3;
- Node437_10textWidth = Node437_10width;
- Node437_10lineStart = Node437_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node437_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_10.setImage(GD.getTextJSON(Node437_10width, Node437_10height, true, false, false, 'bold '+ Node437_10fontSize + 'px "UniDreamLED"'))
- Node437_10.setPosition(845*ratio.ratioX, 83*ratio.ratioY);
- Node437_10.setWidth(Node437_10width);
- Node437_10.setHeight(Node437_10height);
- Node437_10._nodeType = 'text';
- Node437_10._disallowEvert = true;
- Node437_10.setRotation(0*Math.PI/180);
- Node437_10.a('node.width', Node437_10width);
- Node437_10.a('node.height', Node437_10height);
- Node437_10.a('node.rect', [0, 0, Node437_10width, Node437_10height]);
- Node437_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_10.a('node.borderwidth', 0);
- Node437_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_10.a('node.gradient','');
- Node437_10.a('node.gradientcolor','');
- Node437_10.a('node.text','1134.76');
- Node437_10.a('node.textalign','center');
- Node437_10.a('node.textvAlign','middle');
- Node437_10.a('node.textrect', [Node437_10textStart, 0, Node437_10textWidth, Node437_10height]);
- Node437_10.a('node.color','rgba(0,0,0,1)');
- Node437_10.a('node.font','bold '+ Node437_10fontSize + 'px "UniDreamLED"');
- Node437_10.a('node.textvisible',true);
- Node437_10.a('node.linefeed',false);
- if (false) {
- Node437_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_10.a('node.text') || '1134.76';
- var color=Node437_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_10width,Node437_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_10.a('node.underlinepoints',[Node437_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node437_10fontSize + 'px "UniDreamLED"').width + 6, (Node437_10height - Node437_10fontSize) * 0.5*_ratio.ratioY + Node437_10fontSize + 2 ]);
- Node437_10.a('node.underlinevisible',false);
- Node437_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_10);
- zoomNodeList.push({
- node: Node437_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_11 = new ht.Node();
- var Node437_11textStart, Node437_11textWidth, Node437_11lineStart, Node437_11align = 'center', Node437_11fontSize = 13.3333*_ratio.ratioY,Node437_11width = 28*_ratio.ratioX, Node437_11height = 16*_ratio.ratioY;
- (function () {
- if (Node437_11align === 'left') {
- Node437_11textStart = Node437_11fontSize * 0.2 > 2 ? Node437_11fontSize * 0.2 - 4 : Node437_11fontSize * 0.2 - 9;
- Node437_11textWidth = Node437_11width;
- Node437_11lineStart = 1;
- } else if (Node437_11align === 'right') {
- Node437_11textStart = 0;
- Node437_11textWidth =Node437_11fontSize <= 8 ? Node437_11width + Node437_11fontSize * 0.2 + 6 : Node437_11width - Node437_11fontSize * 0.2;
- Node437_11lineStart = (Node437_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node437_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_11align === 'center') {
- Node437_11textStart = -3;
- Node437_11textWidth = Node437_11width;
- Node437_11lineStart = Node437_11width - ht.Default.getTextSize('171.51', 'bold '+ Node437_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_11.setImage(GD.getTextJSON(Node437_11width, Node437_11height, true, false, false, 'bold '+ Node437_11fontSize + 'px "UniDreamLED"'))
- Node437_11.setPosition(848*ratio.ratioX, 115*ratio.ratioY);
- Node437_11.setWidth(Node437_11width);
- Node437_11.setHeight(Node437_11height);
- Node437_11._nodeType = 'text';
- Node437_11._disallowEvert = true;
- Node437_11.setRotation(0*Math.PI/180);
- Node437_11.a('node.width', Node437_11width);
- Node437_11.a('node.height', Node437_11height);
- Node437_11.a('node.rect', [0, 0, Node437_11width, Node437_11height]);
- Node437_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_11.a('node.borderwidth', 0);
- Node437_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_11.a('node.gradient','');
- Node437_11.a('node.gradientcolor','');
- Node437_11.a('node.text','171.51');
- Node437_11.a('node.textalign','center');
- Node437_11.a('node.textvAlign','middle');
- Node437_11.a('node.textrect', [Node437_11textStart, 0, Node437_11textWidth, Node437_11height]);
- Node437_11.a('node.color','rgba(0,0,0,1)');
- Node437_11.a('node.font','bold '+ Node437_11fontSize + 'px "UniDreamLED"');
- Node437_11.a('node.textvisible',true);
- Node437_11.a('node.linefeed',false);
- if (false) {
- Node437_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_11.a('node.text') || '171.51';
- var color=Node437_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_11width,Node437_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_11.a('node.underlinepoints',[Node437_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node437_11fontSize + 'px "UniDreamLED"').width + 6, (Node437_11height - Node437_11fontSize) * 0.5*_ratio.ratioY + Node437_11fontSize + 2 ]);
- Node437_11.a('node.underlinevisible',false);
- Node437_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_11);
- zoomNodeList.push({
- node: Node437_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_12 = new ht.Node();
- var Node437_12textStart, Node437_12textWidth, Node437_12lineStart, Node437_12align = 'center', Node437_12fontSize = 13.3333*_ratio.ratioY,Node437_12width = 36*_ratio.ratioX, Node437_12height = 16*_ratio.ratioY;
- (function () {
- if (Node437_12align === 'left') {
- Node437_12textStart = Node437_12fontSize * 0.2 > 2 ? Node437_12fontSize * 0.2 - 4 : Node437_12fontSize * 0.2 - 9;
- Node437_12textWidth = Node437_12width;
- Node437_12lineStart = 1;
- } else if (Node437_12align === 'right') {
- Node437_12textStart = 0;
- Node437_12textWidth =Node437_12fontSize <= 8 ? Node437_12width + Node437_12fontSize * 0.2 + 6 : Node437_12width - Node437_12fontSize * 0.2;
- Node437_12lineStart = (Node437_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node437_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_12align === 'center') {
- Node437_12textStart = -3;
- Node437_12textWidth = Node437_12width;
- Node437_12lineStart = Node437_12width - ht.Default.getTextSize('329.51', 'bold '+ Node437_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_12.setImage(GD.getTextJSON(Node437_12width, Node437_12height, true, false, false, 'bold '+ Node437_12fontSize + 'px "UniDreamLED"'))
- Node437_12.setPosition(848*ratio.ratioX, 145*ratio.ratioY);
- Node437_12.setWidth(Node437_12width);
- Node437_12.setHeight(Node437_12height);
- Node437_12._nodeType = 'text';
- Node437_12._disallowEvert = true;
- Node437_12.setRotation(0*Math.PI/180);
- Node437_12.a('node.width', Node437_12width);
- Node437_12.a('node.height', Node437_12height);
- Node437_12.a('node.rect', [0, 0, Node437_12width, Node437_12height]);
- Node437_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_12.a('node.borderwidth', 0);
- Node437_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_12.a('node.gradient','');
- Node437_12.a('node.gradientcolor','');
- Node437_12.a('node.text','329.51');
- Node437_12.a('node.textalign','center');
- Node437_12.a('node.textvAlign','middle');
- Node437_12.a('node.textrect', [Node437_12textStart, 0, Node437_12textWidth, Node437_12height]);
- Node437_12.a('node.color','rgba(0,0,0,1)');
- Node437_12.a('node.font','bold '+ Node437_12fontSize + 'px "UniDreamLED"');
- Node437_12.a('node.textvisible',true);
- Node437_12.a('node.linefeed',false);
- if (false) {
- Node437_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_12.a('node.text') || '329.51';
- var color=Node437_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_12width,Node437_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_12.a('node.underlinepoints',[Node437_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node437_12fontSize + 'px "UniDreamLED"').width + 6, (Node437_12height - Node437_12fontSize) * 0.5*_ratio.ratioY + Node437_12fontSize + 2 ]);
- Node437_12.a('node.underlinevisible',false);
- Node437_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_12);
- zoomNodeList.push({
- node: Node437_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_13 = new ht.Node();
- var Node437_13textStart, Node437_13textWidth, Node437_13lineStart, Node437_13align = 'center', Node437_13fontSize = 13.3333*_ratio.ratioY,Node437_13width = 36*_ratio.ratioX, Node437_13height = 16*_ratio.ratioY;
- (function () {
- if (Node437_13align === 'left') {
- Node437_13textStart = Node437_13fontSize * 0.2 > 2 ? Node437_13fontSize * 0.2 - 4 : Node437_13fontSize * 0.2 - 9;
- Node437_13textWidth = Node437_13width;
- Node437_13lineStart = 1;
- } else if (Node437_13align === 'right') {
- Node437_13textStart = 0;
- Node437_13textWidth =Node437_13fontSize <= 8 ? Node437_13width + Node437_13fontSize * 0.2 + 6 : Node437_13width - Node437_13fontSize * 0.2;
- Node437_13lineStart = (Node437_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node437_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_13align === 'center') {
- Node437_13textStart = -3;
- Node437_13textWidth = Node437_13width;
- Node437_13lineStart = Node437_13width - ht.Default.getTextSize('340.14', 'bold '+ Node437_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_13.setImage(GD.getTextJSON(Node437_13width, Node437_13height, true, false, false, 'bold '+ Node437_13fontSize + 'px "UniDreamLED"'))
- Node437_13.setPosition(848*ratio.ratioX, 175*ratio.ratioY);
- Node437_13.setWidth(Node437_13width);
- Node437_13.setHeight(Node437_13height);
- Node437_13._nodeType = 'text';
- Node437_13._disallowEvert = true;
- Node437_13.setRotation(0*Math.PI/180);
- Node437_13.a('node.width', Node437_13width);
- Node437_13.a('node.height', Node437_13height);
- Node437_13.a('node.rect', [0, 0, Node437_13width, Node437_13height]);
- Node437_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_13.a('node.borderwidth', 0);
- Node437_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_13.a('node.gradient','');
- Node437_13.a('node.gradientcolor','');
- Node437_13.a('node.text','340.14');
- Node437_13.a('node.textalign','center');
- Node437_13.a('node.textvAlign','middle');
- Node437_13.a('node.textrect', [Node437_13textStart, 0, Node437_13textWidth, Node437_13height]);
- Node437_13.a('node.color','rgba(0,0,0,1)');
- Node437_13.a('node.font','bold '+ Node437_13fontSize + 'px "UniDreamLED"');
- Node437_13.a('node.textvisible',true);
- Node437_13.a('node.linefeed',false);
- if (false) {
- Node437_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_13.a('node.text') || '340.14';
- var color=Node437_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_13width,Node437_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_13.a('node.underlinepoints',[Node437_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node437_13fontSize + 'px "UniDreamLED"').width + 6, (Node437_13height - Node437_13fontSize) * 0.5*_ratio.ratioY + Node437_13fontSize + 2 ]);
- Node437_13.a('node.underlinevisible',false);
- Node437_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_13);
- zoomNodeList.push({
- node: Node437_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_14 = new ht.Node();
- var Node437_14textStart, Node437_14textWidth, Node437_14lineStart, Node437_14align = 'center', Node437_14fontSize = 13.3333*_ratio.ratioY,Node437_14width = 29*_ratio.ratioX, Node437_14height = 16*_ratio.ratioY;
- (function () {
- if (Node437_14align === 'left') {
- Node437_14textStart = Node437_14fontSize * 0.2 > 2 ? Node437_14fontSize * 0.2 - 4 : Node437_14fontSize * 0.2 - 9;
- Node437_14textWidth = Node437_14width;
- Node437_14lineStart = 1;
- } else if (Node437_14align === 'right') {
- Node437_14textStart = 0;
- Node437_14textWidth =Node437_14fontSize <= 8 ? Node437_14width + Node437_14fontSize * 0.2 + 6 : Node437_14width - Node437_14fontSize * 0.2;
- Node437_14lineStart = (Node437_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node437_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_14align === 'center') {
- Node437_14textStart = -3;
- Node437_14textWidth = Node437_14width;
- Node437_14lineStart = Node437_14width - ht.Default.getTextSize('60.61', 'bold '+ Node437_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_14.setImage(GD.getTextJSON(Node437_14width, Node437_14height, true, false, false, 'bold '+ Node437_14fontSize + 'px "UniDreamLED"'))
- Node437_14.setPosition(848*ratio.ratioX, 209*ratio.ratioY);
- Node437_14.setWidth(Node437_14width);
- Node437_14.setHeight(Node437_14height);
- Node437_14._nodeType = 'text';
- Node437_14._disallowEvert = true;
- Node437_14.setRotation(0*Math.PI/180);
- Node437_14.a('node.width', Node437_14width);
- Node437_14.a('node.height', Node437_14height);
- Node437_14.a('node.rect', [0, 0, Node437_14width, Node437_14height]);
- Node437_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_14.a('node.borderwidth', 0);
- Node437_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_14.a('node.gradient','');
- Node437_14.a('node.gradientcolor','');
- Node437_14.a('node.text','60.61');
- Node437_14.a('node.textalign','center');
- Node437_14.a('node.textvAlign','middle');
- Node437_14.a('node.textrect', [Node437_14textStart, 0, Node437_14textWidth, Node437_14height]);
- Node437_14.a('node.color','rgba(0,0,0,1)');
- Node437_14.a('node.font','bold '+ Node437_14fontSize + 'px "UniDreamLED"');
- Node437_14.a('node.textvisible',true);
- Node437_14.a('node.linefeed',false);
- if (false) {
- Node437_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_14.a('node.text') || '60.61';
- var color=Node437_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_14width,Node437_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_14.a('node.underlinepoints',[Node437_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node437_14fontSize + 'px "UniDreamLED"').width + 6, (Node437_14height - Node437_14fontSize) * 0.5*_ratio.ratioY + Node437_14fontSize + 2 ]);
- Node437_14.a('node.underlinevisible',false);
- Node437_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_14);
- zoomNodeList.push({
- node: Node437_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_15 = new ht.Node();
- var Node437_15textStart, Node437_15textWidth, Node437_15lineStart, Node437_15align = 'center', Node437_15fontSize = 13.3333*_ratio.ratioY,Node437_15width = 36*_ratio.ratioX, Node437_15height = 16*_ratio.ratioY;
- (function () {
- if (Node437_15align === 'left') {
- Node437_15textStart = Node437_15fontSize * 0.2 > 2 ? Node437_15fontSize * 0.2 - 4 : Node437_15fontSize * 0.2 - 9;
- Node437_15textWidth = Node437_15width;
- Node437_15lineStart = 1;
- } else if (Node437_15align === 'right') {
- Node437_15textStart = 0;
- Node437_15textWidth =Node437_15fontSize <= 8 ? Node437_15width + Node437_15fontSize * 0.2 + 6 : Node437_15width - Node437_15fontSize * 0.2;
- Node437_15lineStart = (Node437_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node437_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_15align === 'center') {
- Node437_15textStart = -3;
- Node437_15textWidth = Node437_15width;
- Node437_15lineStart = Node437_15width - ht.Default.getTextSize('166.79', 'bold '+ Node437_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_15.setImage(GD.getTextJSON(Node437_15width, Node437_15height, true, false, false, 'bold '+ Node437_15fontSize + 'px "UniDreamLED"'))
- Node437_15.setPosition(848*ratio.ratioX, 242*ratio.ratioY);
- Node437_15.setWidth(Node437_15width);
- Node437_15.setHeight(Node437_15height);
- Node437_15._nodeType = 'text';
- Node437_15._disallowEvert = true;
- Node437_15.setRotation(0*Math.PI/180);
- Node437_15.a('node.width', Node437_15width);
- Node437_15.a('node.height', Node437_15height);
- Node437_15.a('node.rect', [0, 0, Node437_15width, Node437_15height]);
- Node437_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_15.a('node.borderwidth', 0);
- Node437_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_15.a('node.gradient','');
- Node437_15.a('node.gradientcolor','');
- Node437_15.a('node.text','166.79');
- Node437_15.a('node.textalign','center');
- Node437_15.a('node.textvAlign','middle');
- Node437_15.a('node.textrect', [Node437_15textStart, 0, Node437_15textWidth, Node437_15height]);
- Node437_15.a('node.color','rgba(0,0,0,1)');
- Node437_15.a('node.font','bold '+ Node437_15fontSize + 'px "UniDreamLED"');
- Node437_15.a('node.textvisible',true);
- Node437_15.a('node.linefeed',false);
- if (false) {
- Node437_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_15.a('node.text') || '166.79';
- var color=Node437_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_15width,Node437_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_15.a('node.underlinepoints',[Node437_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node437_15fontSize + 'px "UniDreamLED"').width + 6, (Node437_15height - Node437_15fontSize) * 0.5*_ratio.ratioY + Node437_15fontSize + 2 ]);
- Node437_15.a('node.underlinevisible',false);
- Node437_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_15);
- zoomNodeList.push({
- node: Node437_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_16 = new ht.Node();
- var Node437_16textStart, Node437_16textWidth, Node437_16lineStart, Node437_16align = 'center', Node437_16fontSize = 13.3333*_ratio.ratioY,Node437_16width = 29*_ratio.ratioX, Node437_16height = 16*_ratio.ratioY;
- (function () {
- if (Node437_16align === 'left') {
- Node437_16textStart = Node437_16fontSize * 0.2 > 2 ? Node437_16fontSize * 0.2 - 4 : Node437_16fontSize * 0.2 - 9;
- Node437_16textWidth = Node437_16width;
- Node437_16lineStart = 1;
- } else if (Node437_16align === 'right') {
- Node437_16textStart = 0;
- Node437_16textWidth =Node437_16fontSize <= 8 ? Node437_16width + Node437_16fontSize * 0.2 + 6 : Node437_16width - Node437_16fontSize * 0.2;
- Node437_16lineStart = (Node437_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node437_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_16align === 'center') {
- Node437_16textStart = -3;
- Node437_16textWidth = Node437_16width;
- Node437_16lineStart = Node437_16width - ht.Default.getTextSize('66.18', 'bold '+ Node437_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_16.setImage(GD.getTextJSON(Node437_16width, Node437_16height, true, false, false, 'bold '+ Node437_16fontSize + 'px "UniDreamLED"'))
- Node437_16.setPosition(848*ratio.ratioX, 271*ratio.ratioY);
- Node437_16.setWidth(Node437_16width);
- Node437_16.setHeight(Node437_16height);
- Node437_16._nodeType = 'text';
- Node437_16._disallowEvert = true;
- Node437_16.setRotation(0*Math.PI/180);
- Node437_16.a('node.width', Node437_16width);
- Node437_16.a('node.height', Node437_16height);
- Node437_16.a('node.rect', [0, 0, Node437_16width, Node437_16height]);
- Node437_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_16.a('node.borderwidth', 0);
- Node437_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_16.a('node.gradient','');
- Node437_16.a('node.gradientcolor','');
- Node437_16.a('node.text','66.18');
- Node437_16.a('node.textalign','center');
- Node437_16.a('node.textvAlign','middle');
- Node437_16.a('node.textrect', [Node437_16textStart, 0, Node437_16textWidth, Node437_16height]);
- Node437_16.a('node.color','rgba(0,0,0,1)');
- Node437_16.a('node.font','bold '+ Node437_16fontSize + 'px "UniDreamLED"');
- Node437_16.a('node.textvisible',true);
- Node437_16.a('node.linefeed',false);
- if (false) {
- Node437_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_16.a('node.text') || '66.18';
- var color=Node437_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_16width,Node437_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_16.a('node.underlinepoints',[Node437_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node437_16fontSize + 'px "UniDreamLED"').width + 6, (Node437_16height - Node437_16fontSize) * 0.5*_ratio.ratioY + Node437_16fontSize + 2 ]);
- Node437_16.a('node.underlinevisible',false);
- Node437_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_16);
- zoomNodeList.push({
- node: Node437_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node437_17 = new ht.Node();
- var Node437_17textStart, Node437_17textWidth, Node437_17lineStart, Node437_17align = 'center', Node437_17fontSize = 13.3333*_ratio.ratioY,Node437_17width = 9*_ratio.ratioX, Node437_17height = 16*_ratio.ratioY;
- (function () {
- if (Node437_17align === 'left') {
- Node437_17textStart = Node437_17fontSize * 0.2 > 2 ? Node437_17fontSize * 0.2 - 4 : Node437_17fontSize * 0.2 - 9;
- Node437_17textWidth = Node437_17width;
- Node437_17lineStart = 1;
- } else if (Node437_17align === 'right') {
- Node437_17textStart = 0;
- Node437_17textWidth =Node437_17fontSize <= 8 ? Node437_17width + Node437_17fontSize * 0.2 + 6 : Node437_17width - Node437_17fontSize * 0.2;
- Node437_17lineStart = (Node437_17width - (ht.Default.getTextSize('-', 'bold '+ Node437_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node437_17align === 'center') {
- Node437_17textStart = -3;
- Node437_17textWidth = Node437_17width;
- Node437_17lineStart = Node437_17width - ht.Default.getTextSize('-', 'bold '+ Node437_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node437_17.setImage(GD.getTextJSON(Node437_17width, Node437_17height, true, false, false, 'bold '+ Node437_17fontSize + 'px "UniDreamLED"'))
- Node437_17.setPosition(848*ratio.ratioX, 302*ratio.ratioY);
- Node437_17.setWidth(Node437_17width);
- Node437_17.setHeight(Node437_17height);
- Node437_17._nodeType = 'text';
- Node437_17._disallowEvert = true;
- Node437_17.setRotation(0*Math.PI/180);
- Node437_17.a('node.width', Node437_17width);
- Node437_17.a('node.height', Node437_17height);
- Node437_17.a('node.rect', [0, 0, Node437_17width, Node437_17height]);
- Node437_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node437_17.a('node.borderwidth', 0);
- Node437_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node437_17.a('node.gradient','');
- Node437_17.a('node.gradientcolor','');
- Node437_17.a('node.text','-');
- Node437_17.a('node.textalign','center');
- Node437_17.a('node.textvAlign','middle');
- Node437_17.a('node.textrect', [Node437_17textStart, 0, Node437_17textWidth, Node437_17height]);
- Node437_17.a('node.color','rgba(0,0,0,1)');
- Node437_17.a('node.font','bold '+ Node437_17fontSize + 'px "UniDreamLED"');
- Node437_17.a('node.textvisible',true);
- Node437_17.a('node.linefeed',false);
- if (false) {
- Node437_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node437_17.a('node.text') || '-';
- var color=Node437_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node437_17width,Node437_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node437_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node437_17.a('node.underlinepoints',[Node437_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node437_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node437_17fontSize + 'px "UniDreamLED"').width + 6, (Node437_17height - Node437_17fontSize) * 0.5*_ratio.ratioY + Node437_17fontSize + 2 ]);
- Node437_17.a('node.underlinevisible',false);
- Node437_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node437_17);
- zoomNodeList.push({
- node: Node437_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node438_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');
- Node438_0 = new ht.Node();
- Node438_0.setPosition(848*ratio.ratioX, 162*ratio.ratioY);
- Node438_0.setSize(127*ratioX, 313*ratioY);
- Node438_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node438_0.setRotation(0*Math.PI/180);
- Node438_0._zoomBy = 'Default';
- Node438_0._nodeType = 'image';
- Node438_0._disallowEvert = true;
- dataModel.add(Node438_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node438_1 = new ht.Node();
- var Node438_1textStart, Node438_1textWidth, Node438_1lineStart, Node438_1align = 'center', Node438_1fontSize = 13.3333*_ratio.ratioY,Node438_1width = 95*_ratio.ratioX, Node438_1height = 16*_ratio.ratioY;
- (function () {
- if (Node438_1align === 'left') {
- Node438_1textStart = Node438_1fontSize * 0.2 > 2 ? Node438_1fontSize * 0.2 - 4 : Node438_1fontSize * 0.2 - 9;
- Node438_1textWidth = Node438_1width;
- Node438_1lineStart = 1;
- } else if (Node438_1align === 'right') {
- Node438_1textStart = 0;
- Node438_1textWidth =Node438_1fontSize <= 8 ? Node438_1width + Node438_1fontSize * 0.2 + 6 : Node438_1width - Node438_1fontSize * 0.2;
- Node438_1lineStart = (Node438_1width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node438_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node438_1align === 'center') {
- Node438_1textStart = -3;
- Node438_1textWidth = Node438_1width;
- Node438_1lineStart = Node438_1width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node438_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node438_1.setImage(GD.getTextJSON(Node438_1width, Node438_1height, true, false, false, 'bold '+ Node438_1fontSize + 'px "Arial"'))
- Node438_1.setPosition(843*ratio.ratioX, 27*ratio.ratioY);
- Node438_1.setWidth(Node438_1width);
- Node438_1.setHeight(Node438_1height);
- Node438_1._nodeType = 'text';
- Node438_1._disallowEvert = true;
- Node438_1.setRotation(0*Math.PI/180);
- Node438_1.a('node.width', Node438_1width);
- Node438_1.a('node.height', Node438_1height);
- Node438_1.a('node.rect', [0, 0, Node438_1width, Node438_1height]);
- Node438_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node438_1.a('node.borderwidth', 0);
- Node438_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node438_1.a('node.gradient','');
- Node438_1.a('node.gradientcolor','');
- Node438_1.a('node.text','限电损失电量');
- Node438_1.a('node.textalign','center');
- Node438_1.a('node.textvAlign','middle');
- Node438_1.a('node.textrect', [Node438_1textStart, 0, Node438_1textWidth, Node438_1height]);
- Node438_1.a('node.color','rgba(255,255,255,1)');
- Node438_1.a('node.font','bold '+ Node438_1fontSize + 'px "Arial"');
- Node438_1.a('node.textvisible',true);
- Node438_1.a('node.linefeed',false);
- if (false) {
- Node438_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node438_1.a('node.text') || '限电损失电量';
- var color=Node438_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node438_1width,Node438_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node438_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node438_1.a('node.underlinepoints',[Node438_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node438_1fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node438_1fontSize + 'px "Arial"').width + 6, (Node438_1height - Node438_1fontSize) * 0.5*_ratio.ratioY + Node438_1fontSize + 2 ]);
- Node438_1.a('node.underlinevisible',false);
- Node438_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node438_1);
- zoomNodeList.push({
- node: Node438_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_0type = 'rect';
- var Node439_0 = new ht.Node(),
- Node439_0BorderWidth = 0*2;
- if (Node439_0type === 'arc') {
- Node439_0BorderWidth *= 0;
- }
- Node439_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_0.setPosition(975*ratio.ratioX, 115*ratio.ratioY);
- Node439_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_0.a('node.width', 127*_ratio.ratioX);
- Node439_0.a('node.height', 32*_ratio.ratioY);
- Node439_0.a('node.type', Node439_0type);
- Node439_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_0.a('node.background', 'rgba(245,245,245,1)');
- Node439_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node439_0.a('node.gradient', '');
- Node439_0.a('node.borderwidth', Node439_0BorderWidth);
- Node439_0.a('node.color', 'rgba(192,192,192,0)');
- Node439_0.a('node.fillrect', [0,0,0,0]);
- Node439_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_0.a('node.fillgradient', '');
- if (Node439_0type !== 'rect') {
- Node439_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_0type === 'arc') {
- Node439_0.a('node.arcOval', true);
- }
- Node439_0.setRotation(0*Math.PI/180);
- Node439_0.borderWidth = Node439_0BorderWidth;
- Node439_0.borderFillwidth = Node439_0BorderWidth;
- dataModel.add(Node439_0);
- Node439_0._nodename = 'Node439_0'
- Node439_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_0, Node439_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_1type = 'rect';
- var Node439_1 = new ht.Node(),
- Node439_1BorderWidth = 0*2;
- if (Node439_1type === 'arc') {
- Node439_1BorderWidth *= 0;
- }
- Node439_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_1.setPosition(975*ratio.ratioX, 147*ratio.ratioY);
- Node439_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_1.a('node.width', 127*_ratio.ratioX);
- Node439_1.a('node.height', 32*_ratio.ratioY);
- Node439_1.a('node.type', Node439_1type);
- Node439_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node439_1.a('node.gradientcolor', '');
- Node439_1.a('node.gradient', '');
- Node439_1.a('node.borderwidth', Node439_1BorderWidth);
- Node439_1.a('node.color', 'rgba(192,192,192,0)');
- Node439_1.a('node.fillrect', [0,0,0,0]);
- Node439_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_1.a('node.fillgradient', '');
- if (Node439_1type !== 'rect') {
- Node439_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_1type === 'arc') {
- Node439_1.a('node.arcOval', true);
- }
- Node439_1.setRotation(0*Math.PI/180);
- Node439_1.borderWidth = Node439_1BorderWidth;
- Node439_1.borderFillwidth = Node439_1BorderWidth;
- dataModel.add(Node439_1);
- Node439_1._nodename = 'Node439_1'
- Node439_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_1, Node439_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_2type = 'rect';
- var Node439_2 = new ht.Node(),
- Node439_2BorderWidth = 0*2;
- if (Node439_2type === 'arc') {
- Node439_2BorderWidth *= 0;
- }
- Node439_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_2.setPosition(975*ratio.ratioX, 179*ratio.ratioY);
- Node439_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_2.a('node.width', 127*_ratio.ratioX);
- Node439_2.a('node.height', 32*_ratio.ratioY);
- Node439_2.a('node.type', Node439_2type);
- Node439_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_2.a('node.background', 'rgba(245,245,245,1)');
- Node439_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node439_2.a('node.gradient', '');
- Node439_2.a('node.borderwidth', Node439_2BorderWidth);
- Node439_2.a('node.color', 'rgba(192,192,192,0)');
- Node439_2.a('node.fillrect', [0,0,0,0]);
- Node439_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_2.a('node.fillgradient', '');
- if (Node439_2type !== 'rect') {
- Node439_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_2type === 'arc') {
- Node439_2.a('node.arcOval', true);
- }
- Node439_2.setRotation(0*Math.PI/180);
- Node439_2.borderWidth = Node439_2BorderWidth;
- Node439_2.borderFillwidth = Node439_2BorderWidth;
- dataModel.add(Node439_2);
- Node439_2._nodename = 'Node439_2'
- Node439_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_2, Node439_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_3type = 'rect';
- var Node439_3 = new ht.Node(),
- Node439_3BorderWidth = 0*2;
- if (Node439_3type === 'arc') {
- Node439_3BorderWidth *= 0;
- }
- Node439_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_3.setPosition(975*ratio.ratioX, 210*ratio.ratioY);
- Node439_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_3.a('node.width', 127*_ratio.ratioX);
- Node439_3.a('node.height', 32*_ratio.ratioY);
- Node439_3.a('node.type', Node439_3type);
- Node439_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node439_3.a('node.gradientcolor', '');
- Node439_3.a('node.gradient', '');
- Node439_3.a('node.borderwidth', Node439_3BorderWidth);
- Node439_3.a('node.color', 'rgba(192,192,192,0)');
- Node439_3.a('node.fillrect', [0,0,0,0]);
- Node439_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_3.a('node.fillgradient', '');
- if (Node439_3type !== 'rect') {
- Node439_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_3type === 'arc') {
- Node439_3.a('node.arcOval', true);
- }
- Node439_3.setRotation(0*Math.PI/180);
- Node439_3.borderWidth = Node439_3BorderWidth;
- Node439_3.borderFillwidth = Node439_3BorderWidth;
- dataModel.add(Node439_3);
- Node439_3._nodename = 'Node439_3'
- Node439_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_3, Node439_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_4type = 'rect';
- var Node439_4 = new ht.Node(),
- Node439_4BorderWidth = 0*2;
- if (Node439_4type === 'arc') {
- Node439_4BorderWidth *= 0;
- }
- Node439_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_4.setPosition(975*ratio.ratioX, 241*ratio.ratioY);
- Node439_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_4.a('node.width', 127*_ratio.ratioX);
- Node439_4.a('node.height', 32*_ratio.ratioY);
- Node439_4.a('node.type', Node439_4type);
- Node439_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_4.a('node.background', 'rgba(245,245,245,1)');
- Node439_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node439_4.a('node.gradient', '');
- Node439_4.a('node.borderwidth', Node439_4BorderWidth);
- Node439_4.a('node.color', 'rgba(192,192,192,0)');
- Node439_4.a('node.fillrect', [0,0,0,0]);
- Node439_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_4.a('node.fillgradient', '');
- if (Node439_4type !== 'rect') {
- Node439_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_4type === 'arc') {
- Node439_4.a('node.arcOval', true);
- }
- Node439_4.setRotation(0*Math.PI/180);
- Node439_4.borderWidth = Node439_4BorderWidth;
- Node439_4.borderFillwidth = Node439_4BorderWidth;
- dataModel.add(Node439_4);
- Node439_4._nodename = 'Node439_4'
- Node439_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_4, Node439_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_5type = 'rect';
- var Node439_5 = new ht.Node(),
- Node439_5BorderWidth = 0*2;
- if (Node439_5type === 'arc') {
- Node439_5BorderWidth *= 0;
- }
- Node439_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_5.setPosition(975*ratio.ratioX, 272*ratio.ratioY);
- Node439_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_5.a('node.width', 127*_ratio.ratioX);
- Node439_5.a('node.height', 32*_ratio.ratioY);
- Node439_5.a('node.type', Node439_5type);
- Node439_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node439_5.a('node.gradientcolor', '');
- Node439_5.a('node.gradient', '');
- Node439_5.a('node.borderwidth', Node439_5BorderWidth);
- Node439_5.a('node.color', 'rgba(192,192,192,0)');
- Node439_5.a('node.fillrect', [0,0,0,0]);
- Node439_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_5.a('node.fillgradient', '');
- if (Node439_5type !== 'rect') {
- Node439_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_5type === 'arc') {
- Node439_5.a('node.arcOval', true);
- }
- Node439_5.setRotation(0*Math.PI/180);
- Node439_5.borderWidth = Node439_5BorderWidth;
- Node439_5.borderFillwidth = Node439_5BorderWidth;
- dataModel.add(Node439_5);
- Node439_5._nodename = 'Node439_5'
- Node439_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_5, Node439_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_6type = 'rect';
- var Node439_6 = new ht.Node(),
- Node439_6BorderWidth = 0*2;
- if (Node439_6type === 'arc') {
- Node439_6BorderWidth *= 0;
- }
- Node439_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node439_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_6.setPosition(975*ratio.ratioX, 303*ratio.ratioY);
- Node439_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node439_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_6.a('node.width', 127*_ratio.ratioX);
- Node439_6.a('node.height', 32*_ratio.ratioY);
- Node439_6.a('node.type', Node439_6type);
- Node439_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node439_6.a('node.background', 'rgba(245,245,245,1)');
- Node439_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node439_6.a('node.gradient', '');
- Node439_6.a('node.borderwidth', Node439_6BorderWidth);
- Node439_6.a('node.color', 'rgba(192,192,192,0)');
- Node439_6.a('node.fillrect', [0,0,0,0]);
- Node439_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_6.a('node.fillgradient', '');
- if (Node439_6type !== 'rect') {
- Node439_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_6type === 'arc') {
- Node439_6.a('node.arcOval', true);
- }
- Node439_6.setRotation(0*Math.PI/180);
- Node439_6.borderWidth = Node439_6BorderWidth;
- Node439_6.borderFillwidth = Node439_6BorderWidth;
- dataModel.add(Node439_6);
- Node439_6._nodename = 'Node439_6'
- Node439_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_6, Node439_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_7type = 'rect';
- var Node439_7 = new ht.Node(),
- Node439_7BorderWidth = 1*2;
- if (Node439_7type === 'arc') {
- Node439_7BorderWidth *= 1;
- }
- Node439_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node439_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node439_7.setPosition(975*ratio.ratioX, 164*ratio.ratioY);
- Node439_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node439_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node439_7.a('node.width', 127*_ratio.ratioX);
- Node439_7.a('node.height', 309*_ratio.ratioY);
- Node439_7.a('node.type', Node439_7type);
- Node439_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node439_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node439_7.a('node.gradientcolor', '');
- Node439_7.a('node.gradient', '');
- Node439_7.a('node.borderwidth', Node439_7BorderWidth);
- Node439_7.a('node.color', 'rgba(192,192,192,1)');
- Node439_7.a('node.fillrect', [0,0,0,0]);
- Node439_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node439_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node439_7.a('node.fillgradient', '');
- if (Node439_7type !== 'rect') {
- Node439_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node439_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node439_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node439_7type === 'arc') {
- Node439_7.a('node.arcOval', true);
- }
- Node439_7.setRotation(0*Math.PI/180);
- Node439_7.borderWidth = Node439_7BorderWidth;
- Node439_7.borderFillwidth = Node439_7BorderWidth;
- dataModel.add(Node439_7);
- Node439_7._nodename = 'Node439_7'
- Node439_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node439_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);
- }
- })(Node439_7, Node439_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_8 = new ht.Node();
- var Node439_8textStart, Node439_8textWidth, Node439_8lineStart, Node439_8align = 'center', Node439_8fontSize = 13.3333*_ratio.ratioY,Node439_8width = 95*_ratio.ratioX, Node439_8height = 16*_ratio.ratioY;
- (function () {
- if (Node439_8align === 'left') {
- Node439_8textStart = Node439_8fontSize * 0.2 > 2 ? Node439_8fontSize * 0.2 - 4 : Node439_8fontSize * 0.2 - 9;
- Node439_8textWidth = Node439_8width;
- Node439_8lineStart = 1;
- } else if (Node439_8align === 'right') {
- Node439_8textStart = 0;
- Node439_8textWidth =Node439_8fontSize <= 8 ? Node439_8width + Node439_8fontSize * 0.2 + 6 : Node439_8width - Node439_8fontSize * 0.2;
- Node439_8lineStart = (Node439_8width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node439_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node439_8align === 'center') {
- Node439_8textStart = -3;
- Node439_8textWidth = Node439_8width;
- Node439_8lineStart = Node439_8width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node439_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node439_8.setImage(GD.getTextJSON(Node439_8width, Node439_8height, true, false, false, 'bold '+ Node439_8fontSize + 'px "Arial"'))
- Node439_8.setPosition(972*ratio.ratioX, 28*ratio.ratioY);
- Node439_8.setWidth(Node439_8width);
- Node439_8.setHeight(Node439_8height);
- Node439_8._nodeType = 'text';
- Node439_8._disallowEvert = true;
- Node439_8.setRotation(0*Math.PI/180);
- Node439_8.a('node.width', Node439_8width);
- Node439_8.a('node.height', Node439_8height);
- Node439_8.a('node.rect', [0, 0, Node439_8width, Node439_8height]);
- Node439_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node439_8.a('node.borderwidth', 0);
- Node439_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_8.a('node.gradient','');
- Node439_8.a('node.gradientcolor','');
- Node439_8.a('node.text','受累损失电量');
- Node439_8.a('node.textalign','center');
- Node439_8.a('node.textvAlign','middle');
- Node439_8.a('node.textrect', [Node439_8textStart, 0, Node439_8textWidth, Node439_8height]);
- Node439_8.a('node.color','rgba(255,255,255,1)');
- Node439_8.a('node.font','bold '+ Node439_8fontSize + 'px "Arial"');
- Node439_8.a('node.textvisible',true);
- Node439_8.a('node.linefeed',false);
- if (false) {
- Node439_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_8.a('node.text') || '受累损失电量';
- var color=Node439_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_8width,Node439_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node439_8.a('node.underlinepoints',[Node439_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_8fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node439_8fontSize + 'px "Arial"').width + 6, (Node439_8height - Node439_8fontSize) * 0.5*_ratio.ratioY + Node439_8fontSize + 2 ]);
- Node439_8.a('node.underlinevisible',false);
- Node439_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_8);
- zoomNodeList.push({
- node: Node439_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_9 = new ht.Node();
- var Node439_9textStart, Node439_9textWidth, Node439_9lineStart, Node439_9align = 'center', Node439_9fontSize = 11.99997*_ratio.ratioY,Node439_9width = 41*_ratio.ratioX, Node439_9height = 15*_ratio.ratioY;
- (function () {
- if (Node439_9align === 'left') {
- Node439_9textStart = Node439_9fontSize * 0.2 > 2 ? Node439_9fontSize * 0.2 - 4 : Node439_9fontSize * 0.2 - 9;
- Node439_9textWidth = Node439_9width;
- Node439_9lineStart = 1;
- } else if (Node439_9align === 'right') {
- Node439_9textStart = 0;
- Node439_9textWidth =Node439_9fontSize <= 8 ? Node439_9width + Node439_9fontSize * 0.2 + 6 : Node439_9width - Node439_9fontSize * 0.2;
- Node439_9lineStart = (Node439_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node439_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node439_9align === 'center') {
- Node439_9textStart = -3;
- Node439_9textWidth = Node439_9width;
- Node439_9lineStart = Node439_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node439_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node439_9.setImage(GD.getTextJSON(Node439_9width, Node439_9height, true, false, false, 'bold '+ Node439_9fontSize + 'px "Arial"'))
- Node439_9.setPosition(972*ratio.ratioX, 56*ratio.ratioY);
- Node439_9.setWidth(Node439_9width);
- Node439_9.setHeight(Node439_9height);
- Node439_9._nodeType = 'text';
- Node439_9._disallowEvert = true;
- Node439_9.setRotation(0*Math.PI/180);
- Node439_9.a('node.width', Node439_9width);
- Node439_9.a('node.height', Node439_9height);
- Node439_9.a('node.rect', [0, 0, Node439_9width, Node439_9height]);
- Node439_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node439_9.a('node.borderwidth', 0);
- Node439_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_9.a('node.gradient','');
- Node439_9.a('node.gradientcolor','');
- Node439_9.a('node.text','万kwh');
- Node439_9.a('node.textalign','center');
- Node439_9.a('node.textvAlign','middle');
- Node439_9.a('node.textrect', [Node439_9textStart, 0, Node439_9textWidth, Node439_9height]);
- Node439_9.a('node.color','rgba(128,128,128,1)');
- Node439_9.a('node.font','bold '+ Node439_9fontSize + 'px "Arial"');
- Node439_9.a('node.textvisible',true);
- Node439_9.a('node.linefeed',false);
- if (false) {
- Node439_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_9.a('node.text') || '万kwh';
- var color=Node439_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node439_9width,Node439_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node439_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node439_9.a('node.underlinepoints',[Node439_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node439_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node439_9fontSize + 'px "Arial"').width + 6, (Node439_9height - Node439_9fontSize) * 0.5*_ratio.ratioY + Node439_9fontSize + 2 ]);
- Node439_9.a('node.underlinevisible',false);
- Node439_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_9);
- zoomNodeList.push({
- node: Node439_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_10 = new ht.Node();
- var Node439_10textStart, Node439_10textWidth, Node439_10lineStart, Node439_10align = 'center', Node439_10fontSize = 13.3333*_ratio.ratioY,Node439_10width = 39*_ratio.ratioX, Node439_10height = 16*_ratio.ratioY;
- (function () {
- if (Node439_10align === 'left') {
- Node439_10textStart = Node439_10fontSize * 0.2 > 2 ? Node439_10fontSize * 0.2 - 4 : Node439_10fontSize * 0.2 - 9;
- Node439_10textWidth = Node439_10width;
- Node439_10lineStart = 1;
- } else if (Node439_10align === 'right') {
- Node439_10textStart = 0;
- Node439_10textWidth =Node439_10fontSize <= 8 ? Node439_10width + Node439_10fontSize * 0.2 + 6 : Node439_10width - Node439_10fontSize * 0.2;
- Node439_10lineStart = (Node439_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node439_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_10align === 'center') {
- Node439_10textStart = -3;
- Node439_10textWidth = Node439_10width;
- Node439_10lineStart = Node439_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node439_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_10.setImage(GD.getTextJSON(Node439_10width, Node439_10height, true, false, false, 'bold '+ Node439_10fontSize + 'px "UniDreamLED"'))
- Node439_10.setPosition(972*ratio.ratioX, 83*ratio.ratioY);
- Node439_10.setWidth(Node439_10width);
- Node439_10.setHeight(Node439_10height);
- Node439_10._nodeType = 'text';
- Node439_10._disallowEvert = true;
- Node439_10.setRotation(0*Math.PI/180);
- Node439_10.a('node.width', Node439_10width);
- Node439_10.a('node.height', Node439_10height);
- Node439_10.a('node.rect', [0, 0, Node439_10width, Node439_10height]);
- Node439_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_10.a('node.borderwidth', 0);
- Node439_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_10.a('node.gradient','');
- Node439_10.a('node.gradientcolor','');
- Node439_10.a('node.text','1134.76');
- Node439_10.a('node.textalign','center');
- Node439_10.a('node.textvAlign','middle');
- Node439_10.a('node.textrect', [Node439_10textStart, 0, Node439_10textWidth, Node439_10height]);
- Node439_10.a('node.color','rgba(0,0,0,1)');
- Node439_10.a('node.font','bold '+ Node439_10fontSize + 'px "UniDreamLED"');
- Node439_10.a('node.textvisible',true);
- Node439_10.a('node.linefeed',false);
- if (false) {
- Node439_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_10.a('node.text') || '1134.76';
- var color=Node439_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_10width,Node439_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_10.a('node.underlinepoints',[Node439_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node439_10fontSize + 'px "UniDreamLED"').width + 6, (Node439_10height - Node439_10fontSize) * 0.5*_ratio.ratioY + Node439_10fontSize + 2 ]);
- Node439_10.a('node.underlinevisible',false);
- Node439_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_10);
- zoomNodeList.push({
- node: Node439_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_11 = new ht.Node();
- var Node439_11textStart, Node439_11textWidth, Node439_11lineStart, Node439_11align = 'center', Node439_11fontSize = 13.3333*_ratio.ratioY,Node439_11width = 28*_ratio.ratioX, Node439_11height = 16*_ratio.ratioY;
- (function () {
- if (Node439_11align === 'left') {
- Node439_11textStart = Node439_11fontSize * 0.2 > 2 ? Node439_11fontSize * 0.2 - 4 : Node439_11fontSize * 0.2 - 9;
- Node439_11textWidth = Node439_11width;
- Node439_11lineStart = 1;
- } else if (Node439_11align === 'right') {
- Node439_11textStart = 0;
- Node439_11textWidth =Node439_11fontSize <= 8 ? Node439_11width + Node439_11fontSize * 0.2 + 6 : Node439_11width - Node439_11fontSize * 0.2;
- Node439_11lineStart = (Node439_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node439_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_11align === 'center') {
- Node439_11textStart = -3;
- Node439_11textWidth = Node439_11width;
- Node439_11lineStart = Node439_11width - ht.Default.getTextSize('171.51', 'bold '+ Node439_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_11.setImage(GD.getTextJSON(Node439_11width, Node439_11height, true, false, false, 'bold '+ Node439_11fontSize + 'px "UniDreamLED"'))
- Node439_11.setPosition(975*ratio.ratioX, 115*ratio.ratioY);
- Node439_11.setWidth(Node439_11width);
- Node439_11.setHeight(Node439_11height);
- Node439_11._nodeType = 'text';
- Node439_11._disallowEvert = true;
- Node439_11.setRotation(0*Math.PI/180);
- Node439_11.a('node.width', Node439_11width);
- Node439_11.a('node.height', Node439_11height);
- Node439_11.a('node.rect', [0, 0, Node439_11width, Node439_11height]);
- Node439_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_11.a('node.borderwidth', 0);
- Node439_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_11.a('node.gradient','');
- Node439_11.a('node.gradientcolor','');
- Node439_11.a('node.text','171.51');
- Node439_11.a('node.textalign','center');
- Node439_11.a('node.textvAlign','middle');
- Node439_11.a('node.textrect', [Node439_11textStart, 0, Node439_11textWidth, Node439_11height]);
- Node439_11.a('node.color','rgba(0,0,0,1)');
- Node439_11.a('node.font','bold '+ Node439_11fontSize + 'px "UniDreamLED"');
- Node439_11.a('node.textvisible',true);
- Node439_11.a('node.linefeed',false);
- if (false) {
- Node439_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_11.a('node.text') || '171.51';
- var color=Node439_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_11width,Node439_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_11.a('node.underlinepoints',[Node439_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node439_11fontSize + 'px "UniDreamLED"').width + 6, (Node439_11height - Node439_11fontSize) * 0.5*_ratio.ratioY + Node439_11fontSize + 2 ]);
- Node439_11.a('node.underlinevisible',false);
- Node439_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_11);
- zoomNodeList.push({
- node: Node439_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_12 = new ht.Node();
- var Node439_12textStart, Node439_12textWidth, Node439_12lineStart, Node439_12align = 'center', Node439_12fontSize = 13.3333*_ratio.ratioY,Node439_12width = 36*_ratio.ratioX, Node439_12height = 16*_ratio.ratioY;
- (function () {
- if (Node439_12align === 'left') {
- Node439_12textStart = Node439_12fontSize * 0.2 > 2 ? Node439_12fontSize * 0.2 - 4 : Node439_12fontSize * 0.2 - 9;
- Node439_12textWidth = Node439_12width;
- Node439_12lineStart = 1;
- } else if (Node439_12align === 'right') {
- Node439_12textStart = 0;
- Node439_12textWidth =Node439_12fontSize <= 8 ? Node439_12width + Node439_12fontSize * 0.2 + 6 : Node439_12width - Node439_12fontSize * 0.2;
- Node439_12lineStart = (Node439_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node439_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_12align === 'center') {
- Node439_12textStart = -3;
- Node439_12textWidth = Node439_12width;
- Node439_12lineStart = Node439_12width - ht.Default.getTextSize('329.51', 'bold '+ Node439_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_12.setImage(GD.getTextJSON(Node439_12width, Node439_12height, true, false, false, 'bold '+ Node439_12fontSize + 'px "UniDreamLED"'))
- Node439_12.setPosition(975*ratio.ratioX, 145*ratio.ratioY);
- Node439_12.setWidth(Node439_12width);
- Node439_12.setHeight(Node439_12height);
- Node439_12._nodeType = 'text';
- Node439_12._disallowEvert = true;
- Node439_12.setRotation(0*Math.PI/180);
- Node439_12.a('node.width', Node439_12width);
- Node439_12.a('node.height', Node439_12height);
- Node439_12.a('node.rect', [0, 0, Node439_12width, Node439_12height]);
- Node439_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_12.a('node.borderwidth', 0);
- Node439_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_12.a('node.gradient','');
- Node439_12.a('node.gradientcolor','');
- Node439_12.a('node.text','329.51');
- Node439_12.a('node.textalign','center');
- Node439_12.a('node.textvAlign','middle');
- Node439_12.a('node.textrect', [Node439_12textStart, 0, Node439_12textWidth, Node439_12height]);
- Node439_12.a('node.color','rgba(0,0,0,1)');
- Node439_12.a('node.font','bold '+ Node439_12fontSize + 'px "UniDreamLED"');
- Node439_12.a('node.textvisible',true);
- Node439_12.a('node.linefeed',false);
- if (false) {
- Node439_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_12.a('node.text') || '329.51';
- var color=Node439_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_12width,Node439_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_12.a('node.underlinepoints',[Node439_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node439_12fontSize + 'px "UniDreamLED"').width + 6, (Node439_12height - Node439_12fontSize) * 0.5*_ratio.ratioY + Node439_12fontSize + 2 ]);
- Node439_12.a('node.underlinevisible',false);
- Node439_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_12);
- zoomNodeList.push({
- node: Node439_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_13 = new ht.Node();
- var Node439_13textStart, Node439_13textWidth, Node439_13lineStart, Node439_13align = 'center', Node439_13fontSize = 13.3333*_ratio.ratioY,Node439_13width = 36*_ratio.ratioX, Node439_13height = 16*_ratio.ratioY;
- (function () {
- if (Node439_13align === 'left') {
- Node439_13textStart = Node439_13fontSize * 0.2 > 2 ? Node439_13fontSize * 0.2 - 4 : Node439_13fontSize * 0.2 - 9;
- Node439_13textWidth = Node439_13width;
- Node439_13lineStart = 1;
- } else if (Node439_13align === 'right') {
- Node439_13textStart = 0;
- Node439_13textWidth =Node439_13fontSize <= 8 ? Node439_13width + Node439_13fontSize * 0.2 + 6 : Node439_13width - Node439_13fontSize * 0.2;
- Node439_13lineStart = (Node439_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node439_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_13align === 'center') {
- Node439_13textStart = -3;
- Node439_13textWidth = Node439_13width;
- Node439_13lineStart = Node439_13width - ht.Default.getTextSize('340.14', 'bold '+ Node439_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_13.setImage(GD.getTextJSON(Node439_13width, Node439_13height, true, false, false, 'bold '+ Node439_13fontSize + 'px "UniDreamLED"'))
- Node439_13.setPosition(975*ratio.ratioX, 175*ratio.ratioY);
- Node439_13.setWidth(Node439_13width);
- Node439_13.setHeight(Node439_13height);
- Node439_13._nodeType = 'text';
- Node439_13._disallowEvert = true;
- Node439_13.setRotation(0*Math.PI/180);
- Node439_13.a('node.width', Node439_13width);
- Node439_13.a('node.height', Node439_13height);
- Node439_13.a('node.rect', [0, 0, Node439_13width, Node439_13height]);
- Node439_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_13.a('node.borderwidth', 0);
- Node439_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_13.a('node.gradient','');
- Node439_13.a('node.gradientcolor','');
- Node439_13.a('node.text','340.14');
- Node439_13.a('node.textalign','center');
- Node439_13.a('node.textvAlign','middle');
- Node439_13.a('node.textrect', [Node439_13textStart, 0, Node439_13textWidth, Node439_13height]);
- Node439_13.a('node.color','rgba(0,0,0,1)');
- Node439_13.a('node.font','bold '+ Node439_13fontSize + 'px "UniDreamLED"');
- Node439_13.a('node.textvisible',true);
- Node439_13.a('node.linefeed',false);
- if (false) {
- Node439_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_13.a('node.text') || '340.14';
- var color=Node439_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_13width,Node439_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_13.a('node.underlinepoints',[Node439_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node439_13fontSize + 'px "UniDreamLED"').width + 6, (Node439_13height - Node439_13fontSize) * 0.5*_ratio.ratioY + Node439_13fontSize + 2 ]);
- Node439_13.a('node.underlinevisible',false);
- Node439_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_13);
- zoomNodeList.push({
- node: Node439_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_14 = new ht.Node();
- var Node439_14textStart, Node439_14textWidth, Node439_14lineStart, Node439_14align = 'center', Node439_14fontSize = 13.3333*_ratio.ratioY,Node439_14width = 29*_ratio.ratioX, Node439_14height = 16*_ratio.ratioY;
- (function () {
- if (Node439_14align === 'left') {
- Node439_14textStart = Node439_14fontSize * 0.2 > 2 ? Node439_14fontSize * 0.2 - 4 : Node439_14fontSize * 0.2 - 9;
- Node439_14textWidth = Node439_14width;
- Node439_14lineStart = 1;
- } else if (Node439_14align === 'right') {
- Node439_14textStart = 0;
- Node439_14textWidth =Node439_14fontSize <= 8 ? Node439_14width + Node439_14fontSize * 0.2 + 6 : Node439_14width - Node439_14fontSize * 0.2;
- Node439_14lineStart = (Node439_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node439_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_14align === 'center') {
- Node439_14textStart = -3;
- Node439_14textWidth = Node439_14width;
- Node439_14lineStart = Node439_14width - ht.Default.getTextSize('60.61', 'bold '+ Node439_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_14.setImage(GD.getTextJSON(Node439_14width, Node439_14height, true, false, false, 'bold '+ Node439_14fontSize + 'px "UniDreamLED"'))
- Node439_14.setPosition(975*ratio.ratioX, 209*ratio.ratioY);
- Node439_14.setWidth(Node439_14width);
- Node439_14.setHeight(Node439_14height);
- Node439_14._nodeType = 'text';
- Node439_14._disallowEvert = true;
- Node439_14.setRotation(0*Math.PI/180);
- Node439_14.a('node.width', Node439_14width);
- Node439_14.a('node.height', Node439_14height);
- Node439_14.a('node.rect', [0, 0, Node439_14width, Node439_14height]);
- Node439_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_14.a('node.borderwidth', 0);
- Node439_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_14.a('node.gradient','');
- Node439_14.a('node.gradientcolor','');
- Node439_14.a('node.text','60.61');
- Node439_14.a('node.textalign','center');
- Node439_14.a('node.textvAlign','middle');
- Node439_14.a('node.textrect', [Node439_14textStart, 0, Node439_14textWidth, Node439_14height]);
- Node439_14.a('node.color','rgba(0,0,0,1)');
- Node439_14.a('node.font','bold '+ Node439_14fontSize + 'px "UniDreamLED"');
- Node439_14.a('node.textvisible',true);
- Node439_14.a('node.linefeed',false);
- if (false) {
- Node439_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_14.a('node.text') || '60.61';
- var color=Node439_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_14width,Node439_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_14.a('node.underlinepoints',[Node439_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node439_14fontSize + 'px "UniDreamLED"').width + 6, (Node439_14height - Node439_14fontSize) * 0.5*_ratio.ratioY + Node439_14fontSize + 2 ]);
- Node439_14.a('node.underlinevisible',false);
- Node439_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_14);
- zoomNodeList.push({
- node: Node439_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_15 = new ht.Node();
- var Node439_15textStart, Node439_15textWidth, Node439_15lineStart, Node439_15align = 'center', Node439_15fontSize = 13.3333*_ratio.ratioY,Node439_15width = 36*_ratio.ratioX, Node439_15height = 16*_ratio.ratioY;
- (function () {
- if (Node439_15align === 'left') {
- Node439_15textStart = Node439_15fontSize * 0.2 > 2 ? Node439_15fontSize * 0.2 - 4 : Node439_15fontSize * 0.2 - 9;
- Node439_15textWidth = Node439_15width;
- Node439_15lineStart = 1;
- } else if (Node439_15align === 'right') {
- Node439_15textStart = 0;
- Node439_15textWidth =Node439_15fontSize <= 8 ? Node439_15width + Node439_15fontSize * 0.2 + 6 : Node439_15width - Node439_15fontSize * 0.2;
- Node439_15lineStart = (Node439_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node439_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_15align === 'center') {
- Node439_15textStart = -3;
- Node439_15textWidth = Node439_15width;
- Node439_15lineStart = Node439_15width - ht.Default.getTextSize('166.79', 'bold '+ Node439_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_15.setImage(GD.getTextJSON(Node439_15width, Node439_15height, true, false, false, 'bold '+ Node439_15fontSize + 'px "UniDreamLED"'))
- Node439_15.setPosition(975*ratio.ratioX, 242*ratio.ratioY);
- Node439_15.setWidth(Node439_15width);
- Node439_15.setHeight(Node439_15height);
- Node439_15._nodeType = 'text';
- Node439_15._disallowEvert = true;
- Node439_15.setRotation(0*Math.PI/180);
- Node439_15.a('node.width', Node439_15width);
- Node439_15.a('node.height', Node439_15height);
- Node439_15.a('node.rect', [0, 0, Node439_15width, Node439_15height]);
- Node439_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_15.a('node.borderwidth', 0);
- Node439_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_15.a('node.gradient','');
- Node439_15.a('node.gradientcolor','');
- Node439_15.a('node.text','166.79');
- Node439_15.a('node.textalign','center');
- Node439_15.a('node.textvAlign','middle');
- Node439_15.a('node.textrect', [Node439_15textStart, 0, Node439_15textWidth, Node439_15height]);
- Node439_15.a('node.color','rgba(0,0,0,1)');
- Node439_15.a('node.font','bold '+ Node439_15fontSize + 'px "UniDreamLED"');
- Node439_15.a('node.textvisible',true);
- Node439_15.a('node.linefeed',false);
- if (false) {
- Node439_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_15.a('node.text') || '166.79';
- var color=Node439_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_15width,Node439_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_15.a('node.underlinepoints',[Node439_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node439_15fontSize + 'px "UniDreamLED"').width + 6, (Node439_15height - Node439_15fontSize) * 0.5*_ratio.ratioY + Node439_15fontSize + 2 ]);
- Node439_15.a('node.underlinevisible',false);
- Node439_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_15);
- zoomNodeList.push({
- node: Node439_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_16 = new ht.Node();
- var Node439_16textStart, Node439_16textWidth, Node439_16lineStart, Node439_16align = 'center', Node439_16fontSize = 13.3333*_ratio.ratioY,Node439_16width = 29*_ratio.ratioX, Node439_16height = 16*_ratio.ratioY;
- (function () {
- if (Node439_16align === 'left') {
- Node439_16textStart = Node439_16fontSize * 0.2 > 2 ? Node439_16fontSize * 0.2 - 4 : Node439_16fontSize * 0.2 - 9;
- Node439_16textWidth = Node439_16width;
- Node439_16lineStart = 1;
- } else if (Node439_16align === 'right') {
- Node439_16textStart = 0;
- Node439_16textWidth =Node439_16fontSize <= 8 ? Node439_16width + Node439_16fontSize * 0.2 + 6 : Node439_16width - Node439_16fontSize * 0.2;
- Node439_16lineStart = (Node439_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node439_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_16align === 'center') {
- Node439_16textStart = -3;
- Node439_16textWidth = Node439_16width;
- Node439_16lineStart = Node439_16width - ht.Default.getTextSize('66.18', 'bold '+ Node439_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_16.setImage(GD.getTextJSON(Node439_16width, Node439_16height, true, false, false, 'bold '+ Node439_16fontSize + 'px "UniDreamLED"'))
- Node439_16.setPosition(975*ratio.ratioX, 271*ratio.ratioY);
- Node439_16.setWidth(Node439_16width);
- Node439_16.setHeight(Node439_16height);
- Node439_16._nodeType = 'text';
- Node439_16._disallowEvert = true;
- Node439_16.setRotation(0*Math.PI/180);
- Node439_16.a('node.width', Node439_16width);
- Node439_16.a('node.height', Node439_16height);
- Node439_16.a('node.rect', [0, 0, Node439_16width, Node439_16height]);
- Node439_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_16.a('node.borderwidth', 0);
- Node439_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_16.a('node.gradient','');
- Node439_16.a('node.gradientcolor','');
- Node439_16.a('node.text','66.18');
- Node439_16.a('node.textalign','center');
- Node439_16.a('node.textvAlign','middle');
- Node439_16.a('node.textrect', [Node439_16textStart, 0, Node439_16textWidth, Node439_16height]);
- Node439_16.a('node.color','rgba(0,0,0,1)');
- Node439_16.a('node.font','bold '+ Node439_16fontSize + 'px "UniDreamLED"');
- Node439_16.a('node.textvisible',true);
- Node439_16.a('node.linefeed',false);
- if (false) {
- Node439_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_16.a('node.text') || '66.18';
- var color=Node439_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_16width,Node439_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_16.a('node.underlinepoints',[Node439_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node439_16fontSize + 'px "UniDreamLED"').width + 6, (Node439_16height - Node439_16fontSize) * 0.5*_ratio.ratioY + Node439_16fontSize + 2 ]);
- Node439_16.a('node.underlinevisible',false);
- Node439_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_16);
- zoomNodeList.push({
- node: Node439_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node439_17 = new ht.Node();
- var Node439_17textStart, Node439_17textWidth, Node439_17lineStart, Node439_17align = 'center', Node439_17fontSize = 13.3333*_ratio.ratioY,Node439_17width = 9*_ratio.ratioX, Node439_17height = 16*_ratio.ratioY;
- (function () {
- if (Node439_17align === 'left') {
- Node439_17textStart = Node439_17fontSize * 0.2 > 2 ? Node439_17fontSize * 0.2 - 4 : Node439_17fontSize * 0.2 - 9;
- Node439_17textWidth = Node439_17width;
- Node439_17lineStart = 1;
- } else if (Node439_17align === 'right') {
- Node439_17textStart = 0;
- Node439_17textWidth =Node439_17fontSize <= 8 ? Node439_17width + Node439_17fontSize * 0.2 + 6 : Node439_17width - Node439_17fontSize * 0.2;
- Node439_17lineStart = (Node439_17width - (ht.Default.getTextSize('-', 'bold '+ Node439_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node439_17align === 'center') {
- Node439_17textStart = -3;
- Node439_17textWidth = Node439_17width;
- Node439_17lineStart = Node439_17width - ht.Default.getTextSize('-', 'bold '+ Node439_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node439_17.setImage(GD.getTextJSON(Node439_17width, Node439_17height, true, false, false, 'bold '+ Node439_17fontSize + 'px "UniDreamLED"'))
- Node439_17.setPosition(975*ratio.ratioX, 302*ratio.ratioY);
- Node439_17.setWidth(Node439_17width);
- Node439_17.setHeight(Node439_17height);
- Node439_17._nodeType = 'text';
- Node439_17._disallowEvert = true;
- Node439_17.setRotation(0*Math.PI/180);
- Node439_17.a('node.width', Node439_17width);
- Node439_17.a('node.height', Node439_17height);
- Node439_17.a('node.rect', [0, 0, Node439_17width, Node439_17height]);
- Node439_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node439_17.a('node.borderwidth', 0);
- Node439_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node439_17.a('node.gradient','');
- Node439_17.a('node.gradientcolor','');
- Node439_17.a('node.text','-');
- Node439_17.a('node.textalign','center');
- Node439_17.a('node.textvAlign','middle');
- Node439_17.a('node.textrect', [Node439_17textStart, 0, Node439_17textWidth, Node439_17height]);
- Node439_17.a('node.color','rgba(0,0,0,1)');
- Node439_17.a('node.font','bold '+ Node439_17fontSize + 'px "UniDreamLED"');
- Node439_17.a('node.textvisible',true);
- Node439_17.a('node.linefeed',false);
- if (false) {
- Node439_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node439_17.a('node.text') || '-';
- var color=Node439_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node439_17width,Node439_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node439_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node439_17.a('node.underlinepoints',[Node439_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node439_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node439_17fontSize + 'px "UniDreamLED"').width + 6, (Node439_17height - Node439_17fontSize) * 0.5*_ratio.ratioY + Node439_17fontSize + 2 ]);
- Node439_17.a('node.underlinevisible',false);
- Node439_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node439_17);
- zoomNodeList.push({
- node: Node439_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node440_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');
- Node440_0 = new ht.Node();
- Node440_0.setPosition(976*ratio.ratioX, 162*ratio.ratioY);
- Node440_0.setSize(127*ratioX, 313*ratioY);
- Node440_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node440_0.setRotation(0*Math.PI/180);
- Node440_0._zoomBy = 'Default';
- Node440_0._nodeType = 'image';
- Node440_0._disallowEvert = true;
- dataModel.add(Node440_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node440_1 = new ht.Node();
- var Node440_1textStart, Node440_1textWidth, Node440_1lineStart, Node440_1align = 'center', Node440_1fontSize = 13.3333*_ratio.ratioY,Node440_1width = 95*_ratio.ratioX, Node440_1height = 16*_ratio.ratioY;
- (function () {
- if (Node440_1align === 'left') {
- Node440_1textStart = Node440_1fontSize * 0.2 > 2 ? Node440_1fontSize * 0.2 - 4 : Node440_1fontSize * 0.2 - 9;
- Node440_1textWidth = Node440_1width;
- Node440_1lineStart = 1;
- } else if (Node440_1align === 'right') {
- Node440_1textStart = 0;
- Node440_1textWidth =Node440_1fontSize <= 8 ? Node440_1width + Node440_1fontSize * 0.2 + 6 : Node440_1width - Node440_1fontSize * 0.2;
- Node440_1lineStart = (Node440_1width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node440_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node440_1align === 'center') {
- Node440_1textStart = -3;
- Node440_1textWidth = Node440_1width;
- Node440_1lineStart = Node440_1width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node440_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node440_1.setImage(GD.getTextJSON(Node440_1width, Node440_1height, true, false, false, 'bold '+ Node440_1fontSize + 'px "Arial"'))
- Node440_1.setPosition(971*ratio.ratioX, 27*ratio.ratioY);
- Node440_1.setWidth(Node440_1width);
- Node440_1.setHeight(Node440_1height);
- Node440_1._nodeType = 'text';
- Node440_1._disallowEvert = true;
- Node440_1.setRotation(0*Math.PI/180);
- Node440_1.a('node.width', Node440_1width);
- Node440_1.a('node.height', Node440_1height);
- Node440_1.a('node.rect', [0, 0, Node440_1width, Node440_1height]);
- Node440_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node440_1.a('node.borderwidth', 0);
- Node440_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node440_1.a('node.gradient','');
- Node440_1.a('node.gradientcolor','');
- Node440_1.a('node.text','受累损失电量');
- Node440_1.a('node.textalign','center');
- Node440_1.a('node.textvAlign','middle');
- Node440_1.a('node.textrect', [Node440_1textStart, 0, Node440_1textWidth, Node440_1height]);
- Node440_1.a('node.color','rgba(255,255,255,1)');
- Node440_1.a('node.font','bold '+ Node440_1fontSize + 'px "Arial"');
- Node440_1.a('node.textvisible',true);
- Node440_1.a('node.linefeed',false);
- if (false) {
- Node440_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node440_1.a('node.text') || '受累损失电量';
- var color=Node440_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node440_1width,Node440_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node440_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node440_1.a('node.underlinepoints',[Node440_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node440_1fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node440_1fontSize + 'px "Arial"').width + 6, (Node440_1height - Node440_1fontSize) * 0.5*_ratio.ratioY + Node440_1fontSize + 2 ]);
- Node440_1.a('node.underlinevisible',false);
- Node440_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node440_1);
- zoomNodeList.push({
- node: Node440_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_0type = 'rect';
- var Node441_0 = new ht.Node(),
- Node441_0BorderWidth = 0*2;
- if (Node441_0type === 'arc') {
- Node441_0BorderWidth *= 0;
- }
- Node441_0.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_0.setPosition(1098*ratio.ratioX, 115*ratio.ratioY);
- Node441_0.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_0.a('node.width', 117*_ratio.ratioX);
- Node441_0.a('node.height', 32*_ratio.ratioY);
- Node441_0.a('node.type', Node441_0type);
- Node441_0.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_0.a('node.background', 'rgba(245,245,245,1)');
- Node441_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node441_0.a('node.gradient', '');
- Node441_0.a('node.borderwidth', Node441_0BorderWidth);
- Node441_0.a('node.color', 'rgba(192,192,192,0)');
- Node441_0.a('node.fillrect', [0,0,0,0]);
- Node441_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_0.a('node.fillgradient', '');
- if (Node441_0type !== 'rect') {
- Node441_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_0type === 'arc') {
- Node441_0.a('node.arcOval', true);
- }
- Node441_0.setRotation(0*Math.PI/180);
- Node441_0.borderWidth = Node441_0BorderWidth;
- Node441_0.borderFillwidth = Node441_0BorderWidth;
- dataModel.add(Node441_0);
- Node441_0._nodename = 'Node441_0'
- Node441_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_0, Node441_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_1type = 'rect';
- var Node441_1 = new ht.Node(),
- Node441_1BorderWidth = 0*2;
- if (Node441_1type === 'arc') {
- Node441_1BorderWidth *= 0;
- }
- Node441_1.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_1.setPosition(1098*ratio.ratioX, 147*ratio.ratioY);
- Node441_1.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_1.a('node.width', 117*_ratio.ratioX);
- Node441_1.a('node.height', 32*_ratio.ratioY);
- Node441_1.a('node.type', Node441_1type);
- Node441_1.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node441_1.a('node.gradientcolor', '');
- Node441_1.a('node.gradient', '');
- Node441_1.a('node.borderwidth', Node441_1BorderWidth);
- Node441_1.a('node.color', 'rgba(192,192,192,0)');
- Node441_1.a('node.fillrect', [0,0,0,0]);
- Node441_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_1.a('node.fillgradient', '');
- if (Node441_1type !== 'rect') {
- Node441_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_1type === 'arc') {
- Node441_1.a('node.arcOval', true);
- }
- Node441_1.setRotation(0*Math.PI/180);
- Node441_1.borderWidth = Node441_1BorderWidth;
- Node441_1.borderFillwidth = Node441_1BorderWidth;
- dataModel.add(Node441_1);
- Node441_1._nodename = 'Node441_1'
- Node441_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_1, Node441_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_2type = 'rect';
- var Node441_2 = new ht.Node(),
- Node441_2BorderWidth = 0*2;
- if (Node441_2type === 'arc') {
- Node441_2BorderWidth *= 0;
- }
- Node441_2.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_2.setPosition(1098*ratio.ratioX, 179*ratio.ratioY);
- Node441_2.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_2.a('node.width', 117*_ratio.ratioX);
- Node441_2.a('node.height', 32*_ratio.ratioY);
- Node441_2.a('node.type', Node441_2type);
- Node441_2.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_2.a('node.background', 'rgba(245,245,245,1)');
- Node441_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node441_2.a('node.gradient', '');
- Node441_2.a('node.borderwidth', Node441_2BorderWidth);
- Node441_2.a('node.color', 'rgba(192,192,192,0)');
- Node441_2.a('node.fillrect', [0,0,0,0]);
- Node441_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_2.a('node.fillgradient', '');
- if (Node441_2type !== 'rect') {
- Node441_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_2type === 'arc') {
- Node441_2.a('node.arcOval', true);
- }
- Node441_2.setRotation(0*Math.PI/180);
- Node441_2.borderWidth = Node441_2BorderWidth;
- Node441_2.borderFillwidth = Node441_2BorderWidth;
- dataModel.add(Node441_2);
- Node441_2._nodename = 'Node441_2'
- Node441_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_2, Node441_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_3type = 'rect';
- var Node441_3 = new ht.Node(),
- Node441_3BorderWidth = 0*2;
- if (Node441_3type === 'arc') {
- Node441_3BorderWidth *= 0;
- }
- Node441_3.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_3.setPosition(1098*ratio.ratioX, 210*ratio.ratioY);
- Node441_3.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_3.a('node.width', 117*_ratio.ratioX);
- Node441_3.a('node.height', 32*_ratio.ratioY);
- Node441_3.a('node.type', Node441_3type);
- Node441_3.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node441_3.a('node.gradientcolor', '');
- Node441_3.a('node.gradient', '');
- Node441_3.a('node.borderwidth', Node441_3BorderWidth);
- Node441_3.a('node.color', 'rgba(192,192,192,0)');
- Node441_3.a('node.fillrect', [0,0,0,0]);
- Node441_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_3.a('node.fillgradient', '');
- if (Node441_3type !== 'rect') {
- Node441_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_3type === 'arc') {
- Node441_3.a('node.arcOval', true);
- }
- Node441_3.setRotation(0*Math.PI/180);
- Node441_3.borderWidth = Node441_3BorderWidth;
- Node441_3.borderFillwidth = Node441_3BorderWidth;
- dataModel.add(Node441_3);
- Node441_3._nodename = 'Node441_3'
- Node441_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_3, Node441_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_4type = 'rect';
- var Node441_4 = new ht.Node(),
- Node441_4BorderWidth = 0*2;
- if (Node441_4type === 'arc') {
- Node441_4BorderWidth *= 0;
- }
- Node441_4.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_4.setPosition(1098*ratio.ratioX, 241*ratio.ratioY);
- Node441_4.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_4.a('node.width', 117*_ratio.ratioX);
- Node441_4.a('node.height', 32*_ratio.ratioY);
- Node441_4.a('node.type', Node441_4type);
- Node441_4.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_4.a('node.background', 'rgba(245,245,245,1)');
- Node441_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node441_4.a('node.gradient', '');
- Node441_4.a('node.borderwidth', Node441_4BorderWidth);
- Node441_4.a('node.color', 'rgba(192,192,192,0)');
- Node441_4.a('node.fillrect', [0,0,0,0]);
- Node441_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_4.a('node.fillgradient', '');
- if (Node441_4type !== 'rect') {
- Node441_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_4type === 'arc') {
- Node441_4.a('node.arcOval', true);
- }
- Node441_4.setRotation(0*Math.PI/180);
- Node441_4.borderWidth = Node441_4BorderWidth;
- Node441_4.borderFillwidth = Node441_4BorderWidth;
- dataModel.add(Node441_4);
- Node441_4._nodename = 'Node441_4'
- Node441_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_4, Node441_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_5type = 'rect';
- var Node441_5 = new ht.Node(),
- Node441_5BorderWidth = 0*2;
- if (Node441_5type === 'arc') {
- Node441_5BorderWidth *= 0;
- }
- Node441_5.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_5.setPosition(1098*ratio.ratioX, 272*ratio.ratioY);
- Node441_5.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_5.a('node.width', 117*_ratio.ratioX);
- Node441_5.a('node.height', 32*_ratio.ratioY);
- Node441_5.a('node.type', Node441_5type);
- Node441_5.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node441_5.a('node.gradientcolor', '');
- Node441_5.a('node.gradient', '');
- Node441_5.a('node.borderwidth', Node441_5BorderWidth);
- Node441_5.a('node.color', 'rgba(192,192,192,0)');
- Node441_5.a('node.fillrect', [0,0,0,0]);
- Node441_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_5.a('node.fillgradient', '');
- if (Node441_5type !== 'rect') {
- Node441_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_5type === 'arc') {
- Node441_5.a('node.arcOval', true);
- }
- Node441_5.setRotation(0*Math.PI/180);
- Node441_5.borderWidth = Node441_5BorderWidth;
- Node441_5.borderFillwidth = Node441_5BorderWidth;
- dataModel.add(Node441_5);
- Node441_5._nodename = 'Node441_5'
- Node441_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_5, Node441_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_6type = 'rect';
- var Node441_6 = new ht.Node(),
- Node441_6BorderWidth = 0*2;
- if (Node441_6type === 'arc') {
- Node441_6BorderWidth *= 0;
- }
- Node441_6.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node441_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_6.setPosition(1098*ratio.ratioX, 303*ratio.ratioY);
- Node441_6.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node441_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_6.a('node.width', 117*_ratio.ratioX);
- Node441_6.a('node.height', 32*_ratio.ratioY);
- Node441_6.a('node.type', Node441_6type);
- Node441_6.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node441_6.a('node.background', 'rgba(245,245,245,1)');
- Node441_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node441_6.a('node.gradient', '');
- Node441_6.a('node.borderwidth', Node441_6BorderWidth);
- Node441_6.a('node.color', 'rgba(192,192,192,0)');
- Node441_6.a('node.fillrect', [0,0,0,0]);
- Node441_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_6.a('node.fillgradient', '');
- if (Node441_6type !== 'rect') {
- Node441_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_6type === 'arc') {
- Node441_6.a('node.arcOval', true);
- }
- Node441_6.setRotation(0*Math.PI/180);
- Node441_6.borderWidth = Node441_6BorderWidth;
- Node441_6.borderFillwidth = Node441_6BorderWidth;
- dataModel.add(Node441_6);
- Node441_6._nodename = 'Node441_6'
- Node441_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_6, Node441_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_7type = 'rect';
- var Node441_7 = new ht.Node(),
- Node441_7BorderWidth = 1*2;
- if (Node441_7type === 'arc') {
- Node441_7BorderWidth *= 1;
- }
- Node441_7.setImage(GD.getRectJSON(117*_ratio.ratioX, 309*_ratio.ratioY, Node441_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node441_7.setPosition(1098*ratio.ratioX, 164*ratio.ratioY);
- Node441_7.setSize(117*_ratio.ratioX, 309*_ratio.ratioY);
- Node441_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node441_7.a('node.width', 117*_ratio.ratioX);
- Node441_7.a('node.height', 309*_ratio.ratioY);
- Node441_7.a('node.type', Node441_7type);
- Node441_7.a('node.rect', [0, 0, 117*_ratio.ratioX, 309*_ratio.ratioY]);
- Node441_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node441_7.a('node.gradientcolor', '');
- Node441_7.a('node.gradient', '');
- Node441_7.a('node.borderwidth', Node441_7BorderWidth);
- Node441_7.a('node.color', 'rgba(192,192,192,1)');
- Node441_7.a('node.fillrect', [0,0,0,0]);
- Node441_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node441_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node441_7.a('node.fillgradient', '');
- if (Node441_7type !== 'rect') {
- Node441_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node441_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node441_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node441_7type === 'arc') {
- Node441_7.a('node.arcOval', true);
- }
- Node441_7.setRotation(0*Math.PI/180);
- Node441_7.borderWidth = Node441_7BorderWidth;
- Node441_7.borderFillwidth = Node441_7BorderWidth;
- dataModel.add(Node441_7);
- Node441_7._nodename = 'Node441_7'
- Node441_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node441_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);
- }
- })(Node441_7, Node441_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_8 = new ht.Node();
- var Node441_8textStart, Node441_8textWidth, Node441_8lineStart, Node441_8align = 'center', Node441_8fontSize = 11.99997*_ratio.ratioY,Node441_8width = 87*_ratio.ratioX, Node441_8height = 15*_ratio.ratioY;
- (function () {
- if (Node441_8align === 'left') {
- Node441_8textStart = Node441_8fontSize * 0.2 > 2 ? Node441_8fontSize * 0.2 - 4 : Node441_8fontSize * 0.2 - 9;
- Node441_8textWidth = Node441_8width;
- Node441_8lineStart = 1;
- } else if (Node441_8align === 'right') {
- Node441_8textStart = 0;
- Node441_8textWidth =Node441_8fontSize <= 8 ? Node441_8width + Node441_8fontSize * 0.2 + 6 : Node441_8width - Node441_8fontSize * 0.2;
- Node441_8lineStart = (Node441_8width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node441_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node441_8align === 'center') {
- Node441_8textStart = -3;
- Node441_8textWidth = Node441_8width;
- Node441_8lineStart = Node441_8width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node441_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node441_8.setImage(GD.getTextJSON(Node441_8width, Node441_8height, true, false, false, 'bold '+ Node441_8fontSize + 'px "Arial"'))
- Node441_8.setPosition(1096*ratio.ratioX, 28*ratio.ratioY);
- Node441_8.setWidth(Node441_8width);
- Node441_8.setHeight(Node441_8height);
- Node441_8._nodeType = 'text';
- Node441_8._disallowEvert = true;
- Node441_8.setRotation(0*Math.PI/180);
- Node441_8.a('node.width', Node441_8width);
- Node441_8.a('node.height', Node441_8height);
- Node441_8.a('node.rect', [0, 0, Node441_8width, Node441_8height]);
- Node441_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node441_8.a('node.borderwidth', 0);
- Node441_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_8.a('node.gradient','');
- Node441_8.a('node.gradientcolor','');
- Node441_8.a('node.text','性能损失电量');
- Node441_8.a('node.textalign','center');
- Node441_8.a('node.textvAlign','middle');
- Node441_8.a('node.textrect', [Node441_8textStart, 0, Node441_8textWidth, Node441_8height]);
- Node441_8.a('node.color','rgba(255,255,255,1)');
- Node441_8.a('node.font','bold '+ Node441_8fontSize + 'px "Arial"');
- Node441_8.a('node.textvisible',true);
- Node441_8.a('node.linefeed',false);
- if (false) {
- Node441_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_8.a('node.text') || '性能损失电量';
- var color=Node441_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_8width,Node441_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node441_8.a('node.underlinepoints',[Node441_8lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_8fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node441_8fontSize + 'px "Arial"').width + 6, (Node441_8height - Node441_8fontSize) * 0.5*_ratio.ratioY + Node441_8fontSize + 2 ]);
- Node441_8.a('node.underlinevisible',false);
- Node441_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_8);
- zoomNodeList.push({
- node: Node441_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_9 = new ht.Node();
- var Node441_9textStart, Node441_9textWidth, Node441_9lineStart, Node441_9align = 'center', Node441_9fontSize = 10.66664*_ratio.ratioY,Node441_9width = 38*_ratio.ratioX, Node441_9height = 14*_ratio.ratioY;
- (function () {
- if (Node441_9align === 'left') {
- Node441_9textStart = Node441_9fontSize * 0.2 > 2 ? Node441_9fontSize * 0.2 - 4 : Node441_9fontSize * 0.2 - 9;
- Node441_9textWidth = Node441_9width;
- Node441_9lineStart = 1;
- } else if (Node441_9align === 'right') {
- Node441_9textStart = 0;
- Node441_9textWidth =Node441_9fontSize <= 8 ? Node441_9width + Node441_9fontSize * 0.2 + 6 : Node441_9width - Node441_9fontSize * 0.2;
- Node441_9lineStart = (Node441_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node441_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node441_9align === 'center') {
- Node441_9textStart = -3;
- Node441_9textWidth = Node441_9width;
- Node441_9lineStart = Node441_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node441_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node441_9.setImage(GD.getTextJSON(Node441_9width, Node441_9height, true, false, false, 'bold '+ Node441_9fontSize + 'px "Arial"'))
- Node441_9.setPosition(1096*ratio.ratioX, 56*ratio.ratioY);
- Node441_9.setWidth(Node441_9width);
- Node441_9.setHeight(Node441_9height);
- Node441_9._nodeType = 'text';
- Node441_9._disallowEvert = true;
- Node441_9.setRotation(0*Math.PI/180);
- Node441_9.a('node.width', Node441_9width);
- Node441_9.a('node.height', Node441_9height);
- Node441_9.a('node.rect', [0, 0, Node441_9width, Node441_9height]);
- Node441_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node441_9.a('node.borderwidth', 0);
- Node441_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_9.a('node.gradient','');
- Node441_9.a('node.gradientcolor','');
- Node441_9.a('node.text','万kwh');
- Node441_9.a('node.textalign','center');
- Node441_9.a('node.textvAlign','middle');
- Node441_9.a('node.textrect', [Node441_9textStart, 0, Node441_9textWidth, Node441_9height]);
- Node441_9.a('node.color','rgba(128,128,128,1)');
- Node441_9.a('node.font','bold '+ Node441_9fontSize + 'px "Arial"');
- Node441_9.a('node.textvisible',true);
- Node441_9.a('node.linefeed',false);
- if (false) {
- Node441_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_9.a('node.text') || '万kwh';
- var color=Node441_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node441_9width,Node441_9height,10.66664*_ratio.ratioY,"center",color,'bold '+ Node441_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node441_9.a('node.underlinepoints',[Node441_9lineStart, (14 - 10.66664) * 0.5 * _ratio.ratioY + Node441_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node441_9fontSize + 'px "Arial"').width + 6, (Node441_9height - Node441_9fontSize) * 0.5*_ratio.ratioY + Node441_9fontSize + 2 ]);
- Node441_9.a('node.underlinevisible',false);
- Node441_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_9);
- zoomNodeList.push({
- node: Node441_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_10 = new ht.Node();
- var Node441_10textStart, Node441_10textWidth, Node441_10lineStart, Node441_10align = 'center', Node441_10fontSize = 11.99997*_ratio.ratioY,Node441_10width = 35*_ratio.ratioX, Node441_10height = 15*_ratio.ratioY;
- (function () {
- if (Node441_10align === 'left') {
- Node441_10textStart = Node441_10fontSize * 0.2 > 2 ? Node441_10fontSize * 0.2 - 4 : Node441_10fontSize * 0.2 - 9;
- Node441_10textWidth = Node441_10width;
- Node441_10lineStart = 1;
- } else if (Node441_10align === 'right') {
- Node441_10textStart = 0;
- Node441_10textWidth =Node441_10fontSize <= 8 ? Node441_10width + Node441_10fontSize * 0.2 + 6 : Node441_10width - Node441_10fontSize * 0.2;
- Node441_10lineStart = (Node441_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node441_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_10align === 'center') {
- Node441_10textStart = -3;
- Node441_10textWidth = Node441_10width;
- Node441_10lineStart = Node441_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node441_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_10.setImage(GD.getTextJSON(Node441_10width, Node441_10height, true, false, false, 'bold '+ Node441_10fontSize + 'px "UniDreamLED"'))
- Node441_10.setPosition(1096*ratio.ratioX, 83*ratio.ratioY);
- Node441_10.setWidth(Node441_10width);
- Node441_10.setHeight(Node441_10height);
- Node441_10._nodeType = 'text';
- Node441_10._disallowEvert = true;
- Node441_10.setRotation(0*Math.PI/180);
- Node441_10.a('node.width', Node441_10width);
- Node441_10.a('node.height', Node441_10height);
- Node441_10.a('node.rect', [0, 0, Node441_10width, Node441_10height]);
- Node441_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_10.a('node.borderwidth', 0);
- Node441_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_10.a('node.gradient','');
- Node441_10.a('node.gradientcolor','');
- Node441_10.a('node.text','1134.76');
- Node441_10.a('node.textalign','center');
- Node441_10.a('node.textvAlign','middle');
- Node441_10.a('node.textrect', [Node441_10textStart, 0, Node441_10textWidth, Node441_10height]);
- Node441_10.a('node.color','rgba(0,0,0,1)');
- Node441_10.a('node.font','bold '+ Node441_10fontSize + 'px "UniDreamLED"');
- Node441_10.a('node.textvisible',true);
- Node441_10.a('node.linefeed',false);
- if (false) {
- Node441_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_10.a('node.text') || '1134.76';
- var color=Node441_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_10width,Node441_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_10.a('node.underlinepoints',[Node441_10lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node441_10fontSize + 'px "UniDreamLED"').width + 6, (Node441_10height - Node441_10fontSize) * 0.5*_ratio.ratioY + Node441_10fontSize + 2 ]);
- Node441_10.a('node.underlinevisible',false);
- Node441_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_10);
- zoomNodeList.push({
- node: Node441_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_11 = new ht.Node();
- var Node441_11textStart, Node441_11textWidth, Node441_11lineStart, Node441_11align = 'center', Node441_11fontSize = 11.99997*_ratio.ratioY,Node441_11width = 26*_ratio.ratioX, Node441_11height = 15*_ratio.ratioY;
- (function () {
- if (Node441_11align === 'left') {
- Node441_11textStart = Node441_11fontSize * 0.2 > 2 ? Node441_11fontSize * 0.2 - 4 : Node441_11fontSize * 0.2 - 9;
- Node441_11textWidth = Node441_11width;
- Node441_11lineStart = 1;
- } else if (Node441_11align === 'right') {
- Node441_11textStart = 0;
- Node441_11textWidth =Node441_11fontSize <= 8 ? Node441_11width + Node441_11fontSize * 0.2 + 6 : Node441_11width - Node441_11fontSize * 0.2;
- Node441_11lineStart = (Node441_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node441_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_11align === 'center') {
- Node441_11textStart = -3;
- Node441_11textWidth = Node441_11width;
- Node441_11lineStart = Node441_11width - ht.Default.getTextSize('171.51', 'bold '+ Node441_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_11.setImage(GD.getTextJSON(Node441_11width, Node441_11height, true, false, false, 'bold '+ Node441_11fontSize + 'px "UniDreamLED"'))
- Node441_11.setPosition(1098*ratio.ratioX, 115*ratio.ratioY);
- Node441_11.setWidth(Node441_11width);
- Node441_11.setHeight(Node441_11height);
- Node441_11._nodeType = 'text';
- Node441_11._disallowEvert = true;
- Node441_11.setRotation(0*Math.PI/180);
- Node441_11.a('node.width', Node441_11width);
- Node441_11.a('node.height', Node441_11height);
- Node441_11.a('node.rect', [0, 0, Node441_11width, Node441_11height]);
- Node441_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_11.a('node.borderwidth', 0);
- Node441_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_11.a('node.gradient','');
- Node441_11.a('node.gradientcolor','');
- Node441_11.a('node.text','171.51');
- Node441_11.a('node.textalign','center');
- Node441_11.a('node.textvAlign','middle');
- Node441_11.a('node.textrect', [Node441_11textStart, 0, Node441_11textWidth, Node441_11height]);
- Node441_11.a('node.color','rgba(0,0,0,1)');
- Node441_11.a('node.font','bold '+ Node441_11fontSize + 'px "UniDreamLED"');
- Node441_11.a('node.textvisible',true);
- Node441_11.a('node.linefeed',false);
- if (false) {
- Node441_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_11.a('node.text') || '171.51';
- var color=Node441_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_11width,Node441_11height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_11.a('node.underlinepoints',[Node441_11lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node441_11fontSize + 'px "UniDreamLED"').width + 6, (Node441_11height - Node441_11fontSize) * 0.5*_ratio.ratioY + Node441_11fontSize + 2 ]);
- Node441_11.a('node.underlinevisible',false);
- Node441_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_11);
- zoomNodeList.push({
- node: Node441_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_12 = new ht.Node();
- var Node441_12textStart, Node441_12textWidth, Node441_12lineStart, Node441_12align = 'center', Node441_12fontSize = 11.99997*_ratio.ratioY,Node441_12width = 33*_ratio.ratioX, Node441_12height = 15*_ratio.ratioY;
- (function () {
- if (Node441_12align === 'left') {
- Node441_12textStart = Node441_12fontSize * 0.2 > 2 ? Node441_12fontSize * 0.2 - 4 : Node441_12fontSize * 0.2 - 9;
- Node441_12textWidth = Node441_12width;
- Node441_12lineStart = 1;
- } else if (Node441_12align === 'right') {
- Node441_12textStart = 0;
- Node441_12textWidth =Node441_12fontSize <= 8 ? Node441_12width + Node441_12fontSize * 0.2 + 6 : Node441_12width - Node441_12fontSize * 0.2;
- Node441_12lineStart = (Node441_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node441_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_12align === 'center') {
- Node441_12textStart = -3;
- Node441_12textWidth = Node441_12width;
- Node441_12lineStart = Node441_12width - ht.Default.getTextSize('329.51', 'bold '+ Node441_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_12.setImage(GD.getTextJSON(Node441_12width, Node441_12height, true, false, false, 'bold '+ Node441_12fontSize + 'px "UniDreamLED"'))
- Node441_12.setPosition(1098*ratio.ratioX, 145*ratio.ratioY);
- Node441_12.setWidth(Node441_12width);
- Node441_12.setHeight(Node441_12height);
- Node441_12._nodeType = 'text';
- Node441_12._disallowEvert = true;
- Node441_12.setRotation(0*Math.PI/180);
- Node441_12.a('node.width', Node441_12width);
- Node441_12.a('node.height', Node441_12height);
- Node441_12.a('node.rect', [0, 0, Node441_12width, Node441_12height]);
- Node441_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_12.a('node.borderwidth', 0);
- Node441_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_12.a('node.gradient','');
- Node441_12.a('node.gradientcolor','');
- Node441_12.a('node.text','329.51');
- Node441_12.a('node.textalign','center');
- Node441_12.a('node.textvAlign','middle');
- Node441_12.a('node.textrect', [Node441_12textStart, 0, Node441_12textWidth, Node441_12height]);
- Node441_12.a('node.color','rgba(0,0,0,1)');
- Node441_12.a('node.font','bold '+ Node441_12fontSize + 'px "UniDreamLED"');
- Node441_12.a('node.textvisible',true);
- Node441_12.a('node.linefeed',false);
- if (false) {
- Node441_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_12.a('node.text') || '329.51';
- var color=Node441_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_12width,Node441_12height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_12.a('node.underlinepoints',[Node441_12lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node441_12fontSize + 'px "UniDreamLED"').width + 6, (Node441_12height - Node441_12fontSize) * 0.5*_ratio.ratioY + Node441_12fontSize + 2 ]);
- Node441_12.a('node.underlinevisible',false);
- Node441_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_12);
- zoomNodeList.push({
- node: Node441_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_13 = new ht.Node();
- var Node441_13textStart, Node441_13textWidth, Node441_13lineStart, Node441_13align = 'center', Node441_13fontSize = 11.99997*_ratio.ratioY,Node441_13width = 33*_ratio.ratioX, Node441_13height = 15*_ratio.ratioY;
- (function () {
- if (Node441_13align === 'left') {
- Node441_13textStart = Node441_13fontSize * 0.2 > 2 ? Node441_13fontSize * 0.2 - 4 : Node441_13fontSize * 0.2 - 9;
- Node441_13textWidth = Node441_13width;
- Node441_13lineStart = 1;
- } else if (Node441_13align === 'right') {
- Node441_13textStart = 0;
- Node441_13textWidth =Node441_13fontSize <= 8 ? Node441_13width + Node441_13fontSize * 0.2 + 6 : Node441_13width - Node441_13fontSize * 0.2;
- Node441_13lineStart = (Node441_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node441_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_13align === 'center') {
- Node441_13textStart = -3;
- Node441_13textWidth = Node441_13width;
- Node441_13lineStart = Node441_13width - ht.Default.getTextSize('340.14', 'bold '+ Node441_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_13.setImage(GD.getTextJSON(Node441_13width, Node441_13height, true, false, false, 'bold '+ Node441_13fontSize + 'px "UniDreamLED"'))
- Node441_13.setPosition(1098*ratio.ratioX, 175*ratio.ratioY);
- Node441_13.setWidth(Node441_13width);
- Node441_13.setHeight(Node441_13height);
- Node441_13._nodeType = 'text';
- Node441_13._disallowEvert = true;
- Node441_13.setRotation(0*Math.PI/180);
- Node441_13.a('node.width', Node441_13width);
- Node441_13.a('node.height', Node441_13height);
- Node441_13.a('node.rect', [0, 0, Node441_13width, Node441_13height]);
- Node441_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_13.a('node.borderwidth', 0);
- Node441_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_13.a('node.gradient','');
- Node441_13.a('node.gradientcolor','');
- Node441_13.a('node.text','340.14');
- Node441_13.a('node.textalign','center');
- Node441_13.a('node.textvAlign','middle');
- Node441_13.a('node.textrect', [Node441_13textStart, 0, Node441_13textWidth, Node441_13height]);
- Node441_13.a('node.color','rgba(0,0,0,1)');
- Node441_13.a('node.font','bold '+ Node441_13fontSize + 'px "UniDreamLED"');
- Node441_13.a('node.textvisible',true);
- Node441_13.a('node.linefeed',false);
- if (false) {
- Node441_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_13.a('node.text') || '340.14';
- var color=Node441_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_13width,Node441_13height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_13.a('node.underlinepoints',[Node441_13lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node441_13fontSize + 'px "UniDreamLED"').width + 6, (Node441_13height - Node441_13fontSize) * 0.5*_ratio.ratioY + Node441_13fontSize + 2 ]);
- Node441_13.a('node.underlinevisible',false);
- Node441_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_13);
- zoomNodeList.push({
- node: Node441_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_14 = new ht.Node();
- var Node441_14textStart, Node441_14textWidth, Node441_14lineStart, Node441_14align = 'center', Node441_14fontSize = 11.99997*_ratio.ratioY,Node441_14width = 27*_ratio.ratioX, Node441_14height = 15*_ratio.ratioY;
- (function () {
- if (Node441_14align === 'left') {
- Node441_14textStart = Node441_14fontSize * 0.2 > 2 ? Node441_14fontSize * 0.2 - 4 : Node441_14fontSize * 0.2 - 9;
- Node441_14textWidth = Node441_14width;
- Node441_14lineStart = 1;
- } else if (Node441_14align === 'right') {
- Node441_14textStart = 0;
- Node441_14textWidth =Node441_14fontSize <= 8 ? Node441_14width + Node441_14fontSize * 0.2 + 6 : Node441_14width - Node441_14fontSize * 0.2;
- Node441_14lineStart = (Node441_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node441_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_14align === 'center') {
- Node441_14textStart = -3;
- Node441_14textWidth = Node441_14width;
- Node441_14lineStart = Node441_14width - ht.Default.getTextSize('60.61', 'bold '+ Node441_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_14.setImage(GD.getTextJSON(Node441_14width, Node441_14height, true, false, false, 'bold '+ Node441_14fontSize + 'px "UniDreamLED"'))
- Node441_14.setPosition(1098*ratio.ratioX, 209*ratio.ratioY);
- Node441_14.setWidth(Node441_14width);
- Node441_14.setHeight(Node441_14height);
- Node441_14._nodeType = 'text';
- Node441_14._disallowEvert = true;
- Node441_14.setRotation(0*Math.PI/180);
- Node441_14.a('node.width', Node441_14width);
- Node441_14.a('node.height', Node441_14height);
- Node441_14.a('node.rect', [0, 0, Node441_14width, Node441_14height]);
- Node441_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_14.a('node.borderwidth', 0);
- Node441_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_14.a('node.gradient','');
- Node441_14.a('node.gradientcolor','');
- Node441_14.a('node.text','60.61');
- Node441_14.a('node.textalign','center');
- Node441_14.a('node.textvAlign','middle');
- Node441_14.a('node.textrect', [Node441_14textStart, 0, Node441_14textWidth, Node441_14height]);
- Node441_14.a('node.color','rgba(0,0,0,1)');
- Node441_14.a('node.font','bold '+ Node441_14fontSize + 'px "UniDreamLED"');
- Node441_14.a('node.textvisible',true);
- Node441_14.a('node.linefeed',false);
- if (false) {
- Node441_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_14.a('node.text') || '60.61';
- var color=Node441_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_14width,Node441_14height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_14.a('node.underlinepoints',[Node441_14lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node441_14fontSize + 'px "UniDreamLED"').width + 6, (Node441_14height - Node441_14fontSize) * 0.5*_ratio.ratioY + Node441_14fontSize + 2 ]);
- Node441_14.a('node.underlinevisible',false);
- Node441_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_14);
- zoomNodeList.push({
- node: Node441_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_15 = new ht.Node();
- var Node441_15textStart, Node441_15textWidth, Node441_15lineStart, Node441_15align = 'center', Node441_15fontSize = 11.99997*_ratio.ratioY,Node441_15width = 33*_ratio.ratioX, Node441_15height = 15*_ratio.ratioY;
- (function () {
- if (Node441_15align === 'left') {
- Node441_15textStart = Node441_15fontSize * 0.2 > 2 ? Node441_15fontSize * 0.2 - 4 : Node441_15fontSize * 0.2 - 9;
- Node441_15textWidth = Node441_15width;
- Node441_15lineStart = 1;
- } else if (Node441_15align === 'right') {
- Node441_15textStart = 0;
- Node441_15textWidth =Node441_15fontSize <= 8 ? Node441_15width + Node441_15fontSize * 0.2 + 6 : Node441_15width - Node441_15fontSize * 0.2;
- Node441_15lineStart = (Node441_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node441_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_15align === 'center') {
- Node441_15textStart = -3;
- Node441_15textWidth = Node441_15width;
- Node441_15lineStart = Node441_15width - ht.Default.getTextSize('166.79', 'bold '+ Node441_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_15.setImage(GD.getTextJSON(Node441_15width, Node441_15height, true, false, false, 'bold '+ Node441_15fontSize + 'px "UniDreamLED"'))
- Node441_15.setPosition(1098*ratio.ratioX, 242*ratio.ratioY);
- Node441_15.setWidth(Node441_15width);
- Node441_15.setHeight(Node441_15height);
- Node441_15._nodeType = 'text';
- Node441_15._disallowEvert = true;
- Node441_15.setRotation(0*Math.PI/180);
- Node441_15.a('node.width', Node441_15width);
- Node441_15.a('node.height', Node441_15height);
- Node441_15.a('node.rect', [0, 0, Node441_15width, Node441_15height]);
- Node441_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_15.a('node.borderwidth', 0);
- Node441_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_15.a('node.gradient','');
- Node441_15.a('node.gradientcolor','');
- Node441_15.a('node.text','166.79');
- Node441_15.a('node.textalign','center');
- Node441_15.a('node.textvAlign','middle');
- Node441_15.a('node.textrect', [Node441_15textStart, 0, Node441_15textWidth, Node441_15height]);
- Node441_15.a('node.color','rgba(0,0,0,1)');
- Node441_15.a('node.font','bold '+ Node441_15fontSize + 'px "UniDreamLED"');
- Node441_15.a('node.textvisible',true);
- Node441_15.a('node.linefeed',false);
- if (false) {
- Node441_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_15.a('node.text') || '166.79';
- var color=Node441_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_15width,Node441_15height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_15.a('node.underlinepoints',[Node441_15lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node441_15fontSize + 'px "UniDreamLED"').width + 6, (Node441_15height - Node441_15fontSize) * 0.5*_ratio.ratioY + Node441_15fontSize + 2 ]);
- Node441_15.a('node.underlinevisible',false);
- Node441_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_15);
- zoomNodeList.push({
- node: Node441_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_16 = new ht.Node();
- var Node441_16textStart, Node441_16textWidth, Node441_16lineStart, Node441_16align = 'center', Node441_16fontSize = 11.99997*_ratio.ratioY,Node441_16width = 27*_ratio.ratioX, Node441_16height = 15*_ratio.ratioY;
- (function () {
- if (Node441_16align === 'left') {
- Node441_16textStart = Node441_16fontSize * 0.2 > 2 ? Node441_16fontSize * 0.2 - 4 : Node441_16fontSize * 0.2 - 9;
- Node441_16textWidth = Node441_16width;
- Node441_16lineStart = 1;
- } else if (Node441_16align === 'right') {
- Node441_16textStart = 0;
- Node441_16textWidth =Node441_16fontSize <= 8 ? Node441_16width + Node441_16fontSize * 0.2 + 6 : Node441_16width - Node441_16fontSize * 0.2;
- Node441_16lineStart = (Node441_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node441_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_16align === 'center') {
- Node441_16textStart = -3;
- Node441_16textWidth = Node441_16width;
- Node441_16lineStart = Node441_16width - ht.Default.getTextSize('66.18', 'bold '+ Node441_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_16.setImage(GD.getTextJSON(Node441_16width, Node441_16height, true, false, false, 'bold '+ Node441_16fontSize + 'px "UniDreamLED"'))
- Node441_16.setPosition(1098*ratio.ratioX, 271*ratio.ratioY);
- Node441_16.setWidth(Node441_16width);
- Node441_16.setHeight(Node441_16height);
- Node441_16._nodeType = 'text';
- Node441_16._disallowEvert = true;
- Node441_16.setRotation(0*Math.PI/180);
- Node441_16.a('node.width', Node441_16width);
- Node441_16.a('node.height', Node441_16height);
- Node441_16.a('node.rect', [0, 0, Node441_16width, Node441_16height]);
- Node441_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_16.a('node.borderwidth', 0);
- Node441_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_16.a('node.gradient','');
- Node441_16.a('node.gradientcolor','');
- Node441_16.a('node.text','66.18');
- Node441_16.a('node.textalign','center');
- Node441_16.a('node.textvAlign','middle');
- Node441_16.a('node.textrect', [Node441_16textStart, 0, Node441_16textWidth, Node441_16height]);
- Node441_16.a('node.color','rgba(0,0,0,1)');
- Node441_16.a('node.font','bold '+ Node441_16fontSize + 'px "UniDreamLED"');
- Node441_16.a('node.textvisible',true);
- Node441_16.a('node.linefeed',false);
- if (false) {
- Node441_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_16.a('node.text') || '66.18';
- var color=Node441_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_16width,Node441_16height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_16.a('node.underlinepoints',[Node441_16lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node441_16fontSize + 'px "UniDreamLED"').width + 6, (Node441_16height - Node441_16fontSize) * 0.5*_ratio.ratioY + Node441_16fontSize + 2 ]);
- Node441_16.a('node.underlinevisible',false);
- Node441_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_16);
- zoomNodeList.push({
- node: Node441_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node441_17 = new ht.Node();
- var Node441_17textStart, Node441_17textWidth, Node441_17lineStart, Node441_17align = 'center', Node441_17fontSize = 11.99997*_ratio.ratioY,Node441_17width = 8*_ratio.ratioX, Node441_17height = 15*_ratio.ratioY;
- (function () {
- if (Node441_17align === 'left') {
- Node441_17textStart = Node441_17fontSize * 0.2 > 2 ? Node441_17fontSize * 0.2 - 4 : Node441_17fontSize * 0.2 - 9;
- Node441_17textWidth = Node441_17width;
- Node441_17lineStart = 1;
- } else if (Node441_17align === 'right') {
- Node441_17textStart = 0;
- Node441_17textWidth =Node441_17fontSize <= 8 ? Node441_17width + Node441_17fontSize * 0.2 + 6 : Node441_17width - Node441_17fontSize * 0.2;
- Node441_17lineStart = (Node441_17width - (ht.Default.getTextSize('-', 'bold '+ Node441_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node441_17align === 'center') {
- Node441_17textStart = -3;
- Node441_17textWidth = Node441_17width;
- Node441_17lineStart = Node441_17width - ht.Default.getTextSize('-', 'bold '+ Node441_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node441_17.setImage(GD.getTextJSON(Node441_17width, Node441_17height, true, false, false, 'bold '+ Node441_17fontSize + 'px "UniDreamLED"'))
- Node441_17.setPosition(1098*ratio.ratioX, 302*ratio.ratioY);
- Node441_17.setWidth(Node441_17width);
- Node441_17.setHeight(Node441_17height);
- Node441_17._nodeType = 'text';
- Node441_17._disallowEvert = true;
- Node441_17.setRotation(0*Math.PI/180);
- Node441_17.a('node.width', Node441_17width);
- Node441_17.a('node.height', Node441_17height);
- Node441_17.a('node.rect', [0, 0, Node441_17width, Node441_17height]);
- Node441_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node441_17.a('node.borderwidth', 0);
- Node441_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node441_17.a('node.gradient','');
- Node441_17.a('node.gradientcolor','');
- Node441_17.a('node.text','-');
- Node441_17.a('node.textalign','center');
- Node441_17.a('node.textvAlign','middle');
- Node441_17.a('node.textrect', [Node441_17textStart, 0, Node441_17textWidth, Node441_17height]);
- Node441_17.a('node.color','rgba(0,0,0,1)');
- Node441_17.a('node.font','bold '+ Node441_17fontSize + 'px "UniDreamLED"');
- Node441_17.a('node.textvisible',true);
- Node441_17.a('node.linefeed',false);
- if (false) {
- Node441_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node441_17.a('node.text') || '-';
- var color=Node441_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node441_17width,Node441_17height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node441_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node441_17.a('node.underlinepoints',[Node441_17lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node441_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node441_17fontSize + 'px "UniDreamLED"').width + 6, (Node441_17height - Node441_17fontSize) * 0.5*_ratio.ratioY + Node441_17fontSize + 2 ]);
- Node441_17.a('node.underlinevisible',false);
- Node441_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node441_17);
- zoomNodeList.push({
- node: Node441_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node442_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');
- Node442_0 = new ht.Node();
- Node442_0.setPosition(1098*ratio.ratioX, 162*ratio.ratioY);
- Node442_0.setSize(117*ratioX, 313*ratioY);
- Node442_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node442_0.setRotation(0*Math.PI/180);
- Node442_0._zoomBy = 'Default';
- Node442_0._nodeType = 'image';
- Node442_0._disallowEvert = true;
- dataModel.add(Node442_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node442_1 = new ht.Node();
- var Node442_1textStart, Node442_1textWidth, Node442_1lineStart, Node442_1align = 'center', Node442_1fontSize = 11.99997*_ratio.ratioY,Node442_1width = 87*_ratio.ratioX, Node442_1height = 15*_ratio.ratioY;
- (function () {
- if (Node442_1align === 'left') {
- Node442_1textStart = Node442_1fontSize * 0.2 > 2 ? Node442_1fontSize * 0.2 - 4 : Node442_1fontSize * 0.2 - 9;
- Node442_1textWidth = Node442_1width;
- Node442_1lineStart = 1;
- } else if (Node442_1align === 'right') {
- Node442_1textStart = 0;
- Node442_1textWidth =Node442_1fontSize <= 8 ? Node442_1width + Node442_1fontSize * 0.2 + 6 : Node442_1width - Node442_1fontSize * 0.2;
- Node442_1lineStart = (Node442_1width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node442_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node442_1align === 'center') {
- Node442_1textStart = -3;
- Node442_1textWidth = Node442_1width;
- Node442_1lineStart = Node442_1width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node442_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node442_1.setImage(GD.getTextJSON(Node442_1width, Node442_1height, true, false, false, 'bold '+ Node442_1fontSize + 'px "Arial"'))
- Node442_1.setPosition(1094*ratio.ratioX, 27*ratio.ratioY);
- Node442_1.setWidth(Node442_1width);
- Node442_1.setHeight(Node442_1height);
- Node442_1._nodeType = 'text';
- Node442_1._disallowEvert = true;
- Node442_1.setRotation(0*Math.PI/180);
- Node442_1.a('node.width', Node442_1width);
- Node442_1.a('node.height', Node442_1height);
- Node442_1.a('node.rect', [0, 0, Node442_1width, Node442_1height]);
- Node442_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node442_1.a('node.borderwidth', 0);
- Node442_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node442_1.a('node.gradient','');
- Node442_1.a('node.gradientcolor','');
- Node442_1.a('node.text','性能损失电量');
- Node442_1.a('node.textalign','center');
- Node442_1.a('node.textvAlign','middle');
- Node442_1.a('node.textrect', [Node442_1textStart, 0, Node442_1textWidth, Node442_1height]);
- Node442_1.a('node.color','rgba(255,255,255,1)');
- Node442_1.a('node.font','bold '+ Node442_1fontSize + 'px "Arial"');
- Node442_1.a('node.textvisible',true);
- Node442_1.a('node.linefeed',false);
- if (false) {
- Node442_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node442_1.a('node.text') || '性能损失电量';
- var color=Node442_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node442_1width,Node442_1height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node442_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node442_1.a('node.underlinepoints',[Node442_1lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node442_1fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node442_1fontSize + 'px "Arial"').width + 6, (Node442_1height - Node442_1fontSize) * 0.5*_ratio.ratioY + Node442_1fontSize + 2 ]);
- Node442_1.a('node.underlinevisible',false);
- Node442_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node442_1);
- zoomNodeList.push({
- node: Node442_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node443points=[151, 319,278, 319],
- Node443rect=ht.Default.unionPoint([{x:151,y:319},{x:278,y:319}]),
- Node443compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node443points.length;i++){
- if(i%2==0){
- Node443compspts.push(Node443points[i]-Node443rect.x);
- }else{
- Node443compspts.push(Node443points[i]-Node443rect.y);
- }
- }
- var Node443ptslength=Node443compspts.length;
- if (Node443rect.height === 0) {
- Node443compspts[0] -= 0;
- Node443compspts[Node443ptslength-2] += 0;
- } else if (Node443rect.width === 0){
- Node443compspts[1] -= 0;
- Node443compspts[Node443ptslength-1] += 0;
- } else {
- Node443compspts[0] -= 0;
- Node443compspts[1] -= 0;
- Node443compspts[Node443ptslength-2] += 0;
- Node443compspts[Node443ptslength-1] += 0;
- }
- Node443 = new ht.Node();
- Node443.borderWidth = 1;
- Node443rect.width = Node443rect.width === 0 ? 0.0001 : Node443rect.width;
- Node443rect.height = Node443rect.height === 0 ? 0.0001 : Node443rect.height;
- var Node443endCompspts = [Node443compspts[Node443ptslength-2],Node443compspts[Node443ptslength-1],0,0];
- var Node443startCompspts = [Node443compspts[0],Node443compspts[1],0,0];
- Node443.setImage(GD.getPolyLineJSON());
- Node443.setPosition(Node443rect.x+Node443rect.width/2,Node443rect.y+Node443rect.height/2);
- Node443.setSize(Node443rect.width,Node443rect.height);
- Node443.setStyle("opacity",1);
- Node443.s({'pixelPerfect':true});
- Node443borderwidth=1;
- Node443.setRotation(0);
- dataModel.add(Node443);
- Node443.a('node.points',Node443compspts);
- Node443.a('node.segments',[1,2]);
- Node443.a('node.color','rgba(192,192,192,1)');
- Node443.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node443.a('node.borderColor','rgba(192,192,192,1)');
- Node443.a('node.background','rgba(192,192,192,1)');
- Node443.a('node.gradient','');
- Node443.a('node.gradientcolor','rgba(192,192,192,1)');
- Node443.a('node.endCompspts',Node443endCompspts);
- Node443.a('node.startCompspts',Node443startCompspts);
- (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 = 'Node443';
- 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);
- }
- })(Node443, Node443.getImage(), Node443compspts, Node443endCompspts, Node443startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_0type = 'rect';
- var Node444_0 = new ht.Node(),
- Node444_0BorderWidth = 0*2;
- if (Node444_0type === 'arc') {
- Node444_0BorderWidth *= 0;
- }
- Node444_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_0.setPosition(1219*ratio.ratioX, 115*ratio.ratioY);
- Node444_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_0.a('node.width', 127*_ratio.ratioX);
- Node444_0.a('node.height', 32*_ratio.ratioY);
- Node444_0.a('node.type', Node444_0type);
- Node444_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_0.a('node.background', 'rgba(245,245,245,1)');
- Node444_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node444_0.a('node.gradient', '');
- Node444_0.a('node.borderwidth', Node444_0BorderWidth);
- Node444_0.a('node.color', 'rgba(192,192,192,0)');
- Node444_0.a('node.fillrect', [0,0,0,0]);
- Node444_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_0.a('node.fillgradient', '');
- if (Node444_0type !== 'rect') {
- Node444_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_0type === 'arc') {
- Node444_0.a('node.arcOval', true);
- }
- Node444_0.setRotation(0*Math.PI/180);
- Node444_0.borderWidth = Node444_0BorderWidth;
- Node444_0.borderFillwidth = Node444_0BorderWidth;
- dataModel.add(Node444_0);
- Node444_0._nodename = 'Node444_0'
- Node444_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_0, Node444_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_1type = 'rect';
- var Node444_1 = new ht.Node(),
- Node444_1BorderWidth = 0*2;
- if (Node444_1type === 'arc') {
- Node444_1BorderWidth *= 0;
- }
- Node444_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_1.setPosition(1219*ratio.ratioX, 147*ratio.ratioY);
- Node444_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_1.a('node.width', 127*_ratio.ratioX);
- Node444_1.a('node.height', 32*_ratio.ratioY);
- Node444_1.a('node.type', Node444_1type);
- Node444_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node444_1.a('node.gradientcolor', '');
- Node444_1.a('node.gradient', '');
- Node444_1.a('node.borderwidth', Node444_1BorderWidth);
- Node444_1.a('node.color', 'rgba(192,192,192,0)');
- Node444_1.a('node.fillrect', [0,0,0,0]);
- Node444_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_1.a('node.fillgradient', '');
- if (Node444_1type !== 'rect') {
- Node444_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_1type === 'arc') {
- Node444_1.a('node.arcOval', true);
- }
- Node444_1.setRotation(0*Math.PI/180);
- Node444_1.borderWidth = Node444_1BorderWidth;
- Node444_1.borderFillwidth = Node444_1BorderWidth;
- dataModel.add(Node444_1);
- Node444_1._nodename = 'Node444_1'
- Node444_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_1, Node444_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_2type = 'rect';
- var Node444_2 = new ht.Node(),
- Node444_2BorderWidth = 0*2;
- if (Node444_2type === 'arc') {
- Node444_2BorderWidth *= 0;
- }
- Node444_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_2.setPosition(1219*ratio.ratioX, 179*ratio.ratioY);
- Node444_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_2.a('node.width', 127*_ratio.ratioX);
- Node444_2.a('node.height', 32*_ratio.ratioY);
- Node444_2.a('node.type', Node444_2type);
- Node444_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_2.a('node.background', 'rgba(245,245,245,1)');
- Node444_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node444_2.a('node.gradient', '');
- Node444_2.a('node.borderwidth', Node444_2BorderWidth);
- Node444_2.a('node.color', 'rgba(192,192,192,0)');
- Node444_2.a('node.fillrect', [0,0,0,0]);
- Node444_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_2.a('node.fillgradient', '');
- if (Node444_2type !== 'rect') {
- Node444_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_2type === 'arc') {
- Node444_2.a('node.arcOval', true);
- }
- Node444_2.setRotation(0*Math.PI/180);
- Node444_2.borderWidth = Node444_2BorderWidth;
- Node444_2.borderFillwidth = Node444_2BorderWidth;
- dataModel.add(Node444_2);
- Node444_2._nodename = 'Node444_2'
- Node444_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_2, Node444_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_3type = 'rect';
- var Node444_3 = new ht.Node(),
- Node444_3BorderWidth = 0*2;
- if (Node444_3type === 'arc') {
- Node444_3BorderWidth *= 0;
- }
- Node444_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_3.setPosition(1219*ratio.ratioX, 210*ratio.ratioY);
- Node444_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_3.a('node.width', 127*_ratio.ratioX);
- Node444_3.a('node.height', 32*_ratio.ratioY);
- Node444_3.a('node.type', Node444_3type);
- Node444_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node444_3.a('node.gradientcolor', '');
- Node444_3.a('node.gradient', '');
- Node444_3.a('node.borderwidth', Node444_3BorderWidth);
- Node444_3.a('node.color', 'rgba(192,192,192,0)');
- Node444_3.a('node.fillrect', [0,0,0,0]);
- Node444_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_3.a('node.fillgradient', '');
- if (Node444_3type !== 'rect') {
- Node444_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_3type === 'arc') {
- Node444_3.a('node.arcOval', true);
- }
- Node444_3.setRotation(0*Math.PI/180);
- Node444_3.borderWidth = Node444_3BorderWidth;
- Node444_3.borderFillwidth = Node444_3BorderWidth;
- dataModel.add(Node444_3);
- Node444_3._nodename = 'Node444_3'
- Node444_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_3, Node444_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_4type = 'rect';
- var Node444_4 = new ht.Node(),
- Node444_4BorderWidth = 0*2;
- if (Node444_4type === 'arc') {
- Node444_4BorderWidth *= 0;
- }
- Node444_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_4.setPosition(1219*ratio.ratioX, 241*ratio.ratioY);
- Node444_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_4.a('node.width', 127*_ratio.ratioX);
- Node444_4.a('node.height', 32*_ratio.ratioY);
- Node444_4.a('node.type', Node444_4type);
- Node444_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_4.a('node.background', 'rgba(245,245,245,1)');
- Node444_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node444_4.a('node.gradient', '');
- Node444_4.a('node.borderwidth', Node444_4BorderWidth);
- Node444_4.a('node.color', 'rgba(192,192,192,0)');
- Node444_4.a('node.fillrect', [0,0,0,0]);
- Node444_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_4.a('node.fillgradient', '');
- if (Node444_4type !== 'rect') {
- Node444_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_4type === 'arc') {
- Node444_4.a('node.arcOval', true);
- }
- Node444_4.setRotation(0*Math.PI/180);
- Node444_4.borderWidth = Node444_4BorderWidth;
- Node444_4.borderFillwidth = Node444_4BorderWidth;
- dataModel.add(Node444_4);
- Node444_4._nodename = 'Node444_4'
- Node444_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_4, Node444_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_5type = 'rect';
- var Node444_5 = new ht.Node(),
- Node444_5BorderWidth = 0*2;
- if (Node444_5type === 'arc') {
- Node444_5BorderWidth *= 0;
- }
- Node444_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_5.setPosition(1219*ratio.ratioX, 272*ratio.ratioY);
- Node444_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_5.a('node.width', 127*_ratio.ratioX);
- Node444_5.a('node.height', 32*_ratio.ratioY);
- Node444_5.a('node.type', Node444_5type);
- Node444_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node444_5.a('node.gradientcolor', '');
- Node444_5.a('node.gradient', '');
- Node444_5.a('node.borderwidth', Node444_5BorderWidth);
- Node444_5.a('node.color', 'rgba(192,192,192,0)');
- Node444_5.a('node.fillrect', [0,0,0,0]);
- Node444_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_5.a('node.fillgradient', '');
- if (Node444_5type !== 'rect') {
- Node444_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_5type === 'arc') {
- Node444_5.a('node.arcOval', true);
- }
- Node444_5.setRotation(0*Math.PI/180);
- Node444_5.borderWidth = Node444_5BorderWidth;
- Node444_5.borderFillwidth = Node444_5BorderWidth;
- dataModel.add(Node444_5);
- Node444_5._nodename = 'Node444_5'
- Node444_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_5, Node444_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_6type = 'rect';
- var Node444_6 = new ht.Node(),
- Node444_6BorderWidth = 0*2;
- if (Node444_6type === 'arc') {
- Node444_6BorderWidth *= 0;
- }
- Node444_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node444_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_6.setPosition(1219*ratio.ratioX, 303*ratio.ratioY);
- Node444_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node444_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_6.a('node.width', 127*_ratio.ratioX);
- Node444_6.a('node.height', 32*_ratio.ratioY);
- Node444_6.a('node.type', Node444_6type);
- Node444_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node444_6.a('node.background', 'rgba(245,245,245,1)');
- Node444_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node444_6.a('node.gradient', '');
- Node444_6.a('node.borderwidth', Node444_6BorderWidth);
- Node444_6.a('node.color', 'rgba(192,192,192,0)');
- Node444_6.a('node.fillrect', [0,0,0,0]);
- Node444_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_6.a('node.fillgradient', '');
- if (Node444_6type !== 'rect') {
- Node444_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_6type === 'arc') {
- Node444_6.a('node.arcOval', true);
- }
- Node444_6.setRotation(0*Math.PI/180);
- Node444_6.borderWidth = Node444_6BorderWidth;
- Node444_6.borderFillwidth = Node444_6BorderWidth;
- dataModel.add(Node444_6);
- Node444_6._nodename = 'Node444_6'
- Node444_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_6, Node444_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_7type = 'rect';
- var Node444_7 = new ht.Node(),
- Node444_7BorderWidth = 1*2;
- if (Node444_7type === 'arc') {
- Node444_7BorderWidth *= 1;
- }
- Node444_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node444_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node444_7.setPosition(1219*ratio.ratioX, 164*ratio.ratioY);
- Node444_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node444_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node444_7.a('node.width', 127*_ratio.ratioX);
- Node444_7.a('node.height', 309*_ratio.ratioY);
- Node444_7.a('node.type', Node444_7type);
- Node444_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node444_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node444_7.a('node.gradientcolor', '');
- Node444_7.a('node.gradient', '');
- Node444_7.a('node.borderwidth', Node444_7BorderWidth);
- Node444_7.a('node.color', 'rgba(192,192,192,1)');
- Node444_7.a('node.fillrect', [0,0,0,0]);
- Node444_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node444_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node444_7.a('node.fillgradient', '');
- if (Node444_7type !== 'rect') {
- Node444_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node444_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node444_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node444_7type === 'arc') {
- Node444_7.a('node.arcOval', true);
- }
- Node444_7.setRotation(0*Math.PI/180);
- Node444_7.borderWidth = Node444_7BorderWidth;
- Node444_7.borderFillwidth = Node444_7BorderWidth;
- dataModel.add(Node444_7);
- Node444_7._nodename = 'Node444_7'
- Node444_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node444_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);
- }
- })(Node444_7, Node444_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_8 = new ht.Node();
- var Node444_8textStart, Node444_8textWidth, Node444_8lineStart, Node444_8align = 'center', Node444_8fontSize = 13.3333*_ratio.ratioY,Node444_8width = 64*_ratio.ratioX, Node444_8height = 16*_ratio.ratioY;
- (function () {
- if (Node444_8align === 'left') {
- Node444_8textStart = Node444_8fontSize * 0.2 > 2 ? Node444_8fontSize * 0.2 - 4 : Node444_8fontSize * 0.2 - 9;
- Node444_8textWidth = Node444_8width;
- Node444_8lineStart = 1;
- } else if (Node444_8align === 'right') {
- Node444_8textStart = 0;
- Node444_8textWidth =Node444_8fontSize <= 8 ? Node444_8width + Node444_8fontSize * 0.2 + 6 : Node444_8width - Node444_8fontSize * 0.2;
- Node444_8lineStart = (Node444_8width - (ht.Default.getTextSize('年发电量', 'bold '+ Node444_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node444_8align === 'center') {
- Node444_8textStart = -3;
- Node444_8textWidth = Node444_8width;
- Node444_8lineStart = Node444_8width - ht.Default.getTextSize('年发电量', 'bold '+ Node444_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node444_8.setImage(GD.getTextJSON(Node444_8width, Node444_8height, true, false, false, 'bold '+ Node444_8fontSize + 'px "Arial"'))
- Node444_8.setPosition(1216*ratio.ratioX, 28*ratio.ratioY);
- Node444_8.setWidth(Node444_8width);
- Node444_8.setHeight(Node444_8height);
- Node444_8._nodeType = 'text';
- Node444_8._disallowEvert = true;
- Node444_8.setRotation(0*Math.PI/180);
- Node444_8.a('node.width', Node444_8width);
- Node444_8.a('node.height', Node444_8height);
- Node444_8.a('node.rect', [0, 0, Node444_8width, Node444_8height]);
- Node444_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node444_8.a('node.borderwidth', 0);
- Node444_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_8.a('node.gradient','');
- Node444_8.a('node.gradientcolor','');
- Node444_8.a('node.text','年发电量');
- Node444_8.a('node.textalign','center');
- Node444_8.a('node.textvAlign','middle');
- Node444_8.a('node.textrect', [Node444_8textStart, 0, Node444_8textWidth, Node444_8height]);
- Node444_8.a('node.color','rgba(255,255,255,1)');
- Node444_8.a('node.font','bold '+ Node444_8fontSize + 'px "Arial"');
- Node444_8.a('node.textvisible',true);
- Node444_8.a('node.linefeed',false);
- if (false) {
- Node444_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_8.a('node.text') || '年发电量';
- var color=Node444_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_8width,Node444_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node444_8.a('node.underlinepoints',[Node444_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_8fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node444_8fontSize + 'px "Arial"').width + 6, (Node444_8height - Node444_8fontSize) * 0.5*_ratio.ratioY + Node444_8fontSize + 2 ]);
- Node444_8.a('node.underlinevisible',false);
- Node444_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_8);
- zoomNodeList.push({
- node: Node444_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_9 = new ht.Node();
- var Node444_9textStart, Node444_9textWidth, Node444_9lineStart, Node444_9align = 'center', Node444_9fontSize = 11.99997*_ratio.ratioY,Node444_9width = 41*_ratio.ratioX, Node444_9height = 15*_ratio.ratioY;
- (function () {
- if (Node444_9align === 'left') {
- Node444_9textStart = Node444_9fontSize * 0.2 > 2 ? Node444_9fontSize * 0.2 - 4 : Node444_9fontSize * 0.2 - 9;
- Node444_9textWidth = Node444_9width;
- Node444_9lineStart = 1;
- } else if (Node444_9align === 'right') {
- Node444_9textStart = 0;
- Node444_9textWidth =Node444_9fontSize <= 8 ? Node444_9width + Node444_9fontSize * 0.2 + 6 : Node444_9width - Node444_9fontSize * 0.2;
- Node444_9lineStart = (Node444_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node444_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node444_9align === 'center') {
- Node444_9textStart = -3;
- Node444_9textWidth = Node444_9width;
- Node444_9lineStart = Node444_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node444_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node444_9.setImage(GD.getTextJSON(Node444_9width, Node444_9height, true, false, false, 'bold '+ Node444_9fontSize + 'px "Arial"'))
- Node444_9.setPosition(1216*ratio.ratioX, 56*ratio.ratioY);
- Node444_9.setWidth(Node444_9width);
- Node444_9.setHeight(Node444_9height);
- Node444_9._nodeType = 'text';
- Node444_9._disallowEvert = true;
- Node444_9.setRotation(0*Math.PI/180);
- Node444_9.a('node.width', Node444_9width);
- Node444_9.a('node.height', Node444_9height);
- Node444_9.a('node.rect', [0, 0, Node444_9width, Node444_9height]);
- Node444_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node444_9.a('node.borderwidth', 0);
- Node444_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_9.a('node.gradient','');
- Node444_9.a('node.gradientcolor','');
- Node444_9.a('node.text','万kwh');
- Node444_9.a('node.textalign','center');
- Node444_9.a('node.textvAlign','middle');
- Node444_9.a('node.textrect', [Node444_9textStart, 0, Node444_9textWidth, Node444_9height]);
- Node444_9.a('node.color','rgba(128,128,128,1)');
- Node444_9.a('node.font','bold '+ Node444_9fontSize + 'px "Arial"');
- Node444_9.a('node.textvisible',true);
- Node444_9.a('node.linefeed',false);
- if (false) {
- Node444_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_9.a('node.text') || '万kwh';
- var color=Node444_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node444_9width,Node444_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node444_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node444_9.a('node.underlinepoints',[Node444_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node444_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node444_9fontSize + 'px "Arial"').width + 6, (Node444_9height - Node444_9fontSize) * 0.5*_ratio.ratioY + Node444_9fontSize + 2 ]);
- Node444_9.a('node.underlinevisible',false);
- Node444_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_9);
- zoomNodeList.push({
- node: Node444_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_10 = new ht.Node();
- var Node444_10textStart, Node444_10textWidth, Node444_10lineStart, Node444_10align = 'center', Node444_10fontSize = 13.3333*_ratio.ratioY,Node444_10width = 39*_ratio.ratioX, Node444_10height = 16*_ratio.ratioY;
- (function () {
- if (Node444_10align === 'left') {
- Node444_10textStart = Node444_10fontSize * 0.2 > 2 ? Node444_10fontSize * 0.2 - 4 : Node444_10fontSize * 0.2 - 9;
- Node444_10textWidth = Node444_10width;
- Node444_10lineStart = 1;
- } else if (Node444_10align === 'right') {
- Node444_10textStart = 0;
- Node444_10textWidth =Node444_10fontSize <= 8 ? Node444_10width + Node444_10fontSize * 0.2 + 6 : Node444_10width - Node444_10fontSize * 0.2;
- Node444_10lineStart = (Node444_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node444_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_10align === 'center') {
- Node444_10textStart = -3;
- Node444_10textWidth = Node444_10width;
- Node444_10lineStart = Node444_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node444_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_10.setImage(GD.getTextJSON(Node444_10width, Node444_10height, true, false, false, 'bold '+ Node444_10fontSize + 'px "UniDreamLED"'))
- Node444_10.setPosition(1216*ratio.ratioX, 83*ratio.ratioY);
- Node444_10.setWidth(Node444_10width);
- Node444_10.setHeight(Node444_10height);
- Node444_10._nodeType = 'text';
- Node444_10._disallowEvert = true;
- Node444_10.setRotation(0*Math.PI/180);
- Node444_10.a('node.width', Node444_10width);
- Node444_10.a('node.height', Node444_10height);
- Node444_10.a('node.rect', [0, 0, Node444_10width, Node444_10height]);
- Node444_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_10.a('node.borderwidth', 0);
- Node444_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_10.a('node.gradient','');
- Node444_10.a('node.gradientcolor','');
- Node444_10.a('node.text','1134.76');
- Node444_10.a('node.textalign','center');
- Node444_10.a('node.textvAlign','middle');
- Node444_10.a('node.textrect', [Node444_10textStart, 0, Node444_10textWidth, Node444_10height]);
- Node444_10.a('node.color','rgba(0,0,0,1)');
- Node444_10.a('node.font','bold '+ Node444_10fontSize + 'px "UniDreamLED"');
- Node444_10.a('node.textvisible',true);
- Node444_10.a('node.linefeed',false);
- if (false) {
- Node444_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_10.a('node.text') || '1134.76';
- var color=Node444_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_10width,Node444_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_10.a('node.underlinepoints',[Node444_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node444_10fontSize + 'px "UniDreamLED"').width + 6, (Node444_10height - Node444_10fontSize) * 0.5*_ratio.ratioY + Node444_10fontSize + 2 ]);
- Node444_10.a('node.underlinevisible',false);
- Node444_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_10);
- zoomNodeList.push({
- node: Node444_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_11 = new ht.Node();
- var Node444_11textStart, Node444_11textWidth, Node444_11lineStart, Node444_11align = 'center', Node444_11fontSize = 13.3333*_ratio.ratioY,Node444_11width = 28*_ratio.ratioX, Node444_11height = 16*_ratio.ratioY;
- (function () {
- if (Node444_11align === 'left') {
- Node444_11textStart = Node444_11fontSize * 0.2 > 2 ? Node444_11fontSize * 0.2 - 4 : Node444_11fontSize * 0.2 - 9;
- Node444_11textWidth = Node444_11width;
- Node444_11lineStart = 1;
- } else if (Node444_11align === 'right') {
- Node444_11textStart = 0;
- Node444_11textWidth =Node444_11fontSize <= 8 ? Node444_11width + Node444_11fontSize * 0.2 + 6 : Node444_11width - Node444_11fontSize * 0.2;
- Node444_11lineStart = (Node444_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node444_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_11align === 'center') {
- Node444_11textStart = -3;
- Node444_11textWidth = Node444_11width;
- Node444_11lineStart = Node444_11width - ht.Default.getTextSize('171.51', 'bold '+ Node444_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_11.setImage(GD.getTextJSON(Node444_11width, Node444_11height, true, false, false, 'bold '+ Node444_11fontSize + 'px "UniDreamLED"'))
- Node444_11.setPosition(1219*ratio.ratioX, 115*ratio.ratioY);
- Node444_11.setWidth(Node444_11width);
- Node444_11.setHeight(Node444_11height);
- Node444_11._nodeType = 'text';
- Node444_11._disallowEvert = true;
- Node444_11.setRotation(0*Math.PI/180);
- Node444_11.a('node.width', Node444_11width);
- Node444_11.a('node.height', Node444_11height);
- Node444_11.a('node.rect', [0, 0, Node444_11width, Node444_11height]);
- Node444_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_11.a('node.borderwidth', 0);
- Node444_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_11.a('node.gradient','');
- Node444_11.a('node.gradientcolor','');
- Node444_11.a('node.text','171.51');
- Node444_11.a('node.textalign','center');
- Node444_11.a('node.textvAlign','middle');
- Node444_11.a('node.textrect', [Node444_11textStart, 0, Node444_11textWidth, Node444_11height]);
- Node444_11.a('node.color','rgba(0,0,0,1)');
- Node444_11.a('node.font','bold '+ Node444_11fontSize + 'px "UniDreamLED"');
- Node444_11.a('node.textvisible',true);
- Node444_11.a('node.linefeed',false);
- if (false) {
- Node444_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_11.a('node.text') || '171.51';
- var color=Node444_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_11width,Node444_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_11.a('node.underlinepoints',[Node444_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node444_11fontSize + 'px "UniDreamLED"').width + 6, (Node444_11height - Node444_11fontSize) * 0.5*_ratio.ratioY + Node444_11fontSize + 2 ]);
- Node444_11.a('node.underlinevisible',false);
- Node444_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_11);
- zoomNodeList.push({
- node: Node444_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_12 = new ht.Node();
- var Node444_12textStart, Node444_12textWidth, Node444_12lineStart, Node444_12align = 'center', Node444_12fontSize = 13.3333*_ratio.ratioY,Node444_12width = 36*_ratio.ratioX, Node444_12height = 16*_ratio.ratioY;
- (function () {
- if (Node444_12align === 'left') {
- Node444_12textStart = Node444_12fontSize * 0.2 > 2 ? Node444_12fontSize * 0.2 - 4 : Node444_12fontSize * 0.2 - 9;
- Node444_12textWidth = Node444_12width;
- Node444_12lineStart = 1;
- } else if (Node444_12align === 'right') {
- Node444_12textStart = 0;
- Node444_12textWidth =Node444_12fontSize <= 8 ? Node444_12width + Node444_12fontSize * 0.2 + 6 : Node444_12width - Node444_12fontSize * 0.2;
- Node444_12lineStart = (Node444_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node444_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_12align === 'center') {
- Node444_12textStart = -3;
- Node444_12textWidth = Node444_12width;
- Node444_12lineStart = Node444_12width - ht.Default.getTextSize('329.51', 'bold '+ Node444_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_12.setImage(GD.getTextJSON(Node444_12width, Node444_12height, true, false, false, 'bold '+ Node444_12fontSize + 'px "UniDreamLED"'))
- Node444_12.setPosition(1219*ratio.ratioX, 145*ratio.ratioY);
- Node444_12.setWidth(Node444_12width);
- Node444_12.setHeight(Node444_12height);
- Node444_12._nodeType = 'text';
- Node444_12._disallowEvert = true;
- Node444_12.setRotation(0*Math.PI/180);
- Node444_12.a('node.width', Node444_12width);
- Node444_12.a('node.height', Node444_12height);
- Node444_12.a('node.rect', [0, 0, Node444_12width, Node444_12height]);
- Node444_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_12.a('node.borderwidth', 0);
- Node444_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_12.a('node.gradient','');
- Node444_12.a('node.gradientcolor','');
- Node444_12.a('node.text','329.51');
- Node444_12.a('node.textalign','center');
- Node444_12.a('node.textvAlign','middle');
- Node444_12.a('node.textrect', [Node444_12textStart, 0, Node444_12textWidth, Node444_12height]);
- Node444_12.a('node.color','rgba(0,0,0,1)');
- Node444_12.a('node.font','bold '+ Node444_12fontSize + 'px "UniDreamLED"');
- Node444_12.a('node.textvisible',true);
- Node444_12.a('node.linefeed',false);
- if (false) {
- Node444_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_12.a('node.text') || '329.51';
- var color=Node444_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_12width,Node444_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_12.a('node.underlinepoints',[Node444_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node444_12fontSize + 'px "UniDreamLED"').width + 6, (Node444_12height - Node444_12fontSize) * 0.5*_ratio.ratioY + Node444_12fontSize + 2 ]);
- Node444_12.a('node.underlinevisible',false);
- Node444_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_12);
- zoomNodeList.push({
- node: Node444_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_13 = new ht.Node();
- var Node444_13textStart, Node444_13textWidth, Node444_13lineStart, Node444_13align = 'center', Node444_13fontSize = 13.3333*_ratio.ratioY,Node444_13width = 36*_ratio.ratioX, Node444_13height = 16*_ratio.ratioY;
- (function () {
- if (Node444_13align === 'left') {
- Node444_13textStart = Node444_13fontSize * 0.2 > 2 ? Node444_13fontSize * 0.2 - 4 : Node444_13fontSize * 0.2 - 9;
- Node444_13textWidth = Node444_13width;
- Node444_13lineStart = 1;
- } else if (Node444_13align === 'right') {
- Node444_13textStart = 0;
- Node444_13textWidth =Node444_13fontSize <= 8 ? Node444_13width + Node444_13fontSize * 0.2 + 6 : Node444_13width - Node444_13fontSize * 0.2;
- Node444_13lineStart = (Node444_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node444_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_13align === 'center') {
- Node444_13textStart = -3;
- Node444_13textWidth = Node444_13width;
- Node444_13lineStart = Node444_13width - ht.Default.getTextSize('340.14', 'bold '+ Node444_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_13.setImage(GD.getTextJSON(Node444_13width, Node444_13height, true, false, false, 'bold '+ Node444_13fontSize + 'px "UniDreamLED"'))
- Node444_13.setPosition(1219*ratio.ratioX, 175*ratio.ratioY);
- Node444_13.setWidth(Node444_13width);
- Node444_13.setHeight(Node444_13height);
- Node444_13._nodeType = 'text';
- Node444_13._disallowEvert = true;
- Node444_13.setRotation(0*Math.PI/180);
- Node444_13.a('node.width', Node444_13width);
- Node444_13.a('node.height', Node444_13height);
- Node444_13.a('node.rect', [0, 0, Node444_13width, Node444_13height]);
- Node444_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_13.a('node.borderwidth', 0);
- Node444_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_13.a('node.gradient','');
- Node444_13.a('node.gradientcolor','');
- Node444_13.a('node.text','340.14');
- Node444_13.a('node.textalign','center');
- Node444_13.a('node.textvAlign','middle');
- Node444_13.a('node.textrect', [Node444_13textStart, 0, Node444_13textWidth, Node444_13height]);
- Node444_13.a('node.color','rgba(0,0,0,1)');
- Node444_13.a('node.font','bold '+ Node444_13fontSize + 'px "UniDreamLED"');
- Node444_13.a('node.textvisible',true);
- Node444_13.a('node.linefeed',false);
- if (false) {
- Node444_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_13.a('node.text') || '340.14';
- var color=Node444_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_13width,Node444_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_13.a('node.underlinepoints',[Node444_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node444_13fontSize + 'px "UniDreamLED"').width + 6, (Node444_13height - Node444_13fontSize) * 0.5*_ratio.ratioY + Node444_13fontSize + 2 ]);
- Node444_13.a('node.underlinevisible',false);
- Node444_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_13);
- zoomNodeList.push({
- node: Node444_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_14 = new ht.Node();
- var Node444_14textStart, Node444_14textWidth, Node444_14lineStart, Node444_14align = 'center', Node444_14fontSize = 13.3333*_ratio.ratioY,Node444_14width = 29*_ratio.ratioX, Node444_14height = 16*_ratio.ratioY;
- (function () {
- if (Node444_14align === 'left') {
- Node444_14textStart = Node444_14fontSize * 0.2 > 2 ? Node444_14fontSize * 0.2 - 4 : Node444_14fontSize * 0.2 - 9;
- Node444_14textWidth = Node444_14width;
- Node444_14lineStart = 1;
- } else if (Node444_14align === 'right') {
- Node444_14textStart = 0;
- Node444_14textWidth =Node444_14fontSize <= 8 ? Node444_14width + Node444_14fontSize * 0.2 + 6 : Node444_14width - Node444_14fontSize * 0.2;
- Node444_14lineStart = (Node444_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node444_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_14align === 'center') {
- Node444_14textStart = -3;
- Node444_14textWidth = Node444_14width;
- Node444_14lineStart = Node444_14width - ht.Default.getTextSize('60.61', 'bold '+ Node444_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_14.setImage(GD.getTextJSON(Node444_14width, Node444_14height, true, false, false, 'bold '+ Node444_14fontSize + 'px "UniDreamLED"'))
- Node444_14.setPosition(1219*ratio.ratioX, 209*ratio.ratioY);
- Node444_14.setWidth(Node444_14width);
- Node444_14.setHeight(Node444_14height);
- Node444_14._nodeType = 'text';
- Node444_14._disallowEvert = true;
- Node444_14.setRotation(0*Math.PI/180);
- Node444_14.a('node.width', Node444_14width);
- Node444_14.a('node.height', Node444_14height);
- Node444_14.a('node.rect', [0, 0, Node444_14width, Node444_14height]);
- Node444_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_14.a('node.borderwidth', 0);
- Node444_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_14.a('node.gradient','');
- Node444_14.a('node.gradientcolor','');
- Node444_14.a('node.text','60.61');
- Node444_14.a('node.textalign','center');
- Node444_14.a('node.textvAlign','middle');
- Node444_14.a('node.textrect', [Node444_14textStart, 0, Node444_14textWidth, Node444_14height]);
- Node444_14.a('node.color','rgba(0,0,0,1)');
- Node444_14.a('node.font','bold '+ Node444_14fontSize + 'px "UniDreamLED"');
- Node444_14.a('node.textvisible',true);
- Node444_14.a('node.linefeed',false);
- if (false) {
- Node444_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_14.a('node.text') || '60.61';
- var color=Node444_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_14width,Node444_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_14.a('node.underlinepoints',[Node444_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node444_14fontSize + 'px "UniDreamLED"').width + 6, (Node444_14height - Node444_14fontSize) * 0.5*_ratio.ratioY + Node444_14fontSize + 2 ]);
- Node444_14.a('node.underlinevisible',false);
- Node444_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_14);
- zoomNodeList.push({
- node: Node444_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_15 = new ht.Node();
- var Node444_15textStart, Node444_15textWidth, Node444_15lineStart, Node444_15align = 'center', Node444_15fontSize = 13.3333*_ratio.ratioY,Node444_15width = 36*_ratio.ratioX, Node444_15height = 16*_ratio.ratioY;
- (function () {
- if (Node444_15align === 'left') {
- Node444_15textStart = Node444_15fontSize * 0.2 > 2 ? Node444_15fontSize * 0.2 - 4 : Node444_15fontSize * 0.2 - 9;
- Node444_15textWidth = Node444_15width;
- Node444_15lineStart = 1;
- } else if (Node444_15align === 'right') {
- Node444_15textStart = 0;
- Node444_15textWidth =Node444_15fontSize <= 8 ? Node444_15width + Node444_15fontSize * 0.2 + 6 : Node444_15width - Node444_15fontSize * 0.2;
- Node444_15lineStart = (Node444_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node444_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_15align === 'center') {
- Node444_15textStart = -3;
- Node444_15textWidth = Node444_15width;
- Node444_15lineStart = Node444_15width - ht.Default.getTextSize('166.79', 'bold '+ Node444_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_15.setImage(GD.getTextJSON(Node444_15width, Node444_15height, true, false, false, 'bold '+ Node444_15fontSize + 'px "UniDreamLED"'))
- Node444_15.setPosition(1219*ratio.ratioX, 242*ratio.ratioY);
- Node444_15.setWidth(Node444_15width);
- Node444_15.setHeight(Node444_15height);
- Node444_15._nodeType = 'text';
- Node444_15._disallowEvert = true;
- Node444_15.setRotation(0*Math.PI/180);
- Node444_15.a('node.width', Node444_15width);
- Node444_15.a('node.height', Node444_15height);
- Node444_15.a('node.rect', [0, 0, Node444_15width, Node444_15height]);
- Node444_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_15.a('node.borderwidth', 0);
- Node444_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_15.a('node.gradient','');
- Node444_15.a('node.gradientcolor','');
- Node444_15.a('node.text','166.79');
- Node444_15.a('node.textalign','center');
- Node444_15.a('node.textvAlign','middle');
- Node444_15.a('node.textrect', [Node444_15textStart, 0, Node444_15textWidth, Node444_15height]);
- Node444_15.a('node.color','rgba(0,0,0,1)');
- Node444_15.a('node.font','bold '+ Node444_15fontSize + 'px "UniDreamLED"');
- Node444_15.a('node.textvisible',true);
- Node444_15.a('node.linefeed',false);
- if (false) {
- Node444_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_15.a('node.text') || '166.79';
- var color=Node444_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_15width,Node444_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_15.a('node.underlinepoints',[Node444_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node444_15fontSize + 'px "UniDreamLED"').width + 6, (Node444_15height - Node444_15fontSize) * 0.5*_ratio.ratioY + Node444_15fontSize + 2 ]);
- Node444_15.a('node.underlinevisible',false);
- Node444_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_15);
- zoomNodeList.push({
- node: Node444_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_16 = new ht.Node();
- var Node444_16textStart, Node444_16textWidth, Node444_16lineStart, Node444_16align = 'center', Node444_16fontSize = 13.3333*_ratio.ratioY,Node444_16width = 29*_ratio.ratioX, Node444_16height = 16*_ratio.ratioY;
- (function () {
- if (Node444_16align === 'left') {
- Node444_16textStart = Node444_16fontSize * 0.2 > 2 ? Node444_16fontSize * 0.2 - 4 : Node444_16fontSize * 0.2 - 9;
- Node444_16textWidth = Node444_16width;
- Node444_16lineStart = 1;
- } else if (Node444_16align === 'right') {
- Node444_16textStart = 0;
- Node444_16textWidth =Node444_16fontSize <= 8 ? Node444_16width + Node444_16fontSize * 0.2 + 6 : Node444_16width - Node444_16fontSize * 0.2;
- Node444_16lineStart = (Node444_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node444_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_16align === 'center') {
- Node444_16textStart = -3;
- Node444_16textWidth = Node444_16width;
- Node444_16lineStart = Node444_16width - ht.Default.getTextSize('66.18', 'bold '+ Node444_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_16.setImage(GD.getTextJSON(Node444_16width, Node444_16height, true, false, false, 'bold '+ Node444_16fontSize + 'px "UniDreamLED"'))
- Node444_16.setPosition(1219*ratio.ratioX, 271*ratio.ratioY);
- Node444_16.setWidth(Node444_16width);
- Node444_16.setHeight(Node444_16height);
- Node444_16._nodeType = 'text';
- Node444_16._disallowEvert = true;
- Node444_16.setRotation(0*Math.PI/180);
- Node444_16.a('node.width', Node444_16width);
- Node444_16.a('node.height', Node444_16height);
- Node444_16.a('node.rect', [0, 0, Node444_16width, Node444_16height]);
- Node444_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_16.a('node.borderwidth', 0);
- Node444_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_16.a('node.gradient','');
- Node444_16.a('node.gradientcolor','');
- Node444_16.a('node.text','66.18');
- Node444_16.a('node.textalign','center');
- Node444_16.a('node.textvAlign','middle');
- Node444_16.a('node.textrect', [Node444_16textStart, 0, Node444_16textWidth, Node444_16height]);
- Node444_16.a('node.color','rgba(0,0,0,1)');
- Node444_16.a('node.font','bold '+ Node444_16fontSize + 'px "UniDreamLED"');
- Node444_16.a('node.textvisible',true);
- Node444_16.a('node.linefeed',false);
- if (false) {
- Node444_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_16.a('node.text') || '66.18';
- var color=Node444_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_16width,Node444_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_16.a('node.underlinepoints',[Node444_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node444_16fontSize + 'px "UniDreamLED"').width + 6, (Node444_16height - Node444_16fontSize) * 0.5*_ratio.ratioY + Node444_16fontSize + 2 ]);
- Node444_16.a('node.underlinevisible',false);
- Node444_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_16);
- zoomNodeList.push({
- node: Node444_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node444_17 = new ht.Node();
- var Node444_17textStart, Node444_17textWidth, Node444_17lineStart, Node444_17align = 'center', Node444_17fontSize = 13.3333*_ratio.ratioY,Node444_17width = 9*_ratio.ratioX, Node444_17height = 16*_ratio.ratioY;
- (function () {
- if (Node444_17align === 'left') {
- Node444_17textStart = Node444_17fontSize * 0.2 > 2 ? Node444_17fontSize * 0.2 - 4 : Node444_17fontSize * 0.2 - 9;
- Node444_17textWidth = Node444_17width;
- Node444_17lineStart = 1;
- } else if (Node444_17align === 'right') {
- Node444_17textStart = 0;
- Node444_17textWidth =Node444_17fontSize <= 8 ? Node444_17width + Node444_17fontSize * 0.2 + 6 : Node444_17width - Node444_17fontSize * 0.2;
- Node444_17lineStart = (Node444_17width - (ht.Default.getTextSize('-', 'bold '+ Node444_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node444_17align === 'center') {
- Node444_17textStart = -3;
- Node444_17textWidth = Node444_17width;
- Node444_17lineStart = Node444_17width - ht.Default.getTextSize('-', 'bold '+ Node444_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node444_17.setImage(GD.getTextJSON(Node444_17width, Node444_17height, true, false, false, 'bold '+ Node444_17fontSize + 'px "UniDreamLED"'))
- Node444_17.setPosition(1219*ratio.ratioX, 302*ratio.ratioY);
- Node444_17.setWidth(Node444_17width);
- Node444_17.setHeight(Node444_17height);
- Node444_17._nodeType = 'text';
- Node444_17._disallowEvert = true;
- Node444_17.setRotation(0*Math.PI/180);
- Node444_17.a('node.width', Node444_17width);
- Node444_17.a('node.height', Node444_17height);
- Node444_17.a('node.rect', [0, 0, Node444_17width, Node444_17height]);
- Node444_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node444_17.a('node.borderwidth', 0);
- Node444_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node444_17.a('node.gradient','');
- Node444_17.a('node.gradientcolor','');
- Node444_17.a('node.text','-');
- Node444_17.a('node.textalign','center');
- Node444_17.a('node.textvAlign','middle');
- Node444_17.a('node.textrect', [Node444_17textStart, 0, Node444_17textWidth, Node444_17height]);
- Node444_17.a('node.color','rgba(0,0,0,1)');
- Node444_17.a('node.font','bold '+ Node444_17fontSize + 'px "UniDreamLED"');
- Node444_17.a('node.textvisible',true);
- Node444_17.a('node.linefeed',false);
- if (false) {
- Node444_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node444_17.a('node.text') || '-';
- var color=Node444_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node444_17width,Node444_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node444_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node444_17.a('node.underlinepoints',[Node444_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node444_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node444_17fontSize + 'px "UniDreamLED"').width + 6, (Node444_17height - Node444_17fontSize) * 0.5*_ratio.ratioY + Node444_17fontSize + 2 ]);
- Node444_17.a('node.underlinevisible',false);
- Node444_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node444_17);
- zoomNodeList.push({
- node: Node444_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node445_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');
- Node445_0 = new ht.Node();
- Node445_0.setPosition(1220*ratio.ratioX, 162*ratio.ratioY);
- Node445_0.setSize(127*ratioX, 313*ratioY);
- Node445_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node445_0.setRotation(0*Math.PI/180);
- Node445_0._zoomBy = 'Default';
- Node445_0._nodeType = 'image';
- Node445_0._disallowEvert = true;
- dataModel.add(Node445_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node445_1 = new ht.Node();
- var Node445_1textStart, Node445_1textWidth, Node445_1lineStart, Node445_1align = 'center', Node445_1fontSize = 13.3333*_ratio.ratioY,Node445_1width = 64*_ratio.ratioX, Node445_1height = 16*_ratio.ratioY;
- (function () {
- if (Node445_1align === 'left') {
- Node445_1textStart = Node445_1fontSize * 0.2 > 2 ? Node445_1fontSize * 0.2 - 4 : Node445_1fontSize * 0.2 - 9;
- Node445_1textWidth = Node445_1width;
- Node445_1lineStart = 1;
- } else if (Node445_1align === 'right') {
- Node445_1textStart = 0;
- Node445_1textWidth =Node445_1fontSize <= 8 ? Node445_1width + Node445_1fontSize * 0.2 + 6 : Node445_1width - Node445_1fontSize * 0.2;
- Node445_1lineStart = (Node445_1width - (ht.Default.getTextSize('年发电量', 'bold '+ Node445_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node445_1align === 'center') {
- Node445_1textStart = -3;
- Node445_1textWidth = Node445_1width;
- Node445_1lineStart = Node445_1width - ht.Default.getTextSize('年发电量', 'bold '+ Node445_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node445_1.setImage(GD.getTextJSON(Node445_1width, Node445_1height, true, false, false, 'bold '+ Node445_1fontSize + 'px "Arial"'))
- Node445_1.setPosition(1215*ratio.ratioX, 27*ratio.ratioY);
- Node445_1.setWidth(Node445_1width);
- Node445_1.setHeight(Node445_1height);
- Node445_1._nodeType = 'text';
- Node445_1._disallowEvert = true;
- Node445_1.setRotation(0*Math.PI/180);
- Node445_1.a('node.width', Node445_1width);
- Node445_1.a('node.height', Node445_1height);
- Node445_1.a('node.rect', [0, 0, Node445_1width, Node445_1height]);
- Node445_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node445_1.a('node.borderwidth', 0);
- Node445_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node445_1.a('node.gradient','');
- Node445_1.a('node.gradientcolor','');
- Node445_1.a('node.text','年发电量');
- Node445_1.a('node.textalign','center');
- Node445_1.a('node.textvAlign','middle');
- Node445_1.a('node.textrect', [Node445_1textStart, 0, Node445_1textWidth, Node445_1height]);
- Node445_1.a('node.color','rgba(255,255,255,1)');
- Node445_1.a('node.font','bold '+ Node445_1fontSize + 'px "Arial"');
- Node445_1.a('node.textvisible',true);
- Node445_1.a('node.linefeed',false);
- if (false) {
- Node445_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node445_1.a('node.text') || '年发电量';
- var color=Node445_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node445_1width,Node445_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node445_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node445_1.a('node.underlinepoints',[Node445_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node445_1fontSize + 2 , ht.Default.getTextSize('年发电量', 'bold '+ Node445_1fontSize + 'px "Arial"').width + 6, (Node445_1height - Node445_1fontSize) * 0.5*_ratio.ratioY + Node445_1fontSize + 2 ]);
- Node445_1.a('node.underlinevisible',false);
- Node445_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node445_1);
- zoomNodeList.push({
- node: Node445_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_0type = 'rect';
- var Node446_0 = new ht.Node(),
- Node446_0BorderWidth = 0*2;
- if (Node446_0type === 'arc') {
- Node446_0BorderWidth *= 0;
- }
- Node446_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_0.setPosition(1346*ratio.ratioX, 115*ratio.ratioY);
- Node446_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_0.a('node.width', 127*_ratio.ratioX);
- Node446_0.a('node.height', 32*_ratio.ratioY);
- Node446_0.a('node.type', Node446_0type);
- Node446_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_0.a('node.background', 'rgba(245,245,245,1)');
- Node446_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node446_0.a('node.gradient', '');
- Node446_0.a('node.borderwidth', Node446_0BorderWidth);
- Node446_0.a('node.color', 'rgba(192,192,192,0)');
- Node446_0.a('node.fillrect', [0,0,0,0]);
- Node446_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_0.a('node.fillgradient', '');
- if (Node446_0type !== 'rect') {
- Node446_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_0type === 'arc') {
- Node446_0.a('node.arcOval', true);
- }
- Node446_0.setRotation(0*Math.PI/180);
- Node446_0.borderWidth = Node446_0BorderWidth;
- Node446_0.borderFillwidth = Node446_0BorderWidth;
- dataModel.add(Node446_0);
- Node446_0._nodename = 'Node446_0'
- Node446_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_0, Node446_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_1type = 'rect';
- var Node446_1 = new ht.Node(),
- Node446_1BorderWidth = 0*2;
- if (Node446_1type === 'arc') {
- Node446_1BorderWidth *= 0;
- }
- Node446_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_1.setPosition(1346*ratio.ratioX, 147*ratio.ratioY);
- Node446_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_1.a('node.width', 127*_ratio.ratioX);
- Node446_1.a('node.height', 32*_ratio.ratioY);
- Node446_1.a('node.type', Node446_1type);
- Node446_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node446_1.a('node.gradientcolor', '');
- Node446_1.a('node.gradient', '');
- Node446_1.a('node.borderwidth', Node446_1BorderWidth);
- Node446_1.a('node.color', 'rgba(192,192,192,0)');
- Node446_1.a('node.fillrect', [0,0,0,0]);
- Node446_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_1.a('node.fillgradient', '');
- if (Node446_1type !== 'rect') {
- Node446_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_1type === 'arc') {
- Node446_1.a('node.arcOval', true);
- }
- Node446_1.setRotation(0*Math.PI/180);
- Node446_1.borderWidth = Node446_1BorderWidth;
- Node446_1.borderFillwidth = Node446_1BorderWidth;
- dataModel.add(Node446_1);
- Node446_1._nodename = 'Node446_1'
- Node446_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_1, Node446_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_2type = 'rect';
- var Node446_2 = new ht.Node(),
- Node446_2BorderWidth = 0*2;
- if (Node446_2type === 'arc') {
- Node446_2BorderWidth *= 0;
- }
- Node446_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_2.setPosition(1346*ratio.ratioX, 179*ratio.ratioY);
- Node446_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_2.a('node.width', 127*_ratio.ratioX);
- Node446_2.a('node.height', 32*_ratio.ratioY);
- Node446_2.a('node.type', Node446_2type);
- Node446_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_2.a('node.background', 'rgba(245,245,245,1)');
- Node446_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node446_2.a('node.gradient', '');
- Node446_2.a('node.borderwidth', Node446_2BorderWidth);
- Node446_2.a('node.color', 'rgba(192,192,192,0)');
- Node446_2.a('node.fillrect', [0,0,0,0]);
- Node446_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_2.a('node.fillgradient', '');
- if (Node446_2type !== 'rect') {
- Node446_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_2type === 'arc') {
- Node446_2.a('node.arcOval', true);
- }
- Node446_2.setRotation(0*Math.PI/180);
- Node446_2.borderWidth = Node446_2BorderWidth;
- Node446_2.borderFillwidth = Node446_2BorderWidth;
- dataModel.add(Node446_2);
- Node446_2._nodename = 'Node446_2'
- Node446_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_2, Node446_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_3type = 'rect';
- var Node446_3 = new ht.Node(),
- Node446_3BorderWidth = 0*2;
- if (Node446_3type === 'arc') {
- Node446_3BorderWidth *= 0;
- }
- Node446_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_3.setPosition(1346*ratio.ratioX, 210*ratio.ratioY);
- Node446_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_3.a('node.width', 127*_ratio.ratioX);
- Node446_3.a('node.height', 32*_ratio.ratioY);
- Node446_3.a('node.type', Node446_3type);
- Node446_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node446_3.a('node.gradientcolor', '');
- Node446_3.a('node.gradient', '');
- Node446_3.a('node.borderwidth', Node446_3BorderWidth);
- Node446_3.a('node.color', 'rgba(192,192,192,0)');
- Node446_3.a('node.fillrect', [0,0,0,0]);
- Node446_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_3.a('node.fillgradient', '');
- if (Node446_3type !== 'rect') {
- Node446_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_3type === 'arc') {
- Node446_3.a('node.arcOval', true);
- }
- Node446_3.setRotation(0*Math.PI/180);
- Node446_3.borderWidth = Node446_3BorderWidth;
- Node446_3.borderFillwidth = Node446_3BorderWidth;
- dataModel.add(Node446_3);
- Node446_3._nodename = 'Node446_3'
- Node446_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_3, Node446_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_4type = 'rect';
- var Node446_4 = new ht.Node(),
- Node446_4BorderWidth = 0*2;
- if (Node446_4type === 'arc') {
- Node446_4BorderWidth *= 0;
- }
- Node446_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_4.setPosition(1346*ratio.ratioX, 241*ratio.ratioY);
- Node446_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_4.a('node.width', 127*_ratio.ratioX);
- Node446_4.a('node.height', 32*_ratio.ratioY);
- Node446_4.a('node.type', Node446_4type);
- Node446_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_4.a('node.background', 'rgba(245,245,245,1)');
- Node446_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node446_4.a('node.gradient', '');
- Node446_4.a('node.borderwidth', Node446_4BorderWidth);
- Node446_4.a('node.color', 'rgba(192,192,192,0)');
- Node446_4.a('node.fillrect', [0,0,0,0]);
- Node446_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_4.a('node.fillgradient', '');
- if (Node446_4type !== 'rect') {
- Node446_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_4type === 'arc') {
- Node446_4.a('node.arcOval', true);
- }
- Node446_4.setRotation(0*Math.PI/180);
- Node446_4.borderWidth = Node446_4BorderWidth;
- Node446_4.borderFillwidth = Node446_4BorderWidth;
- dataModel.add(Node446_4);
- Node446_4._nodename = 'Node446_4'
- Node446_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_4, Node446_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_5type = 'rect';
- var Node446_5 = new ht.Node(),
- Node446_5BorderWidth = 0*2;
- if (Node446_5type === 'arc') {
- Node446_5BorderWidth *= 0;
- }
- Node446_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_5.setPosition(1346*ratio.ratioX, 272*ratio.ratioY);
- Node446_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_5.a('node.width', 127*_ratio.ratioX);
- Node446_5.a('node.height', 32*_ratio.ratioY);
- Node446_5.a('node.type', Node446_5type);
- Node446_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node446_5.a('node.gradientcolor', '');
- Node446_5.a('node.gradient', '');
- Node446_5.a('node.borderwidth', Node446_5BorderWidth);
- Node446_5.a('node.color', 'rgba(192,192,192,0)');
- Node446_5.a('node.fillrect', [0,0,0,0]);
- Node446_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_5.a('node.fillgradient', '');
- if (Node446_5type !== 'rect') {
- Node446_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_5type === 'arc') {
- Node446_5.a('node.arcOval', true);
- }
- Node446_5.setRotation(0*Math.PI/180);
- Node446_5.borderWidth = Node446_5BorderWidth;
- Node446_5.borderFillwidth = Node446_5BorderWidth;
- dataModel.add(Node446_5);
- Node446_5._nodename = 'Node446_5'
- Node446_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_5, Node446_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_6type = 'rect';
- var Node446_6 = new ht.Node(),
- Node446_6BorderWidth = 0*2;
- if (Node446_6type === 'arc') {
- Node446_6BorderWidth *= 0;
- }
- Node446_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node446_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_6.setPosition(1346*ratio.ratioX, 303*ratio.ratioY);
- Node446_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node446_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_6.a('node.width', 127*_ratio.ratioX);
- Node446_6.a('node.height', 32*_ratio.ratioY);
- Node446_6.a('node.type', Node446_6type);
- Node446_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node446_6.a('node.background', 'rgba(245,245,245,1)');
- Node446_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node446_6.a('node.gradient', '');
- Node446_6.a('node.borderwidth', Node446_6BorderWidth);
- Node446_6.a('node.color', 'rgba(192,192,192,0)');
- Node446_6.a('node.fillrect', [0,0,0,0]);
- Node446_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_6.a('node.fillgradient', '');
- if (Node446_6type !== 'rect') {
- Node446_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_6type === 'arc') {
- Node446_6.a('node.arcOval', true);
- }
- Node446_6.setRotation(0*Math.PI/180);
- Node446_6.borderWidth = Node446_6BorderWidth;
- Node446_6.borderFillwidth = Node446_6BorderWidth;
- dataModel.add(Node446_6);
- Node446_6._nodename = 'Node446_6'
- Node446_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_6, Node446_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_7type = 'rect';
- var Node446_7 = new ht.Node(),
- Node446_7BorderWidth = 1*2;
- if (Node446_7type === 'arc') {
- Node446_7BorderWidth *= 1;
- }
- Node446_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node446_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node446_7.setPosition(1346*ratio.ratioX, 164*ratio.ratioY);
- Node446_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node446_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node446_7.a('node.width', 127*_ratio.ratioX);
- Node446_7.a('node.height', 309*_ratio.ratioY);
- Node446_7.a('node.type', Node446_7type);
- Node446_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node446_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node446_7.a('node.gradientcolor', '');
- Node446_7.a('node.gradient', '');
- Node446_7.a('node.borderwidth', Node446_7BorderWidth);
- Node446_7.a('node.color', 'rgba(192,192,192,1)');
- Node446_7.a('node.fillrect', [0,0,0,0]);
- Node446_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node446_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node446_7.a('node.fillgradient', '');
- if (Node446_7type !== 'rect') {
- Node446_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node446_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node446_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node446_7type === 'arc') {
- Node446_7.a('node.arcOval', true);
- }
- Node446_7.setRotation(0*Math.PI/180);
- Node446_7.borderWidth = Node446_7BorderWidth;
- Node446_7.borderFillwidth = Node446_7BorderWidth;
- dataModel.add(Node446_7);
- Node446_7._nodename = 'Node446_7'
- Node446_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node446_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);
- }
- })(Node446_7, Node446_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_8 = new ht.Node();
- var Node446_8textStart, Node446_8textWidth, Node446_8lineStart, Node446_8align = 'center', Node446_8fontSize = 13.3333*_ratio.ratioY,Node446_8width = 80*_ratio.ratioX, Node446_8height = 16*_ratio.ratioY;
- (function () {
- if (Node446_8align === 'left') {
- Node446_8textStart = Node446_8fontSize * 0.2 > 2 ? Node446_8fontSize * 0.2 - 4 : Node446_8fontSize * 0.2 - 9;
- Node446_8textWidth = Node446_8width;
- Node446_8lineStart = 1;
- } else if (Node446_8align === 'right') {
- Node446_8textStart = 0;
- Node446_8textWidth =Node446_8fontSize <= 8 ? Node446_8width + Node446_8fontSize * 0.2 + 6 : Node446_8width - Node446_8fontSize * 0.2;
- Node446_8lineStart = (Node446_8width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node446_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node446_8align === 'center') {
- Node446_8textStart = -3;
- Node446_8textWidth = Node446_8width;
- Node446_8lineStart = Node446_8width - ht.Default.getTextSize('年利用小时', 'bold '+ Node446_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node446_8.setImage(GD.getTextJSON(Node446_8width, Node446_8height, true, false, false, 'bold '+ Node446_8fontSize + 'px "Arial"'))
- Node446_8.setPosition(1343*ratio.ratioX, 28*ratio.ratioY);
- Node446_8.setWidth(Node446_8width);
- Node446_8.setHeight(Node446_8height);
- Node446_8._nodeType = 'text';
- Node446_8._disallowEvert = true;
- Node446_8.setRotation(0*Math.PI/180);
- Node446_8.a('node.width', Node446_8width);
- Node446_8.a('node.height', Node446_8height);
- Node446_8.a('node.rect', [0, 0, Node446_8width, Node446_8height]);
- Node446_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node446_8.a('node.borderwidth', 0);
- Node446_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_8.a('node.gradient','');
- Node446_8.a('node.gradientcolor','');
- Node446_8.a('node.text','年利用小时');
- Node446_8.a('node.textalign','center');
- Node446_8.a('node.textvAlign','middle');
- Node446_8.a('node.textrect', [Node446_8textStart, 0, Node446_8textWidth, Node446_8height]);
- Node446_8.a('node.color','rgba(255,255,255,1)');
- Node446_8.a('node.font','bold '+ Node446_8fontSize + 'px "Arial"');
- Node446_8.a('node.textvisible',true);
- Node446_8.a('node.linefeed',false);
- if (false) {
- Node446_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_8.a('node.text') || '年利用小时';
- var color=Node446_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_8width,Node446_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node446_8.a('node.underlinepoints',[Node446_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_8fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node446_8fontSize + 'px "Arial"').width + 6, (Node446_8height - Node446_8fontSize) * 0.5*_ratio.ratioY + Node446_8fontSize + 2 ]);
- Node446_8.a('node.underlinevisible',false);
- Node446_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_8);
- zoomNodeList.push({
- node: Node446_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_9 = new ht.Node();
- var Node446_9textStart, Node446_9textWidth, Node446_9lineStart, Node446_9align = 'center', Node446_9fontSize = 11.99997*_ratio.ratioY,Node446_9width = 41*_ratio.ratioX, Node446_9height = 15*_ratio.ratioY;
- (function () {
- if (Node446_9align === 'left') {
- Node446_9textStart = Node446_9fontSize * 0.2 > 2 ? Node446_9fontSize * 0.2 - 4 : Node446_9fontSize * 0.2 - 9;
- Node446_9textWidth = Node446_9width;
- Node446_9lineStart = 1;
- } else if (Node446_9align === 'right') {
- Node446_9textStart = 0;
- Node446_9textWidth =Node446_9fontSize <= 8 ? Node446_9width + Node446_9fontSize * 0.2 + 6 : Node446_9width - Node446_9fontSize * 0.2;
- Node446_9lineStart = (Node446_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node446_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node446_9align === 'center') {
- Node446_9textStart = -3;
- Node446_9textWidth = Node446_9width;
- Node446_9lineStart = Node446_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node446_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node446_9.setImage(GD.getTextJSON(Node446_9width, Node446_9height, true, false, false, 'bold '+ Node446_9fontSize + 'px "Arial"'))
- Node446_9.setPosition(1343*ratio.ratioX, 56*ratio.ratioY);
- Node446_9.setWidth(Node446_9width);
- Node446_9.setHeight(Node446_9height);
- Node446_9._nodeType = 'text';
- Node446_9._disallowEvert = true;
- Node446_9.setRotation(0*Math.PI/180);
- Node446_9.a('node.width', Node446_9width);
- Node446_9.a('node.height', Node446_9height);
- Node446_9.a('node.rect', [0, 0, Node446_9width, Node446_9height]);
- Node446_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node446_9.a('node.borderwidth', 0);
- Node446_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_9.a('node.gradient','');
- Node446_9.a('node.gradientcolor','');
- Node446_9.a('node.text','万kwh');
- Node446_9.a('node.textalign','center');
- Node446_9.a('node.textvAlign','middle');
- Node446_9.a('node.textrect', [Node446_9textStart, 0, Node446_9textWidth, Node446_9height]);
- Node446_9.a('node.color','rgba(128,128,128,1)');
- Node446_9.a('node.font','bold '+ Node446_9fontSize + 'px "Arial"');
- Node446_9.a('node.textvisible',true);
- Node446_9.a('node.linefeed',false);
- if (false) {
- Node446_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_9.a('node.text') || '万kwh';
- var color=Node446_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node446_9width,Node446_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node446_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node446_9.a('node.underlinepoints',[Node446_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node446_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node446_9fontSize + 'px "Arial"').width + 6, (Node446_9height - Node446_9fontSize) * 0.5*_ratio.ratioY + Node446_9fontSize + 2 ]);
- Node446_9.a('node.underlinevisible',false);
- Node446_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_9);
- zoomNodeList.push({
- node: Node446_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_10 = new ht.Node();
- var Node446_10textStart, Node446_10textWidth, Node446_10lineStart, Node446_10align = 'center', Node446_10fontSize = 13.3333*_ratio.ratioY,Node446_10width = 39*_ratio.ratioX, Node446_10height = 16*_ratio.ratioY;
- (function () {
- if (Node446_10align === 'left') {
- Node446_10textStart = Node446_10fontSize * 0.2 > 2 ? Node446_10fontSize * 0.2 - 4 : Node446_10fontSize * 0.2 - 9;
- Node446_10textWidth = Node446_10width;
- Node446_10lineStart = 1;
- } else if (Node446_10align === 'right') {
- Node446_10textStart = 0;
- Node446_10textWidth =Node446_10fontSize <= 8 ? Node446_10width + Node446_10fontSize * 0.2 + 6 : Node446_10width - Node446_10fontSize * 0.2;
- Node446_10lineStart = (Node446_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node446_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_10align === 'center') {
- Node446_10textStart = -3;
- Node446_10textWidth = Node446_10width;
- Node446_10lineStart = Node446_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node446_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_10.setImage(GD.getTextJSON(Node446_10width, Node446_10height, true, false, false, 'bold '+ Node446_10fontSize + 'px "UniDreamLED"'))
- Node446_10.setPosition(1343*ratio.ratioX, 83*ratio.ratioY);
- Node446_10.setWidth(Node446_10width);
- Node446_10.setHeight(Node446_10height);
- Node446_10._nodeType = 'text';
- Node446_10._disallowEvert = true;
- Node446_10.setRotation(0*Math.PI/180);
- Node446_10.a('node.width', Node446_10width);
- Node446_10.a('node.height', Node446_10height);
- Node446_10.a('node.rect', [0, 0, Node446_10width, Node446_10height]);
- Node446_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_10.a('node.borderwidth', 0);
- Node446_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_10.a('node.gradient','');
- Node446_10.a('node.gradientcolor','');
- Node446_10.a('node.text','1134.76');
- Node446_10.a('node.textalign','center');
- Node446_10.a('node.textvAlign','middle');
- Node446_10.a('node.textrect', [Node446_10textStart, 0, Node446_10textWidth, Node446_10height]);
- Node446_10.a('node.color','rgba(0,0,0,1)');
- Node446_10.a('node.font','bold '+ Node446_10fontSize + 'px "UniDreamLED"');
- Node446_10.a('node.textvisible',true);
- Node446_10.a('node.linefeed',false);
- if (false) {
- Node446_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_10.a('node.text') || '1134.76';
- var color=Node446_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_10width,Node446_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_10.a('node.underlinepoints',[Node446_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node446_10fontSize + 'px "UniDreamLED"').width + 6, (Node446_10height - Node446_10fontSize) * 0.5*_ratio.ratioY + Node446_10fontSize + 2 ]);
- Node446_10.a('node.underlinevisible',false);
- Node446_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_10);
- zoomNodeList.push({
- node: Node446_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_11 = new ht.Node();
- var Node446_11textStart, Node446_11textWidth, Node446_11lineStart, Node446_11align = 'center', Node446_11fontSize = 13.3333*_ratio.ratioY,Node446_11width = 28*_ratio.ratioX, Node446_11height = 16*_ratio.ratioY;
- (function () {
- if (Node446_11align === 'left') {
- Node446_11textStart = Node446_11fontSize * 0.2 > 2 ? Node446_11fontSize * 0.2 - 4 : Node446_11fontSize * 0.2 - 9;
- Node446_11textWidth = Node446_11width;
- Node446_11lineStart = 1;
- } else if (Node446_11align === 'right') {
- Node446_11textStart = 0;
- Node446_11textWidth =Node446_11fontSize <= 8 ? Node446_11width + Node446_11fontSize * 0.2 + 6 : Node446_11width - Node446_11fontSize * 0.2;
- Node446_11lineStart = (Node446_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node446_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_11align === 'center') {
- Node446_11textStart = -3;
- Node446_11textWidth = Node446_11width;
- Node446_11lineStart = Node446_11width - ht.Default.getTextSize('171.51', 'bold '+ Node446_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_11.setImage(GD.getTextJSON(Node446_11width, Node446_11height, true, false, false, 'bold '+ Node446_11fontSize + 'px "UniDreamLED"'))
- Node446_11.setPosition(1346*ratio.ratioX, 115*ratio.ratioY);
- Node446_11.setWidth(Node446_11width);
- Node446_11.setHeight(Node446_11height);
- Node446_11._nodeType = 'text';
- Node446_11._disallowEvert = true;
- Node446_11.setRotation(0*Math.PI/180);
- Node446_11.a('node.width', Node446_11width);
- Node446_11.a('node.height', Node446_11height);
- Node446_11.a('node.rect', [0, 0, Node446_11width, Node446_11height]);
- Node446_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_11.a('node.borderwidth', 0);
- Node446_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_11.a('node.gradient','');
- Node446_11.a('node.gradientcolor','');
- Node446_11.a('node.text','171.51');
- Node446_11.a('node.textalign','center');
- Node446_11.a('node.textvAlign','middle');
- Node446_11.a('node.textrect', [Node446_11textStart, 0, Node446_11textWidth, Node446_11height]);
- Node446_11.a('node.color','rgba(0,0,0,1)');
- Node446_11.a('node.font','bold '+ Node446_11fontSize + 'px "UniDreamLED"');
- Node446_11.a('node.textvisible',true);
- Node446_11.a('node.linefeed',false);
- if (false) {
- Node446_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_11.a('node.text') || '171.51';
- var color=Node446_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_11width,Node446_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_11.a('node.underlinepoints',[Node446_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node446_11fontSize + 'px "UniDreamLED"').width + 6, (Node446_11height - Node446_11fontSize) * 0.5*_ratio.ratioY + Node446_11fontSize + 2 ]);
- Node446_11.a('node.underlinevisible',false);
- Node446_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_11);
- zoomNodeList.push({
- node: Node446_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_12 = new ht.Node();
- var Node446_12textStart, Node446_12textWidth, Node446_12lineStart, Node446_12align = 'center', Node446_12fontSize = 13.3333*_ratio.ratioY,Node446_12width = 36*_ratio.ratioX, Node446_12height = 16*_ratio.ratioY;
- (function () {
- if (Node446_12align === 'left') {
- Node446_12textStart = Node446_12fontSize * 0.2 > 2 ? Node446_12fontSize * 0.2 - 4 : Node446_12fontSize * 0.2 - 9;
- Node446_12textWidth = Node446_12width;
- Node446_12lineStart = 1;
- } else if (Node446_12align === 'right') {
- Node446_12textStart = 0;
- Node446_12textWidth =Node446_12fontSize <= 8 ? Node446_12width + Node446_12fontSize * 0.2 + 6 : Node446_12width - Node446_12fontSize * 0.2;
- Node446_12lineStart = (Node446_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node446_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_12align === 'center') {
- Node446_12textStart = -3;
- Node446_12textWidth = Node446_12width;
- Node446_12lineStart = Node446_12width - ht.Default.getTextSize('329.51', 'bold '+ Node446_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_12.setImage(GD.getTextJSON(Node446_12width, Node446_12height, true, false, false, 'bold '+ Node446_12fontSize + 'px "UniDreamLED"'))
- Node446_12.setPosition(1346*ratio.ratioX, 145*ratio.ratioY);
- Node446_12.setWidth(Node446_12width);
- Node446_12.setHeight(Node446_12height);
- Node446_12._nodeType = 'text';
- Node446_12._disallowEvert = true;
- Node446_12.setRotation(0*Math.PI/180);
- Node446_12.a('node.width', Node446_12width);
- Node446_12.a('node.height', Node446_12height);
- Node446_12.a('node.rect', [0, 0, Node446_12width, Node446_12height]);
- Node446_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_12.a('node.borderwidth', 0);
- Node446_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_12.a('node.gradient','');
- Node446_12.a('node.gradientcolor','');
- Node446_12.a('node.text','329.51');
- Node446_12.a('node.textalign','center');
- Node446_12.a('node.textvAlign','middle');
- Node446_12.a('node.textrect', [Node446_12textStart, 0, Node446_12textWidth, Node446_12height]);
- Node446_12.a('node.color','rgba(0,0,0,1)');
- Node446_12.a('node.font','bold '+ Node446_12fontSize + 'px "UniDreamLED"');
- Node446_12.a('node.textvisible',true);
- Node446_12.a('node.linefeed',false);
- if (false) {
- Node446_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_12.a('node.text') || '329.51';
- var color=Node446_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_12width,Node446_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_12.a('node.underlinepoints',[Node446_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node446_12fontSize + 'px "UniDreamLED"').width + 6, (Node446_12height - Node446_12fontSize) * 0.5*_ratio.ratioY + Node446_12fontSize + 2 ]);
- Node446_12.a('node.underlinevisible',false);
- Node446_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_12);
- zoomNodeList.push({
- node: Node446_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_13 = new ht.Node();
- var Node446_13textStart, Node446_13textWidth, Node446_13lineStart, Node446_13align = 'center', Node446_13fontSize = 13.3333*_ratio.ratioY,Node446_13width = 36*_ratio.ratioX, Node446_13height = 16*_ratio.ratioY;
- (function () {
- if (Node446_13align === 'left') {
- Node446_13textStart = Node446_13fontSize * 0.2 > 2 ? Node446_13fontSize * 0.2 - 4 : Node446_13fontSize * 0.2 - 9;
- Node446_13textWidth = Node446_13width;
- Node446_13lineStart = 1;
- } else if (Node446_13align === 'right') {
- Node446_13textStart = 0;
- Node446_13textWidth =Node446_13fontSize <= 8 ? Node446_13width + Node446_13fontSize * 0.2 + 6 : Node446_13width - Node446_13fontSize * 0.2;
- Node446_13lineStart = (Node446_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node446_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_13align === 'center') {
- Node446_13textStart = -3;
- Node446_13textWidth = Node446_13width;
- Node446_13lineStart = Node446_13width - ht.Default.getTextSize('340.14', 'bold '+ Node446_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_13.setImage(GD.getTextJSON(Node446_13width, Node446_13height, true, false, false, 'bold '+ Node446_13fontSize + 'px "UniDreamLED"'))
- Node446_13.setPosition(1346*ratio.ratioX, 175*ratio.ratioY);
- Node446_13.setWidth(Node446_13width);
- Node446_13.setHeight(Node446_13height);
- Node446_13._nodeType = 'text';
- Node446_13._disallowEvert = true;
- Node446_13.setRotation(0*Math.PI/180);
- Node446_13.a('node.width', Node446_13width);
- Node446_13.a('node.height', Node446_13height);
- Node446_13.a('node.rect', [0, 0, Node446_13width, Node446_13height]);
- Node446_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_13.a('node.borderwidth', 0);
- Node446_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_13.a('node.gradient','');
- Node446_13.a('node.gradientcolor','');
- Node446_13.a('node.text','340.14');
- Node446_13.a('node.textalign','center');
- Node446_13.a('node.textvAlign','middle');
- Node446_13.a('node.textrect', [Node446_13textStart, 0, Node446_13textWidth, Node446_13height]);
- Node446_13.a('node.color','rgba(0,0,0,1)');
- Node446_13.a('node.font','bold '+ Node446_13fontSize + 'px "UniDreamLED"');
- Node446_13.a('node.textvisible',true);
- Node446_13.a('node.linefeed',false);
- if (false) {
- Node446_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_13.a('node.text') || '340.14';
- var color=Node446_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_13width,Node446_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_13.a('node.underlinepoints',[Node446_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node446_13fontSize + 'px "UniDreamLED"').width + 6, (Node446_13height - Node446_13fontSize) * 0.5*_ratio.ratioY + Node446_13fontSize + 2 ]);
- Node446_13.a('node.underlinevisible',false);
- Node446_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_13);
- zoomNodeList.push({
- node: Node446_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_14 = new ht.Node();
- var Node446_14textStart, Node446_14textWidth, Node446_14lineStart, Node446_14align = 'center', Node446_14fontSize = 13.3333*_ratio.ratioY,Node446_14width = 29*_ratio.ratioX, Node446_14height = 16*_ratio.ratioY;
- (function () {
- if (Node446_14align === 'left') {
- Node446_14textStart = Node446_14fontSize * 0.2 > 2 ? Node446_14fontSize * 0.2 - 4 : Node446_14fontSize * 0.2 - 9;
- Node446_14textWidth = Node446_14width;
- Node446_14lineStart = 1;
- } else if (Node446_14align === 'right') {
- Node446_14textStart = 0;
- Node446_14textWidth =Node446_14fontSize <= 8 ? Node446_14width + Node446_14fontSize * 0.2 + 6 : Node446_14width - Node446_14fontSize * 0.2;
- Node446_14lineStart = (Node446_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node446_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_14align === 'center') {
- Node446_14textStart = -3;
- Node446_14textWidth = Node446_14width;
- Node446_14lineStart = Node446_14width - ht.Default.getTextSize('60.61', 'bold '+ Node446_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_14.setImage(GD.getTextJSON(Node446_14width, Node446_14height, true, false, false, 'bold '+ Node446_14fontSize + 'px "UniDreamLED"'))
- Node446_14.setPosition(1346*ratio.ratioX, 209*ratio.ratioY);
- Node446_14.setWidth(Node446_14width);
- Node446_14.setHeight(Node446_14height);
- Node446_14._nodeType = 'text';
- Node446_14._disallowEvert = true;
- Node446_14.setRotation(0*Math.PI/180);
- Node446_14.a('node.width', Node446_14width);
- Node446_14.a('node.height', Node446_14height);
- Node446_14.a('node.rect', [0, 0, Node446_14width, Node446_14height]);
- Node446_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_14.a('node.borderwidth', 0);
- Node446_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_14.a('node.gradient','');
- Node446_14.a('node.gradientcolor','');
- Node446_14.a('node.text','60.61');
- Node446_14.a('node.textalign','center');
- Node446_14.a('node.textvAlign','middle');
- Node446_14.a('node.textrect', [Node446_14textStart, 0, Node446_14textWidth, Node446_14height]);
- Node446_14.a('node.color','rgba(0,0,0,1)');
- Node446_14.a('node.font','bold '+ Node446_14fontSize + 'px "UniDreamLED"');
- Node446_14.a('node.textvisible',true);
- Node446_14.a('node.linefeed',false);
- if (false) {
- Node446_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_14.a('node.text') || '60.61';
- var color=Node446_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_14width,Node446_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_14.a('node.underlinepoints',[Node446_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node446_14fontSize + 'px "UniDreamLED"').width + 6, (Node446_14height - Node446_14fontSize) * 0.5*_ratio.ratioY + Node446_14fontSize + 2 ]);
- Node446_14.a('node.underlinevisible',false);
- Node446_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_14);
- zoomNodeList.push({
- node: Node446_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_15 = new ht.Node();
- var Node446_15textStart, Node446_15textWidth, Node446_15lineStart, Node446_15align = 'center', Node446_15fontSize = 13.3333*_ratio.ratioY,Node446_15width = 36*_ratio.ratioX, Node446_15height = 16*_ratio.ratioY;
- (function () {
- if (Node446_15align === 'left') {
- Node446_15textStart = Node446_15fontSize * 0.2 > 2 ? Node446_15fontSize * 0.2 - 4 : Node446_15fontSize * 0.2 - 9;
- Node446_15textWidth = Node446_15width;
- Node446_15lineStart = 1;
- } else if (Node446_15align === 'right') {
- Node446_15textStart = 0;
- Node446_15textWidth =Node446_15fontSize <= 8 ? Node446_15width + Node446_15fontSize * 0.2 + 6 : Node446_15width - Node446_15fontSize * 0.2;
- Node446_15lineStart = (Node446_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node446_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_15align === 'center') {
- Node446_15textStart = -3;
- Node446_15textWidth = Node446_15width;
- Node446_15lineStart = Node446_15width - ht.Default.getTextSize('166.79', 'bold '+ Node446_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_15.setImage(GD.getTextJSON(Node446_15width, Node446_15height, true, false, false, 'bold '+ Node446_15fontSize + 'px "UniDreamLED"'))
- Node446_15.setPosition(1346*ratio.ratioX, 242*ratio.ratioY);
- Node446_15.setWidth(Node446_15width);
- Node446_15.setHeight(Node446_15height);
- Node446_15._nodeType = 'text';
- Node446_15._disallowEvert = true;
- Node446_15.setRotation(0*Math.PI/180);
- Node446_15.a('node.width', Node446_15width);
- Node446_15.a('node.height', Node446_15height);
- Node446_15.a('node.rect', [0, 0, Node446_15width, Node446_15height]);
- Node446_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_15.a('node.borderwidth', 0);
- Node446_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_15.a('node.gradient','');
- Node446_15.a('node.gradientcolor','');
- Node446_15.a('node.text','166.79');
- Node446_15.a('node.textalign','center');
- Node446_15.a('node.textvAlign','middle');
- Node446_15.a('node.textrect', [Node446_15textStart, 0, Node446_15textWidth, Node446_15height]);
- Node446_15.a('node.color','rgba(0,0,0,1)');
- Node446_15.a('node.font','bold '+ Node446_15fontSize + 'px "UniDreamLED"');
- Node446_15.a('node.textvisible',true);
- Node446_15.a('node.linefeed',false);
- if (false) {
- Node446_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_15.a('node.text') || '166.79';
- var color=Node446_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_15width,Node446_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_15.a('node.underlinepoints',[Node446_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node446_15fontSize + 'px "UniDreamLED"').width + 6, (Node446_15height - Node446_15fontSize) * 0.5*_ratio.ratioY + Node446_15fontSize + 2 ]);
- Node446_15.a('node.underlinevisible',false);
- Node446_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_15);
- zoomNodeList.push({
- node: Node446_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_16 = new ht.Node();
- var Node446_16textStart, Node446_16textWidth, Node446_16lineStart, Node446_16align = 'center', Node446_16fontSize = 13.3333*_ratio.ratioY,Node446_16width = 29*_ratio.ratioX, Node446_16height = 16*_ratio.ratioY;
- (function () {
- if (Node446_16align === 'left') {
- Node446_16textStart = Node446_16fontSize * 0.2 > 2 ? Node446_16fontSize * 0.2 - 4 : Node446_16fontSize * 0.2 - 9;
- Node446_16textWidth = Node446_16width;
- Node446_16lineStart = 1;
- } else if (Node446_16align === 'right') {
- Node446_16textStart = 0;
- Node446_16textWidth =Node446_16fontSize <= 8 ? Node446_16width + Node446_16fontSize * 0.2 + 6 : Node446_16width - Node446_16fontSize * 0.2;
- Node446_16lineStart = (Node446_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node446_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_16align === 'center') {
- Node446_16textStart = -3;
- Node446_16textWidth = Node446_16width;
- Node446_16lineStart = Node446_16width - ht.Default.getTextSize('66.18', 'bold '+ Node446_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_16.setImage(GD.getTextJSON(Node446_16width, Node446_16height, true, false, false, 'bold '+ Node446_16fontSize + 'px "UniDreamLED"'))
- Node446_16.setPosition(1346*ratio.ratioX, 271*ratio.ratioY);
- Node446_16.setWidth(Node446_16width);
- Node446_16.setHeight(Node446_16height);
- Node446_16._nodeType = 'text';
- Node446_16._disallowEvert = true;
- Node446_16.setRotation(0*Math.PI/180);
- Node446_16.a('node.width', Node446_16width);
- Node446_16.a('node.height', Node446_16height);
- Node446_16.a('node.rect', [0, 0, Node446_16width, Node446_16height]);
- Node446_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_16.a('node.borderwidth', 0);
- Node446_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_16.a('node.gradient','');
- Node446_16.a('node.gradientcolor','');
- Node446_16.a('node.text','66.18');
- Node446_16.a('node.textalign','center');
- Node446_16.a('node.textvAlign','middle');
- Node446_16.a('node.textrect', [Node446_16textStart, 0, Node446_16textWidth, Node446_16height]);
- Node446_16.a('node.color','rgba(0,0,0,1)');
- Node446_16.a('node.font','bold '+ Node446_16fontSize + 'px "UniDreamLED"');
- Node446_16.a('node.textvisible',true);
- Node446_16.a('node.linefeed',false);
- if (false) {
- Node446_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_16.a('node.text') || '66.18';
- var color=Node446_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_16width,Node446_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_16.a('node.underlinepoints',[Node446_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node446_16fontSize + 'px "UniDreamLED"').width + 6, (Node446_16height - Node446_16fontSize) * 0.5*_ratio.ratioY + Node446_16fontSize + 2 ]);
- Node446_16.a('node.underlinevisible',false);
- Node446_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_16);
- zoomNodeList.push({
- node: Node446_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node446_17 = new ht.Node();
- var Node446_17textStart, Node446_17textWidth, Node446_17lineStart, Node446_17align = 'center', Node446_17fontSize = 13.3333*_ratio.ratioY,Node446_17width = 9*_ratio.ratioX, Node446_17height = 16*_ratio.ratioY;
- (function () {
- if (Node446_17align === 'left') {
- Node446_17textStart = Node446_17fontSize * 0.2 > 2 ? Node446_17fontSize * 0.2 - 4 : Node446_17fontSize * 0.2 - 9;
- Node446_17textWidth = Node446_17width;
- Node446_17lineStart = 1;
- } else if (Node446_17align === 'right') {
- Node446_17textStart = 0;
- Node446_17textWidth =Node446_17fontSize <= 8 ? Node446_17width + Node446_17fontSize * 0.2 + 6 : Node446_17width - Node446_17fontSize * 0.2;
- Node446_17lineStart = (Node446_17width - (ht.Default.getTextSize('-', 'bold '+ Node446_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node446_17align === 'center') {
- Node446_17textStart = -3;
- Node446_17textWidth = Node446_17width;
- Node446_17lineStart = Node446_17width - ht.Default.getTextSize('-', 'bold '+ Node446_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node446_17.setImage(GD.getTextJSON(Node446_17width, Node446_17height, true, false, false, 'bold '+ Node446_17fontSize + 'px "UniDreamLED"'))
- Node446_17.setPosition(1346*ratio.ratioX, 302*ratio.ratioY);
- Node446_17.setWidth(Node446_17width);
- Node446_17.setHeight(Node446_17height);
- Node446_17._nodeType = 'text';
- Node446_17._disallowEvert = true;
- Node446_17.setRotation(0*Math.PI/180);
- Node446_17.a('node.width', Node446_17width);
- Node446_17.a('node.height', Node446_17height);
- Node446_17.a('node.rect', [0, 0, Node446_17width, Node446_17height]);
- Node446_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node446_17.a('node.borderwidth', 0);
- Node446_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node446_17.a('node.gradient','');
- Node446_17.a('node.gradientcolor','');
- Node446_17.a('node.text','-');
- Node446_17.a('node.textalign','center');
- Node446_17.a('node.textvAlign','middle');
- Node446_17.a('node.textrect', [Node446_17textStart, 0, Node446_17textWidth, Node446_17height]);
- Node446_17.a('node.color','rgba(0,0,0,1)');
- Node446_17.a('node.font','bold '+ Node446_17fontSize + 'px "UniDreamLED"');
- Node446_17.a('node.textvisible',true);
- Node446_17.a('node.linefeed',false);
- if (false) {
- Node446_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node446_17.a('node.text') || '-';
- var color=Node446_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node446_17width,Node446_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node446_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node446_17.a('node.underlinepoints',[Node446_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node446_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node446_17fontSize + 'px "UniDreamLED"').width + 6, (Node446_17height - Node446_17fontSize) * 0.5*_ratio.ratioY + Node446_17fontSize + 2 ]);
- Node446_17.a('node.underlinevisible',false);
- Node446_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node446_17);
- zoomNodeList.push({
- node: Node446_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node447_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');
- Node447_0 = new ht.Node();
- Node447_0.setPosition(1347*ratio.ratioX, 162*ratio.ratioY);
- Node447_0.setSize(127*ratioX, 313*ratioY);
- Node447_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node447_0.setRotation(0*Math.PI/180);
- Node447_0._zoomBy = 'Default';
- Node447_0._nodeType = 'image';
- Node447_0._disallowEvert = true;
- dataModel.add(Node447_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node447_1 = new ht.Node();
- var Node447_1textStart, Node447_1textWidth, Node447_1lineStart, Node447_1align = 'center', Node447_1fontSize = 13.3333*_ratio.ratioY,Node447_1width = 80*_ratio.ratioX, Node447_1height = 16*_ratio.ratioY;
- (function () {
- if (Node447_1align === 'left') {
- Node447_1textStart = Node447_1fontSize * 0.2 > 2 ? Node447_1fontSize * 0.2 - 4 : Node447_1fontSize * 0.2 - 9;
- Node447_1textWidth = Node447_1width;
- Node447_1lineStart = 1;
- } else if (Node447_1align === 'right') {
- Node447_1textStart = 0;
- Node447_1textWidth =Node447_1fontSize <= 8 ? Node447_1width + Node447_1fontSize * 0.2 + 6 : Node447_1width - Node447_1fontSize * 0.2;
- Node447_1lineStart = (Node447_1width - (ht.Default.getTextSize('年利用小时', 'bold '+ Node447_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node447_1align === 'center') {
- Node447_1textStart = -3;
- Node447_1textWidth = Node447_1width;
- Node447_1lineStart = Node447_1width - ht.Default.getTextSize('年利用小时', 'bold '+ Node447_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node447_1.setImage(GD.getTextJSON(Node447_1width, Node447_1height, true, false, false, 'bold '+ Node447_1fontSize + 'px "Arial"'))
- Node447_1.setPosition(1342*ratio.ratioX, 27*ratio.ratioY);
- Node447_1.setWidth(Node447_1width);
- Node447_1.setHeight(Node447_1height);
- Node447_1._nodeType = 'text';
- Node447_1._disallowEvert = true;
- Node447_1.setRotation(0*Math.PI/180);
- Node447_1.a('node.width', Node447_1width);
- Node447_1.a('node.height', Node447_1height);
- Node447_1.a('node.rect', [0, 0, Node447_1width, Node447_1height]);
- Node447_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node447_1.a('node.borderwidth', 0);
- Node447_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node447_1.a('node.gradient','');
- Node447_1.a('node.gradientcolor','');
- Node447_1.a('node.text','年利用小时');
- Node447_1.a('node.textalign','center');
- Node447_1.a('node.textvAlign','middle');
- Node447_1.a('node.textrect', [Node447_1textStart, 0, Node447_1textWidth, Node447_1height]);
- Node447_1.a('node.color','rgba(255,255,255,1)');
- Node447_1.a('node.font','bold '+ Node447_1fontSize + 'px "Arial"');
- Node447_1.a('node.textvisible',true);
- Node447_1.a('node.linefeed',false);
- if (false) {
- Node447_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node447_1.a('node.text') || '年利用小时';
- var color=Node447_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node447_1width,Node447_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node447_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node447_1.a('node.underlinepoints',[Node447_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node447_1fontSize + 2 , ht.Default.getTextSize('年利用小时', 'bold '+ Node447_1fontSize + 'px "Arial"').width + 6, (Node447_1height - Node447_1fontSize) * 0.5*_ratio.ratioY + Node447_1fontSize + 2 ]);
- Node447_1.a('node.underlinevisible',false);
- Node447_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node447_1);
- zoomNodeList.push({
- node: Node447_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_0type = 'rect';
- var Node448_0 = new ht.Node(),
- Node448_0BorderWidth = 0*2;
- if (Node448_0type === 'arc') {
- Node448_0BorderWidth *= 0;
- }
- Node448_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_0.setPosition(1473*ratio.ratioX, 114*ratio.ratioY);
- Node448_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_0.a('node.width', 127*_ratio.ratioX);
- Node448_0.a('node.height', 32*_ratio.ratioY);
- Node448_0.a('node.type', Node448_0type);
- Node448_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_0.a('node.background', 'rgba(245,245,245,1)');
- Node448_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node448_0.a('node.gradient', '');
- Node448_0.a('node.borderwidth', Node448_0BorderWidth);
- Node448_0.a('node.color', 'rgba(192,192,192,0)');
- Node448_0.a('node.fillrect', [0,0,0,0]);
- Node448_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_0.a('node.fillgradient', '');
- if (Node448_0type !== 'rect') {
- Node448_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_0type === 'arc') {
- Node448_0.a('node.arcOval', true);
- }
- Node448_0.setRotation(0*Math.PI/180);
- Node448_0.borderWidth = Node448_0BorderWidth;
- Node448_0.borderFillwidth = Node448_0BorderWidth;
- dataModel.add(Node448_0);
- Node448_0._nodename = 'Node448_0'
- Node448_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_0, Node448_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_1type = 'rect';
- var Node448_1 = new ht.Node(),
- Node448_1BorderWidth = 0*2;
- if (Node448_1type === 'arc') {
- Node448_1BorderWidth *= 0;
- }
- Node448_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_1.setPosition(1473*ratio.ratioX, 146*ratio.ratioY);
- Node448_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_1.a('node.width', 127*_ratio.ratioX);
- Node448_1.a('node.height', 32*_ratio.ratioY);
- Node448_1.a('node.type', Node448_1type);
- Node448_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node448_1.a('node.gradientcolor', '');
- Node448_1.a('node.gradient', '');
- Node448_1.a('node.borderwidth', Node448_1BorderWidth);
- Node448_1.a('node.color', 'rgba(192,192,192,0)');
- Node448_1.a('node.fillrect', [0,0,0,0]);
- Node448_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_1.a('node.fillgradient', '');
- if (Node448_1type !== 'rect') {
- Node448_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_1type === 'arc') {
- Node448_1.a('node.arcOval', true);
- }
- Node448_1.setRotation(0*Math.PI/180);
- Node448_1.borderWidth = Node448_1BorderWidth;
- Node448_1.borderFillwidth = Node448_1BorderWidth;
- dataModel.add(Node448_1);
- Node448_1._nodename = 'Node448_1'
- Node448_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_1, Node448_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_2type = 'rect';
- var Node448_2 = new ht.Node(),
- Node448_2BorderWidth = 0*2;
- if (Node448_2type === 'arc') {
- Node448_2BorderWidth *= 0;
- }
- Node448_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_2.setPosition(1473*ratio.ratioX, 178*ratio.ratioY);
- Node448_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_2.a('node.width', 127*_ratio.ratioX);
- Node448_2.a('node.height', 32*_ratio.ratioY);
- Node448_2.a('node.type', Node448_2type);
- Node448_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_2.a('node.background', 'rgba(245,245,245,1)');
- Node448_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node448_2.a('node.gradient', '');
- Node448_2.a('node.borderwidth', Node448_2BorderWidth);
- Node448_2.a('node.color', 'rgba(192,192,192,0)');
- Node448_2.a('node.fillrect', [0,0,0,0]);
- Node448_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_2.a('node.fillgradient', '');
- if (Node448_2type !== 'rect') {
- Node448_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_2type === 'arc') {
- Node448_2.a('node.arcOval', true);
- }
- Node448_2.setRotation(0*Math.PI/180);
- Node448_2.borderWidth = Node448_2BorderWidth;
- Node448_2.borderFillwidth = Node448_2BorderWidth;
- dataModel.add(Node448_2);
- Node448_2._nodename = 'Node448_2'
- Node448_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_2, Node448_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_3type = 'rect';
- var Node448_3 = new ht.Node(),
- Node448_3BorderWidth = 0*2;
- if (Node448_3type === 'arc') {
- Node448_3BorderWidth *= 0;
- }
- Node448_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_3.setPosition(1473*ratio.ratioX, 209*ratio.ratioY);
- Node448_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_3.a('node.width', 127*_ratio.ratioX);
- Node448_3.a('node.height', 32*_ratio.ratioY);
- Node448_3.a('node.type', Node448_3type);
- Node448_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node448_3.a('node.gradientcolor', '');
- Node448_3.a('node.gradient', '');
- Node448_3.a('node.borderwidth', Node448_3BorderWidth);
- Node448_3.a('node.color', 'rgba(192,192,192,0)');
- Node448_3.a('node.fillrect', [0,0,0,0]);
- Node448_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_3.a('node.fillgradient', '');
- if (Node448_3type !== 'rect') {
- Node448_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_3type === 'arc') {
- Node448_3.a('node.arcOval', true);
- }
- Node448_3.setRotation(0*Math.PI/180);
- Node448_3.borderWidth = Node448_3BorderWidth;
- Node448_3.borderFillwidth = Node448_3BorderWidth;
- dataModel.add(Node448_3);
- Node448_3._nodename = 'Node448_3'
- Node448_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_3, Node448_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_4type = 'rect';
- var Node448_4 = new ht.Node(),
- Node448_4BorderWidth = 0*2;
- if (Node448_4type === 'arc') {
- Node448_4BorderWidth *= 0;
- }
- Node448_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_4.setPosition(1473*ratio.ratioX, 240*ratio.ratioY);
- Node448_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_4.a('node.width', 127*_ratio.ratioX);
- Node448_4.a('node.height', 32*_ratio.ratioY);
- Node448_4.a('node.type', Node448_4type);
- Node448_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_4.a('node.background', 'rgba(245,245,245,1)');
- Node448_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node448_4.a('node.gradient', '');
- Node448_4.a('node.borderwidth', Node448_4BorderWidth);
- Node448_4.a('node.color', 'rgba(192,192,192,0)');
- Node448_4.a('node.fillrect', [0,0,0,0]);
- Node448_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_4.a('node.fillgradient', '');
- if (Node448_4type !== 'rect') {
- Node448_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_4type === 'arc') {
- Node448_4.a('node.arcOval', true);
- }
- Node448_4.setRotation(0*Math.PI/180);
- Node448_4.borderWidth = Node448_4BorderWidth;
- Node448_4.borderFillwidth = Node448_4BorderWidth;
- dataModel.add(Node448_4);
- Node448_4._nodename = 'Node448_4'
- Node448_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_4, Node448_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_5type = 'rect';
- var Node448_5 = new ht.Node(),
- Node448_5BorderWidth = 0*2;
- if (Node448_5type === 'arc') {
- Node448_5BorderWidth *= 0;
- }
- Node448_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_5.setPosition(1473*ratio.ratioX, 271*ratio.ratioY);
- Node448_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_5.a('node.width', 127*_ratio.ratioX);
- Node448_5.a('node.height', 32*_ratio.ratioY);
- Node448_5.a('node.type', Node448_5type);
- Node448_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node448_5.a('node.gradientcolor', '');
- Node448_5.a('node.gradient', '');
- Node448_5.a('node.borderwidth', Node448_5BorderWidth);
- Node448_5.a('node.color', 'rgba(192,192,192,0)');
- Node448_5.a('node.fillrect', [0,0,0,0]);
- Node448_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_5.a('node.fillgradient', '');
- if (Node448_5type !== 'rect') {
- Node448_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_5type === 'arc') {
- Node448_5.a('node.arcOval', true);
- }
- Node448_5.setRotation(0*Math.PI/180);
- Node448_5.borderWidth = Node448_5BorderWidth;
- Node448_5.borderFillwidth = Node448_5BorderWidth;
- dataModel.add(Node448_5);
- Node448_5._nodename = 'Node448_5'
- Node448_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_5, Node448_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_6type = 'rect';
- var Node448_6 = new ht.Node(),
- Node448_6BorderWidth = 0*2;
- if (Node448_6type === 'arc') {
- Node448_6BorderWidth *= 0;
- }
- Node448_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node448_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_6.setPosition(1473*ratio.ratioX, 302*ratio.ratioY);
- Node448_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node448_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_6.a('node.width', 127*_ratio.ratioX);
- Node448_6.a('node.height', 32*_ratio.ratioY);
- Node448_6.a('node.type', Node448_6type);
- Node448_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node448_6.a('node.background', 'rgba(245,245,245,1)');
- Node448_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node448_6.a('node.gradient', '');
- Node448_6.a('node.borderwidth', Node448_6BorderWidth);
- Node448_6.a('node.color', 'rgba(192,192,192,0)');
- Node448_6.a('node.fillrect', [0,0,0,0]);
- Node448_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_6.a('node.fillgradient', '');
- if (Node448_6type !== 'rect') {
- Node448_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_6type === 'arc') {
- Node448_6.a('node.arcOval', true);
- }
- Node448_6.setRotation(0*Math.PI/180);
- Node448_6.borderWidth = Node448_6BorderWidth;
- Node448_6.borderFillwidth = Node448_6BorderWidth;
- dataModel.add(Node448_6);
- Node448_6._nodename = 'Node448_6'
- Node448_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_6, Node448_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_7type = 'rect';
- var Node448_7 = new ht.Node(),
- Node448_7BorderWidth = 1*2;
- if (Node448_7type === 'arc') {
- Node448_7BorderWidth *= 1;
- }
- Node448_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node448_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node448_7.setPosition(1473*ratio.ratioX, 163*ratio.ratioY);
- Node448_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node448_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node448_7.a('node.width', 127*_ratio.ratioX);
- Node448_7.a('node.height', 309*_ratio.ratioY);
- Node448_7.a('node.type', Node448_7type);
- Node448_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node448_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node448_7.a('node.gradientcolor', '');
- Node448_7.a('node.gradient', '');
- Node448_7.a('node.borderwidth', Node448_7BorderWidth);
- Node448_7.a('node.color', 'rgba(192,192,192,1)');
- Node448_7.a('node.fillrect', [0,0,0,0]);
- Node448_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node448_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node448_7.a('node.fillgradient', '');
- if (Node448_7type !== 'rect') {
- Node448_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node448_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node448_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node448_7type === 'arc') {
- Node448_7.a('node.arcOval', true);
- }
- Node448_7.setRotation(0*Math.PI/180);
- Node448_7.borderWidth = Node448_7BorderWidth;
- Node448_7.borderFillwidth = Node448_7BorderWidth;
- dataModel.add(Node448_7);
- Node448_7._nodename = 'Node448_7'
- Node448_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node448_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);
- }
- })(Node448_7, Node448_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_8 = new ht.Node();
- var Node448_8textStart, Node448_8textWidth, Node448_8lineStart, Node448_8align = 'center', Node448_8fontSize = 13.3333*_ratio.ratioY,Node448_8width = 95*_ratio.ratioX, Node448_8height = 16*_ratio.ratioY;
- (function () {
- if (Node448_8align === 'left') {
- Node448_8textStart = Node448_8fontSize * 0.2 > 2 ? Node448_8fontSize * 0.2 - 4 : Node448_8fontSize * 0.2 - 9;
- Node448_8textWidth = Node448_8width;
- Node448_8lineStart = 1;
- } else if (Node448_8align === 'right') {
- Node448_8textStart = 0;
- Node448_8textWidth =Node448_8fontSize <= 8 ? Node448_8width + Node448_8fontSize * 0.2 + 6 : Node448_8width - Node448_8fontSize * 0.2;
- Node448_8lineStart = (Node448_8width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node448_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node448_8align === 'center') {
- Node448_8textStart = -3;
- Node448_8textWidth = Node448_8width;
- Node448_8lineStart = Node448_8width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node448_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node448_8.setImage(GD.getTextJSON(Node448_8width, Node448_8height, true, false, false, 'bold '+ Node448_8fontSize + 'px "Arial"'))
- Node448_8.setPosition(1470*ratio.ratioX, 27*ratio.ratioY);
- Node448_8.setWidth(Node448_8width);
- Node448_8.setHeight(Node448_8height);
- Node448_8._nodeType = 'text';
- Node448_8._disallowEvert = true;
- Node448_8.setRotation(0*Math.PI/180);
- Node448_8.a('node.width', Node448_8width);
- Node448_8.a('node.height', Node448_8height);
- Node448_8.a('node.rect', [0, 0, Node448_8width, Node448_8height]);
- Node448_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node448_8.a('node.borderwidth', 0);
- Node448_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_8.a('node.gradient','');
- Node448_8.a('node.gradientcolor','');
- Node448_8.a('node.text','限电损失电量');
- Node448_8.a('node.textalign','center');
- Node448_8.a('node.textvAlign','middle');
- Node448_8.a('node.textrect', [Node448_8textStart, 0, Node448_8textWidth, Node448_8height]);
- Node448_8.a('node.color','rgba(255,255,255,1)');
- Node448_8.a('node.font','bold '+ Node448_8fontSize + 'px "Arial"');
- Node448_8.a('node.textvisible',true);
- Node448_8.a('node.linefeed',false);
- if (false) {
- Node448_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_8.a('node.text') || '限电损失电量';
- var color=Node448_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_8width,Node448_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node448_8.a('node.underlinepoints',[Node448_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_8fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node448_8fontSize + 'px "Arial"').width + 6, (Node448_8height - Node448_8fontSize) * 0.5*_ratio.ratioY + Node448_8fontSize + 2 ]);
- Node448_8.a('node.underlinevisible',false);
- Node448_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_8);
- zoomNodeList.push({
- node: Node448_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_9 = new ht.Node();
- var Node448_9textStart, Node448_9textWidth, Node448_9lineStart, Node448_9align = 'center', Node448_9fontSize = 11.99997*_ratio.ratioY,Node448_9width = 41*_ratio.ratioX, Node448_9height = 15*_ratio.ratioY;
- (function () {
- if (Node448_9align === 'left') {
- Node448_9textStart = Node448_9fontSize * 0.2 > 2 ? Node448_9fontSize * 0.2 - 4 : Node448_9fontSize * 0.2 - 9;
- Node448_9textWidth = Node448_9width;
- Node448_9lineStart = 1;
- } else if (Node448_9align === 'right') {
- Node448_9textStart = 0;
- Node448_9textWidth =Node448_9fontSize <= 8 ? Node448_9width + Node448_9fontSize * 0.2 + 6 : Node448_9width - Node448_9fontSize * 0.2;
- Node448_9lineStart = (Node448_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node448_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node448_9align === 'center') {
- Node448_9textStart = -3;
- Node448_9textWidth = Node448_9width;
- Node448_9lineStart = Node448_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node448_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node448_9.setImage(GD.getTextJSON(Node448_9width, Node448_9height, true, false, false, 'bold '+ Node448_9fontSize + 'px "Arial"'))
- Node448_9.setPosition(1470*ratio.ratioX, 55*ratio.ratioY);
- Node448_9.setWidth(Node448_9width);
- Node448_9.setHeight(Node448_9height);
- Node448_9._nodeType = 'text';
- Node448_9._disallowEvert = true;
- Node448_9.setRotation(0*Math.PI/180);
- Node448_9.a('node.width', Node448_9width);
- Node448_9.a('node.height', Node448_9height);
- Node448_9.a('node.rect', [0, 0, Node448_9width, Node448_9height]);
- Node448_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node448_9.a('node.borderwidth', 0);
- Node448_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_9.a('node.gradient','');
- Node448_9.a('node.gradientcolor','');
- Node448_9.a('node.text','万kwh');
- Node448_9.a('node.textalign','center');
- Node448_9.a('node.textvAlign','middle');
- Node448_9.a('node.textrect', [Node448_9textStart, 0, Node448_9textWidth, Node448_9height]);
- Node448_9.a('node.color','rgba(128,128,128,1)');
- Node448_9.a('node.font','bold '+ Node448_9fontSize + 'px "Arial"');
- Node448_9.a('node.textvisible',true);
- Node448_9.a('node.linefeed',false);
- if (false) {
- Node448_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_9.a('node.text') || '万kwh';
- var color=Node448_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node448_9width,Node448_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node448_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node448_9.a('node.underlinepoints',[Node448_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node448_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node448_9fontSize + 'px "Arial"').width + 6, (Node448_9height - Node448_9fontSize) * 0.5*_ratio.ratioY + Node448_9fontSize + 2 ]);
- Node448_9.a('node.underlinevisible',false);
- Node448_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_9);
- zoomNodeList.push({
- node: Node448_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_10 = new ht.Node();
- var Node448_10textStart, Node448_10textWidth, Node448_10lineStart, Node448_10align = 'center', Node448_10fontSize = 13.3333*_ratio.ratioY,Node448_10width = 39*_ratio.ratioX, Node448_10height = 16*_ratio.ratioY;
- (function () {
- if (Node448_10align === 'left') {
- Node448_10textStart = Node448_10fontSize * 0.2 > 2 ? Node448_10fontSize * 0.2 - 4 : Node448_10fontSize * 0.2 - 9;
- Node448_10textWidth = Node448_10width;
- Node448_10lineStart = 1;
- } else if (Node448_10align === 'right') {
- Node448_10textStart = 0;
- Node448_10textWidth =Node448_10fontSize <= 8 ? Node448_10width + Node448_10fontSize * 0.2 + 6 : Node448_10width - Node448_10fontSize * 0.2;
- Node448_10lineStart = (Node448_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node448_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_10align === 'center') {
- Node448_10textStart = -3;
- Node448_10textWidth = Node448_10width;
- Node448_10lineStart = Node448_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node448_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_10.setImage(GD.getTextJSON(Node448_10width, Node448_10height, true, false, false, 'bold '+ Node448_10fontSize + 'px "UniDreamLED"'))
- Node448_10.setPosition(1470*ratio.ratioX, 82*ratio.ratioY);
- Node448_10.setWidth(Node448_10width);
- Node448_10.setHeight(Node448_10height);
- Node448_10._nodeType = 'text';
- Node448_10._disallowEvert = true;
- Node448_10.setRotation(0*Math.PI/180);
- Node448_10.a('node.width', Node448_10width);
- Node448_10.a('node.height', Node448_10height);
- Node448_10.a('node.rect', [0, 0, Node448_10width, Node448_10height]);
- Node448_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_10.a('node.borderwidth', 0);
- Node448_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_10.a('node.gradient','');
- Node448_10.a('node.gradientcolor','');
- Node448_10.a('node.text','1134.76');
- Node448_10.a('node.textalign','center');
- Node448_10.a('node.textvAlign','middle');
- Node448_10.a('node.textrect', [Node448_10textStart, 0, Node448_10textWidth, Node448_10height]);
- Node448_10.a('node.color','rgba(0,0,0,1)');
- Node448_10.a('node.font','bold '+ Node448_10fontSize + 'px "UniDreamLED"');
- Node448_10.a('node.textvisible',true);
- Node448_10.a('node.linefeed',false);
- if (false) {
- Node448_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_10.a('node.text') || '1134.76';
- var color=Node448_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_10width,Node448_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_10.a('node.underlinepoints',[Node448_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node448_10fontSize + 'px "UniDreamLED"').width + 6, (Node448_10height - Node448_10fontSize) * 0.5*_ratio.ratioY + Node448_10fontSize + 2 ]);
- Node448_10.a('node.underlinevisible',false);
- Node448_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_10);
- zoomNodeList.push({
- node: Node448_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_11 = new ht.Node();
- var Node448_11textStart, Node448_11textWidth, Node448_11lineStart, Node448_11align = 'center', Node448_11fontSize = 13.3333*_ratio.ratioY,Node448_11width = 28*_ratio.ratioX, Node448_11height = 16*_ratio.ratioY;
- (function () {
- if (Node448_11align === 'left') {
- Node448_11textStart = Node448_11fontSize * 0.2 > 2 ? Node448_11fontSize * 0.2 - 4 : Node448_11fontSize * 0.2 - 9;
- Node448_11textWidth = Node448_11width;
- Node448_11lineStart = 1;
- } else if (Node448_11align === 'right') {
- Node448_11textStart = 0;
- Node448_11textWidth =Node448_11fontSize <= 8 ? Node448_11width + Node448_11fontSize * 0.2 + 6 : Node448_11width - Node448_11fontSize * 0.2;
- Node448_11lineStart = (Node448_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node448_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_11align === 'center') {
- Node448_11textStart = -3;
- Node448_11textWidth = Node448_11width;
- Node448_11lineStart = Node448_11width - ht.Default.getTextSize('171.51', 'bold '+ Node448_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_11.setImage(GD.getTextJSON(Node448_11width, Node448_11height, true, false, false, 'bold '+ Node448_11fontSize + 'px "UniDreamLED"'))
- Node448_11.setPosition(1473*ratio.ratioX, 114*ratio.ratioY);
- Node448_11.setWidth(Node448_11width);
- Node448_11.setHeight(Node448_11height);
- Node448_11._nodeType = 'text';
- Node448_11._disallowEvert = true;
- Node448_11.setRotation(0*Math.PI/180);
- Node448_11.a('node.width', Node448_11width);
- Node448_11.a('node.height', Node448_11height);
- Node448_11.a('node.rect', [0, 0, Node448_11width, Node448_11height]);
- Node448_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_11.a('node.borderwidth', 0);
- Node448_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_11.a('node.gradient','');
- Node448_11.a('node.gradientcolor','');
- Node448_11.a('node.text','171.51');
- Node448_11.a('node.textalign','center');
- Node448_11.a('node.textvAlign','middle');
- Node448_11.a('node.textrect', [Node448_11textStart, 0, Node448_11textWidth, Node448_11height]);
- Node448_11.a('node.color','rgba(0,0,0,1)');
- Node448_11.a('node.font','bold '+ Node448_11fontSize + 'px "UniDreamLED"');
- Node448_11.a('node.textvisible',true);
- Node448_11.a('node.linefeed',false);
- if (false) {
- Node448_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_11.a('node.text') || '171.51';
- var color=Node448_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_11width,Node448_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_11.a('node.underlinepoints',[Node448_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node448_11fontSize + 'px "UniDreamLED"').width + 6, (Node448_11height - Node448_11fontSize) * 0.5*_ratio.ratioY + Node448_11fontSize + 2 ]);
- Node448_11.a('node.underlinevisible',false);
- Node448_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_11);
- zoomNodeList.push({
- node: Node448_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_12 = new ht.Node();
- var Node448_12textStart, Node448_12textWidth, Node448_12lineStart, Node448_12align = 'center', Node448_12fontSize = 13.3333*_ratio.ratioY,Node448_12width = 36*_ratio.ratioX, Node448_12height = 16*_ratio.ratioY;
- (function () {
- if (Node448_12align === 'left') {
- Node448_12textStart = Node448_12fontSize * 0.2 > 2 ? Node448_12fontSize * 0.2 - 4 : Node448_12fontSize * 0.2 - 9;
- Node448_12textWidth = Node448_12width;
- Node448_12lineStart = 1;
- } else if (Node448_12align === 'right') {
- Node448_12textStart = 0;
- Node448_12textWidth =Node448_12fontSize <= 8 ? Node448_12width + Node448_12fontSize * 0.2 + 6 : Node448_12width - Node448_12fontSize * 0.2;
- Node448_12lineStart = (Node448_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node448_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_12align === 'center') {
- Node448_12textStart = -3;
- Node448_12textWidth = Node448_12width;
- Node448_12lineStart = Node448_12width - ht.Default.getTextSize('329.51', 'bold '+ Node448_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_12.setImage(GD.getTextJSON(Node448_12width, Node448_12height, true, false, false, 'bold '+ Node448_12fontSize + 'px "UniDreamLED"'))
- Node448_12.setPosition(1473*ratio.ratioX, 144*ratio.ratioY);
- Node448_12.setWidth(Node448_12width);
- Node448_12.setHeight(Node448_12height);
- Node448_12._nodeType = 'text';
- Node448_12._disallowEvert = true;
- Node448_12.setRotation(0*Math.PI/180);
- Node448_12.a('node.width', Node448_12width);
- Node448_12.a('node.height', Node448_12height);
- Node448_12.a('node.rect', [0, 0, Node448_12width, Node448_12height]);
- Node448_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_12.a('node.borderwidth', 0);
- Node448_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_12.a('node.gradient','');
- Node448_12.a('node.gradientcolor','');
- Node448_12.a('node.text','329.51');
- Node448_12.a('node.textalign','center');
- Node448_12.a('node.textvAlign','middle');
- Node448_12.a('node.textrect', [Node448_12textStart, 0, Node448_12textWidth, Node448_12height]);
- Node448_12.a('node.color','rgba(0,0,0,1)');
- Node448_12.a('node.font','bold '+ Node448_12fontSize + 'px "UniDreamLED"');
- Node448_12.a('node.textvisible',true);
- Node448_12.a('node.linefeed',false);
- if (false) {
- Node448_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_12.a('node.text') || '329.51';
- var color=Node448_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_12width,Node448_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_12.a('node.underlinepoints',[Node448_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node448_12fontSize + 'px "UniDreamLED"').width + 6, (Node448_12height - Node448_12fontSize) * 0.5*_ratio.ratioY + Node448_12fontSize + 2 ]);
- Node448_12.a('node.underlinevisible',false);
- Node448_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_12);
- zoomNodeList.push({
- node: Node448_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_13 = new ht.Node();
- var Node448_13textStart, Node448_13textWidth, Node448_13lineStart, Node448_13align = 'center', Node448_13fontSize = 13.3333*_ratio.ratioY,Node448_13width = 36*_ratio.ratioX, Node448_13height = 16*_ratio.ratioY;
- (function () {
- if (Node448_13align === 'left') {
- Node448_13textStart = Node448_13fontSize * 0.2 > 2 ? Node448_13fontSize * 0.2 - 4 : Node448_13fontSize * 0.2 - 9;
- Node448_13textWidth = Node448_13width;
- Node448_13lineStart = 1;
- } else if (Node448_13align === 'right') {
- Node448_13textStart = 0;
- Node448_13textWidth =Node448_13fontSize <= 8 ? Node448_13width + Node448_13fontSize * 0.2 + 6 : Node448_13width - Node448_13fontSize * 0.2;
- Node448_13lineStart = (Node448_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node448_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_13align === 'center') {
- Node448_13textStart = -3;
- Node448_13textWidth = Node448_13width;
- Node448_13lineStart = Node448_13width - ht.Default.getTextSize('340.14', 'bold '+ Node448_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_13.setImage(GD.getTextJSON(Node448_13width, Node448_13height, true, false, false, 'bold '+ Node448_13fontSize + 'px "UniDreamLED"'))
- Node448_13.setPosition(1473*ratio.ratioX, 174*ratio.ratioY);
- Node448_13.setWidth(Node448_13width);
- Node448_13.setHeight(Node448_13height);
- Node448_13._nodeType = 'text';
- Node448_13._disallowEvert = true;
- Node448_13.setRotation(0*Math.PI/180);
- Node448_13.a('node.width', Node448_13width);
- Node448_13.a('node.height', Node448_13height);
- Node448_13.a('node.rect', [0, 0, Node448_13width, Node448_13height]);
- Node448_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_13.a('node.borderwidth', 0);
- Node448_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_13.a('node.gradient','');
- Node448_13.a('node.gradientcolor','');
- Node448_13.a('node.text','340.14');
- Node448_13.a('node.textalign','center');
- Node448_13.a('node.textvAlign','middle');
- Node448_13.a('node.textrect', [Node448_13textStart, 0, Node448_13textWidth, Node448_13height]);
- Node448_13.a('node.color','rgba(0,0,0,1)');
- Node448_13.a('node.font','bold '+ Node448_13fontSize + 'px "UniDreamLED"');
- Node448_13.a('node.textvisible',true);
- Node448_13.a('node.linefeed',false);
- if (false) {
- Node448_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_13.a('node.text') || '340.14';
- var color=Node448_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_13width,Node448_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_13.a('node.underlinepoints',[Node448_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node448_13fontSize + 'px "UniDreamLED"').width + 6, (Node448_13height - Node448_13fontSize) * 0.5*_ratio.ratioY + Node448_13fontSize + 2 ]);
- Node448_13.a('node.underlinevisible',false);
- Node448_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_13);
- zoomNodeList.push({
- node: Node448_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_14 = new ht.Node();
- var Node448_14textStart, Node448_14textWidth, Node448_14lineStart, Node448_14align = 'center', Node448_14fontSize = 13.3333*_ratio.ratioY,Node448_14width = 29*_ratio.ratioX, Node448_14height = 16*_ratio.ratioY;
- (function () {
- if (Node448_14align === 'left') {
- Node448_14textStart = Node448_14fontSize * 0.2 > 2 ? Node448_14fontSize * 0.2 - 4 : Node448_14fontSize * 0.2 - 9;
- Node448_14textWidth = Node448_14width;
- Node448_14lineStart = 1;
- } else if (Node448_14align === 'right') {
- Node448_14textStart = 0;
- Node448_14textWidth =Node448_14fontSize <= 8 ? Node448_14width + Node448_14fontSize * 0.2 + 6 : Node448_14width - Node448_14fontSize * 0.2;
- Node448_14lineStart = (Node448_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node448_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_14align === 'center') {
- Node448_14textStart = -3;
- Node448_14textWidth = Node448_14width;
- Node448_14lineStart = Node448_14width - ht.Default.getTextSize('60.61', 'bold '+ Node448_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_14.setImage(GD.getTextJSON(Node448_14width, Node448_14height, true, false, false, 'bold '+ Node448_14fontSize + 'px "UniDreamLED"'))
- Node448_14.setPosition(1473*ratio.ratioX, 208*ratio.ratioY);
- Node448_14.setWidth(Node448_14width);
- Node448_14.setHeight(Node448_14height);
- Node448_14._nodeType = 'text';
- Node448_14._disallowEvert = true;
- Node448_14.setRotation(0*Math.PI/180);
- Node448_14.a('node.width', Node448_14width);
- Node448_14.a('node.height', Node448_14height);
- Node448_14.a('node.rect', [0, 0, Node448_14width, Node448_14height]);
- Node448_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_14.a('node.borderwidth', 0);
- Node448_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_14.a('node.gradient','');
- Node448_14.a('node.gradientcolor','');
- Node448_14.a('node.text','60.61');
- Node448_14.a('node.textalign','center');
- Node448_14.a('node.textvAlign','middle');
- Node448_14.a('node.textrect', [Node448_14textStart, 0, Node448_14textWidth, Node448_14height]);
- Node448_14.a('node.color','rgba(0,0,0,1)');
- Node448_14.a('node.font','bold '+ Node448_14fontSize + 'px "UniDreamLED"');
- Node448_14.a('node.textvisible',true);
- Node448_14.a('node.linefeed',false);
- if (false) {
- Node448_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_14.a('node.text') || '60.61';
- var color=Node448_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_14width,Node448_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_14.a('node.underlinepoints',[Node448_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node448_14fontSize + 'px "UniDreamLED"').width + 6, (Node448_14height - Node448_14fontSize) * 0.5*_ratio.ratioY + Node448_14fontSize + 2 ]);
- Node448_14.a('node.underlinevisible',false);
- Node448_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_14);
- zoomNodeList.push({
- node: Node448_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_15 = new ht.Node();
- var Node448_15textStart, Node448_15textWidth, Node448_15lineStart, Node448_15align = 'center', Node448_15fontSize = 13.3333*_ratio.ratioY,Node448_15width = 36*_ratio.ratioX, Node448_15height = 16*_ratio.ratioY;
- (function () {
- if (Node448_15align === 'left') {
- Node448_15textStart = Node448_15fontSize * 0.2 > 2 ? Node448_15fontSize * 0.2 - 4 : Node448_15fontSize * 0.2 - 9;
- Node448_15textWidth = Node448_15width;
- Node448_15lineStart = 1;
- } else if (Node448_15align === 'right') {
- Node448_15textStart = 0;
- Node448_15textWidth =Node448_15fontSize <= 8 ? Node448_15width + Node448_15fontSize * 0.2 + 6 : Node448_15width - Node448_15fontSize * 0.2;
- Node448_15lineStart = (Node448_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node448_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_15align === 'center') {
- Node448_15textStart = -3;
- Node448_15textWidth = Node448_15width;
- Node448_15lineStart = Node448_15width - ht.Default.getTextSize('166.79', 'bold '+ Node448_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_15.setImage(GD.getTextJSON(Node448_15width, Node448_15height, true, false, false, 'bold '+ Node448_15fontSize + 'px "UniDreamLED"'))
- Node448_15.setPosition(1473*ratio.ratioX, 241*ratio.ratioY);
- Node448_15.setWidth(Node448_15width);
- Node448_15.setHeight(Node448_15height);
- Node448_15._nodeType = 'text';
- Node448_15._disallowEvert = true;
- Node448_15.setRotation(0*Math.PI/180);
- Node448_15.a('node.width', Node448_15width);
- Node448_15.a('node.height', Node448_15height);
- Node448_15.a('node.rect', [0, 0, Node448_15width, Node448_15height]);
- Node448_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_15.a('node.borderwidth', 0);
- Node448_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_15.a('node.gradient','');
- Node448_15.a('node.gradientcolor','');
- Node448_15.a('node.text','166.79');
- Node448_15.a('node.textalign','center');
- Node448_15.a('node.textvAlign','middle');
- Node448_15.a('node.textrect', [Node448_15textStart, 0, Node448_15textWidth, Node448_15height]);
- Node448_15.a('node.color','rgba(0,0,0,1)');
- Node448_15.a('node.font','bold '+ Node448_15fontSize + 'px "UniDreamLED"');
- Node448_15.a('node.textvisible',true);
- Node448_15.a('node.linefeed',false);
- if (false) {
- Node448_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_15.a('node.text') || '166.79';
- var color=Node448_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_15width,Node448_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_15.a('node.underlinepoints',[Node448_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node448_15fontSize + 'px "UniDreamLED"').width + 6, (Node448_15height - Node448_15fontSize) * 0.5*_ratio.ratioY + Node448_15fontSize + 2 ]);
- Node448_15.a('node.underlinevisible',false);
- Node448_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_15);
- zoomNodeList.push({
- node: Node448_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_16 = new ht.Node();
- var Node448_16textStart, Node448_16textWidth, Node448_16lineStart, Node448_16align = 'center', Node448_16fontSize = 13.3333*_ratio.ratioY,Node448_16width = 29*_ratio.ratioX, Node448_16height = 16*_ratio.ratioY;
- (function () {
- if (Node448_16align === 'left') {
- Node448_16textStart = Node448_16fontSize * 0.2 > 2 ? Node448_16fontSize * 0.2 - 4 : Node448_16fontSize * 0.2 - 9;
- Node448_16textWidth = Node448_16width;
- Node448_16lineStart = 1;
- } else if (Node448_16align === 'right') {
- Node448_16textStart = 0;
- Node448_16textWidth =Node448_16fontSize <= 8 ? Node448_16width + Node448_16fontSize * 0.2 + 6 : Node448_16width - Node448_16fontSize * 0.2;
- Node448_16lineStart = (Node448_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node448_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_16align === 'center') {
- Node448_16textStart = -3;
- Node448_16textWidth = Node448_16width;
- Node448_16lineStart = Node448_16width - ht.Default.getTextSize('66.18', 'bold '+ Node448_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_16.setImage(GD.getTextJSON(Node448_16width, Node448_16height, true, false, false, 'bold '+ Node448_16fontSize + 'px "UniDreamLED"'))
- Node448_16.setPosition(1473*ratio.ratioX, 270*ratio.ratioY);
- Node448_16.setWidth(Node448_16width);
- Node448_16.setHeight(Node448_16height);
- Node448_16._nodeType = 'text';
- Node448_16._disallowEvert = true;
- Node448_16.setRotation(0*Math.PI/180);
- Node448_16.a('node.width', Node448_16width);
- Node448_16.a('node.height', Node448_16height);
- Node448_16.a('node.rect', [0, 0, Node448_16width, Node448_16height]);
- Node448_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_16.a('node.borderwidth', 0);
- Node448_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_16.a('node.gradient','');
- Node448_16.a('node.gradientcolor','');
- Node448_16.a('node.text','66.18');
- Node448_16.a('node.textalign','center');
- Node448_16.a('node.textvAlign','middle');
- Node448_16.a('node.textrect', [Node448_16textStart, 0, Node448_16textWidth, Node448_16height]);
- Node448_16.a('node.color','rgba(0,0,0,1)');
- Node448_16.a('node.font','bold '+ Node448_16fontSize + 'px "UniDreamLED"');
- Node448_16.a('node.textvisible',true);
- Node448_16.a('node.linefeed',false);
- if (false) {
- Node448_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_16.a('node.text') || '66.18';
- var color=Node448_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_16width,Node448_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_16.a('node.underlinepoints',[Node448_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node448_16fontSize + 'px "UniDreamLED"').width + 6, (Node448_16height - Node448_16fontSize) * 0.5*_ratio.ratioY + Node448_16fontSize + 2 ]);
- Node448_16.a('node.underlinevisible',false);
- Node448_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_16);
- zoomNodeList.push({
- node: Node448_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node448_17 = new ht.Node();
- var Node448_17textStart, Node448_17textWidth, Node448_17lineStart, Node448_17align = 'center', Node448_17fontSize = 13.3333*_ratio.ratioY,Node448_17width = 9*_ratio.ratioX, Node448_17height = 16*_ratio.ratioY;
- (function () {
- if (Node448_17align === 'left') {
- Node448_17textStart = Node448_17fontSize * 0.2 > 2 ? Node448_17fontSize * 0.2 - 4 : Node448_17fontSize * 0.2 - 9;
- Node448_17textWidth = Node448_17width;
- Node448_17lineStart = 1;
- } else if (Node448_17align === 'right') {
- Node448_17textStart = 0;
- Node448_17textWidth =Node448_17fontSize <= 8 ? Node448_17width + Node448_17fontSize * 0.2 + 6 : Node448_17width - Node448_17fontSize * 0.2;
- Node448_17lineStart = (Node448_17width - (ht.Default.getTextSize('-', 'bold '+ Node448_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node448_17align === 'center') {
- Node448_17textStart = -3;
- Node448_17textWidth = Node448_17width;
- Node448_17lineStart = Node448_17width - ht.Default.getTextSize('-', 'bold '+ Node448_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node448_17.setImage(GD.getTextJSON(Node448_17width, Node448_17height, true, false, false, 'bold '+ Node448_17fontSize + 'px "UniDreamLED"'))
- Node448_17.setPosition(1473*ratio.ratioX, 301*ratio.ratioY);
- Node448_17.setWidth(Node448_17width);
- Node448_17.setHeight(Node448_17height);
- Node448_17._nodeType = 'text';
- Node448_17._disallowEvert = true;
- Node448_17.setRotation(0*Math.PI/180);
- Node448_17.a('node.width', Node448_17width);
- Node448_17.a('node.height', Node448_17height);
- Node448_17.a('node.rect', [0, 0, Node448_17width, Node448_17height]);
- Node448_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node448_17.a('node.borderwidth', 0);
- Node448_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node448_17.a('node.gradient','');
- Node448_17.a('node.gradientcolor','');
- Node448_17.a('node.text','-');
- Node448_17.a('node.textalign','center');
- Node448_17.a('node.textvAlign','middle');
- Node448_17.a('node.textrect', [Node448_17textStart, 0, Node448_17textWidth, Node448_17height]);
- Node448_17.a('node.color','rgba(0,0,0,1)');
- Node448_17.a('node.font','bold '+ Node448_17fontSize + 'px "UniDreamLED"');
- Node448_17.a('node.textvisible',true);
- Node448_17.a('node.linefeed',false);
- if (false) {
- Node448_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node448_17.a('node.text') || '-';
- var color=Node448_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node448_17width,Node448_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node448_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node448_17.a('node.underlinepoints',[Node448_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node448_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node448_17fontSize + 'px "UniDreamLED"').width + 6, (Node448_17height - Node448_17fontSize) * 0.5*_ratio.ratioY + Node448_17fontSize + 2 ]);
- Node448_17.a('node.underlinevisible',false);
- Node448_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node448_17);
- zoomNodeList.push({
- node: Node448_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node449_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');
- Node449_0 = new ht.Node();
- Node449_0.setPosition(1473*ratio.ratioX, 162*ratio.ratioY);
- Node449_0.setSize(127*ratioX, 313*ratioY);
- Node449_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node449_0.setRotation(0*Math.PI/180);
- Node449_0._zoomBy = 'Default';
- Node449_0._nodeType = 'image';
- Node449_0._disallowEvert = true;
- dataModel.add(Node449_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node449_1 = new ht.Node();
- var Node449_1textStart, Node449_1textWidth, Node449_1lineStart, Node449_1align = 'center', Node449_1fontSize = 13.3333*_ratio.ratioY,Node449_1width = 95*_ratio.ratioX, Node449_1height = 16*_ratio.ratioY;
- (function () {
- if (Node449_1align === 'left') {
- Node449_1textStart = Node449_1fontSize * 0.2 > 2 ? Node449_1fontSize * 0.2 - 4 : Node449_1fontSize * 0.2 - 9;
- Node449_1textWidth = Node449_1width;
- Node449_1lineStart = 1;
- } else if (Node449_1align === 'right') {
- Node449_1textStart = 0;
- Node449_1textWidth =Node449_1fontSize <= 8 ? Node449_1width + Node449_1fontSize * 0.2 + 6 : Node449_1width - Node449_1fontSize * 0.2;
- Node449_1lineStart = (Node449_1width - (ht.Default.getTextSize('限电损失电量', 'bold '+ Node449_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node449_1align === 'center') {
- Node449_1textStart = -3;
- Node449_1textWidth = Node449_1width;
- Node449_1lineStart = Node449_1width - ht.Default.getTextSize('限电损失电量', 'bold '+ Node449_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node449_1.setImage(GD.getTextJSON(Node449_1width, Node449_1height, true, false, false, 'bold '+ Node449_1fontSize + 'px "Arial"'))
- Node449_1.setPosition(1468*ratio.ratioX, 27*ratio.ratioY);
- Node449_1.setWidth(Node449_1width);
- Node449_1.setHeight(Node449_1height);
- Node449_1._nodeType = 'text';
- Node449_1._disallowEvert = true;
- Node449_1.setRotation(0*Math.PI/180);
- Node449_1.a('node.width', Node449_1width);
- Node449_1.a('node.height', Node449_1height);
- Node449_1.a('node.rect', [0, 0, Node449_1width, Node449_1height]);
- Node449_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node449_1.a('node.borderwidth', 0);
- Node449_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node449_1.a('node.gradient','');
- Node449_1.a('node.gradientcolor','');
- Node449_1.a('node.text','限电损失电量');
- Node449_1.a('node.textalign','center');
- Node449_1.a('node.textvAlign','middle');
- Node449_1.a('node.textrect', [Node449_1textStart, 0, Node449_1textWidth, Node449_1height]);
- Node449_1.a('node.color','rgba(255,255,255,1)');
- Node449_1.a('node.font','bold '+ Node449_1fontSize + 'px "Arial"');
- Node449_1.a('node.textvisible',true);
- Node449_1.a('node.linefeed',false);
- if (false) {
- Node449_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node449_1.a('node.text') || '限电损失电量';
- var color=Node449_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node449_1width,Node449_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node449_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node449_1.a('node.underlinepoints',[Node449_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node449_1fontSize + 2 , ht.Default.getTextSize('限电损失电量', 'bold '+ Node449_1fontSize + 'px "Arial"').width + 6, (Node449_1height - Node449_1fontSize) * 0.5*_ratio.ratioY + Node449_1fontSize + 2 ]);
- Node449_1.a('node.underlinevisible',false);
- Node449_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node449_1);
- zoomNodeList.push({
- node: Node449_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_0type = 'rect';
- var Node450_0 = new ht.Node(),
- Node450_0BorderWidth = 0*2;
- if (Node450_0type === 'arc') {
- Node450_0BorderWidth *= 0;
- }
- Node450_0.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_0.setPosition(1600*ratio.ratioX, 115*ratio.ratioY);
- Node450_0.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_0.a('node.width', 127*_ratio.ratioX);
- Node450_0.a('node.height', 32*_ratio.ratioY);
- Node450_0.a('node.type', Node450_0type);
- Node450_0.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_0.a('node.background', 'rgba(245,245,245,1)');
- Node450_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node450_0.a('node.gradient', '');
- Node450_0.a('node.borderwidth', Node450_0BorderWidth);
- Node450_0.a('node.color', 'rgba(192,192,192,0)');
- Node450_0.a('node.fillrect', [0,0,0,0]);
- Node450_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_0.a('node.fillgradient', '');
- if (Node450_0type !== 'rect') {
- Node450_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_0type === 'arc') {
- Node450_0.a('node.arcOval', true);
- }
- Node450_0.setRotation(0*Math.PI/180);
- Node450_0.borderWidth = Node450_0BorderWidth;
- Node450_0.borderFillwidth = Node450_0BorderWidth;
- dataModel.add(Node450_0);
- Node450_0._nodename = 'Node450_0'
- Node450_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_0, Node450_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_1type = 'rect';
- var Node450_1 = new ht.Node(),
- Node450_1BorderWidth = 0*2;
- if (Node450_1type === 'arc') {
- Node450_1BorderWidth *= 0;
- }
- Node450_1.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_1.setPosition(1600*ratio.ratioX, 147*ratio.ratioY);
- Node450_1.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_1.a('node.width', 127*_ratio.ratioX);
- Node450_1.a('node.height', 32*_ratio.ratioY);
- Node450_1.a('node.type', Node450_1type);
- Node450_1.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node450_1.a('node.gradientcolor', '');
- Node450_1.a('node.gradient', '');
- Node450_1.a('node.borderwidth', Node450_1BorderWidth);
- Node450_1.a('node.color', 'rgba(192,192,192,0)');
- Node450_1.a('node.fillrect', [0,0,0,0]);
- Node450_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_1.a('node.fillgradient', '');
- if (Node450_1type !== 'rect') {
- Node450_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_1type === 'arc') {
- Node450_1.a('node.arcOval', true);
- }
- Node450_1.setRotation(0*Math.PI/180);
- Node450_1.borderWidth = Node450_1BorderWidth;
- Node450_1.borderFillwidth = Node450_1BorderWidth;
- dataModel.add(Node450_1);
- Node450_1._nodename = 'Node450_1'
- Node450_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_1, Node450_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_2type = 'rect';
- var Node450_2 = new ht.Node(),
- Node450_2BorderWidth = 0*2;
- if (Node450_2type === 'arc') {
- Node450_2BorderWidth *= 0;
- }
- Node450_2.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_2.setPosition(1600*ratio.ratioX, 179*ratio.ratioY);
- Node450_2.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_2.a('node.width', 127*_ratio.ratioX);
- Node450_2.a('node.height', 32*_ratio.ratioY);
- Node450_2.a('node.type', Node450_2type);
- Node450_2.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_2.a('node.background', 'rgba(245,245,245,1)');
- Node450_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node450_2.a('node.gradient', '');
- Node450_2.a('node.borderwidth', Node450_2BorderWidth);
- Node450_2.a('node.color', 'rgba(192,192,192,0)');
- Node450_2.a('node.fillrect', [0,0,0,0]);
- Node450_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_2.a('node.fillgradient', '');
- if (Node450_2type !== 'rect') {
- Node450_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_2type === 'arc') {
- Node450_2.a('node.arcOval', true);
- }
- Node450_2.setRotation(0*Math.PI/180);
- Node450_2.borderWidth = Node450_2BorderWidth;
- Node450_2.borderFillwidth = Node450_2BorderWidth;
- dataModel.add(Node450_2);
- Node450_2._nodename = 'Node450_2'
- Node450_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_2, Node450_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_3type = 'rect';
- var Node450_3 = new ht.Node(),
- Node450_3BorderWidth = 0*2;
- if (Node450_3type === 'arc') {
- Node450_3BorderWidth *= 0;
- }
- Node450_3.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_3.setPosition(1600*ratio.ratioX, 210*ratio.ratioY);
- Node450_3.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_3.a('node.width', 127*_ratio.ratioX);
- Node450_3.a('node.height', 32*_ratio.ratioY);
- Node450_3.a('node.type', Node450_3type);
- Node450_3.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node450_3.a('node.gradientcolor', '');
- Node450_3.a('node.gradient', '');
- Node450_3.a('node.borderwidth', Node450_3BorderWidth);
- Node450_3.a('node.color', 'rgba(192,192,192,0)');
- Node450_3.a('node.fillrect', [0,0,0,0]);
- Node450_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_3.a('node.fillgradient', '');
- if (Node450_3type !== 'rect') {
- Node450_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_3type === 'arc') {
- Node450_3.a('node.arcOval', true);
- }
- Node450_3.setRotation(0*Math.PI/180);
- Node450_3.borderWidth = Node450_3BorderWidth;
- Node450_3.borderFillwidth = Node450_3BorderWidth;
- dataModel.add(Node450_3);
- Node450_3._nodename = 'Node450_3'
- Node450_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_3, Node450_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_4type = 'rect';
- var Node450_4 = new ht.Node(),
- Node450_4BorderWidth = 0*2;
- if (Node450_4type === 'arc') {
- Node450_4BorderWidth *= 0;
- }
- Node450_4.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_4.setPosition(1600*ratio.ratioX, 241*ratio.ratioY);
- Node450_4.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_4.a('node.width', 127*_ratio.ratioX);
- Node450_4.a('node.height', 32*_ratio.ratioY);
- Node450_4.a('node.type', Node450_4type);
- Node450_4.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_4.a('node.background', 'rgba(245,245,245,1)');
- Node450_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node450_4.a('node.gradient', '');
- Node450_4.a('node.borderwidth', Node450_4BorderWidth);
- Node450_4.a('node.color', 'rgba(192,192,192,0)');
- Node450_4.a('node.fillrect', [0,0,0,0]);
- Node450_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_4.a('node.fillgradient', '');
- if (Node450_4type !== 'rect') {
- Node450_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_4type === 'arc') {
- Node450_4.a('node.arcOval', true);
- }
- Node450_4.setRotation(0*Math.PI/180);
- Node450_4.borderWidth = Node450_4BorderWidth;
- Node450_4.borderFillwidth = Node450_4BorderWidth;
- dataModel.add(Node450_4);
- Node450_4._nodename = 'Node450_4'
- Node450_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_4, Node450_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_5type = 'rect';
- var Node450_5 = new ht.Node(),
- Node450_5BorderWidth = 0*2;
- if (Node450_5type === 'arc') {
- Node450_5BorderWidth *= 0;
- }
- Node450_5.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_5.setPosition(1600*ratio.ratioX, 272*ratio.ratioY);
- Node450_5.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_5.a('node.width', 127*_ratio.ratioX);
- Node450_5.a('node.height', 32*_ratio.ratioY);
- Node450_5.a('node.type', Node450_5type);
- Node450_5.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node450_5.a('node.gradientcolor', '');
- Node450_5.a('node.gradient', '');
- Node450_5.a('node.borderwidth', Node450_5BorderWidth);
- Node450_5.a('node.color', 'rgba(192,192,192,0)');
- Node450_5.a('node.fillrect', [0,0,0,0]);
- Node450_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_5.a('node.fillgradient', '');
- if (Node450_5type !== 'rect') {
- Node450_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_5type === 'arc') {
- Node450_5.a('node.arcOval', true);
- }
- Node450_5.setRotation(0*Math.PI/180);
- Node450_5.borderWidth = Node450_5BorderWidth;
- Node450_5.borderFillwidth = Node450_5BorderWidth;
- dataModel.add(Node450_5);
- Node450_5._nodename = 'Node450_5'
- Node450_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_5, Node450_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_6type = 'rect';
- var Node450_6 = new ht.Node(),
- Node450_6BorderWidth = 0*2;
- if (Node450_6type === 'arc') {
- Node450_6BorderWidth *= 0;
- }
- Node450_6.setImage(GD.getRectJSON(127*_ratio.ratioX, 32*_ratio.ratioY, Node450_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_6.setPosition(1600*ratio.ratioX, 303*ratio.ratioY);
- Node450_6.setSize(127*_ratio.ratioX, 32*_ratio.ratioY);
- Node450_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_6.a('node.width', 127*_ratio.ratioX);
- Node450_6.a('node.height', 32*_ratio.ratioY);
- Node450_6.a('node.type', Node450_6type);
- Node450_6.a('node.rect', [0, 0, 127*_ratio.ratioX, 32*_ratio.ratioY]);
- Node450_6.a('node.background', 'rgba(245,245,245,1)');
- Node450_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node450_6.a('node.gradient', '');
- Node450_6.a('node.borderwidth', Node450_6BorderWidth);
- Node450_6.a('node.color', 'rgba(192,192,192,0)');
- Node450_6.a('node.fillrect', [0,0,0,0]);
- Node450_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_6.a('node.fillgradient', '');
- if (Node450_6type !== 'rect') {
- Node450_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_6type === 'arc') {
- Node450_6.a('node.arcOval', true);
- }
- Node450_6.setRotation(0*Math.PI/180);
- Node450_6.borderWidth = Node450_6BorderWidth;
- Node450_6.borderFillwidth = Node450_6BorderWidth;
- dataModel.add(Node450_6);
- Node450_6._nodename = 'Node450_6'
- Node450_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_6, Node450_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_7type = 'rect';
- var Node450_7 = new ht.Node(),
- Node450_7BorderWidth = 1*2;
- if (Node450_7type === 'arc') {
- Node450_7BorderWidth *= 1;
- }
- Node450_7.setImage(GD.getRectJSON(127*_ratio.ratioX, 309*_ratio.ratioY, Node450_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node450_7.setPosition(1600*ratio.ratioX, 164*ratio.ratioY);
- Node450_7.setSize(127*_ratio.ratioX, 309*_ratio.ratioY);
- Node450_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node450_7.a('node.width', 127*_ratio.ratioX);
- Node450_7.a('node.height', 309*_ratio.ratioY);
- Node450_7.a('node.type', Node450_7type);
- Node450_7.a('node.rect', [0, 0, 127*_ratio.ratioX, 309*_ratio.ratioY]);
- Node450_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node450_7.a('node.gradientcolor', '');
- Node450_7.a('node.gradient', '');
- Node450_7.a('node.borderwidth', Node450_7BorderWidth);
- Node450_7.a('node.color', 'rgba(192,192,192,1)');
- Node450_7.a('node.fillrect', [0,0,0,0]);
- Node450_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node450_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node450_7.a('node.fillgradient', '');
- if (Node450_7type !== 'rect') {
- Node450_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node450_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node450_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node450_7type === 'arc') {
- Node450_7.a('node.arcOval', true);
- }
- Node450_7.setRotation(0*Math.PI/180);
- Node450_7.borderWidth = Node450_7BorderWidth;
- Node450_7.borderFillwidth = Node450_7BorderWidth;
- dataModel.add(Node450_7);
- Node450_7._nodename = 'Node450_7'
- Node450_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node450_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);
- }
- })(Node450_7, Node450_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_8 = new ht.Node();
- var Node450_8textStart, Node450_8textWidth, Node450_8lineStart, Node450_8align = 'center', Node450_8fontSize = 13.3333*_ratio.ratioY,Node450_8width = 95*_ratio.ratioX, Node450_8height = 16*_ratio.ratioY;
- (function () {
- if (Node450_8align === 'left') {
- Node450_8textStart = Node450_8fontSize * 0.2 > 2 ? Node450_8fontSize * 0.2 - 4 : Node450_8fontSize * 0.2 - 9;
- Node450_8textWidth = Node450_8width;
- Node450_8lineStart = 1;
- } else if (Node450_8align === 'right') {
- Node450_8textStart = 0;
- Node450_8textWidth =Node450_8fontSize <= 8 ? Node450_8width + Node450_8fontSize * 0.2 + 6 : Node450_8width - Node450_8fontSize * 0.2;
- Node450_8lineStart = (Node450_8width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node450_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node450_8align === 'center') {
- Node450_8textStart = -3;
- Node450_8textWidth = Node450_8width;
- Node450_8lineStart = Node450_8width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node450_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node450_8.setImage(GD.getTextJSON(Node450_8width, Node450_8height, true, false, false, 'bold '+ Node450_8fontSize + 'px "Arial"'))
- Node450_8.setPosition(1597*ratio.ratioX, 28*ratio.ratioY);
- Node450_8.setWidth(Node450_8width);
- Node450_8.setHeight(Node450_8height);
- Node450_8._nodeType = 'text';
- Node450_8._disallowEvert = true;
- Node450_8.setRotation(0*Math.PI/180);
- Node450_8.a('node.width', Node450_8width);
- Node450_8.a('node.height', Node450_8height);
- Node450_8.a('node.rect', [0, 0, Node450_8width, Node450_8height]);
- Node450_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node450_8.a('node.borderwidth', 0);
- Node450_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_8.a('node.gradient','');
- Node450_8.a('node.gradientcolor','');
- Node450_8.a('node.text','受累损失电量');
- Node450_8.a('node.textalign','center');
- Node450_8.a('node.textvAlign','middle');
- Node450_8.a('node.textrect', [Node450_8textStart, 0, Node450_8textWidth, Node450_8height]);
- Node450_8.a('node.color','rgba(255,255,255,1)');
- Node450_8.a('node.font','bold '+ Node450_8fontSize + 'px "Arial"');
- Node450_8.a('node.textvisible',true);
- Node450_8.a('node.linefeed',false);
- if (false) {
- Node450_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_8.a('node.text') || '受累损失电量';
- var color=Node450_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_8width,Node450_8height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node450_8.a('node.underlinepoints',[Node450_8lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_8fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node450_8fontSize + 'px "Arial"').width + 6, (Node450_8height - Node450_8fontSize) * 0.5*_ratio.ratioY + Node450_8fontSize + 2 ]);
- Node450_8.a('node.underlinevisible',false);
- Node450_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_8);
- zoomNodeList.push({
- node: Node450_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_9 = new ht.Node();
- var Node450_9textStart, Node450_9textWidth, Node450_9lineStart, Node450_9align = 'center', Node450_9fontSize = 11.99997*_ratio.ratioY,Node450_9width = 41*_ratio.ratioX, Node450_9height = 15*_ratio.ratioY;
- (function () {
- if (Node450_9align === 'left') {
- Node450_9textStart = Node450_9fontSize * 0.2 > 2 ? Node450_9fontSize * 0.2 - 4 : Node450_9fontSize * 0.2 - 9;
- Node450_9textWidth = Node450_9width;
- Node450_9lineStart = 1;
- } else if (Node450_9align === 'right') {
- Node450_9textStart = 0;
- Node450_9textWidth =Node450_9fontSize <= 8 ? Node450_9width + Node450_9fontSize * 0.2 + 6 : Node450_9width - Node450_9fontSize * 0.2;
- Node450_9lineStart = (Node450_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node450_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node450_9align === 'center') {
- Node450_9textStart = -3;
- Node450_9textWidth = Node450_9width;
- Node450_9lineStart = Node450_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node450_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node450_9.setImage(GD.getTextJSON(Node450_9width, Node450_9height, true, false, false, 'bold '+ Node450_9fontSize + 'px "Arial"'))
- Node450_9.setPosition(1597*ratio.ratioX, 56*ratio.ratioY);
- Node450_9.setWidth(Node450_9width);
- Node450_9.setHeight(Node450_9height);
- Node450_9._nodeType = 'text';
- Node450_9._disallowEvert = true;
- Node450_9.setRotation(0*Math.PI/180);
- Node450_9.a('node.width', Node450_9width);
- Node450_9.a('node.height', Node450_9height);
- Node450_9.a('node.rect', [0, 0, Node450_9width, Node450_9height]);
- Node450_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node450_9.a('node.borderwidth', 0);
- Node450_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_9.a('node.gradient','');
- Node450_9.a('node.gradientcolor','');
- Node450_9.a('node.text','万kwh');
- Node450_9.a('node.textalign','center');
- Node450_9.a('node.textvAlign','middle');
- Node450_9.a('node.textrect', [Node450_9textStart, 0, Node450_9textWidth, Node450_9height]);
- Node450_9.a('node.color','rgba(128,128,128,1)');
- Node450_9.a('node.font','bold '+ Node450_9fontSize + 'px "Arial"');
- Node450_9.a('node.textvisible',true);
- Node450_9.a('node.linefeed',false);
- if (false) {
- Node450_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_9.a('node.text') || '万kwh';
- var color=Node450_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node450_9width,Node450_9height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node450_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node450_9.a('node.underlinepoints',[Node450_9lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node450_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node450_9fontSize + 'px "Arial"').width + 6, (Node450_9height - Node450_9fontSize) * 0.5*_ratio.ratioY + Node450_9fontSize + 2 ]);
- Node450_9.a('node.underlinevisible',false);
- Node450_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_9);
- zoomNodeList.push({
- node: Node450_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_10 = new ht.Node();
- var Node450_10textStart, Node450_10textWidth, Node450_10lineStart, Node450_10align = 'center', Node450_10fontSize = 13.3333*_ratio.ratioY,Node450_10width = 39*_ratio.ratioX, Node450_10height = 16*_ratio.ratioY;
- (function () {
- if (Node450_10align === 'left') {
- Node450_10textStart = Node450_10fontSize * 0.2 > 2 ? Node450_10fontSize * 0.2 - 4 : Node450_10fontSize * 0.2 - 9;
- Node450_10textWidth = Node450_10width;
- Node450_10lineStart = 1;
- } else if (Node450_10align === 'right') {
- Node450_10textStart = 0;
- Node450_10textWidth =Node450_10fontSize <= 8 ? Node450_10width + Node450_10fontSize * 0.2 + 6 : Node450_10width - Node450_10fontSize * 0.2;
- Node450_10lineStart = (Node450_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node450_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_10align === 'center') {
- Node450_10textStart = -3;
- Node450_10textWidth = Node450_10width;
- Node450_10lineStart = Node450_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node450_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_10.setImage(GD.getTextJSON(Node450_10width, Node450_10height, true, false, false, 'bold '+ Node450_10fontSize + 'px "UniDreamLED"'))
- Node450_10.setPosition(1597*ratio.ratioX, 83*ratio.ratioY);
- Node450_10.setWidth(Node450_10width);
- Node450_10.setHeight(Node450_10height);
- Node450_10._nodeType = 'text';
- Node450_10._disallowEvert = true;
- Node450_10.setRotation(0*Math.PI/180);
- Node450_10.a('node.width', Node450_10width);
- Node450_10.a('node.height', Node450_10height);
- Node450_10.a('node.rect', [0, 0, Node450_10width, Node450_10height]);
- Node450_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_10.a('node.borderwidth', 0);
- Node450_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_10.a('node.gradient','');
- Node450_10.a('node.gradientcolor','');
- Node450_10.a('node.text','1134.76');
- Node450_10.a('node.textalign','center');
- Node450_10.a('node.textvAlign','middle');
- Node450_10.a('node.textrect', [Node450_10textStart, 0, Node450_10textWidth, Node450_10height]);
- Node450_10.a('node.color','rgba(0,0,0,1)');
- Node450_10.a('node.font','bold '+ Node450_10fontSize + 'px "UniDreamLED"');
- Node450_10.a('node.textvisible',true);
- Node450_10.a('node.linefeed',false);
- if (false) {
- Node450_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_10.a('node.text') || '1134.76';
- var color=Node450_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_10width,Node450_10height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_10.a('node.underlinepoints',[Node450_10lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node450_10fontSize + 'px "UniDreamLED"').width + 6, (Node450_10height - Node450_10fontSize) * 0.5*_ratio.ratioY + Node450_10fontSize + 2 ]);
- Node450_10.a('node.underlinevisible',false);
- Node450_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_10);
- zoomNodeList.push({
- node: Node450_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_11 = new ht.Node();
- var Node450_11textStart, Node450_11textWidth, Node450_11lineStart, Node450_11align = 'center', Node450_11fontSize = 13.3333*_ratio.ratioY,Node450_11width = 28*_ratio.ratioX, Node450_11height = 16*_ratio.ratioY;
- (function () {
- if (Node450_11align === 'left') {
- Node450_11textStart = Node450_11fontSize * 0.2 > 2 ? Node450_11fontSize * 0.2 - 4 : Node450_11fontSize * 0.2 - 9;
- Node450_11textWidth = Node450_11width;
- Node450_11lineStart = 1;
- } else if (Node450_11align === 'right') {
- Node450_11textStart = 0;
- Node450_11textWidth =Node450_11fontSize <= 8 ? Node450_11width + Node450_11fontSize * 0.2 + 6 : Node450_11width - Node450_11fontSize * 0.2;
- Node450_11lineStart = (Node450_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node450_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_11align === 'center') {
- Node450_11textStart = -3;
- Node450_11textWidth = Node450_11width;
- Node450_11lineStart = Node450_11width - ht.Default.getTextSize('171.51', 'bold '+ Node450_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_11.setImage(GD.getTextJSON(Node450_11width, Node450_11height, true, false, false, 'bold '+ Node450_11fontSize + 'px "UniDreamLED"'))
- Node450_11.setPosition(1600*ratio.ratioX, 115*ratio.ratioY);
- Node450_11.setWidth(Node450_11width);
- Node450_11.setHeight(Node450_11height);
- Node450_11._nodeType = 'text';
- Node450_11._disallowEvert = true;
- Node450_11.setRotation(0*Math.PI/180);
- Node450_11.a('node.width', Node450_11width);
- Node450_11.a('node.height', Node450_11height);
- Node450_11.a('node.rect', [0, 0, Node450_11width, Node450_11height]);
- Node450_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_11.a('node.borderwidth', 0);
- Node450_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_11.a('node.gradient','');
- Node450_11.a('node.gradientcolor','');
- Node450_11.a('node.text','171.51');
- Node450_11.a('node.textalign','center');
- Node450_11.a('node.textvAlign','middle');
- Node450_11.a('node.textrect', [Node450_11textStart, 0, Node450_11textWidth, Node450_11height]);
- Node450_11.a('node.color','rgba(0,0,0,1)');
- Node450_11.a('node.font','bold '+ Node450_11fontSize + 'px "UniDreamLED"');
- Node450_11.a('node.textvisible',true);
- Node450_11.a('node.linefeed',false);
- if (false) {
- Node450_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_11.a('node.text') || '171.51';
- var color=Node450_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_11width,Node450_11height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_11.a('node.underlinepoints',[Node450_11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node450_11fontSize + 'px "UniDreamLED"').width + 6, (Node450_11height - Node450_11fontSize) * 0.5*_ratio.ratioY + Node450_11fontSize + 2 ]);
- Node450_11.a('node.underlinevisible',false);
- Node450_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_11);
- zoomNodeList.push({
- node: Node450_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_12 = new ht.Node();
- var Node450_12textStart, Node450_12textWidth, Node450_12lineStart, Node450_12align = 'center', Node450_12fontSize = 13.3333*_ratio.ratioY,Node450_12width = 36*_ratio.ratioX, Node450_12height = 16*_ratio.ratioY;
- (function () {
- if (Node450_12align === 'left') {
- Node450_12textStart = Node450_12fontSize * 0.2 > 2 ? Node450_12fontSize * 0.2 - 4 : Node450_12fontSize * 0.2 - 9;
- Node450_12textWidth = Node450_12width;
- Node450_12lineStart = 1;
- } else if (Node450_12align === 'right') {
- Node450_12textStart = 0;
- Node450_12textWidth =Node450_12fontSize <= 8 ? Node450_12width + Node450_12fontSize * 0.2 + 6 : Node450_12width - Node450_12fontSize * 0.2;
- Node450_12lineStart = (Node450_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node450_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_12align === 'center') {
- Node450_12textStart = -3;
- Node450_12textWidth = Node450_12width;
- Node450_12lineStart = Node450_12width - ht.Default.getTextSize('329.51', 'bold '+ Node450_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_12.setImage(GD.getTextJSON(Node450_12width, Node450_12height, true, false, false, 'bold '+ Node450_12fontSize + 'px "UniDreamLED"'))
- Node450_12.setPosition(1600*ratio.ratioX, 145*ratio.ratioY);
- Node450_12.setWidth(Node450_12width);
- Node450_12.setHeight(Node450_12height);
- Node450_12._nodeType = 'text';
- Node450_12._disallowEvert = true;
- Node450_12.setRotation(0*Math.PI/180);
- Node450_12.a('node.width', Node450_12width);
- Node450_12.a('node.height', Node450_12height);
- Node450_12.a('node.rect', [0, 0, Node450_12width, Node450_12height]);
- Node450_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_12.a('node.borderwidth', 0);
- Node450_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_12.a('node.gradient','');
- Node450_12.a('node.gradientcolor','');
- Node450_12.a('node.text','329.51');
- Node450_12.a('node.textalign','center');
- Node450_12.a('node.textvAlign','middle');
- Node450_12.a('node.textrect', [Node450_12textStart, 0, Node450_12textWidth, Node450_12height]);
- Node450_12.a('node.color','rgba(0,0,0,1)');
- Node450_12.a('node.font','bold '+ Node450_12fontSize + 'px "UniDreamLED"');
- Node450_12.a('node.textvisible',true);
- Node450_12.a('node.linefeed',false);
- if (false) {
- Node450_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_12.a('node.text') || '329.51';
- var color=Node450_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_12width,Node450_12height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_12.a('node.underlinepoints',[Node450_12lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node450_12fontSize + 'px "UniDreamLED"').width + 6, (Node450_12height - Node450_12fontSize) * 0.5*_ratio.ratioY + Node450_12fontSize + 2 ]);
- Node450_12.a('node.underlinevisible',false);
- Node450_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_12);
- zoomNodeList.push({
- node: Node450_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_13 = new ht.Node();
- var Node450_13textStart, Node450_13textWidth, Node450_13lineStart, Node450_13align = 'center', Node450_13fontSize = 13.3333*_ratio.ratioY,Node450_13width = 36*_ratio.ratioX, Node450_13height = 16*_ratio.ratioY;
- (function () {
- if (Node450_13align === 'left') {
- Node450_13textStart = Node450_13fontSize * 0.2 > 2 ? Node450_13fontSize * 0.2 - 4 : Node450_13fontSize * 0.2 - 9;
- Node450_13textWidth = Node450_13width;
- Node450_13lineStart = 1;
- } else if (Node450_13align === 'right') {
- Node450_13textStart = 0;
- Node450_13textWidth =Node450_13fontSize <= 8 ? Node450_13width + Node450_13fontSize * 0.2 + 6 : Node450_13width - Node450_13fontSize * 0.2;
- Node450_13lineStart = (Node450_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node450_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_13align === 'center') {
- Node450_13textStart = -3;
- Node450_13textWidth = Node450_13width;
- Node450_13lineStart = Node450_13width - ht.Default.getTextSize('340.14', 'bold '+ Node450_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_13.setImage(GD.getTextJSON(Node450_13width, Node450_13height, true, false, false, 'bold '+ Node450_13fontSize + 'px "UniDreamLED"'))
- Node450_13.setPosition(1600*ratio.ratioX, 175*ratio.ratioY);
- Node450_13.setWidth(Node450_13width);
- Node450_13.setHeight(Node450_13height);
- Node450_13._nodeType = 'text';
- Node450_13._disallowEvert = true;
- Node450_13.setRotation(0*Math.PI/180);
- Node450_13.a('node.width', Node450_13width);
- Node450_13.a('node.height', Node450_13height);
- Node450_13.a('node.rect', [0, 0, Node450_13width, Node450_13height]);
- Node450_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_13.a('node.borderwidth', 0);
- Node450_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_13.a('node.gradient','');
- Node450_13.a('node.gradientcolor','');
- Node450_13.a('node.text','340.14');
- Node450_13.a('node.textalign','center');
- Node450_13.a('node.textvAlign','middle');
- Node450_13.a('node.textrect', [Node450_13textStart, 0, Node450_13textWidth, Node450_13height]);
- Node450_13.a('node.color','rgba(0,0,0,1)');
- Node450_13.a('node.font','bold '+ Node450_13fontSize + 'px "UniDreamLED"');
- Node450_13.a('node.textvisible',true);
- Node450_13.a('node.linefeed',false);
- if (false) {
- Node450_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_13.a('node.text') || '340.14';
- var color=Node450_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_13width,Node450_13height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_13.a('node.underlinepoints',[Node450_13lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node450_13fontSize + 'px "UniDreamLED"').width + 6, (Node450_13height - Node450_13fontSize) * 0.5*_ratio.ratioY + Node450_13fontSize + 2 ]);
- Node450_13.a('node.underlinevisible',false);
- Node450_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_13);
- zoomNodeList.push({
- node: Node450_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_14 = new ht.Node();
- var Node450_14textStart, Node450_14textWidth, Node450_14lineStart, Node450_14align = 'center', Node450_14fontSize = 13.3333*_ratio.ratioY,Node450_14width = 29*_ratio.ratioX, Node450_14height = 16*_ratio.ratioY;
- (function () {
- if (Node450_14align === 'left') {
- Node450_14textStart = Node450_14fontSize * 0.2 > 2 ? Node450_14fontSize * 0.2 - 4 : Node450_14fontSize * 0.2 - 9;
- Node450_14textWidth = Node450_14width;
- Node450_14lineStart = 1;
- } else if (Node450_14align === 'right') {
- Node450_14textStart = 0;
- Node450_14textWidth =Node450_14fontSize <= 8 ? Node450_14width + Node450_14fontSize * 0.2 + 6 : Node450_14width - Node450_14fontSize * 0.2;
- Node450_14lineStart = (Node450_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node450_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_14align === 'center') {
- Node450_14textStart = -3;
- Node450_14textWidth = Node450_14width;
- Node450_14lineStart = Node450_14width - ht.Default.getTextSize('60.61', 'bold '+ Node450_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_14.setImage(GD.getTextJSON(Node450_14width, Node450_14height, true, false, false, 'bold '+ Node450_14fontSize + 'px "UniDreamLED"'))
- Node450_14.setPosition(1600*ratio.ratioX, 209*ratio.ratioY);
- Node450_14.setWidth(Node450_14width);
- Node450_14.setHeight(Node450_14height);
- Node450_14._nodeType = 'text';
- Node450_14._disallowEvert = true;
- Node450_14.setRotation(0*Math.PI/180);
- Node450_14.a('node.width', Node450_14width);
- Node450_14.a('node.height', Node450_14height);
- Node450_14.a('node.rect', [0, 0, Node450_14width, Node450_14height]);
- Node450_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_14.a('node.borderwidth', 0);
- Node450_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_14.a('node.gradient','');
- Node450_14.a('node.gradientcolor','');
- Node450_14.a('node.text','60.61');
- Node450_14.a('node.textalign','center');
- Node450_14.a('node.textvAlign','middle');
- Node450_14.a('node.textrect', [Node450_14textStart, 0, Node450_14textWidth, Node450_14height]);
- Node450_14.a('node.color','rgba(0,0,0,1)');
- Node450_14.a('node.font','bold '+ Node450_14fontSize + 'px "UniDreamLED"');
- Node450_14.a('node.textvisible',true);
- Node450_14.a('node.linefeed',false);
- if (false) {
- Node450_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_14.a('node.text') || '60.61';
- var color=Node450_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_14width,Node450_14height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_14.a('node.underlinepoints',[Node450_14lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node450_14fontSize + 'px "UniDreamLED"').width + 6, (Node450_14height - Node450_14fontSize) * 0.5*_ratio.ratioY + Node450_14fontSize + 2 ]);
- Node450_14.a('node.underlinevisible',false);
- Node450_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_14);
- zoomNodeList.push({
- node: Node450_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_15 = new ht.Node();
- var Node450_15textStart, Node450_15textWidth, Node450_15lineStart, Node450_15align = 'center', Node450_15fontSize = 13.3333*_ratio.ratioY,Node450_15width = 36*_ratio.ratioX, Node450_15height = 16*_ratio.ratioY;
- (function () {
- if (Node450_15align === 'left') {
- Node450_15textStart = Node450_15fontSize * 0.2 > 2 ? Node450_15fontSize * 0.2 - 4 : Node450_15fontSize * 0.2 - 9;
- Node450_15textWidth = Node450_15width;
- Node450_15lineStart = 1;
- } else if (Node450_15align === 'right') {
- Node450_15textStart = 0;
- Node450_15textWidth =Node450_15fontSize <= 8 ? Node450_15width + Node450_15fontSize * 0.2 + 6 : Node450_15width - Node450_15fontSize * 0.2;
- Node450_15lineStart = (Node450_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node450_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_15align === 'center') {
- Node450_15textStart = -3;
- Node450_15textWidth = Node450_15width;
- Node450_15lineStart = Node450_15width - ht.Default.getTextSize('166.79', 'bold '+ Node450_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_15.setImage(GD.getTextJSON(Node450_15width, Node450_15height, true, false, false, 'bold '+ Node450_15fontSize + 'px "UniDreamLED"'))
- Node450_15.setPosition(1600*ratio.ratioX, 242*ratio.ratioY);
- Node450_15.setWidth(Node450_15width);
- Node450_15.setHeight(Node450_15height);
- Node450_15._nodeType = 'text';
- Node450_15._disallowEvert = true;
- Node450_15.setRotation(0*Math.PI/180);
- Node450_15.a('node.width', Node450_15width);
- Node450_15.a('node.height', Node450_15height);
- Node450_15.a('node.rect', [0, 0, Node450_15width, Node450_15height]);
- Node450_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_15.a('node.borderwidth', 0);
- Node450_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_15.a('node.gradient','');
- Node450_15.a('node.gradientcolor','');
- Node450_15.a('node.text','166.79');
- Node450_15.a('node.textalign','center');
- Node450_15.a('node.textvAlign','middle');
- Node450_15.a('node.textrect', [Node450_15textStart, 0, Node450_15textWidth, Node450_15height]);
- Node450_15.a('node.color','rgba(0,0,0,1)');
- Node450_15.a('node.font','bold '+ Node450_15fontSize + 'px "UniDreamLED"');
- Node450_15.a('node.textvisible',true);
- Node450_15.a('node.linefeed',false);
- if (false) {
- Node450_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_15.a('node.text') || '166.79';
- var color=Node450_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_15width,Node450_15height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_15.a('node.underlinepoints',[Node450_15lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node450_15fontSize + 'px "UniDreamLED"').width + 6, (Node450_15height - Node450_15fontSize) * 0.5*_ratio.ratioY + Node450_15fontSize + 2 ]);
- Node450_15.a('node.underlinevisible',false);
- Node450_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_15);
- zoomNodeList.push({
- node: Node450_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_16 = new ht.Node();
- var Node450_16textStart, Node450_16textWidth, Node450_16lineStart, Node450_16align = 'center', Node450_16fontSize = 13.3333*_ratio.ratioY,Node450_16width = 29*_ratio.ratioX, Node450_16height = 16*_ratio.ratioY;
- (function () {
- if (Node450_16align === 'left') {
- Node450_16textStart = Node450_16fontSize * 0.2 > 2 ? Node450_16fontSize * 0.2 - 4 : Node450_16fontSize * 0.2 - 9;
- Node450_16textWidth = Node450_16width;
- Node450_16lineStart = 1;
- } else if (Node450_16align === 'right') {
- Node450_16textStart = 0;
- Node450_16textWidth =Node450_16fontSize <= 8 ? Node450_16width + Node450_16fontSize * 0.2 + 6 : Node450_16width - Node450_16fontSize * 0.2;
- Node450_16lineStart = (Node450_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node450_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_16align === 'center') {
- Node450_16textStart = -3;
- Node450_16textWidth = Node450_16width;
- Node450_16lineStart = Node450_16width - ht.Default.getTextSize('66.18', 'bold '+ Node450_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_16.setImage(GD.getTextJSON(Node450_16width, Node450_16height, true, false, false, 'bold '+ Node450_16fontSize + 'px "UniDreamLED"'))
- Node450_16.setPosition(1600*ratio.ratioX, 271*ratio.ratioY);
- Node450_16.setWidth(Node450_16width);
- Node450_16.setHeight(Node450_16height);
- Node450_16._nodeType = 'text';
- Node450_16._disallowEvert = true;
- Node450_16.setRotation(0*Math.PI/180);
- Node450_16.a('node.width', Node450_16width);
- Node450_16.a('node.height', Node450_16height);
- Node450_16.a('node.rect', [0, 0, Node450_16width, Node450_16height]);
- Node450_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_16.a('node.borderwidth', 0);
- Node450_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_16.a('node.gradient','');
- Node450_16.a('node.gradientcolor','');
- Node450_16.a('node.text','66.18');
- Node450_16.a('node.textalign','center');
- Node450_16.a('node.textvAlign','middle');
- Node450_16.a('node.textrect', [Node450_16textStart, 0, Node450_16textWidth, Node450_16height]);
- Node450_16.a('node.color','rgba(0,0,0,1)');
- Node450_16.a('node.font','bold '+ Node450_16fontSize + 'px "UniDreamLED"');
- Node450_16.a('node.textvisible',true);
- Node450_16.a('node.linefeed',false);
- if (false) {
- Node450_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_16.a('node.text') || '66.18';
- var color=Node450_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_16width,Node450_16height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_16.a('node.underlinepoints',[Node450_16lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node450_16fontSize + 'px "UniDreamLED"').width + 6, (Node450_16height - Node450_16fontSize) * 0.5*_ratio.ratioY + Node450_16fontSize + 2 ]);
- Node450_16.a('node.underlinevisible',false);
- Node450_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_16);
- zoomNodeList.push({
- node: Node450_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node450_17 = new ht.Node();
- var Node450_17textStart, Node450_17textWidth, Node450_17lineStart, Node450_17align = 'center', Node450_17fontSize = 13.3333*_ratio.ratioY,Node450_17width = 9*_ratio.ratioX, Node450_17height = 16*_ratio.ratioY;
- (function () {
- if (Node450_17align === 'left') {
- Node450_17textStart = Node450_17fontSize * 0.2 > 2 ? Node450_17fontSize * 0.2 - 4 : Node450_17fontSize * 0.2 - 9;
- Node450_17textWidth = Node450_17width;
- Node450_17lineStart = 1;
- } else if (Node450_17align === 'right') {
- Node450_17textStart = 0;
- Node450_17textWidth =Node450_17fontSize <= 8 ? Node450_17width + Node450_17fontSize * 0.2 + 6 : Node450_17width - Node450_17fontSize * 0.2;
- Node450_17lineStart = (Node450_17width - (ht.Default.getTextSize('-', 'bold '+ Node450_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node450_17align === 'center') {
- Node450_17textStart = -3;
- Node450_17textWidth = Node450_17width;
- Node450_17lineStart = Node450_17width - ht.Default.getTextSize('-', 'bold '+ Node450_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node450_17.setImage(GD.getTextJSON(Node450_17width, Node450_17height, true, false, false, 'bold '+ Node450_17fontSize + 'px "UniDreamLED"'))
- Node450_17.setPosition(1600*ratio.ratioX, 302*ratio.ratioY);
- Node450_17.setWidth(Node450_17width);
- Node450_17.setHeight(Node450_17height);
- Node450_17._nodeType = 'text';
- Node450_17._disallowEvert = true;
- Node450_17.setRotation(0*Math.PI/180);
- Node450_17.a('node.width', Node450_17width);
- Node450_17.a('node.height', Node450_17height);
- Node450_17.a('node.rect', [0, 0, Node450_17width, Node450_17height]);
- Node450_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node450_17.a('node.borderwidth', 0);
- Node450_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node450_17.a('node.gradient','');
- Node450_17.a('node.gradientcolor','');
- Node450_17.a('node.text','-');
- Node450_17.a('node.textalign','center');
- Node450_17.a('node.textvAlign','middle');
- Node450_17.a('node.textrect', [Node450_17textStart, 0, Node450_17textWidth, Node450_17height]);
- Node450_17.a('node.color','rgba(0,0,0,1)');
- Node450_17.a('node.font','bold '+ Node450_17fontSize + 'px "UniDreamLED"');
- Node450_17.a('node.textvisible',true);
- Node450_17.a('node.linefeed',false);
- if (false) {
- Node450_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node450_17.a('node.text') || '-';
- var color=Node450_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node450_17width,Node450_17height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node450_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node450_17.a('node.underlinepoints',[Node450_17lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node450_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node450_17fontSize + 'px "UniDreamLED"').width + 6, (Node450_17height - Node450_17fontSize) * 0.5*_ratio.ratioY + Node450_17fontSize + 2 ]);
- Node450_17.a('node.underlinevisible',false);
- Node450_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node450_17);
- zoomNodeList.push({
- node: Node450_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node451_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 = new ht.Node();
- Node451_0.setPosition(1601*ratio.ratioX, 162*ratio.ratioY);
- Node451_0.setSize(127*ratioX, 313*ratioY);
- Node451_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node451_0.setRotation(0*Math.PI/180);
- Node451_0._zoomBy = 'Default';
- Node451_0._nodeType = 'image';
- Node451_0._disallowEvert = true;
- dataModel.add(Node451_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node451_1 = new ht.Node();
- var Node451_1textStart, Node451_1textWidth, Node451_1lineStart, Node451_1align = 'center', Node451_1fontSize = 13.3333*_ratio.ratioY,Node451_1width = 95*_ratio.ratioX, Node451_1height = 16*_ratio.ratioY;
- (function () {
- if (Node451_1align === 'left') {
- Node451_1textStart = Node451_1fontSize * 0.2 > 2 ? Node451_1fontSize * 0.2 - 4 : Node451_1fontSize * 0.2 - 9;
- Node451_1textWidth = Node451_1width;
- Node451_1lineStart = 1;
- } else if (Node451_1align === 'right') {
- Node451_1textStart = 0;
- Node451_1textWidth =Node451_1fontSize <= 8 ? Node451_1width + Node451_1fontSize * 0.2 + 6 : Node451_1width - Node451_1fontSize * 0.2;
- Node451_1lineStart = (Node451_1width - (ht.Default.getTextSize('受累损失电量', 'bold '+ Node451_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node451_1align === 'center') {
- Node451_1textStart = -3;
- Node451_1textWidth = Node451_1width;
- Node451_1lineStart = Node451_1width - ht.Default.getTextSize('受累损失电量', 'bold '+ Node451_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node451_1.setImage(GD.getTextJSON(Node451_1width, Node451_1height, true, false, false, 'bold '+ Node451_1fontSize + 'px "Arial"'))
- Node451_1.setPosition(1596*ratio.ratioX, 27*ratio.ratioY);
- Node451_1.setWidth(Node451_1width);
- Node451_1.setHeight(Node451_1height);
- Node451_1._nodeType = 'text';
- Node451_1._disallowEvert = true;
- Node451_1.setRotation(0*Math.PI/180);
- Node451_1.a('node.width', Node451_1width);
- Node451_1.a('node.height', Node451_1height);
- Node451_1.a('node.rect', [0, 0, Node451_1width, Node451_1height]);
- Node451_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node451_1.a('node.borderwidth', 0);
- Node451_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node451_1.a('node.gradient','');
- Node451_1.a('node.gradientcolor','');
- Node451_1.a('node.text','受累损失电量');
- Node451_1.a('node.textalign','center');
- Node451_1.a('node.textvAlign','middle');
- Node451_1.a('node.textrect', [Node451_1textStart, 0, Node451_1textWidth, Node451_1height]);
- Node451_1.a('node.color','rgba(255,255,255,1)');
- Node451_1.a('node.font','bold '+ Node451_1fontSize + 'px "Arial"');
- Node451_1.a('node.textvisible',true);
- Node451_1.a('node.linefeed',false);
- if (false) {
- Node451_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node451_1.a('node.text') || '受累损失电量';
- var color=Node451_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node451_1width,Node451_1height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node451_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node451_1.a('node.underlinepoints',[Node451_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node451_1fontSize + 2 , ht.Default.getTextSize('受累损失电量', 'bold '+ Node451_1fontSize + 'px "Arial"').width + 6, (Node451_1height - Node451_1fontSize) * 0.5*_ratio.ratioY + Node451_1fontSize + 2 ]);
- Node451_1.a('node.underlinevisible',false);
- Node451_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node451_1);
- zoomNodeList.push({
- node: Node451_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_0type = 'rect';
- var Node452_0 = new ht.Node(),
- Node452_0BorderWidth = 0*2;
- if (Node452_0type === 'arc') {
- Node452_0BorderWidth *= 0;
- }
- Node452_0.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_0.setPosition(1723*ratio.ratioX, 115*ratio.ratioY);
- Node452_0.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_0.a('node.width', 117*_ratio.ratioX);
- Node452_0.a('node.height', 32*_ratio.ratioY);
- Node452_0.a('node.type', Node452_0type);
- Node452_0.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_0.a('node.background', 'rgba(245,245,245,1)');
- Node452_0.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node452_0.a('node.gradient', '');
- Node452_0.a('node.borderwidth', Node452_0BorderWidth);
- Node452_0.a('node.color', 'rgba(192,192,192,0)');
- Node452_0.a('node.fillrect', [0,0,0,0]);
- Node452_0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_0.a('node.fillgradient', '');
- if (Node452_0type !== 'rect') {
- Node452_0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_0.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_0type === 'arc') {
- Node452_0.a('node.arcOval', true);
- }
- Node452_0.setRotation(0*Math.PI/180);
- Node452_0.borderWidth = Node452_0BorderWidth;
- Node452_0.borderFillwidth = Node452_0BorderWidth;
- dataModel.add(Node452_0);
- Node452_0._nodename = 'Node452_0'
- Node452_0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_0, Node452_0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_1type = 'rect';
- var Node452_1 = new ht.Node(),
- Node452_1BorderWidth = 0*2;
- if (Node452_1type === 'arc') {
- Node452_1BorderWidth *= 0;
- }
- Node452_1.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_1.setPosition(1723*ratio.ratioX, 147*ratio.ratioY);
- Node452_1.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_1.a('node.width', 117*_ratio.ratioX);
- Node452_1.a('node.height', 32*_ratio.ratioY);
- Node452_1.a('node.type', Node452_1type);
- Node452_1.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node452_1.a('node.gradientcolor', '');
- Node452_1.a('node.gradient', '');
- Node452_1.a('node.borderwidth', Node452_1BorderWidth);
- Node452_1.a('node.color', 'rgba(192,192,192,0)');
- Node452_1.a('node.fillrect', [0,0,0,0]);
- Node452_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_1.a('node.fillgradient', '');
- if (Node452_1type !== 'rect') {
- Node452_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_1type === 'arc') {
- Node452_1.a('node.arcOval', true);
- }
- Node452_1.setRotation(0*Math.PI/180);
- Node452_1.borderWidth = Node452_1BorderWidth;
- Node452_1.borderFillwidth = Node452_1BorderWidth;
- dataModel.add(Node452_1);
- Node452_1._nodename = 'Node452_1'
- Node452_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_1, Node452_1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_2type = 'rect';
- var Node452_2 = new ht.Node(),
- Node452_2BorderWidth = 0*2;
- if (Node452_2type === 'arc') {
- Node452_2BorderWidth *= 0;
- }
- Node452_2.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_2.setPosition(1723*ratio.ratioX, 179*ratio.ratioY);
- Node452_2.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_2.a('node.width', 117*_ratio.ratioX);
- Node452_2.a('node.height', 32*_ratio.ratioY);
- Node452_2.a('node.type', Node452_2type);
- Node452_2.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_2.a('node.background', 'rgba(245,245,245,1)');
- Node452_2.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node452_2.a('node.gradient', '');
- Node452_2.a('node.borderwidth', Node452_2BorderWidth);
- Node452_2.a('node.color', 'rgba(192,192,192,0)');
- Node452_2.a('node.fillrect', [0,0,0,0]);
- Node452_2.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_2.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_2.a('node.fillgradient', '');
- if (Node452_2type !== 'rect') {
- Node452_2.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_2.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_2.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_2type === 'arc') {
- Node452_2.a('node.arcOval', true);
- }
- Node452_2.setRotation(0*Math.PI/180);
- Node452_2.borderWidth = Node452_2BorderWidth;
- Node452_2.borderFillwidth = Node452_2BorderWidth;
- dataModel.add(Node452_2);
- Node452_2._nodename = 'Node452_2'
- Node452_2._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_2, Node452_2.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_3type = 'rect';
- var Node452_3 = new ht.Node(),
- Node452_3BorderWidth = 0*2;
- if (Node452_3type === 'arc') {
- Node452_3BorderWidth *= 0;
- }
- Node452_3.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_3.setPosition(1723*ratio.ratioX, 210*ratio.ratioY);
- Node452_3.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_3.a('node.width', 117*_ratio.ratioX);
- Node452_3.a('node.height', 32*_ratio.ratioY);
- Node452_3.a('node.type', Node452_3type);
- Node452_3.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node452_3.a('node.gradientcolor', '');
- Node452_3.a('node.gradient', '');
- Node452_3.a('node.borderwidth', Node452_3BorderWidth);
- Node452_3.a('node.color', 'rgba(192,192,192,0)');
- Node452_3.a('node.fillrect', [0,0,0,0]);
- Node452_3.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_3.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_3.a('node.fillgradient', '');
- if (Node452_3type !== 'rect') {
- Node452_3.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_3.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_3.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_3type === 'arc') {
- Node452_3.a('node.arcOval', true);
- }
- Node452_3.setRotation(0*Math.PI/180);
- Node452_3.borderWidth = Node452_3BorderWidth;
- Node452_3.borderFillwidth = Node452_3BorderWidth;
- dataModel.add(Node452_3);
- Node452_3._nodename = 'Node452_3'
- Node452_3._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_3, Node452_3.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_4type = 'rect';
- var Node452_4 = new ht.Node(),
- Node452_4BorderWidth = 0*2;
- if (Node452_4type === 'arc') {
- Node452_4BorderWidth *= 0;
- }
- Node452_4.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_4.setPosition(1723*ratio.ratioX, 241*ratio.ratioY);
- Node452_4.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_4.a('node.width', 117*_ratio.ratioX);
- Node452_4.a('node.height', 32*_ratio.ratioY);
- Node452_4.a('node.type', Node452_4type);
- Node452_4.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_4.a('node.background', 'rgba(245,245,245,1)');
- Node452_4.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node452_4.a('node.gradient', '');
- Node452_4.a('node.borderwidth', Node452_4BorderWidth);
- Node452_4.a('node.color', 'rgba(192,192,192,0)');
- Node452_4.a('node.fillrect', [0,0,0,0]);
- Node452_4.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_4.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_4.a('node.fillgradient', '');
- if (Node452_4type !== 'rect') {
- Node452_4.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_4.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_4.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_4type === 'arc') {
- Node452_4.a('node.arcOval', true);
- }
- Node452_4.setRotation(0*Math.PI/180);
- Node452_4.borderWidth = Node452_4BorderWidth;
- Node452_4.borderFillwidth = Node452_4BorderWidth;
- dataModel.add(Node452_4);
- Node452_4._nodename = 'Node452_4'
- Node452_4._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_4, Node452_4.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_5type = 'rect';
- var Node452_5 = new ht.Node(),
- Node452_5BorderWidth = 0*2;
- if (Node452_5type === 'arc') {
- Node452_5BorderWidth *= 0;
- }
- Node452_5.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_5.setPosition(1723*ratio.ratioX, 272*ratio.ratioY);
- Node452_5.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_5.a('node.width', 117*_ratio.ratioX);
- Node452_5.a('node.height', 32*_ratio.ratioY);
- Node452_5.a('node.type', Node452_5type);
- Node452_5.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node452_5.a('node.gradientcolor', '');
- Node452_5.a('node.gradient', '');
- Node452_5.a('node.borderwidth', Node452_5BorderWidth);
- Node452_5.a('node.color', 'rgba(192,192,192,0)');
- Node452_5.a('node.fillrect', [0,0,0,0]);
- Node452_5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_5.a('node.fillgradient', '');
- if (Node452_5type !== 'rect') {
- Node452_5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_5.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_5type === 'arc') {
- Node452_5.a('node.arcOval', true);
- }
- Node452_5.setRotation(0*Math.PI/180);
- Node452_5.borderWidth = Node452_5BorderWidth;
- Node452_5.borderFillwidth = Node452_5BorderWidth;
- dataModel.add(Node452_5);
- Node452_5._nodename = 'Node452_5'
- Node452_5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_5, Node452_5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_6type = 'rect';
- var Node452_6 = new ht.Node(),
- Node452_6BorderWidth = 0*2;
- if (Node452_6type === 'arc') {
- Node452_6BorderWidth *= 0;
- }
- Node452_6.setImage(GD.getRectJSON(117*_ratio.ratioX, 32*_ratio.ratioY, Node452_6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_6.setPosition(1723*ratio.ratioX, 303*ratio.ratioY);
- Node452_6.setSize(117*_ratio.ratioX, 32*_ratio.ratioY);
- Node452_6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_6.a('node.width', 117*_ratio.ratioX);
- Node452_6.a('node.height', 32*_ratio.ratioY);
- Node452_6.a('node.type', Node452_6type);
- Node452_6.a('node.rect', [0, 0, 117*_ratio.ratioX, 32*_ratio.ratioY]);
- Node452_6.a('node.background', 'rgba(245,245,245,1)');
- Node452_6.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node452_6.a('node.gradient', '');
- Node452_6.a('node.borderwidth', Node452_6BorderWidth);
- Node452_6.a('node.color', 'rgba(192,192,192,0)');
- Node452_6.a('node.fillrect', [0,0,0,0]);
- Node452_6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_6.a('node.fillgradient', '');
- if (Node452_6type !== 'rect') {
- Node452_6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_6.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_6type === 'arc') {
- Node452_6.a('node.arcOval', true);
- }
- Node452_6.setRotation(0*Math.PI/180);
- Node452_6.borderWidth = Node452_6BorderWidth;
- Node452_6.borderFillwidth = Node452_6BorderWidth;
- dataModel.add(Node452_6);
- Node452_6._nodename = 'Node452_6'
- Node452_6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_6, Node452_6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_7type = 'rect';
- var Node452_7 = new ht.Node(),
- Node452_7BorderWidth = 1*2;
- if (Node452_7type === 'arc') {
- Node452_7BorderWidth *= 1;
- }
- Node452_7.setImage(GD.getRectJSON(117*_ratio.ratioX, 309*_ratio.ratioY, Node452_7type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node452_7.setPosition(1723*ratio.ratioX, 164*ratio.ratioY);
- Node452_7.setSize(117*_ratio.ratioX, 309*_ratio.ratioY);
- Node452_7.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node452_7.a('node.width', 117*_ratio.ratioX);
- Node452_7.a('node.height', 309*_ratio.ratioY);
- Node452_7.a('node.type', Node452_7type);
- Node452_7.a('node.rect', [0, 0, 117*_ratio.ratioX, 309*_ratio.ratioY]);
- Node452_7.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node452_7.a('node.gradientcolor', '');
- Node452_7.a('node.gradient', '');
- Node452_7.a('node.borderwidth', Node452_7BorderWidth);
- Node452_7.a('node.color', 'rgba(192,192,192,1)');
- Node452_7.a('node.fillrect', [0,0,0,0]);
- Node452_7.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node452_7.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node452_7.a('node.fillgradient', '');
- if (Node452_7type !== 'rect') {
- Node452_7.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node452_7.a('node.arcTo', parseFloat('@arcTo@'));
- Node452_7.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node452_7type === 'arc') {
- Node452_7.a('node.arcOval', true);
- }
- Node452_7.setRotation(0*Math.PI/180);
- Node452_7.borderWidth = Node452_7BorderWidth;
- Node452_7.borderFillwidth = Node452_7BorderWidth;
- dataModel.add(Node452_7);
- Node452_7._nodename = 'Node452_7'
- Node452_7._nodeType = 'rect';
- zoomNodeList.push({
- node: Node452_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);
- }
- })(Node452_7, Node452_7.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_8 = new ht.Node();
- var Node452_8textStart, Node452_8textWidth, Node452_8lineStart, Node452_8align = 'center', Node452_8fontSize = 11.99997*_ratio.ratioY,Node452_8width = 87*_ratio.ratioX, Node452_8height = 15*_ratio.ratioY;
- (function () {
- if (Node452_8align === 'left') {
- Node452_8textStart = Node452_8fontSize * 0.2 > 2 ? Node452_8fontSize * 0.2 - 4 : Node452_8fontSize * 0.2 - 9;
- Node452_8textWidth = Node452_8width;
- Node452_8lineStart = 1;
- } else if (Node452_8align === 'right') {
- Node452_8textStart = 0;
- Node452_8textWidth =Node452_8fontSize <= 8 ? Node452_8width + Node452_8fontSize * 0.2 + 6 : Node452_8width - Node452_8fontSize * 0.2;
- Node452_8lineStart = (Node452_8width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node452_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node452_8align === 'center') {
- Node452_8textStart = -3;
- Node452_8textWidth = Node452_8width;
- Node452_8lineStart = Node452_8width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node452_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node452_8.setImage(GD.getTextJSON(Node452_8width, Node452_8height, true, false, false, 'bold '+ Node452_8fontSize + 'px "Arial"'))
- Node452_8.setPosition(1721*ratio.ratioX, 28*ratio.ratioY);
- Node452_8.setWidth(Node452_8width);
- Node452_8.setHeight(Node452_8height);
- Node452_8._nodeType = 'text';
- Node452_8._disallowEvert = true;
- Node452_8.setRotation(0*Math.PI/180);
- Node452_8.a('node.width', Node452_8width);
- Node452_8.a('node.height', Node452_8height);
- Node452_8.a('node.rect', [0, 0, Node452_8width, Node452_8height]);
- Node452_8.a('node.bordercolor','rgba(255,255,255,1)');
- Node452_8.a('node.borderwidth', 0);
- Node452_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_8.a('node.gradient','');
- Node452_8.a('node.gradientcolor','');
- Node452_8.a('node.text','性能损失电量');
- Node452_8.a('node.textalign','center');
- Node452_8.a('node.textvAlign','middle');
- Node452_8.a('node.textrect', [Node452_8textStart, 0, Node452_8textWidth, Node452_8height]);
- Node452_8.a('node.color','rgba(255,255,255,1)');
- Node452_8.a('node.font','bold '+ Node452_8fontSize + 'px "Arial"');
- Node452_8.a('node.textvisible',true);
- Node452_8.a('node.linefeed',false);
- if (false) {
- Node452_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_8.a('node.text') || '性能损失电量';
- var color=Node452_8.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_8width,Node452_8height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node452_8.a('node.underlinepoints',[Node452_8lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_8fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node452_8fontSize + 'px "Arial"').width + 6, (Node452_8height - Node452_8fontSize) * 0.5*_ratio.ratioY + Node452_8fontSize + 2 ]);
- Node452_8.a('node.underlinevisible',false);
- Node452_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_8);
- zoomNodeList.push({
- node: Node452_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_9 = new ht.Node();
- var Node452_9textStart, Node452_9textWidth, Node452_9lineStart, Node452_9align = 'center', Node452_9fontSize = 10.66664*_ratio.ratioY,Node452_9width = 38*_ratio.ratioX, Node452_9height = 14*_ratio.ratioY;
- (function () {
- if (Node452_9align === 'left') {
- Node452_9textStart = Node452_9fontSize * 0.2 > 2 ? Node452_9fontSize * 0.2 - 4 : Node452_9fontSize * 0.2 - 9;
- Node452_9textWidth = Node452_9width;
- Node452_9lineStart = 1;
- } else if (Node452_9align === 'right') {
- Node452_9textStart = 0;
- Node452_9textWidth =Node452_9fontSize <= 8 ? Node452_9width + Node452_9fontSize * 0.2 + 6 : Node452_9width - Node452_9fontSize * 0.2;
- Node452_9lineStart = (Node452_9width - (ht.Default.getTextSize('万kwh', 'bold '+ Node452_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node452_9align === 'center') {
- Node452_9textStart = -3;
- Node452_9textWidth = Node452_9width;
- Node452_9lineStart = Node452_9width - ht.Default.getTextSize('万kwh', 'bold '+ Node452_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node452_9.setImage(GD.getTextJSON(Node452_9width, Node452_9height, true, false, false, 'bold '+ Node452_9fontSize + 'px "Arial"'))
- Node452_9.setPosition(1721*ratio.ratioX, 56*ratio.ratioY);
- Node452_9.setWidth(Node452_9width);
- Node452_9.setHeight(Node452_9height);
- Node452_9._nodeType = 'text';
- Node452_9._disallowEvert = true;
- Node452_9.setRotation(0*Math.PI/180);
- Node452_9.a('node.width', Node452_9width);
- Node452_9.a('node.height', Node452_9height);
- Node452_9.a('node.rect', [0, 0, Node452_9width, Node452_9height]);
- Node452_9.a('node.bordercolor','rgba(128,128,128,1)');
- Node452_9.a('node.borderwidth', 0);
- Node452_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_9.a('node.gradient','');
- Node452_9.a('node.gradientcolor','');
- Node452_9.a('node.text','万kwh');
- Node452_9.a('node.textalign','center');
- Node452_9.a('node.textvAlign','middle');
- Node452_9.a('node.textrect', [Node452_9textStart, 0, Node452_9textWidth, Node452_9height]);
- Node452_9.a('node.color','rgba(128,128,128,1)');
- Node452_9.a('node.font','bold '+ Node452_9fontSize + 'px "Arial"');
- Node452_9.a('node.textvisible',true);
- Node452_9.a('node.linefeed',false);
- if (false) {
- Node452_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_9.a('node.text') || '万kwh';
- var color=Node452_9.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node452_9width,Node452_9height,10.66664*_ratio.ratioY,"center",color,'bold '+ Node452_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node452_9.a('node.underlinepoints',[Node452_9lineStart, (14 - 10.66664) * 0.5 * _ratio.ratioY + Node452_9fontSize + 2 , ht.Default.getTextSize('万kwh', 'bold '+ Node452_9fontSize + 'px "Arial"').width + 6, (Node452_9height - Node452_9fontSize) * 0.5*_ratio.ratioY + Node452_9fontSize + 2 ]);
- Node452_9.a('node.underlinevisible',false);
- Node452_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_9);
- zoomNodeList.push({
- node: Node452_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_10 = new ht.Node();
- var Node452_10textStart, Node452_10textWidth, Node452_10lineStart, Node452_10align = 'center', Node452_10fontSize = 11.99997*_ratio.ratioY,Node452_10width = 35*_ratio.ratioX, Node452_10height = 15*_ratio.ratioY;
- (function () {
- if (Node452_10align === 'left') {
- Node452_10textStart = Node452_10fontSize * 0.2 > 2 ? Node452_10fontSize * 0.2 - 4 : Node452_10fontSize * 0.2 - 9;
- Node452_10textWidth = Node452_10width;
- Node452_10lineStart = 1;
- } else if (Node452_10align === 'right') {
- Node452_10textStart = 0;
- Node452_10textWidth =Node452_10fontSize <= 8 ? Node452_10width + Node452_10fontSize * 0.2 + 6 : Node452_10width - Node452_10fontSize * 0.2;
- Node452_10lineStart = (Node452_10width - (ht.Default.getTextSize('1134.76', 'bold '+ Node452_10fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_10align === 'center') {
- Node452_10textStart = -3;
- Node452_10textWidth = Node452_10width;
- Node452_10lineStart = Node452_10width - ht.Default.getTextSize('1134.76', 'bold '+ Node452_10fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_10.setImage(GD.getTextJSON(Node452_10width, Node452_10height, true, false, false, 'bold '+ Node452_10fontSize + 'px "UniDreamLED"'))
- Node452_10.setPosition(1721*ratio.ratioX, 83*ratio.ratioY);
- Node452_10.setWidth(Node452_10width);
- Node452_10.setHeight(Node452_10height);
- Node452_10._nodeType = 'text';
- Node452_10._disallowEvert = true;
- Node452_10.setRotation(0*Math.PI/180);
- Node452_10.a('node.width', Node452_10width);
- Node452_10.a('node.height', Node452_10height);
- Node452_10.a('node.rect', [0, 0, Node452_10width, Node452_10height]);
- Node452_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_10.a('node.borderwidth', 0);
- Node452_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_10.a('node.gradient','');
- Node452_10.a('node.gradientcolor','');
- Node452_10.a('node.text','1134.76');
- Node452_10.a('node.textalign','center');
- Node452_10.a('node.textvAlign','middle');
- Node452_10.a('node.textrect', [Node452_10textStart, 0, Node452_10textWidth, Node452_10height]);
- Node452_10.a('node.color','rgba(0,0,0,1)');
- Node452_10.a('node.font','bold '+ Node452_10fontSize + 'px "UniDreamLED"');
- Node452_10.a('node.textvisible',true);
- Node452_10.a('node.linefeed',false);
- if (false) {
- Node452_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_10.a('node.text') || '1134.76';
- var color=Node452_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_10width,Node452_10height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_10fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_10.a('node.underlinepoints',[Node452_10lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_10fontSize + 2 , ht.Default.getTextSize('1134.76', 'bold '+ Node452_10fontSize + 'px "UniDreamLED"').width + 6, (Node452_10height - Node452_10fontSize) * 0.5*_ratio.ratioY + Node452_10fontSize + 2 ]);
- Node452_10.a('node.underlinevisible',false);
- Node452_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_10);
- zoomNodeList.push({
- node: Node452_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_11 = new ht.Node();
- var Node452_11textStart, Node452_11textWidth, Node452_11lineStart, Node452_11align = 'center', Node452_11fontSize = 11.99997*_ratio.ratioY,Node452_11width = 26*_ratio.ratioX, Node452_11height = 15*_ratio.ratioY;
- (function () {
- if (Node452_11align === 'left') {
- Node452_11textStart = Node452_11fontSize * 0.2 > 2 ? Node452_11fontSize * 0.2 - 4 : Node452_11fontSize * 0.2 - 9;
- Node452_11textWidth = Node452_11width;
- Node452_11lineStart = 1;
- } else if (Node452_11align === 'right') {
- Node452_11textStart = 0;
- Node452_11textWidth =Node452_11fontSize <= 8 ? Node452_11width + Node452_11fontSize * 0.2 + 6 : Node452_11width - Node452_11fontSize * 0.2;
- Node452_11lineStart = (Node452_11width - (ht.Default.getTextSize('171.51', 'bold '+ Node452_11fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_11align === 'center') {
- Node452_11textStart = -3;
- Node452_11textWidth = Node452_11width;
- Node452_11lineStart = Node452_11width - ht.Default.getTextSize('171.51', 'bold '+ Node452_11fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_11.setImage(GD.getTextJSON(Node452_11width, Node452_11height, true, false, false, 'bold '+ Node452_11fontSize + 'px "UniDreamLED"'))
- Node452_11.setPosition(1723*ratio.ratioX, 115*ratio.ratioY);
- Node452_11.setWidth(Node452_11width);
- Node452_11.setHeight(Node452_11height);
- Node452_11._nodeType = 'text';
- Node452_11._disallowEvert = true;
- Node452_11.setRotation(0*Math.PI/180);
- Node452_11.a('node.width', Node452_11width);
- Node452_11.a('node.height', Node452_11height);
- Node452_11.a('node.rect', [0, 0, Node452_11width, Node452_11height]);
- Node452_11.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_11.a('node.borderwidth', 0);
- Node452_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_11.a('node.gradient','');
- Node452_11.a('node.gradientcolor','');
- Node452_11.a('node.text','171.51');
- Node452_11.a('node.textalign','center');
- Node452_11.a('node.textvAlign','middle');
- Node452_11.a('node.textrect', [Node452_11textStart, 0, Node452_11textWidth, Node452_11height]);
- Node452_11.a('node.color','rgba(0,0,0,1)');
- Node452_11.a('node.font','bold '+ Node452_11fontSize + 'px "UniDreamLED"');
- Node452_11.a('node.textvisible',true);
- Node452_11.a('node.linefeed',false);
- if (false) {
- Node452_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_11.a('node.text') || '171.51';
- var color=Node452_11.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_11width,Node452_11height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_11fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_11.a('node.underlinepoints',[Node452_11lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_11fontSize + 2 , ht.Default.getTextSize('171.51', 'bold '+ Node452_11fontSize + 'px "UniDreamLED"').width + 6, (Node452_11height - Node452_11fontSize) * 0.5*_ratio.ratioY + Node452_11fontSize + 2 ]);
- Node452_11.a('node.underlinevisible',false);
- Node452_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_11);
- zoomNodeList.push({
- node: Node452_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_12 = new ht.Node();
- var Node452_12textStart, Node452_12textWidth, Node452_12lineStart, Node452_12align = 'center', Node452_12fontSize = 11.99997*_ratio.ratioY,Node452_12width = 33*_ratio.ratioX, Node452_12height = 15*_ratio.ratioY;
- (function () {
- if (Node452_12align === 'left') {
- Node452_12textStart = Node452_12fontSize * 0.2 > 2 ? Node452_12fontSize * 0.2 - 4 : Node452_12fontSize * 0.2 - 9;
- Node452_12textWidth = Node452_12width;
- Node452_12lineStart = 1;
- } else if (Node452_12align === 'right') {
- Node452_12textStart = 0;
- Node452_12textWidth =Node452_12fontSize <= 8 ? Node452_12width + Node452_12fontSize * 0.2 + 6 : Node452_12width - Node452_12fontSize * 0.2;
- Node452_12lineStart = (Node452_12width - (ht.Default.getTextSize('329.51', 'bold '+ Node452_12fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_12align === 'center') {
- Node452_12textStart = -3;
- Node452_12textWidth = Node452_12width;
- Node452_12lineStart = Node452_12width - ht.Default.getTextSize('329.51', 'bold '+ Node452_12fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_12.setImage(GD.getTextJSON(Node452_12width, Node452_12height, true, false, false, 'bold '+ Node452_12fontSize + 'px "UniDreamLED"'))
- Node452_12.setPosition(1723*ratio.ratioX, 145*ratio.ratioY);
- Node452_12.setWidth(Node452_12width);
- Node452_12.setHeight(Node452_12height);
- Node452_12._nodeType = 'text';
- Node452_12._disallowEvert = true;
- Node452_12.setRotation(0*Math.PI/180);
- Node452_12.a('node.width', Node452_12width);
- Node452_12.a('node.height', Node452_12height);
- Node452_12.a('node.rect', [0, 0, Node452_12width, Node452_12height]);
- Node452_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_12.a('node.borderwidth', 0);
- Node452_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_12.a('node.gradient','');
- Node452_12.a('node.gradientcolor','');
- Node452_12.a('node.text','329.51');
- Node452_12.a('node.textalign','center');
- Node452_12.a('node.textvAlign','middle');
- Node452_12.a('node.textrect', [Node452_12textStart, 0, Node452_12textWidth, Node452_12height]);
- Node452_12.a('node.color','rgba(0,0,0,1)');
- Node452_12.a('node.font','bold '+ Node452_12fontSize + 'px "UniDreamLED"');
- Node452_12.a('node.textvisible',true);
- Node452_12.a('node.linefeed',false);
- if (false) {
- Node452_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_12.a('node.text') || '329.51';
- var color=Node452_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_12width,Node452_12height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_12fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_12.a('node.underlinepoints',[Node452_12lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_12fontSize + 2 , ht.Default.getTextSize('329.51', 'bold '+ Node452_12fontSize + 'px "UniDreamLED"').width + 6, (Node452_12height - Node452_12fontSize) * 0.5*_ratio.ratioY + Node452_12fontSize + 2 ]);
- Node452_12.a('node.underlinevisible',false);
- Node452_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_12);
- zoomNodeList.push({
- node: Node452_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_13 = new ht.Node();
- var Node452_13textStart, Node452_13textWidth, Node452_13lineStart, Node452_13align = 'center', Node452_13fontSize = 11.99997*_ratio.ratioY,Node452_13width = 33*_ratio.ratioX, Node452_13height = 15*_ratio.ratioY;
- (function () {
- if (Node452_13align === 'left') {
- Node452_13textStart = Node452_13fontSize * 0.2 > 2 ? Node452_13fontSize * 0.2 - 4 : Node452_13fontSize * 0.2 - 9;
- Node452_13textWidth = Node452_13width;
- Node452_13lineStart = 1;
- } else if (Node452_13align === 'right') {
- Node452_13textStart = 0;
- Node452_13textWidth =Node452_13fontSize <= 8 ? Node452_13width + Node452_13fontSize * 0.2 + 6 : Node452_13width - Node452_13fontSize * 0.2;
- Node452_13lineStart = (Node452_13width - (ht.Default.getTextSize('340.14', 'bold '+ Node452_13fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_13align === 'center') {
- Node452_13textStart = -3;
- Node452_13textWidth = Node452_13width;
- Node452_13lineStart = Node452_13width - ht.Default.getTextSize('340.14', 'bold '+ Node452_13fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_13.setImage(GD.getTextJSON(Node452_13width, Node452_13height, true, false, false, 'bold '+ Node452_13fontSize + 'px "UniDreamLED"'))
- Node452_13.setPosition(1723*ratio.ratioX, 175*ratio.ratioY);
- Node452_13.setWidth(Node452_13width);
- Node452_13.setHeight(Node452_13height);
- Node452_13._nodeType = 'text';
- Node452_13._disallowEvert = true;
- Node452_13.setRotation(0*Math.PI/180);
- Node452_13.a('node.width', Node452_13width);
- Node452_13.a('node.height', Node452_13height);
- Node452_13.a('node.rect', [0, 0, Node452_13width, Node452_13height]);
- Node452_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_13.a('node.borderwidth', 0);
- Node452_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_13.a('node.gradient','');
- Node452_13.a('node.gradientcolor','');
- Node452_13.a('node.text','340.14');
- Node452_13.a('node.textalign','center');
- Node452_13.a('node.textvAlign','middle');
- Node452_13.a('node.textrect', [Node452_13textStart, 0, Node452_13textWidth, Node452_13height]);
- Node452_13.a('node.color','rgba(0,0,0,1)');
- Node452_13.a('node.font','bold '+ Node452_13fontSize + 'px "UniDreamLED"');
- Node452_13.a('node.textvisible',true);
- Node452_13.a('node.linefeed',false);
- if (false) {
- Node452_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_13.a('node.text') || '340.14';
- var color=Node452_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_13width,Node452_13height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_13fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_13.a('node.underlinepoints',[Node452_13lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_13fontSize + 2 , ht.Default.getTextSize('340.14', 'bold '+ Node452_13fontSize + 'px "UniDreamLED"').width + 6, (Node452_13height - Node452_13fontSize) * 0.5*_ratio.ratioY + Node452_13fontSize + 2 ]);
- Node452_13.a('node.underlinevisible',false);
- Node452_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_13);
- zoomNodeList.push({
- node: Node452_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_14 = new ht.Node();
- var Node452_14textStart, Node452_14textWidth, Node452_14lineStart, Node452_14align = 'center', Node452_14fontSize = 11.99997*_ratio.ratioY,Node452_14width = 27*_ratio.ratioX, Node452_14height = 15*_ratio.ratioY;
- (function () {
- if (Node452_14align === 'left') {
- Node452_14textStart = Node452_14fontSize * 0.2 > 2 ? Node452_14fontSize * 0.2 - 4 : Node452_14fontSize * 0.2 - 9;
- Node452_14textWidth = Node452_14width;
- Node452_14lineStart = 1;
- } else if (Node452_14align === 'right') {
- Node452_14textStart = 0;
- Node452_14textWidth =Node452_14fontSize <= 8 ? Node452_14width + Node452_14fontSize * 0.2 + 6 : Node452_14width - Node452_14fontSize * 0.2;
- Node452_14lineStart = (Node452_14width - (ht.Default.getTextSize('60.61', 'bold '+ Node452_14fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_14align === 'center') {
- Node452_14textStart = -3;
- Node452_14textWidth = Node452_14width;
- Node452_14lineStart = Node452_14width - ht.Default.getTextSize('60.61', 'bold '+ Node452_14fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_14.setImage(GD.getTextJSON(Node452_14width, Node452_14height, true, false, false, 'bold '+ Node452_14fontSize + 'px "UniDreamLED"'))
- Node452_14.setPosition(1723*ratio.ratioX, 209*ratio.ratioY);
- Node452_14.setWidth(Node452_14width);
- Node452_14.setHeight(Node452_14height);
- Node452_14._nodeType = 'text';
- Node452_14._disallowEvert = true;
- Node452_14.setRotation(0*Math.PI/180);
- Node452_14.a('node.width', Node452_14width);
- Node452_14.a('node.height', Node452_14height);
- Node452_14.a('node.rect', [0, 0, Node452_14width, Node452_14height]);
- Node452_14.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_14.a('node.borderwidth', 0);
- Node452_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_14.a('node.gradient','');
- Node452_14.a('node.gradientcolor','');
- Node452_14.a('node.text','60.61');
- Node452_14.a('node.textalign','center');
- Node452_14.a('node.textvAlign','middle');
- Node452_14.a('node.textrect', [Node452_14textStart, 0, Node452_14textWidth, Node452_14height]);
- Node452_14.a('node.color','rgba(0,0,0,1)');
- Node452_14.a('node.font','bold '+ Node452_14fontSize + 'px "UniDreamLED"');
- Node452_14.a('node.textvisible',true);
- Node452_14.a('node.linefeed',false);
- if (false) {
- Node452_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_14.a('node.text') || '60.61';
- var color=Node452_14.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_14width,Node452_14height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_14fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_14.a('node.underlinepoints',[Node452_14lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_14fontSize + 2 , ht.Default.getTextSize('60.61', 'bold '+ Node452_14fontSize + 'px "UniDreamLED"').width + 6, (Node452_14height - Node452_14fontSize) * 0.5*_ratio.ratioY + Node452_14fontSize + 2 ]);
- Node452_14.a('node.underlinevisible',false);
- Node452_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_14);
- zoomNodeList.push({
- node: Node452_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_15 = new ht.Node();
- var Node452_15textStart, Node452_15textWidth, Node452_15lineStart, Node452_15align = 'center', Node452_15fontSize = 11.99997*_ratio.ratioY,Node452_15width = 33*_ratio.ratioX, Node452_15height = 15*_ratio.ratioY;
- (function () {
- if (Node452_15align === 'left') {
- Node452_15textStart = Node452_15fontSize * 0.2 > 2 ? Node452_15fontSize * 0.2 - 4 : Node452_15fontSize * 0.2 - 9;
- Node452_15textWidth = Node452_15width;
- Node452_15lineStart = 1;
- } else if (Node452_15align === 'right') {
- Node452_15textStart = 0;
- Node452_15textWidth =Node452_15fontSize <= 8 ? Node452_15width + Node452_15fontSize * 0.2 + 6 : Node452_15width - Node452_15fontSize * 0.2;
- Node452_15lineStart = (Node452_15width - (ht.Default.getTextSize('166.79', 'bold '+ Node452_15fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_15align === 'center') {
- Node452_15textStart = -3;
- Node452_15textWidth = Node452_15width;
- Node452_15lineStart = Node452_15width - ht.Default.getTextSize('166.79', 'bold '+ Node452_15fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_15.setImage(GD.getTextJSON(Node452_15width, Node452_15height, true, false, false, 'bold '+ Node452_15fontSize + 'px "UniDreamLED"'))
- Node452_15.setPosition(1723*ratio.ratioX, 242*ratio.ratioY);
- Node452_15.setWidth(Node452_15width);
- Node452_15.setHeight(Node452_15height);
- Node452_15._nodeType = 'text';
- Node452_15._disallowEvert = true;
- Node452_15.setRotation(0*Math.PI/180);
- Node452_15.a('node.width', Node452_15width);
- Node452_15.a('node.height', Node452_15height);
- Node452_15.a('node.rect', [0, 0, Node452_15width, Node452_15height]);
- Node452_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_15.a('node.borderwidth', 0);
- Node452_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_15.a('node.gradient','');
- Node452_15.a('node.gradientcolor','');
- Node452_15.a('node.text','166.79');
- Node452_15.a('node.textalign','center');
- Node452_15.a('node.textvAlign','middle');
- Node452_15.a('node.textrect', [Node452_15textStart, 0, Node452_15textWidth, Node452_15height]);
- Node452_15.a('node.color','rgba(0,0,0,1)');
- Node452_15.a('node.font','bold '+ Node452_15fontSize + 'px "UniDreamLED"');
- Node452_15.a('node.textvisible',true);
- Node452_15.a('node.linefeed',false);
- if (false) {
- Node452_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_15.a('node.text') || '166.79';
- var color=Node452_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_15width,Node452_15height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_15fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_15.a('node.underlinepoints',[Node452_15lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_15fontSize + 2 , ht.Default.getTextSize('166.79', 'bold '+ Node452_15fontSize + 'px "UniDreamLED"').width + 6, (Node452_15height - Node452_15fontSize) * 0.5*_ratio.ratioY + Node452_15fontSize + 2 ]);
- Node452_15.a('node.underlinevisible',false);
- Node452_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_15);
- zoomNodeList.push({
- node: Node452_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_16 = new ht.Node();
- var Node452_16textStart, Node452_16textWidth, Node452_16lineStart, Node452_16align = 'center', Node452_16fontSize = 11.99997*_ratio.ratioY,Node452_16width = 27*_ratio.ratioX, Node452_16height = 15*_ratio.ratioY;
- (function () {
- if (Node452_16align === 'left') {
- Node452_16textStart = Node452_16fontSize * 0.2 > 2 ? Node452_16fontSize * 0.2 - 4 : Node452_16fontSize * 0.2 - 9;
- Node452_16textWidth = Node452_16width;
- Node452_16lineStart = 1;
- } else if (Node452_16align === 'right') {
- Node452_16textStart = 0;
- Node452_16textWidth =Node452_16fontSize <= 8 ? Node452_16width + Node452_16fontSize * 0.2 + 6 : Node452_16width - Node452_16fontSize * 0.2;
- Node452_16lineStart = (Node452_16width - (ht.Default.getTextSize('66.18', 'bold '+ Node452_16fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_16align === 'center') {
- Node452_16textStart = -3;
- Node452_16textWidth = Node452_16width;
- Node452_16lineStart = Node452_16width - ht.Default.getTextSize('66.18', 'bold '+ Node452_16fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_16.setImage(GD.getTextJSON(Node452_16width, Node452_16height, true, false, false, 'bold '+ Node452_16fontSize + 'px "UniDreamLED"'))
- Node452_16.setPosition(1723*ratio.ratioX, 271*ratio.ratioY);
- Node452_16.setWidth(Node452_16width);
- Node452_16.setHeight(Node452_16height);
- Node452_16._nodeType = 'text';
- Node452_16._disallowEvert = true;
- Node452_16.setRotation(0*Math.PI/180);
- Node452_16.a('node.width', Node452_16width);
- Node452_16.a('node.height', Node452_16height);
- Node452_16.a('node.rect', [0, 0, Node452_16width, Node452_16height]);
- Node452_16.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_16.a('node.borderwidth', 0);
- Node452_16.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_16.a('node.gradient','');
- Node452_16.a('node.gradientcolor','');
- Node452_16.a('node.text','66.18');
- Node452_16.a('node.textalign','center');
- Node452_16.a('node.textvAlign','middle');
- Node452_16.a('node.textrect', [Node452_16textStart, 0, Node452_16textWidth, Node452_16height]);
- Node452_16.a('node.color','rgba(0,0,0,1)');
- Node452_16.a('node.font','bold '+ Node452_16fontSize + 'px "UniDreamLED"');
- Node452_16.a('node.textvisible',true);
- Node452_16.a('node.linefeed',false);
- if (false) {
- Node452_16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_16.a('node.text') || '66.18';
- var color=Node452_16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_16width,Node452_16height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_16fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_16.a('node.underlinepoints',[Node452_16lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_16fontSize + 2 , ht.Default.getTextSize('66.18', 'bold '+ Node452_16fontSize + 'px "UniDreamLED"').width + 6, (Node452_16height - Node452_16fontSize) * 0.5*_ratio.ratioY + Node452_16fontSize + 2 ]);
- Node452_16.a('node.underlinevisible',false);
- Node452_16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_16);
- zoomNodeList.push({
- node: Node452_16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node452_17 = new ht.Node();
- var Node452_17textStart, Node452_17textWidth, Node452_17lineStart, Node452_17align = 'center', Node452_17fontSize = 11.99997*_ratio.ratioY,Node452_17width = 8*_ratio.ratioX, Node452_17height = 15*_ratio.ratioY;
- (function () {
- if (Node452_17align === 'left') {
- Node452_17textStart = Node452_17fontSize * 0.2 > 2 ? Node452_17fontSize * 0.2 - 4 : Node452_17fontSize * 0.2 - 9;
- Node452_17textWidth = Node452_17width;
- Node452_17lineStart = 1;
- } else if (Node452_17align === 'right') {
- Node452_17textStart = 0;
- Node452_17textWidth =Node452_17fontSize <= 8 ? Node452_17width + Node452_17fontSize * 0.2 + 6 : Node452_17width - Node452_17fontSize * 0.2;
- Node452_17lineStart = (Node452_17width - (ht.Default.getTextSize('-', 'bold '+ Node452_17fontSize + 'px "UniDreamLED"').width + 6)) * 0.5;
- } else if (Node452_17align === 'center') {
- Node452_17textStart = -3;
- Node452_17textWidth = Node452_17width;
- Node452_17lineStart = Node452_17width - ht.Default.getTextSize('-', 'bold '+ Node452_17fontSize + 'px "UniDreamLED"').width - 11;
- }
- })();
- Node452_17.setImage(GD.getTextJSON(Node452_17width, Node452_17height, true, false, false, 'bold '+ Node452_17fontSize + 'px "UniDreamLED"'))
- Node452_17.setPosition(1723*ratio.ratioX, 302*ratio.ratioY);
- Node452_17.setWidth(Node452_17width);
- Node452_17.setHeight(Node452_17height);
- Node452_17._nodeType = 'text';
- Node452_17._disallowEvert = true;
- Node452_17.setRotation(0*Math.PI/180);
- Node452_17.a('node.width', Node452_17width);
- Node452_17.a('node.height', Node452_17height);
- Node452_17.a('node.rect', [0, 0, Node452_17width, Node452_17height]);
- Node452_17.a('node.bordercolor','rgba(0,0,0,1)');
- Node452_17.a('node.borderwidth', 0);
- Node452_17.a('node.background','' || 'rgba(0,0,0,0)');
- Node452_17.a('node.gradient','');
- Node452_17.a('node.gradientcolor','');
- Node452_17.a('node.text','-');
- Node452_17.a('node.textalign','center');
- Node452_17.a('node.textvAlign','middle');
- Node452_17.a('node.textrect', [Node452_17textStart, 0, Node452_17textWidth, Node452_17height]);
- Node452_17.a('node.color','rgba(0,0,0,1)');
- Node452_17.a('node.font','bold '+ Node452_17fontSize + 'px "UniDreamLED"');
- Node452_17.a('node.textvisible',true);
- Node452_17.a('node.linefeed',false);
- if (false) {
- Node452_17.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node452_17.a('node.text') || '-';
- var color=Node452_17.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node452_17width,Node452_17height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node452_17fontSize + 'px "UniDreamLED"', 0,g);
- });
- }
- if (false) {
- Node452_17.a('node.underlinepoints',[Node452_17lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node452_17fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node452_17fontSize + 'px "UniDreamLED"').width + 6, (Node452_17height - Node452_17fontSize) * 0.5*_ratio.ratioY + Node452_17fontSize + 2 ]);
- Node452_17.a('node.underlinevisible',false);
- Node452_17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node452_17);
- zoomNodeList.push({
- node: Node452_17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node453_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');
- Node453_0 = new ht.Node();
- Node453_0.setPosition(1723*ratio.ratioX, 162*ratio.ratioY);
- Node453_0.setSize(117*ratioX, 313*ratioY);
- Node453_0.setImage('imgimage//img//page_ztjs_sx_box1_bg_abc.png');
- Node453_0.setRotation(0*Math.PI/180);
- Node453_0._zoomBy = 'Default';
- Node453_0._nodeType = 'image';
- Node453_0._disallowEvert = true;
- dataModel.add(Node453_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node453_1 = new ht.Node();
- var Node453_1textStart, Node453_1textWidth, Node453_1lineStart, Node453_1align = 'center', Node453_1fontSize = 11.99997*_ratio.ratioY,Node453_1width = 87*_ratio.ratioX, Node453_1height = 15*_ratio.ratioY;
- (function () {
- if (Node453_1align === 'left') {
- Node453_1textStart = Node453_1fontSize * 0.2 > 2 ? Node453_1fontSize * 0.2 - 4 : Node453_1fontSize * 0.2 - 9;
- Node453_1textWidth = Node453_1width;
- Node453_1lineStart = 1;
- } else if (Node453_1align === 'right') {
- Node453_1textStart = 0;
- Node453_1textWidth =Node453_1fontSize <= 8 ? Node453_1width + Node453_1fontSize * 0.2 + 6 : Node453_1width - Node453_1fontSize * 0.2;
- Node453_1lineStart = (Node453_1width - (ht.Default.getTextSize('性能损失电量', 'bold '+ Node453_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node453_1align === 'center') {
- Node453_1textStart = -3;
- Node453_1textWidth = Node453_1width;
- Node453_1lineStart = Node453_1width - ht.Default.getTextSize('性能损失电量', 'bold '+ Node453_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node453_1.setImage(GD.getTextJSON(Node453_1width, Node453_1height, true, false, false, 'bold '+ Node453_1fontSize + 'px "Arial"'))
- Node453_1.setPosition(1719*ratio.ratioX, 27*ratio.ratioY);
- Node453_1.setWidth(Node453_1width);
- Node453_1.setHeight(Node453_1height);
- Node453_1._nodeType = 'text';
- Node453_1._disallowEvert = true;
- Node453_1.setRotation(0*Math.PI/180);
- Node453_1.a('node.width', Node453_1width);
- Node453_1.a('node.height', Node453_1height);
- Node453_1.a('node.rect', [0, 0, Node453_1width, Node453_1height]);
- Node453_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node453_1.a('node.borderwidth', 0);
- Node453_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node453_1.a('node.gradient','');
- Node453_1.a('node.gradientcolor','');
- Node453_1.a('node.text','性能损失电量');
- Node453_1.a('node.textalign','center');
- Node453_1.a('node.textvAlign','middle');
- Node453_1.a('node.textrect', [Node453_1textStart, 0, Node453_1textWidth, Node453_1height]);
- Node453_1.a('node.color','rgba(255,255,255,1)');
- Node453_1.a('node.font','bold '+ Node453_1fontSize + 'px "Arial"');
- Node453_1.a('node.textvisible',true);
- Node453_1.a('node.linefeed',false);
- if (false) {
- Node453_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node453_1.a('node.text') || '性能损失电量';
- var color=Node453_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node453_1width,Node453_1height,11.99997*_ratio.ratioY,"center",color,'bold '+ Node453_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node453_1.a('node.underlinepoints',[Node453_1lineStart, (15 - 11.99997) * 0.5 * _ratio.ratioY + Node453_1fontSize + 2 , ht.Default.getTextSize('性能损失电量', 'bold '+ Node453_1fontSize + 'px "Arial"').width + 6, (Node453_1height - Node453_1fontSize) * 0.5*_ratio.ratioY + Node453_1fontSize + 2 ]);
- Node453_1.a('node.underlinevisible',false);
- Node453_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node453_1);
- zoomNodeList.push({
- node: Node453_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@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,'tqgl':PageBackground_tqgl,'tqfdl':PageBackground_tqfdl,'yygl':PageBackground_yygl,'yyfdl':PageBackground_yyfdl,'htsgl':PageBackground_htsgl,'htsfdl':PageBackground_htsfdl,'glgl':PageBackground_glgl,'glfdl':PageBackground_glfdl,'hygl':PageBackground_hygl,'hyfdl':PageBackground_hyfdl,'llgll':PageBackground_llgll,'llfdll':PageBackground_llfdll,'yggl':PageBackground_yggl,'ygfdl':PageBackground_ygfdl,}});
- 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(Node10.borderWidth)!="undefined"){setDashStyle(Node10,"Node10",'NoDash',Node10.borderWidth);}
- if(typeof(Node11.borderWidth)!="undefined"){setDashStyle(Node11,"Node11",'NoDash',Node11.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((0 )){Node34.s('2d.visible',true);}else{Node34.s('2d.visible',false);}
- if((0 )){Node37.s('2d.visible',true);}else{Node37.s('2d.visible',false);}
- if(typeof(Node67.borderWidth)!="undefined"){setDashStyle(Node67,"Node67",'NoDash',Node67.borderWidth);}
- if(typeof(Node68.borderWidth)!="undefined"){setDashStyle(Node68,"Node68",'NoDash',Node68.borderWidth);}
- if(typeof(Node69.borderWidth)!="undefined"){setDashStyle(Node69,"Node69",'NoDash',Node69.borderWidth);}
- if(typeof(Node70.borderWidth)!="undefined"){setDashStyle(Node70,"Node70",'NoDash',Node70.borderWidth);}
- if(typeof(Node71.borderWidth)!="undefined"){setDashStyle(Node71,"Node71",'NoDash',Node71.borderWidth);}
- if(typeof(Node72.borderWidth)!="undefined"){setDashStyle(Node72,"Node72",'NoDash',Node72.borderWidth);}
- if((0 )){Node81.s('2d.visible',true);}else{Node81.s('2d.visible',false);}
- if((0 )){Node84.s('2d.visible',true);}else{Node84.s('2d.visible',false);}
- if(typeof(Node114.borderWidth)!="undefined"){setDashStyle(Node114,"Node114",'NoDash',Node114.borderWidth);}
- if(typeof(Node115.borderWidth)!="undefined"){setDashStyle(Node115,"Node115",'NoDash',Node115.borderWidth);}
- if(typeof(Node116.borderWidth)!="undefined"){setDashStyle(Node116,"Node116",'NoDash',Node116.borderWidth);}
- if(typeof(Node117.borderWidth)!="undefined"){setDashStyle(Node117,"Node117",'NoDash',Node117.borderWidth);}
- if(typeof(Node118.borderWidth)!="undefined"){setDashStyle(Node118,"Node118",'NoDash',Node118.borderWidth);}
- if(typeof(Node119.borderWidth)!="undefined"){setDashStyle(Node119,"Node119",'NoDash',Node119.borderWidth);}
- if((0 )){Node128.s('2d.visible',true);}else{Node128.s('2d.visible',false);}
- if((0 )){Node131.s('2d.visible',true);}else{Node131.s('2d.visible',false);}
- if(typeof(Node161.borderWidth)!="undefined"){setDashStyle(Node161,"Node161",'NoDash',Node161.borderWidth);}
- if(typeof(Node162.borderWidth)!="undefined"){setDashStyle(Node162,"Node162",'NoDash',Node162.borderWidth);}
- if(typeof(Node163.borderWidth)!="undefined"){setDashStyle(Node163,"Node163",'NoDash',Node163.borderWidth);}
- if(typeof(Node164.borderWidth)!="undefined"){setDashStyle(Node164,"Node164",'NoDash',Node164.borderWidth);}
- if(typeof(Node165.borderWidth)!="undefined"){setDashStyle(Node165,"Node165",'NoDash',Node165.borderWidth);}
- if(typeof(Node166.borderWidth)!="undefined"){setDashStyle(Node166,"Node166",'NoDash',Node166.borderWidth);}
- if((0 )){Node175.s('2d.visible',true);}else{Node175.s('2d.visible',false);}
- if(typeof(Node206.borderWidth)!="undefined"){setDashStyle(Node206,"Node206",'NoDash',Node206.borderWidth);}
- if(typeof(Node207.borderWidth)!="undefined"){setDashStyle(Node207,"Node207",'NoDash',Node207.borderWidth);}
- if(typeof(Node208.borderWidth)!="undefined"){setDashStyle(Node208,"Node208",'NoDash',Node208.borderWidth);}
- if(typeof(Node209.borderWidth)!="undefined"){setDashStyle(Node209,"Node209",'NoDash',Node209.borderWidth);}
- if(typeof(Node210.borderWidth)!="undefined"){setDashStyle(Node210,"Node210",'NoDash',Node210.borderWidth);}
- if(typeof(Node211.borderWidth)!="undefined"){setDashStyle(Node211,"Node211",'NoDash',Node211.borderWidth);}
- if(typeof(Node253.borderWidth)!="undefined"){setDashStyle(Node253,"Node253",'NoDash',Node253.borderWidth);}
- if(typeof(Node254.borderWidth)!="undefined"){setDashStyle(Node254,"Node254",'NoDash',Node254.borderWidth);}
- if(typeof(Node255.borderWidth)!="undefined"){setDashStyle(Node255,"Node255",'NoDash',Node255.borderWidth);}
- if(typeof(Node256.borderWidth)!="undefined"){setDashStyle(Node256,"Node256",'NoDash',Node256.borderWidth);}
- if(typeof(Node257.borderWidth)!="undefined"){setDashStyle(Node257,"Node257",'NoDash',Node257.borderWidth);}
- if(typeof(Node258.borderWidth)!="undefined"){setDashStyle(Node258,"Node258",'NoDash',Node258.borderWidth);}
- if(typeof(Node297.borderWidth)!="undefined"){setDashStyle(Node297,"Node297",'NoDash',Node297.borderWidth);}
- if(typeof(Node298.borderWidth)!="undefined"){setDashStyle(Node298,"Node298",'NoDash',Node298.borderWidth);}
- if(typeof(Node299.borderWidth)!="undefined"){setDashStyle(Node299,"Node299",'NoDash',Node299.borderWidth);}
- if(typeof(Node300.borderWidth)!="undefined"){setDashStyle(Node300,"Node300",'NoDash',Node300.borderWidth);}
- if(typeof(Node301.borderWidth)!="undefined"){setDashStyle(Node301,"Node301",'NoDash',Node301.borderWidth);}
- if(typeof(Node302.borderWidth)!="undefined"){setDashStyle(Node302,"Node302",'NoDash',Node302.borderWidth);}
- if(typeof(Node341.borderWidth)!="undefined"){setDashStyle(Node341,"Node341",'NoDash',Node341.borderWidth);}
- if(typeof(Node344.borderWidth)!="undefined"){setDashStyle(Node344,"Node344",'NoDash',Node344.borderWidth);}
- if(typeof(Node346.borderWidth)!="undefined"){setDashStyle(Node346,"Node346",'NoDash',Node346.borderWidth);}
- if(typeof(Node348.borderWidth)!="undefined"){setDashStyle(Node348,"Node348",'NoDash',Node348.borderWidth);}
- if(typeof(Node407.borderWidth)!="undefined"){setDashStyle(Node407,"Node407",'NoDash',Node407.borderWidth);}
- if((0 )){Node408.s('2d.visible',true);}else{Node408.s('2d.visible',false);}
- if(typeof(Node422.borderWidth)!="undefined"){setDashStyle(Node422,"Node422",'LinePoint',Node422.borderWidth);}
- if(typeof(Node423.borderWidth)!="undefined"){setDashStyle(Node423,"Node423",'LinePoint',Node423.borderWidth);}
- if(typeof(Node424_0.borderWidth)!="undefined"){setDashStyle(Node424_0,"Node424_0",'NoDash',Node424_0.borderWidth);}
- if(typeof(Node424_1.borderWidth)!="undefined"){setDashStyle(Node424_1,"Node424_1",'NoDash',Node424_1.borderWidth);}
- if(typeof(Node424_2.borderWidth)!="undefined"){setDashStyle(Node424_2,"Node424_2",'NoDash',Node424_2.borderWidth);}
- if(typeof(Node424_3.borderWidth)!="undefined"){setDashStyle(Node424_3,"Node424_3",'NoDash',Node424_3.borderWidth);}
- if(typeof(Node424_4.borderWidth)!="undefined"){setDashStyle(Node424_4,"Node424_4",'NoDash',Node424_4.borderWidth);}
- if(typeof(Node424_5.borderWidth)!="undefined"){setDashStyle(Node424_5,"Node424_5",'NoDash',Node424_5.borderWidth);}
- if(typeof(Node424_6.borderWidth)!="undefined"){setDashStyle(Node424_6,"Node424_6",'NoDash',Node424_6.borderWidth);}
- if((0 )){Node425_0.s('2d.visible',true);}else{Node425_0.s('2d.visible',false);}
- if((0 )){Node425_0.s('2d.visible',true);}else{Node425_0.s('2d.visible',false);}
- if((0 )){Node425_1.s('2d.visible',true);}else{Node425_1.s('2d.visible',false);}
- if(typeof(Node426.borderWidth)!="undefined"){setDashStyle(Node426,"Node426",'LinePoint',Node426.borderWidth);}
- if(typeof(Node427_1.borderWidth)!="undefined"){setDashStyle(Node427_1,"Node427_1",'NoDash',Node427_1.borderWidth);}
- if(typeof(Node427_2.borderWidth)!="undefined"){setDashStyle(Node427_2,"Node427_2",'NoDash',Node427_2.borderWidth);}
- if(typeof(Node427_3.borderWidth)!="undefined"){setDashStyle(Node427_3,"Node427_3",'NoDash',Node427_3.borderWidth);}
- if(typeof(Node427_4.borderWidth)!="undefined"){setDashStyle(Node427_4,"Node427_4",'NoDash',Node427_4.borderWidth);}
- if(typeof(Node427_5.borderWidth)!="undefined"){setDashStyle(Node427_5,"Node427_5",'NoDash',Node427_5.borderWidth);}
- if(typeof(Node427_6.borderWidth)!="undefined"){setDashStyle(Node427_6,"Node427_6",'NoDash',Node427_6.borderWidth);}
- if(typeof(Node427_7.borderWidth)!="undefined"){setDashStyle(Node427_7,"Node427_7",'NoDash',Node427_7.borderWidth);}
- if(typeof(Node428_0.borderWidth)!="undefined"){setDashStyle(Node428_0,"Node428_0",'NoDash',Node428_0.borderWidth);}
- if(typeof(Node428_1.borderWidth)!="undefined"){setDashStyle(Node428_1,"Node428_1",'NoDash',Node428_1.borderWidth);}
- if(typeof(Node428_2.borderWidth)!="undefined"){setDashStyle(Node428_2,"Node428_2",'NoDash',Node428_2.borderWidth);}
- if(typeof(Node428_3.borderWidth)!="undefined"){setDashStyle(Node428_3,"Node428_3",'NoDash',Node428_3.borderWidth);}
- if(typeof(Node428_4.borderWidth)!="undefined"){setDashStyle(Node428_4,"Node428_4",'NoDash',Node428_4.borderWidth);}
- if(typeof(Node428_5.borderWidth)!="undefined"){setDashStyle(Node428_5,"Node428_5",'NoDash',Node428_5.borderWidth);}
- if(typeof(Node428_6.borderWidth)!="undefined"){setDashStyle(Node428_6,"Node428_6",'NoDash',Node428_6.borderWidth);}
- if(typeof(Node429_0.borderWidth)!="undefined"){setDashStyle(Node429_0,"Node429_0",'NoDash',Node429_0.borderWidth);}
- if(typeof(Node429_1.borderWidth)!="undefined"){setDashStyle(Node429_1,"Node429_1",'NoDash',Node429_1.borderWidth);}
- if(typeof(Node429_2.borderWidth)!="undefined"){setDashStyle(Node429_2,"Node429_2",'NoDash',Node429_2.borderWidth);}
- if(typeof(Node429_3.borderWidth)!="undefined"){setDashStyle(Node429_3,"Node429_3",'NoDash',Node429_3.borderWidth);}
- if(typeof(Node429_4.borderWidth)!="undefined"){setDashStyle(Node429_4,"Node429_4",'NoDash',Node429_4.borderWidth);}
- if(typeof(Node429_5.borderWidth)!="undefined"){setDashStyle(Node429_5,"Node429_5",'NoDash',Node429_5.borderWidth);}
- if(typeof(Node429_6.borderWidth)!="undefined"){setDashStyle(Node429_6,"Node429_6",'NoDash',Node429_6.borderWidth);}
- if((0 )){Node430_0.s('2d.visible',true);}else{Node430_0.s('2d.visible',false);}
- if((0 )){Node430_0.s('2d.visible',true);}else{Node430_0.s('2d.visible',false);}
- if((0 )){Node430_1.s('2d.visible',true);}else{Node430_1.s('2d.visible',false);}
- if((0 )){Node431_0.s('2d.visible',true);}else{Node431_0.s('2d.visible',false);}
- if((0 )){Node431_0.s('2d.visible',true);}else{Node431_0.s('2d.visible',false);}
- if((0 )){Node431_1.s('2d.visible',true);}else{Node431_1.s('2d.visible',false);}
- if((0 )){Node432_0.s('2d.visible',true);}else{Node432_0.s('2d.visible',false);}
- if((0 )){Node432_1.s('2d.visible',true);}else{Node432_1.s('2d.visible',false);}
- if(typeof(Node433_0.borderWidth)!="undefined"){setDashStyle(Node433_0,"Node433_0",'NoDash',Node433_0.borderWidth);}
- if(typeof(Node433_1.borderWidth)!="undefined"){setDashStyle(Node433_1,"Node433_1",'NoDash',Node433_1.borderWidth);}
- if(typeof(Node433_2.borderWidth)!="undefined"){setDashStyle(Node433_2,"Node433_2",'NoDash',Node433_2.borderWidth);}
- if(typeof(Node433_3.borderWidth)!="undefined"){setDashStyle(Node433_3,"Node433_3",'NoDash',Node433_3.borderWidth);}
- if(typeof(Node433_4.borderWidth)!="undefined"){setDashStyle(Node433_4,"Node433_4",'NoDash',Node433_4.borderWidth);}
- if(typeof(Node433_5.borderWidth)!="undefined"){setDashStyle(Node433_5,"Node433_5",'NoDash',Node433_5.borderWidth);}
- if(typeof(Node433_6.borderWidth)!="undefined"){setDashStyle(Node433_6,"Node433_6",'NoDash',Node433_6.borderWidth);}
- if((0 )){Node434_0.s('2d.visible',true);}else{Node434_0.s('2d.visible',false);}
- if((0 )){Node434_1.s('2d.visible',true);}else{Node434_1.s('2d.visible',false);}
- if(typeof(Node435_0.borderWidth)!="undefined"){setDashStyle(Node435_0,"Node435_0",'NoDash',Node435_0.borderWidth);}
- if(typeof(Node435_1.borderWidth)!="undefined"){setDashStyle(Node435_1,"Node435_1",'NoDash',Node435_1.borderWidth);}
- if(typeof(Node435_2.borderWidth)!="undefined"){setDashStyle(Node435_2,"Node435_2",'NoDash',Node435_2.borderWidth);}
- if(typeof(Node435_3.borderWidth)!="undefined"){setDashStyle(Node435_3,"Node435_3",'NoDash',Node435_3.borderWidth);}
- if(typeof(Node435_4.borderWidth)!="undefined"){setDashStyle(Node435_4,"Node435_4",'NoDash',Node435_4.borderWidth);}
- if(typeof(Node435_5.borderWidth)!="undefined"){setDashStyle(Node435_5,"Node435_5",'NoDash',Node435_5.borderWidth);}
- if(typeof(Node435_6.borderWidth)!="undefined"){setDashStyle(Node435_6,"Node435_6",'NoDash',Node435_6.borderWidth);}
- if((0 )){Node436_0.s('2d.visible',true);}else{Node436_0.s('2d.visible',false);}
- if((0 )){Node436_1.s('2d.visible',true);}else{Node436_1.s('2d.visible',false);}
- if(typeof(Node437_0.borderWidth)!="undefined"){setDashStyle(Node437_0,"Node437_0",'NoDash',Node437_0.borderWidth);}
- if(typeof(Node437_1.borderWidth)!="undefined"){setDashStyle(Node437_1,"Node437_1",'NoDash',Node437_1.borderWidth);}
- if(typeof(Node437_2.borderWidth)!="undefined"){setDashStyle(Node437_2,"Node437_2",'NoDash',Node437_2.borderWidth);}
- if(typeof(Node437_3.borderWidth)!="undefined"){setDashStyle(Node437_3,"Node437_3",'NoDash',Node437_3.borderWidth);}
- if(typeof(Node437_4.borderWidth)!="undefined"){setDashStyle(Node437_4,"Node437_4",'NoDash',Node437_4.borderWidth);}
- if(typeof(Node437_5.borderWidth)!="undefined"){setDashStyle(Node437_5,"Node437_5",'NoDash',Node437_5.borderWidth);}
- if(typeof(Node437_6.borderWidth)!="undefined"){setDashStyle(Node437_6,"Node437_6",'NoDash',Node437_6.borderWidth);}
- if((0 )){Node438_0.s('2d.visible',true);}else{Node438_0.s('2d.visible',false);}
- if((0 )){Node438_1.s('2d.visible',true);}else{Node438_1.s('2d.visible',false);}
- if(typeof(Node439_0.borderWidth)!="undefined"){setDashStyle(Node439_0,"Node439_0",'NoDash',Node439_0.borderWidth);}
- if(typeof(Node439_1.borderWidth)!="undefined"){setDashStyle(Node439_1,"Node439_1",'NoDash',Node439_1.borderWidth);}
- if(typeof(Node439_2.borderWidth)!="undefined"){setDashStyle(Node439_2,"Node439_2",'NoDash',Node439_2.borderWidth);}
- if(typeof(Node439_3.borderWidth)!="undefined"){setDashStyle(Node439_3,"Node439_3",'NoDash',Node439_3.borderWidth);}
- if(typeof(Node439_4.borderWidth)!="undefined"){setDashStyle(Node439_4,"Node439_4",'NoDash',Node439_4.borderWidth);}
- if(typeof(Node439_5.borderWidth)!="undefined"){setDashStyle(Node439_5,"Node439_5",'NoDash',Node439_5.borderWidth);}
- if(typeof(Node439_6.borderWidth)!="undefined"){setDashStyle(Node439_6,"Node439_6",'NoDash',Node439_6.borderWidth);}
- if((0 )){Node440_0.s('2d.visible',true);}else{Node440_0.s('2d.visible',false);}
- if((0 )){Node440_1.s('2d.visible',true);}else{Node440_1.s('2d.visible',false);}
- if(typeof(Node441_0.borderWidth)!="undefined"){setDashStyle(Node441_0,"Node441_0",'NoDash',Node441_0.borderWidth);}
- if(typeof(Node441_1.borderWidth)!="undefined"){setDashStyle(Node441_1,"Node441_1",'NoDash',Node441_1.borderWidth);}
- if(typeof(Node441_2.borderWidth)!="undefined"){setDashStyle(Node441_2,"Node441_2",'NoDash',Node441_2.borderWidth);}
- if(typeof(Node441_3.borderWidth)!="undefined"){setDashStyle(Node441_3,"Node441_3",'NoDash',Node441_3.borderWidth);}
- if(typeof(Node441_4.borderWidth)!="undefined"){setDashStyle(Node441_4,"Node441_4",'NoDash',Node441_4.borderWidth);}
- if(typeof(Node441_5.borderWidth)!="undefined"){setDashStyle(Node441_5,"Node441_5",'NoDash',Node441_5.borderWidth);}
- if(typeof(Node441_6.borderWidth)!="undefined"){setDashStyle(Node441_6,"Node441_6",'NoDash',Node441_6.borderWidth);}
- if((0 )){Node442_0.s('2d.visible',true);}else{Node442_0.s('2d.visible',false);}
- if((0 )){Node442_1.s('2d.visible',true);}else{Node442_1.s('2d.visible',false);}
- if(typeof(Node443.borderWidth)!="undefined"){setDashStyle(Node443,"Node443",'LinePoint',Node443.borderWidth);}
- if(typeof(Node444_0.borderWidth)!="undefined"){setDashStyle(Node444_0,"Node444_0",'NoDash',Node444_0.borderWidth);}
- if(typeof(Node444_1.borderWidth)!="undefined"){setDashStyle(Node444_1,"Node444_1",'NoDash',Node444_1.borderWidth);}
- if(typeof(Node444_2.borderWidth)!="undefined"){setDashStyle(Node444_2,"Node444_2",'NoDash',Node444_2.borderWidth);}
- if(typeof(Node444_3.borderWidth)!="undefined"){setDashStyle(Node444_3,"Node444_3",'NoDash',Node444_3.borderWidth);}
- if(typeof(Node444_4.borderWidth)!="undefined"){setDashStyle(Node444_4,"Node444_4",'NoDash',Node444_4.borderWidth);}
- if(typeof(Node444_5.borderWidth)!="undefined"){setDashStyle(Node444_5,"Node444_5",'NoDash',Node444_5.borderWidth);}
- if(typeof(Node444_6.borderWidth)!="undefined"){setDashStyle(Node444_6,"Node444_6",'NoDash',Node444_6.borderWidth);}
- if((0 )){Node445_0.s('2d.visible',true);}else{Node445_0.s('2d.visible',false);}
- if((0 )){Node445_1.s('2d.visible',true);}else{Node445_1.s('2d.visible',false);}
- if(typeof(Node446_0.borderWidth)!="undefined"){setDashStyle(Node446_0,"Node446_0",'NoDash',Node446_0.borderWidth);}
- if(typeof(Node446_1.borderWidth)!="undefined"){setDashStyle(Node446_1,"Node446_1",'NoDash',Node446_1.borderWidth);}
- if(typeof(Node446_2.borderWidth)!="undefined"){setDashStyle(Node446_2,"Node446_2",'NoDash',Node446_2.borderWidth);}
- if(typeof(Node446_3.borderWidth)!="undefined"){setDashStyle(Node446_3,"Node446_3",'NoDash',Node446_3.borderWidth);}
- if(typeof(Node446_4.borderWidth)!="undefined"){setDashStyle(Node446_4,"Node446_4",'NoDash',Node446_4.borderWidth);}
- if(typeof(Node446_5.borderWidth)!="undefined"){setDashStyle(Node446_5,"Node446_5",'NoDash',Node446_5.borderWidth);}
- if(typeof(Node446_6.borderWidth)!="undefined"){setDashStyle(Node446_6,"Node446_6",'NoDash',Node446_6.borderWidth);}
- if((0 )){Node447_0.s('2d.visible',true);}else{Node447_0.s('2d.visible',false);}
- if((0 )){Node447_1.s('2d.visible',true);}else{Node447_1.s('2d.visible',false);}
- if(typeof(Node448_0.borderWidth)!="undefined"){setDashStyle(Node448_0,"Node448_0",'NoDash',Node448_0.borderWidth);}
- if(typeof(Node448_1.borderWidth)!="undefined"){setDashStyle(Node448_1,"Node448_1",'NoDash',Node448_1.borderWidth);}
- if(typeof(Node448_2.borderWidth)!="undefined"){setDashStyle(Node448_2,"Node448_2",'NoDash',Node448_2.borderWidth);}
- if(typeof(Node448_3.borderWidth)!="undefined"){setDashStyle(Node448_3,"Node448_3",'NoDash',Node448_3.borderWidth);}
- if(typeof(Node448_4.borderWidth)!="undefined"){setDashStyle(Node448_4,"Node448_4",'NoDash',Node448_4.borderWidth);}
- if(typeof(Node448_5.borderWidth)!="undefined"){setDashStyle(Node448_5,"Node448_5",'NoDash',Node448_5.borderWidth);}
- if(typeof(Node448_6.borderWidth)!="undefined"){setDashStyle(Node448_6,"Node448_6",'NoDash',Node448_6.borderWidth);}
- if((0 )){Node449_0.s('2d.visible',true);}else{Node449_0.s('2d.visible',false);}
- if((0 )){Node449_1.s('2d.visible',true);}else{Node449_1.s('2d.visible',false);}
- if(typeof(Node450_0.borderWidth)!="undefined"){setDashStyle(Node450_0,"Node450_0",'NoDash',Node450_0.borderWidth);}
- if(typeof(Node450_1.borderWidth)!="undefined"){setDashStyle(Node450_1,"Node450_1",'NoDash',Node450_1.borderWidth);}
- if(typeof(Node450_2.borderWidth)!="undefined"){setDashStyle(Node450_2,"Node450_2",'NoDash',Node450_2.borderWidth);}
- if(typeof(Node450_3.borderWidth)!="undefined"){setDashStyle(Node450_3,"Node450_3",'NoDash',Node450_3.borderWidth);}
- if(typeof(Node450_4.borderWidth)!="undefined"){setDashStyle(Node450_4,"Node450_4",'NoDash',Node450_4.borderWidth);}
- if(typeof(Node450_5.borderWidth)!="undefined"){setDashStyle(Node450_5,"Node450_5",'NoDash',Node450_5.borderWidth);}
- if(typeof(Node450_6.borderWidth)!="undefined"){setDashStyle(Node450_6,"Node450_6",'NoDash',Node450_6.borderWidth);}
- if((0 )){Node451_0.s('2d.visible',true);}else{Node451_0.s('2d.visible',false);}
- if((0 )){Node451_1.s('2d.visible',true);}else{Node451_1.s('2d.visible',false);}
- if(typeof(Node452_0.borderWidth)!="undefined"){setDashStyle(Node452_0,"Node452_0",'NoDash',Node452_0.borderWidth);}
- if(typeof(Node452_1.borderWidth)!="undefined"){setDashStyle(Node452_1,"Node452_1",'NoDash',Node452_1.borderWidth);}
- if(typeof(Node452_2.borderWidth)!="undefined"){setDashStyle(Node452_2,"Node452_2",'NoDash',Node452_2.borderWidth);}
- if(typeof(Node452_3.borderWidth)!="undefined"){setDashStyle(Node452_3,"Node452_3",'NoDash',Node452_3.borderWidth);}
- if(typeof(Node452_4.borderWidth)!="undefined"){setDashStyle(Node452_4,"Node452_4",'NoDash',Node452_4.borderWidth);}
- if(typeof(Node452_5.borderWidth)!="undefined"){setDashStyle(Node452_5,"Node452_5",'NoDash',Node452_5.borderWidth);}
- if(typeof(Node452_6.borderWidth)!="undefined"){setDashStyle(Node452_6,"Node452_6",'NoDash',Node452_6.borderWidth);}
- if((0 )){Node453_0.s('2d.visible',true);}else{Node453_0.s('2d.visible',false);}
- if((0 )){Node453_1.s('2d.visible',true);}else{Node453_1.s('2d.visible',false);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((tqgl==1)>0 )){Node34.s('2d.visible',true);}else{Node34.s('2d.visible',false);}}
- if((1 )>0) {if(((tqgl==0)>0 )){Node35.s('2d.visible',true);}else{Node35.s('2d.visible',false);}}
- if((1 )>0) {if(((tqfdl==1)>0 )){Node37.s('2d.visible',true);}else{Node37.s('2d.visible',false);}}
- if((1 )>0) {if(((tqfdl==0)>0 )){Node38.s('2d.visible',true);}else{Node38.s('2d.visible',false);}}
- if((1 )>0) {if(((yygl==1)>0 )){Node81.s('2d.visible',true);}else{Node81.s('2d.visible',false);}}
- if((1 )>0) {if(((yygl==0)>0 )){Node82.s('2d.visible',true);}else{Node82.s('2d.visible',false);}}
- if((1 )>0) {if(((yyfdl==1)>0 )){Node84.s('2d.visible',true);}else{Node84.s('2d.visible',false);}}
- if((1 )>0) {if(((yyfdl==0)>0 )){Node85.s('2d.visible',true);}else{Node85.s('2d.visible',false);}}
- if((1 )>0) {if(((htsgl==1)>0 )){Node128.s('2d.visible',true);}else{Node128.s('2d.visible',false);}}
- if((1 )>0) {if(((htsgl==0)>0 )){Node129.s('2d.visible',true);}else{Node129.s('2d.visible',false);}}
- if((1 )>0) {if(((htsfdl==1)>0 )){Node131.s('2d.visible',true);}else{Node131.s('2d.visible',false);}}
- if((1 )>0) {if(((htsfdl==0)>0 )){Node132.s('2d.visible',true);}else{Node132.s('2d.visible',false);}}
- if((1 )>0) {if(((glgl==1)>0 )){Node175.s('2d.visible',true);}else{Node175.s('2d.visible',false);}}
- if((1 )>0) {if(((glgl==0)>0 )){Node176.s('2d.visible',true);}else{Node176.s('2d.visible',false);}}
- if((1 )>0) {if(((glfdl==1)>0 )){Node408.s('2d.visible',true);}else{Node408.s('2d.visible',false);}}
- if((1 )>0) {if(((glfdl==0)>0 )){Node409.s('2d.visible',true);}else{Node409.s('2d.visible',false);}}
- if((1 )>0) {if(((hygl==1)>0 )){Node410.s('2d.visible',true);}else{Node410.s('2d.visible',false);}}
- if((1 )>0) {if(((hygl==0)>0 )){Node411.s('2d.visible',true);}else{Node411.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfdl==1)>0 )){Node412.s('2d.visible',true);}else{Node412.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfdl==0)>0 )){Node413.s('2d.visible',true);}else{Node413.s('2d.visible',false);}}
- if((1 )>0) {if(((llgll==1)>0 )){Node414.s('2d.visible',true);}else{Node414.s('2d.visible',false);}}
- if((1 )>0) {if(((llgll==0)>0 )){Node415.s('2d.visible',true);}else{Node415.s('2d.visible',false);}}
- if((1 )>0) {if(((llfdll==1)>0 )){Node416.s('2d.visible',true);}else{Node416.s('2d.visible',false);}}
- if((1 )>0) {if(((llfdll==0)>0 )){Node417.s('2d.visible',true);}else{Node417.s('2d.visible',false);}}
- if((1 )>0) {if(((yggl==1)>0 )){Node418.s('2d.visible',true);}else{Node418.s('2d.visible',false);}}
- if((1 )>0) {if(((yggl==0)>0 )){Node419.s('2d.visible',true);}else{Node419.s('2d.visible',false);}}
- if((1 )>0) {if(((ygfdl==1)>0 )){Node420.s('2d.visible',true);}else{Node420.s('2d.visible',false);}}
- if((1 )>0) {if(((ygfdl==0)>0 )){Node421.s('2d.visible',true);}else{Node421.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();
- Node28_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI001') )]}});
- Node249_chart.setOption({series: { data: [0]}});
- Node250_chart.setOption({series: { data: [0]}});
- Node251_chart.setOption({series: { data: [0]}});
- Node252_chart.setOption({series: { data: [0]}});
- Node262_chart.setOption({series: { data: [0]}});
- Node340_chart.setOption({series: { data: [0]}});
- Node346_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('10'), 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)'}}}]}});
- Node407_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('10'), 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;
- }
- if(data === Node17){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_wn'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node18){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node19){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_pl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node20){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_gl'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- if(data === Node21){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_hy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node34&& objMouseOn===Node34){tqgl=0; }
- if(data !== Node37&& objMouseOn===Node37){tqfdl=0; }
- if(data !== Node81&& objMouseOn===Node81){yygl=0; }
- if(data !== Node84&& objMouseOn===Node84){yyfdl=0; }
- if(data !== Node128&& objMouseOn===Node128){htsgl=0; }
- if(data !== Node131&& objMouseOn===Node131){htsfdl=0; }
- if(data !== Node175&& objMouseOn===Node175){glgl=0; }
- if(data !== Node408&& objMouseOn===Node408){glfdl=0; }
- if(data !== Node410&& objMouseOn===Node410){hygl=0; }
- if(data !== Node412&& objMouseOn===Node412){hyfdl=0; }
- if(data !== Node414&& objMouseOn===Node414){llgll=0; }
- if(data !== Node416&& objMouseOn===Node416){llfdll=0; }
- if(data !== Node418&& objMouseOn===Node418){yggl=0; }
- if(data !== Node420&& objMouseOn===Node420){ygfdl=0; }
- if(data !== Node425_0&& objMouseOn===Node425_0){Node425_0.s('2d.visible',false);Node425_1.s('2d.visible',false); }
- if(data !== Node425_1&& objMouseOn===Node425_1){Node425_0.s('2d.visible',false);Node425_1.s('2d.visible',false); }
- if(data !== Node430_0&& objMouseOn===Node430_0){Node430_0.s('2d.visible',false);Node430_1.s('2d.visible',false); }
- if(data !== Node430_1&& objMouseOn===Node430_1){Node430_0.s('2d.visible',false);Node430_1.s('2d.visible',false); }
- if(data !== Node431_0&& objMouseOn===Node431_0){Node431_0.s('2d.visible',false);Node431_1.s('2d.visible',false); }
- if(data !== Node431_1&& objMouseOn===Node431_1){Node431_0.s('2d.visible',false);Node431_1.s('2d.visible',false); }
- if(data !== Node432_0&& objMouseOn===Node432_0){Node432_0.s('2d.visible',false);Node432_1.s('2d.visible',false); }
- if(data !== Node432_1&& objMouseOn===Node432_1){Node432_0.s('2d.visible',false);Node432_1.s('2d.visible',false); }
- if(data !== Node434_0&& objMouseOn===Node434_0){Node434_0.s('2d.visible',false);Node434_1.s('2d.visible',false); }
- if(data !== Node434_1&& objMouseOn===Node434_1){Node434_0.s('2d.visible',false);Node434_1.s('2d.visible',false); }
- if(data !== Node436_0&& objMouseOn===Node436_0){Node436_0.s('2d.visible',false);Node436_1.s('2d.visible',false); }
- if(data !== Node436_1&& objMouseOn===Node436_1){Node436_0.s('2d.visible',false);Node436_1.s('2d.visible',false); }
- if(data !== Node438_0&& objMouseOn===Node438_0){Node438_0.s('2d.visible',false);Node438_1.s('2d.visible',false); }
- if(data !== Node438_1&& objMouseOn===Node438_1){Node438_0.s('2d.visible',false);Node438_1.s('2d.visible',false); }
- if(data !== Node440_0&& objMouseOn===Node440_0){Node440_0.s('2d.visible',false);Node440_1.s('2d.visible',false); }
- if(data !== Node440_1&& objMouseOn===Node440_1){Node440_0.s('2d.visible',false);Node440_1.s('2d.visible',false); }
- if(data !== Node442_0&& objMouseOn===Node442_0){Node442_0.s('2d.visible',false);Node442_1.s('2d.visible',false); }
- if(data !== Node442_1&& objMouseOn===Node442_1){Node442_0.s('2d.visible',false);Node442_1.s('2d.visible',false); }
- if(data !== Node445_0&& objMouseOn===Node445_0){Node445_0.s('2d.visible',false);Node445_1.s('2d.visible',false); }
- if(data !== Node445_1&& objMouseOn===Node445_1){Node445_0.s('2d.visible',false);Node445_1.s('2d.visible',false); }
- if(data !== Node447_0&& objMouseOn===Node447_0){Node447_0.s('2d.visible',false);Node447_1.s('2d.visible',false); }
- if(data !== Node447_1&& objMouseOn===Node447_1){Node447_0.s('2d.visible',false);Node447_1.s('2d.visible',false); }
- if(data !== Node449_0&& objMouseOn===Node449_0){Node449_0.s('2d.visible',false);Node449_1.s('2d.visible',false); }
- if(data !== Node449_1&& objMouseOn===Node449_1){Node449_0.s('2d.visible',false);Node449_1.s('2d.visible',false); }
- if(data !== Node451_0&& objMouseOn===Node451_0){Node451_0.s('2d.visible',false);Node451_1.s('2d.visible',false); }
- if(data !== Node451_1&& objMouseOn===Node451_1){Node451_0.s('2d.visible',false);Node451_1.s('2d.visible',false); }
- if(data !== Node453_0&& objMouseOn===Node453_0){Node453_0.s('2d.visible',false);Node453_1.s('2d.visible',false); }
- if(data !== Node453_1&& objMouseOn===Node453_1){Node453_0.s('2d.visible',false);Node453_1.s('2d.visible',false); }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node35){tqgl=1; }
- if(data === Node38){tqfdl=1; }
- if(data === Node82){yygl=1; }
- if(data === Node85){yyfdl=1; }
- if(data === Node129){htsgl=1; }
- if(data === Node132){htsfdl=1; }
- if(data === Node176){glgl=1; }
- if(data === Node409){glfdl=1; }
- if(data === Node411){hygl=1; }
- if(data === Node413){hyfdl=1; }
- if(data === Node415){llgll=1; }
- if(data === Node417){llfdll=1; }
- if(data === Node419){yggl=1; }
- if(data === Node421){ygfdl=1; }
- if(data === Node424_0){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_1){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_2){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_3){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_4){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_5){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_6){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_7){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_8){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_9){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_10){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_11){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_12){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_13){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_14){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_15){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_16){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node424_17){Node425_0.s('2d.visible',true);Node425_1.s('2d.visible',true); }
- if(data === Node427_0){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_1){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_2){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_3){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_4){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_5){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_6){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_7){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_8){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_9){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_10){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_11){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_12){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_13){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_14){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_15){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_16){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_17){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node427_18){Node430_0.s('2d.visible',true);Node430_1.s('2d.visible',true); }
- if(data === Node428_0){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_1){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_2){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_3){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_4){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_5){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_6){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_7){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_8){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_9){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_10){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_11){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_12){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_13){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_14){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_15){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_16){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node428_17){Node431_0.s('2d.visible',true);Node431_1.s('2d.visible',true); }
- if(data === Node429_0){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_1){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_2){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_3){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_4){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_5){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_6){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_7){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_8){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_9){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_10){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_11){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_12){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_13){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_14){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_15){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_16){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_17){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_18){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node429_19){Node432_0.s('2d.visible',true);Node432_1.s('2d.visible',true); }
- if(data === Node433_0){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_1){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_2){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_3){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_4){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_5){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_6){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_7){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_8){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_9){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_10){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_11){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_12){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_13){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_14){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_15){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_16){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node433_17){Node434_0.s('2d.visible',true);Node434_1.s('2d.visible',true); }
- if(data === Node435_0){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_1){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_2){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_3){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_4){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_5){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_6){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_7){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_8){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_9){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_10){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_11){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_12){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_13){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_14){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_15){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_16){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node435_17){Node436_0.s('2d.visible',true);Node436_1.s('2d.visible',true); }
- if(data === Node437_0){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_1){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_2){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_3){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_4){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_5){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_6){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_7){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_8){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_9){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_10){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_11){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_12){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_13){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_14){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_15){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_16){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node437_17){Node438_0.s('2d.visible',true);Node438_1.s('2d.visible',true); }
- if(data === Node439_0){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_1){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_2){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_3){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_4){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_5){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_6){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_7){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_8){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_9){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_10){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_11){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_12){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_13){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_14){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_15){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_16){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node439_17){Node440_0.s('2d.visible',true);Node440_1.s('2d.visible',true); }
- if(data === Node441_0){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_1){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_2){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_3){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_4){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_5){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_6){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_7){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_8){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_9){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_10){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_11){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_12){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_13){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_14){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_15){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_16){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node441_17){Node442_0.s('2d.visible',true);Node442_1.s('2d.visible',true); }
- if(data === Node444_0){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_1){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_2){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_3){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_4){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_5){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_6){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_7){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_8){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_9){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_10){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_11){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_12){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_13){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_14){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_15){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_16){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node444_17){Node445_0.s('2d.visible',true);Node445_1.s('2d.visible',true); }
- if(data === Node446_0){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_1){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_2){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_3){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_4){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_5){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_6){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_7){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_8){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_9){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_10){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_11){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_12){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_13){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_14){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_15){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_16){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node446_17){Node447_0.s('2d.visible',true);Node447_1.s('2d.visible',true); }
- if(data === Node448_0){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_1){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_2){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_3){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_4){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_5){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_6){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_7){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_8){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_9){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_10){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_11){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_12){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_13){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_14){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_15){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_16){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node448_17){Node449_0.s('2d.visible',true);Node449_1.s('2d.visible',true); }
- if(data === Node450_0){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_1){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_2){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_3){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_4){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_5){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_6){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_7){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_8){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_9){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_10){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_11){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_12){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_13){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_14){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_15){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_16){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node450_17){Node451_0.s('2d.visible',true);Node451_1.s('2d.visible',true); }
- if(data === Node452_0){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_1){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_2){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_3){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_4){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_5){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_6){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_7){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_8){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_9){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_10){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_11){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_12){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_13){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_14){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_15){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_16){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- if(data === Node452_17){Node453_0.s('2d.visible',true);Node453_1.s('2d.visible',true); }
- /*@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();
- }
- })();
-
- })();
- }
|