1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304 |
- /*@WebApiFunc@*/
- var varList = [];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'adaptBrowser',
- 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/pbt_bts': ['lib/排布图图元.js'],
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 0 ;i++){VarValue[i] =0;}
- graphView.handleScroll = function () {}; graphView.setPannable(false); graphView.setMovableFunc(function(data){return false});PAGESCALABLE = false
- view.style.background = 'rgba(255,255,255,1)';
- anniu=0;
- sy=0;
- ldjsc=0;
- ztjs=0;
- sbjz=0;
- xnfx=0;
- pjgl=0;
- zbph=0;
- dbgl=0;
- bjzx=0;
- jrjs=0;
- sxxny=0;
- yygjb=0;
- plhts=0;
- tqwns=0;
- gljf=0;
- hyfy=0;
- llbts=0;
- ygcls=0;
- fs=0;
- sjgl=0;
- yfgl=0;
- rfdl=0;
- yfdl=0;
- ylyxx=0;
- nfdl=0;
- nlyxs=0;
- llfdl=0;
- whssdl=0;
- gzssdl=0;
- xdssdl=0;
- slssdl=0;
- xnssdl=0;
- anniu=0;
- A=0;
- B=0;
- C=0;
- D=0;
- E=0;
- F=0;
- Node171_zhuangtai="0";
- Node171_bianhao="xx";
- Node171_fengsu="xx";
- Node171_gonglv="xx";
- Node172_zhuangtai="0";
- Node172_bianhao="xx";
- Node172_fengsu="xx";
- Node172_gonglv="xx";
- Node173_zhuangtai="0";
- Node173_bianhao="xx";
- Node173_fengsu="xx";
- Node173_gonglv="xx";
- Node174_zhuangtai="0";
- Node174_bianhao="xx";
- Node174_fengsu="xx";
- Node174_gonglv="xx";
- Node175_zhuangtai="0";
- Node175_bianhao="xx";
- Node175_fengsu="xx";
- Node175_gonglv="xx";
- Node176_zhuangtai="0";
- Node176_bianhao="xx";
- Node176_fengsu="xx";
- Node176_gonglv="xx";
- Node177_zhuangtai="0";
- Node177_bianhao="xx";
- Node177_fengsu="xx";
- Node177_gonglv="xx";
- Node178_zhuangtai="0";
- Node178_bianhao="xx";
- Node178_fengsu="xx";
- Node178_gonglv="xx";
- Node179_zhuangtai="0";
- Node179_bianhao="xx";
- Node179_fengsu="xx";
- Node179_gonglv="xx";
- Node180_zhuangtai="0";
- Node180_bianhao="xx";
- Node180_fengsu="xx";
- Node180_gonglv="xx";
- Node181_zhuangtai="0";
- Node181_bianhao="xx";
- Node181_fengsu="xx";
- Node181_gonglv="xx";
- Node182_zhuangtai="0";
- Node182_bianhao="xx";
- Node182_fengsu="xx";
- Node182_gonglv="xx";
- Node183_zhuangtai="0";
- Node183_bianhao="xx";
- Node183_fengsu="xx";
- Node183_gonglv="xx";
- Node184_zhuangtai="0";
- Node184_bianhao="xx";
- Node184_fengsu="xx";
- Node184_gonglv="xx";
- Node185_zhuangtai="0";
- Node185_bianhao="xx";
- Node185_fengsu="xx";
- Node185_gonglv="xx";
- Node186_zhuangtai="0";
- Node186_bianhao="xx";
- Node186_fengsu="xx";
- Node186_gonglv="xx";
- Node187_zhuangtai="0";
- Node187_bianhao="xx";
- Node187_fengsu="xx";
- Node187_gonglv="xx";
- Node188_zhuangtai="0";
- Node188_bianhao="xx";
- Node188_fengsu="xx";
- Node188_gonglv="xx";
- Node189_zhuangtai="0";
- Node189_bianhao="xx";
- Node189_fengsu="xx";
- Node189_gonglv="xx";
- Node190_zhuangtai="0";
- Node190_bianhao="xx";
- Node190_fengsu="xx";
- Node190_gonglv="xx";
- Node191_zhuangtai="0";
- Node191_bianhao="xx";
- Node191_fengsu="xx";
- Node191_gonglv="xx";
- Node192_zhuangtai="0";
- Node192_bianhao="xx";
- Node192_fengsu="xx";
- Node192_gonglv="xx";
- Node193_zhuangtai="0";
- Node193_bianhao="xx";
- Node193_fengsu="xx";
- Node193_gonglv="xx";
- Node194_zhuangtai="0";
- Node194_bianhao="xx";
- Node194_fengsu="xx";
- Node194_gonglv="xx";
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 944};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 944*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 472*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 944*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 944*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 944*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(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 Node0 = new ht.Node();
- var Node0textStart, Node0textWidth, Node0lineStart, Node0align = 'center', Node0fontSize = 14.66663*_ratio.ratioY,Node0width = 67*_ratio.ratioX, Node0height = 26*_ratio.ratioY;
- (function () {
- if (Node0align === 'left') {
- Node0textStart = Node0fontSize * 0.2 > 2 ? Node0fontSize * 0.2 - 4 : Node0fontSize * 0.2 - 9;
- Node0textWidth = Node0width;
- Node0lineStart = 1;
- } else if (Node0align === 'right') {
- Node0textStart = 0;
- Node0textWidth =Node0fontSize <= 8 ? Node0width + Node0fontSize * 0.2 + 6 : Node0width - Node0fontSize * 0.2;
- Node0lineStart = (Node0width - (ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node0align === 'center') {
- Node0textStart = -3;
- Node0textWidth = Node0width;
- Node0lineStart = Node0width - ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node0.setImage(GD.getTextJSON(Node0width, Node0height, true, false, false, ' '+ Node0fontSize + 'px "Arial"'))
- Node0.setPosition(1860*ratio.ratioX, 86*ratio.ratioY);
- Node0.setWidth(Node0width);
- Node0.setHeight(Node0height);
- Node0._nodeType = 'text';
- Node0._disallowEvert = true;
- Node0.setRotation(0*Math.PI/180);
- Node0.a('node.width', Node0width);
- Node0.a('node.height', Node0height);
- Node0.a('node.rect', [0, 0, Node0width, Node0height]);
- Node0.a('node.bordercolor','rgba(105,105,105,1)');
- Node0.a('node.borderwidth', 0);
- Node0.a('node.background','' || 'rgba(0,0,0,0)');
- Node0.a('node.gradient','');
- Node0.a('node.gradientcolor','');
- Node0.a('node.text','台');
- Node0.a('node.textalign','center');
- Node0.a('node.textvAlign','middle');
- Node0.a('node.textrect', [Node0textStart, 0, Node0textWidth, Node0height]);
- Node0.a('node.color','rgba(105,105,105,1)');
- Node0.a('node.font',' '+ Node0fontSize + 'px "Arial"');
- Node0.a('node.textvisible',true);
- Node0.a('node.linefeed',false);
- if (false) {
- Node0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node0.a('node.text') || '台';
- var color=Node0.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node0width,Node0height,14.66663*_ratio.ratioY,"center",color,' '+ Node0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node0.a('node.underlinepoints',[Node0lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node0fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node0fontSize + 'px "Arial"').width + 6, (Node0height - Node0fontSize) * 0.5*_ratio.ratioY + Node0fontSize + 2 ]);
- Node0.a('node.underlinevisible',false);
- Node0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node0);
- zoomNodeList.push({
- node: Node0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1 = new ht.Node();
- var Node1textStart, Node1textWidth, Node1lineStart, Node1align = 'center', Node1fontSize = 14.66663*_ratio.ratioY,Node1width = 67*_ratio.ratioX, Node1height = 26*_ratio.ratioY;
- (function () {
- if (Node1align === 'left') {
- Node1textStart = Node1fontSize * 0.2 > 2 ? Node1fontSize * 0.2 - 4 : Node1fontSize * 0.2 - 9;
- Node1textWidth = Node1width;
- Node1lineStart = 1;
- } else if (Node1align === 'right') {
- Node1textStart = 0;
- Node1textWidth =Node1fontSize <= 8 ? Node1width + Node1fontSize * 0.2 + 6 : Node1width - Node1fontSize * 0.2;
- Node1lineStart = (Node1width - (ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node1align === 'center') {
- Node1textStart = -3;
- Node1textWidth = Node1width;
- Node1lineStart = Node1width - ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node1.setImage(GD.getTextJSON(Node1width, Node1height, true, false, false, ' '+ Node1fontSize + 'px "Arial"'))
- Node1.setPosition(1860*ratio.ratioX, 147*ratio.ratioY);
- Node1.setWidth(Node1width);
- Node1.setHeight(Node1height);
- Node1._nodeType = 'text';
- Node1._disallowEvert = true;
- Node1.setRotation(0*Math.PI/180);
- Node1.a('node.width', Node1width);
- Node1.a('node.height', Node1height);
- Node1.a('node.rect', [0, 0, Node1width, Node1height]);
- Node1.a('node.bordercolor','rgba(105,105,105,1)');
- Node1.a('node.borderwidth', 0);
- Node1.a('node.background','' || 'rgba(0,0,0,0)');
- Node1.a('node.gradient','');
- Node1.a('node.gradientcolor','');
- Node1.a('node.text','台');
- Node1.a('node.textalign','center');
- Node1.a('node.textvAlign','middle');
- Node1.a('node.textrect', [Node1textStart, 0, Node1textWidth, Node1height]);
- Node1.a('node.color','rgba(105,105,105,1)');
- Node1.a('node.font',' '+ Node1fontSize + 'px "Arial"');
- Node1.a('node.textvisible',true);
- Node1.a('node.linefeed',false);
- if (false) {
- Node1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node1.a('node.text') || '台';
- var color=Node1.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node1width,Node1height,14.66663*_ratio.ratioY,"center",color,' '+ Node1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node1.a('node.underlinepoints',[Node1lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node1fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node1fontSize + 'px "Arial"').width + 6, (Node1height - Node1fontSize) * 0.5*_ratio.ratioY + Node1fontSize + 2 ]);
- Node1.a('node.underlinevisible',false);
- Node1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node1);
- zoomNodeList.push({
- node: Node1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2type = 'rect';
- var Node2 = new ht.Node(),
- Node2BorderWidth = 1*2;
- if (Node2type === 'arc') {
- Node2BorderWidth *= 1;
- }
- Node2.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node2.setPosition(1820*ratio.ratioX, 70*ratio.ratioY);
- Node2.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node2.a('node.width', 127*_ratio.ratioX);
- Node2.a('node.height', 60.81538*_ratio.ratioY);
- Node2.a('node.type', Node2type);
- Node2.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node2.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node2.a('node.gradientcolor', '');
- Node2.a('node.gradient', '');
- Node2.a('node.borderwidth', Node2BorderWidth);
- Node2.a('node.color', 'rgba(128,128,128,1)');
- 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 = 1*2;
- if (Node3type === 'arc') {
- Node3BorderWidth *= 1;
- }
- Node3.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node3type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node3.setPosition(1820*ratio.ratioX, 131*ratio.ratioY);
- Node3.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node3.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node3.a('node.width', 127*_ratio.ratioX);
- Node3.a('node.height', 60.81538*_ratio.ratioY);
- Node3.a('node.type', Node3type);
- Node3.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node3.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node3.a('node.gradientcolor', '');
- Node3.a('node.gradient', '');
- Node3.a('node.borderwidth', Node3BorderWidth);
- Node3.a('node.color', 'rgba(128,128,128,1)');
- 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(27*_ratio.ratioX, 121*_ratio.ratioY, Node4type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node4.setPosition(13*ratio.ratioX, 100*ratio.ratioY);
- Node4.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node4.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node4.a('node.width', 27*_ratio.ratioX);
- Node4.a('node.height', 121*_ratio.ratioY);
- Node4.a('node.type', Node4type);
- Node4.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node4.a('node.background', 'rgba(0,132,216,1)');
- Node4.a('node.gradientcolor', 'rgba(0,132,216,1)');
- Node4.a('node.gradient', '');
- Node4.a('node.borderwidth', Node4BorderWidth);
- Node4.a('node.color', 'rgba(0,0,255,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 Node5 = new ht.Node();
- var Node5textStart, Node5textWidth, Node5lineStart, Node5align = 'left', Node5fontSize = 13.3333*_ratio.ratioY,Node5width = 53*_ratio.ratioX, Node5height = 30*_ratio.ratioY;
- (function () {
- if (Node5align === 'left') {
- Node5textStart = Node5fontSize * 0.2 > 2 ? Node5fontSize * 0.2 - 4 : Node5fontSize * 0.2 - 9;
- Node5textWidth = Node5width;
- Node5lineStart = 1;
- } else if (Node5align === 'right') {
- Node5textStart = 0;
- Node5textWidth =Node5fontSize <= 8 ? Node5width + Node5fontSize * 0.2 + 6 : Node5width - Node5fontSize * 0.2;
- Node5lineStart = (Node5width - (ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node5align === 'center') {
- Node5textStart = -3;
- Node5textWidth = Node5width;
- Node5lineStart = Node5width - ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node5.setImage(GD.getTextJSON(Node5width, Node5height, true, false, false, 'bold '+ Node5fontSize + 'px "Arial"'))
- Node5.setPosition(29*ratio.ratioX, 57*ratio.ratioY);
- Node5.setWidth(Node5width);
- Node5.setHeight(Node5height);
- Node5._nodeType = 'text';
- Node5._disallowEvert = true;
- Node5.setRotation(0*Math.PI/180);
- Node5.a('node.width', Node5width);
- Node5.a('node.height', Node5height);
- Node5.a('node.rect', [0, 0, Node5width, Node5height]);
- Node5.a('node.bordercolor','rgba(255,255,255,1)');
- Node5.a('node.borderwidth', 0);
- Node5.a('node.background','' || 'rgba(0,0,0,0)');
- Node5.a('node.gradient','');
- Node5.a('node.gradientcolor','');
- Node5.a('node.text','综');
- Node5.a('node.textalign','left');
- Node5.a('node.textvAlign','middle');
- Node5.a('node.textrect', [Node5textStart, 0, Node5textWidth, Node5height]);
- Node5.a('node.color','rgba(255,255,255,1)');
- Node5.a('node.font','bold '+ Node5fontSize + 'px "Arial"');
- Node5.a('node.textvisible',true);
- Node5.a('node.linefeed',false);
- if (false) {
- Node5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node5.a('node.text') || '综';
- var color=Node5.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node5width,Node5height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node5.a('node.underlinepoints',[Node5lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node5fontSize + 2 , ht.Default.getTextSize('综', 'bold '+ Node5fontSize + 'px "Arial"').width + 6, (Node5height - Node5fontSize) * 0.5*_ratio.ratioY + Node5fontSize + 2 ]);
- Node5.a('node.underlinevisible',false);
- Node5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node5);
- zoomNodeList.push({
- node: Node5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6type = 'rect';
- var Node6 = new ht.Node(),
- Node6BorderWidth = 0*2;
- if (Node6type === 'arc') {
- Node6BorderWidth *= 0;
- }
- Node6.setImage(GD.getRectJSON(156*_ratio.ratioX, 30*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node6.setPosition(106*ratio.ratioX, 103*ratio.ratioY);
- Node6.setSize(156*_ratio.ratioX, 30*_ratio.ratioY);
- Node6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node6.a('node.width', 156*_ratio.ratioX);
- Node6.a('node.height', 30*_ratio.ratioY);
- Node6.a('node.type', Node6type);
- Node6.a('node.rect', [0, 0, 156*_ratio.ratioX, 30*_ratio.ratioY]);
- Node6.a('node.background', 'rgba(73,192,209,1)');
- Node6.a('node.gradientcolor', 'rgba(73,192,209,1)');
- Node6.a('node.gradient', '');
- Node6.a('node.borderwidth', Node6BorderWidth);
- Node6.a('node.color', 'rgba(0,0,0,0)');
- Node6.a('node.fillrect', [0,0,0,0]);
- Node6.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node6.a('node.fillgradient', '');
- if (Node6type !== 'rect') {
- Node6.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node6.a('node.arcTo', parseFloat('@arcTo@'));
- Node6.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node6type === 'arc') {
- Node6.a('node.arcOval', true);
- }
- Node6.setRotation(0*Math.PI/180);
- Node6.borderWidth = Node6BorderWidth;
- Node6.borderFillwidth = Node6BorderWidth;
- dataModel.add(Node6);
- Node6._nodename = 'Node6'
- Node6._nodeType = 'rect';
- zoomNodeList.push({
- node: Node6,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node6, Node6.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node7 = new ht.Node();
- var Node7textStart, Node7textWidth, Node7lineStart, Node7align = 'left', Node7fontSize = 14.66663*_ratio.ratioY,Node7width = 157*_ratio.ratioX, Node7height = 24*_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(146*ratio.ratioX, 103*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,14.66663*0.5*_ratio.ratioY,Node7width,Node7height,14.66663*_ratio.ratioY,"left",color,'bold '+ Node7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node7.a('node.underlinepoints',[Node7lineStart, (24 - 14.66663) * 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 Node8type = 'rect';
- var Node8 = new ht.Node(),
- Node8BorderWidth = 0*2;
- if (Node8type === 'arc') {
- Node8BorderWidth *= 0;
- }
- Node8.setImage(GD.getRectJSON(105*_ratio.ratioX, 48*_ratio.ratioY, Node8type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node8.setPosition(82*ratio.ratioX, 140*ratio.ratioY);
- Node8.setSize(105*_ratio.ratioX, 48*_ratio.ratioY);
- Node8.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node8.a('node.width', 105*_ratio.ratioX);
- Node8.a('node.height', 48*_ratio.ratioY);
- Node8.a('node.type', Node8type);
- Node8.a('node.rect', [0, 0, 105*_ratio.ratioX, 48*_ratio.ratioY]);
- Node8.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node8.a('node.gradientcolor', '');
- Node8.a('node.gradient', '');
- Node8.a('node.borderwidth', Node8BorderWidth);
- Node8.a('node.color', 'rgba(0,0,0,0)');
- Node8.a('node.fillrect', [0,0,0,0]);
- Node8.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node8.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node8.a('node.fillgradient', '');
- if (Node8type !== 'rect') {
- Node8.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node8.a('node.arcTo', parseFloat('@arcTo@'));
- Node8.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node8type === 'arc') {
- Node8.a('node.arcOval', true);
- }
- Node8.setRotation(0*Math.PI/180);
- Node8.borderWidth = Node8BorderWidth;
- Node8.borderFillwidth = Node8BorderWidth;
- dataModel.add(Node8);
- Node8._nodename = 'Node8'
- Node8._nodeType = 'rect';
- zoomNodeList.push({
- node: Node8,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node8, Node8.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node9 = new ht.Node();
- var Node9textStart, Node9textWidth, Node9lineStart, Node9align = 'right', Node9fontSize = 19.99995*_ratio.ratioY,Node9width = 59*_ratio.ratioX, Node9height = 24*_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('0', ' '+ Node9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node9align === 'center') {
- Node9textStart = -3;
- Node9textWidth = Node9width;
- Node9lineStart = Node9width - ht.Default.getTextSize('0', ' '+ Node9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node9.setImage(GD.getTextJSON(Node9width, Node9height, true, false, false, ' '+ Node9fontSize + 'px "Arial"'))
- Node9.setPosition(77*ratio.ratioX, 148*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(0,0,0,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','0');
- Node9.a('node.textalign','right');
- Node9.a('node.textvAlign','middle');
- Node9.a('node.textrect', [Node9textStart, 0, Node9textWidth, Node9height]);
- Node9.a('node.color','rgba(0,0,0,1)');
- Node9.a('node.font',' '+ 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') || '0';
- var color=Node9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node9width,Node9height,19.99995*_ratio.ratioY,"right",color,' '+ Node9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node9.a('node.underlinepoints',[Node9lineStart, (24 - 19.99995) * 0.5 * _ratio.ratioY + Node9fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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(31*_ratio.ratioX, 31*_ratio.ratioY, Node10type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node10.setPosition(165*ratio.ratioX, 145*ratio.ratioY);
- Node10.setSize(31*_ratio.ratioX, 31*_ratio.ratioY);
- Node10.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node10.a('node.width', 31*_ratio.ratioX);
- Node10.a('node.height', 31*_ratio.ratioY);
- Node10.a('node.type', Node10type);
- Node10.a('node.rect', [0, 0, 31*_ratio.ratioX, 31*_ratio.ratioY]);
- Node10.a('node.background', 'rgba(225,102,38,1)');
- Node10.a('node.gradientcolor', 'rgba(225,102,38,1)');
- Node10.a('node.gradient', '');
- Node10.a('node.borderwidth', Node10BorderWidth);
- Node10.a('node.color', 'rgba(0,0,0,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 Node11 = new ht.Node();
- var Node11textStart, Node11textWidth, Node11lineStart, Node11align = 'left', Node11fontSize = 13.3333*_ratio.ratioY,Node11width = 27*_ratio.ratioX, Node11height = 16*_ratio.ratioY;
- (function () {
- if (Node11align === 'left') {
- Node11textStart = Node11fontSize * 0.2 > 2 ? Node11fontSize * 0.2 - 4 : Node11fontSize * 0.2 - 9;
- Node11textWidth = Node11width;
- Node11lineStart = 1;
- } else if (Node11align === 'right') {
- Node11textStart = 0;
- Node11textWidth =Node11fontSize <= 8 ? Node11width + Node11fontSize * 0.2 + 6 : Node11width - Node11fontSize * 0.2;
- Node11lineStart = (Node11width - (ht.Default.getTextSize('天', 'bold '+ Node11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node11align === 'center') {
- Node11textStart = -3;
- Node11textWidth = Node11width;
- Node11lineStart = Node11width - ht.Default.getTextSize('天', 'bold '+ Node11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node11.setImage(GD.getTextJSON(Node11width, Node11height, true, false, false, 'bold '+ Node11fontSize + 'px "Arial"'))
- Node11.setPosition(169*ratio.ratioX, 147*ratio.ratioY);
- Node11.setWidth(Node11width);
- Node11.setHeight(Node11height);
- Node11._nodeType = 'text';
- Node11._disallowEvert = true;
- Node11.setRotation(0*Math.PI/180);
- Node11.a('node.width', Node11width);
- Node11.a('node.height', Node11height);
- Node11.a('node.rect', [0, 0, Node11width, Node11height]);
- Node11.a('node.bordercolor','rgba(255,255,255,1)');
- Node11.a('node.borderwidth', 0);
- Node11.a('node.background','' || 'rgba(0,0,0,0)');
- Node11.a('node.gradient','');
- Node11.a('node.gradientcolor','');
- Node11.a('node.text','天');
- Node11.a('node.textalign','left');
- Node11.a('node.textvAlign','middle');
- Node11.a('node.textrect', [Node11textStart, 0, Node11textWidth, Node11height]);
- Node11.a('node.color','rgba(255,255,255,1)');
- Node11.a('node.font','bold '+ Node11fontSize + 'px "Arial"');
- Node11.a('node.textvisible',true);
- Node11.a('node.linefeed',false);
- if (false) {
- Node11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node11.a('node.text') || '天';
- var color=Node11.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node11width,Node11height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node11.a('node.underlinepoints',[Node11lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node11fontSize + 2 , ht.Default.getTextSize('天', 'bold '+ Node11fontSize + 'px "Arial"').width + 6, (Node11height - Node11fontSize) * 0.5*_ratio.ratioY + Node11fontSize + 2 ]);
- Node11.a('node.underlinevisible',false);
- Node11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node11);
- zoomNodeList.push({
- node: Node11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node12type = 'rect';
- var Node12 = new ht.Node(),
- Node12BorderWidth = 1*2;
- if (Node12type === 'arc') {
- Node12BorderWidth *= 1;
- }
- Node12.setImage(GD.getRectJSON(27*_ratio.ratioX, 121*_ratio.ratioY, Node12type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node12.setPosition(1326*ratio.ratioX, 100*ratio.ratioY);
- Node12.setSize(27*_ratio.ratioX, 121*_ratio.ratioY);
- Node12.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node12.a('node.width', 27*_ratio.ratioX);
- Node12.a('node.height', 121*_ratio.ratioY);
- Node12.a('node.type', Node12type);
- Node12.a('node.rect', [0, 0, 27*_ratio.ratioX, 121*_ratio.ratioY]);
- Node12.a('node.background', 'rgba(0,0,0,1)');
- Node12.a('node.gradientcolor', 'rgba(0,0,0,1)');
- Node12.a('node.gradient', '');
- Node12.a('node.borderwidth', Node12BorderWidth);
- Node12.a('node.color', 'rgba(0,0,255,1)');
- 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 Node13 = new ht.Node();
- var Node13textStart, Node13textWidth, Node13lineStart, Node13align = 'left', Node13fontSize = 11.99997*_ratio.ratioY,Node13width = 53*_ratio.ratioX, Node13height = 20*_ratio.ratioY;
- (function () {
- if (Node13align === 'left') {
- Node13textStart = Node13fontSize * 0.2 > 2 ? Node13fontSize * 0.2 - 4 : Node13fontSize * 0.2 - 9;
- Node13textWidth = Node13width;
- Node13lineStart = 1;
- } else if (Node13align === 'right') {
- Node13textStart = 0;
- Node13textWidth =Node13fontSize <= 8 ? Node13width + Node13fontSize * 0.2 + 6 : Node13width - Node13fontSize * 0.2;
- Node13lineStart = (Node13width - (ht.Default.getTextSize('风', 'bold '+ Node13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node13align === 'center') {
- Node13textStart = -3;
- Node13textWidth = Node13width;
- Node13lineStart = Node13width - ht.Default.getTextSize('风', 'bold '+ Node13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node13.setImage(GD.getTextJSON(Node13width, Node13height, true, false, false, 'bold '+ Node13fontSize + 'px "Arial"'))
- Node13.setPosition(1343*ratio.ratioX, 66*ratio.ratioY);
- Node13.setWidth(Node13width);
- Node13.setHeight(Node13height);
- Node13._nodeType = 'text';
- Node13._disallowEvert = true;
- Node13.setRotation(0*Math.PI/180);
- Node13.a('node.width', Node13width);
- Node13.a('node.height', Node13height);
- Node13.a('node.rect', [0, 0, Node13width, Node13height]);
- Node13.a('node.bordercolor','rgba(255,255,255,1)');
- Node13.a('node.borderwidth', 0);
- Node13.a('node.background','' || 'rgba(0,0,0,0)');
- Node13.a('node.gradient','');
- Node13.a('node.gradientcolor','');
- Node13.a('node.text','风');
- Node13.a('node.textalign','left');
- Node13.a('node.textvAlign','middle');
- Node13.a('node.textrect', [Node13textStart, 0, Node13textWidth, Node13height]);
- Node13.a('node.color','rgba(255,255,255,1)');
- Node13.a('node.font','bold '+ Node13fontSize + 'px "Arial"');
- Node13.a('node.textvisible',true);
- Node13.a('node.linefeed',false);
- if (false) {
- Node13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node13.a('node.text') || '风';
- var color=Node13.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node13width,Node13height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node13.a('node.underlinepoints',[Node13lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node13fontSize + 2 , ht.Default.getTextSize('风', 'bold '+ Node13fontSize + 'px "Arial"').width + 6, (Node13height - Node13fontSize) * 0.5*_ratio.ratioY + Node13fontSize + 2 ]);
- Node13.a('node.underlinevisible',false);
- Node13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node13);
- zoomNodeList.push({
- node: Node13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14type = 'rect';
- var Node14 = new ht.Node(),
- Node14BorderWidth = 1*2;
- if (Node14type === 'arc') {
- Node14BorderWidth *= 1;
- }
- Node14.setImage(GD.getRectJSON(130*_ratio.ratioX, 121*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node14.setPosition(1405*ratio.ratioX, 100*ratio.ratioY);
- Node14.setSize(130*_ratio.ratioX, 121*_ratio.ratioY);
- Node14.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node14.a('node.width', 130*_ratio.ratioX);
- Node14.a('node.height', 121*_ratio.ratioY);
- Node14.a('node.type', Node14type);
- Node14.a('node.rect', [0, 0, 130*_ratio.ratioX, 121*_ratio.ratioY]);
- Node14.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node14.a('node.gradientcolor', '');
- Node14.a('node.gradient', '');
- Node14.a('node.borderwidth', Node14BorderWidth);
- Node14.a('node.color', 'rgba(128,128,128,1)');
- 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 Node15 = new ht.Node();
- var Node15textStart, Node15textWidth, Node15lineStart, Node15align = 'left', Node15fontSize = 13.3333*_ratio.ratioY,Node15width = 59*_ratio.ratioX, Node15height = 25*_ratio.ratioY;
- (function () {
- if (Node15align === 'left') {
- Node15textStart = Node15fontSize * 0.2 > 2 ? Node15fontSize * 0.2 - 4 : Node15fontSize * 0.2 - 9;
- Node15textWidth = Node15width;
- Node15lineStart = 1;
- } else if (Node15align === 'right') {
- Node15textStart = 0;
- Node15textWidth =Node15fontSize <= 8 ? Node15width + Node15fontSize * 0.2 + 6 : Node15width - Node15fontSize * 0.2;
- Node15lineStart = (Node15width - (ht.Default.getTextSize('接入', ' '+ Node15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node15align === 'center') {
- Node15textStart = -3;
- Node15textWidth = Node15width;
- Node15lineStart = Node15width - ht.Default.getTextSize('接入', ' '+ Node15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node15.setImage(GD.getTextJSON(Node15width, Node15height, true, false, false, ' '+ Node15fontSize + 'px "Arial"'))
- Node15.setPosition(1374*ratio.ratioX, 54*ratio.ratioY);
- Node15.setWidth(Node15width);
- Node15.setHeight(Node15height);
- Node15._nodeType = 'text';
- Node15._disallowEvert = true;
- Node15.setRotation(0*Math.PI/180);
- Node15.a('node.width', Node15width);
- Node15.a('node.height', Node15height);
- Node15.a('node.rect', [0, 0, Node15width, Node15height]);
- Node15.a('node.bordercolor','rgba(105,105,105,1)');
- Node15.a('node.borderwidth', 0);
- Node15.a('node.background','' || 'rgba(0,0,0,0)');
- Node15.a('node.gradient','');
- Node15.a('node.gradientcolor','');
- Node15.a('node.text','接入');
- Node15.a('node.textalign','left');
- Node15.a('node.textvAlign','middle');
- Node15.a('node.textrect', [Node15textStart, 0, Node15textWidth, Node15height]);
- Node15.a('node.color','rgba(105,105,105,1)');
- Node15.a('node.font',' '+ Node15fontSize + 'px "Arial"');
- Node15.a('node.textvisible',true);
- Node15.a('node.linefeed',false);
- if (false) {
- Node15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node15.a('node.text') || '接入';
- var color=Node15.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node15width,Node15height,13.3333*_ratio.ratioY,"left",color,' '+ Node15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node15.a('node.underlinepoints',[Node15lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node15fontSize + 2 , ht.Default.getTextSize('接入', ' '+ Node15fontSize + 'px "Arial"').width + 6, (Node15height - Node15fontSize) * 0.5*_ratio.ratioY + Node15fontSize + 2 ]);
- Node15.a('node.underlinevisible',false);
- Node15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node15);
- zoomNodeList.push({
- node: Node15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16 = new ht.Node();
- var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'center', Node16fontSize = 26.6666*_ratio.ratioY,Node16width = 87*_ratio.ratioX, Node16height = 36*_ratio.ratioY;
- (function () {
- if (Node16align === 'left') {
- Node16textStart = Node16fontSize * 0.2 > 2 ? Node16fontSize * 0.2 - 4 : Node16fontSize * 0.2 - 9;
- Node16textWidth = Node16width;
- Node16lineStart = 1;
- } else if (Node16align === 'right') {
- Node16textStart = 0;
- Node16textWidth =Node16fontSize <= 8 ? Node16width + Node16fontSize * 0.2 + 6 : Node16width - Node16fontSize * 0.2;
- Node16lineStart = (Node16width - (ht.Default.getTextSize('0', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16align === 'center') {
- Node16textStart = -3;
- Node16textWidth = Node16width;
- Node16lineStart = Node16width - ht.Default.getTextSize('0', ' '+ Node16fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
- Node16.setPosition(1406*ratio.ratioX, 99*ratio.ratioY);
- Node16.setWidth(Node16width);
- Node16.setHeight(Node16height);
- Node16._nodeType = 'text';
- Node16._disallowEvert = true;
- Node16.setRotation(0*Math.PI/180);
- Node16.a('node.width', Node16width);
- Node16.a('node.height', Node16height);
- Node16.a('node.rect', [0, 0, Node16width, Node16height]);
- Node16.a('node.bordercolor','rgba(0,0,0,1)');
- Node16.a('node.borderwidth', 0);
- Node16.a('node.background','' || 'rgba(0,0,0,0)');
- Node16.a('node.gradient','');
- Node16.a('node.gradientcolor','');
- Node16.a('node.text','0');
- Node16.a('node.textalign','center');
- Node16.a('node.textvAlign','middle');
- Node16.a('node.textrect', [Node16textStart, 0, Node16textWidth, Node16height]);
- Node16.a('node.color','rgba(0,0,0,1)');
- Node16.a('node.font',' '+ Node16fontSize + 'px "Arial"');
- Node16.a('node.textvisible',true);
- Node16.a('node.linefeed',false);
- if (false) {
- Node16.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node16.a('node.text') || '0';
- var color=Node16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,26.6666*0.5*_ratio.ratioY,Node16width,Node16height,26.6666*_ratio.ratioY,"center",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16.a('node.underlinepoints',[Node16lineStart, (36 - 26.6666) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node16fontSize + 'px "Arial"').width + 6, (Node16height - Node16fontSize) * 0.5*_ratio.ratioY + Node16fontSize + 2 ]);
- Node16.a('node.underlinevisible',false);
- Node16.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node16);
- zoomNodeList.push({
- node: Node16,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node17 = new ht.Node();
- var Node17textStart, Node17textWidth, Node17lineStart, Node17align = 'center', Node17fontSize = 14.66663*_ratio.ratioY,Node17width = 87*_ratio.ratioX, Node17height = 26*_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(1453*ratio.ratioX, 148*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(105,105,105,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','center');
- Node17.a('node.textvAlign','middle');
- Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
- Node17.a('node.color','rgba(105,105,105,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(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node17width,Node17height,14.66663*_ratio.ratioY,"center",color,' '+ Node17fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node17.a('node.underlinepoints',[Node17lineStart, (26 - 14.66663) * 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 = 'center', Node18fontSize = 14.66663*_ratio.ratioY,Node18width = 67*_ratio.ratioX, Node18height = 26*_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(1586*ratio.ratioX, 146*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(105,105,105,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','center');
- Node18.a('node.textvAlign','middle');
- Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
- Node18.a('node.color','rgba(105,105,105,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(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node18width,Node18height,14.66663*_ratio.ratioY,"center",color,' '+ Node18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18.a('node.underlinepoints',[Node18lineStart, (26 - 14.66663) * 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'
- }); var Node19;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_orange.jpg', PAGEROOTDIR + 'image//page_list_box_left_orange.jpg');
- Node19 = new ht.Node();
- Node19.setPosition(1475*ratio.ratioX, 130*ratio.ratioY);
- Node19.setSize(9*ratioX, 60*ratioY);
- Node19.setImage('imgimage//page_list_box_left_orange.jpg');
- Node19.setRotation(0*Math.PI/180);
- Node19._zoomBy = 'Default';
- Node19._nodeType = 'image';
- Node19._disallowEvert = true;
- dataModel.add(Node19);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20type = 'rect';
- var Node20 = new ht.Node(),
- Node20BorderWidth = 1*2;
- if (Node20type === 'arc') {
- Node20BorderWidth *= 1;
- }
- Node20.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node20type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node20.setPosition(1544*ratio.ratioX, 131*ratio.ratioY);
- Node20.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node20.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node20.a('node.width', 127*_ratio.ratioX);
- Node20.a('node.height', 60.81538*_ratio.ratioY);
- Node20.a('node.type', Node20type);
- Node20.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node20.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node20.a('node.gradientcolor', '');
- Node20.a('node.gradient', '');
- Node20.a('node.borderwidth', Node20BorderWidth);
- Node20.a('node.color', 'rgba(128,128,128,1)');
- Node20.a('node.fillrect', [0,0,0,0]);
- Node20.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node20.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node20.a('node.fillgradient', '');
- if (Node20type !== 'rect') {
- Node20.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node20.a('node.arcTo', parseFloat('@arcTo@'));
- Node20.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node20type === 'arc') {
- Node20.a('node.arcOval', true);
- }
- Node20.setRotation(0*Math.PI/180);
- Node20.borderWidth = Node20BorderWidth;
- Node20.borderFillwidth = Node20BorderWidth;
- dataModel.add(Node20);
- Node20._nodename = 'Node20'
- Node20._nodeType = 'rect';
- zoomNodeList.push({
- node: Node20,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node20, Node20.getImage());_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 = 47*_ratio.ratioX, Node21height = 38*_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('维护', 'bold '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21align === 'center') {
- Node21textStart = -3;
- Node21textWidth = Node21width;
- Node21lineStart = Node21width - ht.Default.getTextSize('维护', 'bold '+ Node21fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, 'bold '+ Node21fontSize + 'px "Arial"'))
- Node21.setPosition(1506*ratio.ratioX, 113*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(0,0,0,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(0,0,0,1)');
- Node21.a('node.font','bold '+ 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node21width,Node21height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node21fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node21.a('node.underlinepoints',[Node21lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('维护', 'bold '+ 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 = 15.99996*_ratio.ratioY,Node22width = 29*_ratio.ratioX, Node22height = 25*_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('0', ' '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22align === 'center') {
- Node22textStart = -3;
- Node22textWidth = Node22width;
- Node22lineStart = Node22width - ht.Default.getTextSize('0', ' '+ Node22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, ' '+ Node22fontSize + 'px "Arial"'))
- Node22.setPosition(1507*ratio.ratioX, 145*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(0,0,0,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','0');
- Node22.a('node.textalign','left');
- Node22.a('node.textvAlign','middle');
- Node22.a('node.textrect', [Node22textStart, 0, Node22textWidth, Node22height]);
- Node22.a('node.color','rgba(0,0,0,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') || '0';
- var color=Node22.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node22width,Node22height,15.99996*_ratio.ratioY,"left",color,' '+ Node22fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22.a('node.underlinepoints',[Node22lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node23fontSize = 14.66663*_ratio.ratioY,Node23width = 67*_ratio.ratioX, Node23height = 26*_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(1724*ratio.ratioX, 86*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(105,105,105,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','center');
- Node23.a('node.textvAlign','middle');
- Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
- Node23.a('node.color','rgba(105,105,105,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(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node23width,Node23height,14.66663*_ratio.ratioY,"center",color,' '+ Node23fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23.a('node.underlinepoints',[Node23lineStart, (26 - 14.66663) * 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'
- }); var Node24;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_green.jpg', PAGEROOTDIR + 'image//page_list_box_left_green.jpg');
- Node24 = new ht.Node();
- Node24.setPosition(1613*ratio.ratioX, 70*ratio.ratioY);
- Node24.setSize(9*ratioX, 60*ratioY);
- Node24.setImage('imgimage//page_list_box_left_green.jpg');
- Node24.setRotation(0*Math.PI/180);
- Node24._zoomBy = 'Default';
- Node24._nodeType = 'image';
- Node24._disallowEvert = true;
- dataModel.add(Node24);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25type = 'rect';
- var Node25 = new ht.Node(),
- Node25BorderWidth = 1*2;
- if (Node25type === 'arc') {
- Node25BorderWidth *= 1;
- }
- Node25.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node25type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node25.setPosition(1682*ratio.ratioX, 70*ratio.ratioY);
- Node25.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node25.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node25.a('node.width', 127*_ratio.ratioX);
- Node25.a('node.height', 60.81538*_ratio.ratioY);
- Node25.a('node.type', Node25type);
- Node25.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node25.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node25.a('node.gradientcolor', '');
- Node25.a('node.gradient', '');
- Node25.a('node.borderwidth', Node25BorderWidth);
- Node25.a('node.color', 'rgba(128,128,128,1)');
- Node25.a('node.fillrect', [0,0,0,0]);
- Node25.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node25.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node25.a('node.fillgradient', '');
- if (Node25type !== 'rect') {
- Node25.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node25.a('node.arcTo', parseFloat('@arcTo@'));
- Node25.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node25type === 'arc') {
- Node25.a('node.arcOval', true);
- }
- Node25.setRotation(0*Math.PI/180);
- Node25.borderWidth = Node25BorderWidth;
- Node25.borderFillwidth = Node25BorderWidth;
- dataModel.add(Node25);
- Node25._nodename = 'Node25'
- Node25._nodeType = 'rect';
- zoomNodeList.push({
- node: Node25,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.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 = 15.99996*_ratio.ratioY,Node26width = 29*_ratio.ratioX, Node26height = 25*_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('0', ' '+ Node26fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node26align === 'center') {
- Node26textStart = -3;
- Node26textWidth = Node26width;
- Node26lineStart = Node26width - ht.Default.getTextSize('0', ' '+ Node26fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node26.setImage(GD.getTextJSON(Node26width, Node26height, true, false, false, ' '+ Node26fontSize + 'px "Arial"'))
- Node26.setPosition(1645*ratio.ratioX, 85*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(0,0,0,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','0');
- Node26.a('node.textalign','left');
- Node26.a('node.textvAlign','middle');
- Node26.a('node.textrect', [Node26textStart, 0, Node26textWidth, Node26height]);
- Node26.a('node.color','rgba(0,0,0,1)');
- Node26.a('node.font',' '+ 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') || '0';
- var color=Node26.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node26width,Node26height,15.99996*_ratio.ratioY,"left",color,' '+ Node26fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node26.a('node.underlinepoints',[Node26lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node26fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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*Math.PI/180, ratio);
- var Node27 = new ht.Node();
- var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'center', Node27fontSize = 14.66663*_ratio.ratioY,Node27width = 67*_ratio.ratioX, Node27height = 26*_ratio.ratioY;
- (function () {
- if (Node27align === 'left') {
- Node27textStart = Node27fontSize * 0.2 > 2 ? Node27fontSize * 0.2 - 4 : Node27fontSize * 0.2 - 9;
- Node27textWidth = Node27width;
- Node27lineStart = 1;
- } else if (Node27align === 'right') {
- Node27textStart = 0;
- Node27textWidth =Node27fontSize <= 8 ? Node27width + Node27fontSize * 0.2 + 6 : Node27width - Node27fontSize * 0.2;
- Node27lineStart = (Node27width - (ht.Default.getTextSize('台', ' '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27align === 'center') {
- Node27textStart = -3;
- Node27textWidth = Node27width;
- Node27lineStart = Node27width - ht.Default.getTextSize('台', ' '+ Node27fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27.setImage(GD.getTextJSON(Node27width, Node27height, true, false, false, ' '+ Node27fontSize + 'px "Arial"'))
- Node27.setPosition(1724*ratio.ratioX, 147*ratio.ratioY);
- Node27.setWidth(Node27width);
- Node27.setHeight(Node27height);
- Node27._nodeType = 'text';
- Node27._disallowEvert = true;
- Node27.setRotation(0*Math.PI/180);
- Node27.a('node.width', Node27width);
- Node27.a('node.height', Node27height);
- Node27.a('node.rect', [0, 0, Node27width, Node27height]);
- Node27.a('node.bordercolor','rgba(105,105,105,1)');
- Node27.a('node.borderwidth', 0);
- Node27.a('node.background','' || 'rgba(0,0,0,0)');
- Node27.a('node.gradient','');
- Node27.a('node.gradientcolor','');
- Node27.a('node.text','台');
- Node27.a('node.textalign','center');
- Node27.a('node.textvAlign','middle');
- Node27.a('node.textrect', [Node27textStart, 0, Node27textWidth, Node27height]);
- Node27.a('node.color','rgba(105,105,105,1)');
- Node27.a('node.font',' '+ Node27fontSize + 'px "Arial"');
- Node27.a('node.textvisible',true);
- Node27.a('node.linefeed',false);
- if (false) {
- Node27.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27.a('node.text') || '台';
- var color=Node27.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node27width,Node27height,14.66663*_ratio.ratioY,"center",color,' '+ Node27fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27.a('node.underlinepoints',[Node27lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node27fontSize + 'px "Arial"').width + 6, (Node27height - Node27fontSize) * 0.5*_ratio.ratioY + Node27fontSize + 2 ]);
- Node27.a('node.underlinevisible',false);
- Node27.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node27);
- zoomNodeList.push({
- node: Node27,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node28;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_pink.jpg', PAGEROOTDIR + 'image//page_list_box_left_pink.jpg');
- Node28 = new ht.Node();
- Node28.setPosition(1613*ratio.ratioX, 131*ratio.ratioY);
- Node28.setSize(9*ratioX, 60*ratioY);
- Node28.setImage('imgimage//page_list_box_left_pink.jpg');
- Node28.setRotation(0*Math.PI/180);
- Node28._zoomBy = 'Default';
- Node28._nodeType = 'image';
- Node28._disallowEvert = true;
- dataModel.add(Node28);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29type = 'rect';
- var Node29 = new ht.Node(),
- Node29BorderWidth = 1*2;
- if (Node29type === 'arc') {
- Node29BorderWidth *= 1;
- }
- Node29.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node29type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29.setPosition(1682*ratio.ratioX, 131*ratio.ratioY);
- Node29.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node29.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29.a('node.width', 127*_ratio.ratioX);
- Node29.a('node.height', 60.81538*_ratio.ratioY);
- Node29.a('node.type', Node29type);
- Node29.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node29.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node29.a('node.gradientcolor', '');
- Node29.a('node.gradient', '');
- Node29.a('node.borderwidth', Node29BorderWidth);
- Node29.a('node.color', 'rgba(128,128,128,1)');
- Node29.a('node.fillrect', [0,0,0,0]);
- Node29.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29.a('node.fillgradient', '');
- if (Node29type !== 'rect') {
- Node29.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29.a('node.arcTo', parseFloat('@arcTo@'));
- Node29.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29type === 'arc') {
- Node29.a('node.arcOval', true);
- }
- Node29.setRotation(0*Math.PI/180);
- Node29.borderWidth = Node29BorderWidth;
- Node29.borderFillwidth = Node29BorderWidth;
- dataModel.add(Node29);
- Node29._nodename = 'Node29'
- Node29._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29, Node29.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30 = new ht.Node();
- var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'left', Node30fontSize = 13.3333*_ratio.ratioY,Node30width = 47*_ratio.ratioX, Node30height = 38*_ratio.ratioY;
- (function () {
- if (Node30align === 'left') {
- Node30textStart = Node30fontSize * 0.2 > 2 ? Node30fontSize * 0.2 - 4 : Node30fontSize * 0.2 - 9;
- Node30textWidth = Node30width;
- Node30lineStart = 1;
- } else if (Node30align === 'right') {
- Node30textStart = 0;
- Node30textWidth =Node30fontSize <= 8 ? Node30width + Node30fontSize * 0.2 + 6 : Node30width - Node30fontSize * 0.2;
- Node30lineStart = (Node30width - (ht.Default.getTextSize('限电', 'bold '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30align === 'center') {
- Node30textStart = -3;
- Node30textWidth = Node30width;
- Node30lineStart = Node30width - ht.Default.getTextSize('限电', 'bold '+ Node30fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, 'bold '+ Node30fontSize + 'px "Arial"'))
- Node30.setPosition(1644*ratio.ratioX, 114*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','限电');
- 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','bold '+ Node30fontSize + 'px "Arial"');
- Node30.a('node.textvisible',true);
- Node30.a('node.linefeed',false);
- if (false) {
- Node30.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node30.a('node.text') || '限电';
- var color=Node30.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node30width,Node30height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node30fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30.a('node.underlinepoints',[Node30lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('限电', 'bold '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]);
- Node30.a('node.underlinevisible',false);
- Node30.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30);
- zoomNodeList.push({
- node: Node30,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31 = new ht.Node();
- var Node31textStart, Node31textWidth, Node31lineStart, Node31align = 'left', Node31fontSize = 15.99996*_ratio.ratioY,Node31width = 29*_ratio.ratioX, Node31height = 25*_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('0', ' '+ Node31fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node31align === 'center') {
- Node31textStart = -3;
- Node31textWidth = Node31width;
- Node31lineStart = Node31width - ht.Default.getTextSize('0', ' '+ Node31fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node31.setImage(GD.getTextJSON(Node31width, Node31height, true, false, false, ' '+ Node31fontSize + 'px "Arial"'))
- Node31.setPosition(1645*ratio.ratioX, 146*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(0,0,0,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','0');
- Node31.a('node.textalign','left');
- Node31.a('node.textvAlign','middle');
- Node31.a('node.textrect', [Node31textStart, 0, Node31textWidth, Node31height]);
- Node31.a('node.color','rgba(0,0,0,1)');
- Node31.a('node.font',' '+ 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') || '0';
- var color=Node31.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node31width,Node31height,15.99996*_ratio.ratioY,"left",color,' '+ Node31fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node31.a('node.underlinepoints',[Node31lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node31fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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 = 'center', Node32fontSize = 13.3333*_ratio.ratioY,Node32width = 97*_ratio.ratioX, Node32height = 25*_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('装机容量', ' '+ Node32fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node32align === 'center') {
- Node32textStart = -3;
- Node32textWidth = Node32width;
- Node32lineStart = Node32width - ht.Default.getTextSize('装机容量', ' '+ Node32fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node32.setImage(GD.getTextJSON(Node32width, Node32height, true, false, false, ' '+ Node32fontSize + 'px "Arial"'))
- Node32.setPosition(222*ratio.ratioX, 53*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(0,0,0,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','center');
- Node32.a('node.textvAlign','middle');
- Node32.a('node.textrect', [Node32textStart, 0, Node32textWidth, Node32height]);
- Node32.a('node.color','rgba(0,0,0,1)');
- Node32.a('node.font',' '+ 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node32width,Node32height,13.3333*_ratio.ratioY,"center",color,' '+ Node32fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32.a('node.underlinepoints',[Node32lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node32fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node32fontSize + 'px "Arial"').width + 6, (Node32height - Node32fontSize) * 0.5*_ratio.ratioY + Node32fontSize + 2 ]);
- Node32.a('node.underlinevisible',false);
- Node32.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node32);
- zoomNodeList.push({
- node: Node32,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node33type = 'rect';
- var Node33 = new ht.Node(),
- Node33BorderWidth = 1*2;
- if (Node33type === 'arc') {
- Node33BorderWidth *= 1;
- }
- Node33.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node33type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node33.setPosition(246*ratio.ratioX, 100*ratio.ratioY);
- Node33.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node33.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node33.a('node.width', 121*_ratio.ratioX);
- Node33.a('node.height', 24.33138*_ratio.ratioY);
- Node33.a('node.type', Node33type);
- Node33.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node33.a('node.background', 'rgba(240,240,240,1)');
- Node33.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node33.a('node.gradient', '');
- Node33.a('node.borderwidth', Node33BorderWidth);
- Node33.a('node.color', 'rgba(224,224,224,1)');
- Node33.a('node.fillrect', [0,0,0,0]);
- Node33.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node33.a('node.fillgradient', '');
- if (Node33type !== 'rect') {
- Node33.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node33.a('node.arcTo', parseFloat('@arcTo@'));
- Node33.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node33type === 'arc') {
- Node33.a('node.arcOval', true);
- }
- Node33.setRotation(0*Math.PI/180);
- Node33.borderWidth = Node33BorderWidth;
- Node33.borderFillwidth = Node33BorderWidth;
- dataModel.add(Node33);
- Node33._nodename = 'Node33'
- Node33._nodeType = 'rect';
- zoomNodeList.push({
- node: Node33,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node33, Node33.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34type = 'rect';
- var Node34 = new ht.Node(),
- Node34BorderWidth = 1*2;
- if (Node34type === 'arc') {
- Node34BorderWidth *= 1;
- }
- Node34.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node34type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node34.setPosition(246*ratio.ratioX, 76*ratio.ratioY);
- Node34.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node34.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node34.a('node.width', 121*_ratio.ratioX);
- Node34.a('node.height', 24.33138*_ratio.ratioY);
- Node34.a('node.type', Node34type);
- Node34.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node34.a('node.background', 'rgba(240,240,240,1)');
- Node34.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node34.a('node.gradient', '');
- Node34.a('node.borderwidth', Node34BorderWidth);
- Node34.a('node.color', 'rgba(224,224,224,1)');
- Node34.a('node.fillrect', [0,0,0,0]);
- Node34.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node34.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node34.a('node.fillgradient', '');
- if (Node34type !== 'rect') {
- Node34.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node34.a('node.arcTo', parseFloat('@arcTo@'));
- Node34.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node34type === 'arc') {
- Node34.a('node.arcOval', true);
- }
- Node34.setRotation(0*Math.PI/180);
- Node34.borderWidth = Node34BorderWidth;
- Node34.borderFillwidth = Node34BorderWidth;
- dataModel.add(Node34);
- Node34._nodename = 'Node34'
- Node34._nodeType = 'rect';
- zoomNodeList.push({
- node: Node34,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node34, Node34.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35type = 'rect';
- var Node35 = new ht.Node(),
- Node35BorderWidth = 1*2;
- if (Node35type === 'arc') {
- Node35BorderWidth *= 1;
- }
- Node35.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node35type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node35.setPosition(246*ratio.ratioX, 125*ratio.ratioY);
- Node35.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node35.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node35.a('node.width', 121*_ratio.ratioX);
- Node35.a('node.height', 24.33136*_ratio.ratioY);
- Node35.a('node.type', Node35type);
- Node35.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node35.a('node.background', 'rgba(240,240,240,1)');
- Node35.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node35.a('node.gradient', '');
- Node35.a('node.borderwidth', Node35BorderWidth);
- Node35.a('node.color', 'rgba(224,224,224,1)');
- Node35.a('node.fillrect', [0,0,0,0]);
- Node35.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node35.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node35.a('node.fillgradient', '');
- if (Node35type !== 'rect') {
- Node35.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node35.a('node.arcTo', parseFloat('@arcTo@'));
- Node35.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node35type === 'arc') {
- Node35.a('node.arcOval', true);
- }
- Node35.setRotation(0*Math.PI/180);
- Node35.borderWidth = Node35BorderWidth;
- Node35.borderFillwidth = Node35BorderWidth;
- dataModel.add(Node35);
- Node35._nodename = 'Node35'
- Node35._nodeType = 'rect';
- zoomNodeList.push({
- node: Node35,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node35, Node35.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36type = 'rect';
- var Node36 = new ht.Node(),
- Node36BorderWidth = 1*2;
- if (Node36type === 'arc') {
- Node36BorderWidth *= 1;
- }
- Node36.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node36type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node36.setPosition(246*ratio.ratioX, 52*ratio.ratioY);
- Node36.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node36.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node36.a('node.width', 121*_ratio.ratioX);
- Node36.a('node.height', 24.33136*_ratio.ratioY);
- Node36.a('node.type', Node36type);
- Node36.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node36.a('node.background', 'rgba(240,240,240,1)');
- Node36.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node36.a('node.gradient', '');
- Node36.a('node.borderwidth', Node36BorderWidth);
- Node36.a('node.color', 'rgba(224,224,224,1)');
- Node36.a('node.fillrect', [0,0,0,0]);
- Node36.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node36.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node36.a('node.fillgradient', '');
- if (Node36type !== 'rect') {
- Node36.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node36.a('node.arcTo', parseFloat('@arcTo@'));
- Node36.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node36type === 'arc') {
- Node36.a('node.arcOval', true);
- }
- Node36.setRotation(0*Math.PI/180);
- Node36.borderWidth = Node36BorderWidth;
- Node36.borderFillwidth = Node36BorderWidth;
- dataModel.add(Node36);
- Node36._nodename = 'Node36'
- Node36._nodeType = 'rect';
- zoomNodeList.push({
- node: Node36,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node36, Node36.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37type = 'rect';
- var Node37 = new ht.Node(),
- Node37BorderWidth = 1*2;
- if (Node37type === 'arc') {
- Node37BorderWidth *= 1;
- }
- Node37.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node37type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node37.setPosition(246*ratio.ratioX, 149*ratio.ratioY);
- Node37.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node37.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node37.a('node.width', 121*_ratio.ratioX);
- Node37.a('node.height', 24.33138*_ratio.ratioY);
- Node37.a('node.type', Node37type);
- Node37.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node37.a('node.background', 'rgba(240,240,240,1)');
- Node37.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node37.a('node.gradient', '');
- Node37.a('node.borderwidth', Node37BorderWidth);
- Node37.a('node.color', 'rgba(224,224,224,1)');
- Node37.a('node.fillrect', [0,0,0,0]);
- Node37.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node37.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node37.a('node.fillgradient', '');
- if (Node37type !== 'rect') {
- Node37.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node37.a('node.arcTo', parseFloat('@arcTo@'));
- Node37.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node37type === 'arc') {
- Node37.a('node.arcOval', true);
- }
- Node37.setRotation(0*Math.PI/180);
- Node37.borderWidth = Node37BorderWidth;
- Node37.borderFillwidth = Node37BorderWidth;
- dataModel.add(Node37);
- Node37._nodename = 'Node37'
- Node37._nodeType = 'rect';
- zoomNodeList.push({
- node: Node37,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node37, Node37.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.Node();
- var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 61*_ratio.ratioX, Node38height = 26*_ratio.ratioY;
- (function () {
- if (Node38align === 'left') {
- Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
- Node38textWidth = Node38width;
- Node38lineStart = 1;
- } else if (Node38align === 'right') {
- Node38textStart = 0;
- Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
- Node38lineStart = (Node38width - (ht.Default.getTextSize('功率', ' '+ Node38fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node38align === 'center') {
- Node38textStart = -3;
- Node38textWidth = Node38width;
- Node38lineStart = Node38width - ht.Default.getTextSize('功率', ' '+ Node38fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "微软雅黑"'))
- Node38.setPosition(220*ratio.ratioX, 78*ratio.ratioY);
- Node38.setWidth(Node38width);
- Node38.setHeight(Node38height);
- Node38._nodeType = 'text';
- Node38._disallowEvert = true;
- Node38.setRotation(0*Math.PI/180);
- Node38.a('node.width', Node38width);
- Node38.a('node.height', Node38height);
- Node38.a('node.rect', [0, 0, Node38width, Node38height]);
- Node38.a('node.bordercolor','rgba(0,0,0,1)');
- Node38.a('node.borderwidth', 0);
- Node38.a('node.background','' || 'rgba(0,0,0,0)');
- Node38.a('node.gradient','');
- Node38.a('node.gradientcolor','');
- Node38.a('node.text','功率');
- Node38.a('node.textalign','left');
- Node38.a('node.textvAlign','middle');
- Node38.a('node.textrect', [Node38textStart, 0, Node38textWidth, Node38height]);
- Node38.a('node.color','rgba(0,0,0,1)');
- Node38.a('node.font',' '+ Node38fontSize + 'px "微软雅黑"');
- Node38.a('node.textvisible',true);
- Node38.a('node.linefeed',false);
- if (false) {
- Node38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38.a('node.text') || '功率';
- var color=Node38.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node38.a('node.underlinepoints',[Node38lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('功率', ' '+ Node38fontSize + 'px "微软雅黑"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
- Node38.a('node.underlinevisible',false);
- Node38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38);
- zoomNodeList.push({
- node: Node38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node39 = new ht.Node();
- var Node39textStart, Node39textWidth, Node39lineStart, Node39align = 'left', Node39fontSize = 13.3333*_ratio.ratioY,Node39width = 61*_ratio.ratioX, Node39height = 26*_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('风速', ' '+ Node39fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node39align === 'center') {
- Node39textStart = -3;
- Node39textWidth = Node39width;
- Node39lineStart = Node39width - ht.Default.getTextSize('风速', ' '+ Node39fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node39.setImage(GD.getTextJSON(Node39width, Node39height, true, false, false, ' '+ Node39fontSize + 'px "微软雅黑"'))
- Node39.setPosition(220*ratio.ratioX, 102*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(0,0,0,1)');
- Node39.a('node.borderwidth', 0);
- Node39.a('node.background','' || 'rgba(0,0,0,0)');
- Node39.a('node.gradient','');
- Node39.a('node.gradientcolor','');
- Node39.a('node.text','风速');
- Node39.a('node.textalign','left');
- Node39.a('node.textvAlign','middle');
- Node39.a('node.textrect', [Node39textStart, 0, Node39textWidth, Node39height]);
- Node39.a('node.color','rgba(0,0,0,1)');
- Node39.a('node.font',' '+ Node39fontSize + 'px "微软雅黑"');
- Node39.a('node.textvisible',true);
- Node39.a('node.linefeed',false);
- if (false) {
- Node39.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node39.a('node.text') || '风速';
- var color=Node39.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node39width,Node39height,13.3333*_ratio.ratioY,"left",color,' '+ Node39fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node39.a('node.underlinepoints',[Node39lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node39fontSize + 2 , ht.Default.getTextSize('风速', ' '+ Node39fontSize + 'px "微软雅黑"').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 Node40 = new ht.Node();
- var Node40textStart, Node40textWidth, Node40lineStart, Node40align = 'left', Node40fontSize = 13.3333*_ratio.ratioY,Node40width = 77*_ratio.ratioX, Node40height = 26*_ratio.ratioY;
- (function () {
- if (Node40align === 'left') {
- Node40textStart = Node40fontSize * 0.2 > 2 ? Node40fontSize * 0.2 - 4 : Node40fontSize * 0.2 - 9;
- Node40textWidth = Node40width;
- Node40lineStart = 1;
- } else if (Node40align === 'right') {
- Node40textStart = 0;
- Node40textWidth =Node40fontSize <= 8 ? Node40width + Node40fontSize * 0.2 + 6 : Node40width - Node40fontSize * 0.2;
- Node40lineStart = (Node40width - (ht.Default.getTextSize('发电量', ' '+ Node40fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node40align === 'center') {
- Node40textStart = -3;
- Node40textWidth = Node40width;
- Node40lineStart = Node40width - ht.Default.getTextSize('发电量', ' '+ Node40fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node40.setImage(GD.getTextJSON(Node40width, Node40height, true, false, false, ' '+ Node40fontSize + 'px "微软雅黑"'))
- Node40.setPosition(226*ratio.ratioX, 127*ratio.ratioY);
- Node40.setWidth(Node40width);
- Node40.setHeight(Node40height);
- Node40._nodeType = 'text';
- Node40._disallowEvert = true;
- Node40.setRotation(0*Math.PI/180);
- Node40.a('node.width', Node40width);
- Node40.a('node.height', Node40height);
- Node40.a('node.rect', [0, 0, Node40width, Node40height]);
- Node40.a('node.bordercolor','rgba(0,0,0,1)');
- Node40.a('node.borderwidth', 0);
- Node40.a('node.background','' || 'rgba(0,0,0,0)');
- Node40.a('node.gradient','');
- Node40.a('node.gradientcolor','');
- Node40.a('node.text','发电量');
- Node40.a('node.textalign','left');
- Node40.a('node.textvAlign','middle');
- Node40.a('node.textrect', [Node40textStart, 0, Node40textWidth, Node40height]);
- Node40.a('node.color','rgba(0,0,0,1)');
- Node40.a('node.font',' '+ Node40fontSize + 'px "微软雅黑"');
- Node40.a('node.textvisible',true);
- Node40.a('node.linefeed',false);
- if (false) {
- Node40.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node40.a('node.text') || '发电量';
- var color=Node40.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node40width,Node40height,13.3333*_ratio.ratioY,"left",color,' '+ Node40fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node40.a('node.underlinepoints',[Node40lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node40fontSize + 2 , ht.Default.getTextSize('发电量', ' '+ Node40fontSize + 'px "微软雅黑"').width + 6, (Node40height - Node40fontSize) * 0.5*_ratio.ratioY + Node40fontSize + 2 ]);
- Node40.a('node.underlinevisible',false);
- Node40.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node40);
- zoomNodeList.push({
- node: Node40,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node41 = new ht.Node();
- var Node41textStart, Node41textWidth, Node41lineStart, Node41align = 'left', Node41fontSize = 13.3333*_ratio.ratioY,Node41width = 87*_ratio.ratioX, Node41height = 32*_ratio.ratioY;
- (function () {
- if (Node41align === 'left') {
- Node41textStart = Node41fontSize * 0.2 > 2 ? Node41fontSize * 0.2 - 4 : Node41fontSize * 0.2 - 9;
- Node41textWidth = Node41width;
- Node41lineStart = 1;
- } else if (Node41align === 'right') {
- Node41textStart = 0;
- Node41textWidth =Node41fontSize <= 8 ? Node41width + Node41fontSize * 0.2 + 6 : Node41width - Node41fontSize * 0.2;
- Node41lineStart = (Node41width - (ht.Default.getTextSize('上网电量', ' '+ Node41fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node41align === 'center') {
- Node41textStart = -3;
- Node41textWidth = Node41width;
- Node41lineStart = Node41width - ht.Default.getTextSize('上网电量', ' '+ Node41fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node41.setImage(GD.getTextJSON(Node41width, Node41height, true, false, false, ' '+ Node41fontSize + 'px "微软雅黑"'))
- Node41.setPosition(230*ratio.ratioX, 150*ratio.ratioY);
- Node41.setWidth(Node41width);
- Node41.setHeight(Node41height);
- Node41._nodeType = 'text';
- Node41._disallowEvert = true;
- Node41.setRotation(0*Math.PI/180);
- Node41.a('node.width', Node41width);
- Node41.a('node.height', Node41height);
- Node41.a('node.rect', [0, 0, Node41width, Node41height]);
- Node41.a('node.bordercolor','rgba(0,0,0,1)');
- Node41.a('node.borderwidth', 0);
- Node41.a('node.background','' || 'rgba(0,0,0,0)');
- Node41.a('node.gradient','');
- Node41.a('node.gradientcolor','');
- Node41.a('node.text','上网电量');
- Node41.a('node.textalign','left');
- Node41.a('node.textvAlign','middle');
- Node41.a('node.textrect', [Node41textStart, 0, Node41textWidth, Node41height]);
- Node41.a('node.color','rgba(0,0,0,1)');
- Node41.a('node.font',' '+ Node41fontSize + 'px "微软雅黑"');
- Node41.a('node.textvisible',true);
- Node41.a('node.linefeed',false);
- if (false) {
- Node41.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node41.a('node.text') || '上网电量';
- var color=Node41.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node41width,Node41height,13.3333*_ratio.ratioY,"left",color,' '+ Node41fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node41.a('node.underlinepoints',[Node41lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node41fontSize + 2 , ht.Default.getTextSize('上网电量', ' '+ Node41fontSize + 'px "微软雅黑"').width + 6, (Node41height - Node41fontSize) * 0.5*_ratio.ratioY + Node41fontSize + 2 ]);
- Node41.a('node.underlinevisible',false);
- Node41.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node41);
- zoomNodeList.push({
- node: Node41,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node42type = 'rect';
- var Node42 = new ht.Node(),
- Node42BorderWidth = 1*2;
- if (Node42type === 'arc') {
- Node42BorderWidth *= 1;
- }
- Node42.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node42type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node42.setPosition(530*ratio.ratioX, 100*ratio.ratioY);
- Node42.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node42.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node42.a('node.width', 121*_ratio.ratioX);
- Node42.a('node.height', 24.33138*_ratio.ratioY);
- Node42.a('node.type', Node42type);
- Node42.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node42.a('node.background', 'rgba(240,240,240,1)');
- Node42.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node42.a('node.gradient', '');
- Node42.a('node.borderwidth', Node42BorderWidth);
- Node42.a('node.color', 'rgba(224,224,224,1)');
- Node42.a('node.fillrect', [0,0,0,0]);
- Node42.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node42.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node42.a('node.fillgradient', '');
- if (Node42type !== 'rect') {
- Node42.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node42.a('node.arcTo', parseFloat('@arcTo@'));
- Node42.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node42type === 'arc') {
- Node42.a('node.arcOval', true);
- }
- Node42.setRotation(0*Math.PI/180);
- Node42.borderWidth = Node42BorderWidth;
- Node42.borderFillwidth = Node42BorderWidth;
- dataModel.add(Node42);
- Node42._nodename = 'Node42'
- Node42._nodeType = 'rect';
- zoomNodeList.push({
- node: Node42,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node42, Node42.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node43type = 'rect';
- var Node43 = new ht.Node(),
- Node43BorderWidth = 1*2;
- if (Node43type === 'arc') {
- Node43BorderWidth *= 1;
- }
- Node43.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node43.setPosition(530*ratio.ratioX, 76*ratio.ratioY);
- Node43.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node43.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node43.a('node.width', 121*_ratio.ratioX);
- Node43.a('node.height', 24.33138*_ratio.ratioY);
- Node43.a('node.type', Node43type);
- Node43.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node43.a('node.background', 'rgba(240,240,240,1)');
- Node43.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node43.a('node.gradient', '');
- Node43.a('node.borderwidth', Node43BorderWidth);
- Node43.a('node.color', 'rgba(224,224,224,1)');
- Node43.a('node.fillrect', [0,0,0,0]);
- Node43.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node43.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node43.a('node.fillgradient', '');
- if (Node43type !== 'rect') {
- Node43.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node43.a('node.arcTo', parseFloat('@arcTo@'));
- Node43.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node43type === 'arc') {
- Node43.a('node.arcOval', true);
- }
- Node43.setRotation(0*Math.PI/180);
- Node43.borderWidth = Node43BorderWidth;
- Node43.borderFillwidth = Node43BorderWidth;
- dataModel.add(Node43);
- Node43._nodename = 'Node43'
- Node43._nodeType = 'rect';
- zoomNodeList.push({
- node: Node43,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node43, Node43.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node44type = 'rect';
- var Node44 = new ht.Node(),
- Node44BorderWidth = 1*2;
- if (Node44type === 'arc') {
- Node44BorderWidth *= 1;
- }
- Node44.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(530*ratio.ratioX, 125*ratio.ratioY);
- Node44.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 121*_ratio.ratioX);
- Node44.a('node.height', 24.33136*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(240,240,240,1)');
- Node44.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node44.a('node.gradient', '');
- Node44.a('node.borderwidth', Node44BorderWidth);
- Node44.a('node.color', 'rgba(224,224,224,1)');
- Node44.a('node.fillrect', [0,0,0,0]);
- Node44.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node44.a('node.fillgradient', '');
- if (Node44type !== 'rect') {
- Node44.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node44.a('node.arcTo', parseFloat('@arcTo@'));
- Node44.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node44type === 'arc') {
- Node44.a('node.arcOval', true);
- }
- Node44.setRotation(0*Math.PI/180);
- Node44.borderWidth = Node44BorderWidth;
- Node44.borderFillwidth = Node44BorderWidth;
- dataModel.add(Node44);
- Node44._nodename = 'Node44'
- Node44._nodeType = 'rect';
- zoomNodeList.push({
- node: Node44,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node44, Node44.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node45type = 'rect';
- var Node45 = new ht.Node(),
- Node45BorderWidth = 1*2;
- if (Node45type === 'arc') {
- Node45BorderWidth *= 1;
- }
- Node45.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33136*_ratio.ratioY, Node45type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node45.setPosition(530*ratio.ratioX, 52*ratio.ratioY);
- Node45.setSize(121*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node45.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node45.a('node.width', 121*_ratio.ratioX);
- Node45.a('node.height', 24.33136*_ratio.ratioY);
- Node45.a('node.type', Node45type);
- Node45.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node45.a('node.background', 'rgba(240,240,240,1)');
- Node45.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node45.a('node.gradient', '');
- Node45.a('node.borderwidth', Node45BorderWidth);
- Node45.a('node.color', 'rgba(224,224,224,1)');
- Node45.a('node.fillrect', [0,0,0,0]);
- Node45.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node45.a('node.fillgradient', '');
- if (Node45type !== 'rect') {
- Node45.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node45.a('node.arcTo', parseFloat('@arcTo@'));
- Node45.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node45type === 'arc') {
- Node45.a('node.arcOval', true);
- }
- Node45.setRotation(0*Math.PI/180);
- Node45.borderWidth = Node45BorderWidth;
- Node45.borderFillwidth = Node45BorderWidth;
- dataModel.add(Node45);
- Node45._nodename = 'Node45'
- Node45._nodeType = 'rect';
- zoomNodeList.push({
- node: Node45,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node45, Node45.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46type = 'rect';
- var Node46 = new ht.Node(),
- Node46BorderWidth = 1*2;
- if (Node46type === 'arc') {
- Node46BorderWidth *= 1;
- }
- Node46.setImage(GD.getRectJSON(121*_ratio.ratioX, 24.33138*_ratio.ratioY, Node46type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node46.setPosition(530*ratio.ratioX, 149*ratio.ratioY);
- Node46.setSize(121*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node46.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node46.a('node.width', 121*_ratio.ratioX);
- Node46.a('node.height', 24.33138*_ratio.ratioY);
- Node46.a('node.type', Node46type);
- Node46.a('node.rect', [0, 0, 121*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node46.a('node.background', 'rgba(240,240,240,1)');
- Node46.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node46.a('node.gradient', '');
- Node46.a('node.borderwidth', Node46BorderWidth);
- Node46.a('node.color', 'rgba(224,224,224,1)');
- Node46.a('node.fillrect', [0,0,0,0]);
- Node46.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node46.a('node.fillgradient', '');
- if (Node46type !== 'rect') {
- Node46.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node46.a('node.arcTo', parseFloat('@arcTo@'));
- Node46.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node46type === 'arc') {
- Node46.a('node.arcOval', true);
- }
- Node46.setRotation(0*Math.PI/180);
- Node46.borderWidth = Node46BorderWidth;
- Node46.borderFillwidth = Node46BorderWidth;
- dataModel.add(Node46);
- Node46._nodename = 'Node46'
- Node46._nodeType = 'rect';
- zoomNodeList.push({
- node: Node46,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node46, Node46.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.Node();
- var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'center', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 113*_ratio.ratioX, Node47height = 26*_ratio.ratioY;
- (function () {
- if (Node47align === 'left') {
- Node47textStart = Node47fontSize * 0.2 > 2 ? Node47fontSize * 0.2 - 4 : Node47fontSize * 0.2 - 9;
- Node47textWidth = Node47width;
- Node47lineStart = 1;
- } else if (Node47align === 'right') {
- Node47textStart = 0;
- Node47textWidth =Node47fontSize <= 8 ? Node47width + Node47fontSize * 0.2 + 6 : Node47width - Node47fontSize * 0.2;
- Node47lineStart = (Node47width - (ht.Default.getTextSize('日维护损失电量', ' '+ Node47fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('日维护损失电量', ' '+ Node47fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "微软雅黑"'))
- Node47.setPosition(530*ratio.ratioX, 54*ratio.ratioY);
- Node47.setWidth(Node47width);
- Node47.setHeight(Node47height);
- Node47._nodeType = 'text';
- Node47._disallowEvert = true;
- Node47.setRotation(0*Math.PI/180);
- Node47.a('node.width', Node47width);
- Node47.a('node.height', Node47height);
- Node47.a('node.rect', [0, 0, Node47width, Node47height]);
- Node47.a('node.bordercolor','rgba(0,0,0,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','rgba(255,255,255,0)');
- Node47.a('node.text','日维护损失电量');
- Node47.a('node.textalign','center');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(0,0,0,1)');
- Node47.a('node.font',' '+ Node47fontSize + 'px "微软雅黑"');
- Node47.a('node.textvisible',true);
- Node47.a('node.linefeed',false);
- if (false) {
- Node47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47.a('node.text') || '日维护损失电量';
- var color=Node47.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"center",color,' '+ Node47fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node47fontSize + 'px "微软雅黑"').width + 6, (Node47height - Node47fontSize) * 0.5*_ratio.ratioY + Node47fontSize + 2 ]);
- Node47.a('node.underlinevisible',false);
- Node47.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node47);
- zoomNodeList.push({
- node: Node47,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node48 = new ht.Node();
- var Node48textStart, Node48textWidth, Node48lineStart, Node48align = 'center', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 113*_ratio.ratioX, Node48height = 26*_ratio.ratioY;
- (function () {
- if (Node48align === 'left') {
- Node48textStart = Node48fontSize * 0.2 > 2 ? Node48fontSize * 0.2 - 4 : Node48fontSize * 0.2 - 9;
- Node48textWidth = Node48width;
- Node48lineStart = 1;
- } else if (Node48align === 'right') {
- Node48textStart = 0;
- Node48textWidth =Node48fontSize <= 8 ? Node48width + Node48fontSize * 0.2 + 6 : Node48width - Node48fontSize * 0.2;
- Node48lineStart = (Node48width - (ht.Default.getTextSize('日故障损失电量', ' '+ Node48fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node48align === 'center') {
- Node48textStart = -3;
- Node48textWidth = Node48width;
- Node48lineStart = Node48width - ht.Default.getTextSize('日故障损失电量', ' '+ Node48fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "微软雅黑"'))
- Node48.setPosition(531*ratio.ratioX, 78*ratio.ratioY);
- Node48.setWidth(Node48width);
- Node48.setHeight(Node48height);
- Node48._nodeType = 'text';
- Node48._disallowEvert = true;
- Node48.setRotation(0*Math.PI/180);
- Node48.a('node.width', Node48width);
- Node48.a('node.height', Node48height);
- Node48.a('node.rect', [0, 0, Node48width, Node48height]);
- Node48.a('node.bordercolor','rgba(0,0,0,1)');
- Node48.a('node.borderwidth', 0);
- Node48.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','rgba(255,255,255,0)');
- Node48.a('node.text','日故障损失电量');
- Node48.a('node.textalign','center');
- Node48.a('node.textvAlign','middle');
- Node48.a('node.textrect', [Node48textStart, 0, Node48textWidth, Node48height]);
- Node48.a('node.color','rgba(0,0,0,1)');
- Node48.a('node.font',' '+ Node48fontSize + 'px "微软雅黑"');
- Node48.a('node.textvisible',true);
- Node48.a('node.linefeed',false);
- if (false) {
- Node48.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node48.a('node.text') || '日故障损失电量';
- var color=Node48.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node48width,Node48height,13.3333*_ratio.ratioY,"center",color,' '+ Node48fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node48.a('node.underlinepoints',[Node48lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node48fontSize + 'px "微软雅黑"').width + 6, (Node48height - Node48fontSize) * 0.5*_ratio.ratioY + Node48fontSize + 2 ]);
- Node48.a('node.underlinevisible',false);
- Node48.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node48);
- zoomNodeList.push({
- node: Node48,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node49 = new ht.Node();
- var Node49textStart, Node49textWidth, Node49lineStart, Node49align = 'center', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 113*_ratio.ratioX, Node49height = 26*_ratio.ratioY;
- (function () {
- if (Node49align === 'left') {
- Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
- Node49textWidth = Node49width;
- Node49lineStart = 1;
- } else if (Node49align === 'right') {
- Node49textStart = 0;
- Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
- Node49lineStart = (Node49width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node49fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('日限电损失电量', ' '+ Node49fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "微软雅黑"'))
- Node49.setPosition(531*ratio.ratioX, 103*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(0,0,0,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','rgba(255,255,255,0)');
- Node49.a('node.text','日限电损失电量');
- Node49.a('node.textalign','center');
- Node49.a('node.textvAlign','middle');
- Node49.a('node.textrect', [Node49textStart, 0, Node49textWidth, Node49height]);
- Node49.a('node.color','rgba(0,0,0,1)');
- Node49.a('node.font',' '+ Node49fontSize + 'px "微软雅黑"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '日限电损失电量';
- var color=Node49.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"center",color,' '+ Node49fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node49fontSize + 'px "微软雅黑"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'center', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 113*_ratio.ratioX, Node50height = 26*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node50fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('日受累损失电量', ' '+ Node50fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "微软雅黑"'))
- Node50.setPosition(531*ratio.ratioX, 127*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(0,0,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','rgba(255,255,255,0)');
- Node50.a('node.text','日受累损失电量');
- Node50.a('node.textalign','center');
- Node50.a('node.textvAlign','middle');
- Node50.a('node.textrect', [Node50textStart, 0, Node50textWidth, Node50height]);
- Node50.a('node.color','rgba(0,0,0,1)');
- Node50.a('node.font',' '+ Node50fontSize + 'px "微软雅黑"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '日受累损失电量';
- var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"center",color,' '+ Node50fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node50fontSize + 'px "微软雅黑"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.Node();
- var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'center', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 113*_ratio.ratioX, Node51height = 32*_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 "微软雅黑"').width + 6)) * 0.5;
- } else if (Node51align === 'center') {
- Node51textStart = -3;
- Node51textWidth = Node51width;
- Node51lineStart = Node51width - ht.Default.getTextSize('日性能损失电量', ' '+ Node51fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, ' '+ Node51fontSize + 'px "微软雅黑"'))
- Node51.setPosition(532*ratio.ratioX, 151*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(64,64,64,1)');
- Node51.a('node.borderwidth', 0);
- Node51.a('node.background','rgba(255,255,255,0)' || 'rgba(0,0,0,0)');
- Node51.a('node.gradient','');
- Node51.a('node.gradientcolor','rgba(255,255,255,0)');
- Node51.a('node.text','日性能损失电量');
- Node51.a('node.textalign','center');
- Node51.a('node.textvAlign','middle');
- Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
- Node51.a('node.color','rgba(64,64,64,1)');
- Node51.a('node.font',' '+ Node51fontSize + 'px "微软雅黑"');
- 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(64,64,64,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"center",color,' '+ Node51fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node51.a('node.underlinepoints',[Node51lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node51fontSize + 'px "微软雅黑"').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 Node52type = 'rect';
- var Node52 = new ht.Node(),
- Node52BorderWidth = 1*2;
- if (Node52type === 'arc') {
- Node52BorderWidth *= 1;
- }
- Node52.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node52type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node52.setPosition(811*ratio.ratioX, 100*ratio.ratioY);
- Node52.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node52.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node52.a('node.width', 117*_ratio.ratioX);
- Node52.a('node.height', 24.33138*_ratio.ratioY);
- Node52.a('node.type', Node52type);
- Node52.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node52.a('node.background', 'rgba(240,240,240,1)');
- Node52.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node52.a('node.gradient', '');
- Node52.a('node.borderwidth', Node52BorderWidth);
- Node52.a('node.color', 'rgba(224,224,224,1)');
- Node52.a('node.fillrect', [0,0,0,0]);
- Node52.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node52.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node52.a('node.fillgradient', '');
- if (Node52type !== 'rect') {
- Node52.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node52.a('node.arcTo', parseFloat('@arcTo@'));
- Node52.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node52type === 'arc') {
- Node52.a('node.arcOval', true);
- }
- Node52.setRotation(0*Math.PI/180);
- Node52.borderWidth = Node52BorderWidth;
- Node52.borderFillwidth = Node52BorderWidth;
- dataModel.add(Node52);
- Node52._nodename = 'Node52'
- Node52._nodeType = 'rect';
- zoomNodeList.push({
- node: Node52,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node52, Node52.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53type = 'rect';
- var Node53 = new ht.Node(),
- Node53BorderWidth = 1*2;
- if (Node53type === 'arc') {
- Node53BorderWidth *= 1;
- }
- Node53.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node53type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node53.setPosition(811*ratio.ratioX, 76*ratio.ratioY);
- Node53.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node53.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node53.a('node.width', 117*_ratio.ratioX);
- Node53.a('node.height', 24.33138*_ratio.ratioY);
- Node53.a('node.type', Node53type);
- Node53.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node53.a('node.background', 'rgba(240,240,240,1)');
- Node53.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node53.a('node.gradient', '');
- Node53.a('node.borderwidth', Node53BorderWidth);
- Node53.a('node.color', 'rgba(224,224,224,1)');
- Node53.a('node.fillrect', [0,0,0,0]);
- Node53.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node53.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node53.a('node.fillgradient', '');
- if (Node53type !== 'rect') {
- Node53.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node53.a('node.arcTo', parseFloat('@arcTo@'));
- Node53.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node53type === 'arc') {
- Node53.a('node.arcOval', true);
- }
- Node53.setRotation(0*Math.PI/180);
- Node53.borderWidth = Node53BorderWidth;
- Node53.borderFillwidth = Node53BorderWidth;
- dataModel.add(Node53);
- Node53._nodename = 'Node53'
- Node53._nodeType = 'rect';
- zoomNodeList.push({
- node: Node53,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node53, Node53.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54type = 'rect';
- var Node54 = new ht.Node(),
- Node54BorderWidth = 1*2;
- if (Node54type === 'arc') {
- Node54BorderWidth *= 1;
- }
- Node54.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node54type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node54.setPosition(811*ratio.ratioX, 125*ratio.ratioY);
- Node54.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node54.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node54.a('node.width', 117*_ratio.ratioX);
- Node54.a('node.height', 24.33136*_ratio.ratioY);
- Node54.a('node.type', Node54type);
- Node54.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node54.a('node.background', 'rgba(240,240,240,1)');
- Node54.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node54.a('node.gradient', '');
- Node54.a('node.borderwidth', Node54BorderWidth);
- Node54.a('node.color', 'rgba(224,224,224,1)');
- Node54.a('node.fillrect', [0,0,0,0]);
- Node54.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node54.a('node.fillgradient', '');
- if (Node54type !== 'rect') {
- Node54.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node54.a('node.arcTo', parseFloat('@arcTo@'));
- Node54.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node54type === 'arc') {
- Node54.a('node.arcOval', true);
- }
- Node54.setRotation(0*Math.PI/180);
- Node54.borderWidth = Node54BorderWidth;
- Node54.borderFillwidth = Node54BorderWidth;
- dataModel.add(Node54);
- Node54._nodename = 'Node54'
- Node54._nodeType = 'rect';
- zoomNodeList.push({
- node: Node54,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node54, Node54.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55type = 'rect';
- var Node55 = new ht.Node(),
- Node55BorderWidth = 1*2;
- if (Node55type === 'arc') {
- Node55BorderWidth *= 1;
- }
- Node55.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node55type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node55.setPosition(811*ratio.ratioX, 52*ratio.ratioY);
- Node55.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node55.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node55.a('node.width', 117*_ratio.ratioX);
- Node55.a('node.height', 24.33136*_ratio.ratioY);
- Node55.a('node.type', Node55type);
- Node55.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node55.a('node.background', 'rgba(240,240,240,1)');
- Node55.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node55.a('node.gradient', '');
- Node55.a('node.borderwidth', Node55BorderWidth);
- Node55.a('node.color', 'rgba(224,224,224,1)');
- Node55.a('node.fillrect', [0,0,0,0]);
- Node55.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node55.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node55.a('node.fillgradient', '');
- if (Node55type !== 'rect') {
- Node55.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node55.a('node.arcTo', parseFloat('@arcTo@'));
- Node55.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node55type === 'arc') {
- Node55.a('node.arcOval', true);
- }
- Node55.setRotation(0*Math.PI/180);
- Node55.borderWidth = Node55BorderWidth;
- Node55.borderFillwidth = Node55BorderWidth;
- dataModel.add(Node55);
- Node55._nodename = 'Node55'
- Node55._nodeType = 'rect';
- zoomNodeList.push({
- node: Node55,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node55, Node55.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56type = 'rect';
- var Node56 = new ht.Node(),
- Node56BorderWidth = 1*2;
- if (Node56type === 'arc') {
- Node56BorderWidth *= 1;
- }
- Node56.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node56type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node56.setPosition(811*ratio.ratioX, 149*ratio.ratioY);
- Node56.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node56.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node56.a('node.width', 117*_ratio.ratioX);
- Node56.a('node.height', 24.33138*_ratio.ratioY);
- Node56.a('node.type', Node56type);
- Node56.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node56.a('node.background', 'rgba(240,240,240,1)');
- Node56.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node56.a('node.gradient', '');
- Node56.a('node.borderwidth', Node56BorderWidth);
- Node56.a('node.color', 'rgba(224,224,224,1)');
- Node56.a('node.fillrect', [0,0,0,0]);
- Node56.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node56.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node56.a('node.fillgradient', '');
- if (Node56type !== 'rect') {
- Node56.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node56.a('node.arcTo', parseFloat('@arcTo@'));
- Node56.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node56type === 'arc') {
- Node56.a('node.arcOval', true);
- }
- Node56.setRotation(0*Math.PI/180);
- Node56.borderWidth = Node56BorderWidth;
- Node56.borderFillwidth = Node56BorderWidth;
- dataModel.add(Node56);
- Node56._nodename = 'Node56'
- Node56._nodeType = 'rect';
- zoomNodeList.push({
- node: Node56,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node56, Node56.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'center', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 110*_ratio.ratioX, Node57height = 26*_ratio.ratioY;
- (function () {
- if (Node57align === 'left') {
- Node57textStart = Node57fontSize * 0.2 > 2 ? Node57fontSize * 0.2 - 4 : Node57fontSize * 0.2 - 9;
- Node57textWidth = Node57width;
- Node57lineStart = 1;
- } else if (Node57align === 'right') {
- Node57textStart = 0;
- Node57textWidth =Node57fontSize <= 8 ? Node57width + Node57fontSize * 0.2 + 6 : Node57width - Node57fontSize * 0.2;
- Node57lineStart = (Node57width - (ht.Default.getTextSize('月维护损失电量', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('月维护损失电量', ' '+ Node57fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "微软雅黑"'))
- Node57.setPosition(811*ratio.ratioX, 54*ratio.ratioY);
- Node57.setWidth(Node57width);
- Node57.setHeight(Node57height);
- Node57._nodeType = 'text';
- Node57._disallowEvert = true;
- Node57.setRotation(0*Math.PI/180);
- Node57.a('node.width', Node57width);
- Node57.a('node.height', Node57height);
- Node57.a('node.rect', [0, 0, Node57width, Node57height]);
- Node57.a('node.bordercolor','rgba(0,0,0,1)');
- Node57.a('node.borderwidth', 0);
- Node57.a('node.background','' || 'rgba(0,0,0,0)');
- Node57.a('node.gradient','');
- Node57.a('node.gradientcolor','');
- Node57.a('node.text','月维护损失电量');
- Node57.a('node.textalign','center');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(0,0,0,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "微软雅黑"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '月维护损失电量';
- var color=Node57.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"center",color,' '+ Node57fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node57fontSize + 'px "微软雅黑"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'center', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 110*_ratio.ratioX, Node58height = 26*_ratio.ratioY;
- (function () {
- if (Node58align === 'left') {
- Node58textStart = Node58fontSize * 0.2 > 2 ? Node58fontSize * 0.2 - 4 : Node58fontSize * 0.2 - 9;
- Node58textWidth = Node58width;
- Node58lineStart = 1;
- } else if (Node58align === 'right') {
- Node58textStart = 0;
- Node58textWidth =Node58fontSize <= 8 ? Node58width + Node58fontSize * 0.2 + 6 : Node58width - Node58fontSize * 0.2;
- Node58lineStart = (Node58width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node58fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('月故障损失电量', ' '+ Node58fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "微软雅黑"'))
- Node58.setPosition(811*ratio.ratioX, 78*ratio.ratioY);
- Node58.setWidth(Node58width);
- Node58.setHeight(Node58height);
- Node58._nodeType = 'text';
- Node58._disallowEvert = true;
- Node58.setRotation(0*Math.PI/180);
- Node58.a('node.width', Node58width);
- Node58.a('node.height', Node58height);
- Node58.a('node.rect', [0, 0, Node58width, Node58height]);
- Node58.a('node.bordercolor','rgba(0,0,0,1)');
- Node58.a('node.borderwidth', 0);
- Node58.a('node.background','' || 'rgba(0,0,0,0)');
- Node58.a('node.gradient','');
- Node58.a('node.gradientcolor','');
- Node58.a('node.text','月故障损失电量');
- Node58.a('node.textalign','center');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(0,0,0,1)');
- Node58.a('node.font',' '+ Node58fontSize + 'px "微软雅黑"');
- Node58.a('node.textvisible',true);
- Node58.a('node.linefeed',false);
- if (false) {
- Node58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node58.a('node.text') || '月故障损失电量';
- var color=Node58.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"center",color,' '+ Node58fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node58fontSize + 'px "微软雅黑"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
- Node58.a('node.underlinevisible',false);
- Node58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node58);
- zoomNodeList.push({
- node: Node58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59 = new ht.Node();
- var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'center', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 110*_ratio.ratioX, Node59height = 26*_ratio.ratioY;
- (function () {
- if (Node59align === 'left') {
- Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
- Node59textWidth = Node59width;
- Node59lineStart = 1;
- } else if (Node59align === 'right') {
- Node59textStart = 0;
- Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
- Node59lineStart = (Node59width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('月限电损失电量', ' '+ Node59fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "微软雅黑"'))
- Node59.setPosition(811*ratio.ratioX, 103*ratio.ratioY);
- Node59.setWidth(Node59width);
- Node59.setHeight(Node59height);
- Node59._nodeType = 'text';
- Node59._disallowEvert = true;
- Node59.setRotation(0*Math.PI/180);
- Node59.a('node.width', Node59width);
- Node59.a('node.height', Node59height);
- Node59.a('node.rect', [0, 0, Node59width, Node59height]);
- Node59.a('node.bordercolor','rgba(0,0,0,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','月限电损失电量');
- Node59.a('node.textalign','center');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(0,0,0,1)');
- Node59.a('node.font',' '+ Node59fontSize + 'px "微软雅黑"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '月限电损失电量';
- var color=Node59.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"center",color,' '+ Node59fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node59fontSize + 'px "微软雅黑"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'center', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 110*_ratio.ratioX, Node60height = 26*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node60fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('月受累损失电量', ' '+ Node60fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "微软雅黑"'))
- Node60.setPosition(811*ratio.ratioX, 127*ratio.ratioY);
- Node60.setWidth(Node60width);
- Node60.setHeight(Node60height);
- Node60._nodeType = 'text';
- Node60._disallowEvert = true;
- Node60.setRotation(0*Math.PI/180);
- Node60.a('node.width', Node60width);
- Node60.a('node.height', Node60height);
- Node60.a('node.rect', [0, 0, Node60width, Node60height]);
- Node60.a('node.bordercolor','rgba(0,0,0,1)');
- Node60.a('node.borderwidth', 0);
- Node60.a('node.background','' || 'rgba(0,0,0,0)');
- Node60.a('node.gradient','');
- Node60.a('node.gradientcolor','');
- Node60.a('node.text','月受累损失电量');
- Node60.a('node.textalign','center');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(0,0,0,1)');
- Node60.a('node.font',' '+ Node60fontSize + 'px "微软雅黑"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '月受累损失电量';
- var color=Node60.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"center",color,' '+ Node60fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node60fontSize + 'px "微软雅黑"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node61 = new ht.Node();
- var Node61textStart, Node61textWidth, Node61lineStart, Node61align = 'center', Node61fontSize = 13.3333*_ratio.ratioY,Node61width = 110*_ratio.ratioX, Node61height = 32*_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('月性能损失电量', ' '+ Node61fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node61align === 'center') {
- Node61textStart = -3;
- Node61textWidth = Node61width;
- Node61lineStart = Node61width - ht.Default.getTextSize('月性能损失电量', ' '+ Node61fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node61.setImage(GD.getTextJSON(Node61width, Node61height, true, false, false, ' '+ Node61fontSize + 'px "微软雅黑"'))
- Node61.setPosition(811*ratio.ratioX, 151*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(0,0,0,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','月性能损失电量');
- Node61.a('node.textalign','center');
- Node61.a('node.textvAlign','middle');
- Node61.a('node.textrect', [Node61textStart, 0, Node61textWidth, Node61height]);
- Node61.a('node.color','rgba(0,0,0,1)');
- Node61.a('node.font',' '+ Node61fontSize + 'px "微软雅黑"');
- 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') || '月性能损失电量';
- var color=Node61.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node61width,Node61height,13.3333*_ratio.ratioY,"center",color,' '+ Node61fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node61.a('node.underlinepoints',[Node61lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node61fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node61fontSize + 'px "微软雅黑"').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 Node62type = 'rect';
- var Node62 = new ht.Node(),
- Node62BorderWidth = 1*2;
- if (Node62type === 'arc') {
- Node62BorderWidth *= 1;
- }
- Node62.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node62type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node62.setPosition(917*ratio.ratioX, 52*ratio.ratioY);
- Node62.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node62.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node62.a('node.width', 95*_ratio.ratioX);
- Node62.a('node.height', 24.33136*_ratio.ratioY);
- Node62.a('node.type', Node62type);
- Node62.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node62.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node62.a('node.gradientcolor', '');
- Node62.a('node.gradient', '');
- Node62.a('node.borderwidth', Node62BorderWidth);
- Node62.a('node.color', 'rgba(224,224,224,1)');
- Node62.a('node.fillrect', [0,0,0,0]);
- Node62.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node62.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node62.a('node.fillgradient', '');
- if (Node62type !== 'rect') {
- Node62.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node62.a('node.arcTo', parseFloat('@arcTo@'));
- Node62.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node62type === 'arc') {
- Node62.a('node.arcOval', true);
- }
- Node62.setRotation(0*Math.PI/180);
- Node62.borderWidth = Node62BorderWidth;
- Node62.borderFillwidth = Node62BorderWidth;
- dataModel.add(Node62);
- Node62._nodename = 'Node62'
- Node62._nodeType = 'rect';
- zoomNodeList.push({
- node: Node62,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node62, Node62.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node63type = 'rect';
- var Node63 = new ht.Node(),
- Node63BorderWidth = 1*2;
- if (Node63type === 'arc') {
- Node63BorderWidth *= 1;
- }
- Node63.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node63type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node63.setPosition(917*ratio.ratioX, 76*ratio.ratioY);
- Node63.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node63.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node63.a('node.width', 95*_ratio.ratioX);
- Node63.a('node.height', 24.33138*_ratio.ratioY);
- Node63.a('node.type', Node63type);
- Node63.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node63.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node63.a('node.gradientcolor', '');
- Node63.a('node.gradient', '');
- Node63.a('node.borderwidth', Node63BorderWidth);
- Node63.a('node.color', 'rgba(224,224,224,1)');
- Node63.a('node.fillrect', [0,0,0,0]);
- Node63.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node63.a('node.fillgradient', '');
- if (Node63type !== 'rect') {
- Node63.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node63.a('node.arcTo', parseFloat('@arcTo@'));
- Node63.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node63type === 'arc') {
- Node63.a('node.arcOval', true);
- }
- Node63.setRotation(0*Math.PI/180);
- Node63.borderWidth = Node63BorderWidth;
- Node63.borderFillwidth = Node63BorderWidth;
- dataModel.add(Node63);
- Node63._nodename = 'Node63'
- Node63._nodeType = 'rect';
- zoomNodeList.push({
- node: Node63,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node63, Node63.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node64type = 'rect';
- var Node64 = new ht.Node(),
- Node64BorderWidth = 1*2;
- if (Node64type === 'arc') {
- Node64BorderWidth *= 1;
- }
- Node64.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node64type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node64.setPosition(917*ratio.ratioX, 100*ratio.ratioY);
- Node64.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node64.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node64.a('node.width', 95*_ratio.ratioX);
- Node64.a('node.height', 24.33138*_ratio.ratioY);
- Node64.a('node.type', Node64type);
- Node64.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node64.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node64.a('node.gradientcolor', '');
- Node64.a('node.gradient', '');
- Node64.a('node.borderwidth', Node64BorderWidth);
- Node64.a('node.color', 'rgba(224,224,224,1)');
- Node64.a('node.fillrect', [0,0,0,0]);
- Node64.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node64.a('node.fillgradient', '');
- if (Node64type !== 'rect') {
- Node64.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node64.a('node.arcTo', parseFloat('@arcTo@'));
- Node64.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node64type === 'arc') {
- Node64.a('node.arcOval', true);
- }
- Node64.setRotation(0*Math.PI/180);
- Node64.borderWidth = Node64BorderWidth;
- Node64.borderFillwidth = Node64BorderWidth;
- dataModel.add(Node64);
- Node64._nodename = 'Node64'
- Node64._nodeType = 'rect';
- zoomNodeList.push({
- node: Node64,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node64, Node64.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node65type = 'rect';
- var Node65 = new ht.Node(),
- Node65BorderWidth = 1*2;
- if (Node65type === 'arc') {
- Node65BorderWidth *= 1;
- }
- Node65.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node65type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node65.setPosition(917*ratio.ratioX, 125*ratio.ratioY);
- Node65.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node65.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node65.a('node.width', 95*_ratio.ratioX);
- Node65.a('node.height', 24.33136*_ratio.ratioY);
- Node65.a('node.type', Node65type);
- Node65.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node65.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node65.a('node.gradientcolor', '');
- Node65.a('node.gradient', '');
- Node65.a('node.borderwidth', Node65BorderWidth);
- Node65.a('node.color', 'rgba(224,224,224,1)');
- Node65.a('node.fillrect', [0,0,0,0]);
- Node65.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node65.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node65.a('node.fillgradient', '');
- if (Node65type !== 'rect') {
- Node65.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node65.a('node.arcTo', parseFloat('@arcTo@'));
- Node65.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node65type === 'arc') {
- Node65.a('node.arcOval', true);
- }
- Node65.setRotation(0*Math.PI/180);
- Node65.borderWidth = Node65BorderWidth;
- Node65.borderFillwidth = Node65BorderWidth;
- dataModel.add(Node65);
- Node65._nodename = 'Node65'
- Node65._nodeType = 'rect';
- zoomNodeList.push({
- node: Node65,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node65, Node65.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node66type = 'rect';
- var Node66 = new ht.Node(),
- Node66BorderWidth = 1*2;
- if (Node66type === 'arc') {
- Node66BorderWidth *= 1;
- }
- Node66.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node66.setPosition(917*ratio.ratioX, 149*ratio.ratioY);
- Node66.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node66.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node66.a('node.width', 95*_ratio.ratioX);
- Node66.a('node.height', 24.33138*_ratio.ratioY);
- Node66.a('node.type', Node66type);
- Node66.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node66.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node66.a('node.gradientcolor', '');
- Node66.a('node.gradient', '');
- Node66.a('node.borderwidth', Node66BorderWidth);
- Node66.a('node.color', 'rgba(224,224,224,1)');
- Node66.a('node.fillrect', [0,0,0,0]);
- Node66.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node66.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node66.a('node.fillgradient', '');
- if (Node66type !== 'rect') {
- Node66.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node66.a('node.arcTo', parseFloat('@arcTo@'));
- Node66.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node66type === 'arc') {
- Node66.a('node.arcOval', true);
- }
- Node66.setRotation(0*Math.PI/180);
- Node66.borderWidth = Node66BorderWidth;
- Node66.borderFillwidth = Node66BorderWidth;
- dataModel.add(Node66);
- Node66._nodename = 'Node66'
- Node66._nodeType = 'rect';
- zoomNodeList.push({
- node: Node66,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node66, Node66.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node67type = 'rect';
- var Node67 = new ht.Node(),
- Node67BorderWidth = 1*2;
- if (Node67type === 'arc') {
- Node67BorderWidth *= 1;
- }
- Node67.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node67type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node67.setPosition(997*ratio.ratioX, 52*ratio.ratioY);
- Node67.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node67.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node67.a('node.width', 65*_ratio.ratioX);
- Node67.a('node.height', 24.33136*_ratio.ratioY);
- Node67.a('node.type', Node67type);
- Node67.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node67.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node67.a('node.gradientcolor', '');
- Node67.a('node.gradient', '');
- Node67.a('node.borderwidth', Node67BorderWidth);
- Node67.a('node.color', 'rgba(224,224,224,1)');
- Node67.a('node.fillrect', [0,0,0,0]);
- Node67.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node67.a('node.fillgradient', '');
- if (Node67type !== 'rect') {
- Node67.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node67.a('node.arcTo', parseFloat('@arcTo@'));
- Node67.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node67type === 'arc') {
- Node67.a('node.arcOval', true);
- }
- Node67.setRotation(0*Math.PI/180);
- Node67.borderWidth = Node67BorderWidth;
- Node67.borderFillwidth = Node67BorderWidth;
- dataModel.add(Node67);
- Node67._nodename = 'Node67'
- Node67._nodeType = 'rect';
- zoomNodeList.push({
- node: Node67,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node67, Node67.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68 = new ht.Node();
- var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'center', Node68fontSize = 14.66663*_ratio.ratioY,Node68width = 59*_ratio.ratioX, Node68height = 26*_ratio.ratioY;
- (function () {
- if (Node68align === 'left') {
- Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9;
- Node68textWidth = Node68width;
- Node68lineStart = 1;
- } else if (Node68align === 'right') {
- Node68textStart = 0;
- Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2;
- Node68lineStart = (Node68width - (ht.Default.getTextSize('0', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node68align === 'center') {
- Node68textStart = -3;
- Node68textWidth = Node68width;
- Node68lineStart = Node68width - ht.Default.getTextSize('0', ' '+ Node68fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"'))
- Node68.setPosition(917*ratio.ratioX, 54*ratio.ratioY);
- Node68.setWidth(Node68width);
- Node68.setHeight(Node68height);
- Node68._nodeType = 'text';
- Node68._disallowEvert = true;
- Node68.setRotation(0*Math.PI/180);
- Node68.a('node.width', Node68width);
- Node68.a('node.height', Node68height);
- Node68.a('node.rect', [0, 0, Node68width, Node68height]);
- Node68.a('node.bordercolor','rgba(0,0,0,1)');
- Node68.a('node.borderwidth', 0);
- Node68.a('node.background','' || 'rgba(0,0,0,0)');
- Node68.a('node.gradient','');
- Node68.a('node.gradientcolor','');
- Node68.a('node.text','0');
- Node68.a('node.textalign','center');
- Node68.a('node.textvAlign','middle');
- Node68.a('node.textrect', [Node68textStart, 0, Node68textWidth, Node68height]);
- Node68.a('node.color','rgba(0,0,0,1)');
- Node68.a('node.font',' '+ Node68fontSize + 'px "Arial"');
- Node68.a('node.textvisible',true);
- Node68.a('node.linefeed',false);
- if (false) {
- Node68.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node68.a('node.text') || '0';
- var color=Node68.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node68width,Node68height,14.66663*_ratio.ratioY,"center",color,' '+ Node68fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node68.a('node.underlinepoints',[Node68lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
- Node68.a('node.underlinevisible',false);
- Node68.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node68);
- zoomNodeList.push({
- node: Node68,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69 = new ht.Node();
- var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'center', Node69fontSize = 14.66663*_ratio.ratioY,Node69width = 59*_ratio.ratioX, Node69height = 26*_ratio.ratioY;
- (function () {
- if (Node69align === 'left') {
- Node69textStart = Node69fontSize * 0.2 > 2 ? Node69fontSize * 0.2 - 4 : Node69fontSize * 0.2 - 9;
- Node69textWidth = Node69width;
- Node69lineStart = 1;
- } else if (Node69align === 'right') {
- Node69textStart = 0;
- Node69textWidth =Node69fontSize <= 8 ? Node69width + Node69fontSize * 0.2 + 6 : Node69width - Node69fontSize * 0.2;
- Node69lineStart = (Node69width - (ht.Default.getTextSize('0', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node69align === 'center') {
- Node69textStart = -3;
- Node69textWidth = Node69width;
- Node69lineStart = Node69width - ht.Default.getTextSize('0', ' '+ Node69fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
- Node69.setPosition(917*ratio.ratioX, 78*ratio.ratioY);
- Node69.setWidth(Node69width);
- Node69.setHeight(Node69height);
- Node69._nodeType = 'text';
- Node69._disallowEvert = true;
- Node69.setRotation(0*Math.PI/180);
- Node69.a('node.width', Node69width);
- Node69.a('node.height', Node69height);
- Node69.a('node.rect', [0, 0, Node69width, Node69height]);
- Node69.a('node.bordercolor','rgba(0,0,0,1)');
- Node69.a('node.borderwidth', 0);
- Node69.a('node.background','' || 'rgba(0,0,0,0)');
- Node69.a('node.gradient','');
- Node69.a('node.gradientcolor','');
- Node69.a('node.text','0');
- Node69.a('node.textalign','center');
- Node69.a('node.textvAlign','middle');
- Node69.a('node.textrect', [Node69textStart, 0, Node69textWidth, Node69height]);
- Node69.a('node.color','rgba(0,0,0,1)');
- Node69.a('node.font',' '+ Node69fontSize + 'px "Arial"');
- Node69.a('node.textvisible',true);
- Node69.a('node.linefeed',false);
- if (false) {
- Node69.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node69.a('node.text') || '0';
- var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node69width,Node69height,14.66663*_ratio.ratioY,"center",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node69.a('node.underlinepoints',[Node69lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node69fontSize + 'px "Arial"').width + 6, (Node69height - Node69fontSize) * 0.5*_ratio.ratioY + Node69fontSize + 2 ]);
- Node69.a('node.underlinevisible',false);
- Node69.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node69);
- zoomNodeList.push({
- node: Node69,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node70 = new ht.Node();
- var Node70textStart, Node70textWidth, Node70lineStart, Node70align = 'center', Node70fontSize = 14.66663*_ratio.ratioY,Node70width = 59*_ratio.ratioX, Node70height = 26*_ratio.ratioY;
- (function () {
- if (Node70align === 'left') {
- Node70textStart = Node70fontSize * 0.2 > 2 ? Node70fontSize * 0.2 - 4 : Node70fontSize * 0.2 - 9;
- Node70textWidth = Node70width;
- Node70lineStart = 1;
- } else if (Node70align === 'right') {
- Node70textStart = 0;
- Node70textWidth =Node70fontSize <= 8 ? Node70width + Node70fontSize * 0.2 + 6 : Node70width - Node70fontSize * 0.2;
- Node70lineStart = (Node70width - (ht.Default.getTextSize('0', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node70align === 'center') {
- Node70textStart = -3;
- Node70textWidth = Node70width;
- Node70lineStart = Node70width - ht.Default.getTextSize('0', ' '+ Node70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"'))
- Node70.setPosition(917*ratio.ratioX, 103*ratio.ratioY);
- Node70.setWidth(Node70width);
- Node70.setHeight(Node70height);
- Node70._nodeType = 'text';
- Node70._disallowEvert = true;
- Node70.setRotation(0*Math.PI/180);
- Node70.a('node.width', Node70width);
- Node70.a('node.height', Node70height);
- Node70.a('node.rect', [0, 0, Node70width, Node70height]);
- Node70.a('node.bordercolor','rgba(0,0,0,1)');
- Node70.a('node.borderwidth', 0);
- Node70.a('node.background','' || 'rgba(0,0,0,0)');
- Node70.a('node.gradient','');
- Node70.a('node.gradientcolor','');
- Node70.a('node.text','0');
- Node70.a('node.textalign','center');
- Node70.a('node.textvAlign','middle');
- Node70.a('node.textrect', [Node70textStart, 0, Node70textWidth, Node70height]);
- Node70.a('node.color','rgba(0,0,0,1)');
- Node70.a('node.font',' '+ Node70fontSize + 'px "Arial"');
- Node70.a('node.textvisible',true);
- Node70.a('node.linefeed',false);
- if (false) {
- Node70.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node70.a('node.text') || '0';
- var color=Node70.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node70width,Node70height,14.66663*_ratio.ratioY,"center",color,' '+ Node70fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node70.a('node.underlinepoints',[Node70lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
- Node70.a('node.underlinevisible',false);
- Node70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node70);
- zoomNodeList.push({
- node: Node70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'center', Node71fontSize = 14.66663*_ratio.ratioY,Node71width = 59*_ratio.ratioX, Node71height = 26*_ratio.ratioY;
- (function () {
- if (Node71align === 'left') {
- Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
- Node71textWidth = Node71width;
- Node71lineStart = 1;
- } else if (Node71align === 'right') {
- Node71textStart = 0;
- Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
- Node71lineStart = (Node71width - (ht.Default.getTextSize('0', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('0', ' '+ Node71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
- Node71.setPosition(917*ratio.ratioX, 126*ratio.ratioY);
- Node71.setWidth(Node71width);
- Node71.setHeight(Node71height);
- Node71._nodeType = 'text';
- Node71._disallowEvert = true;
- Node71.setRotation(0*Math.PI/180);
- Node71.a('node.width', Node71width);
- Node71.a('node.height', Node71height);
- Node71.a('node.rect', [0, 0, Node71width, Node71height]);
- Node71.a('node.bordercolor','rgba(0,0,0,1)');
- Node71.a('node.borderwidth', 0);
- Node71.a('node.background','' || 'rgba(0,0,0,0)');
- Node71.a('node.gradient','');
- Node71.a('node.gradientcolor','');
- Node71.a('node.text','0');
- Node71.a('node.textalign','center');
- Node71.a('node.textvAlign','middle');
- Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
- Node71.a('node.color','rgba(0,0,0,1)');
- Node71.a('node.font',' '+ Node71fontSize + 'px "Arial"');
- Node71.a('node.textvisible',true);
- Node71.a('node.linefeed',false);
- if (false) {
- Node71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node71.a('node.text') || '0';
- var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node71width,Node71height,14.66663*_ratio.ratioY,"center",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
- Node71.a('node.underlinevisible',false);
- Node71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node71);
- zoomNodeList.push({
- node: Node71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72 = new ht.Node();
- var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'center', Node72fontSize = 14.66663*_ratio.ratioY,Node72width = 59*_ratio.ratioX, Node72height = 26*_ratio.ratioY;
- (function () {
- if (Node72align === 'left') {
- Node72textStart = Node72fontSize * 0.2 > 2 ? Node72fontSize * 0.2 - 4 : Node72fontSize * 0.2 - 9;
- Node72textWidth = Node72width;
- Node72lineStart = 1;
- } else if (Node72align === 'right') {
- Node72textStart = 0;
- Node72textWidth =Node72fontSize <= 8 ? Node72width + Node72fontSize * 0.2 + 6 : Node72width - Node72fontSize * 0.2;
- Node72lineStart = (Node72width - (ht.Default.getTextSize('0', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node72align === 'center') {
- Node72textStart = -3;
- Node72textWidth = Node72width;
- Node72lineStart = Node72width - ht.Default.getTextSize('0', ' '+ Node72fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
- Node72.setPosition(917*ratio.ratioX, 150*ratio.ratioY);
- Node72.setWidth(Node72width);
- Node72.setHeight(Node72height);
- Node72._nodeType = 'text';
- Node72._disallowEvert = true;
- Node72.setRotation(0*Math.PI/180);
- Node72.a('node.width', Node72width);
- Node72.a('node.height', Node72height);
- Node72.a('node.rect', [0, 0, Node72width, Node72height]);
- Node72.a('node.bordercolor','rgba(0,0,0,1)');
- Node72.a('node.borderwidth', 0);
- Node72.a('node.background','' || 'rgba(0,0,0,0)');
- Node72.a('node.gradient','');
- Node72.a('node.gradientcolor','');
- Node72.a('node.text','0');
- Node72.a('node.textalign','center');
- Node72.a('node.textvAlign','middle');
- Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
- Node72.a('node.color','rgba(0,0,0,1)');
- Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"');
- Node72.a('node.textvisible',true);
- Node72.a('node.linefeed',false);
- if (false) {
- Node72.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node72.a('node.text') || '0';
- var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node72width,Node72height,14.66663*_ratio.ratioY,"center",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
- Node72.a('node.underlinevisible',false);
- Node72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node72);
- zoomNodeList.push({
- node: Node72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73type = 'rect';
- var Node73 = new ht.Node(),
- Node73BorderWidth = 1*2;
- if (Node73type === 'arc') {
- Node73BorderWidth *= 1;
- }
- Node73.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node73type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node73.setPosition(997*ratio.ratioX, 76*ratio.ratioY);
- Node73.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node73.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node73.a('node.width', 65*_ratio.ratioX);
- Node73.a('node.height', 24.33138*_ratio.ratioY);
- Node73.a('node.type', Node73type);
- Node73.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node73.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node73.a('node.gradientcolor', '');
- Node73.a('node.gradient', '');
- Node73.a('node.borderwidth', Node73BorderWidth);
- Node73.a('node.color', 'rgba(224,224,224,1)');
- Node73.a('node.fillrect', [0,0,0,0]);
- Node73.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node73.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node73.a('node.fillgradient', '');
- if (Node73type !== 'rect') {
- Node73.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node73.a('node.arcTo', parseFloat('@arcTo@'));
- Node73.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node73type === 'arc') {
- Node73.a('node.arcOval', true);
- }
- Node73.setRotation(0*Math.PI/180);
- Node73.borderWidth = Node73BorderWidth;
- Node73.borderFillwidth = Node73BorderWidth;
- dataModel.add(Node73);
- Node73._nodename = 'Node73'
- Node73._nodeType = 'rect';
- zoomNodeList.push({
- node: Node73,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node73, Node73.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74type = 'rect';
- var Node74 = new ht.Node(),
- Node74BorderWidth = 1*2;
- if (Node74type === 'arc') {
- Node74BorderWidth *= 1;
- }
- Node74.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node74type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node74.setPosition(997*ratio.ratioX, 100*ratio.ratioY);
- Node74.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node74.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node74.a('node.width', 65*_ratio.ratioX);
- Node74.a('node.height', 24.33138*_ratio.ratioY);
- Node74.a('node.type', Node74type);
- Node74.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node74.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node74.a('node.gradientcolor', '');
- Node74.a('node.gradient', '');
- Node74.a('node.borderwidth', Node74BorderWidth);
- Node74.a('node.color', 'rgba(224,224,224,1)');
- Node74.a('node.fillrect', [0,0,0,0]);
- Node74.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node74.a('node.fillgradient', '');
- if (Node74type !== 'rect') {
- Node74.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node74.a('node.arcTo', parseFloat('@arcTo@'));
- Node74.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node74type === 'arc') {
- Node74.a('node.arcOval', true);
- }
- Node74.setRotation(0*Math.PI/180);
- Node74.borderWidth = Node74BorderWidth;
- Node74.borderFillwidth = Node74BorderWidth;
- dataModel.add(Node74);
- Node74._nodename = 'Node74'
- Node74._nodeType = 'rect';
- zoomNodeList.push({
- node: Node74,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node74, Node74.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75type = 'rect';
- var Node75 = new ht.Node(),
- Node75BorderWidth = 1*2;
- if (Node75type === 'arc') {
- Node75BorderWidth *= 1;
- }
- Node75.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node75type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node75.setPosition(997*ratio.ratioX, 125*ratio.ratioY);
- Node75.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node75.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node75.a('node.width', 65*_ratio.ratioX);
- Node75.a('node.height', 24.33136*_ratio.ratioY);
- Node75.a('node.type', Node75type);
- Node75.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node75.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node75.a('node.gradientcolor', '');
- Node75.a('node.gradient', '');
- Node75.a('node.borderwidth', Node75BorderWidth);
- Node75.a('node.color', 'rgba(224,224,224,1)');
- Node75.a('node.fillrect', [0,0,0,0]);
- Node75.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node75.a('node.fillgradient', '');
- if (Node75type !== 'rect') {
- Node75.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node75.a('node.arcTo', parseFloat('@arcTo@'));
- Node75.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node75type === 'arc') {
- Node75.a('node.arcOval', true);
- }
- Node75.setRotation(0*Math.PI/180);
- Node75.borderWidth = Node75BorderWidth;
- Node75.borderFillwidth = Node75BorderWidth;
- dataModel.add(Node75);
- Node75._nodename = 'Node75'
- Node75._nodeType = 'rect';
- zoomNodeList.push({
- node: Node75,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node75, Node75.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76type = 'rect';
- var Node76 = new ht.Node(),
- Node76BorderWidth = 1*2;
- if (Node76type === 'arc') {
- Node76BorderWidth *= 1;
- }
- Node76.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node76type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node76.setPosition(997*ratio.ratioX, 149*ratio.ratioY);
- Node76.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node76.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node76.a('node.width', 65*_ratio.ratioX);
- Node76.a('node.height', 24.33138*_ratio.ratioY);
- Node76.a('node.type', Node76type);
- Node76.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node76.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node76.a('node.gradientcolor', '');
- Node76.a('node.gradient', '');
- Node76.a('node.borderwidth', Node76BorderWidth);
- Node76.a('node.color', 'rgba(224,224,224,1)');
- Node76.a('node.fillrect', [0,0,0,0]);
- Node76.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node76.a('node.fillgradient', '');
- if (Node76type !== 'rect') {
- Node76.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node76.a('node.arcTo', parseFloat('@arcTo@'));
- Node76.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node76type === 'arc') {
- Node76.a('node.arcOval', true);
- }
- Node76.setRotation(0*Math.PI/180);
- Node76.borderWidth = Node76BorderWidth;
- Node76.borderFillwidth = Node76BorderWidth;
- dataModel.add(Node76);
- Node76._nodename = 'Node76'
- Node76._nodeType = 'rect';
- zoomNodeList.push({
- node: Node76,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node76, Node76.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.Node();
- var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'center', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 59*_ratio.ratioX, Node77height = 26*_ratio.ratioY;
- (function () {
- if (Node77align === 'left') {
- Node77textStart = Node77fontSize * 0.2 > 2 ? Node77fontSize * 0.2 - 4 : Node77fontSize * 0.2 - 9;
- Node77textWidth = Node77width;
- Node77lineStart = 1;
- } else if (Node77align === 'right') {
- Node77textStart = 0;
- Node77textWidth =Node77fontSize <= 8 ? Node77width + Node77fontSize * 0.2 + 6 : Node77width - Node77fontSize * 0.2;
- Node77lineStart = (Node77width - (ht.Default.getTextSize('万kWh', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('万kWh', ' '+ Node77fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
- Node77.setPosition(998*ratio.ratioX, 54*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(128,128,128,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','万kWh');
- Node77.a('node.textalign','center');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node77.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"center",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 59*_ratio.ratioX, Node78height = 26*_ratio.ratioY;
- (function () {
- if (Node78align === 'left') {
- Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9;
- Node78textWidth = Node78width;
- Node78lineStart = 1;
- } else if (Node78align === 'right') {
- Node78textStart = 0;
- Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2;
- Node78lineStart = (Node78width - (ht.Default.getTextSize('万kWh', ' '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node78align === 'center') {
- Node78textStart = -3;
- Node78textWidth = Node78width;
- Node78lineStart = Node78width - ht.Default.getTextSize('万kWh', ' '+ Node78fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, ' '+ Node78fontSize + 'px "Arial"'))
- Node78.setPosition(998*ratio.ratioX, 78*ratio.ratioY);
- Node78.setWidth(Node78width);
- Node78.setHeight(Node78height);
- Node78._nodeType = 'text';
- Node78._disallowEvert = true;
- Node78.setRotation(0*Math.PI/180);
- Node78.a('node.width', Node78width);
- Node78.a('node.height', Node78height);
- Node78.a('node.rect', [0, 0, Node78width, Node78height]);
- Node78.a('node.bordercolor','rgba(128,128,128,1)');
- Node78.a('node.borderwidth', 0);
- Node78.a('node.background','' || 'rgba(0,0,0,0)');
- Node78.a('node.gradient','');
- Node78.a('node.gradientcolor','');
- Node78.a('node.text','万kWh');
- Node78.a('node.textalign','center');
- Node78.a('node.textvAlign','middle');
- Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]);
- Node78.a('node.color','rgba(128,128,128,1)');
- Node78.a('node.font',' '+ Node78fontSize + 'px "Arial"');
- Node78.a('node.textvisible',true);
- Node78.a('node.linefeed',false);
- if (false) {
- Node78.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node78.a('node.text') || '万kWh';
- var color=Node78.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"center",color,' '+ Node78fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node78.a('node.underlinepoints',[Node78lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 59*_ratio.ratioX, Node79height = 26*_ratio.ratioY;
- (function () {
- if (Node79align === 'left') {
- Node79textStart = Node79fontSize * 0.2 > 2 ? Node79fontSize * 0.2 - 4 : Node79fontSize * 0.2 - 9;
- Node79textWidth = Node79width;
- Node79lineStart = 1;
- } else if (Node79align === 'right') {
- Node79textStart = 0;
- Node79textWidth =Node79fontSize <= 8 ? Node79width + Node79fontSize * 0.2 + 6 : Node79width - Node79fontSize * 0.2;
- Node79lineStart = (Node79width - (ht.Default.getTextSize('万kWh', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('万kWh', ' '+ Node79fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"'))
- Node79.setPosition(998*ratio.ratioX, 101*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(128,128,128,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','万kWh');
- Node79.a('node.textalign','center');
- Node79.a('node.textvAlign','middle');
- Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
- Node79.a('node.color','rgba(128,128,128,1)');
- Node79.a('node.font',' '+ Node79fontSize + 'px "Arial"');
- Node79.a('node.textvisible',true);
- Node79.a('node.linefeed',false);
- if (false) {
- Node79.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node79.a('node.text') || '万kWh';
- var color=Node79.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"center",color,' '+ Node79fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ 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 = 'center', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 59*_ratio.ratioX, Node80height = 26*_ratio.ratioY;
- (function () {
- if (Node80align === 'left') {
- Node80textStart = Node80fontSize * 0.2 > 2 ? Node80fontSize * 0.2 - 4 : Node80fontSize * 0.2 - 9;
- Node80textWidth = Node80width;
- Node80lineStart = 1;
- } else if (Node80align === 'right') {
- Node80textStart = 0;
- Node80textWidth =Node80fontSize <= 8 ? Node80width + Node80fontSize * 0.2 + 6 : Node80width - Node80fontSize * 0.2;
- Node80lineStart = (Node80width - (ht.Default.getTextSize('万kWh', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('万kWh', ' '+ Node80fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
- Node80.setPosition(998*ratio.ratioX, 127*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(128,128,128,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','万kWh');
- Node80.a('node.textalign','center');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(128,128,128,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') || '万kWh';
- var color=Node80.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"center",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
- Node80.a('node.underlinevisible',false);
- Node80.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node80);
- zoomNodeList.push({
- node: Node80,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81 = new ht.Node();
- var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'center', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 59*_ratio.ratioX, Node81height = 26*_ratio.ratioY;
- (function () {
- if (Node81align === 'left') {
- Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
- Node81textWidth = Node81width;
- Node81lineStart = 1;
- } else if (Node81align === 'right') {
- Node81textStart = 0;
- Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
- Node81lineStart = (Node81width - (ht.Default.getTextSize('万kWh', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node81align === 'center') {
- Node81textStart = -3;
- Node81textWidth = Node81width;
- Node81lineStart = Node81width - ht.Default.getTextSize('万kWh', ' '+ Node81fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"'))
- Node81.setPosition(998*ratio.ratioX, 151*ratio.ratioY);
- Node81.setWidth(Node81width);
- Node81.setHeight(Node81height);
- Node81._nodeType = 'text';
- Node81._disallowEvert = true;
- Node81.setRotation(0*Math.PI/180);
- Node81.a('node.width', Node81width);
- Node81.a('node.height', Node81height);
- Node81.a('node.rect', [0, 0, Node81width, Node81height]);
- Node81.a('node.bordercolor','rgba(128,128,128,1)');
- Node81.a('node.borderwidth', 0);
- Node81.a('node.background','' || 'rgba(0,0,0,0)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','');
- Node81.a('node.text','万kWh');
- Node81.a('node.textalign','center');
- Node81.a('node.textvAlign','middle');
- Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
- Node81.a('node.color','rgba(128,128,128,1)');
- Node81.a('node.font',' '+ Node81fontSize + 'px "Arial"');
- Node81.a('node.textvisible',true);
- Node81.a('node.linefeed',false);
- if (false) {
- Node81.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node81.a('node.text') || '万kWh';
- var color=Node81.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"center",color,' '+ Node81fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node81.a('node.underlinepoints',[Node81lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node81fontSize + 'px "Arial"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]);
- Node81.a('node.underlinevisible',false);
- Node81.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node81);
- zoomNodeList.push({
- node: Node81,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82type = 'rect';
- var Node82 = new ht.Node(),
- Node82BorderWidth = 1*2;
- if (Node82type === 'arc') {
- Node82BorderWidth *= 1;
- }
- Node82.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node82type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node82.setPosition(1091*ratio.ratioX, 100*ratio.ratioY);
- Node82.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node82.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node82.a('node.width', 117*_ratio.ratioX);
- Node82.a('node.height', 24.33138*_ratio.ratioY);
- Node82.a('node.type', Node82type);
- Node82.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node82.a('node.background', 'rgba(240,240,240,1)');
- Node82.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node82.a('node.gradient', '');
- Node82.a('node.borderwidth', Node82BorderWidth);
- Node82.a('node.color', 'rgba(224,224,224,1)');
- Node82.a('node.fillrect', [0,0,0,0]);
- Node82.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node82.a('node.fillgradient', '');
- if (Node82type !== 'rect') {
- Node82.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node82.a('node.arcTo', parseFloat('@arcTo@'));
- Node82.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node82type === 'arc') {
- Node82.a('node.arcOval', true);
- }
- Node82.setRotation(0*Math.PI/180);
- Node82.borderWidth = Node82BorderWidth;
- Node82.borderFillwidth = Node82BorderWidth;
- dataModel.add(Node82);
- Node82._nodename = 'Node82'
- Node82._nodeType = 'rect';
- zoomNodeList.push({
- node: Node82,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node82, Node82.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node83type = 'rect';
- var Node83 = new ht.Node(),
- Node83BorderWidth = 1*2;
- if (Node83type === 'arc') {
- Node83BorderWidth *= 1;
- }
- Node83.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node83type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node83.setPosition(1091*ratio.ratioX, 76*ratio.ratioY);
- Node83.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node83.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node83.a('node.width', 117*_ratio.ratioX);
- Node83.a('node.height', 24.33138*_ratio.ratioY);
- Node83.a('node.type', Node83type);
- Node83.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node83.a('node.background', 'rgba(240,240,240,1)');
- Node83.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node83.a('node.gradient', '');
- Node83.a('node.borderwidth', Node83BorderWidth);
- Node83.a('node.color', 'rgba(224,224,224,1)');
- Node83.a('node.fillrect', [0,0,0,0]);
- Node83.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node83.a('node.fillgradient', '');
- if (Node83type !== 'rect') {
- Node83.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node83.a('node.arcTo', parseFloat('@arcTo@'));
- Node83.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node83type === 'arc') {
- Node83.a('node.arcOval', true);
- }
- Node83.setRotation(0*Math.PI/180);
- Node83.borderWidth = Node83BorderWidth;
- Node83.borderFillwidth = Node83BorderWidth;
- dataModel.add(Node83);
- Node83._nodename = 'Node83'
- Node83._nodeType = 'rect';
- zoomNodeList.push({
- node: Node83,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node83, Node83.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node84type = 'rect';
- var Node84 = new ht.Node(),
- Node84BorderWidth = 1*2;
- if (Node84type === 'arc') {
- Node84BorderWidth *= 1;
- }
- Node84.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node84type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node84.setPosition(1091*ratio.ratioX, 125*ratio.ratioY);
- Node84.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node84.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node84.a('node.width', 117*_ratio.ratioX);
- Node84.a('node.height', 24.33136*_ratio.ratioY);
- Node84.a('node.type', Node84type);
- Node84.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node84.a('node.background', 'rgba(240,240,240,1)');
- Node84.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node84.a('node.gradient', '');
- Node84.a('node.borderwidth', Node84BorderWidth);
- Node84.a('node.color', 'rgba(224,224,224,1)');
- Node84.a('node.fillrect', [0,0,0,0]);
- Node84.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node84.a('node.fillgradient', '');
- if (Node84type !== 'rect') {
- Node84.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node84.a('node.arcTo', parseFloat('@arcTo@'));
- Node84.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node84type === 'arc') {
- Node84.a('node.arcOval', true);
- }
- Node84.setRotation(0*Math.PI/180);
- Node84.borderWidth = Node84BorderWidth;
- Node84.borderFillwidth = Node84BorderWidth;
- dataModel.add(Node84);
- Node84._nodename = 'Node84'
- Node84._nodeType = 'rect';
- zoomNodeList.push({
- node: Node84,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node84, Node84.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node85type = 'rect';
- var Node85 = new ht.Node(),
- Node85BorderWidth = 1*2;
- if (Node85type === 'arc') {
- Node85BorderWidth *= 1;
- }
- Node85.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33136*_ratio.ratioY, Node85type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node85.setPosition(1091*ratio.ratioX, 52*ratio.ratioY);
- Node85.setSize(117*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node85.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node85.a('node.width', 117*_ratio.ratioX);
- Node85.a('node.height', 24.33136*_ratio.ratioY);
- Node85.a('node.type', Node85type);
- Node85.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node85.a('node.background', 'rgba(240,240,240,1)');
- Node85.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node85.a('node.gradient', '');
- Node85.a('node.borderwidth', Node85BorderWidth);
- Node85.a('node.color', 'rgba(224,224,224,1)');
- Node85.a('node.fillrect', [0,0,0,0]);
- Node85.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node85.a('node.fillgradient', '');
- if (Node85type !== 'rect') {
- Node85.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node85.a('node.arcTo', parseFloat('@arcTo@'));
- Node85.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node85type === 'arc') {
- Node85.a('node.arcOval', true);
- }
- Node85.setRotation(0*Math.PI/180);
- Node85.borderWidth = Node85BorderWidth;
- Node85.borderFillwidth = Node85BorderWidth;
- dataModel.add(Node85);
- Node85._nodename = 'Node85'
- Node85._nodeType = 'rect';
- zoomNodeList.push({
- node: Node85,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node85, Node85.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node86type = 'rect';
- var Node86 = new ht.Node(),
- Node86BorderWidth = 1*2;
- if (Node86type === 'arc') {
- Node86BorderWidth *= 1;
- }
- Node86.setImage(GD.getRectJSON(117*_ratio.ratioX, 24.33138*_ratio.ratioY, Node86type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node86.setPosition(1091*ratio.ratioX, 149*ratio.ratioY);
- Node86.setSize(117*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node86.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node86.a('node.width', 117*_ratio.ratioX);
- Node86.a('node.height', 24.33138*_ratio.ratioY);
- Node86.a('node.type', Node86type);
- Node86.a('node.rect', [0, 0, 117*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node86.a('node.background', 'rgba(240,240,240,1)');
- Node86.a('node.gradientcolor', 'rgba(240,240,240,1)');
- Node86.a('node.gradient', '');
- Node86.a('node.borderwidth', Node86BorderWidth);
- Node86.a('node.color', 'rgba(224,224,224,1)');
- Node86.a('node.fillrect', [0,0,0,0]);
- Node86.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node86.a('node.fillgradient', '');
- if (Node86type !== 'rect') {
- Node86.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node86.a('node.arcTo', parseFloat('@arcTo@'));
- Node86.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node86type === 'arc') {
- Node86.a('node.arcOval', true);
- }
- Node86.setRotation(0*Math.PI/180);
- Node86.borderWidth = Node86BorderWidth;
- Node86.borderFillwidth = Node86BorderWidth;
- dataModel.add(Node86);
- Node86._nodename = 'Node86'
- Node86._nodeType = 'rect';
- zoomNodeList.push({
- node: Node86,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node86, Node86.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87 = new ht.Node();
- var Node87textStart, Node87textWidth, Node87lineStart, Node87align = 'center', Node87fontSize = 13.3333*_ratio.ratioY,Node87width = 110*_ratio.ratioX, Node87height = 26*_ratio.ratioY;
- (function () {
- if (Node87align === 'left') {
- Node87textStart = Node87fontSize * 0.2 > 2 ? Node87fontSize * 0.2 - 4 : Node87fontSize * 0.2 - 9;
- Node87textWidth = Node87width;
- Node87lineStart = 1;
- } else if (Node87align === 'right') {
- Node87textStart = 0;
- Node87textWidth =Node87fontSize <= 8 ? Node87width + Node87fontSize * 0.2 + 6 : Node87width - Node87fontSize * 0.2;
- Node87lineStart = (Node87width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node87fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node87align === 'center') {
- Node87textStart = -3;
- Node87textWidth = Node87width;
- Node87lineStart = Node87width - ht.Default.getTextSize('年维护损失电量', ' '+ Node87fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node87.setImage(GD.getTextJSON(Node87width, Node87height, true, false, false, ' '+ Node87fontSize + 'px "微软雅黑"'))
- Node87.setPosition(1091*ratio.ratioX, 54*ratio.ratioY);
- Node87.setWidth(Node87width);
- Node87.setHeight(Node87height);
- Node87._nodeType = 'text';
- Node87._disallowEvert = true;
- Node87.setRotation(0*Math.PI/180);
- Node87.a('node.width', Node87width);
- Node87.a('node.height', Node87height);
- Node87.a('node.rect', [0, 0, Node87width, Node87height]);
- Node87.a('node.bordercolor','rgba(0,0,0,1)');
- Node87.a('node.borderwidth', 0);
- Node87.a('node.background','' || 'rgba(0,0,0,0)');
- Node87.a('node.gradient','');
- Node87.a('node.gradientcolor','');
- Node87.a('node.text','年维护损失电量');
- Node87.a('node.textalign','center');
- Node87.a('node.textvAlign','middle');
- Node87.a('node.textrect', [Node87textStart, 0, Node87textWidth, Node87height]);
- Node87.a('node.color','rgba(0,0,0,1)');
- Node87.a('node.font',' '+ Node87fontSize + 'px "微软雅黑"');
- Node87.a('node.textvisible',true);
- Node87.a('node.linefeed',false);
- if (false) {
- Node87.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node87.a('node.text') || '年维护损失电量';
- var color=Node87.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node87width,Node87height,13.3333*_ratio.ratioY,"center",color,' '+ Node87fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node87.a('node.underlinepoints',[Node87lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node87fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node87fontSize + 'px "微软雅黑"').width + 6, (Node87height - Node87fontSize) * 0.5*_ratio.ratioY + Node87fontSize + 2 ]);
- Node87.a('node.underlinevisible',false);
- Node87.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node87);
- zoomNodeList.push({
- node: Node87,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88 = new ht.Node();
- var Node88textStart, Node88textWidth, Node88lineStart, Node88align = 'center', Node88fontSize = 13.3333*_ratio.ratioY,Node88width = 110*_ratio.ratioX, Node88height = 26*_ratio.ratioY;
- (function () {
- if (Node88align === 'left') {
- Node88textStart = Node88fontSize * 0.2 > 2 ? Node88fontSize * 0.2 - 4 : Node88fontSize * 0.2 - 9;
- Node88textWidth = Node88width;
- Node88lineStart = 1;
- } else if (Node88align === 'right') {
- Node88textStart = 0;
- Node88textWidth =Node88fontSize <= 8 ? Node88width + Node88fontSize * 0.2 + 6 : Node88width - Node88fontSize * 0.2;
- Node88lineStart = (Node88width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node88align === 'center') {
- Node88textStart = -3;
- Node88textWidth = Node88width;
- Node88lineStart = Node88width - ht.Default.getTextSize('年故障损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node88.setImage(GD.getTextJSON(Node88width, Node88height, true, false, false, ' '+ Node88fontSize + 'px "微软雅黑"'))
- Node88.setPosition(1091*ratio.ratioX, 77*ratio.ratioY);
- Node88.setWidth(Node88width);
- Node88.setHeight(Node88height);
- Node88._nodeType = 'text';
- Node88._disallowEvert = true;
- Node88.setRotation(0*Math.PI/180);
- Node88.a('node.width', Node88width);
- Node88.a('node.height', Node88height);
- Node88.a('node.rect', [0, 0, Node88width, Node88height]);
- Node88.a('node.bordercolor','rgba(0,0,0,1)');
- Node88.a('node.borderwidth', 0);
- Node88.a('node.background','' || 'rgba(0,0,0,0)');
- Node88.a('node.gradient','');
- Node88.a('node.gradientcolor','');
- Node88.a('node.text','年故障损失电量');
- Node88.a('node.textalign','center');
- Node88.a('node.textvAlign','middle');
- Node88.a('node.textrect', [Node88textStart, 0, Node88textWidth, Node88height]);
- Node88.a('node.color','rgba(0,0,0,1)');
- Node88.a('node.font',' '+ Node88fontSize + 'px "微软雅黑"');
- Node88.a('node.textvisible',true);
- Node88.a('node.linefeed',false);
- if (false) {
- Node88.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node88.a('node.text') || '年故障损失电量';
- var color=Node88.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node88width,Node88height,13.3333*_ratio.ratioY,"center",color,' '+ Node88fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node88.a('node.underlinepoints',[Node88lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node88fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node88fontSize + 'px "微软雅黑"').width + 6, (Node88height - Node88fontSize) * 0.5*_ratio.ratioY + Node88fontSize + 2 ]);
- Node88.a('node.underlinevisible',false);
- Node88.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node88);
- zoomNodeList.push({
- node: Node88,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node89 = new ht.Node();
- var Node89textStart, Node89textWidth, Node89lineStart, Node89align = 'center', Node89fontSize = 13.3333*_ratio.ratioY,Node89width = 110*_ratio.ratioX, Node89height = 26*_ratio.ratioY;
- (function () {
- if (Node89align === 'left') {
- Node89textStart = Node89fontSize * 0.2 > 2 ? Node89fontSize * 0.2 - 4 : Node89fontSize * 0.2 - 9;
- Node89textWidth = Node89width;
- Node89lineStart = 1;
- } else if (Node89align === 'right') {
- Node89textStart = 0;
- Node89textWidth =Node89fontSize <= 8 ? Node89width + Node89fontSize * 0.2 + 6 : Node89width - Node89fontSize * 0.2;
- Node89lineStart = (Node89width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node89align === 'center') {
- Node89textStart = -3;
- Node89textWidth = Node89width;
- Node89lineStart = Node89width - ht.Default.getTextSize('年限电损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node89.setImage(GD.getTextJSON(Node89width, Node89height, true, false, false, ' '+ Node89fontSize + 'px "微软雅黑"'))
- Node89.setPosition(1091*ratio.ratioX, 102*ratio.ratioY);
- Node89.setWidth(Node89width);
- Node89.setHeight(Node89height);
- Node89._nodeType = 'text';
- Node89._disallowEvert = true;
- Node89.setRotation(0*Math.PI/180);
- Node89.a('node.width', Node89width);
- Node89.a('node.height', Node89height);
- Node89.a('node.rect', [0, 0, Node89width, Node89height]);
- Node89.a('node.bordercolor','rgba(0,0,0,1)');
- Node89.a('node.borderwidth', 0);
- Node89.a('node.background','' || 'rgba(0,0,0,0)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','');
- Node89.a('node.text','年限电损失电量');
- Node89.a('node.textalign','center');
- Node89.a('node.textvAlign','middle');
- Node89.a('node.textrect', [Node89textStart, 0, Node89textWidth, Node89height]);
- Node89.a('node.color','rgba(0,0,0,1)');
- Node89.a('node.font',' '+ Node89fontSize + 'px "微软雅黑"');
- Node89.a('node.textvisible',true);
- Node89.a('node.linefeed',false);
- if (false) {
- Node89.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node89.a('node.text') || '年限电损失电量';
- var color=Node89.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node89width,Node89height,13.3333*_ratio.ratioY,"center",color,' '+ Node89fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node89.a('node.underlinepoints',[Node89lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node89fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node89fontSize + 'px "微软雅黑"').width + 6, (Node89height - Node89fontSize) * 0.5*_ratio.ratioY + Node89fontSize + 2 ]);
- Node89.a('node.underlinevisible',false);
- Node89.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node89);
- zoomNodeList.push({
- node: Node89,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'center', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 110*_ratio.ratioX, Node90height = 26*_ratio.ratioY;
- (function () {
- if (Node90align === 'left') {
- Node90textStart = Node90fontSize * 0.2 > 2 ? Node90fontSize * 0.2 - 4 : Node90fontSize * 0.2 - 9;
- Node90textWidth = Node90width;
- Node90lineStart = 1;
- } else if (Node90align === 'right') {
- Node90textStart = 0;
- Node90textWidth =Node90fontSize <= 8 ? Node90width + Node90fontSize * 0.2 + 6 : Node90width - Node90fontSize * 0.2;
- Node90lineStart = (Node90width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('年受累损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "微软雅黑"'))
- Node90.setPosition(1091*ratio.ratioX, 127*ratio.ratioY);
- Node90.setWidth(Node90width);
- Node90.setHeight(Node90height);
- Node90._nodeType = 'text';
- Node90._disallowEvert = true;
- Node90.setRotation(0*Math.PI/180);
- Node90.a('node.width', Node90width);
- Node90.a('node.height', Node90height);
- Node90.a('node.rect', [0, 0, Node90width, Node90height]);
- Node90.a('node.bordercolor','rgba(0,0,0,1)');
- Node90.a('node.borderwidth', 0);
- Node90.a('node.background','' || 'rgba(0,0,0,0)');
- Node90.a('node.gradient','');
- Node90.a('node.gradientcolor','');
- Node90.a('node.text','年受累损失电量');
- Node90.a('node.textalign','center');
- Node90.a('node.textvAlign','middle');
- Node90.a('node.textrect', [Node90textStart, 0, Node90textWidth, Node90height]);
- Node90.a('node.color','rgba(0,0,0,1)');
- Node90.a('node.font',' '+ Node90fontSize + 'px "微软雅黑"');
- Node90.a('node.textvisible',true);
- Node90.a('node.linefeed',false);
- if (false) {
- Node90.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node90.a('node.text') || '年受累损失电量';
- var color=Node90.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node90width,Node90height,13.3333*_ratio.ratioY,"center",color,' '+ Node90fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node90.a('node.underlinepoints',[Node90lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node90fontSize + 'px "微软雅黑"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'center', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 32*_ratio.ratioY;
- (function () {
- if (Node91align === 'left') {
- Node91textStart = Node91fontSize * 0.2 > 2 ? Node91fontSize * 0.2 - 4 : Node91fontSize * 0.2 - 9;
- Node91textWidth = Node91width;
- Node91lineStart = 1;
- } else if (Node91align === 'right') {
- Node91textStart = 0;
- Node91textWidth =Node91fontSize <= 8 ? Node91width + Node91fontSize * 0.2 + 6 : Node91width - Node91fontSize * 0.2;
- Node91lineStart = (Node91width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('年性能损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "微软雅黑"'))
- Node91.setPosition(1091*ratio.ratioX, 151*ratio.ratioY);
- Node91.setWidth(Node91width);
- Node91.setHeight(Node91height);
- Node91._nodeType = 'text';
- Node91._disallowEvert = true;
- Node91.setRotation(0*Math.PI/180);
- Node91.a('node.width', Node91width);
- Node91.a('node.height', Node91height);
- Node91.a('node.rect', [0, 0, Node91width, Node91height]);
- Node91.a('node.bordercolor','rgba(0,0,0,1)');
- Node91.a('node.borderwidth', 0);
- Node91.a('node.background','' || 'rgba(0,0,0,0)');
- Node91.a('node.gradient','');
- Node91.a('node.gradientcolor','');
- Node91.a('node.text','年性能损失电量');
- Node91.a('node.textalign','center');
- Node91.a('node.textvAlign','middle');
- Node91.a('node.textrect', [Node91textStart, 0, Node91textWidth, Node91height]);
- Node91.a('node.color','rgba(0,0,0,1)');
- Node91.a('node.font',' '+ Node91fontSize + 'px "微软雅黑"');
- Node91.a('node.textvisible',true);
- Node91.a('node.linefeed',false);
- if (false) {
- Node91.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node91.a('node.text') || '年性能损失电量';
- var color=Node91.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node91width,Node91height,13.3333*_ratio.ratioY,"center",color,' '+ Node91fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (32 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ Node91fontSize + 'px "微软雅黑"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92type = 'rect';
- var Node92 = new ht.Node(),
- Node92BorderWidth = 1*2;
- if (Node92type === 'arc') {
- Node92BorderWidth *= 1;
- }
- Node92.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node92type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node92.setPosition(1197*ratio.ratioX, 52*ratio.ratioY);
- Node92.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node92.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node92.a('node.width', 95*_ratio.ratioX);
- Node92.a('node.height', 24.33136*_ratio.ratioY);
- Node92.a('node.type', Node92type);
- Node92.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node92.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node92.a('node.gradientcolor', '');
- Node92.a('node.gradient', '');
- Node92.a('node.borderwidth', Node92BorderWidth);
- Node92.a('node.color', 'rgba(224,224,224,1)');
- Node92.a('node.fillrect', [0,0,0,0]);
- Node92.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node92.a('node.fillgradient', '');
- if (Node92type !== 'rect') {
- Node92.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node92.a('node.arcTo', parseFloat('@arcTo@'));
- Node92.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node92type === 'arc') {
- Node92.a('node.arcOval', true);
- }
- Node92.setRotation(0*Math.PI/180);
- Node92.borderWidth = Node92BorderWidth;
- Node92.borderFillwidth = Node92BorderWidth;
- dataModel.add(Node92);
- Node92._nodename = 'Node92'
- Node92._nodeType = 'rect';
- zoomNodeList.push({
- node: Node92,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node92, Node92.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93type = 'rect';
- var Node93 = new ht.Node(),
- Node93BorderWidth = 1*2;
- if (Node93type === 'arc') {
- Node93BorderWidth *= 1;
- }
- Node93.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node93type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node93.setPosition(1197*ratio.ratioX, 76*ratio.ratioY);
- Node93.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node93.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node93.a('node.width', 95*_ratio.ratioX);
- Node93.a('node.height', 24.33138*_ratio.ratioY);
- Node93.a('node.type', Node93type);
- Node93.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node93.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node93.a('node.gradientcolor', '');
- Node93.a('node.gradient', '');
- Node93.a('node.borderwidth', Node93BorderWidth);
- Node93.a('node.color', 'rgba(224,224,224,1)');
- Node93.a('node.fillrect', [0,0,0,0]);
- Node93.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node93.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node93.a('node.fillgradient', '');
- if (Node93type !== 'rect') {
- Node93.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node93.a('node.arcTo', parseFloat('@arcTo@'));
- Node93.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node93type === 'arc') {
- Node93.a('node.arcOval', true);
- }
- Node93.setRotation(0*Math.PI/180);
- Node93.borderWidth = Node93BorderWidth;
- Node93.borderFillwidth = Node93BorderWidth;
- dataModel.add(Node93);
- Node93._nodename = 'Node93'
- Node93._nodeType = 'rect';
- zoomNodeList.push({
- node: Node93,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node93, Node93.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94type = 'rect';
- var Node94 = new ht.Node(),
- Node94BorderWidth = 1*2;
- if (Node94type === 'arc') {
- Node94BorderWidth *= 1;
- }
- Node94.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node94type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node94.setPosition(1197*ratio.ratioX, 100*ratio.ratioY);
- Node94.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node94.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node94.a('node.width', 95*_ratio.ratioX);
- Node94.a('node.height', 24.33138*_ratio.ratioY);
- Node94.a('node.type', Node94type);
- Node94.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node94.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node94.a('node.gradientcolor', '');
- Node94.a('node.gradient', '');
- Node94.a('node.borderwidth', Node94BorderWidth);
- Node94.a('node.color', 'rgba(224,224,224,1)');
- Node94.a('node.fillrect', [0,0,0,0]);
- Node94.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node94.a('node.fillgradient', '');
- if (Node94type !== 'rect') {
- Node94.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node94.a('node.arcTo', parseFloat('@arcTo@'));
- Node94.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node94type === 'arc') {
- Node94.a('node.arcOval', true);
- }
- Node94.setRotation(0*Math.PI/180);
- Node94.borderWidth = Node94BorderWidth;
- Node94.borderFillwidth = Node94BorderWidth;
- dataModel.add(Node94);
- Node94._nodename = 'Node94'
- Node94._nodeType = 'rect';
- zoomNodeList.push({
- node: Node94,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node94, Node94.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95type = 'rect';
- var Node95 = new ht.Node(),
- Node95BorderWidth = 1*2;
- if (Node95type === 'arc') {
- Node95BorderWidth *= 1;
- }
- Node95.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33136*_ratio.ratioY, Node95type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node95.setPosition(1197*ratio.ratioX, 125*ratio.ratioY);
- Node95.setSize(95*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node95.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node95.a('node.width', 95*_ratio.ratioX);
- Node95.a('node.height', 24.33136*_ratio.ratioY);
- Node95.a('node.type', Node95type);
- Node95.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node95.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node95.a('node.gradientcolor', '');
- Node95.a('node.gradient', '');
- Node95.a('node.borderwidth', Node95BorderWidth);
- Node95.a('node.color', 'rgba(224,224,224,1)');
- Node95.a('node.fillrect', [0,0,0,0]);
- Node95.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node95.a('node.fillgradient', '');
- if (Node95type !== 'rect') {
- Node95.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node95.a('node.arcTo', parseFloat('@arcTo@'));
- Node95.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node95type === 'arc') {
- Node95.a('node.arcOval', true);
- }
- Node95.setRotation(0*Math.PI/180);
- Node95.borderWidth = Node95BorderWidth;
- Node95.borderFillwidth = Node95BorderWidth;
- dataModel.add(Node95);
- Node95._nodename = 'Node95'
- Node95._nodeType = 'rect';
- zoomNodeList.push({
- node: Node95,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node95, Node95.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96type = 'rect';
- var Node96 = new ht.Node(),
- Node96BorderWidth = 1*2;
- if (Node96type === 'arc') {
- Node96BorderWidth *= 1;
- }
- Node96.setImage(GD.getRectJSON(95*_ratio.ratioX, 24.33138*_ratio.ratioY, Node96type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node96.setPosition(1197*ratio.ratioX, 149*ratio.ratioY);
- Node96.setSize(95*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node96.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node96.a('node.width', 95*_ratio.ratioX);
- Node96.a('node.height', 24.33138*_ratio.ratioY);
- Node96.a('node.type', Node96type);
- Node96.a('node.rect', [0, 0, 95*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node96.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node96.a('node.gradientcolor', '');
- Node96.a('node.gradient', '');
- Node96.a('node.borderwidth', Node96BorderWidth);
- Node96.a('node.color', 'rgba(224,224,224,1)');
- Node96.a('node.fillrect', [0,0,0,0]);
- Node96.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node96.a('node.fillgradient', '');
- if (Node96type !== 'rect') {
- Node96.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node96.a('node.arcTo', parseFloat('@arcTo@'));
- Node96.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node96type === 'arc') {
- Node96.a('node.arcOval', true);
- }
- Node96.setRotation(0*Math.PI/180);
- Node96.borderWidth = Node96BorderWidth;
- Node96.borderFillwidth = Node96BorderWidth;
- dataModel.add(Node96);
- Node96._nodename = 'Node96'
- Node96._nodeType = 'rect';
- zoomNodeList.push({
- node: Node96,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node96, Node96.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97type = 'rect';
- var Node97 = new ht.Node(),
- Node97BorderWidth = 1*2;
- if (Node97type === 'arc') {
- Node97BorderWidth *= 1;
- }
- Node97.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node97type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node97.setPosition(1277*ratio.ratioX, 52*ratio.ratioY);
- Node97.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node97.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node97.a('node.width', 65*_ratio.ratioX);
- Node97.a('node.height', 24.33136*_ratio.ratioY);
- Node97.a('node.type', Node97type);
- Node97.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node97.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node97.a('node.gradientcolor', '');
- Node97.a('node.gradient', '');
- Node97.a('node.borderwidth', Node97BorderWidth);
- Node97.a('node.color', 'rgba(224,224,224,1)');
- Node97.a('node.fillrect', [0,0,0,0]);
- Node97.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node97.a('node.fillgradient', '');
- if (Node97type !== 'rect') {
- Node97.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node97.a('node.arcTo', parseFloat('@arcTo@'));
- Node97.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node97type === 'arc') {
- Node97.a('node.arcOval', true);
- }
- Node97.setRotation(0*Math.PI/180);
- Node97.borderWidth = Node97BorderWidth;
- Node97.borderFillwidth = Node97BorderWidth;
- dataModel.add(Node97);
- Node97._nodename = 'Node97'
- Node97._nodeType = 'rect';
- zoomNodeList.push({
- node: Node97,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node97, Node97.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'center', Node98fontSize = 14.66663*_ratio.ratioY,Node98width = 59*_ratio.ratioX, Node98height = 26*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, ' '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(1197*ratio.ratioX, 54*ratio.ratioY);
- Node98.setWidth(Node98width);
- Node98.setHeight(Node98height);
- Node98._nodeType = 'text';
- Node98._disallowEvert = true;
- Node98.setRotation(0*Math.PI/180);
- Node98.a('node.width', Node98width);
- Node98.a('node.height', Node98height);
- Node98.a('node.rect', [0, 0, Node98width, Node98height]);
- Node98.a('node.bordercolor','rgba(0,0,0,1)');
- Node98.a('node.borderwidth', 0);
- Node98.a('node.background','' || 'rgba(0,0,0,0)');
- Node98.a('node.gradient','');
- Node98.a('node.gradientcolor','');
- Node98.a('node.text','0');
- Node98.a('node.textalign','center');
- Node98.a('node.textvAlign','middle');
- Node98.a('node.textrect', [Node98textStart, 0, Node98textWidth, Node98height]);
- Node98.a('node.color','rgba(0,0,0,1)');
- Node98.a('node.font',' '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '0';
- var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node98width,Node98height,14.66663*_ratio.ratioY,"center",color,' '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'center', Node99fontSize = 14.66663*_ratio.ratioY,Node99width = 59*_ratio.ratioX, Node99height = 26*_ratio.ratioY;
- (function () {
- if (Node99align === 'left') {
- Node99textStart = Node99fontSize * 0.2 > 2 ? Node99fontSize * 0.2 - 4 : Node99fontSize * 0.2 - 9;
- Node99textWidth = Node99width;
- Node99lineStart = 1;
- } else if (Node99align === 'right') {
- Node99textStart = 0;
- Node99textWidth =Node99fontSize <= 8 ? Node99width + Node99fontSize * 0.2 + 6 : Node99width - Node99fontSize * 0.2;
- Node99lineStart = (Node99width - (ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(1197*ratio.ratioX, 78*ratio.ratioY);
- Node99.setWidth(Node99width);
- Node99.setHeight(Node99height);
- Node99._nodeType = 'text';
- Node99._disallowEvert = true;
- Node99.setRotation(0*Math.PI/180);
- Node99.a('node.width', Node99width);
- Node99.a('node.height', Node99height);
- Node99.a('node.rect', [0, 0, Node99width, Node99height]);
- Node99.a('node.bordercolor','rgba(0,0,0,1)');
- Node99.a('node.borderwidth', 0);
- Node99.a('node.background','' || 'rgba(0,0,0,0)');
- Node99.a('node.gradient','');
- Node99.a('node.gradientcolor','');
- Node99.a('node.text','0');
- Node99.a('node.textalign','center');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(0,0,0,1)');
- Node99.a('node.font',' '+ Node99fontSize + 'px "Arial"');
- Node99.a('node.textvisible',true);
- Node99.a('node.linefeed',false);
- if (false) {
- Node99.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node99.a('node.text') || '0';
- var color=Node99.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node99width,Node99height,14.66663*_ratio.ratioY,"center",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100 = new ht.Node();
- var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'center', Node100fontSize = 14.66663*_ratio.ratioY,Node100width = 59*_ratio.ratioX, Node100height = 26*_ratio.ratioY;
- (function () {
- if (Node100align === 'left') {
- Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
- Node100textWidth = Node100width;
- Node100lineStart = 1;
- } else if (Node100align === 'right') {
- Node100textStart = 0;
- Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
- Node100lineStart = (Node100width - (ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, ' '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(1197*ratio.ratioX, 103*ratio.ratioY);
- Node100.setWidth(Node100width);
- Node100.setHeight(Node100height);
- Node100._nodeType = 'text';
- Node100._disallowEvert = true;
- Node100.setRotation(0*Math.PI/180);
- Node100.a('node.width', Node100width);
- Node100.a('node.height', Node100height);
- Node100.a('node.rect', [0, 0, Node100width, Node100height]);
- Node100.a('node.bordercolor','rgba(0,0,0,1)');
- Node100.a('node.borderwidth', 0);
- Node100.a('node.background','' || 'rgba(0,0,0,0)');
- Node100.a('node.gradient','');
- Node100.a('node.gradientcolor','');
- Node100.a('node.text','0');
- Node100.a('node.textalign','center');
- Node100.a('node.textvAlign','middle');
- Node100.a('node.textrect', [Node100textStart, 0, Node100textWidth, Node100height]);
- Node100.a('node.color','rgba(0,0,0,1)');
- Node100.a('node.font',' '+ Node100fontSize + 'px "Arial"');
- Node100.a('node.textvisible',true);
- Node100.a('node.linefeed',false);
- if (false) {
- Node100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node100.a('node.text') || '0';
- var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node100width,Node100height,14.66663*_ratio.ratioY,"center",color,' '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
- Node100.a('node.underlinevisible',false);
- Node100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node100);
- zoomNodeList.push({
- node: Node100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'center', Node101fontSize = 14.66663*_ratio.ratioY,Node101width = 59*_ratio.ratioX, Node101height = 26*_ratio.ratioY;
- (function () {
- if (Node101align === 'left') {
- Node101textStart = Node101fontSize * 0.2 > 2 ? Node101fontSize * 0.2 - 4 : Node101fontSize * 0.2 - 9;
- Node101textWidth = Node101width;
- Node101lineStart = 1;
- } else if (Node101align === 'right') {
- Node101textStart = 0;
- Node101textWidth =Node101fontSize <= 8 ? Node101width + Node101fontSize * 0.2 + 6 : Node101width - Node101fontSize * 0.2;
- Node101lineStart = (Node101width - (ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(1197*ratio.ratioX, 126*ratio.ratioY);
- Node101.setWidth(Node101width);
- Node101.setHeight(Node101height);
- Node101._nodeType = 'text';
- Node101._disallowEvert = true;
- Node101.setRotation(0*Math.PI/180);
- Node101.a('node.width', Node101width);
- Node101.a('node.height', Node101height);
- Node101.a('node.rect', [0, 0, Node101width, Node101height]);
- Node101.a('node.bordercolor','rgba(0,0,0,1)');
- Node101.a('node.borderwidth', 0);
- Node101.a('node.background','' || 'rgba(0,0,0,0)');
- Node101.a('node.gradient','');
- Node101.a('node.gradientcolor','');
- Node101.a('node.text','0');
- Node101.a('node.textalign','center');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(0,0,0,1)');
- Node101.a('node.font',' '+ Node101fontSize + 'px "Arial"');
- Node101.a('node.textvisible',true);
- Node101.a('node.linefeed',false);
- if (false) {
- Node101.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node101.a('node.text') || '0';
- var color=Node101.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node101width,Node101height,14.66663*_ratio.ratioY,"center",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'center', Node102fontSize = 14.66663*_ratio.ratioY,Node102width = 59*_ratio.ratioX, Node102height = 26*_ratio.ratioY;
- (function () {
- if (Node102align === 'left') {
- Node102textStart = Node102fontSize * 0.2 > 2 ? Node102fontSize * 0.2 - 4 : Node102fontSize * 0.2 - 9;
- Node102textWidth = Node102width;
- Node102lineStart = 1;
- } else if (Node102align === 'right') {
- Node102textStart = 0;
- Node102textWidth =Node102fontSize <= 8 ? Node102width + Node102fontSize * 0.2 + 6 : Node102width - Node102fontSize * 0.2;
- Node102lineStart = (Node102width - (ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
- Node102.setPosition(1197*ratio.ratioX, 150*ratio.ratioY);
- Node102.setWidth(Node102width);
- Node102.setHeight(Node102height);
- Node102._nodeType = 'text';
- Node102._disallowEvert = true;
- Node102.setRotation(0*Math.PI/180);
- Node102.a('node.width', Node102width);
- Node102.a('node.height', Node102height);
- Node102.a('node.rect', [0, 0, Node102width, Node102height]);
- Node102.a('node.bordercolor','rgba(0,0,0,1)');
- Node102.a('node.borderwidth', 0);
- Node102.a('node.background','' || 'rgba(0,0,0,0)');
- Node102.a('node.gradient','');
- Node102.a('node.gradientcolor','');
- Node102.a('node.text','0');
- Node102.a('node.textalign','center');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(0,0,0,1)');
- Node102.a('node.font',' '+ Node102fontSize + 'px "Arial"');
- Node102.a('node.textvisible',true);
- Node102.a('node.linefeed',false);
- if (false) {
- Node102.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node102.a('node.text') || '0';
- var color=Node102.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node102width,Node102height,14.66663*_ratio.ratioY,"center",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103type = 'rect';
- var Node103 = new ht.Node(),
- Node103BorderWidth = 1*2;
- if (Node103type === 'arc') {
- Node103BorderWidth *= 1;
- }
- Node103.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node103type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node103.setPosition(1277*ratio.ratioX, 76*ratio.ratioY);
- Node103.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node103.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node103.a('node.width', 65*_ratio.ratioX);
- Node103.a('node.height', 24.33138*_ratio.ratioY);
- Node103.a('node.type', Node103type);
- Node103.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node103.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node103.a('node.gradientcolor', '');
- Node103.a('node.gradient', '');
- Node103.a('node.borderwidth', Node103BorderWidth);
- Node103.a('node.color', 'rgba(224,224,224,1)');
- Node103.a('node.fillrect', [0,0,0,0]);
- Node103.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node103.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node103.a('node.fillgradient', '');
- if (Node103type !== 'rect') {
- Node103.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node103.a('node.arcTo', parseFloat('@arcTo@'));
- Node103.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node103type === 'arc') {
- Node103.a('node.arcOval', true);
- }
- Node103.setRotation(0*Math.PI/180);
- Node103.borderWidth = Node103BorderWidth;
- Node103.borderFillwidth = Node103BorderWidth;
- dataModel.add(Node103);
- Node103._nodename = 'Node103'
- Node103._nodeType = 'rect';
- zoomNodeList.push({
- node: Node103,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node103, Node103.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104type = 'rect';
- var Node104 = new ht.Node(),
- Node104BorderWidth = 1*2;
- if (Node104type === 'arc') {
- Node104BorderWidth *= 1;
- }
- Node104.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node104type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node104.setPosition(1277*ratio.ratioX, 100*ratio.ratioY);
- Node104.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node104.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node104.a('node.width', 65*_ratio.ratioX);
- Node104.a('node.height', 24.33138*_ratio.ratioY);
- Node104.a('node.type', Node104type);
- Node104.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node104.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node104.a('node.gradientcolor', '');
- Node104.a('node.gradient', '');
- Node104.a('node.borderwidth', Node104BorderWidth);
- Node104.a('node.color', 'rgba(224,224,224,1)');
- Node104.a('node.fillrect', [0,0,0,0]);
- Node104.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node104.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node104.a('node.fillgradient', '');
- if (Node104type !== 'rect') {
- Node104.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node104.a('node.arcTo', parseFloat('@arcTo@'));
- Node104.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node104type === 'arc') {
- Node104.a('node.arcOval', true);
- }
- Node104.setRotation(0*Math.PI/180);
- Node104.borderWidth = Node104BorderWidth;
- Node104.borderFillwidth = Node104BorderWidth;
- dataModel.add(Node104);
- Node104._nodename = 'Node104'
- Node104._nodeType = 'rect';
- zoomNodeList.push({
- node: Node104,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node104, Node104.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node105type = 'rect';
- var Node105 = new ht.Node(),
- Node105BorderWidth = 1*2;
- if (Node105type === 'arc') {
- Node105BorderWidth *= 1;
- }
- Node105.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node105type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node105.setPosition(1277*ratio.ratioX, 125*ratio.ratioY);
- Node105.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node105.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node105.a('node.width', 65*_ratio.ratioX);
- Node105.a('node.height', 24.33136*_ratio.ratioY);
- Node105.a('node.type', Node105type);
- Node105.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node105.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node105.a('node.gradientcolor', '');
- Node105.a('node.gradient', '');
- Node105.a('node.borderwidth', Node105BorderWidth);
- Node105.a('node.color', 'rgba(224,224,224,1)');
- Node105.a('node.fillrect', [0,0,0,0]);
- Node105.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node105.a('node.fillgradient', '');
- if (Node105type !== 'rect') {
- Node105.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node105.a('node.arcTo', parseFloat('@arcTo@'));
- Node105.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node105type === 'arc') {
- Node105.a('node.arcOval', true);
- }
- Node105.setRotation(0*Math.PI/180);
- Node105.borderWidth = Node105BorderWidth;
- Node105.borderFillwidth = Node105BorderWidth;
- dataModel.add(Node105);
- Node105._nodename = 'Node105'
- Node105._nodeType = 'rect';
- zoomNodeList.push({
- node: Node105,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node105, Node105.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node106type = 'rect';
- var Node106 = new ht.Node(),
- Node106BorderWidth = 1*2;
- if (Node106type === 'arc') {
- Node106BorderWidth *= 1;
- }
- Node106.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node106type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node106.setPosition(1277*ratio.ratioX, 149*ratio.ratioY);
- Node106.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node106.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node106.a('node.width', 65*_ratio.ratioX);
- Node106.a('node.height', 24.33138*_ratio.ratioY);
- Node106.a('node.type', Node106type);
- Node106.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node106.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node106.a('node.gradientcolor', '');
- Node106.a('node.gradient', '');
- Node106.a('node.borderwidth', Node106BorderWidth);
- Node106.a('node.color', 'rgba(224,224,224,1)');
- Node106.a('node.fillrect', [0,0,0,0]);
- Node106.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node106.a('node.fillgradient', '');
- if (Node106type !== 'rect') {
- Node106.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node106.a('node.arcTo', parseFloat('@arcTo@'));
- Node106.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node106type === 'arc') {
- Node106.a('node.arcOval', true);
- }
- Node106.setRotation(0*Math.PI/180);
- Node106.borderWidth = Node106BorderWidth;
- Node106.borderFillwidth = Node106BorderWidth;
- dataModel.add(Node106);
- Node106._nodename = 'Node106'
- Node106._nodeType = 'rect';
- zoomNodeList.push({
- node: Node106,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node106, Node106.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node107 = new ht.Node();
- var Node107textStart, Node107textWidth, Node107lineStart, Node107align = 'center', Node107fontSize = 13.3333*_ratio.ratioY,Node107width = 59*_ratio.ratioX, Node107height = 26*_ratio.ratioY;
- (function () {
- if (Node107align === 'left') {
- Node107textStart = Node107fontSize * 0.2 > 2 ? Node107fontSize * 0.2 - 4 : Node107fontSize * 0.2 - 9;
- Node107textWidth = Node107width;
- Node107lineStart = 1;
- } else if (Node107align === 'right') {
- Node107textStart = 0;
- Node107textWidth =Node107fontSize <= 8 ? Node107width + Node107fontSize * 0.2 + 6 : Node107width - Node107fontSize * 0.2;
- Node107lineStart = (Node107width - (ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node107align === 'center') {
- Node107textStart = -3;
- Node107textWidth = Node107width;
- Node107lineStart = Node107width - ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node107.setImage(GD.getTextJSON(Node107width, Node107height, true, false, false, ' '+ Node107fontSize + 'px "Arial"'))
- Node107.setPosition(1278*ratio.ratioX, 54*ratio.ratioY);
- Node107.setWidth(Node107width);
- Node107.setHeight(Node107height);
- Node107._nodeType = 'text';
- Node107._disallowEvert = true;
- Node107.setRotation(0*Math.PI/180);
- Node107.a('node.width', Node107width);
- Node107.a('node.height', Node107height);
- Node107.a('node.rect', [0, 0, Node107width, Node107height]);
- Node107.a('node.bordercolor','rgba(128,128,128,1)');
- Node107.a('node.borderwidth', 0);
- Node107.a('node.background','' || 'rgba(0,0,0,0)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','');
- Node107.a('node.text','万kWh');
- Node107.a('node.textalign','center');
- Node107.a('node.textvAlign','middle');
- Node107.a('node.textrect', [Node107textStart, 0, Node107textWidth, Node107height]);
- Node107.a('node.color','rgba(128,128,128,1)');
- Node107.a('node.font',' '+ Node107fontSize + 'px "Arial"');
- Node107.a('node.textvisible',true);
- Node107.a('node.linefeed',false);
- if (false) {
- Node107.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node107.a('node.text') || '万kWh';
- var color=Node107.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node107width,Node107height,13.3333*_ratio.ratioY,"center",color,' '+ Node107fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node107.a('node.underlinepoints',[Node107lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node107fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node107fontSize + 'px "Arial"').width + 6, (Node107height - Node107fontSize) * 0.5*_ratio.ratioY + Node107fontSize + 2 ]);
- Node107.a('node.underlinevisible',false);
- Node107.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node107);
- zoomNodeList.push({
- node: Node107,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node108 = new ht.Node();
- var Node108textStart, Node108textWidth, Node108lineStart, Node108align = 'center', Node108fontSize = 13.3333*_ratio.ratioY,Node108width = 59*_ratio.ratioX, Node108height = 26*_ratio.ratioY;
- (function () {
- if (Node108align === 'left') {
- Node108textStart = Node108fontSize * 0.2 > 2 ? Node108fontSize * 0.2 - 4 : Node108fontSize * 0.2 - 9;
- Node108textWidth = Node108width;
- Node108lineStart = 1;
- } else if (Node108align === 'right') {
- Node108textStart = 0;
- Node108textWidth =Node108fontSize <= 8 ? Node108width + Node108fontSize * 0.2 + 6 : Node108width - Node108fontSize * 0.2;
- Node108lineStart = (Node108width - (ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node108align === 'center') {
- Node108textStart = -3;
- Node108textWidth = Node108width;
- Node108lineStart = Node108width - ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node108.setImage(GD.getTextJSON(Node108width, Node108height, true, false, false, ' '+ Node108fontSize + 'px "Arial"'))
- Node108.setPosition(1278*ratio.ratioX, 78*ratio.ratioY);
- Node108.setWidth(Node108width);
- Node108.setHeight(Node108height);
- Node108._nodeType = 'text';
- Node108._disallowEvert = true;
- Node108.setRotation(0*Math.PI/180);
- Node108.a('node.width', Node108width);
- Node108.a('node.height', Node108height);
- Node108.a('node.rect', [0, 0, Node108width, Node108height]);
- Node108.a('node.bordercolor','rgba(128,128,128,1)');
- Node108.a('node.borderwidth', 0);
- Node108.a('node.background','' || 'rgba(0,0,0,0)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','');
- Node108.a('node.text','万kWh');
- Node108.a('node.textalign','center');
- Node108.a('node.textvAlign','middle');
- Node108.a('node.textrect', [Node108textStart, 0, Node108textWidth, Node108height]);
- Node108.a('node.color','rgba(128,128,128,1)');
- Node108.a('node.font',' '+ Node108fontSize + 'px "Arial"');
- Node108.a('node.textvisible',true);
- Node108.a('node.linefeed',false);
- if (false) {
- Node108.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node108.a('node.text') || '万kWh';
- var color=Node108.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node108width,Node108height,13.3333*_ratio.ratioY,"center",color,' '+ Node108fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node108.a('node.underlinepoints',[Node108lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node108fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node108fontSize + 'px "Arial"').width + 6, (Node108height - Node108fontSize) * 0.5*_ratio.ratioY + Node108fontSize + 2 ]);
- Node108.a('node.underlinevisible',false);
- Node108.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node108);
- zoomNodeList.push({
- node: Node108,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109 = new ht.Node();
- var Node109textStart, Node109textWidth, Node109lineStart, Node109align = 'center', Node109fontSize = 13.3333*_ratio.ratioY,Node109width = 59*_ratio.ratioX, Node109height = 26*_ratio.ratioY;
- (function () {
- if (Node109align === 'left') {
- Node109textStart = Node109fontSize * 0.2 > 2 ? Node109fontSize * 0.2 - 4 : Node109fontSize * 0.2 - 9;
- Node109textWidth = Node109width;
- Node109lineStart = 1;
- } else if (Node109align === 'right') {
- Node109textStart = 0;
- Node109textWidth =Node109fontSize <= 8 ? Node109width + Node109fontSize * 0.2 + 6 : Node109width - Node109fontSize * 0.2;
- Node109lineStart = (Node109width - (ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node109align === 'center') {
- Node109textStart = -3;
- Node109textWidth = Node109width;
- Node109lineStart = Node109width - ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node109.setImage(GD.getTextJSON(Node109width, Node109height, true, false, false, ' '+ Node109fontSize + 'px "Arial"'))
- Node109.setPosition(1278*ratio.ratioX, 101*ratio.ratioY);
- Node109.setWidth(Node109width);
- Node109.setHeight(Node109height);
- Node109._nodeType = 'text';
- Node109._disallowEvert = true;
- Node109.setRotation(0*Math.PI/180);
- Node109.a('node.width', Node109width);
- Node109.a('node.height', Node109height);
- Node109.a('node.rect', [0, 0, Node109width, Node109height]);
- Node109.a('node.bordercolor','rgba(128,128,128,1)');
- Node109.a('node.borderwidth', 0);
- Node109.a('node.background','' || 'rgba(0,0,0,0)');
- Node109.a('node.gradient','');
- Node109.a('node.gradientcolor','');
- Node109.a('node.text','万kWh');
- Node109.a('node.textalign','center');
- Node109.a('node.textvAlign','middle');
- Node109.a('node.textrect', [Node109textStart, 0, Node109textWidth, Node109height]);
- Node109.a('node.color','rgba(128,128,128,1)');
- Node109.a('node.font',' '+ Node109fontSize + 'px "Arial"');
- Node109.a('node.textvisible',true);
- Node109.a('node.linefeed',false);
- if (false) {
- Node109.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node109.a('node.text') || '万kWh';
- var color=Node109.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node109width,Node109height,13.3333*_ratio.ratioY,"center",color,' '+ Node109fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node109.a('node.underlinepoints',[Node109lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node109fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node109fontSize + 'px "Arial"').width + 6, (Node109height - Node109fontSize) * 0.5*_ratio.ratioY + Node109fontSize + 2 ]);
- Node109.a('node.underlinevisible',false);
- Node109.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node109);
- zoomNodeList.push({
- node: Node109,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110 = new ht.Node();
- var Node110textStart, Node110textWidth, Node110lineStart, Node110align = 'center', Node110fontSize = 13.3333*_ratio.ratioY,Node110width = 59*_ratio.ratioX, Node110height = 26*_ratio.ratioY;
- (function () {
- if (Node110align === 'left') {
- Node110textStart = Node110fontSize * 0.2 > 2 ? Node110fontSize * 0.2 - 4 : Node110fontSize * 0.2 - 9;
- Node110textWidth = Node110width;
- Node110lineStart = 1;
- } else if (Node110align === 'right') {
- Node110textStart = 0;
- Node110textWidth =Node110fontSize <= 8 ? Node110width + Node110fontSize * 0.2 + 6 : Node110width - Node110fontSize * 0.2;
- Node110lineStart = (Node110width - (ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node110align === 'center') {
- Node110textStart = -3;
- Node110textWidth = Node110width;
- Node110lineStart = Node110width - ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node110.setImage(GD.getTextJSON(Node110width, Node110height, true, false, false, ' '+ Node110fontSize + 'px "Arial"'))
- Node110.setPosition(1278*ratio.ratioX, 127*ratio.ratioY);
- Node110.setWidth(Node110width);
- Node110.setHeight(Node110height);
- Node110._nodeType = 'text';
- Node110._disallowEvert = true;
- Node110.setRotation(0*Math.PI/180);
- Node110.a('node.width', Node110width);
- Node110.a('node.height', Node110height);
- Node110.a('node.rect', [0, 0, Node110width, Node110height]);
- Node110.a('node.bordercolor','rgba(128,128,128,1)');
- Node110.a('node.borderwidth', 0);
- Node110.a('node.background','' || 'rgba(0,0,0,0)');
- Node110.a('node.gradient','');
- Node110.a('node.gradientcolor','');
- Node110.a('node.text','万kWh');
- Node110.a('node.textalign','center');
- Node110.a('node.textvAlign','middle');
- Node110.a('node.textrect', [Node110textStart, 0, Node110textWidth, Node110height]);
- Node110.a('node.color','rgba(128,128,128,1)');
- Node110.a('node.font',' '+ Node110fontSize + 'px "Arial"');
- Node110.a('node.textvisible',true);
- Node110.a('node.linefeed',false);
- if (false) {
- Node110.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node110.a('node.text') || '万kWh';
- var color=Node110.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node110width,Node110height,13.3333*_ratio.ratioY,"center",color,' '+ Node110fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node110.a('node.underlinepoints',[Node110lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node110fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node110fontSize + 'px "Arial"').width + 6, (Node110height - Node110fontSize) * 0.5*_ratio.ratioY + Node110fontSize + 2 ]);
- Node110.a('node.underlinevisible',false);
- Node110.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node110);
- zoomNodeList.push({
- node: Node110,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node111 = new ht.Node();
- var Node111textStart, Node111textWidth, Node111lineStart, Node111align = 'center', Node111fontSize = 13.3333*_ratio.ratioY,Node111width = 59*_ratio.ratioX, Node111height = 26*_ratio.ratioY;
- (function () {
- if (Node111align === 'left') {
- Node111textStart = Node111fontSize * 0.2 > 2 ? Node111fontSize * 0.2 - 4 : Node111fontSize * 0.2 - 9;
- Node111textWidth = Node111width;
- Node111lineStart = 1;
- } else if (Node111align === 'right') {
- Node111textStart = 0;
- Node111textWidth =Node111fontSize <= 8 ? Node111width + Node111fontSize * 0.2 + 6 : Node111width - Node111fontSize * 0.2;
- Node111lineStart = (Node111width - (ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node111align === 'center') {
- Node111textStart = -3;
- Node111textWidth = Node111width;
- Node111lineStart = Node111width - ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node111.setImage(GD.getTextJSON(Node111width, Node111height, true, false, false, ' '+ Node111fontSize + 'px "Arial"'))
- Node111.setPosition(1278*ratio.ratioX, 151*ratio.ratioY);
- Node111.setWidth(Node111width);
- Node111.setHeight(Node111height);
- Node111._nodeType = 'text';
- Node111._disallowEvert = true;
- Node111.setRotation(0*Math.PI/180);
- Node111.a('node.width', Node111width);
- Node111.a('node.height', Node111height);
- Node111.a('node.rect', [0, 0, Node111width, Node111height]);
- Node111.a('node.bordercolor','rgba(128,128,128,1)');
- Node111.a('node.borderwidth', 0);
- Node111.a('node.background','' || 'rgba(0,0,0,0)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','');
- Node111.a('node.text','万kWh');
- Node111.a('node.textalign','center');
- Node111.a('node.textvAlign','middle');
- Node111.a('node.textrect', [Node111textStart, 0, Node111textWidth, Node111height]);
- Node111.a('node.color','rgba(128,128,128,1)');
- Node111.a('node.font',' '+ Node111fontSize + 'px "Arial"');
- Node111.a('node.textvisible',true);
- Node111.a('node.linefeed',false);
- if (false) {
- Node111.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node111.a('node.text') || '万kWh';
- var color=Node111.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node111width,Node111height,13.3333*_ratio.ratioY,"center",color,' '+ Node111fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node111.a('node.underlinepoints',[Node111lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node111fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node111fontSize + 'px "Arial"').width + 6, (Node111height - Node111fontSize) * 0.5*_ratio.ratioY + Node111fontSize + 2 ]);
- Node111.a('node.underlinevisible',false);
- Node111.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node111);
- zoomNodeList.push({
- node: Node111,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node112 = new ht.Node();
- var Node112textStart, Node112textWidth, Node112lineStart, Node112align = 'left', Node112fontSize = 13.3333*_ratio.ratioY,Node112width = 67*_ratio.ratioX, Node112height = 26*_ratio.ratioY;
- (function () {
- if (Node112align === 'left') {
- Node112textStart = Node112fontSize * 0.2 > 2 ? Node112fontSize * 0.2 - 4 : Node112fontSize * 0.2 - 9;
- Node112textWidth = Node112width;
- Node112lineStart = 1;
- } else if (Node112align === 'right') {
- Node112textStart = 0;
- Node112textWidth =Node112fontSize <= 8 ? Node112width + Node112fontSize * 0.2 + 6 : Node112width - Node112fontSize * 0.2;
- Node112lineStart = (Node112width - (ht.Default.getTextSize('装机容量', ' '+ Node112fontSize + 'px "微软雅黑"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('装机容量', ' '+ Node112fontSize + 'px "微软雅黑"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "微软雅黑"'))
- Node112.setPosition(223*ratio.ratioX, 53*ratio.ratioY);
- Node112.setWidth(Node112width);
- Node112.setHeight(Node112height);
- Node112._nodeType = 'text';
- Node112._disallowEvert = true;
- Node112.setRotation(0*Math.PI/180);
- Node112.a('node.width', Node112width);
- Node112.a('node.height', Node112height);
- Node112.a('node.rect', [0, 0, Node112width, Node112height]);
- Node112.a('node.bordercolor','rgba(0,0,0,1)');
- Node112.a('node.borderwidth', 0);
- Node112.a('node.background','' || 'rgba(0,0,0,0)');
- Node112.a('node.gradient','');
- Node112.a('node.gradientcolor','');
- Node112.a('node.text','装机容量');
- Node112.a('node.textalign','left');
- Node112.a('node.textvAlign','middle');
- Node112.a('node.textrect', [Node112textStart, 0, Node112textWidth, Node112height]);
- Node112.a('node.color','rgba(0,0,0,1)');
- Node112.a('node.font',' '+ Node112fontSize + 'px "微软雅黑"');
- 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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node112width,Node112height,13.3333*_ratio.ratioY,"left",color,' '+ Node112fontSize + 'px "微软雅黑"', 0,g);
- });
- }
- if (false) {
- Node112.a('node.underlinepoints',[Node112lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node112fontSize + 'px "微软雅黑"').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 Node113type = 'rect';
- var Node113 = new ht.Node(),
- Node113BorderWidth = 1*2;
- if (Node113type === 'arc') {
- Node113BorderWidth *= 1;
- }
- Node113.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node113type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node113.setPosition(354*ratio.ratioX, 52*ratio.ratioY);
- Node113.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node113.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node113.a('node.width', 94*_ratio.ratioX);
- Node113.a('node.height', 24.33136*_ratio.ratioY);
- Node113.a('node.type', Node113type);
- Node113.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node113.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node113.a('node.gradientcolor', '');
- Node113.a('node.gradient', '');
- Node113.a('node.borderwidth', Node113BorderWidth);
- Node113.a('node.color', 'rgba(224,224,224,1)');
- Node113.a('node.fillrect', [0,0,0,0]);
- Node113.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node113.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node113.a('node.fillgradient', '');
- if (Node113type !== 'rect') {
- Node113.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node113.a('node.arcTo', parseFloat('@arcTo@'));
- Node113.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node113type === 'arc') {
- Node113.a('node.arcOval', true);
- }
- Node113.setRotation(0*Math.PI/180);
- Node113.borderWidth = Node113BorderWidth;
- Node113.borderFillwidth = Node113BorderWidth;
- dataModel.add(Node113);
- Node113._nodename = 'Node113'
- Node113._nodeType = 'rect';
- zoomNodeList.push({
- node: Node113,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node113, Node113.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114type = 'rect';
- var Node114 = new ht.Node(),
- Node114BorderWidth = 1*2;
- if (Node114type === 'arc') {
- Node114BorderWidth *= 1;
- }
- Node114.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node114type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node114.setPosition(354*ratio.ratioX, 76*ratio.ratioY);
- Node114.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node114.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node114.a('node.width', 94*_ratio.ratioX);
- Node114.a('node.height', 24.33138*_ratio.ratioY);
- Node114.a('node.type', Node114type);
- Node114.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node114.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node114.a('node.gradientcolor', '');
- Node114.a('node.gradient', '');
- Node114.a('node.borderwidth', Node114BorderWidth);
- Node114.a('node.color', 'rgba(224,224,224,1)');
- Node114.a('node.fillrect', [0,0,0,0]);
- Node114.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node114.a('node.fillgradient', '');
- if (Node114type !== 'rect') {
- Node114.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node114.a('node.arcTo', parseFloat('@arcTo@'));
- Node114.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node114type === 'arc') {
- Node114.a('node.arcOval', true);
- }
- Node114.setRotation(0*Math.PI/180);
- Node114.borderWidth = Node114BorderWidth;
- Node114.borderFillwidth = Node114BorderWidth;
- dataModel.add(Node114);
- Node114._nodename = 'Node114'
- Node114._nodeType = 'rect';
- zoomNodeList.push({
- node: Node114,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node114, Node114.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115type = 'rect';
- var Node115 = new ht.Node(),
- Node115BorderWidth = 1*2;
- if (Node115type === 'arc') {
- Node115BorderWidth *= 1;
- }
- Node115.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node115type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node115.setPosition(354*ratio.ratioX, 100*ratio.ratioY);
- Node115.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node115.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node115.a('node.width', 94*_ratio.ratioX);
- Node115.a('node.height', 24.33138*_ratio.ratioY);
- Node115.a('node.type', Node115type);
- Node115.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node115.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node115.a('node.gradientcolor', '');
- Node115.a('node.gradient', '');
- Node115.a('node.borderwidth', Node115BorderWidth);
- Node115.a('node.color', 'rgba(224,224,224,1)');
- Node115.a('node.fillrect', [0,0,0,0]);
- Node115.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node115.a('node.fillgradient', '');
- if (Node115type !== 'rect') {
- Node115.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node115.a('node.arcTo', parseFloat('@arcTo@'));
- Node115.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node115type === 'arc') {
- Node115.a('node.arcOval', true);
- }
- Node115.setRotation(0*Math.PI/180);
- Node115.borderWidth = Node115BorderWidth;
- Node115.borderFillwidth = Node115BorderWidth;
- dataModel.add(Node115);
- Node115._nodename = 'Node115'
- Node115._nodeType = 'rect';
- zoomNodeList.push({
- node: Node115,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node115, Node115.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116type = 'rect';
- var Node116 = new ht.Node(),
- Node116BorderWidth = 1*2;
- if (Node116type === 'arc') {
- Node116BorderWidth *= 1;
- }
- Node116.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node116type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node116.setPosition(354*ratio.ratioX, 125*ratio.ratioY);
- Node116.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node116.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node116.a('node.width', 94*_ratio.ratioX);
- Node116.a('node.height', 24.33136*_ratio.ratioY);
- Node116.a('node.type', Node116type);
- Node116.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node116.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node116.a('node.gradientcolor', '');
- Node116.a('node.gradient', '');
- Node116.a('node.borderwidth', Node116BorderWidth);
- Node116.a('node.color', 'rgba(224,224,224,1)');
- Node116.a('node.fillrect', [0,0,0,0]);
- Node116.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node116.a('node.fillgradient', '');
- if (Node116type !== 'rect') {
- Node116.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node116.a('node.arcTo', parseFloat('@arcTo@'));
- Node116.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node116type === 'arc') {
- Node116.a('node.arcOval', true);
- }
- Node116.setRotation(0*Math.PI/180);
- Node116.borderWidth = Node116BorderWidth;
- Node116.borderFillwidth = Node116BorderWidth;
- dataModel.add(Node116);
- Node116._nodename = 'Node116'
- Node116._nodeType = 'rect';
- zoomNodeList.push({
- node: Node116,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node116, Node116.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117type = 'rect';
- var Node117 = new ht.Node(),
- Node117BorderWidth = 1*2;
- if (Node117type === 'arc') {
- Node117BorderWidth *= 1;
- }
- Node117.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node117type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node117.setPosition(354*ratio.ratioX, 149*ratio.ratioY);
- Node117.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node117.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node117.a('node.width', 94*_ratio.ratioX);
- Node117.a('node.height', 24.33138*_ratio.ratioY);
- Node117.a('node.type', Node117type);
- Node117.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node117.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node117.a('node.gradientcolor', '');
- Node117.a('node.gradient', '');
- Node117.a('node.borderwidth', Node117BorderWidth);
- Node117.a('node.color', 'rgba(224,224,224,1)');
- Node117.a('node.fillrect', [0,0,0,0]);
- Node117.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node117.a('node.fillgradient', '');
- if (Node117type !== 'rect') {
- Node117.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node117.a('node.arcTo', parseFloat('@arcTo@'));
- Node117.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node117type === 'arc') {
- Node117.a('node.arcOval', true);
- }
- Node117.setRotation(0*Math.PI/180);
- Node117.borderWidth = Node117BorderWidth;
- Node117.borderFillwidth = Node117BorderWidth;
- dataModel.add(Node117);
- Node117._nodename = 'Node117'
- Node117._nodeType = 'rect';
- zoomNodeList.push({
- node: Node117,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node117, Node117.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118 = new ht.Node();
- var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'center', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 58*_ratio.ratioX, Node118height = 26*_ratio.ratioY;
- (function () {
- if (Node118align === 'left') {
- Node118textStart = Node118fontSize * 0.2 > 2 ? Node118fontSize * 0.2 - 4 : Node118fontSize * 0.2 - 9;
- Node118textWidth = Node118width;
- Node118lineStart = 1;
- } else if (Node118align === 'right') {
- Node118textStart = 0;
- Node118textWidth =Node118fontSize <= 8 ? Node118width + Node118fontSize * 0.2 + 6 : Node118width - Node118fontSize * 0.2;
- Node118lineStart = (Node118width - (ht.Default.getTextSize('0', ' '+ Node118fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node118align === 'center') {
- Node118textStart = -3;
- Node118textWidth = Node118width;
- Node118lineStart = Node118width - ht.Default.getTextSize('0', ' '+ Node118fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, ' '+ Node118fontSize + 'px "Arial"'))
- Node118.setPosition(354*ratio.ratioX, 54*ratio.ratioY);
- Node118.setWidth(Node118width);
- Node118.setHeight(Node118height);
- Node118._nodeType = 'text';
- Node118._disallowEvert = true;
- Node118.setRotation(0*Math.PI/180);
- Node118.a('node.width', Node118width);
- Node118.a('node.height', Node118height);
- Node118.a('node.rect', [0, 0, Node118width, Node118height]);
- Node118.a('node.bordercolor','rgba(0,0,0,1)');
- Node118.a('node.borderwidth', 0);
- Node118.a('node.background','' || 'rgba(0,0,0,0)');
- Node118.a('node.gradient','');
- Node118.a('node.gradientcolor','');
- Node118.a('node.text','0');
- Node118.a('node.textalign','center');
- Node118.a('node.textvAlign','middle');
- Node118.a('node.textrect', [Node118textStart, 0, Node118textWidth, Node118height]);
- Node118.a('node.color','rgba(0,0,0,1)');
- Node118.a('node.font',' '+ Node118fontSize + 'px "Arial"');
- Node118.a('node.textvisible',true);
- Node118.a('node.linefeed',false);
- if (false) {
- Node118.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node118.a('node.text') || '0';
- var color=Node118.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node118width,Node118height,13.3333*_ratio.ratioY,"center",color,' '+ Node118fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node118.a('node.underlinepoints',[Node118lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node118fontSize + 'px "Arial"').width + 6, (Node118height - Node118fontSize) * 0.5*_ratio.ratioY + Node118fontSize + 2 ]);
- Node118.a('node.underlinevisible',false);
- Node118.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node118);
- zoomNodeList.push({
- node: Node118,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node119 = new ht.Node();
- var Node119textStart, Node119textWidth, Node119lineStart, Node119align = 'center', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 58*_ratio.ratioX, Node119height = 26*_ratio.ratioY;
- (function () {
- if (Node119align === 'left') {
- Node119textStart = Node119fontSize * 0.2 > 2 ? Node119fontSize * 0.2 - 4 : Node119fontSize * 0.2 - 9;
- Node119textWidth = Node119width;
- Node119lineStart = 1;
- } else if (Node119align === 'right') {
- Node119textStart = 0;
- Node119textWidth =Node119fontSize <= 8 ? Node119width + Node119fontSize * 0.2 + 6 : Node119width - Node119fontSize * 0.2;
- Node119lineStart = (Node119width - (ht.Default.getTextSize('0', ' '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('0', ' '+ Node119fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, ' '+ Node119fontSize + 'px "Arial"'))
- Node119.setPosition(354*ratio.ratioX, 78*ratio.ratioY);
- Node119.setWidth(Node119width);
- Node119.setHeight(Node119height);
- Node119._nodeType = 'text';
- Node119._disallowEvert = true;
- Node119.setRotation(0*Math.PI/180);
- Node119.a('node.width', Node119width);
- Node119.a('node.height', Node119height);
- Node119.a('node.rect', [0, 0, Node119width, Node119height]);
- Node119.a('node.bordercolor','rgba(0,0,0,1)');
- Node119.a('node.borderwidth', 0);
- Node119.a('node.background','' || 'rgba(0,0,0,0)');
- Node119.a('node.gradient','');
- Node119.a('node.gradientcolor','');
- Node119.a('node.text','0');
- Node119.a('node.textalign','center');
- Node119.a('node.textvAlign','middle');
- Node119.a('node.textrect', [Node119textStart, 0, Node119textWidth, Node119height]);
- Node119.a('node.color','rgba(0,0,0,1)');
- Node119.a('node.font',' '+ Node119fontSize + 'px "Arial"');
- Node119.a('node.textvisible',true);
- Node119.a('node.linefeed',false);
- if (false) {
- Node119.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node119.a('node.text') || '0';
- var color=Node119.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node119width,Node119height,13.3333*_ratio.ratioY,"center",color,' '+ Node119fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node119fontSize + 'px "Arial"').width + 6, (Node119height - Node119fontSize) * 0.5*_ratio.ratioY + Node119fontSize + 2 ]);
- Node119.a('node.underlinevisible',false);
- Node119.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node119);
- zoomNodeList.push({
- node: Node119,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node120 = new ht.Node();
- var Node120textStart, Node120textWidth, Node120lineStart, Node120align = 'center', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 58*_ratio.ratioX, Node120height = 26*_ratio.ratioY;
- (function () {
- if (Node120align === 'left') {
- Node120textStart = Node120fontSize * 0.2 > 2 ? Node120fontSize * 0.2 - 4 : Node120fontSize * 0.2 - 9;
- Node120textWidth = Node120width;
- Node120lineStart = 1;
- } else if (Node120align === 'right') {
- Node120textStart = 0;
- Node120textWidth =Node120fontSize <= 8 ? Node120width + Node120fontSize * 0.2 + 6 : Node120width - Node120fontSize * 0.2;
- Node120lineStart = (Node120width - (ht.Default.getTextSize('0', ' '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('0', ' '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, ' '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(354*ratio.ratioX, 103*ratio.ratioY);
- Node120.setWidth(Node120width);
- Node120.setHeight(Node120height);
- Node120._nodeType = 'text';
- Node120._disallowEvert = true;
- Node120.setRotation(0*Math.PI/180);
- Node120.a('node.width', Node120width);
- Node120.a('node.height', Node120height);
- Node120.a('node.rect', [0, 0, Node120width, Node120height]);
- Node120.a('node.bordercolor','rgba(0,0,0,1)');
- Node120.a('node.borderwidth', 0);
- Node120.a('node.background','' || 'rgba(0,0,0,0)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','');
- Node120.a('node.text','0');
- Node120.a('node.textalign','center');
- Node120.a('node.textvAlign','middle');
- Node120.a('node.textrect', [Node120textStart, 0, Node120textWidth, Node120height]);
- Node120.a('node.color','rgba(0,0,0,1)');
- Node120.a('node.font',' '+ Node120fontSize + 'px "Arial"');
- Node120.a('node.textvisible',true);
- Node120.a('node.linefeed',false);
- if (false) {
- Node120.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node120.a('node.text') || '0';
- var color=Node120.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node120width,Node120height,13.3333*_ratio.ratioY,"center",color,' '+ Node120fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node120fontSize + 'px "Arial"').width + 6, (Node120height - Node120fontSize) * 0.5*_ratio.ratioY + Node120fontSize + 2 ]);
- Node120.a('node.underlinevisible',false);
- Node120.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node120);
- zoomNodeList.push({
- node: Node120,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node121 = new ht.Node();
- var Node121textStart, Node121textWidth, Node121lineStart, Node121align = 'center', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 58*_ratio.ratioX, Node121height = 26*_ratio.ratioY;
- (function () {
- if (Node121align === 'left') {
- Node121textStart = Node121fontSize * 0.2 > 2 ? Node121fontSize * 0.2 - 4 : Node121fontSize * 0.2 - 9;
- Node121textWidth = Node121width;
- Node121lineStart = 1;
- } else if (Node121align === 'right') {
- Node121textStart = 0;
- Node121textWidth =Node121fontSize <= 8 ? Node121width + Node121fontSize * 0.2 + 6 : Node121width - Node121fontSize * 0.2;
- Node121lineStart = (Node121width - (ht.Default.getTextSize('0', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('0', ' '+ Node121fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
- Node121.setPosition(354*ratio.ratioX, 126*ratio.ratioY);
- Node121.setWidth(Node121width);
- Node121.setHeight(Node121height);
- Node121._nodeType = 'text';
- Node121._disallowEvert = true;
- Node121.setRotation(0*Math.PI/180);
- Node121.a('node.width', Node121width);
- Node121.a('node.height', Node121height);
- Node121.a('node.rect', [0, 0, Node121width, Node121height]);
- Node121.a('node.bordercolor','rgba(0,0,0,1)');
- Node121.a('node.borderwidth', 0);
- Node121.a('node.background','' || 'rgba(0,0,0,0)');
- Node121.a('node.gradient','');
- Node121.a('node.gradientcolor','');
- Node121.a('node.text','0');
- Node121.a('node.textalign','center');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(0,0,0,1)');
- Node121.a('node.font',' '+ Node121fontSize + 'px "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') || '0';
- var color=Node121.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"center",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('0', ' '+ 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*Math.PI/180, ratio);
- var Node122 = new ht.Node();
- var Node122textStart, Node122textWidth, Node122lineStart, Node122align = 'center', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 58*_ratio.ratioX, Node122height = 26*_ratio.ratioY;
- (function () {
- if (Node122align === 'left') {
- Node122textStart = Node122fontSize * 0.2 > 2 ? Node122fontSize * 0.2 - 4 : Node122fontSize * 0.2 - 9;
- Node122textWidth = Node122width;
- Node122lineStart = 1;
- } else if (Node122align === 'right') {
- Node122textStart = 0;
- Node122textWidth =Node122fontSize <= 8 ? Node122width + Node122fontSize * 0.2 + 6 : Node122width - Node122fontSize * 0.2;
- Node122lineStart = (Node122width - (ht.Default.getTextSize('0', ' '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node122align === 'center') {
- Node122textStart = -3;
- Node122textWidth = Node122width;
- Node122lineStart = Node122width - ht.Default.getTextSize('0', ' '+ Node122fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, ' '+ Node122fontSize + 'px "Arial"'))
- Node122.setPosition(354*ratio.ratioX, 150*ratio.ratioY);
- Node122.setWidth(Node122width);
- Node122.setHeight(Node122height);
- Node122._nodeType = 'text';
- Node122._disallowEvert = true;
- Node122.setRotation(0*Math.PI/180);
- Node122.a('node.width', Node122width);
- Node122.a('node.height', Node122height);
- Node122.a('node.rect', [0, 0, Node122width, Node122height]);
- Node122.a('node.bordercolor','rgba(0,0,0,1)');
- Node122.a('node.borderwidth', 0);
- Node122.a('node.background','' || 'rgba(0,0,0,0)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','');
- Node122.a('node.text','0');
- Node122.a('node.textalign','center');
- Node122.a('node.textvAlign','middle');
- Node122.a('node.textrect', [Node122textStart, 0, Node122textWidth, Node122height]);
- Node122.a('node.color','rgba(0,0,0,1)');
- Node122.a('node.font',' '+ Node122fontSize + 'px "Arial"');
- Node122.a('node.textvisible',true);
- Node122.a('node.linefeed',false);
- if (false) {
- Node122.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node122.a('node.text') || '0';
- var color=Node122.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node122width,Node122height,13.3333*_ratio.ratioY,"center",color,' '+ Node122fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node122.a('node.underlinepoints',[Node122lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node122fontSize + 'px "Arial"').width + 6, (Node122height - Node122fontSize) * 0.5*_ratio.ratioY + Node122fontSize + 2 ]);
- Node122.a('node.underlinevisible',false);
- Node122.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node122);
- zoomNodeList.push({
- node: Node122,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node123type = 'rect';
- var Node123 = new ht.Node(),
- Node123BorderWidth = 1*2;
- if (Node123type === 'arc') {
- Node123BorderWidth *= 1;
- }
- Node123.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node123type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node123.setPosition(433*ratio.ratioX, 52*ratio.ratioY);
- Node123.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node123.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node123.a('node.width', 65*_ratio.ratioX);
- Node123.a('node.height', 24.33136*_ratio.ratioY);
- Node123.a('node.type', Node123type);
- Node123.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node123.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node123.a('node.gradientcolor', '');
- Node123.a('node.gradient', '');
- Node123.a('node.borderwidth', Node123BorderWidth);
- Node123.a('node.color', 'rgba(224,224,224,1)');
- Node123.a('node.fillrect', [0,0,0,0]);
- Node123.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node123.a('node.fillgradient', '');
- if (Node123type !== 'rect') {
- Node123.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node123.a('node.arcTo', parseFloat('@arcTo@'));
- Node123.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node123type === 'arc') {
- Node123.a('node.arcOval', true);
- }
- Node123.setRotation(0*Math.PI/180);
- Node123.borderWidth = Node123BorderWidth;
- Node123.borderFillwidth = Node123BorderWidth;
- dataModel.add(Node123);
- Node123._nodename = 'Node123'
- Node123._nodeType = 'rect';
- zoomNodeList.push({
- node: Node123,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node123, Node123.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124type = 'rect';
- var Node124 = new ht.Node(),
- Node124BorderWidth = 1*2;
- if (Node124type === 'arc') {
- Node124BorderWidth *= 1;
- }
- Node124.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node124type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node124.setPosition(433*ratio.ratioX, 76*ratio.ratioY);
- Node124.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node124.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node124.a('node.width', 65*_ratio.ratioX);
- Node124.a('node.height', 24.33138*_ratio.ratioY);
- Node124.a('node.type', Node124type);
- Node124.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node124.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node124.a('node.gradientcolor', '');
- Node124.a('node.gradient', '');
- Node124.a('node.borderwidth', Node124BorderWidth);
- Node124.a('node.color', 'rgba(224,224,224,1)');
- Node124.a('node.fillrect', [0,0,0,0]);
- Node124.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node124.a('node.fillgradient', '');
- if (Node124type !== 'rect') {
- Node124.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node124.a('node.arcTo', parseFloat('@arcTo@'));
- Node124.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node124type === 'arc') {
- Node124.a('node.arcOval', true);
- }
- Node124.setRotation(0*Math.PI/180);
- Node124.borderWidth = Node124BorderWidth;
- Node124.borderFillwidth = Node124BorderWidth;
- dataModel.add(Node124);
- Node124._nodename = 'Node124'
- Node124._nodeType = 'rect';
- zoomNodeList.push({
- node: Node124,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node124, Node124.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125type = 'rect';
- var Node125 = new ht.Node(),
- Node125BorderWidth = 1*2;
- if (Node125type === 'arc') {
- Node125BorderWidth *= 1;
- }
- Node125.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node125type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node125.setPosition(433*ratio.ratioX, 100*ratio.ratioY);
- Node125.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node125.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node125.a('node.width', 65*_ratio.ratioX);
- Node125.a('node.height', 24.33138*_ratio.ratioY);
- Node125.a('node.type', Node125type);
- Node125.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node125.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node125.a('node.gradientcolor', '');
- Node125.a('node.gradient', '');
- Node125.a('node.borderwidth', Node125BorderWidth);
- Node125.a('node.color', 'rgba(224,224,224,1)');
- Node125.a('node.fillrect', [0,0,0,0]);
- Node125.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node125.a('node.fillgradient', '');
- if (Node125type !== 'rect') {
- Node125.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node125.a('node.arcTo', parseFloat('@arcTo@'));
- Node125.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node125type === 'arc') {
- Node125.a('node.arcOval', true);
- }
- Node125.setRotation(0*Math.PI/180);
- Node125.borderWidth = Node125BorderWidth;
- Node125.borderFillwidth = Node125BorderWidth;
- dataModel.add(Node125);
- Node125._nodename = 'Node125'
- Node125._nodeType = 'rect';
- zoomNodeList.push({
- node: Node125,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node125, Node125.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126type = 'rect';
- var Node126 = new ht.Node(),
- Node126BorderWidth = 1*2;
- if (Node126type === 'arc') {
- Node126BorderWidth *= 1;
- }
- Node126.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node126type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node126.setPosition(433*ratio.ratioX, 125*ratio.ratioY);
- Node126.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node126.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node126.a('node.width', 65*_ratio.ratioX);
- Node126.a('node.height', 24.33136*_ratio.ratioY);
- Node126.a('node.type', Node126type);
- Node126.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node126.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node126.a('node.gradientcolor', '');
- Node126.a('node.gradient', '');
- Node126.a('node.borderwidth', Node126BorderWidth);
- Node126.a('node.color', 'rgba(224,224,224,1)');
- Node126.a('node.fillrect', [0,0,0,0]);
- Node126.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node126.a('node.fillgradient', '');
- if (Node126type !== 'rect') {
- Node126.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node126.a('node.arcTo', parseFloat('@arcTo@'));
- Node126.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node126type === 'arc') {
- Node126.a('node.arcOval', true);
- }
- Node126.setRotation(0*Math.PI/180);
- Node126.borderWidth = Node126BorderWidth;
- Node126.borderFillwidth = Node126BorderWidth;
- dataModel.add(Node126);
- Node126._nodename = 'Node126'
- Node126._nodeType = 'rect';
- zoomNodeList.push({
- node: Node126,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node126, Node126.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node127type = 'rect';
- var Node127 = new ht.Node(),
- Node127BorderWidth = 1*2;
- if (Node127type === 'arc') {
- Node127BorderWidth *= 1;
- }
- Node127.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node127type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node127.setPosition(433*ratio.ratioX, 149*ratio.ratioY);
- Node127.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node127.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node127.a('node.width', 65*_ratio.ratioX);
- Node127.a('node.height', 24.33138*_ratio.ratioY);
- Node127.a('node.type', Node127type);
- Node127.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node127.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node127.a('node.gradientcolor', '');
- Node127.a('node.gradient', '');
- Node127.a('node.borderwidth', Node127BorderWidth);
- Node127.a('node.color', 'rgba(224,224,224,1)');
- Node127.a('node.fillrect', [0,0,0,0]);
- Node127.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node127.a('node.fillgradient', '');
- if (Node127type !== 'rect') {
- Node127.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node127.a('node.arcTo', parseFloat('@arcTo@'));
- Node127.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node127type === 'arc') {
- Node127.a('node.arcOval', true);
- }
- Node127.setRotation(0*Math.PI/180);
- Node127.borderWidth = Node127BorderWidth;
- Node127.borderFillwidth = Node127BorderWidth;
- dataModel.add(Node127);
- Node127._nodename = 'Node127'
- Node127._nodeType = 'rect';
- zoomNodeList.push({
- node: Node127,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node127, Node127.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node128 = new ht.Node();
- var Node128textStart, Node128textWidth, Node128lineStart, Node128align = 'center', Node128fontSize = 13.3333*_ratio.ratioY,Node128width = 59*_ratio.ratioX, Node128height = 26*_ratio.ratioY;
- (function () {
- if (Node128align === 'left') {
- Node128textStart = Node128fontSize * 0.2 > 2 ? Node128fontSize * 0.2 - 4 : Node128fontSize * 0.2 - 9;
- Node128textWidth = Node128width;
- Node128lineStart = 1;
- } else if (Node128align === 'right') {
- Node128textStart = 0;
- Node128textWidth =Node128fontSize <= 8 ? Node128width + Node128fontSize * 0.2 + 6 : Node128width - Node128fontSize * 0.2;
- Node128lineStart = (Node128width - (ht.Default.getTextSize('万kW', ' '+ Node128fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node128align === 'center') {
- Node128textStart = -3;
- Node128textWidth = Node128width;
- Node128lineStart = Node128width - ht.Default.getTextSize('万kW', ' '+ Node128fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node128.setImage(GD.getTextJSON(Node128width, Node128height, true, false, false, ' '+ Node128fontSize + 'px "Arial"'))
- Node128.setPosition(434*ratio.ratioX, 54*ratio.ratioY);
- Node128.setWidth(Node128width);
- Node128.setHeight(Node128height);
- Node128._nodeType = 'text';
- Node128._disallowEvert = true;
- Node128.setRotation(0*Math.PI/180);
- Node128.a('node.width', Node128width);
- Node128.a('node.height', Node128height);
- Node128.a('node.rect', [0, 0, Node128width, Node128height]);
- Node128.a('node.bordercolor','rgba(128,128,128,1)');
- Node128.a('node.borderwidth', 0);
- Node128.a('node.background','' || 'rgba(0,0,0,0)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','');
- Node128.a('node.text','万kW');
- Node128.a('node.textalign','center');
- Node128.a('node.textvAlign','middle');
- Node128.a('node.textrect', [Node128textStart, 0, Node128textWidth, Node128height]);
- Node128.a('node.color','rgba(128,128,128,1)');
- Node128.a('node.font',' '+ Node128fontSize + 'px "Arial"');
- Node128.a('node.textvisible',true);
- Node128.a('node.linefeed',false);
- if (false) {
- Node128.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node128.a('node.text') || '万kW';
- var color=Node128.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node128width,Node128height,13.3333*_ratio.ratioY,"center",color,' '+ Node128fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node128.a('node.underlinepoints',[Node128lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node128fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node128fontSize + 'px "Arial"').width + 6, (Node128height - Node128fontSize) * 0.5*_ratio.ratioY + Node128fontSize + 2 ]);
- Node128.a('node.underlinevisible',false);
- Node128.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node128);
- zoomNodeList.push({
- node: Node128,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node129 = new ht.Node();
- var Node129textStart, Node129textWidth, Node129lineStart, Node129align = 'center', Node129fontSize = 13.3333*_ratio.ratioY,Node129width = 59*_ratio.ratioX, Node129height = 26*_ratio.ratioY;
- (function () {
- if (Node129align === 'left') {
- Node129textStart = Node129fontSize * 0.2 > 2 ? Node129fontSize * 0.2 - 4 : Node129fontSize * 0.2 - 9;
- Node129textWidth = Node129width;
- Node129lineStart = 1;
- } else if (Node129align === 'right') {
- Node129textStart = 0;
- Node129textWidth =Node129fontSize <= 8 ? Node129width + Node129fontSize * 0.2 + 6 : Node129width - Node129fontSize * 0.2;
- Node129lineStart = (Node129width - (ht.Default.getTextSize('MW', ' '+ Node129fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node129align === 'center') {
- Node129textStart = -3;
- Node129textWidth = Node129width;
- Node129lineStart = Node129width - ht.Default.getTextSize('MW', ' '+ Node129fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node129.setImage(GD.getTextJSON(Node129width, Node129height, true, false, false, ' '+ Node129fontSize + 'px "Arial"'))
- Node129.setPosition(434*ratio.ratioX, 78*ratio.ratioY);
- Node129.setWidth(Node129width);
- Node129.setHeight(Node129height);
- Node129._nodeType = 'text';
- Node129._disallowEvert = true;
- Node129.setRotation(0*Math.PI/180);
- Node129.a('node.width', Node129width);
- Node129.a('node.height', Node129height);
- Node129.a('node.rect', [0, 0, Node129width, Node129height]);
- Node129.a('node.bordercolor','rgba(128,128,128,1)');
- Node129.a('node.borderwidth', 0);
- Node129.a('node.background','' || 'rgba(0,0,0,0)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','');
- Node129.a('node.text','MW');
- Node129.a('node.textalign','center');
- Node129.a('node.textvAlign','middle');
- Node129.a('node.textrect', [Node129textStart, 0, Node129textWidth, Node129height]);
- Node129.a('node.color','rgba(128,128,128,1)');
- Node129.a('node.font',' '+ Node129fontSize + 'px "Arial"');
- Node129.a('node.textvisible',true);
- Node129.a('node.linefeed',false);
- if (false) {
- Node129.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node129.a('node.text') || 'MW';
- var color=Node129.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node129width,Node129height,13.3333*_ratio.ratioY,"center",color,' '+ Node129fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node129.a('node.underlinepoints',[Node129lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node129fontSize + 2 , ht.Default.getTextSize('MW', ' '+ Node129fontSize + 'px "Arial"').width + 6, (Node129height - Node129fontSize) * 0.5*_ratio.ratioY + Node129fontSize + 2 ]);
- Node129.a('node.underlinevisible',false);
- Node129.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node129);
- zoomNodeList.push({
- node: Node129,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node130 = new ht.Node();
- var Node130textStart, Node130textWidth, Node130lineStart, Node130align = 'center', Node130fontSize = 13.3333*_ratio.ratioY,Node130width = 59*_ratio.ratioX, Node130height = 26*_ratio.ratioY;
- (function () {
- if (Node130align === 'left') {
- Node130textStart = Node130fontSize * 0.2 > 2 ? Node130fontSize * 0.2 - 4 : Node130fontSize * 0.2 - 9;
- Node130textWidth = Node130width;
- Node130lineStart = 1;
- } else if (Node130align === 'right') {
- Node130textStart = 0;
- Node130textWidth =Node130fontSize <= 8 ? Node130width + Node130fontSize * 0.2 + 6 : Node130width - Node130fontSize * 0.2;
- Node130lineStart = (Node130width - (ht.Default.getTextSize('m/s', ' '+ Node130fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node130align === 'center') {
- Node130textStart = -3;
- Node130textWidth = Node130width;
- Node130lineStart = Node130width - ht.Default.getTextSize('m/s', ' '+ Node130fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node130.setImage(GD.getTextJSON(Node130width, Node130height, true, false, false, ' '+ Node130fontSize + 'px "Arial"'))
- Node130.setPosition(434*ratio.ratioX, 101*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(128,128,128,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','m/s');
- Node130.a('node.textalign','center');
- Node130.a('node.textvAlign','middle');
- Node130.a('node.textrect', [Node130textStart, 0, Node130textWidth, Node130height]);
- Node130.a('node.color','rgba(128,128,128,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') || 'm/s';
- var color=Node130.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node130width,Node130height,13.3333*_ratio.ratioY,"center",color,' '+ Node130fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node130.a('node.underlinepoints',[Node130lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node130fontSize + 2 , ht.Default.getTextSize('m/s', ' '+ Node130fontSize + 'px "Arial"').width + 6, (Node130height - Node130fontSize) * 0.5*_ratio.ratioY + Node130fontSize + 2 ]);
- Node130.a('node.underlinevisible',false);
- Node130.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node130);
- zoomNodeList.push({
- node: Node130,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131 = new ht.Node();
- var Node131textStart, Node131textWidth, Node131lineStart, Node131align = 'center', Node131fontSize = 13.3333*_ratio.ratioY,Node131width = 59*_ratio.ratioX, Node131height = 26*_ratio.ratioY;
- (function () {
- if (Node131align === 'left') {
- Node131textStart = Node131fontSize * 0.2 > 2 ? Node131fontSize * 0.2 - 4 : Node131fontSize * 0.2 - 9;
- Node131textWidth = Node131width;
- Node131lineStart = 1;
- } else if (Node131align === 'right') {
- Node131textStart = 0;
- Node131textWidth =Node131fontSize <= 8 ? Node131width + Node131fontSize * 0.2 + 6 : Node131width - Node131fontSize * 0.2;
- Node131lineStart = (Node131width - (ht.Default.getTextSize('万kWh', ' '+ Node131fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node131align === 'center') {
- Node131textStart = -3;
- Node131textWidth = Node131width;
- Node131lineStart = Node131width - ht.Default.getTextSize('万kWh', ' '+ Node131fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node131.setImage(GD.getTextJSON(Node131width, Node131height, true, false, false, ' '+ Node131fontSize + 'px "Arial"'))
- Node131.setPosition(434*ratio.ratioX, 127*ratio.ratioY);
- Node131.setWidth(Node131width);
- Node131.setHeight(Node131height);
- Node131._nodeType = 'text';
- Node131._disallowEvert = true;
- Node131.setRotation(0*Math.PI/180);
- Node131.a('node.width', Node131width);
- Node131.a('node.height', Node131height);
- Node131.a('node.rect', [0, 0, Node131width, Node131height]);
- Node131.a('node.bordercolor','rgba(128,128,128,1)');
- Node131.a('node.borderwidth', 0);
- Node131.a('node.background','' || 'rgba(0,0,0,0)');
- Node131.a('node.gradient','');
- Node131.a('node.gradientcolor','');
- Node131.a('node.text','万kWh');
- Node131.a('node.textalign','center');
- Node131.a('node.textvAlign','middle');
- Node131.a('node.textrect', [Node131textStart, 0, Node131textWidth, Node131height]);
- Node131.a('node.color','rgba(128,128,128,1)');
- Node131.a('node.font',' '+ Node131fontSize + 'px "Arial"');
- Node131.a('node.textvisible',true);
- Node131.a('node.linefeed',false);
- if (false) {
- Node131.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node131.a('node.text') || '万kWh';
- var color=Node131.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node131width,Node131height,13.3333*_ratio.ratioY,"center",color,' '+ Node131fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node131.a('node.underlinepoints',[Node131lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node131fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node131fontSize + 'px "Arial"').width + 6, (Node131height - Node131fontSize) * 0.5*_ratio.ratioY + Node131fontSize + 2 ]);
- Node131.a('node.underlinevisible',false);
- Node131.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node131);
- zoomNodeList.push({
- node: Node131,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132 = new ht.Node();
- var Node132textStart, Node132textWidth, Node132lineStart, Node132align = 'center', Node132fontSize = 13.3333*_ratio.ratioY,Node132width = 59*_ratio.ratioX, Node132height = 26*_ratio.ratioY;
- (function () {
- if (Node132align === 'left') {
- Node132textStart = Node132fontSize * 0.2 > 2 ? Node132fontSize * 0.2 - 4 : Node132fontSize * 0.2 - 9;
- Node132textWidth = Node132width;
- Node132lineStart = 1;
- } else if (Node132align === 'right') {
- Node132textStart = 0;
- Node132textWidth =Node132fontSize <= 8 ? Node132width + Node132fontSize * 0.2 + 6 : Node132width - Node132fontSize * 0.2;
- Node132lineStart = (Node132width - (ht.Default.getTextSize('万kWh', ' '+ Node132fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node132align === 'center') {
- Node132textStart = -3;
- Node132textWidth = Node132width;
- Node132lineStart = Node132width - ht.Default.getTextSize('万kWh', ' '+ Node132fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node132.setImage(GD.getTextJSON(Node132width, Node132height, true, false, false, ' '+ Node132fontSize + 'px "Arial"'))
- Node132.setPosition(434*ratio.ratioX, 151*ratio.ratioY);
- Node132.setWidth(Node132width);
- Node132.setHeight(Node132height);
- Node132._nodeType = 'text';
- Node132._disallowEvert = true;
- Node132.setRotation(0*Math.PI/180);
- Node132.a('node.width', Node132width);
- Node132.a('node.height', Node132height);
- Node132.a('node.rect', [0, 0, Node132width, Node132height]);
- Node132.a('node.bordercolor','rgba(128,128,128,1)');
- Node132.a('node.borderwidth', 0);
- Node132.a('node.background','' || 'rgba(0,0,0,0)');
- Node132.a('node.gradient','');
- Node132.a('node.gradientcolor','');
- Node132.a('node.text','万kWh');
- Node132.a('node.textalign','center');
- Node132.a('node.textvAlign','middle');
- Node132.a('node.textrect', [Node132textStart, 0, Node132textWidth, Node132height]);
- Node132.a('node.color','rgba(128,128,128,1)');
- Node132.a('node.font',' '+ Node132fontSize + 'px "Arial"');
- Node132.a('node.textvisible',true);
- Node132.a('node.linefeed',false);
- if (false) {
- Node132.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node132.a('node.text') || '万kWh';
- var color=Node132.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node132width,Node132height,13.3333*_ratio.ratioY,"center",color,' '+ Node132fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node132.a('node.underlinepoints',[Node132lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node132fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node132fontSize + 'px "Arial"').width + 6, (Node132height - Node132fontSize) * 0.5*_ratio.ratioY + Node132fontSize + 2 ]);
- Node132.a('node.underlinevisible',false);
- Node132.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node132);
- zoomNodeList.push({
- node: Node132,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node133type = 'rect';
- var Node133 = new ht.Node(),
- Node133BorderWidth = 1*2;
- if (Node133type === 'arc') {
- Node133BorderWidth *= 1;
- }
- Node133.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node133type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node133.setPosition(638*ratio.ratioX, 52*ratio.ratioY);
- Node133.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node133.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node133.a('node.width', 94*_ratio.ratioX);
- Node133.a('node.height', 24.33136*_ratio.ratioY);
- Node133.a('node.type', Node133type);
- Node133.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node133.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node133.a('node.gradientcolor', '');
- Node133.a('node.gradient', '');
- Node133.a('node.borderwidth', Node133BorderWidth);
- Node133.a('node.color', 'rgba(224,224,224,1)');
- Node133.a('node.fillrect', [0,0,0,0]);
- Node133.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node133.a('node.fillgradient', '');
- if (Node133type !== 'rect') {
- Node133.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node133.a('node.arcTo', parseFloat('@arcTo@'));
- Node133.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node133type === 'arc') {
- Node133.a('node.arcOval', true);
- }
- Node133.setRotation(0*Math.PI/180);
- Node133.borderWidth = Node133BorderWidth;
- Node133.borderFillwidth = Node133BorderWidth;
- dataModel.add(Node133);
- Node133._nodename = 'Node133'
- Node133._nodeType = 'rect';
- zoomNodeList.push({
- node: Node133,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node133, Node133.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134type = 'rect';
- var Node134 = new ht.Node(),
- Node134BorderWidth = 1*2;
- if (Node134type === 'arc') {
- Node134BorderWidth *= 1;
- }
- Node134.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node134type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node134.setPosition(638*ratio.ratioX, 76*ratio.ratioY);
- Node134.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node134.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node134.a('node.width', 94*_ratio.ratioX);
- Node134.a('node.height', 24.33138*_ratio.ratioY);
- Node134.a('node.type', Node134type);
- Node134.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node134.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node134.a('node.gradientcolor', '');
- Node134.a('node.gradient', '');
- Node134.a('node.borderwidth', Node134BorderWidth);
- Node134.a('node.color', 'rgba(224,224,224,1)');
- Node134.a('node.fillrect', [0,0,0,0]);
- Node134.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node134.a('node.fillgradient', '');
- if (Node134type !== 'rect') {
- Node134.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node134.a('node.arcTo', parseFloat('@arcTo@'));
- Node134.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node134type === 'arc') {
- Node134.a('node.arcOval', true);
- }
- Node134.setRotation(0*Math.PI/180);
- Node134.borderWidth = Node134BorderWidth;
- Node134.borderFillwidth = Node134BorderWidth;
- dataModel.add(Node134);
- Node134._nodename = 'Node134'
- Node134._nodeType = 'rect';
- zoomNodeList.push({
- node: Node134,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node134, Node134.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135type = 'rect';
- var Node135 = new ht.Node(),
- Node135BorderWidth = 1*2;
- if (Node135type === 'arc') {
- Node135BorderWidth *= 1;
- }
- Node135.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node135type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node135.setPosition(638*ratio.ratioX, 100*ratio.ratioY);
- Node135.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node135.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node135.a('node.width', 94*_ratio.ratioX);
- Node135.a('node.height', 24.33138*_ratio.ratioY);
- Node135.a('node.type', Node135type);
- Node135.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node135.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node135.a('node.gradientcolor', '');
- Node135.a('node.gradient', '');
- Node135.a('node.borderwidth', Node135BorderWidth);
- Node135.a('node.color', 'rgba(224,224,224,1)');
- Node135.a('node.fillrect', [0,0,0,0]);
- Node135.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node135.a('node.fillgradient', '');
- if (Node135type !== 'rect') {
- Node135.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node135.a('node.arcTo', parseFloat('@arcTo@'));
- Node135.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node135type === 'arc') {
- Node135.a('node.arcOval', true);
- }
- Node135.setRotation(0*Math.PI/180);
- Node135.borderWidth = Node135BorderWidth;
- Node135.borderFillwidth = Node135BorderWidth;
- dataModel.add(Node135);
- Node135._nodename = 'Node135'
- Node135._nodeType = 'rect';
- zoomNodeList.push({
- node: Node135,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node135, Node135.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136type = 'rect';
- var Node136 = new ht.Node(),
- Node136BorderWidth = 1*2;
- if (Node136type === 'arc') {
- Node136BorderWidth *= 1;
- }
- Node136.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33136*_ratio.ratioY, Node136type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node136.setPosition(638*ratio.ratioX, 125*ratio.ratioY);
- Node136.setSize(94*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node136.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node136.a('node.width', 94*_ratio.ratioX);
- Node136.a('node.height', 24.33136*_ratio.ratioY);
- Node136.a('node.type', Node136type);
- Node136.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node136.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node136.a('node.gradientcolor', '');
- Node136.a('node.gradient', '');
- Node136.a('node.borderwidth', Node136BorderWidth);
- Node136.a('node.color', 'rgba(224,224,224,1)');
- Node136.a('node.fillrect', [0,0,0,0]);
- Node136.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node136.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node136.a('node.fillgradient', '');
- if (Node136type !== 'rect') {
- Node136.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node136.a('node.arcTo', parseFloat('@arcTo@'));
- Node136.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node136type === 'arc') {
- Node136.a('node.arcOval', true);
- }
- Node136.setRotation(0*Math.PI/180);
- Node136.borderWidth = Node136BorderWidth;
- Node136.borderFillwidth = Node136BorderWidth;
- dataModel.add(Node136);
- Node136._nodename = 'Node136'
- Node136._nodeType = 'rect';
- zoomNodeList.push({
- node: Node136,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node136, Node136.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137type = 'rect';
- var Node137 = new ht.Node(),
- Node137BorderWidth = 1*2;
- if (Node137type === 'arc') {
- Node137BorderWidth *= 1;
- }
- Node137.setImage(GD.getRectJSON(94*_ratio.ratioX, 24.33138*_ratio.ratioY, Node137type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node137.setPosition(638*ratio.ratioX, 149*ratio.ratioY);
- Node137.setSize(94*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node137.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node137.a('node.width', 94*_ratio.ratioX);
- Node137.a('node.height', 24.33138*_ratio.ratioY);
- Node137.a('node.type', Node137type);
- Node137.a('node.rect', [0, 0, 94*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node137.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node137.a('node.gradientcolor', '');
- Node137.a('node.gradient', '');
- Node137.a('node.borderwidth', Node137BorderWidth);
- Node137.a('node.color', 'rgba(224,224,224,1)');
- Node137.a('node.fillrect', [0,0,0,0]);
- Node137.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node137.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node137.a('node.fillgradient', '');
- if (Node137type !== 'rect') {
- Node137.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node137.a('node.arcTo', parseFloat('@arcTo@'));
- Node137.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node137type === 'arc') {
- Node137.a('node.arcOval', true);
- }
- Node137.setRotation(0*Math.PI/180);
- Node137.borderWidth = Node137BorderWidth;
- Node137.borderFillwidth = Node137BorderWidth;
- dataModel.add(Node137);
- Node137._nodename = 'Node137'
- Node137._nodeType = 'rect';
- zoomNodeList.push({
- node: Node137,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node137, Node137.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'center', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 58*_ratio.ratioX, Node138height = 26*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('0', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('0', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(638*ratio.ratioX, 54*ratio.ratioY);
- Node138.setWidth(Node138width);
- Node138.setHeight(Node138height);
- Node138._nodeType = 'text';
- Node138._disallowEvert = true;
- Node138.setRotation(0*Math.PI/180);
- Node138.a('node.width', Node138width);
- Node138.a('node.height', Node138height);
- Node138.a('node.rect', [0, 0, Node138width, Node138height]);
- Node138.a('node.bordercolor','rgba(0,0,0,1)');
- Node138.a('node.borderwidth', 0);
- Node138.a('node.background','' || 'rgba(0,0,0,0)');
- Node138.a('node.gradient','');
- Node138.a('node.gradientcolor','');
- Node138.a('node.text','0');
- Node138.a('node.textalign','center');
- Node138.a('node.textvAlign','middle');
- Node138.a('node.textrect', [Node138textStart, 0, Node138textWidth, Node138height]);
- Node138.a('node.color','rgba(0,0,0,1)');
- Node138.a('node.font',' '+ Node138fontSize + 'px "Arial"');
- Node138.a('node.textvisible',true);
- Node138.a('node.linefeed',false);
- if (false) {
- Node138.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node138.a('node.text') || '0';
- var color=Node138.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node138width,Node138height,13.3333*_ratio.ratioY,"center",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node138fontSize + 'px "Arial"').width + 6, (Node138height - Node138fontSize) * 0.5*_ratio.ratioY + Node138fontSize + 2 ]);
- Node138.a('node.underlinevisible',false);
- Node138.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node138);
- zoomNodeList.push({
- node: Node138,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node139 = new ht.Node();
- var Node139textStart, Node139textWidth, Node139lineStart, Node139align = 'center', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 58*_ratio.ratioX, Node139height = 26*_ratio.ratioY;
- (function () {
- if (Node139align === 'left') {
- Node139textStart = Node139fontSize * 0.2 > 2 ? Node139fontSize * 0.2 - 4 : Node139fontSize * 0.2 - 9;
- Node139textWidth = Node139width;
- Node139lineStart = 1;
- } else if (Node139align === 'right') {
- Node139textStart = 0;
- Node139textWidth =Node139fontSize <= 8 ? Node139width + Node139fontSize * 0.2 + 6 : Node139width - Node139fontSize * 0.2;
- Node139lineStart = (Node139width - (ht.Default.getTextSize('0', ' '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('0', ' '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, ' '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(638*ratio.ratioX, 78*ratio.ratioY);
- Node139.setWidth(Node139width);
- Node139.setHeight(Node139height);
- Node139._nodeType = 'text';
- Node139._disallowEvert = true;
- Node139.setRotation(0*Math.PI/180);
- Node139.a('node.width', Node139width);
- Node139.a('node.height', Node139height);
- Node139.a('node.rect', [0, 0, Node139width, Node139height]);
- Node139.a('node.bordercolor','rgba(0,0,0,1)');
- Node139.a('node.borderwidth', 0);
- Node139.a('node.background','' || 'rgba(0,0,0,0)');
- Node139.a('node.gradient','');
- Node139.a('node.gradientcolor','');
- Node139.a('node.text','0');
- Node139.a('node.textalign','center');
- Node139.a('node.textvAlign','middle');
- Node139.a('node.textrect', [Node139textStart, 0, Node139textWidth, Node139height]);
- Node139.a('node.color','rgba(0,0,0,1)');
- Node139.a('node.font',' '+ Node139fontSize + 'px "Arial"');
- Node139.a('node.textvisible',true);
- Node139.a('node.linefeed',false);
- if (false) {
- Node139.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node139.a('node.text') || '0';
- var color=Node139.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node139width,Node139height,13.3333*_ratio.ratioY,"center",color,' '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node139fontSize + 'px "Arial"').width + 6, (Node139height - Node139fontSize) * 0.5*_ratio.ratioY + Node139fontSize + 2 ]);
- Node139.a('node.underlinevisible',false);
- Node139.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node139);
- zoomNodeList.push({
- node: Node139,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node140 = new ht.Node();
- var Node140textStart, Node140textWidth, Node140lineStart, Node140align = 'center', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 58*_ratio.ratioX, Node140height = 26*_ratio.ratioY;
- (function () {
- if (Node140align === 'left') {
- Node140textStart = Node140fontSize * 0.2 > 2 ? Node140fontSize * 0.2 - 4 : Node140fontSize * 0.2 - 9;
- Node140textWidth = Node140width;
- Node140lineStart = 1;
- } else if (Node140align === 'right') {
- Node140textStart = 0;
- Node140textWidth =Node140fontSize <= 8 ? Node140width + Node140fontSize * 0.2 + 6 : Node140width - Node140fontSize * 0.2;
- Node140lineStart = (Node140width - (ht.Default.getTextSize('0', ' '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('0', ' '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, ' '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(638*ratio.ratioX, 103*ratio.ratioY);
- Node140.setWidth(Node140width);
- Node140.setHeight(Node140height);
- Node140._nodeType = 'text';
- Node140._disallowEvert = true;
- Node140.setRotation(0*Math.PI/180);
- Node140.a('node.width', Node140width);
- Node140.a('node.height', Node140height);
- Node140.a('node.rect', [0, 0, Node140width, Node140height]);
- Node140.a('node.bordercolor','rgba(0,0,0,1)');
- Node140.a('node.borderwidth', 0);
- Node140.a('node.background','' || 'rgba(0,0,0,0)');
- Node140.a('node.gradient','');
- Node140.a('node.gradientcolor','');
- Node140.a('node.text','0');
- Node140.a('node.textalign','center');
- Node140.a('node.textvAlign','middle');
- Node140.a('node.textrect', [Node140textStart, 0, Node140textWidth, Node140height]);
- Node140.a('node.color','rgba(0,0,0,1)');
- Node140.a('node.font',' '+ Node140fontSize + 'px "Arial"');
- Node140.a('node.textvisible',true);
- Node140.a('node.linefeed',false);
- if (false) {
- Node140.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node140.a('node.text') || '0';
- var color=Node140.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node140width,Node140height,13.3333*_ratio.ratioY,"center",color,' '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node140fontSize + 'px "Arial"').width + 6, (Node140height - Node140fontSize) * 0.5*_ratio.ratioY + Node140fontSize + 2 ]);
- Node140.a('node.underlinevisible',false);
- Node140.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node140);
- zoomNodeList.push({
- node: Node140,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node141 = new ht.Node();
- var Node141textStart, Node141textWidth, Node141lineStart, Node141align = 'center', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 58*_ratio.ratioX, Node141height = 26*_ratio.ratioY;
- (function () {
- if (Node141align === 'left') {
- Node141textStart = Node141fontSize * 0.2 > 2 ? Node141fontSize * 0.2 - 4 : Node141fontSize * 0.2 - 9;
- Node141textWidth = Node141width;
- Node141lineStart = 1;
- } else if (Node141align === 'right') {
- Node141textStart = 0;
- Node141textWidth =Node141fontSize <= 8 ? Node141width + Node141fontSize * 0.2 + 6 : Node141width - Node141fontSize * 0.2;
- Node141lineStart = (Node141width - (ht.Default.getTextSize('0', ' '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('0', ' '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, ' '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(638*ratio.ratioX, 126*ratio.ratioY);
- Node141.setWidth(Node141width);
- Node141.setHeight(Node141height);
- Node141._nodeType = 'text';
- Node141._disallowEvert = true;
- Node141.setRotation(0*Math.PI/180);
- Node141.a('node.width', Node141width);
- Node141.a('node.height', Node141height);
- Node141.a('node.rect', [0, 0, Node141width, Node141height]);
- Node141.a('node.bordercolor','rgba(0,0,0,1)');
- Node141.a('node.borderwidth', 0);
- Node141.a('node.background','' || 'rgba(0,0,0,0)');
- Node141.a('node.gradient','');
- Node141.a('node.gradientcolor','');
- Node141.a('node.text','0');
- Node141.a('node.textalign','center');
- Node141.a('node.textvAlign','middle');
- Node141.a('node.textrect', [Node141textStart, 0, Node141textWidth, Node141height]);
- Node141.a('node.color','rgba(0,0,0,1)');
- Node141.a('node.font',' '+ Node141fontSize + 'px "Arial"');
- Node141.a('node.textvisible',true);
- Node141.a('node.linefeed',false);
- if (false) {
- Node141.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node141.a('node.text') || '0';
- var color=Node141.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node141width,Node141height,13.3333*_ratio.ratioY,"center",color,' '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node141fontSize + 'px "Arial"').width + 6, (Node141height - Node141fontSize) * 0.5*_ratio.ratioY + Node141fontSize + 2 ]);
- Node141.a('node.underlinevisible',false);
- Node141.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node141);
- zoomNodeList.push({
- node: Node141,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node142 = new ht.Node();
- var Node142textStart, Node142textWidth, Node142lineStart, Node142align = 'center', Node142fontSize = 13.3333*_ratio.ratioY,Node142width = 58*_ratio.ratioX, Node142height = 26*_ratio.ratioY;
- (function () {
- if (Node142align === 'left') {
- Node142textStart = Node142fontSize * 0.2 > 2 ? Node142fontSize * 0.2 - 4 : Node142fontSize * 0.2 - 9;
- Node142textWidth = Node142width;
- Node142lineStart = 1;
- } else if (Node142align === 'right') {
- Node142textStart = 0;
- Node142textWidth =Node142fontSize <= 8 ? Node142width + Node142fontSize * 0.2 + 6 : Node142width - Node142fontSize * 0.2;
- Node142lineStart = (Node142width - (ht.Default.getTextSize('0', ' '+ Node142fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node142align === 'center') {
- Node142textStart = -3;
- Node142textWidth = Node142width;
- Node142lineStart = Node142width - ht.Default.getTextSize('0', ' '+ Node142fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node142.setImage(GD.getTextJSON(Node142width, Node142height, true, false, false, ' '+ Node142fontSize + 'px "Arial"'))
- Node142.setPosition(638*ratio.ratioX, 150*ratio.ratioY);
- Node142.setWidth(Node142width);
- Node142.setHeight(Node142height);
- Node142._nodeType = 'text';
- Node142._disallowEvert = true;
- Node142.setRotation(0*Math.PI/180);
- Node142.a('node.width', Node142width);
- Node142.a('node.height', Node142height);
- Node142.a('node.rect', [0, 0, Node142width, Node142height]);
- Node142.a('node.bordercolor','rgba(0,0,0,1)');
- Node142.a('node.borderwidth', 0);
- Node142.a('node.background','' || 'rgba(0,0,0,0)');
- Node142.a('node.gradient','');
- Node142.a('node.gradientcolor','');
- Node142.a('node.text','0');
- Node142.a('node.textalign','center');
- Node142.a('node.textvAlign','middle');
- Node142.a('node.textrect', [Node142textStart, 0, Node142textWidth, Node142height]);
- Node142.a('node.color','rgba(0,0,0,1)');
- Node142.a('node.font',' '+ Node142fontSize + 'px "Arial"');
- Node142.a('node.textvisible',true);
- Node142.a('node.linefeed',false);
- if (false) {
- Node142.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node142.a('node.text') || '0';
- var color=Node142.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node142width,Node142height,13.3333*_ratio.ratioY,"center",color,' '+ Node142fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node142.a('node.underlinepoints',[Node142lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node142fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node142fontSize + 'px "Arial"').width + 6, (Node142height - Node142fontSize) * 0.5*_ratio.ratioY + Node142fontSize + 2 ]);
- Node142.a('node.underlinevisible',false);
- Node142.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node142);
- zoomNodeList.push({
- node: Node142,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143type = 'rect';
- var Node143 = new ht.Node(),
- Node143BorderWidth = 1*2;
- if (Node143type === 'arc') {
- Node143BorderWidth *= 1;
- }
- Node143.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node143type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node143.setPosition(717*ratio.ratioX, 52*ratio.ratioY);
- Node143.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node143.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node143.a('node.width', 65*_ratio.ratioX);
- Node143.a('node.height', 24.33136*_ratio.ratioY);
- Node143.a('node.type', Node143type);
- Node143.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node143.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node143.a('node.gradientcolor', '');
- Node143.a('node.gradient', '');
- Node143.a('node.borderwidth', Node143BorderWidth);
- Node143.a('node.color', 'rgba(224,224,224,1)');
- Node143.a('node.fillrect', [0,0,0,0]);
- Node143.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node143.a('node.fillgradient', '');
- if (Node143type !== 'rect') {
- Node143.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node143.a('node.arcTo', parseFloat('@arcTo@'));
- Node143.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node143type === 'arc') {
- Node143.a('node.arcOval', true);
- }
- Node143.setRotation(0*Math.PI/180);
- Node143.borderWidth = Node143BorderWidth;
- Node143.borderFillwidth = Node143BorderWidth;
- dataModel.add(Node143);
- Node143._nodename = 'Node143'
- Node143._nodeType = 'rect';
- zoomNodeList.push({
- node: Node143,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node143, Node143.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144type = 'rect';
- var Node144 = new ht.Node(),
- Node144BorderWidth = 1*2;
- if (Node144type === 'arc') {
- Node144BorderWidth *= 1;
- }
- Node144.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node144type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node144.setPosition(717*ratio.ratioX, 76*ratio.ratioY);
- Node144.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node144.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node144.a('node.width', 65*_ratio.ratioX);
- Node144.a('node.height', 24.33138*_ratio.ratioY);
- Node144.a('node.type', Node144type);
- Node144.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node144.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node144.a('node.gradientcolor', '');
- Node144.a('node.gradient', '');
- Node144.a('node.borderwidth', Node144BorderWidth);
- Node144.a('node.color', 'rgba(224,224,224,1)');
- Node144.a('node.fillrect', [0,0,0,0]);
- Node144.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node144.a('node.fillgradient', '');
- if (Node144type !== 'rect') {
- Node144.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node144.a('node.arcTo', parseFloat('@arcTo@'));
- Node144.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node144type === 'arc') {
- Node144.a('node.arcOval', true);
- }
- Node144.setRotation(0*Math.PI/180);
- Node144.borderWidth = Node144BorderWidth;
- Node144.borderFillwidth = Node144BorderWidth;
- dataModel.add(Node144);
- Node144._nodename = 'Node144'
- Node144._nodeType = 'rect';
- zoomNodeList.push({
- node: Node144,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node144, Node144.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145type = 'rect';
- var Node145 = new ht.Node(),
- Node145BorderWidth = 1*2;
- if (Node145type === 'arc') {
- Node145BorderWidth *= 1;
- }
- Node145.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node145type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node145.setPosition(717*ratio.ratioX, 100*ratio.ratioY);
- Node145.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node145.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node145.a('node.width', 65*_ratio.ratioX);
- Node145.a('node.height', 24.33138*_ratio.ratioY);
- Node145.a('node.type', Node145type);
- Node145.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node145.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node145.a('node.gradientcolor', '');
- Node145.a('node.gradient', '');
- Node145.a('node.borderwidth', Node145BorderWidth);
- Node145.a('node.color', 'rgba(224,224,224,1)');
- Node145.a('node.fillrect', [0,0,0,0]);
- Node145.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node145.a('node.fillgradient', '');
- if (Node145type !== 'rect') {
- Node145.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node145.a('node.arcTo', parseFloat('@arcTo@'));
- Node145.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node145type === 'arc') {
- Node145.a('node.arcOval', true);
- }
- Node145.setRotation(0*Math.PI/180);
- Node145.borderWidth = Node145BorderWidth;
- Node145.borderFillwidth = Node145BorderWidth;
- dataModel.add(Node145);
- Node145._nodename = 'Node145'
- Node145._nodeType = 'rect';
- zoomNodeList.push({
- node: Node145,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node145, Node145.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146type = 'rect';
- var Node146 = new ht.Node(),
- Node146BorderWidth = 1*2;
- if (Node146type === 'arc') {
- Node146BorderWidth *= 1;
- }
- Node146.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33136*_ratio.ratioY, Node146type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node146.setPosition(717*ratio.ratioX, 125*ratio.ratioY);
- Node146.setSize(65*_ratio.ratioX, 24.33136*_ratio.ratioY);
- Node146.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node146.a('node.width', 65*_ratio.ratioX);
- Node146.a('node.height', 24.33136*_ratio.ratioY);
- Node146.a('node.type', Node146type);
- Node146.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33136*_ratio.ratioY]);
- Node146.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node146.a('node.gradientcolor', '');
- Node146.a('node.gradient', '');
- Node146.a('node.borderwidth', Node146BorderWidth);
- Node146.a('node.color', 'rgba(224,224,224,1)');
- Node146.a('node.fillrect', [0,0,0,0]);
- Node146.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node146.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node146.a('node.fillgradient', '');
- if (Node146type !== 'rect') {
- Node146.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node146.a('node.arcTo', parseFloat('@arcTo@'));
- Node146.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node146type === 'arc') {
- Node146.a('node.arcOval', true);
- }
- Node146.setRotation(0*Math.PI/180);
- Node146.borderWidth = Node146BorderWidth;
- Node146.borderFillwidth = Node146BorderWidth;
- dataModel.add(Node146);
- Node146._nodename = 'Node146'
- Node146._nodeType = 'rect';
- zoomNodeList.push({
- node: Node146,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node146, Node146.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147type = 'rect';
- var Node147 = new ht.Node(),
- Node147BorderWidth = 1*2;
- if (Node147type === 'arc') {
- Node147BorderWidth *= 1;
- }
- Node147.setImage(GD.getRectJSON(65*_ratio.ratioX, 24.33138*_ratio.ratioY, Node147type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node147.setPosition(717*ratio.ratioX, 149*ratio.ratioY);
- Node147.setSize(65*_ratio.ratioX, 24.33138*_ratio.ratioY);
- Node147.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node147.a('node.width', 65*_ratio.ratioX);
- Node147.a('node.height', 24.33138*_ratio.ratioY);
- Node147.a('node.type', Node147type);
- Node147.a('node.rect', [0, 0, 65*_ratio.ratioX, 24.33138*_ratio.ratioY]);
- Node147.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node147.a('node.gradientcolor', '');
- Node147.a('node.gradient', '');
- Node147.a('node.borderwidth', Node147BorderWidth);
- Node147.a('node.color', 'rgba(224,224,224,1)');
- Node147.a('node.fillrect', [0,0,0,0]);
- Node147.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node147.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node147.a('node.fillgradient', '');
- if (Node147type !== 'rect') {
- Node147.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node147.a('node.arcTo', parseFloat('@arcTo@'));
- Node147.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node147type === 'arc') {
- Node147.a('node.arcOval', true);
- }
- Node147.setRotation(0*Math.PI/180);
- Node147.borderWidth = Node147BorderWidth;
- Node147.borderFillwidth = Node147BorderWidth;
- dataModel.add(Node147);
- Node147._nodename = 'Node147'
- Node147._nodeType = 'rect';
- zoomNodeList.push({
- node: Node147,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node147, Node147.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'center', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 59*_ratio.ratioX, Node148height = 26*_ratio.ratioY;
- (function () {
- if (Node148align === 'left') {
- Node148textStart = Node148fontSize * 0.2 > 2 ? Node148fontSize * 0.2 - 4 : Node148fontSize * 0.2 - 9;
- Node148textWidth = Node148width;
- Node148lineStart = 1;
- } else if (Node148align === 'right') {
- Node148textStart = 0;
- Node148textWidth =Node148fontSize <= 8 ? Node148width + Node148fontSize * 0.2 + 6 : Node148width - Node148fontSize * 0.2;
- Node148lineStart = (Node148width - (ht.Default.getTextSize('万kWh', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('万kWh', ' '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(718*ratio.ratioX, 54*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','万kWh');
- Node148.a('node.textalign','center');
- 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') || '万kWh';
- 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,"center",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node148fontSize + 'px "Arial"').width + 6, (Node148height - Node148fontSize) * 0.5*_ratio.ratioY + Node148fontSize + 2 ]);
- Node148.a('node.underlinevisible',false);
- Node148.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node148);
- zoomNodeList.push({
- node: Node148,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node149 = new ht.Node();
- var Node149textStart, Node149textWidth, Node149lineStart, Node149align = 'center', Node149fontSize = 13.3333*_ratio.ratioY,Node149width = 59*_ratio.ratioX, Node149height = 26*_ratio.ratioY;
- (function () {
- if (Node149align === 'left') {
- Node149textStart = Node149fontSize * 0.2 > 2 ? Node149fontSize * 0.2 - 4 : Node149fontSize * 0.2 - 9;
- Node149textWidth = Node149width;
- Node149lineStart = 1;
- } else if (Node149align === 'right') {
- Node149textStart = 0;
- Node149textWidth =Node149fontSize <= 8 ? Node149width + Node149fontSize * 0.2 + 6 : Node149width - Node149fontSize * 0.2;
- Node149lineStart = (Node149width - (ht.Default.getTextSize('万kWh', ' '+ Node149fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node149align === 'center') {
- Node149textStart = -3;
- Node149textWidth = Node149width;
- Node149lineStart = Node149width - ht.Default.getTextSize('万kWh', ' '+ Node149fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node149.setImage(GD.getTextJSON(Node149width, Node149height, true, false, false, ' '+ Node149fontSize + 'px "Arial"'))
- Node149.setPosition(718*ratio.ratioX, 78*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(128,128,128,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','万kWh');
- Node149.a('node.textalign','center');
- Node149.a('node.textvAlign','middle');
- Node149.a('node.textrect', [Node149textStart, 0, Node149textWidth, Node149height]);
- Node149.a('node.color','rgba(128,128,128,1)');
- Node149.a('node.font',' '+ Node149fontSize + 'px "Arial"');
- Node149.a('node.textvisible',true);
- Node149.a('node.linefeed',false);
- if (false) {
- Node149.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node149.a('node.text') || '万kWh';
- var color=Node149.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node149width,Node149height,13.3333*_ratio.ratioY,"center",color,' '+ Node149fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node149.a('node.underlinepoints',[Node149lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node149fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node149fontSize + 'px "Arial"').width + 6, (Node149height - Node149fontSize) * 0.5*_ratio.ratioY + Node149fontSize + 2 ]);
- Node149.a('node.underlinevisible',false);
- Node149.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node149);
- zoomNodeList.push({
- node: Node149,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node150 = new ht.Node();
- var Node150textStart, Node150textWidth, Node150lineStart, Node150align = 'center', Node150fontSize = 13.3333*_ratio.ratioY,Node150width = 59*_ratio.ratioX, Node150height = 26*_ratio.ratioY;
- (function () {
- if (Node150align === 'left') {
- Node150textStart = Node150fontSize * 0.2 > 2 ? Node150fontSize * 0.2 - 4 : Node150fontSize * 0.2 - 9;
- Node150textWidth = Node150width;
- Node150lineStart = 1;
- } else if (Node150align === 'right') {
- Node150textStart = 0;
- Node150textWidth =Node150fontSize <= 8 ? Node150width + Node150fontSize * 0.2 + 6 : Node150width - Node150fontSize * 0.2;
- Node150lineStart = (Node150width - (ht.Default.getTextSize('万kWh', ' '+ Node150fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node150align === 'center') {
- Node150textStart = -3;
- Node150textWidth = Node150width;
- Node150lineStart = Node150width - ht.Default.getTextSize('万kWh', ' '+ Node150fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node150.setImage(GD.getTextJSON(Node150width, Node150height, true, false, false, ' '+ Node150fontSize + 'px "Arial"'))
- Node150.setPosition(718*ratio.ratioX, 101*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(128,128,128,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','万kWh');
- Node150.a('node.textalign','center');
- Node150.a('node.textvAlign','middle');
- Node150.a('node.textrect', [Node150textStart, 0, Node150textWidth, Node150height]);
- Node150.a('node.color','rgba(128,128,128,1)');
- Node150.a('node.font',' '+ Node150fontSize + 'px "Arial"');
- Node150.a('node.textvisible',true);
- Node150.a('node.linefeed',false);
- if (false) {
- Node150.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node150.a('node.text') || '万kWh';
- var color=Node150.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node150width,Node150height,13.3333*_ratio.ratioY,"center",color,' '+ Node150fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node150.a('node.underlinepoints',[Node150lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node150fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node150fontSize + 'px "Arial"').width + 6, (Node150height - Node150fontSize) * 0.5*_ratio.ratioY + Node150fontSize + 2 ]);
- Node150.a('node.underlinevisible',false);
- Node150.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node150);
- zoomNodeList.push({
- node: Node150,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node151 = new ht.Node();
- var Node151textStart, Node151textWidth, Node151lineStart, Node151align = 'center', Node151fontSize = 13.3333*_ratio.ratioY,Node151width = 59*_ratio.ratioX, Node151height = 26*_ratio.ratioY;
- (function () {
- if (Node151align === 'left') {
- Node151textStart = Node151fontSize * 0.2 > 2 ? Node151fontSize * 0.2 - 4 : Node151fontSize * 0.2 - 9;
- Node151textWidth = Node151width;
- Node151lineStart = 1;
- } else if (Node151align === 'right') {
- Node151textStart = 0;
- Node151textWidth =Node151fontSize <= 8 ? Node151width + Node151fontSize * 0.2 + 6 : Node151width - Node151fontSize * 0.2;
- Node151lineStart = (Node151width - (ht.Default.getTextSize('万kWh', ' '+ Node151fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node151align === 'center') {
- Node151textStart = -3;
- Node151textWidth = Node151width;
- Node151lineStart = Node151width - ht.Default.getTextSize('万kWh', ' '+ Node151fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node151.setImage(GD.getTextJSON(Node151width, Node151height, true, false, false, ' '+ Node151fontSize + 'px "Arial"'))
- Node151.setPosition(718*ratio.ratioX, 127*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(128,128,128,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','万kWh');
- Node151.a('node.textalign','center');
- Node151.a('node.textvAlign','middle');
- Node151.a('node.textrect', [Node151textStart, 0, Node151textWidth, Node151height]);
- Node151.a('node.color','rgba(128,128,128,1)');
- Node151.a('node.font',' '+ Node151fontSize + 'px "Arial"');
- Node151.a('node.textvisible',true);
- Node151.a('node.linefeed',false);
- if (false) {
- Node151.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node151.a('node.text') || '万kWh';
- var color=Node151.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node151width,Node151height,13.3333*_ratio.ratioY,"center",color,' '+ Node151fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node151.a('node.underlinepoints',[Node151lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node151fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node151fontSize + 'px "Arial"').width + 6, (Node151height - Node151fontSize) * 0.5*_ratio.ratioY + Node151fontSize + 2 ]);
- Node151.a('node.underlinevisible',false);
- Node151.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node151);
- zoomNodeList.push({
- node: Node151,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node152 = new ht.Node();
- var Node152textStart, Node152textWidth, Node152lineStart, Node152align = 'center', Node152fontSize = 13.3333*_ratio.ratioY,Node152width = 59*_ratio.ratioX, Node152height = 26*_ratio.ratioY;
- (function () {
- if (Node152align === 'left') {
- Node152textStart = Node152fontSize * 0.2 > 2 ? Node152fontSize * 0.2 - 4 : Node152fontSize * 0.2 - 9;
- Node152textWidth = Node152width;
- Node152lineStart = 1;
- } else if (Node152align === 'right') {
- Node152textStart = 0;
- Node152textWidth =Node152fontSize <= 8 ? Node152width + Node152fontSize * 0.2 + 6 : Node152width - Node152fontSize * 0.2;
- Node152lineStart = (Node152width - (ht.Default.getTextSize('万kWh', ' '+ Node152fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node152align === 'center') {
- Node152textStart = -3;
- Node152textWidth = Node152width;
- Node152lineStart = Node152width - ht.Default.getTextSize('万kWh', ' '+ Node152fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node152.setImage(GD.getTextJSON(Node152width, Node152height, true, false, false, ' '+ Node152fontSize + 'px "Arial"'))
- Node152.setPosition(718*ratio.ratioX, 151*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(128,128,128,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','万kWh');
- Node152.a('node.textalign','center');
- Node152.a('node.textvAlign','middle');
- Node152.a('node.textrect', [Node152textStart, 0, Node152textWidth, Node152height]);
- Node152.a('node.color','rgba(128,128,128,1)');
- Node152.a('node.font',' '+ Node152fontSize + 'px "Arial"');
- Node152.a('node.textvisible',true);
- Node152.a('node.linefeed',false);
- if (false) {
- Node152.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node152.a('node.text') || '万kWh';
- var color=Node152.a('node.color') || 'rgba(128,128,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node152width,Node152height,13.3333*_ratio.ratioY,"center",color,' '+ Node152fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node152.a('node.underlinepoints',[Node152lineStart, (26 - 13.3333) * 0.5 * _ratio.ratioY + Node152fontSize + 2 , ht.Default.getTextSize('万kWh', ' '+ Node152fontSize + 'px "Arial"').width + 6, (Node152height - Node152fontSize) * 0.5*_ratio.ratioY + Node152fontSize + 2 ]);
- Node152.a('node.underlinevisible',false);
- Node152.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node152);
- zoomNodeList.push({
- node: Node152,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153 = new ht.Node();
- var Node153textStart, Node153textWidth, Node153lineStart, Node153align = 'left', Node153fontSize = 13.3333*_ratio.ratioY,Node153width = 53*_ratio.ratioX, Node153height = 30*_ratio.ratioY;
- (function () {
- if (Node153align === 'left') {
- Node153textStart = Node153fontSize * 0.2 > 2 ? Node153fontSize * 0.2 - 4 : Node153fontSize * 0.2 - 9;
- Node153textWidth = Node153width;
- Node153lineStart = 1;
- } else if (Node153align === 'right') {
- Node153textStart = 0;
- Node153textWidth =Node153fontSize <= 8 ? Node153width + Node153fontSize * 0.2 + 6 : Node153width - Node153fontSize * 0.2;
- Node153lineStart = (Node153width - (ht.Default.getTextSize('合', 'bold '+ Node153fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node153align === 'center') {
- Node153textStart = -3;
- Node153textWidth = Node153width;
- Node153lineStart = Node153width - ht.Default.getTextSize('合', 'bold '+ Node153fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node153.setImage(GD.getTextJSON(Node153width, Node153height, true, false, false, 'bold '+ Node153fontSize + 'px "Arial"'))
- Node153.setPosition(30*ratio.ratioX, 85*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(255,255,255,1)');
- Node153.a('node.borderwidth', 0);
- Node153.a('node.background','' || 'rgba(0,0,0,0)');
- Node153.a('node.gradient','');
- Node153.a('node.gradientcolor','');
- Node153.a('node.text','合');
- Node153.a('node.textalign','left');
- Node153.a('node.textvAlign','middle');
- Node153.a('node.textrect', [Node153textStart, 0, Node153textWidth, Node153height]);
- Node153.a('node.color','rgba(255,255,255,1)');
- Node153.a('node.font','bold '+ Node153fontSize + 'px "Arial"');
- Node153.a('node.textvisible',true);
- Node153.a('node.linefeed',false);
- if (false) {
- Node153.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node153.a('node.text') || '合';
- var color=Node153.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node153width,Node153height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node153fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node153.a('node.underlinepoints',[Node153lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node153fontSize + 2 , ht.Default.getTextSize('合', 'bold '+ Node153fontSize + 'px "Arial"').width + 6, (Node153height - Node153fontSize) * 0.5*_ratio.ratioY + Node153fontSize + 2 ]);
- Node153.a('node.underlinevisible',false);
- Node153.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node153);
- zoomNodeList.push({
- node: Node153,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node154 = new ht.Node();
- var Node154textStart, Node154textWidth, Node154lineStart, Node154align = 'left', Node154fontSize = 13.3333*_ratio.ratioY,Node154width = 53*_ratio.ratioX, Node154height = 30*_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('指', 'bold '+ Node154fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node154align === 'center') {
- Node154textStart = -3;
- Node154textWidth = Node154width;
- Node154lineStart = Node154width - ht.Default.getTextSize('指', 'bold '+ Node154fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node154.setImage(GD.getTextJSON(Node154width, Node154height, true, false, false, 'bold '+ Node154fontSize + 'px "Arial"'))
- Node154.setPosition(30*ratio.ratioX, 112*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(255,255,255,1)');
- Node154.a('node.borderwidth', 0);
- Node154.a('node.background','' || 'rgba(0,0,0,0)');
- Node154.a('node.gradient','');
- Node154.a('node.gradientcolor','');
- Node154.a('node.text','指');
- Node154.a('node.textalign','left');
- Node154.a('node.textvAlign','middle');
- Node154.a('node.textrect', [Node154textStart, 0, Node154textWidth, Node154height]);
- Node154.a('node.color','rgba(255,255,255,1)');
- Node154.a('node.font','bold '+ Node154fontSize + 'px "Arial"');
- Node154.a('node.textvisible',true);
- Node154.a('node.linefeed',false);
- if (false) {
- Node154.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node154.a('node.text') || '指';
- var color=Node154.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node154width,Node154height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node154fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node154.a('node.underlinepoints',[Node154lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node154fontSize + 2 , ht.Default.getTextSize('指', 'bold '+ Node154fontSize + 'px "Arial"').width + 6, (Node154height - Node154fontSize) * 0.5*_ratio.ratioY + Node154fontSize + 2 ]);
- Node154.a('node.underlinevisible',false);
- Node154.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node154);
- zoomNodeList.push({
- node: Node154,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node155 = new ht.Node();
- var Node155textStart, Node155textWidth, Node155lineStart, Node155align = 'left', Node155fontSize = 13.3333*_ratio.ratioY,Node155width = 53*_ratio.ratioX, Node155height = 30*_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('标', 'bold '+ Node155fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node155align === 'center') {
- Node155textStart = -3;
- Node155textWidth = Node155width;
- Node155lineStart = Node155width - ht.Default.getTextSize('标', 'bold '+ Node155fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node155.setImage(GD.getTextJSON(Node155width, Node155height, true, false, false, 'bold '+ Node155fontSize + 'px "Arial"'))
- Node155.setPosition(30*ratio.ratioX, 142*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(255,255,255,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','标');
- Node155.a('node.textalign','left');
- Node155.a('node.textvAlign','middle');
- Node155.a('node.textrect', [Node155textStart, 0, Node155textWidth, Node155height]);
- Node155.a('node.color','rgba(255,255,255,1)');
- Node155.a('node.font','bold '+ Node155fontSize + 'px "Arial"');
- Node155.a('node.textvisible',true);
- Node155.a('node.linefeed',false);
- if (false) {
- Node155.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node155.a('node.text') || '标';
- var color=Node155.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node155width,Node155height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node155fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node155.a('node.underlinepoints',[Node155lineStart, (30 - 13.3333) * 0.5 * _ratio.ratioY + Node155fontSize + 2 , ht.Default.getTextSize('标', 'bold '+ Node155fontSize + 'px "Arial"').width + 6, (Node155height - Node155fontSize) * 0.5*_ratio.ratioY + Node155fontSize + 2 ]);
- Node155.a('node.underlinevisible',false);
- Node155.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node155);
- zoomNodeList.push({
- node: Node155,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156 = new ht.Node();
- var Node156textStart, Node156textWidth, Node156lineStart, Node156align = 'left', Node156fontSize = 11.99997*_ratio.ratioY,Node156width = 53*_ratio.ratioX, Node156height = 20*_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('机', 'bold '+ Node156fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node156align === 'center') {
- Node156textStart = -3;
- Node156textWidth = Node156width;
- Node156lineStart = Node156width - ht.Default.getTextSize('机', 'bold '+ Node156fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node156.setImage(GD.getTextJSON(Node156width, Node156height, true, false, false, 'bold '+ Node156fontSize + 'px "Arial"'))
- Node156.setPosition(1343*ratio.ratioX, 88*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(255,255,255,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','机');
- Node156.a('node.textalign','left');
- Node156.a('node.textvAlign','middle');
- Node156.a('node.textrect', [Node156textStart, 0, Node156textWidth, Node156height]);
- Node156.a('node.color','rgba(255,255,255,1)');
- Node156.a('node.font','bold '+ Node156fontSize + 'px "Arial"');
- Node156.a('node.textvisible',true);
- Node156.a('node.linefeed',false);
- if (false) {
- Node156.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node156.a('node.text') || '机';
- var color=Node156.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node156width,Node156height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node156fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node156.a('node.underlinepoints',[Node156lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node156fontSize + 2 , ht.Default.getTextSize('机', 'bold '+ Node156fontSize + 'px "Arial"').width + 6, (Node156height - Node156fontSize) * 0.5*_ratio.ratioY + Node156fontSize + 2 ]);
- Node156.a('node.underlinevisible',false);
- Node156.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node156);
- zoomNodeList.push({
- node: Node156,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node157 = new ht.Node();
- var Node157textStart, Node157textWidth, Node157lineStart, Node157align = 'left', Node157fontSize = 11.99997*_ratio.ratioY,Node157width = 53*_ratio.ratioX, Node157height = 20*_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('状', 'bold '+ Node157fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node157align === 'center') {
- Node157textStart = -3;
- Node157textWidth = Node157width;
- Node157lineStart = Node157width - ht.Default.getTextSize('状', 'bold '+ Node157fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node157.setImage(GD.getTextJSON(Node157width, Node157height, true, false, false, 'bold '+ Node157fontSize + 'px "Arial"'))
- Node157.setPosition(1343*ratio.ratioX, 111*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(255,255,255,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','状');
- Node157.a('node.textalign','left');
- Node157.a('node.textvAlign','middle');
- Node157.a('node.textrect', [Node157textStart, 0, Node157textWidth, Node157height]);
- Node157.a('node.color','rgba(255,255,255,1)');
- Node157.a('node.font','bold '+ Node157fontSize + 'px "Arial"');
- Node157.a('node.textvisible',true);
- Node157.a('node.linefeed',false);
- if (false) {
- Node157.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node157.a('node.text') || '状';
- var color=Node157.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node157width,Node157height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node157fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node157.a('node.underlinepoints',[Node157lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node157fontSize + 2 , ht.Default.getTextSize('状', 'bold '+ Node157fontSize + 'px "Arial"').width + 6, (Node157height - Node157fontSize) * 0.5*_ratio.ratioY + Node157fontSize + 2 ]);
- Node157.a('node.underlinevisible',false);
- Node157.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node157);
- zoomNodeList.push({
- node: Node157,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 11.99997*_ratio.ratioY,Node158width = 53*_ratio.ratioX, Node158height = 20*_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('态', 'bold '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('态', 'bold '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, 'bold '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(1343*ratio.ratioX, 133*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(255,255,255,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(255,255,255,1)');
- Node158.a('node.font','bold '+ Node158fontSize + 'px "Arial"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || '态';
- var color=Node158.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,11.99997*0.5*_ratio.ratioY,Node158width,Node158height,11.99997*_ratio.ratioY,"left",color,'bold '+ Node158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (20 - 11.99997) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('态', 'bold '+ Node158fontSize + 'px "Arial"').width + 6, (Node158height - Node158fontSize) * 0.5*_ratio.ratioY + Node158fontSize + 2 ]);
- Node158.a('node.underlinevisible',false);
- Node158.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node158);
- zoomNodeList.push({
- node: Node158,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node159 = new ht.Node();
- var Node159textStart, Node159textWidth, Node159lineStart, Node159align = 'center', Node159fontSize = 14.66663*_ratio.ratioY,Node159width = 67*_ratio.ratioX, Node159height = 26*_ratio.ratioY;
- (function () {
- if (Node159align === 'left') {
- Node159textStart = Node159fontSize * 0.2 > 2 ? Node159fontSize * 0.2 - 4 : Node159fontSize * 0.2 - 9;
- Node159textWidth = Node159width;
- Node159lineStart = 1;
- } else if (Node159align === 'right') {
- Node159textStart = 0;
- Node159textWidth =Node159fontSize <= 8 ? Node159width + Node159fontSize * 0.2 + 6 : Node159width - Node159fontSize * 0.2;
- Node159lineStart = (Node159width - (ht.Default.getTextSize('台', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('台', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(1586*ratio.ratioX, 86*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(105,105,105,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','center');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(105,105,105,1)');
- Node159.a('node.font',' '+ Node159fontSize + 'px "Arial"');
- Node159.a('node.textvisible',true);
- Node159.a('node.linefeed',false);
- if (false) {
- Node159.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node159.a('node.text') || '台';
- var color=Node159.a('node.color') || 'rgba(105,105,105,1)';
- canvasTextAutoLine(str,0,14.66663*0.5*_ratio.ratioY,Node159width,Node159height,14.66663*_ratio.ratioY,"center",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (26 - 14.66663) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node160;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_blue.jpg', PAGEROOTDIR + 'image//page_list_box_left_blue.jpg');
- Node160 = new ht.Node();
- Node160.setPosition(1475*ratio.ratioX, 70*ratio.ratioY);
- Node160.setSize(9*ratioX, 60*ratioY);
- Node160.setImage('imgimage//page_list_box_left_blue.jpg');
- Node160.setRotation(0*Math.PI/180);
- Node160._zoomBy = 'Default';
- Node160._nodeType = 'image';
- Node160._disallowEvert = true;
- dataModel.add(Node160);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161type = 'rect';
- var Node161 = new ht.Node(),
- Node161BorderWidth = 1*2;
- if (Node161type === 'arc') {
- Node161BorderWidth *= 1;
- }
- Node161.setImage(GD.getRectJSON(127*_ratio.ratioX, 60.81538*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node161.setPosition(1544*ratio.ratioX, 70*ratio.ratioY);
- Node161.setSize(127*_ratio.ratioX, 60.81538*_ratio.ratioY);
- Node161.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node161.a('node.width', 127*_ratio.ratioX);
- Node161.a('node.height', 60.81538*_ratio.ratioY);
- Node161.a('node.type', Node161type);
- Node161.a('node.rect', [0, 0, 127*_ratio.ratioX, 60.81538*_ratio.ratioY]);
- Node161.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node161.a('node.gradientcolor', '');
- Node161.a('node.gradient', '');
- Node161.a('node.borderwidth', Node161BorderWidth);
- Node161.a('node.color', 'rgba(128,128,128,1)');
- Node161.a('node.fillrect', [0,0,0,0]);
- Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradient', '');
- if (Node161type !== 'rect') {
- Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node161.a('node.arcTo', parseFloat('@arcTo@'));
- Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node161type === 'arc') {
- Node161.a('node.arcOval', true);
- }
- Node161.setRotation(0*Math.PI/180);
- Node161.borderWidth = Node161BorderWidth;
- Node161.borderFillwidth = Node161BorderWidth;
- dataModel.add(Node161);
- Node161._nodename = 'Node161'
- Node161._nodeType = 'rect';
- zoomNodeList.push({
- node: Node161,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node161, Node161.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node162 = new ht.Node();
- var Node162textStart, Node162textWidth, Node162lineStart, Node162align = 'left', Node162fontSize = 15.99996*_ratio.ratioY,Node162width = 29*_ratio.ratioX, Node162height = 25*_ratio.ratioY;
- (function () {
- if (Node162align === 'left') {
- Node162textStart = Node162fontSize * 0.2 > 2 ? Node162fontSize * 0.2 - 4 : Node162fontSize * 0.2 - 9;
- Node162textWidth = Node162width;
- Node162lineStart = 1;
- } else if (Node162align === 'right') {
- Node162textStart = 0;
- Node162textWidth =Node162fontSize <= 8 ? Node162width + Node162fontSize * 0.2 + 6 : Node162width - Node162fontSize * 0.2;
- Node162lineStart = (Node162width - (ht.Default.getTextSize('0', ' '+ Node162fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node162align === 'center') {
- Node162textStart = -3;
- Node162textWidth = Node162width;
- Node162lineStart = Node162width - ht.Default.getTextSize('0', ' '+ Node162fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node162.setImage(GD.getTextJSON(Node162width, Node162height, true, false, false, ' '+ Node162fontSize + 'px "Arial"'))
- Node162.setPosition(1507*ratio.ratioX, 85*ratio.ratioY);
- Node162.setWidth(Node162width);
- Node162.setHeight(Node162height);
- Node162._nodeType = 'text';
- Node162._disallowEvert = true;
- Node162.setRotation(0*Math.PI/180);
- Node162.a('node.width', Node162width);
- Node162.a('node.height', Node162height);
- Node162.a('node.rect', [0, 0, Node162width, Node162height]);
- Node162.a('node.bordercolor','rgba(0,0,0,1)');
- Node162.a('node.borderwidth', 0);
- Node162.a('node.background','' || 'rgba(0,0,0,0)');
- Node162.a('node.gradient','');
- Node162.a('node.gradientcolor','');
- Node162.a('node.text','0');
- Node162.a('node.textalign','left');
- Node162.a('node.textvAlign','middle');
- Node162.a('node.textrect', [Node162textStart, 0, Node162textWidth, Node162height]);
- Node162.a('node.color','rgba(0,0,0,1)');
- Node162.a('node.font',' '+ Node162fontSize + 'px "Arial"');
- Node162.a('node.textvisible',true);
- Node162.a('node.linefeed',false);
- if (false) {
- Node162.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node162.a('node.text') || '0';
- var color=Node162.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node162width,Node162height,15.99996*_ratio.ratioY,"left",color,' '+ Node162fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node162.a('node.underlinepoints',[Node162lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node162fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node162fontSize + 'px "Arial"').width + 6, (Node162height - Node162fontSize) * 0.5*_ratio.ratioY + Node162fontSize + 2 ]);
- Node162.a('node.underlinevisible',false);
- Node162.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node162);
- zoomNodeList.push({
- node: Node162,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node163;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_red.jpg', PAGEROOTDIR + 'image//page_list_box_left_red.jpg');
- Node163 = new ht.Node();
- Node163.setPosition(1751*ratio.ratioX, 70*ratio.ratioY);
- Node163.setSize(9*ratioX, 60*ratioY);
- Node163.setImage('imgimage//page_list_box_left_red.jpg');
- Node163.setRotation(0*Math.PI/180);
- Node163._zoomBy = 'Default';
- Node163._nodeType = 'image';
- Node163._disallowEvert = true;
- dataModel.add(Node163);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164 = new ht.Node();
- var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'left', Node164fontSize = 15.99996*_ratio.ratioY,Node164width = 29*_ratio.ratioX, Node164height = 25*_ratio.ratioY;
- (function () {
- if (Node164align === 'left') {
- Node164textStart = Node164fontSize * 0.2 > 2 ? Node164fontSize * 0.2 - 4 : Node164fontSize * 0.2 - 9;
- Node164textWidth = Node164width;
- Node164lineStart = 1;
- } else if (Node164align === 'right') {
- Node164textStart = 0;
- Node164textWidth =Node164fontSize <= 8 ? Node164width + Node164fontSize * 0.2 + 6 : Node164width - Node164fontSize * 0.2;
- Node164lineStart = (Node164width - (ht.Default.getTextSize('0', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('0', ' '+ Node164fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
- Node164.setPosition(1783*ratio.ratioX, 85*ratio.ratioY);
- Node164.setWidth(Node164width);
- Node164.setHeight(Node164height);
- Node164._nodeType = 'text';
- Node164._disallowEvert = true;
- Node164.setRotation(0*Math.PI/180);
- Node164.a('node.width', Node164width);
- Node164.a('node.height', Node164height);
- Node164.a('node.rect', [0, 0, Node164width, Node164height]);
- Node164.a('node.bordercolor','rgba(0,0,0,1)');
- Node164.a('node.borderwidth', 0);
- Node164.a('node.background','' || 'rgba(0,0,0,0)');
- Node164.a('node.gradient','');
- Node164.a('node.gradientcolor','');
- Node164.a('node.text','0');
- Node164.a('node.textalign','left');
- Node164.a('node.textvAlign','middle');
- Node164.a('node.textrect', [Node164textStart, 0, Node164textWidth, Node164height]);
- Node164.a('node.color','rgba(0,0,0,1)');
- Node164.a('node.font',' '+ Node164fontSize + 'px "Arial"');
- Node164.a('node.textvisible',true);
- Node164.a('node.linefeed',false);
- if (false) {
- Node164.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node164.a('node.text') || '0';
- var color=Node164.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node164width,Node164height,15.99996*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node164.a('node.underlinepoints',[Node164lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node164fontSize + 'px "Arial"').width + 6, (Node164height - Node164fontSize) * 0.5*_ratio.ratioY + Node164fontSize + 2 ]);
- Node164.a('node.underlinevisible',false);
- Node164.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node164);
- zoomNodeList.push({
- node: Node164,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node165;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//page_list_box_left_black.jpg', PAGEROOTDIR + 'image//page_list_box_left_black.jpg');
- Node165 = new ht.Node();
- Node165.setPosition(1751*ratio.ratioX, 131*ratio.ratioY);
- Node165.setSize(9*ratioX, 60*ratioY);
- Node165.setImage('imgimage//page_list_box_left_black.jpg');
- Node165.setRotation(0*Math.PI/180);
- Node165._zoomBy = 'Default';
- Node165._nodeType = 'image';
- Node165._disallowEvert = true;
- dataModel.add(Node165);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166 = new ht.Node();
- var Node166textStart, Node166textWidth, Node166lineStart, Node166align = 'left', Node166fontSize = 13.3333*_ratio.ratioY,Node166width = 47*_ratio.ratioX, Node166height = 38*_ratio.ratioY;
- (function () {
- if (Node166align === 'left') {
- Node166textStart = Node166fontSize * 0.2 > 2 ? Node166fontSize * 0.2 - 4 : Node166fontSize * 0.2 - 9;
- Node166textWidth = Node166width;
- Node166lineStart = 1;
- } else if (Node166align === 'right') {
- Node166textStart = 0;
- Node166textWidth =Node166fontSize <= 8 ? Node166width + Node166fontSize * 0.2 + 6 : Node166width - Node166fontSize * 0.2;
- Node166lineStart = (Node166width - (ht.Default.getTextSize('离线', 'bold '+ Node166fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node166align === 'center') {
- Node166textStart = -3;
- Node166textWidth = Node166width;
- Node166lineStart = Node166width - ht.Default.getTextSize('离线', 'bold '+ Node166fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node166.setImage(GD.getTextJSON(Node166width, Node166height, true, false, false, 'bold '+ Node166fontSize + 'px "Arial"'))
- Node166.setPosition(1782*ratio.ratioX, 114*ratio.ratioY);
- Node166.setWidth(Node166width);
- Node166.setHeight(Node166height);
- Node166._nodeType = 'text';
- Node166._disallowEvert = true;
- Node166.setRotation(0*Math.PI/180);
- Node166.a('node.width', Node166width);
- Node166.a('node.height', Node166height);
- Node166.a('node.rect', [0, 0, Node166width, Node166height]);
- Node166.a('node.bordercolor','rgba(0,0,0,1)');
- Node166.a('node.borderwidth', 0);
- Node166.a('node.background','' || 'rgba(0,0,0,0)');
- Node166.a('node.gradient','');
- Node166.a('node.gradientcolor','');
- Node166.a('node.text','离线');
- Node166.a('node.textalign','left');
- Node166.a('node.textvAlign','middle');
- Node166.a('node.textrect', [Node166textStart, 0, Node166textWidth, Node166height]);
- Node166.a('node.color','rgba(0,0,0,1)');
- Node166.a('node.font','bold '+ Node166fontSize + 'px "Arial"');
- Node166.a('node.textvisible',true);
- Node166.a('node.linefeed',false);
- if (false) {
- Node166.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node166.a('node.text') || '离线';
- var color=Node166.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node166width,Node166height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node166fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node166.a('node.underlinepoints',[Node166lineStart, (38 - 13.3333) * 0.5 * _ratio.ratioY + Node166fontSize + 2 , ht.Default.getTextSize('离线', 'bold '+ Node166fontSize + 'px "Arial"').width + 6, (Node166height - Node166fontSize) * 0.5*_ratio.ratioY + Node166fontSize + 2 ]);
- Node166.a('node.underlinevisible',false);
- Node166.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node166);
- zoomNodeList.push({
- node: Node166,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node167 = new ht.Node();
- var Node167textStart, Node167textWidth, Node167lineStart, Node167align = 'left', Node167fontSize = 15.99996*_ratio.ratioY,Node167width = 29*_ratio.ratioX, Node167height = 25*_ratio.ratioY;
- (function () {
- if (Node167align === 'left') {
- Node167textStart = Node167fontSize * 0.2 > 2 ? Node167fontSize * 0.2 - 4 : Node167fontSize * 0.2 - 9;
- Node167textWidth = Node167width;
- Node167lineStart = 1;
- } else if (Node167align === 'right') {
- Node167textStart = 0;
- Node167textWidth =Node167fontSize <= 8 ? Node167width + Node167fontSize * 0.2 + 6 : Node167width - Node167fontSize * 0.2;
- Node167lineStart = (Node167width - (ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node167align === 'center') {
- Node167textStart = -3;
- Node167textWidth = Node167width;
- Node167lineStart = Node167width - ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node167.setImage(GD.getTextJSON(Node167width, Node167height, true, false, false, ' '+ Node167fontSize + 'px "Arial"'))
- Node167.setPosition(1783*ratio.ratioX, 146*ratio.ratioY);
- Node167.setWidth(Node167width);
- Node167.setHeight(Node167height);
- Node167._nodeType = 'text';
- Node167._disallowEvert = true;
- Node167.setRotation(0*Math.PI/180);
- Node167.a('node.width', Node167width);
- Node167.a('node.height', Node167height);
- Node167.a('node.rect', [0, 0, Node167width, Node167height]);
- Node167.a('node.bordercolor','rgba(0,0,0,1)');
- Node167.a('node.borderwidth', 0);
- Node167.a('node.background','' || 'rgba(0,0,0,0)');
- Node167.a('node.gradient','');
- Node167.a('node.gradientcolor','');
- Node167.a('node.text','0');
- Node167.a('node.textalign','left');
- Node167.a('node.textvAlign','middle');
- Node167.a('node.textrect', [Node167textStart, 0, Node167textWidth, Node167height]);
- Node167.a('node.color','rgba(0,0,0,1)');
- Node167.a('node.font',' '+ Node167fontSize + 'px "Arial"');
- Node167.a('node.textvisible',true);
- Node167.a('node.linefeed',false);
- if (false) {
- Node167.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node167.a('node.text') || '0';
- var color=Node167.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node167width,Node167height,15.99996*_ratio.ratioY,"left",color,' '+ Node167fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node167.a('node.underlinepoints',[Node167lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node167fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node167fontSize + 'px "Arial"').width + 6, (Node167height - Node167fontSize) * 0.5*_ratio.ratioY + Node167fontSize + 2 ]);
- Node167.a('node.underlinevisible',false);
- Node167.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node167);
- zoomNodeList.push({
- node: Node167,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node168;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//喜欢的蓝色.png', PAGEROOTDIR + 'image//喜欢的蓝色.png');
- Node168 = new ht.Node();
- Node168.setPosition(106*ratio.ratioX, 62*ratio.ratioY);
- Node168.setSize(155*ratioX, 45*ratioY);
- Node168.setImage('imgimage//喜欢的蓝色.png');
- Node168.setRotation(0*Math.PI/180);
- Node168._zoomBy = 'Default';
- Node168._nodeType = 'image';
- Node168._disallowEvert = true;
- dataModel.add(Node168);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 17.33329*_ratio.ratioY,Node169width = 143*_ratio.ratioX, Node169height = 49*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(114*ratio.ratioX, 64*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(255,255,255,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','广灵劲风风场');
- Node169.a('node.textalign','left');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(255,255,255,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '广灵劲风风场';
- var color=Node169.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,17.33329*0.5*_ratio.ratioY,Node169width,Node169height,17.33329*_ratio.ratioY,"left",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (49 - 17.33329) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node170;
- (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//宝塔山风机排布//fjpb_baotashan_bg.png', PAGEROOTDIR + 'image//宝塔山风机排布//fjpb_baotashan_bg.png');
- Node170 = new ht.Node();
- Node170.setPosition(940*ratio.ratioX, 511*ratio.ratioY);
- Node170.setSize(1880*ratioX, 680*ratioY);
- Node170.setImage('imgimage//宝塔山风机排布//fjpb_baotashan_bg.png');
- Node170.setRotation(0*Math.PI/180);
- Node170._zoomBy = 'Default';
- Node170._nodeType = 'image';
- Node170._disallowEvert = true;
- dataModel.add(Node170);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171 = new ht.lib['排布图图元'](608*ratio.ratioX, 215*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node171');
- _libModel.add("Node171", Node171);
- Node171.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node172 = new ht.lib['排布图图元'](580*ratio.ratioX, 247*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node172');
- _libModel.add("Node172", Node172);
- Node172.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.lib['排布图图元'](636*ratio.ratioX, 278*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node173');
- _libModel.add("Node173", Node173);
- Node173.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.lib['排布图图元'](681*ratio.ratioX, 315*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node174');
- _libModel.add("Node174", Node174);
- Node174.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.lib['排布图图元'](430*ratio.ratioX, 476*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node175');
- _libModel.add("Node175", Node175);
- Node175.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176 = new ht.lib['排布图图元'](501*ratio.ratioX, 471*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node176');
- _libModel.add("Node176", Node176);
- Node176.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node177 = new ht.lib['排布图图元'](588*ratio.ratioX, 460*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node177');
- _libModel.add("Node177", Node177);
- Node177.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.lib['排布图图元'](659*ratio.ratioX, 451*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node178');
- _libModel.add("Node178", Node178);
- Node178.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.lib['排布图图元'](753*ratio.ratioX, 380*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node179');
- _libModel.add("Node179", Node179);
- Node179.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.lib['排布图图元'](1056*ratio.ratioX, 218*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node180');
- _libModel.add("Node180", Node180);
- Node180.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181 = new ht.lib['排布图图元'](1137*ratio.ratioX, 240*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node181');
- _libModel.add("Node181", Node181);
- Node181.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.lib['排布图图元'](1108*ratio.ratioX, 273*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node182');
- _libModel.add("Node182", Node182);
- Node182.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.lib['排布图图元'](1142*ratio.ratioX, 294*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node183');
- _libModel.add("Node183", Node183);
- Node183.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.lib['排布图图元'](1035*ratio.ratioX, 349*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node184');
- _libModel.add("Node184", Node184);
- Node184.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185 = new ht.lib['排布图图元'](1064*ratio.ratioX, 386*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node185');
- _libModel.add("Node185", Node185);
- Node185.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.lib['排布图图元'](1165*ratio.ratioX, 460*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node186');
- _libModel.add("Node186", Node186);
- Node186.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187 = new ht.lib['排布图图元'](1221*ratio.ratioX, 486*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node187');
- _libModel.add("Node187", Node187);
- Node187.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.lib['排布图图元'](1289*ratio.ratioX, 504*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node188');
- _libModel.add("Node188", Node188);
- Node188.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189 = new ht.lib['排布图图元'](1173*ratio.ratioX, 678*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node189');
- _libModel.add("Node189", Node189);
- Node189.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node190 = new ht.lib['排布图图元'](1104*ratio.ratioX, 707*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node190');
- _libModel.add("Node190", Node190);
- Node190.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node191 = new ht.lib['排布图图元'](915*ratio.ratioX, 713*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node191');
- _libModel.add("Node191", Node191);
- Node191.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node192 = new ht.lib['排布图图元'](804*ratio.ratioX, 782*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node192');
- _libModel.add("Node192", Node192);
- Node192.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.lib['排布图图元'](567*ratio.ratioX, 737*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node193');
- _libModel.add("Node193", Node193);
- Node193.setRotation(0*Math.PI/180);
- ;
- ;
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.lib['排布图图元'](706*ratio.ratioX, 780*ratio.ratioY, 40*_ratio.ratioX, 64*_ratio.ratioY, 0*Math.PI/180, {zhuangtai:'0',bianhao:'xx',fengsu:'xx',gonglv:'xx',}, function (){return {}}, 'Node194');
- _libModel.add("Node194", Node194);
- Node194.setRotation(0*Math.PI/180);
- ;
- ;
- var Node195_0_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node195_0_0 = new ht.Node();
- Node195_0_0.setPosition(13*ratio.ratioX, 231*ratio.ratioY);
- Node195_0_0.setSize(27*ratioX, 101*ratioY);
- Node195_0_0.setImage('imgimage//left_menu_out0.png');
- Node195_0_0.setRotation(0*Math.PI/180);
- Node195_0_0._zoomBy = 'Default';
- Node195_0_0._nodeType = 'image';
- Node195_0_0._disallowEvert = true;
- dataModel.add(Node195_0_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_0_1 = new ht.Node();
- var Node195_0_1textStart, Node195_0_1textWidth, Node195_0_1lineStart, Node195_0_1align = 'left', Node195_0_1fontSize = 19.99995*_ratio.ratioY,Node195_0_1width = 23*_ratio.ratioX, Node195_0_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_0_1align === 'left') {
- Node195_0_1textStart = Node195_0_1fontSize * 0.2 > 2 ? Node195_0_1fontSize * 0.2 - 4 : Node195_0_1fontSize * 0.2 - 9;
- Node195_0_1textWidth = Node195_0_1width;
- Node195_0_1lineStart = 1;
- } else if (Node195_0_1align === 'right') {
- Node195_0_1textStart = 0;
- Node195_0_1textWidth =Node195_0_1fontSize <= 8 ? Node195_0_1width + Node195_0_1fontSize * 0.2 + 6 : Node195_0_1width - Node195_0_1fontSize * 0.2;
- Node195_0_1lineStart = (Node195_0_1width - (ht.Default.getTextSize('排布图', ' '+ Node195_0_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_0_1align === 'center') {
- Node195_0_1textStart = -3;
- Node195_0_1textWidth = Node195_0_1width;
- Node195_0_1lineStart = Node195_0_1width - ht.Default.getTextSize('排布图', ' '+ Node195_0_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_0_1.setImage(GD.getTextJSON(Node195_0_1width, Node195_0_1height, false, true, false, ' '+ Node195_0_1fontSize + 'px "Arial"'))
- Node195_0_1.setPosition(12*ratio.ratioX, 229*ratio.ratioY);
- Node195_0_1.setWidth(Node195_0_1width);
- Node195_0_1.setHeight(Node195_0_1height);
- Node195_0_1._nodeType = 'text';
- Node195_0_1._disallowEvert = true;
- Node195_0_1.setRotation(0*Math.PI/180);
- Node195_0_1.a('node.width', Node195_0_1width);
- Node195_0_1.a('node.height', Node195_0_1height);
- Node195_0_1.a('node.rect', [0, 0, Node195_0_1width, Node195_0_1height]);
- Node195_0_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_0_1.a('node.borderwidth', 0);
- Node195_0_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_0_1.a('node.gradient','');
- Node195_0_1.a('node.gradientcolor','');
- Node195_0_1.a('node.text','排布图');
- Node195_0_1.a('node.textalign','left');
- Node195_0_1.a('node.textvAlign','middle');
- Node195_0_1.a('node.textrect', [Node195_0_1textStart, 0, Node195_0_1textWidth, Node195_0_1height]);
- Node195_0_1.a('node.color','rgba(0,0,0,1)');
- Node195_0_1.a('node.font',' '+ Node195_0_1fontSize + 'px "Arial"');
- Node195_0_1.a('node.textvisible',false);
- Node195_0_1.a('node.linefeed',true);
- if (true) {
- Node195_0_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_0_1.a('node.text') || '排布图';
- var color=Node195_0_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node195_0_1width,Node195_0_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node195_0_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_0_1.a('node.underlinepoints',[Node195_0_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node195_0_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node195_0_1fontSize + 'px "Arial"').width + 6, (Node195_0_1height - Node195_0_1fontSize) * 0.5*_ratio.ratioY + Node195_0_1fontSize + 2 ]);
- Node195_0_1.a('node.underlinevisible',false);
- Node195_0_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_0_1);
- zoomNodeList.push({
- node: Node195_0_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_1_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node195_1_0 = new ht.Node();
- Node195_1_0.setPosition(13*ratio.ratioX, 231*ratio.ratioY);
- Node195_1_0.setSize(27*ratioX, 101*ratioY);
- Node195_1_0.setImage('imgimage//left_menu_over0.png');
- Node195_1_0.setRotation(0*Math.PI/180);
- Node195_1_0._zoomBy = 'Default';
- Node195_1_0._nodeType = 'image';
- Node195_1_0._disallowEvert = true;
- dataModel.add(Node195_1_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_1_1 = new ht.Node();
- var Node195_1_1textStart, Node195_1_1textWidth, Node195_1_1lineStart, Node195_1_1align = 'left', Node195_1_1fontSize = 19.99995*_ratio.ratioY,Node195_1_1width = 23*_ratio.ratioX, Node195_1_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_1_1align === 'left') {
- Node195_1_1textStart = Node195_1_1fontSize * 0.2 > 2 ? Node195_1_1fontSize * 0.2 - 4 : Node195_1_1fontSize * 0.2 - 9;
- Node195_1_1textWidth = Node195_1_1width;
- Node195_1_1lineStart = 1;
- } else if (Node195_1_1align === 'right') {
- Node195_1_1textStart = 0;
- Node195_1_1textWidth =Node195_1_1fontSize <= 8 ? Node195_1_1width + Node195_1_1fontSize * 0.2 + 6 : Node195_1_1width - Node195_1_1fontSize * 0.2;
- Node195_1_1lineStart = (Node195_1_1width - (ht.Default.getTextSize('排布图', ' '+ Node195_1_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_1_1align === 'center') {
- Node195_1_1textStart = -3;
- Node195_1_1textWidth = Node195_1_1width;
- Node195_1_1lineStart = Node195_1_1width - ht.Default.getTextSize('排布图', ' '+ Node195_1_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_1_1.setImage(GD.getTextJSON(Node195_1_1width, Node195_1_1height, false, true, false, ' '+ Node195_1_1fontSize + 'px "Arial"'))
- Node195_1_1.setPosition(11*ratio.ratioX, 229*ratio.ratioY);
- Node195_1_1.setWidth(Node195_1_1width);
- Node195_1_1.setHeight(Node195_1_1height);
- Node195_1_1._nodeType = 'text';
- Node195_1_1._disallowEvert = true;
- Node195_1_1.setRotation(0*Math.PI/180);
- Node195_1_1.a('node.width', Node195_1_1width);
- Node195_1_1.a('node.height', Node195_1_1height);
- Node195_1_1.a('node.rect', [0, 0, Node195_1_1width, Node195_1_1height]);
- Node195_1_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_1_1.a('node.borderwidth', 0);
- Node195_1_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_1_1.a('node.gradient','');
- Node195_1_1.a('node.gradientcolor','');
- Node195_1_1.a('node.text','排布图');
- Node195_1_1.a('node.textalign','left');
- Node195_1_1.a('node.textvAlign','middle');
- Node195_1_1.a('node.textrect', [Node195_1_1textStart, 0, Node195_1_1textWidth, Node195_1_1height]);
- Node195_1_1.a('node.color','rgba(0,0,0,1)');
- Node195_1_1.a('node.font',' '+ Node195_1_1fontSize + 'px "Arial"');
- Node195_1_1.a('node.textvisible',false);
- Node195_1_1.a('node.linefeed',true);
- if (true) {
- Node195_1_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_1_1.a('node.text') || '排布图';
- var color=Node195_1_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,19.99995*0.5*_ratio.ratioY,Node195_1_1width,Node195_1_1height,19.99995*_ratio.ratioY,"left",color,' '+ Node195_1_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_1_1.a('node.underlinepoints',[Node195_1_1lineStart, (76 - 19.99995) * 0.5 * _ratio.ratioY + Node195_1_1fontSize + 2 , ht.Default.getTextSize('排布图', ' '+ Node195_1_1fontSize + 'px "Arial"').width + 6, (Node195_1_1height - Node195_1_1fontSize) * 0.5*_ratio.ratioY + Node195_1_1fontSize + 2 ]);
- Node195_1_1.a('node.underlinevisible',false);
- Node195_1_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_1_1);
- zoomNodeList.push({
- node: Node195_1_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_2_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node195_2_0 = new ht.Node();
- Node195_2_0.setPosition(13*ratio.ratioX, 331*ratio.ratioY);
- Node195_2_0.setSize(27*ratioX, 101*ratioY);
- Node195_2_0.setImage('imgimage//left_menu_out0.png');
- Node195_2_0.setRotation(0*Math.PI/180);
- Node195_2_0._zoomBy = 'Default';
- Node195_2_0._nodeType = 'image';
- Node195_2_0._disallowEvert = true;
- dataModel.add(Node195_2_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_2_1 = new ht.Node();
- var Node195_2_1textStart, Node195_2_1textWidth, Node195_2_1lineStart, Node195_2_1align = 'left', Node195_2_1fontSize = 18.66662*_ratio.ratioY,Node195_2_1width = 23*_ratio.ratioX, Node195_2_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_2_1align === 'left') {
- Node195_2_1textStart = Node195_2_1fontSize * 0.2 > 2 ? Node195_2_1fontSize * 0.2 - 4 : Node195_2_1fontSize * 0.2 - 9;
- Node195_2_1textWidth = Node195_2_1width;
- Node195_2_1lineStart = 1;
- } else if (Node195_2_1align === 'right') {
- Node195_2_1textStart = 0;
- Node195_2_1textWidth =Node195_2_1fontSize <= 8 ? Node195_2_1width + Node195_2_1fontSize * 0.2 + 6 : Node195_2_1width - Node195_2_1fontSize * 0.2;
- Node195_2_1lineStart = (Node195_2_1width - (ht.Default.getTextSize('总貌图', ' '+ Node195_2_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_2_1align === 'center') {
- Node195_2_1textStart = -3;
- Node195_2_1textWidth = Node195_2_1width;
- Node195_2_1lineStart = Node195_2_1width - ht.Default.getTextSize('总貌图', ' '+ Node195_2_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_2_1.setImage(GD.getTextJSON(Node195_2_1width, Node195_2_1height, false, true, false, ' '+ Node195_2_1fontSize + 'px "Arial"'))
- Node195_2_1.setPosition(12*ratio.ratioX, 329*ratio.ratioY);
- Node195_2_1.setWidth(Node195_2_1width);
- Node195_2_1.setHeight(Node195_2_1height);
- Node195_2_1._nodeType = 'text';
- Node195_2_1._disallowEvert = true;
- Node195_2_1.setRotation(0*Math.PI/180);
- Node195_2_1.a('node.width', Node195_2_1width);
- Node195_2_1.a('node.height', Node195_2_1height);
- Node195_2_1.a('node.rect', [0, 0, Node195_2_1width, Node195_2_1height]);
- Node195_2_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_2_1.a('node.borderwidth', 0);
- Node195_2_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_2_1.a('node.gradient','');
- Node195_2_1.a('node.gradientcolor','');
- Node195_2_1.a('node.text','总貌图');
- Node195_2_1.a('node.textalign','left');
- Node195_2_1.a('node.textvAlign','middle');
- Node195_2_1.a('node.textrect', [Node195_2_1textStart, 0, Node195_2_1textWidth, Node195_2_1height]);
- Node195_2_1.a('node.color','rgba(0,0,0,1)');
- Node195_2_1.a('node.font',' '+ Node195_2_1fontSize + 'px "Arial"');
- Node195_2_1.a('node.textvisible',false);
- Node195_2_1.a('node.linefeed',true);
- if (true) {
- Node195_2_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_2_1.a('node.text') || '总貌图';
- var color=Node195_2_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_2_1width,Node195_2_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_2_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_2_1.a('node.underlinepoints',[Node195_2_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_2_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node195_2_1fontSize + 'px "Arial"').width + 6, (Node195_2_1height - Node195_2_1fontSize) * 0.5*_ratio.ratioY + Node195_2_1fontSize + 2 ]);
- Node195_2_1.a('node.underlinevisible',false);
- Node195_2_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_2_1);
- zoomNodeList.push({
- node: Node195_2_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_3_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node195_3_0 = new ht.Node();
- Node195_3_0.setPosition(13*ratio.ratioX, 331*ratio.ratioY);
- Node195_3_0.setSize(27*ratioX, 101*ratioY);
- Node195_3_0.setImage('imgimage//left_menu_over0.png');
- Node195_3_0.setRotation(0*Math.PI/180);
- Node195_3_0._zoomBy = 'Default';
- Node195_3_0._nodeType = 'image';
- Node195_3_0._disallowEvert = true;
- dataModel.add(Node195_3_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_3_1 = new ht.Node();
- var Node195_3_1textStart, Node195_3_1textWidth, Node195_3_1lineStart, Node195_3_1align = 'left', Node195_3_1fontSize = 18.66662*_ratio.ratioY,Node195_3_1width = 23*_ratio.ratioX, Node195_3_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_3_1align === 'left') {
- Node195_3_1textStart = Node195_3_1fontSize * 0.2 > 2 ? Node195_3_1fontSize * 0.2 - 4 : Node195_3_1fontSize * 0.2 - 9;
- Node195_3_1textWidth = Node195_3_1width;
- Node195_3_1lineStart = 1;
- } else if (Node195_3_1align === 'right') {
- Node195_3_1textStart = 0;
- Node195_3_1textWidth =Node195_3_1fontSize <= 8 ? Node195_3_1width + Node195_3_1fontSize * 0.2 + 6 : Node195_3_1width - Node195_3_1fontSize * 0.2;
- Node195_3_1lineStart = (Node195_3_1width - (ht.Default.getTextSize('总貌图', ' '+ Node195_3_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_3_1align === 'center') {
- Node195_3_1textStart = -3;
- Node195_3_1textWidth = Node195_3_1width;
- Node195_3_1lineStart = Node195_3_1width - ht.Default.getTextSize('总貌图', ' '+ Node195_3_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_3_1.setImage(GD.getTextJSON(Node195_3_1width, Node195_3_1height, false, true, false, ' '+ Node195_3_1fontSize + 'px "Arial"'))
- Node195_3_1.setPosition(12*ratio.ratioX, 329*ratio.ratioY);
- Node195_3_1.setWidth(Node195_3_1width);
- Node195_3_1.setHeight(Node195_3_1height);
- Node195_3_1._nodeType = 'text';
- Node195_3_1._disallowEvert = true;
- Node195_3_1.setRotation(0*Math.PI/180);
- Node195_3_1.a('node.width', Node195_3_1width);
- Node195_3_1.a('node.height', Node195_3_1height);
- Node195_3_1.a('node.rect', [0, 0, Node195_3_1width, Node195_3_1height]);
- Node195_3_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_3_1.a('node.borderwidth', 0);
- Node195_3_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_3_1.a('node.gradient','');
- Node195_3_1.a('node.gradientcolor','');
- Node195_3_1.a('node.text','总貌图');
- Node195_3_1.a('node.textalign','left');
- Node195_3_1.a('node.textvAlign','middle');
- Node195_3_1.a('node.textrect', [Node195_3_1textStart, 0, Node195_3_1textWidth, Node195_3_1height]);
- Node195_3_1.a('node.color','rgba(0,0,0,1)');
- Node195_3_1.a('node.font',' '+ Node195_3_1fontSize + 'px "Arial"');
- Node195_3_1.a('node.textvisible',false);
- Node195_3_1.a('node.linefeed',true);
- if (true) {
- Node195_3_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_3_1.a('node.text') || '总貌图';
- var color=Node195_3_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_3_1width,Node195_3_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_3_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_3_1.a('node.underlinepoints',[Node195_3_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_3_1fontSize + 2 , ht.Default.getTextSize('总貌图', ' '+ Node195_3_1fontSize + 'px "Arial"').width + 6, (Node195_3_1height - Node195_3_1fontSize) * 0.5*_ratio.ratioY + Node195_3_1fontSize + 2 ]);
- Node195_3_1.a('node.underlinevisible',false);
- Node195_3_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_3_1);
- zoomNodeList.push({
- node: Node195_3_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_4_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node195_4_0 = new ht.Node();
- Node195_4_0.setPosition(13*ratio.ratioX, 431*ratio.ratioY);
- Node195_4_0.setSize(27*ratioX, 101*ratioY);
- Node195_4_0.setImage('imgimage//left_menu_out0.png');
- Node195_4_0.setRotation(0*Math.PI/180);
- Node195_4_0._zoomBy = 'Default';
- Node195_4_0._nodeType = 'image';
- Node195_4_0._disallowEvert = true;
- dataModel.add(Node195_4_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_4_1 = new ht.Node();
- var Node195_4_1textStart, Node195_4_1textWidth, Node195_4_1lineStart, Node195_4_1align = 'left', Node195_4_1fontSize = 18.66662*_ratio.ratioY,Node195_4_1width = 23*_ratio.ratioX, Node195_4_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_4_1align === 'left') {
- Node195_4_1textStart = Node195_4_1fontSize * 0.2 > 2 ? Node195_4_1fontSize * 0.2 - 4 : Node195_4_1fontSize * 0.2 - 9;
- Node195_4_1textWidth = Node195_4_1width;
- Node195_4_1lineStart = 1;
- } else if (Node195_4_1align === 'right') {
- Node195_4_1textStart = 0;
- Node195_4_1textWidth =Node195_4_1fontSize <= 8 ? Node195_4_1width + Node195_4_1fontSize * 0.2 + 6 : Node195_4_1width - Node195_4_1fontSize * 0.2;
- Node195_4_1lineStart = (Node195_4_1width - (ht.Default.getTextSize('升压站', ' '+ Node195_4_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_4_1align === 'center') {
- Node195_4_1textStart = -3;
- Node195_4_1textWidth = Node195_4_1width;
- Node195_4_1lineStart = Node195_4_1width - ht.Default.getTextSize('升压站', ' '+ Node195_4_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_4_1.setImage(GD.getTextJSON(Node195_4_1width, Node195_4_1height, false, true, false, ' '+ Node195_4_1fontSize + 'px "Arial"'))
- Node195_4_1.setPosition(12*ratio.ratioX, 429*ratio.ratioY);
- Node195_4_1.setWidth(Node195_4_1width);
- Node195_4_1.setHeight(Node195_4_1height);
- Node195_4_1._nodeType = 'text';
- Node195_4_1._disallowEvert = true;
- Node195_4_1.setRotation(0*Math.PI/180);
- Node195_4_1.a('node.width', Node195_4_1width);
- Node195_4_1.a('node.height', Node195_4_1height);
- Node195_4_1.a('node.rect', [0, 0, Node195_4_1width, Node195_4_1height]);
- Node195_4_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_4_1.a('node.borderwidth', 0);
- Node195_4_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_4_1.a('node.gradient','');
- Node195_4_1.a('node.gradientcolor','');
- Node195_4_1.a('node.text','升压站');
- Node195_4_1.a('node.textalign','left');
- Node195_4_1.a('node.textvAlign','middle');
- Node195_4_1.a('node.textrect', [Node195_4_1textStart, 0, Node195_4_1textWidth, Node195_4_1height]);
- Node195_4_1.a('node.color','rgba(0,0,0,1)');
- Node195_4_1.a('node.font',' '+ Node195_4_1fontSize + 'px "Arial"');
- Node195_4_1.a('node.textvisible',false);
- Node195_4_1.a('node.linefeed',true);
- if (true) {
- Node195_4_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_4_1.a('node.text') || '升压站';
- var color=Node195_4_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_4_1width,Node195_4_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_4_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_4_1.a('node.underlinepoints',[Node195_4_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_4_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node195_4_1fontSize + 'px "Arial"').width + 6, (Node195_4_1height - Node195_4_1fontSize) * 0.5*_ratio.ratioY + Node195_4_1fontSize + 2 ]);
- Node195_4_1.a('node.underlinevisible',false);
- Node195_4_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_4_1);
- zoomNodeList.push({
- node: Node195_4_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_5_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node195_5_0 = new ht.Node();
- Node195_5_0.setPosition(13*ratio.ratioX, 431*ratio.ratioY);
- Node195_5_0.setSize(27*ratioX, 101*ratioY);
- Node195_5_0.setImage('imgimage//left_menu_over0.png');
- Node195_5_0.setRotation(0*Math.PI/180);
- Node195_5_0._zoomBy = 'Default';
- Node195_5_0._nodeType = 'image';
- Node195_5_0._disallowEvert = true;
- dataModel.add(Node195_5_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_5_1 = new ht.Node();
- var Node195_5_1textStart, Node195_5_1textWidth, Node195_5_1lineStart, Node195_5_1align = 'left', Node195_5_1fontSize = 18.66662*_ratio.ratioY,Node195_5_1width = 23*_ratio.ratioX, Node195_5_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_5_1align === 'left') {
- Node195_5_1textStart = Node195_5_1fontSize * 0.2 > 2 ? Node195_5_1fontSize * 0.2 - 4 : Node195_5_1fontSize * 0.2 - 9;
- Node195_5_1textWidth = Node195_5_1width;
- Node195_5_1lineStart = 1;
- } else if (Node195_5_1align === 'right') {
- Node195_5_1textStart = 0;
- Node195_5_1textWidth =Node195_5_1fontSize <= 8 ? Node195_5_1width + Node195_5_1fontSize * 0.2 + 6 : Node195_5_1width - Node195_5_1fontSize * 0.2;
- Node195_5_1lineStart = (Node195_5_1width - (ht.Default.getTextSize('升压站', ' '+ Node195_5_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_5_1align === 'center') {
- Node195_5_1textStart = -3;
- Node195_5_1textWidth = Node195_5_1width;
- Node195_5_1lineStart = Node195_5_1width - ht.Default.getTextSize('升压站', ' '+ Node195_5_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_5_1.setImage(GD.getTextJSON(Node195_5_1width, Node195_5_1height, false, true, false, ' '+ Node195_5_1fontSize + 'px "Arial"'))
- Node195_5_1.setPosition(12*ratio.ratioX, 429*ratio.ratioY);
- Node195_5_1.setWidth(Node195_5_1width);
- Node195_5_1.setHeight(Node195_5_1height);
- Node195_5_1._nodeType = 'text';
- Node195_5_1._disallowEvert = true;
- Node195_5_1.setRotation(0*Math.PI/180);
- Node195_5_1.a('node.width', Node195_5_1width);
- Node195_5_1.a('node.height', Node195_5_1height);
- Node195_5_1.a('node.rect', [0, 0, Node195_5_1width, Node195_5_1height]);
- Node195_5_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_5_1.a('node.borderwidth', 0);
- Node195_5_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_5_1.a('node.gradient','');
- Node195_5_1.a('node.gradientcolor','');
- Node195_5_1.a('node.text','升压站');
- Node195_5_1.a('node.textalign','left');
- Node195_5_1.a('node.textvAlign','middle');
- Node195_5_1.a('node.textrect', [Node195_5_1textStart, 0, Node195_5_1textWidth, Node195_5_1height]);
- Node195_5_1.a('node.color','rgba(0,0,0,1)');
- Node195_5_1.a('node.font',' '+ Node195_5_1fontSize + 'px "Arial"');
- Node195_5_1.a('node.textvisible',false);
- Node195_5_1.a('node.linefeed',true);
- if (true) {
- Node195_5_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_5_1.a('node.text') || '升压站';
- var color=Node195_5_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_5_1width,Node195_5_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_5_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_5_1.a('node.underlinepoints',[Node195_5_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_5_1fontSize + 2 , ht.Default.getTextSize('升压站', ' '+ Node195_5_1fontSize + 'px "Arial"').width + 6, (Node195_5_1height - Node195_5_1fontSize) * 0.5*_ratio.ratioY + Node195_5_1fontSize + 2 ]);
- Node195_5_1.a('node.underlinevisible',false);
- Node195_5_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_5_1);
- zoomNodeList.push({
- node: Node195_5_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_6_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node195_6_0 = new ht.Node();
- Node195_6_0.setPosition(13*ratio.ratioX, 531*ratio.ratioY);
- Node195_6_0.setSize(27*ratioX, 101*ratioY);
- Node195_6_0.setImage('imgimage//left_menu_over0.png');
- Node195_6_0.setRotation(0*Math.PI/180);
- Node195_6_0._zoomBy = 'Default';
- Node195_6_0._nodeType = 'image';
- Node195_6_0._disallowEvert = true;
- dataModel.add(Node195_6_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_6_1 = new ht.Node();
- var Node195_6_1textStart, Node195_6_1textWidth, Node195_6_1lineStart, Node195_6_1align = 'left', Node195_6_1fontSize = 18.66662*_ratio.ratioY,Node195_6_1width = 23*_ratio.ratioX, Node195_6_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_6_1align === 'left') {
- Node195_6_1textStart = Node195_6_1fontSize * 0.2 > 2 ? Node195_6_1fontSize * 0.2 - 4 : Node195_6_1fontSize * 0.2 - 9;
- Node195_6_1textWidth = Node195_6_1width;
- Node195_6_1lineStart = 1;
- } else if (Node195_6_1align === 'right') {
- Node195_6_1textStart = 0;
- Node195_6_1textWidth =Node195_6_1fontSize <= 8 ? Node195_6_1width + Node195_6_1fontSize * 0.2 + 6 : Node195_6_1width - Node195_6_1fontSize * 0.2;
- Node195_6_1lineStart = (Node195_6_1width - (ht.Default.getTextSize('测风塔', ' '+ Node195_6_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_6_1align === 'center') {
- Node195_6_1textStart = -3;
- Node195_6_1textWidth = Node195_6_1width;
- Node195_6_1lineStart = Node195_6_1width - ht.Default.getTextSize('测风塔', ' '+ Node195_6_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_6_1.setImage(GD.getTextJSON(Node195_6_1width, Node195_6_1height, false, true, false, ' '+ Node195_6_1fontSize + 'px "Arial"'))
- Node195_6_1.setPosition(12*ratio.ratioX, 529*ratio.ratioY);
- Node195_6_1.setWidth(Node195_6_1width);
- Node195_6_1.setHeight(Node195_6_1height);
- Node195_6_1._nodeType = 'text';
- Node195_6_1._disallowEvert = true;
- Node195_6_1.setRotation(0*Math.PI/180);
- Node195_6_1.a('node.width', Node195_6_1width);
- Node195_6_1.a('node.height', Node195_6_1height);
- Node195_6_1.a('node.rect', [0, 0, Node195_6_1width, Node195_6_1height]);
- Node195_6_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_6_1.a('node.borderwidth', 0);
- Node195_6_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_6_1.a('node.gradient','');
- Node195_6_1.a('node.gradientcolor','');
- Node195_6_1.a('node.text','测风塔');
- Node195_6_1.a('node.textalign','left');
- Node195_6_1.a('node.textvAlign','middle');
- Node195_6_1.a('node.textrect', [Node195_6_1textStart, 0, Node195_6_1textWidth, Node195_6_1height]);
- Node195_6_1.a('node.color','rgba(0,0,0,1)');
- Node195_6_1.a('node.font',' '+ Node195_6_1fontSize + 'px "Arial"');
- Node195_6_1.a('node.textvisible',false);
- Node195_6_1.a('node.linefeed',true);
- if (true) {
- Node195_6_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_6_1.a('node.text') || '测风塔';
- var color=Node195_6_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_6_1width,Node195_6_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_6_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_6_1.a('node.underlinepoints',[Node195_6_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_6_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node195_6_1fontSize + 'px "Arial"').width + 6, (Node195_6_1height - Node195_6_1fontSize) * 0.5*_ratio.ratioY + Node195_6_1fontSize + 2 ]);
- Node195_6_1.a('node.underlinevisible',false);
- Node195_6_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_6_1);
- zoomNodeList.push({
- node: Node195_6_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_7_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node195_7_0 = new ht.Node();
- Node195_7_0.setPosition(13*ratio.ratioX, 531*ratio.ratioY);
- Node195_7_0.setSize(27*ratioX, 101*ratioY);
- Node195_7_0.setImage('imgimage//left_menu_out0.png');
- Node195_7_0.setRotation(0*Math.PI/180);
- Node195_7_0._zoomBy = 'Default';
- Node195_7_0._nodeType = 'image';
- Node195_7_0._disallowEvert = true;
- dataModel.add(Node195_7_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_7_1 = new ht.Node();
- var Node195_7_1textStart, Node195_7_1textWidth, Node195_7_1lineStart, Node195_7_1align = 'left', Node195_7_1fontSize = 18.66662*_ratio.ratioY,Node195_7_1width = 23*_ratio.ratioX, Node195_7_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_7_1align === 'left') {
- Node195_7_1textStart = Node195_7_1fontSize * 0.2 > 2 ? Node195_7_1fontSize * 0.2 - 4 : Node195_7_1fontSize * 0.2 - 9;
- Node195_7_1textWidth = Node195_7_1width;
- Node195_7_1lineStart = 1;
- } else if (Node195_7_1align === 'right') {
- Node195_7_1textStart = 0;
- Node195_7_1textWidth =Node195_7_1fontSize <= 8 ? Node195_7_1width + Node195_7_1fontSize * 0.2 + 6 : Node195_7_1width - Node195_7_1fontSize * 0.2;
- Node195_7_1lineStart = (Node195_7_1width - (ht.Default.getTextSize('测风塔', ' '+ Node195_7_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_7_1align === 'center') {
- Node195_7_1textStart = -3;
- Node195_7_1textWidth = Node195_7_1width;
- Node195_7_1lineStart = Node195_7_1width - ht.Default.getTextSize('测风塔', ' '+ Node195_7_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_7_1.setImage(GD.getTextJSON(Node195_7_1width, Node195_7_1height, false, true, false, ' '+ Node195_7_1fontSize + 'px "Arial"'))
- Node195_7_1.setPosition(12*ratio.ratioX, 529*ratio.ratioY);
- Node195_7_1.setWidth(Node195_7_1width);
- Node195_7_1.setHeight(Node195_7_1height);
- Node195_7_1._nodeType = 'text';
- Node195_7_1._disallowEvert = true;
- Node195_7_1.setRotation(0*Math.PI/180);
- Node195_7_1.a('node.width', Node195_7_1width);
- Node195_7_1.a('node.height', Node195_7_1height);
- Node195_7_1.a('node.rect', [0, 0, Node195_7_1width, Node195_7_1height]);
- Node195_7_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_7_1.a('node.borderwidth', 0);
- Node195_7_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_7_1.a('node.gradient','');
- Node195_7_1.a('node.gradientcolor','');
- Node195_7_1.a('node.text','测风塔');
- Node195_7_1.a('node.textalign','left');
- Node195_7_1.a('node.textvAlign','middle');
- Node195_7_1.a('node.textrect', [Node195_7_1textStart, 0, Node195_7_1textWidth, Node195_7_1height]);
- Node195_7_1.a('node.color','rgba(0,0,0,1)');
- Node195_7_1.a('node.font',' '+ Node195_7_1fontSize + 'px "Arial"');
- Node195_7_1.a('node.textvisible',false);
- Node195_7_1.a('node.linefeed',true);
- if (true) {
- Node195_7_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_7_1.a('node.text') || '测风塔';
- var color=Node195_7_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_7_1width,Node195_7_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_7_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_7_1.a('node.underlinepoints',[Node195_7_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_7_1fontSize + 2 , ht.Default.getTextSize('测风塔', ' '+ Node195_7_1fontSize + 'px "Arial"').width + 6, (Node195_7_1height - Node195_7_1fontSize) * 0.5*_ratio.ratioY + Node195_7_1fontSize + 2 ]);
- Node195_7_1.a('node.underlinevisible',false);
- Node195_7_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_7_1);
- zoomNodeList.push({
- node: Node195_7_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_8_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node195_8_0 = new ht.Node();
- Node195_8_0.setPosition(13*ratio.ratioX, 631*ratio.ratioY);
- Node195_8_0.setSize(27*ratioX, 101*ratioY);
- Node195_8_0.setImage('imgimage//left_menu_over0.png');
- Node195_8_0.setRotation(0*Math.PI/180);
- Node195_8_0._zoomBy = 'Default';
- Node195_8_0._nodeType = 'image';
- Node195_8_0._disallowEvert = true;
- dataModel.add(Node195_8_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_8_1 = new ht.Node();
- var Node195_8_1textStart, Node195_8_1textWidth, Node195_8_1lineStart, Node195_8_1align = 'left', Node195_8_1fontSize = 18.66662*_ratio.ratioY,Node195_8_1width = 23*_ratio.ratioX, Node195_8_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_8_1align === 'left') {
- Node195_8_1textStart = Node195_8_1fontSize * 0.2 > 2 ? Node195_8_1fontSize * 0.2 - 4 : Node195_8_1fontSize * 0.2 - 9;
- Node195_8_1textWidth = Node195_8_1width;
- Node195_8_1lineStart = 1;
- } else if (Node195_8_1align === 'right') {
- Node195_8_1textStart = 0;
- Node195_8_1textWidth =Node195_8_1fontSize <= 8 ? Node195_8_1width + Node195_8_1fontSize * 0.2 + 6 : Node195_8_1width - Node195_8_1fontSize * 0.2;
- Node195_8_1lineStart = (Node195_8_1width - (ht.Default.getTextSize('风机信息', ' '+ Node195_8_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_8_1align === 'center') {
- Node195_8_1textStart = -3;
- Node195_8_1textWidth = Node195_8_1width;
- Node195_8_1lineStart = Node195_8_1width - ht.Default.getTextSize('风机信息', ' '+ Node195_8_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_8_1.setImage(GD.getTextJSON(Node195_8_1width, Node195_8_1height, false, true, false, ' '+ Node195_8_1fontSize + 'px "Arial"'))
- Node195_8_1.setPosition(12*ratio.ratioX, 629*ratio.ratioY);
- Node195_8_1.setWidth(Node195_8_1width);
- Node195_8_1.setHeight(Node195_8_1height);
- Node195_8_1._nodeType = 'text';
- Node195_8_1._disallowEvert = true;
- Node195_8_1.setRotation(0*Math.PI/180);
- Node195_8_1.a('node.width', Node195_8_1width);
- Node195_8_1.a('node.height', Node195_8_1height);
- Node195_8_1.a('node.rect', [0, 0, Node195_8_1width, Node195_8_1height]);
- Node195_8_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_8_1.a('node.borderwidth', 0);
- Node195_8_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_8_1.a('node.gradient','');
- Node195_8_1.a('node.gradientcolor','');
- Node195_8_1.a('node.text','风机信息');
- Node195_8_1.a('node.textalign','left');
- Node195_8_1.a('node.textvAlign','middle');
- Node195_8_1.a('node.textrect', [Node195_8_1textStart, 0, Node195_8_1textWidth, Node195_8_1height]);
- Node195_8_1.a('node.color','rgba(0,0,0,1)');
- Node195_8_1.a('node.font',' '+ Node195_8_1fontSize + 'px "Arial"');
- Node195_8_1.a('node.textvisible',false);
- Node195_8_1.a('node.linefeed',true);
- if (true) {
- Node195_8_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_8_1.a('node.text') || '风机信息';
- var color=Node195_8_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_8_1width,Node195_8_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_8_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_8_1.a('node.underlinepoints',[Node195_8_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_8_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node195_8_1fontSize + 'px "Arial"').width + 6, (Node195_8_1height - Node195_8_1fontSize) * 0.5*_ratio.ratioY + Node195_8_1fontSize + 2 ]);
- Node195_8_1.a('node.underlinevisible',false);
- Node195_8_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_8_1);
- zoomNodeList.push({
- node: Node195_8_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_9_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node195_9_0 = new ht.Node();
- Node195_9_0.setPosition(13*ratio.ratioX, 631*ratio.ratioY);
- Node195_9_0.setSize(27*ratioX, 101*ratioY);
- Node195_9_0.setImage('imgimage//left_menu_out0.png');
- Node195_9_0.setRotation(0*Math.PI/180);
- Node195_9_0._zoomBy = 'Default';
- Node195_9_0._nodeType = 'image';
- Node195_9_0._disallowEvert = true;
- dataModel.add(Node195_9_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_9_1 = new ht.Node();
- var Node195_9_1textStart, Node195_9_1textWidth, Node195_9_1lineStart, Node195_9_1align = 'left', Node195_9_1fontSize = 18.66662*_ratio.ratioY,Node195_9_1width = 23*_ratio.ratioX, Node195_9_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_9_1align === 'left') {
- Node195_9_1textStart = Node195_9_1fontSize * 0.2 > 2 ? Node195_9_1fontSize * 0.2 - 4 : Node195_9_1fontSize * 0.2 - 9;
- Node195_9_1textWidth = Node195_9_1width;
- Node195_9_1lineStart = 1;
- } else if (Node195_9_1align === 'right') {
- Node195_9_1textStart = 0;
- Node195_9_1textWidth =Node195_9_1fontSize <= 8 ? Node195_9_1width + Node195_9_1fontSize * 0.2 + 6 : Node195_9_1width - Node195_9_1fontSize * 0.2;
- Node195_9_1lineStart = (Node195_9_1width - (ht.Default.getTextSize('风机信息', ' '+ Node195_9_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_9_1align === 'center') {
- Node195_9_1textStart = -3;
- Node195_9_1textWidth = Node195_9_1width;
- Node195_9_1lineStart = Node195_9_1width - ht.Default.getTextSize('风机信息', ' '+ Node195_9_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_9_1.setImage(GD.getTextJSON(Node195_9_1width, Node195_9_1height, false, true, false, ' '+ Node195_9_1fontSize + 'px "Arial"'))
- Node195_9_1.setPosition(12*ratio.ratioX, 629*ratio.ratioY);
- Node195_9_1.setWidth(Node195_9_1width);
- Node195_9_1.setHeight(Node195_9_1height);
- Node195_9_1._nodeType = 'text';
- Node195_9_1._disallowEvert = true;
- Node195_9_1.setRotation(0*Math.PI/180);
- Node195_9_1.a('node.width', Node195_9_1width);
- Node195_9_1.a('node.height', Node195_9_1height);
- Node195_9_1.a('node.rect', [0, 0, Node195_9_1width, Node195_9_1height]);
- Node195_9_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_9_1.a('node.borderwidth', 0);
- Node195_9_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_9_1.a('node.gradient','');
- Node195_9_1.a('node.gradientcolor','');
- Node195_9_1.a('node.text','风机信息');
- Node195_9_1.a('node.textalign','left');
- Node195_9_1.a('node.textvAlign','middle');
- Node195_9_1.a('node.textrect', [Node195_9_1textStart, 0, Node195_9_1textWidth, Node195_9_1height]);
- Node195_9_1.a('node.color','rgba(0,0,0,1)');
- Node195_9_1.a('node.font',' '+ Node195_9_1fontSize + 'px "Arial"');
- Node195_9_1.a('node.textvisible',false);
- Node195_9_1.a('node.linefeed',true);
- if (true) {
- Node195_9_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_9_1.a('node.text') || '风机信息';
- var color=Node195_9_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_9_1width,Node195_9_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_9_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_9_1.a('node.underlinepoints',[Node195_9_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_9_1fontSize + 2 , ht.Default.getTextSize('风机信息', ' '+ Node195_9_1fontSize + 'px "Arial"').width + 6, (Node195_9_1height - Node195_9_1fontSize) * 0.5*_ratio.ratioY + Node195_9_1fontSize + 2 ]);
- Node195_9_1.a('node.underlinevisible',false);
- Node195_9_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_9_1);
- zoomNodeList.push({
- node: Node195_9_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_10_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_out0.png', PAGEROOTDIR + 'image//left_menu_out0.png');
- Node195_10_0 = new ht.Node();
- Node195_10_0.setPosition(13*ratio.ratioX, 731*ratio.ratioY);
- Node195_10_0.setSize(27*ratioX, 101*ratioY);
- Node195_10_0.setImage('imgimage//left_menu_out0.png');
- Node195_10_0.setRotation(0*Math.PI/180);
- Node195_10_0._zoomBy = 'Default';
- Node195_10_0._nodeType = 'image';
- Node195_10_0._disallowEvert = true;
- dataModel.add(Node195_10_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_10_1 = new ht.Node();
- var Node195_10_1textStart, Node195_10_1textWidth, Node195_10_1lineStart, Node195_10_1align = 'left', Node195_10_1fontSize = 18.66662*_ratio.ratioY,Node195_10_1width = 23*_ratio.ratioX, Node195_10_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_10_1align === 'left') {
- Node195_10_1textStart = Node195_10_1fontSize * 0.2 > 2 ? Node195_10_1fontSize * 0.2 - 4 : Node195_10_1fontSize * 0.2 - 9;
- Node195_10_1textWidth = Node195_10_1width;
- Node195_10_1lineStart = 1;
- } else if (Node195_10_1align === 'right') {
- Node195_10_1textStart = 0;
- Node195_10_1textWidth =Node195_10_1fontSize <= 8 ? Node195_10_1width + Node195_10_1fontSize * 0.2 + 6 : Node195_10_1width - Node195_10_1fontSize * 0.2;
- Node195_10_1lineStart = (Node195_10_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node195_10_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_10_1align === 'center') {
- Node195_10_1textStart = -3;
- Node195_10_1textWidth = Node195_10_1width;
- Node195_10_1lineStart = Node195_10_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node195_10_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_10_1.setImage(GD.getTextJSON(Node195_10_1width, Node195_10_1height, false, true, false, ' '+ Node195_10_1fontSize + 'px "Arial"'))
- Node195_10_1.setPosition(12*ratio.ratioX, 729*ratio.ratioY);
- Node195_10_1.setWidth(Node195_10_1width);
- Node195_10_1.setHeight(Node195_10_1height);
- Node195_10_1._nodeType = 'text';
- Node195_10_1._disallowEvert = true;
- Node195_10_1.setRotation(0*Math.PI/180);
- Node195_10_1.a('node.width', Node195_10_1width);
- Node195_10_1.a('node.height', Node195_10_1height);
- Node195_10_1.a('node.rect', [0, 0, Node195_10_1width, Node195_10_1height]);
- Node195_10_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_10_1.a('node.borderwidth', 0);
- Node195_10_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_10_1.a('node.gradient','');
- Node195_10_1.a('node.gradientcolor','');
- Node195_10_1.a('node.text','风机矩阵');
- Node195_10_1.a('node.textalign','left');
- Node195_10_1.a('node.textvAlign','middle');
- Node195_10_1.a('node.textrect', [Node195_10_1textStart, 0, Node195_10_1textWidth, Node195_10_1height]);
- Node195_10_1.a('node.color','rgba(0,0,0,1)');
- Node195_10_1.a('node.font',' '+ Node195_10_1fontSize + 'px "Arial"');
- Node195_10_1.a('node.textvisible',false);
- Node195_10_1.a('node.linefeed',true);
- if (true) {
- Node195_10_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_10_1.a('node.text') || '风机矩阵';
- var color=Node195_10_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_10_1width,Node195_10_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_10_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_10_1.a('node.underlinepoints',[Node195_10_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_10_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node195_10_1fontSize + 'px "Arial"').width + 6, (Node195_10_1height - Node195_10_1fontSize) * 0.5*_ratio.ratioY + Node195_10_1fontSize + 2 ]);
- Node195_10_1.a('node.underlinevisible',false);
- Node195_10_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_10_1);
- zoomNodeList.push({
- node: Node195_10_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node195_11_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//left_menu_over0.png', PAGEROOTDIR + 'image//left_menu_over0.png');
- Node195_11_0 = new ht.Node();
- Node195_11_0.setPosition(13*ratio.ratioX, 731*ratio.ratioY);
- Node195_11_0.setSize(27*ratioX, 101*ratioY);
- Node195_11_0.setImage('imgimage//left_menu_over0.png');
- Node195_11_0.setRotation(0*Math.PI/180);
- Node195_11_0._zoomBy = 'Default';
- Node195_11_0._nodeType = 'image';
- Node195_11_0._disallowEvert = true;
- dataModel.add(Node195_11_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195_11_1 = new ht.Node();
- var Node195_11_1textStart, Node195_11_1textWidth, Node195_11_1lineStart, Node195_11_1align = 'left', Node195_11_1fontSize = 18.66662*_ratio.ratioY,Node195_11_1width = 23*_ratio.ratioX, Node195_11_1height = 76*_ratio.ratioY;
- (function () {
- if (Node195_11_1align === 'left') {
- Node195_11_1textStart = Node195_11_1fontSize * 0.2 > 2 ? Node195_11_1fontSize * 0.2 - 4 : Node195_11_1fontSize * 0.2 - 9;
- Node195_11_1textWidth = Node195_11_1width;
- Node195_11_1lineStart = 1;
- } else if (Node195_11_1align === 'right') {
- Node195_11_1textStart = 0;
- Node195_11_1textWidth =Node195_11_1fontSize <= 8 ? Node195_11_1width + Node195_11_1fontSize * 0.2 + 6 : Node195_11_1width - Node195_11_1fontSize * 0.2;
- Node195_11_1lineStart = (Node195_11_1width - (ht.Default.getTextSize('风机矩阵', ' '+ Node195_11_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195_11_1align === 'center') {
- Node195_11_1textStart = -3;
- Node195_11_1textWidth = Node195_11_1width;
- Node195_11_1lineStart = Node195_11_1width - ht.Default.getTextSize('风机矩阵', ' '+ Node195_11_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195_11_1.setImage(GD.getTextJSON(Node195_11_1width, Node195_11_1height, false, true, false, ' '+ Node195_11_1fontSize + 'px "Arial"'))
- Node195_11_1.setPosition(12*ratio.ratioX, 729*ratio.ratioY);
- Node195_11_1.setWidth(Node195_11_1width);
- Node195_11_1.setHeight(Node195_11_1height);
- Node195_11_1._nodeType = 'text';
- Node195_11_1._disallowEvert = true;
- Node195_11_1.setRotation(0*Math.PI/180);
- Node195_11_1.a('node.width', Node195_11_1width);
- Node195_11_1.a('node.height', Node195_11_1height);
- Node195_11_1.a('node.rect', [0, 0, Node195_11_1width, Node195_11_1height]);
- Node195_11_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node195_11_1.a('node.borderwidth', 0);
- Node195_11_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node195_11_1.a('node.gradient','');
- Node195_11_1.a('node.gradientcolor','');
- Node195_11_1.a('node.text','风机矩阵');
- Node195_11_1.a('node.textalign','left');
- Node195_11_1.a('node.textvAlign','middle');
- Node195_11_1.a('node.textrect', [Node195_11_1textStart, 0, Node195_11_1textWidth, Node195_11_1height]);
- Node195_11_1.a('node.color','rgba(0,0,0,1)');
- Node195_11_1.a('node.font',' '+ Node195_11_1fontSize + 'px "Arial"');
- Node195_11_1.a('node.textvisible',false);
- Node195_11_1.a('node.linefeed',true);
- if (true) {
- Node195_11_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195_11_1.a('node.text') || '风机矩阵';
- var color=Node195_11_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195_11_1width,Node195_11_1height,18.66662*_ratio.ratioY,"left",color,' '+ Node195_11_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195_11_1.a('node.underlinepoints',[Node195_11_1lineStart, (76 - 18.66662) * 0.5 * _ratio.ratioY + Node195_11_1fontSize + 2 , ht.Default.getTextSize('风机矩阵', ' '+ Node195_11_1fontSize + 'px "Arial"').width + 6, (Node195_11_1height - Node195_11_1fontSize) * 0.5*_ratio.ratioY + Node195_11_1fontSize + 2 ]);
- Node195_11_1.a('node.underlinevisible',false);
- Node195_11_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195_11_1);
- zoomNodeList.push({
- node: Node195_11_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node196;
- (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//宝塔山风机排布//syz_t1.png', PAGEROOTDIR + 'image//宝塔山风机排布//syz_t1.png');
- Node196 = new ht.Node();
- Node196.setPosition(829*ratio.ratioX, 234*ratio.ratioY);
- Node196.setSize(80*ratioX, 60*ratioY);
- Node196.setImage('imgimage//宝塔山风机排布//syz_t1.png');
- Node196.setRotation(0*Math.PI/180);
- Node196._zoomBy = 'Default';
- Node196._nodeType = 'image';
- Node196._disallowEvert = true;
- dataModel.add(Node196);
- })();
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node197 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node198 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 19*ratio.ratioY, 0, {text:'山西新能源',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node199 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node200 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 19*ratio.ratioY, 0, {text:'右玉高家堡',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node201 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node202 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 19*ratio.ratioY, 0, {text:'平鲁虎头山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node203 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node204 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 19*ratio.ratioY, 0, {text:'太旗卧牛山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node205 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node206 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 19*ratio.ratioY, 0, {text:'广灵劲风',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node207 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node208 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 19*ratio.ratioY, 0, {text:'浑源峰岳',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node209 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node210 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 19*ratio.ratioY, 0, {text:'吕梁宝塔山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node211 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:false,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(255,255,255,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node212 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 19*ratio.ratioY, 0, {text:'阳高采凉山',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but2_01.png'});
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'anniu':PageBackground_anniu,'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'fs':PageBackground_fs,'sjgl':PageBackground_sjgl,'yfgl':PageBackground_yfgl,'rfdl':PageBackground_rfdl,'yfdl':PageBackground_yfdl,'ylyxx':PageBackground_ylyxx,'nfdl':PageBackground_nfdl,'nlyxs':PageBackground_nlyxs,'llfdl':PageBackground_llfdl,'whssdl':PageBackground_whssdl,'gzssdl':PageBackground_gzssdl,'xdssdl':PageBackground_xdssdl,'slssdl':PageBackground_slssdl,'xnssdl':PageBackground_xnssdl,'anniu':PageBackground_anniu,'A':PageBackground_A,'B':PageBackground_B,'C':PageBackground_C,'D':PageBackground_D,'E':PageBackground_E,'F':PageBackground_F,}});
- if(typeof(Node4.borderWidth)!="undefined"){setDashStyle(Node4,"Node4",'NoDash',Node4.borderWidth);}
- if(typeof(Node6.borderWidth)!="undefined"){setDashStyle(Node6,"Node6",'NoDash',Node6.borderWidth);}
- if(typeof(Node8.borderWidth)!="undefined"){setDashStyle(Node8,"Node8",'NoDash',Node8.borderWidth);}
- if(typeof(Node10.borderWidth)!="undefined"){setDashStyle(Node10,"Node10",'NoDash',Node10.borderWidth);}
- ;(typeof Node171 != "undefined") && (Node171.localDynamicVar = function ( ) {return {'zhuangtai':Node171_zhuangtai,'bianhao':Node171_bianhao,'fengsu':Node171_fengsu,'gonglv':Node171_gonglv,}});
- ;(typeof Node172 != "undefined") && (Node172.localDynamicVar = function ( ) {return {'zhuangtai':Node172_zhuangtai,'bianhao':Node172_bianhao,'fengsu':Node172_fengsu,'gonglv':Node172_gonglv,}});
- ;(typeof Node173 != "undefined") && (Node173.localDynamicVar = function ( ) {return {'zhuangtai':Node173_zhuangtai,'bianhao':Node173_bianhao,'fengsu':Node173_fengsu,'gonglv':Node173_gonglv,}});
- ;(typeof Node174 != "undefined") && (Node174.localDynamicVar = function ( ) {return {'zhuangtai':Node174_zhuangtai,'bianhao':Node174_bianhao,'fengsu':Node174_fengsu,'gonglv':Node174_gonglv,}});
- ;(typeof Node175 != "undefined") && (Node175.localDynamicVar = function ( ) {return {'zhuangtai':Node175_zhuangtai,'bianhao':Node175_bianhao,'fengsu':Node175_fengsu,'gonglv':Node175_gonglv,}});
- ;(typeof Node176 != "undefined") && (Node176.localDynamicVar = function ( ) {return {'zhuangtai':Node176_zhuangtai,'bianhao':Node176_bianhao,'fengsu':Node176_fengsu,'gonglv':Node176_gonglv,}});
- ;(typeof Node177 != "undefined") && (Node177.localDynamicVar = function ( ) {return {'zhuangtai':Node177_zhuangtai,'bianhao':Node177_bianhao,'fengsu':Node177_fengsu,'gonglv':Node177_gonglv,}});
- ;(typeof Node178 != "undefined") && (Node178.localDynamicVar = function ( ) {return {'zhuangtai':Node178_zhuangtai,'bianhao':Node178_bianhao,'fengsu':Node178_fengsu,'gonglv':Node178_gonglv,}});
- ;(typeof Node179 != "undefined") && (Node179.localDynamicVar = function ( ) {return {'zhuangtai':Node179_zhuangtai,'bianhao':Node179_bianhao,'fengsu':Node179_fengsu,'gonglv':Node179_gonglv,}});
- ;(typeof Node180 != "undefined") && (Node180.localDynamicVar = function ( ) {return {'zhuangtai':Node180_zhuangtai,'bianhao':Node180_bianhao,'fengsu':Node180_fengsu,'gonglv':Node180_gonglv,}});
- ;(typeof Node181 != "undefined") && (Node181.localDynamicVar = function ( ) {return {'zhuangtai':Node181_zhuangtai,'bianhao':Node181_bianhao,'fengsu':Node181_fengsu,'gonglv':Node181_gonglv,}});
- ;(typeof Node182 != "undefined") && (Node182.localDynamicVar = function ( ) {return {'zhuangtai':Node182_zhuangtai,'bianhao':Node182_bianhao,'fengsu':Node182_fengsu,'gonglv':Node182_gonglv,}});
- ;(typeof Node183 != "undefined") && (Node183.localDynamicVar = function ( ) {return {'zhuangtai':Node183_zhuangtai,'bianhao':Node183_bianhao,'fengsu':Node183_fengsu,'gonglv':Node183_gonglv,}});
- ;(typeof Node184 != "undefined") && (Node184.localDynamicVar = function ( ) {return {'zhuangtai':Node184_zhuangtai,'bianhao':Node184_bianhao,'fengsu':Node184_fengsu,'gonglv':Node184_gonglv,}});
- ;(typeof Node185 != "undefined") && (Node185.localDynamicVar = function ( ) {return {'zhuangtai':Node185_zhuangtai,'bianhao':Node185_bianhao,'fengsu':Node185_fengsu,'gonglv':Node185_gonglv,}});
- ;(typeof Node186 != "undefined") && (Node186.localDynamicVar = function ( ) {return {'zhuangtai':Node186_zhuangtai,'bianhao':Node186_bianhao,'fengsu':Node186_fengsu,'gonglv':Node186_gonglv,}});
- ;(typeof Node187 != "undefined") && (Node187.localDynamicVar = function ( ) {return {'zhuangtai':Node187_zhuangtai,'bianhao':Node187_bianhao,'fengsu':Node187_fengsu,'gonglv':Node187_gonglv,}});
- ;(typeof Node188 != "undefined") && (Node188.localDynamicVar = function ( ) {return {'zhuangtai':Node188_zhuangtai,'bianhao':Node188_bianhao,'fengsu':Node188_fengsu,'gonglv':Node188_gonglv,}});
- ;(typeof Node189 != "undefined") && (Node189.localDynamicVar = function ( ) {return {'zhuangtai':Node189_zhuangtai,'bianhao':Node189_bianhao,'fengsu':Node189_fengsu,'gonglv':Node189_gonglv,}});
- ;(typeof Node190 != "undefined") && (Node190.localDynamicVar = function ( ) {return {'zhuangtai':Node190_zhuangtai,'bianhao':Node190_bianhao,'fengsu':Node190_fengsu,'gonglv':Node190_gonglv,}});
- ;(typeof Node191 != "undefined") && (Node191.localDynamicVar = function ( ) {return {'zhuangtai':Node191_zhuangtai,'bianhao':Node191_bianhao,'fengsu':Node191_fengsu,'gonglv':Node191_gonglv,}});
- ;(typeof Node192 != "undefined") && (Node192.localDynamicVar = function ( ) {return {'zhuangtai':Node192_zhuangtai,'bianhao':Node192_bianhao,'fengsu':Node192_fengsu,'gonglv':Node192_gonglv,}});
- ;(typeof Node193 != "undefined") && (Node193.localDynamicVar = function ( ) {return {'zhuangtai':Node193_zhuangtai,'bianhao':Node193_bianhao,'fengsu':Node193_fengsu,'gonglv':Node193_gonglv,}});
- ;(typeof Node194 != "undefined") && (Node194.localDynamicVar = function ( ) {return {'zhuangtai':Node194_zhuangtai,'bianhao':Node194_bianhao,'fengsu':Node194_fengsu,'gonglv':Node194_gonglv,}});
- if((0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}
- if((0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}
- if((0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}
- if((0 )){Node203.s('2d.visible',true);}else{Node203.s('2d.visible',false);}
- if((0 )){Node205.s('2d.visible',true);}else{Node205.s('2d.visible',false);}
- if((0 )){Node207.s('2d.visible',true);}else{Node207.s('2d.visible',false);}
- if((0 )){Node209.s('2d.visible',true);}else{Node209.s('2d.visible',false);}
- if((0 )){Node211.s('2d.visible',true);}else{Node211.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++;
- Node171.refresh10ms();
- Node172.refresh10ms();
- Node173.refresh10ms();
- Node174.refresh10ms();
- Node175.refresh10ms();
- Node176.refresh10ms();
- Node177.refresh10ms();
- Node178.refresh10ms();
- Node179.refresh10ms();
- Node180.refresh10ms();
- Node181.refresh10ms();
- Node182.refresh10ms();
- Node183.refresh10ms();
- Node184.refresh10ms();
- Node185.refresh10ms();
- Node186.refresh10ms();
- Node187.refresh10ms();
- Node188.refresh10ms();
- Node189.refresh10ms();
- Node190.refresh10ms();
- Node191.refresh10ms();
- Node192.refresh10ms();
- Node193.refresh10ms();
- Node194.refresh10ms();
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node171.refresh100ms();
- Node172.refresh100ms();
- Node173.refresh100ms();
- Node174.refresh100ms();
- Node175.refresh100ms();
- Node176.refresh100ms();
- Node177.refresh100ms();
- Node178.refresh100ms();
- Node179.refresh100ms();
- Node180.refresh100ms();
- Node181.refresh100ms();
- Node182.refresh100ms();
- Node183.refresh100ms();
- Node184.refresh100ms();
- Node185.refresh100ms();
- Node186.refresh100ms();
- Node187.refresh100ms();
- Node188.refresh100ms();
- Node189.refresh100ms();
- Node190.refresh100ms();
- Node191.refresh100ms();
- Node192.refresh100ms();
- Node193.refresh100ms();
- Node194.refresh100ms();
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- Node171.refresh500ms();
- Node172.refresh500ms();
- Node173.refresh500ms();
- Node174.refresh500ms();
- Node175.refresh500ms();
- Node176.refresh500ms();
- Node177.refresh500ms();
- Node178.refresh500ms();
- Node179.refresh500ms();
- Node180.refresh500ms();
- Node181.refresh500ms();
- Node182.refresh500ms();
- Node183.refresh500ms();
- Node184.refresh500ms();
- Node185.refresh500ms();
- Node186.refresh500ms();
- Node187.refresh500ms();
- Node188.refresh500ms();
- Node189.refresh500ms();
- Node190.refresh500ms();
- Node191.refresh500ms();
- Node192.refresh500ms();
- Node193.refresh500ms();
- Node194.refresh500ms();
- if((1 )>0) {if(((A==0)>0 )){Node195_0_0.s('2d.visible',true);}else{Node195_0_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==0)>0 )){Node195_0_1.s('2d.visible',true);}else{Node195_0_1.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node195_1_0.s('2d.visible',true);}else{Node195_1_0.s('2d.visible',false);}}
- if((1 )>0) {if(((A==1)>0 )){Node195_1_1.s('2d.visible',true);}else{Node195_1_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node195_2_0.s('2d.visible',true);}else{Node195_2_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==0)>0 )){Node195_2_1.s('2d.visible',true);}else{Node195_2_1.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node195_3_0.s('2d.visible',true);}else{Node195_3_0.s('2d.visible',false);}}
- if((1 )>0) {if(((B==1)>0 )){Node195_3_1.s('2d.visible',true);}else{Node195_3_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node195_4_0.s('2d.visible',true);}else{Node195_4_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==0)>0 )){Node195_4_1.s('2d.visible',true);}else{Node195_4_1.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node195_5_0.s('2d.visible',true);}else{Node195_5_0.s('2d.visible',false);}}
- if((1 )>0) {if(((C==1)>0 )){Node195_5_1.s('2d.visible',true);}else{Node195_5_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node195_6_0.s('2d.visible',true);}else{Node195_6_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==1)>0 )){Node195_6_1.s('2d.visible',true);}else{Node195_6_1.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node195_7_0.s('2d.visible',true);}else{Node195_7_0.s('2d.visible',false);}}
- if((1 )>0) {if(((D==0)>0 )){Node195_7_1.s('2d.visible',true);}else{Node195_7_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node195_8_0.s('2d.visible',true);}else{Node195_8_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==1)>0 )){Node195_8_1.s('2d.visible',true);}else{Node195_8_1.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node195_9_0.s('2d.visible',true);}else{Node195_9_0.s('2d.visible',false);}}
- if((1 )>0) {if(((E==0)>0 )){Node195_9_1.s('2d.visible',true);}else{Node195_9_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node195_10_0.s('2d.visible',true);}else{Node195_10_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==0)>0 )){Node195_10_1.s('2d.visible',true);}else{Node195_10_1.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node195_11_0.s('2d.visible',true);}else{Node195_11_0.s('2d.visible',false);}}
- if((1 )>0) {if(((F==1)>0 )){Node195_11_1.s('2d.visible',true);}else{Node195_11_1.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==1)>0 )){Node197.s('2d.visible',true);}else{Node197.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node198.s('2d.visible',true);}else{Node198.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node199.s('2d.visible',true);}else{Node199.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node200.s('2d.visible',true);}else{Node200.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node201.s('2d.visible',true);}else{Node201.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node202.s('2d.visible',true);}else{Node202.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node203.s('2d.visible',true);}else{Node203.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node204.s('2d.visible',true);}else{Node204.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node205.s('2d.visible',true);}else{Node205.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node206.s('2d.visible',true);}else{Node206.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node207.s('2d.visible',true);}else{Node207.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node208.s('2d.visible',true);}else{Node208.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node209.s('2d.visible',true);}else{Node209.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node210.s('2d.visible',true);}else{Node210.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node211.s('2d.visible',true);}else{Node211.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node212.s('2d.visible',true);}else{Node212.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();
- Node171.refresh1s(Counter1s);
- Node172.refresh1s(Counter1s);
- Node173.refresh1s(Counter1s);
- Node174.refresh1s(Counter1s);
- Node175.refresh1s(Counter1s);
- Node176.refresh1s(Counter1s);
- Node177.refresh1s(Counter1s);
- Node178.refresh1s(Counter1s);
- Node179.refresh1s(Counter1s);
- Node180.refresh1s(Counter1s);
- Node181.refresh1s(Counter1s);
- Node182.refresh1s(Counter1s);
- Node183.refresh1s(Counter1s);
- Node184.refresh1s(Counter1s);
- Node185.refresh1s(Counter1s);
- Node186.refresh1s(Counter1s);
- Node187.refresh1s(Counter1s);
- Node188.refresh1s(Counter1s);
- Node189.refresh1s(Counter1s);
- Node190.refresh1s(Counter1s);
- Node191.refresh1s(Counter1s);
- Node192.refresh1s(Counter1s);
- Node193.refresh1s(Counter1s);
- Node194.refresh1s(Counter1s);
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- Node171.refresh5s();
- Node172.refresh5s();
- Node173.refresh5s();
- Node174.refresh5s();
- Node175.refresh5s();
- Node176.refresh5s();
- Node177.refresh5s();
- Node178.refresh5s();
- Node179.refresh5s();
- Node180.refresh5s();
- Node181.refresh5s();
- Node182.refresh5s();
- Node183.refresh5s();
- Node184.refresh5s();
- Node185.refresh5s();
- Node186.refresh5s();
- Node187.refresh5s();
- Node188.refresh5s();
- Node189.refresh5s();
- Node190.refresh5s();
- Node191.refresh5s();
- Node192.refresh5s();
- Node193.refresh5s();
- Node194.refresh5s();
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- /*@EvnentMouseDown@*/
- }
- view.eventList[type] = doMouseDown;
- view['on'+type] = function(e){
- doMouseDown(e);
- e.preventDefault();
- };
- type ='mouseup';
- function doMouseUp (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mouseup', origin);
- return;
- }
- /*@EvnentMouseUp@*/
- }
- view.eventList[type] = doMouseUp;
- view['on'+type] = function(e){
- doMouseUp(e);
- e.preventDefault();
- };
- type ='click';
- function doClick (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- origin = origin || graphView;
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'click', origin);
- return;
- }
- /*@EvnentClicked@*/
- }
- view.eventList[type] = doClick;
- view['on'+type] = function(e){
- doClick(e);
- e.preventDefault();
- };
- type ='mousemove';
- var objMouseOn = null, _objMouseOn = null;
- function doMouseMove (e, origin, offset) {
- var positon, data, zoom, _data, libData;
-
- origin = origin || graphView;
- position=origin.getLogicalPoint(e);
- zoom = graphView.getZoom();
- if (origin === graphView) {
- mouseX= position.x + origin.tx();
- mouseY = position.y + origin.ty();
- } else {
- offset = offset || {x: 0, y: 0};
- mouseX = position.x / zoom + offset.x + origin.tx();
- mouseY = position.y / zoom + offset.y + origin.ty();
- }
- data = origin.getDataAt(e, function (data) {return !(data instanceof ht.Block)});
- if(data === objMouseOn || data === _objMouseOn) return;
- // 如果是图元内的小图形,给libData赋值为图元本身,方便下面使用
- if (data && data.__parentLib && _libModel.getDataByKey(data.__parentLib)) {
- _data = data;
- data = libData = _libModel.getDataByKey(_data.__parentLib);
- }
- if(data !== Node195_1_0&& objMouseOn===Node195_1_0){A=0; }
- if(data !== Node195_1_1&& objMouseOn===Node195_1_1){A=0; }
- if(data !== Node195_3_0&& objMouseOn===Node195_3_0){B=0; }
- if(data !== Node195_3_1&& objMouseOn===Node195_3_1){B=0; }
- if(data !== Node195_5_0&& objMouseOn===Node195_5_0){C=0; }
- if(data !== Node195_5_1&& objMouseOn===Node195_5_1){C=0; }
- if(data !== Node195_6_0&& objMouseOn===Node195_6_0){D=0; }
- if(data !== Node195_6_1&& objMouseOn===Node195_6_1){D=0; }
- if(data !== Node195_8_0&& objMouseOn===Node195_8_0){E=0; }
- if(data !== Node195_8_1&& objMouseOn===Node195_8_1){E=0; }
- if(data !== Node195_11_0&& objMouseOn===Node195_11_0){F=0; }
- if(data !== Node195_11_1&& objMouseOn===Node195_11_1){F=0; }
- if(data !== Node197&& objMouseOn===Node197){sxxny=0; }
- if(data !== Node199&& objMouseOn===Node199){yygjb=0; }
- if(data !== Node201&& objMouseOn===Node201){plhts=0; }
- if(data !== Node203&& objMouseOn===Node203){tqwns=0; }
- if(data !== Node205&& objMouseOn===Node205){gljf=0; }
- if(data !== Node207&& objMouseOn===Node207){hyfy=0; }
- if(data !== Node209&& objMouseOn===Node209){llbts=0; }
- if(data !== Node211&& objMouseOn===Node211){ygcls=0; }
- /*@EvnentMouseLeave@*/
- if (objMouseOn && objMouseOn._baseClass && objMouseOn._baseClass.match(/^ht.lib/)) {
- objMouseOn.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- objMouseOn = data;
- _objMouseOn = _data;
- if(data === Node195_0_0){A=1; }
- if(data === Node195_0_1){A=1; }
- if(data === Node195_2_0){B=1; }
- if(data === Node195_2_1){B=1; }
- if(data === Node195_4_0){C=1; }
- if(data === Node195_4_1){C=1; }
- if(data === Node195_7_0){D=1; }
- if(data === Node195_7_1){D=1; }
- if(data === Node195_9_0){E=1; }
- if(data === Node195_9_1){E=1; }
- if(data === Node195_10_0){F=1; }
- if(data === Node195_10_1){F=1; }
- if(data === Node198){sxxny=1; }
- if(data === Node200){yygjb=1; }
- if(data === Node202){plhts=1; }
- if(data === Node204){tqwns=1; }
- if(data === Node206){gljf=1; }
- if(data === Node208){hyfy=1; }
- if(data === Node210){llbts=1; }
- if(data === Node212){ygcls=1; }
- /*@EvnentMouseOver@*/
- if (data && data._baseClass && data._baseClass.match(/^ht.lib/)) {
- data.onEvent(e, _data, 'mousemove', origin, offset, _objMouseOn);
- }
- }
- view.eventList[type] = doMouseMove;
- view['on'+type] = function(e){
- doMouseMove(e);
- e.preventDefault();
- };
- window.onkeydown = function doKeyDown(e) {
- var keyID = e.keyCode ? e.keyCode :e.which;
- //if(keyID === 87) { }
- /*@EvnentKeyDown@*/
- // if (keyID === 27 && graphView) {
- // graphView.setZoom(1);
- // graphView.tx(0);
- // graphView.ty(0);
- // }
- return;
- }
- /*@Event@*/
- /*@Declare@*/
- var contextmenu = new ht.widget.ContextMenu();
- contextmenu.contextMenuHoverBackground='rgb(104,216,255)';
- contextmenu.contextMenuBackground='rgb(255,255,255)';
- contextmenu.contextMenuHoverLabelColor='rgb(255,255,255)';
- contextmenu.contextMenuLabelColor='rgb(48,48,48)';
- contextmenu.beforeShow = function(e, gv) {
- gv = gv || graphView;
- if (e.originEvent && e.originEvent.currentTarget && e.originEvent.currentTarget.className === 'main') {
- gv = graphView;
- }
- this.setItems(null);
- window.GD && GD.hideTagInfo();
- var data = gv.getDataAt(e) || graphView.getDataAt(e);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'contextmenu', gv, {}, {}, this);
- return;
- }
- //if(false);
- /*@SetNodeContextMenu@*/
- /*@SetPageContextMenu@*/
- };
- contextmenu.afterShow = function (e) {
- var fontSize = 14,
- screenWidth = window.screen.width,
- screenHeight = window.screen.height,
- rx = screenWidth / 1920,
- ry = screenHeight / 1080,
- itemHeight = 30 * ry,
- fontFamily = '',
- width = 150 * rx;
- itemHeight = itemHeight > 30 ? itemHeight : 30;
- var $contextMenu = $(this.getView());
- $contextMenu.find('.contextmenu-item-icon').css({
- width: 14,
- height: 14,
- marginRight: 10
- });
- $contextMenu.find('li.menu-item').css({
- fontSize: fontSize,
- fontWeight: 600,
- height: itemHeight,
- minHeight: 25,
- lineHeight: itemHeight + 'px',
- fontFamily: fontFamily,
- padding: 0
- });
- $contextMenu.find('ul').css({
- width: width,
- minWidth: 100
- });
- contextmenu.setLabelMaxWidth((width > 120 ? width : 120) - 40);
- };
- view.eventList && (view.eventList['contextMenu'] = contextmenu);
- contextmenu.addTo(view);
- contextMenuOnViewList.push(contextmenu);
- /*@ControlContextMenu@*/
- graphView.getSelectWidth = function() { return 0; };
- (function () {
- var $mainContainer,
- mainContainerHeight,
- mainContainerWidth,
- originHeight,
- originWidth,
- ratioX,
- ratioY,
- isPageContainer = false;
- graphView._pageBackgroundNode = PageBackground;
- if (pageSizeRatioValue !== 'adaptBrowser') {
- window.GD && GD.setPageToCenterOrLeftTop();
- }
- function throttle () {
- var timer = null;
- return function () {
- timer && clearTimeout(timer);
- timer = setTimeout(function () {
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- }, 200)
- }
- }
- try {
- if (window.parent && window.parent.openDialog) {
- autoAdaptive = false;
- }
- } catch (error) {}
- try {
- if (window.parent && window.parent.pageContainer) {
- graphView.handleScroll = function (data) {
- var t = graphView.ty() - data.deltaY;
- var contentSize = graphView.getContentRect();
- var min = contentSize.height - graphView.getHeight() + 50;
-
- if (min <= 50)
- return ;
- graphView.setTranslate(0, t, true);
- graphView.setScrollBarSize(8);
- }
- graphView.adjustTranslateY = function (value) {
- var contentSize = graphView.getContentRect();
- var min = graphView.getHeight() - contentSize.height - 50;
-
- value = value > 0 ? 0 : value;
- value = value < min ? min : value;
- return value;
- }
- autoAdaptive = false;
- isPageContainer = true;
- }
- } catch (error) {}
- if (autoAdaptive !== false && autoAdaptive !== 'false' && autoAdaptive !== 'False') {
- graphView.setScrollBarVisible(false);
- if (!graphView._pannable) {
- graphView.adjustTranslateX = function () {return 0};
- graphView.adjustTranslateY = function () {return 0};
- }
- $window.off('resize').on('resize', throttle());
- // setTimeout(resizePage, 100);
- showPage();
- } else {
- showPage();
- graphView.fitContent(false,0,true);
- $window.off('resize').on('resize', function (e) {
- if (!!isPageContainer) {
- window.parent.postMessage('getZoom', '*');
- } else {
- graphView.fitContent(false,0,true);
- }
- })
- }
- var graphViewTimer = null;
- // 监听鼠标缩放页面事件
- graphView.adjustZoom = function (value) {
- graphViewTimer && clearTimeout(graphViewTimer);
- graphViewTimer = setTimeout(function () {
- $window.trigger('graphViewZoomEnded', [value]);
- GD.resetNodeBorderWidth(zoomNodeList, 1/value);
- }, 80)
- return value;
- }
- $window.off('customEventResizeNodes').on('customEventResizeNodes', function (e) {
- var data = e.args;
- var value = GD.getParams('pageSizeRatioValue') || {};
- value = value.value || PageAdaptMode.value;
- GD.setPageSizeWithRatio(value, ratio, backSize);
- graphView.setZoom(data.zoom);
- graphView.tx(0);
- graphView.ty(0);
- });
- $window.off('beforeunload').on("beforeunload", function( event ) {
- try {
- sessionStorage.setItem(location.pathname, JSON.stringify(VarValue));
- } catch (error) {console.log(error.message);}
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.removeParams !== 'function') return ;
- GD.removeParams();
- GD.removeParams('pageSizeRatioValue');
- })();
-
- });
- graphView.setScrollBarColor('rgba(211,211,211,1)');
- graphView.setAutoHideScrollBar(false);
- GD.autoToggleScrollBar();
- // ;(function () {
- // var oriX=browserSize.width/backSize.width;
- // var oriY=browserSize.height/backSize.height;
- // var json = [
- // {
- // label: "25%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.25);
- // }
- // },
- // {
- // label: "50%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(0.5);
- // }
- // },
- // {
- // label: "100%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(1);
- // }
- // },
- // {
- // label: "200%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(2);
- // }
- // },
-
- // {
- // label: "400%",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio(4);
- // }
- // },
-
- // {
- // label: "实际大小",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('originSize');
- // }
- // },
- // {
- // label: '适合屏幕',
- // action: function (item, event) {
- // GD.setPageSizeWithRatio('adaptBrowser');
- // }
- // },
- // {
- // label: "适合宽度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptWidth');
- // }
- // },
- // {
- // label: "适合高度",
- // action: function(item, event) {
- // GD.setPageSizeWithRatio('adaptHeight');
- // }
- // },
- // ];
-
- // var zoomMenu = new ht.widget.ContextMenu(json);
- // zoomMenu.disableGlobalKey();
- // zoomMenu.setLabelMaxWidth(100);
- // zoomMenu.addTo($('.main')[0]);
- // })();
-
- (function () {
- var btnstr="停止数据刷新";
- var json = [], item1, item2;
- item1 = {
- label: btnstr,
- action: function(item, event) {
- if(btnstr=="停止数据刷新"){
- clearInterval(intervalTimers[0]);
- intervalTimers.shift(intervalTimers[0]);
- btnstr="开启数据刷新";
- json[0].label=btnstr;
- }else{
- intervalTimers.unshift(setInterval(DatarefreshTask, 1000));
- btnstr="停止数据刷新";
- json[0].label=btnstr;
- }
- }
- };
- item2 = {
- label: "下载本页所有测点",
- action: function(item, event) {
- var time = new Date();
- var t=time.getFullYear() + "-" + (time.getMonth() + 1) + "-" + time.getDate() + " " + time.getHours() + ":" + time.getMinutes() + ":" + time.getSeconds();
- var str= "测点名\n";
- for(var i=0;i<varList.length;i++){
- str+=varList[i]+"\n"
- }
- str = encodeURIComponent(str);
- var link = document.createElement("a");
- link.download = t+"测点名称集合.csv";
- link.href ="data:text/csv;charset=utf-8,\ufeff"+str;
- link.click();
- }
- };
- item3 = {
- label: "历史回放",
- action: function(item, event) {
- createHisBackDialog(DatarefreshTask);
- }
- };
- item4 = {
- label: "保存页面图片",
- action: function(item, event) {
- savehtmlToJpg();
- }
- };
- if (false) {
- json.push(item1);
- }
- if (false) {
- json.push(item2);
- }
- if(false){
- json.push(item3);
- }
- if(false){
- json.push(item4);
- }
- function addContextMenu() {
- var dataMenu = new ht.widget.ContextMenu();
- dataMenu.enableGlobalKey();
- dataMenu.setLabelMaxWidth(120);
- dataMenu.addTo(view);
- contextMenuOnViewList.push(dataMenu);
- dataMenu.beforeShow=function(e){
- if(e.originEvent.target.className=="main"){
- if(typeof(graphView.getDataAt(e))=="undefined"){
- this.setItems(json);
- }else if(typeof(graphView.getDataAt(e)._attrObject)=="undefined"){
- this.setItems(json);
- }else{
- this.setItems(null);
- }
- }else{
- this.setItems(null);
- }
- }
- };
- if (json.length > 0) {
- addContextMenu();
- }
- })();
-
- })();
- }
|