1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563 |
- /*@WebApiFunc@*/
- var varList = ['demo.DEMO_AI009','HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013','GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006'];
- var varListObj = {};
- var tagInfoDic={};
- // 用于保存所有的lib
- var mouseX=0,mouseY=0;
- var zoomNodeList = zoomNodeList || [];
- zoomNodeList.length = 0;
- var contextMenuOnViewList = contextMenuOnViewList || [];
- var globalVarNameList = globalVarNameList || [];
- var ratio = {ratioX: 1, ratioY: 1};
- // 保存加上图形旋转之后的缩放比例
- var _ratio = {ratioX: 1, ratioY: 1};
- var autoAdaptive = '@autoAdaptive@';
- var browserSize = {
- width: window.innerWidth || $window.innerWidth(),
- height: window.innerHeight || $window.innerHeight()
- }
- var globalVarObj = {};
- var globarParamsObj = {};
- var globalAliasObj = {};
- var pageSizeRatioValue;
- var PAGESCALABLE; // 页面是否可通过滚轮缩放
- var PageAdaptMode = {
- value: 'originSize',
- minWidth: 1366,
- minHeight: 768
- };
- function calcRatio (backSize, browserSize, ratio) {
- var value = GD.getParams('pageSizeRatioValue') || {}, rt;
- function cr(adaptMode) {
- var rx=1, ry=1, w, h;
- switch (adaptMode) {
- case 'adaptWidth':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptHeight':
- rx = ry = browserSize.width / backSize.width;
- break;
- case 'adaptBrowser':
- rx = browserSize.width / backSize.width;
- ry = browserSize.height / backSize.height;
- break;
- case 'originSize':
- rx = ry = 1;
- break;
- case 'autoResize':
- w = browserSize.width < PageAdaptMode.minWidth ? PageAdaptMode.minWidth : browserSize.width;
- h = browserSize.height < PageAdaptMode.minHeight ? PageAdaptMode.minHeight : browserSize.height;
- rx = w / backSize.width;
- ry = h / backSize.height;
- rx > ry ? rx = ry : ry = rx;
- break;
- }
- return {rx: rx,ry: ry}
- }
-
- value = value.value || PageAdaptMode.value;
- pageSizeRatioValue = value;
-
- if ($.isNumeric(value)) {
- rt = cr(PageAdaptMode.value);
- ratio.ratioX = value*rt.rx;
- ratio.ratioY = value*rt.ry;
- } else {
- rt = cr(value);
- ratio.ratioX = rt.rx;
- ratio.ratioY = rt.ry;
- }
- ratio.originRatioX = rt.rx;
- ratio.originRatioY = rt.ry;
- window.backSize = backSize;
- }
- // 页面的依赖
- (function (W, GD) {
- W.GD = GD = GD || {};
- GD.relationship = {
- // hash: ['a.js', 'b.js', 'c.js'],
-
- }
- })(window, window.GD);
- (function () {
- for (var i = 0, len = varList.length; i < len; i++) {
- var varStr = varList[i];
- varStr = varStr && varStr.toLowerCase && varStr.toLowerCase();
- varStr && (varListObj[varStr] = 0);
- }
- })();
- jQuery.support.cors = true;
- ht.Default.appendTimeStamp = function(url) { return url };
- function init() {
- initPage();
- // dataModel._libModel = _libModel;
- try {
- VarValue = JSON.parse(sessionStorage.getItem(location.pathname)) || VarValue;
- } catch (err) {}
- for(var i=0;i< 3 ;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)';
- 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;
- VIS=0;
- VIS2=0;
- VIS3=0;
- VIS4=0;
- VIS5=0;
- VIS6=0;
- VIS7=0;
- Node190GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'1'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'2'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'3'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'4'},{'Tag':'demo.day05','Name':'demo.day05','displayName':'5'},{'Tag':'demo.day06','Name':'demo.day06','displayName':'6'},{'Tag':'demo.day07','Name':'demo.day07','displayName':'7'},{'Tag':'demo.day08','Name':'demo.day08','displayName':'8'},{'Tag':'demo.day09','Name':'demo.day09','displayName':'9'},{'Tag':'demo.day10','Name':'demo.day10','displayName':'10'},{'Tag':'demo.day11','Name':'demo.day11','displayName':'11'},{'Tag':'demo.day12','Name':'demo.day12','displayName':'12'},{'Tag':'demo.day13','Name':'demo.day13','displayName':'13'},{'Tag':'demo.day14','Name':'demo.day14','displayName':'14'},{'Tag':'demo.day15','Name':'demo.day15','displayName':'15'},{'Tag':'6emo.day16','Name':'6emo.day16','displayName':'16'},{'Tag':'demo.day17','Name':'demo.day17','displayName':'17'},{'Tag':'demo.day18','Name':'demo.day18','displayName':'18'},{'Tag':'demo.day19','Name':'demo.day19','displayName':'19'},{'Tag':'demo.day20','Name':'demo.day20','displayName':'20'},{'Tag':'demo.day21','Name':'demo.day21','displayName':'21'},{'Tag':'demo.day22','Name':'demo.day22','displayName':'22'},{'Tag':'demo.day23','Name':'demo.day23','displayName':'23'},{'Tag':'demo.day24','Name':'demo.day24','displayName':'24'},{'Tag':'demo.day25','Name':'demo.day25','displayName':'25'},{'Tag':'demo.day26','Name':'demo.day26','displayName':'26'},{'Tag':'demo.day27','Name':'demo.day27','displayName':'27'},{'Tag':'demo.day28','Name':'demo.day28','displayName':'28'},{'Tag':'demo.day29','Name':'demo.day29','displayName':'29'},{'Tag':'demo.day30','Name':'demo.day30','displayName':'30'}];
- Node190GroupInVarName=[{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'0, 191, 255','DrawType':0,'StaType':0,'color':'#00bfff'},{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 99, 71','DrawType':1,'StaType':0,'color':'#ff6347'}];
- Node200GroupVarName=[{'Tag':'demo.day01','Name':'demo.day01','displayName':'一月'},{'Tag':'demo.day02','Name':'demo.day02','displayName':'二月'},{'Tag':'demo.day03','Name':'demo.day03','displayName':'三月'},{'Tag':'demo.day04','Name':'demo.day04','displayName':'四月'},{'Tag':'demo.day05','Name':'demo.day05','displayName':''},{'Tag':'demo.day06','Name':'demo.day06','displayName':''},{'Tag':'demo.day07','Name':'demo.day07','displayName':''},{'Tag':'demo.day08','Name':'demo.day08','displayName':''},{'Tag':'demo.day09','Name':'demo.day09','displayName':''},{'Tag':'demo.day10','Name':'demo.day10','displayName':''},{'Tag':'demo.day11','Name':'demo.day11','displayName':''},{'Tag':'demo.day12','Name':'demo.day12','displayName':''}];
- Node200GroupInVarName=[{'statisticsType':'Avg','Tag':'speed','Name':'speed','displayName':'','Col':'64, 224, 208','DrawType':0,'StaType':0,'color':'#40e0d0'},{'statisticsType':'Avg','Tag':'power','Name':'power','displayName':'','Col':'255, 128, 0','DrawType':0,'StaType':0,'color':'#ff8000'},{'statisticsType':'Avg','Tag':'quick','Name':'quick','displayName':'','Col':'0, 255, 0','DrawType':0,'StaType':0,'color':'#00ff00'}];
- Node203RowVarName=[];
- /*@PageBeforeInit@*/
- ;(function () {
- var GD = window.GD;
- if (!GD || typeof GD.useParams !== 'function') return ;
- GD.useParams();
- })();
- var backSize = {width: 1899, height: 980};calcRatio(backSize, browserSize, ratio);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var PageBackgroundtype = 'rect';
- var PageBackground = new ht.Node(),
- PageBackgroundBorderWidth = 0*2;
- if (PageBackgroundtype === 'arc') {
- PageBackgroundBorderWidth *= 0;
- }
- PageBackground.setImage(GD.getRectJSON(1899*_ratio.ratioX, 980*_ratio.ratioY, PageBackgroundtype, '@arcFrom@', '@arcTo@', '@arcClose@'));
- PageBackground.setPosition(949*ratio.ratioX, 490*ratio.ratioY);
- PageBackground.setSize(1899*_ratio.ratioX, 980*_ratio.ratioY);
- PageBackground.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- PageBackground.a('node.width', 1899*_ratio.ratioX);
- PageBackground.a('node.height', 980*_ratio.ratioY);
- PageBackground.a('node.type', PageBackgroundtype);
- PageBackground.a('node.rect', [0, 0, 1899*_ratio.ratioX, 980*_ratio.ratioY]);
- PageBackground.a('node.background', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradientcolor', 'rgba(255,255,255,1)');
- PageBackground.a('node.gradient', '');
- PageBackground.a('node.borderwidth', PageBackgroundBorderWidth);
- PageBackground.a('node.color', 'rgba(0,0,0,1)');
- PageBackground.a('node.fillrect', [0,0,0,0]);
- PageBackground.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- PageBackground.a('node.fillgradient', '');
- if (PageBackgroundtype !== 'rect') {
- PageBackground.a('node.arcFrom', parseFloat('@arcFrom@'));
- PageBackground.a('node.arcTo', parseFloat('@arcTo@'));
- PageBackground.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (PageBackgroundtype === 'arc') {
- PageBackground.a('node.arcOval', true);
- }
- PageBackground.setRotation(0*Math.PI/180);
- PageBackground.borderWidth = PageBackgroundBorderWidth;
- PageBackground.borderFillwidth = PageBackgroundBorderWidth;
- dataModel.add(PageBackground);
- PageBackground._nodename = 'PageBackground'
- PageBackground._nodeType = 'rect';
- zoomNodeList.push({
- node: PageBackground,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(PageBackground, PageBackground.getImage());PageBackground.s({'2d.selectable': false,'2d.movable': false});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node0type = 'rect';
- var Node0 = new ht.Node(),
- Node0BorderWidth = 1*2;
- if (Node0type === 'arc') {
- Node0BorderWidth *= 1;
- }
- Node0.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node0type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node0.setPosition(1343*ratio.ratioX, 847*ratio.ratioY);
- Node0.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY);
- Node0.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node0.a('node.width', 1114*_ratio.ratioX);
- Node0.a('node.height', 208*_ratio.ratioY);
- Node0.a('node.type', Node0type);
- Node0.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]);
- Node0.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node0.a('node.gradientcolor', '');
- Node0.a('node.gradient', '');
- Node0.a('node.borderwidth', Node0BorderWidth);
- Node0.a('node.color', 'rgba(192,192,192,1)');
- Node0.a('node.fillrect', [0,0,0,0]);
- Node0.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node0.a('node.fillgradient', '');
- if (Node0type !== 'rect') {
- Node0.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node0.a('node.arcTo', parseFloat('@arcTo@'));
- Node0.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node0type === 'arc') {
- Node0.a('node.arcOval', true);
- }
- Node0.setRotation(0*Math.PI/180);
- Node0.borderWidth = Node0BorderWidth;
- Node0.borderFillwidth = Node0BorderWidth;
- dataModel.add(Node0);
- Node0._nodename = 'Node0'
- Node0._nodeType = 'rect';
- zoomNodeList.push({
- node: Node0,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node0, Node0.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node1type = 'rect';
- var Node1 = new ht.Node(),
- Node1BorderWidth = 1*2;
- if (Node1type === 'arc') {
- Node1BorderWidth *= 1;
- }
- Node1.setImage(GD.getRectJSON(1114*_ratio.ratioX, 208*_ratio.ratioY, Node1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node1.setPosition(1343*ratio.ratioX, 637*ratio.ratioY);
- Node1.setSize(1114*_ratio.ratioX, 208*_ratio.ratioY);
- Node1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node1.a('node.width', 1114*_ratio.ratioX);
- Node1.a('node.height', 208*_ratio.ratioY);
- Node1.a('node.type', Node1type);
- Node1.a('node.rect', [0, 0, 1114*_ratio.ratioX, 208*_ratio.ratioY]);
- Node1.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node1.a('node.gradientcolor', '');
- Node1.a('node.gradient', '');
- Node1.a('node.borderwidth', Node1BorderWidth);
- Node1.a('node.color', 'rgba(192,192,192,1)');
- Node1.a('node.fillrect', [0,0,0,0]);
- Node1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node1.a('node.fillgradient', '');
- if (Node1type !== 'rect') {
- Node1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node1.a('node.arcTo', parseFloat('@arcTo@'));
- Node1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node1type === 'arc') {
- Node1.a('node.arcOval', true);
- }
- Node1.setRotation(0*Math.PI/180);
- Node1.borderWidth = Node1BorderWidth;
- Node1.borderFillwidth = Node1BorderWidth;
- dataModel.add(Node1);
- Node1._nodename = 'Node1'
- Node1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node1, Node1.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node2type = 'rect';
- var Node2 = new ht.Node(),
- Node2BorderWidth = 1*2;
- if (Node2type === 'arc') {
- Node2BorderWidth *= 1;
- }
- Node2.setImage(GD.getRectJSON(510*_ratio.ratioX, 208*_ratio.ratioY, Node2type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node2.setPosition(1638*ratio.ratioX, 427*ratio.ratioY);
- Node2.setSize(510*_ratio.ratioX, 208*_ratio.ratioY);
- Node2.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node2.a('node.width', 510*_ratio.ratioX);
- Node2.a('node.height', 208*_ratio.ratioY);
- Node2.a('node.type', Node2type);
- Node2.a('node.rect', [0, 0, 510*_ratio.ratioX, 208*_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(192,192,192,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());option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:5,
- min: 0,
- max: 1250,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.388888888888889, 'rgba(192,255,255,1)'],[1, 'rgba(192,192,192,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 0
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node3 = new ht.HtmlNode();
- Node3.setPosition({'x':1744*ratio.ratioX,'y':499*ratio.ratioY});
- Node3.setWidth(270*_ratio.ratioX);
- Node3.setHeight(140*_ratio.ratioY);
- Node3.setScalable(false);
- Node3.setRotation(0);
- Node3.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
- Node3.setHtml(chart);
- var Node3_chart = chart._chart;
- dataModel.add(Node3);option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:5,
- min: 0,
- max: 1250,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.511111111111111, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 0
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node4 = new ht.HtmlNode();
- Node4.setPosition({'x':1521*ratio.ratioX,'y':494*ratio.ratioY});
- Node4.setWidth(270*_ratio.ratioX);
- Node4.setHeight(140*_ratio.ratioY);
- Node4.setScalable(false);
- Node4.setRotation(0);
- Node4.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
- Node4.setHtml(chart);
- var Node4_chart = chart._chart;
- dataModel.add(Node4);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node5type = 'rect';
- var Node5 = new ht.Node(),
- Node5BorderWidth = 1*2;
- if (Node5type === 'arc') {
- Node5BorderWidth *= 1;
- }
- Node5.setImage(GD.getRectJSON(1113*_ratio.ratioX, 78*_ratio.ratioY, Node5type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node5.setPosition(1341*ratio.ratioX, 281*ratio.ratioY);
- Node5.setSize(1113*_ratio.ratioX, 78*_ratio.ratioY);
- Node5.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node5.a('node.width', 1113*_ratio.ratioX);
- Node5.a('node.height', 78*_ratio.ratioY);
- Node5.a('node.type', Node5type);
- Node5.a('node.rect', [0, 0, 1113*_ratio.ratioX, 78*_ratio.ratioY]);
- Node5.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node5.a('node.gradientcolor', '');
- Node5.a('node.gradient', '');
- Node5.a('node.borderwidth', Node5BorderWidth);
- Node5.a('node.color', 'rgba(192,192,192,1)');
- Node5.a('node.fillrect', [0,0,0,0]);
- Node5.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node5.a('node.fillgradient', '');
- if (Node5type !== 'rect') {
- Node5.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node5.a('node.arcTo', parseFloat('@arcTo@'));
- Node5.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node5type === 'arc') {
- Node5.a('node.arcOval', true);
- }
- Node5.setRotation(0*Math.PI/180);
- Node5.borderWidth = Node5BorderWidth;
- Node5.borderFillwidth = Node5BorderWidth;
- dataModel.add(Node5);
- Node5._nodename = 'Node5'
- Node5._nodeType = 'rect';
- zoomNodeList.push({
- node: Node5,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node5, Node5.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node6type = 'rect';
- var Node6 = new ht.Node(),
- Node6BorderWidth = 1*2;
- if (Node6type === 'arc') {
- Node6BorderWidth *= 1;
- }
- Node6.setImage(GD.getRectJSON(570*_ratio.ratioX, 210*_ratio.ratioY, Node6type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node6.setPosition(1071*ratio.ratioX, 427*ratio.ratioY);
- Node6.setSize(570*_ratio.ratioX, 210*_ratio.ratioY);
- Node6.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node6.a('node.width', 570*_ratio.ratioX);
- Node6.a('node.height', 210*_ratio.ratioY);
- Node6.a('node.type', Node6type);
- Node6.a('node.rect', [0, 0, 570*_ratio.ratioX, 210*_ratio.ratioY]);
- Node6.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node6.a('node.gradientcolor', '');
- Node6.a('node.gradient', '');
- Node6.a('node.borderwidth', Node6BorderWidth);
- Node6.a('node.color', 'rgba(224,224,224,1)');
- 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());var Node7;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//benner.png', PAGEROOTDIR + 'image//img//benner.png');
- Node7 = new ht.Node();
- Node7.setPosition(946*ratio.ratioX, 25*ratio.ratioY);
- Node7.setSize(1899*ratioX, 50*ratioY);
- Node7.setImage('imgimage//img//benner.png');
- Node7.setRotation(0*Math.PI/180);
- Node7._zoomBy = 'Default';
- Node7._nodeType = 'image';
- Node7._disallowEvert = true;
- dataModel.add(Node7);
- })();
- var Node8;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//new_but_bg_a.png', PAGEROOTDIR + 'image//img//new_but_bg_a.png');
- Node8 = new ht.Node();
- Node8.setPosition(949*ratio.ratioX, 65*ratio.ratioY);
- Node8.setSize(1899*ratioX, 31*ratioY);
- Node8.setImage('imgimage//img//new_but_bg_a.png');
- Node8.setRotation(0*Math.PI/180);
- Node8._zoomBy = 'Default';
- Node8._nodeType = 'image';
- Node8._disallowEvert = true;
- dataModel.add(Node8);
- })();
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node9 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 98*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 Node10 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 60*ratio.ratioX, 98*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 Node11 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 56*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node12 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 57*ratio.ratioX, 66*ratio.ratioY, 0, {text:'sy',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node13type = 'rect';
- var Node13 = new ht.Node(),
- Node13BorderWidth = 1*2;
- if (Node13type === 'arc') {
- Node13BorderWidth *= 1;
- }
- Node13.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node13type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node13.setPosition(247*ratio.ratioX, 178*ratio.ratioY);
- Node13.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
- Node13.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node13.a('node.width', 120*_ratio.ratioX);
- Node13.a('node.height', 120*_ratio.ratioY);
- Node13.a('node.type', Node13type);
- Node13.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
- Node13.a('node.background', 'rgba(245,245,245,1)');
- Node13.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node13.a('node.gradient', '');
- Node13.a('node.borderwidth', Node13BorderWidth);
- Node13.a('node.color', 'rgba(220,220,220,1)');
- Node13.a('node.fillrect', [0,0,0,0]);
- Node13.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node13.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node13.a('node.fillgradient', '');
- if (Node13type !== 'rect') {
- Node13.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node13.a('node.arcTo', parseFloat('@arcTo@'));
- Node13.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node13type === 'arc') {
- Node13.a('node.arcOval', true);
- }
- Node13.setRotation(0*Math.PI/180);
- Node13.borderWidth = Node13BorderWidth;
- Node13.borderFillwidth = Node13BorderWidth;
- dataModel.add(Node13);
- Node13._nodename = 'Node13'
- Node13._nodeType = 'rect';
- zoomNodeList.push({
- node: Node13,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node13, Node13.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node14type = 'rect';
- var Node14 = new ht.Node(),
- Node14BorderWidth = 1*2;
- if (Node14type === 'arc') {
- Node14BorderWidth *= 1;
- }
- Node14.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node14type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node14.setPosition(326*ratio.ratioX, 178*ratio.ratioY);
- Node14.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
- Node14.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node14.a('node.width', 280.7278*_ratio.ratioX);
- Node14.a('node.height', 122*_ratio.ratioY);
- Node14.a('node.type', Node14type);
- Node14.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_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(220,220,220,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());var Node15points=[377, 118,377, 238],
- Node15rect=ht.Default.unionPoint([{x:377,y:118},{x:377,y:238}]),
- Node15compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node15points.length;i++){
- if(i%2==0){
- Node15compspts.push(Node15points[i]-Node15rect.x);
- }else{
- Node15compspts.push(Node15points[i]-Node15rect.y);
- }
- }
- var Node15ptslength=Node15compspts.length;
- if (Node15rect.height === 0) {
- Node15compspts[0] -= 0;
- Node15compspts[Node15ptslength-2] += 0;
- } else if (Node15rect.width === 0){
- Node15compspts[1] -= 0;
- Node15compspts[Node15ptslength-1] += 0;
- } else {
- Node15compspts[0] -= 0;
- Node15compspts[1] -= 0;
- Node15compspts[Node15ptslength-2] += 0;
- Node15compspts[Node15ptslength-1] += 0;
- }
- Node15 = new ht.Node();
- Node15.borderWidth = 1;
- Node15rect.width = Node15rect.width === 0 ? 0.0001 : Node15rect.width;
- Node15rect.height = Node15rect.height === 0 ? 0.0001 : Node15rect.height;
- var Node15endCompspts = [Node15compspts[Node15ptslength-2],Node15compspts[Node15ptslength-1],0,0];
- var Node15startCompspts = [Node15compspts[0],Node15compspts[1],0,0];
- Node15.setImage(GD.getPolyLineJSON());
- Node15.setPosition(Node15rect.x+Node15rect.width/2,Node15rect.y+Node15rect.height/2);
- Node15.setSize(Node15rect.width,Node15rect.height);
- Node15.setStyle("opacity",1);
- Node15.s({'pixelPerfect':true});
- Node15borderwidth=1;
- Node15.setRotation(0);
- dataModel.add(Node15);
- Node15.a('node.points',Node15compspts);
- Node15.a('node.segments',[1,2]);
- Node15.a('node.color','rgba(220,220,220,1)');
- Node15.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node15.a('node.borderColor','rgba(220,220,220,1)');
- Node15.a('node.background','rgba(220,220,220,1)');
- Node15.a('node.gradient','');
- Node15.a('node.gradientcolor','rgba(220,220,220,1)');
- Node15.a('node.endCompspts',Node15endCompspts);
- Node15.a('node.startCompspts',Node15startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node15';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node15, Node15.getImage(), Node15compspts, Node15endCompspts, Node15startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node16 = new ht.Node();
- var Node16textStart, Node16textWidth, Node16lineStart, Node16align = 'left', Node16fontSize = 13.3333*_ratio.ratioY,Node16width = 82*_ratio.ratioX, Node16height = 27*_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('装机容量', ' '+ Node16fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node16align === 'center') {
- Node16textStart = -3;
- Node16textWidth = Node16width;
- Node16lineStart = Node16width - ht.Default.getTextSize('装机容量', ' '+ Node16fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node16.setImage(GD.getTextJSON(Node16width, Node16height, true, false, false, ' '+ Node16fontSize + 'px "Arial"'))
- Node16.setPosition(232*ratio.ratioX, 128*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','装机容量');
- Node16.a('node.textalign','left');
- 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') || '装机容量';
- var color=Node16.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node16width,Node16height,13.3333*_ratio.ratioY,"left",color,' '+ Node16fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node16.a('node.underlinepoints',[Node16lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node16fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ 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 = 'left', Node17fontSize = 13.3333*_ratio.ratioY,Node17width = 82*_ratio.ratioX, Node17height = 27*_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(232*ratio.ratioX, 154*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(0,0,0,1)');
- Node17.a('node.borderwidth', 0);
- Node17.a('node.background','' || 'rgba(0,0,0,0)');
- Node17.a('node.gradient','');
- Node17.a('node.gradientcolor','');
- Node17.a('node.text','月利用小时');
- Node17.a('node.textalign','left');
- Node17.a('node.textvAlign','middle');
- Node17.a('node.textrect', [Node17textStart, 0, Node17textWidth, Node17height]);
- Node17.a('node.color','rgba(0,0,0,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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node17width,Node17height,13.3333*_ratio.ratioY,"left",color,' '+ Node17fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node17.a('node.underlinepoints',[Node17lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node17fontSize + 2 , ht.Default.getTextSize('月利用小时', ' '+ Node17fontSize + 'px "Arial"').width + 6, (Node17height - Node17fontSize) * 0.5*_ratio.ratioY + Node17fontSize + 2 ]);
- Node17.a('node.underlinevisible',false);
- Node17.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node17);
- zoomNodeList.push({
- node: Node17,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node18 = new ht.Node();
- var Node18textStart, Node18textWidth, Node18lineStart, Node18align = 'left', Node18fontSize = 13.3333*_ratio.ratioY,Node18width = 82*_ratio.ratioX, Node18height = 27*_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(232*ratio.ratioX, 178*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(0,0,0,1)');
- Node18.a('node.borderwidth', 0);
- Node18.a('node.background','' || 'rgba(0,0,0,0)');
- Node18.a('node.gradient','');
- Node18.a('node.gradientcolor','');
- Node18.a('node.text','年利用小时');
- Node18.a('node.textalign','left');
- Node18.a('node.textvAlign','middle');
- Node18.a('node.textrect', [Node18textStart, 0, Node18textWidth, Node18height]);
- Node18.a('node.color','rgba(0,0,0,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(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node18width,Node18height,13.3333*_ratio.ratioY,"left",color,' '+ Node18fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node18.a('node.underlinepoints',[Node18lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node18fontSize + 2 , ht.Default.getTextSize('年利用小时', ' '+ Node18fontSize + 'px "Arial"').width + 6, (Node18height - Node18fontSize) * 0.5*_ratio.ratioY + Node18fontSize + 2 ]);
- Node18.a('node.underlinevisible',false);
- Node18.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node18);
- zoomNodeList.push({
- node: Node18,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node19 = new ht.Node();
- var Node19textStart, Node19textWidth, Node19lineStart, Node19align = 'left', Node19fontSize = 13.3333*_ratio.ratioY,Node19width = 110*_ratio.ratioX, Node19height = 27*_ratio.ratioY;
- (function () {
- if (Node19align === 'left') {
- Node19textStart = Node19fontSize * 0.2 > 2 ? Node19fontSize * 0.2 - 4 : Node19fontSize * 0.2 - 9;
- Node19textWidth = Node19width;
- Node19lineStart = 1;
- } else if (Node19align === 'right') {
- Node19textStart = 0;
- Node19textWidth =Node19fontSize <= 8 ? Node19width + Node19fontSize * 0.2 + 6 : Node19width - Node19fontSize * 0.2;
- Node19lineStart = (Node19width - (ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node19align === 'center') {
- Node19textStart = -3;
- Node19textWidth = Node19width;
- Node19lineStart = Node19width - ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node19.setImage(GD.getTextJSON(Node19width, Node19height, true, false, false, ' '+ Node19fontSize + 'px "Arial"'))
- Node19.setPosition(246*ratio.ratioX, 201*ratio.ratioY);
- Node19.setWidth(Node19width);
- Node19.setHeight(Node19height);
- Node19._nodeType = 'text';
- Node19._disallowEvert = true;
- Node19.setRotation(0*Math.PI/180);
- Node19.a('node.width', Node19width);
- Node19.a('node.height', Node19height);
- Node19.a('node.rect', [0, 0, Node19width, Node19height]);
- Node19.a('node.bordercolor','rgba(0,0,0,1)');
- Node19.a('node.borderwidth', 0);
- Node19.a('node.background','' || 'rgba(0,0,0,0)');
- Node19.a('node.gradient','');
- Node19.a('node.gradientcolor','');
- Node19.a('node.text','月设备可利用率');
- Node19.a('node.textalign','left');
- Node19.a('node.textvAlign','middle');
- Node19.a('node.textrect', [Node19textStart, 0, Node19textWidth, Node19height]);
- Node19.a('node.color','rgba(0,0,0,1)');
- Node19.a('node.font',' '+ Node19fontSize + 'px "Arial"');
- Node19.a('node.textvisible',true);
- Node19.a('node.linefeed',false);
- if (false) {
- Node19.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node19.a('node.text') || '月设备可利用率';
- var color=Node19.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node19width,Node19height,13.3333*_ratio.ratioY,"left",color,' '+ Node19fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node19.a('node.underlinepoints',[Node19lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node19fontSize + 2 , ht.Default.getTextSize('月设备可利用率', ' '+ Node19fontSize + 'px "Arial"').width + 6, (Node19height - Node19fontSize) * 0.5*_ratio.ratioY + Node19fontSize + 2 ]);
- Node19.a('node.underlinevisible',false);
- Node19.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node19);
- zoomNodeList.push({
- node: Node19,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node20 = new ht.Node();
- var Node20textStart, Node20textWidth, Node20lineStart, Node20align = 'left', Node20fontSize = 13.3333*_ratio.ratioY,Node20width = 125*_ratio.ratioX, Node20height = 27*_ratio.ratioY;
- (function () {
- if (Node20align === 'left') {
- Node20textStart = Node20fontSize * 0.2 > 2 ? Node20fontSize * 0.2 - 4 : Node20fontSize * 0.2 - 9;
- Node20textWidth = Node20width;
- Node20lineStart = 1;
- } else if (Node20align === 'right') {
- Node20textStart = 0;
- Node20textWidth =Node20fontSize <= 8 ? Node20width + Node20fontSize * 0.2 + 6 : Node20width - Node20fontSize * 0.2;
- Node20lineStart = (Node20width - (ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node20align === 'center') {
- Node20textStart = -3;
- Node20textWidth = Node20width;
- Node20lineStart = Node20width - ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node20.setImage(GD.getTextJSON(Node20width, Node20height, true, false, false, ' '+ Node20fontSize + 'px "Arial"'))
- Node20.setPosition(253*ratio.ratioX, 226*ratio.ratioY);
- Node20.setWidth(Node20width);
- Node20.setHeight(Node20height);
- Node20._nodeType = 'text';
- Node20._disallowEvert = true;
- Node20.setRotation(0*Math.PI/180);
- Node20.a('node.width', Node20width);
- Node20.a('node.height', Node20height);
- Node20.a('node.rect', [0, 0, Node20width, Node20height]);
- Node20.a('node.bordercolor','rgba(0,0,0,1)');
- Node20.a('node.borderwidth', 0);
- Node20.a('node.background','' || 'rgba(0,0,0,0)');
- Node20.a('node.gradient','');
- Node20.a('node.gradientcolor','');
- Node20.a('node.text','月等效可利用系数');
- Node20.a('node.textalign','left');
- Node20.a('node.textvAlign','middle');
- Node20.a('node.textrect', [Node20textStart, 0, Node20textWidth, Node20height]);
- Node20.a('node.color','rgba(0,0,0,1)');
- Node20.a('node.font',' '+ Node20fontSize + 'px "Arial"');
- Node20.a('node.textvisible',true);
- Node20.a('node.linefeed',false);
- if (false) {
- Node20.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node20.a('node.text') || '月等效可利用系数';
- var color=Node20.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node20width,Node20height,13.3333*_ratio.ratioY,"left",color,' '+ Node20fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node20.a('node.underlinepoints',[Node20lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node20fontSize + 2 , ht.Default.getTextSize('月等效可利用系数', ' '+ Node20fontSize + 'px "Arial"').width + 6, (Node20height - Node20fontSize) * 0.5*_ratio.ratioY + Node20fontSize + 2 ]);
- Node20.a('node.underlinevisible',false);
- Node20.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node20);
- zoomNodeList.push({
- node: Node20,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node21 = new ht.Node();
- var Node21textStart, Node21textWidth, Node21lineStart, Node21align = 'left', Node21fontSize = 13.3333*_ratio.ratioY,Node21width = 37*_ratio.ratioX, Node21height = 16*_ratio.ratioY;
- (function () {
- if (Node21align === 'left') {
- Node21textStart = Node21fontSize * 0.2 > 2 ? Node21fontSize * 0.2 - 4 : Node21fontSize * 0.2 - 9;
- Node21textWidth = Node21width;
- Node21lineStart = 1;
- } else if (Node21align === 'right') {
- Node21textStart = 0;
- Node21textWidth =Node21fontSize <= 8 ? Node21width + Node21fontSize * 0.2 + 6 : Node21width - Node21fontSize * 0.2;
- Node21lineStart = (Node21width - (ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node21align === 'center') {
- Node21textStart = -3;
- Node21textWidth = Node21width;
- Node21lineStart = Node21width - ht.Default.getTextSize('0', 'bold '+ Node21fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node21.setImage(GD.getTextJSON(Node21width, Node21height, true, false, false, 'bold '+ Node21fontSize + 'px "Arial"'))
- Node21.setPosition(342*ratio.ratioX, 128*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','0');
- 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') || '0';
- 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, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node21fontSize + 2 , ht.Default.getTextSize('0', '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 = 13.3333*_ratio.ratioY,Node22width = 37*_ratio.ratioX, Node22height = 16*_ratio.ratioY;
- (function () {
- if (Node22align === 'left') {
- Node22textStart = Node22fontSize * 0.2 > 2 ? Node22fontSize * 0.2 - 4 : Node22fontSize * 0.2 - 9;
- Node22textWidth = Node22width;
- Node22lineStart = 1;
- } else if (Node22align === 'right') {
- Node22textStart = 0;
- Node22textWidth =Node22fontSize <= 8 ? Node22width + Node22fontSize * 0.2 + 6 : Node22width - Node22fontSize * 0.2;
- Node22lineStart = (Node22width - (ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node22align === 'center') {
- Node22textStart = -3;
- Node22textWidth = Node22width;
- Node22lineStart = Node22width - ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node22.setImage(GD.getTextJSON(Node22width, Node22height, true, false, false, 'bold '+ Node22fontSize + 'px "Arial"'))
- Node22.setPosition(342*ratio.ratioX, 152*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','bold '+ 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,13.3333*0.5*_ratio.ratioY,Node22width,Node22height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node22fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node22.a('node.underlinepoints',[Node22lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node22fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node22fontSize + 'px "Arial"').width + 6, (Node22height - Node22fontSize) * 0.5*_ratio.ratioY + Node22fontSize + 2 ]);
- Node22.a('node.underlinevisible',false);
- Node22.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node22);
- zoomNodeList.push({
- node: Node22,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node23 = new ht.Node();
- var Node23textStart, Node23textWidth, Node23lineStart, Node23align = 'left', Node23fontSize = 13.3333*_ratio.ratioY,Node23width = 27*_ratio.ratioX, Node23height = 16*_ratio.ratioY;
- (function () {
- if (Node23align === 'left') {
- Node23textStart = Node23fontSize * 0.2 > 2 ? Node23fontSize * 0.2 - 4 : Node23fontSize * 0.2 - 9;
- Node23textWidth = Node23width;
- Node23lineStart = 1;
- } else if (Node23align === 'right') {
- Node23textStart = 0;
- Node23textWidth =Node23fontSize <= 8 ? Node23width + Node23fontSize * 0.2 + 6 : Node23width - Node23fontSize * 0.2;
- Node23lineStart = (Node23width - (ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node23align === 'center') {
- Node23textStart = -3;
- Node23textWidth = Node23width;
- Node23lineStart = Node23width - ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node23.setImage(GD.getTextJSON(Node23width, Node23height, true, false, false, 'bold '+ Node23fontSize + 'px "Arial"'))
- Node23.setPosition(337*ratio.ratioX, 177*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(0,0,0,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','0');
- Node23.a('node.textalign','left');
- Node23.a('node.textvAlign','middle');
- Node23.a('node.textrect', [Node23textStart, 0, Node23textWidth, Node23height]);
- Node23.a('node.color','rgba(0,0,0,1)');
- Node23.a('node.font','bold '+ 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') || '0';
- var color=Node23.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node23width,Node23height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node23fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node23.a('node.underlinepoints',[Node23lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node23fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node23fontSize + 'px "Arial"').width + 6, (Node23height - Node23fontSize) * 0.5*_ratio.ratioY + Node23fontSize + 2 ]);
- Node23.a('node.underlinevisible',false);
- Node23.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node23);
- zoomNodeList.push({
- node: Node23,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node24 = new ht.Node();
- var Node24textStart, Node24textWidth, Node24lineStart, Node24align = 'left', Node24fontSize = 13.3333*_ratio.ratioY,Node24width = 37*_ratio.ratioX, Node24height = 16*_ratio.ratioY;
- (function () {
- if (Node24align === 'left') {
- Node24textStart = Node24fontSize * 0.2 > 2 ? Node24fontSize * 0.2 - 4 : Node24fontSize * 0.2 - 9;
- Node24textWidth = Node24width;
- Node24lineStart = 1;
- } else if (Node24align === 'right') {
- Node24textStart = 0;
- Node24textWidth =Node24fontSize <= 8 ? Node24width + Node24fontSize * 0.2 + 6 : Node24width - Node24fontSize * 0.2;
- Node24lineStart = (Node24width - (ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node24align === 'center') {
- Node24textStart = -3;
- Node24textWidth = Node24width;
- Node24lineStart = Node24width - ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node24.setImage(GD.getTextJSON(Node24width, Node24height, true, false, false, 'bold '+ Node24fontSize + 'px "Arial"'))
- Node24.setPosition(356*ratio.ratioX, 201*ratio.ratioY);
- Node24.setWidth(Node24width);
- Node24.setHeight(Node24height);
- Node24._nodeType = 'text';
- Node24._disallowEvert = true;
- Node24.setRotation(0*Math.PI/180);
- Node24.a('node.width', Node24width);
- Node24.a('node.height', Node24height);
- Node24.a('node.rect', [0, 0, Node24width, Node24height]);
- Node24.a('node.bordercolor','rgba(0,0,0,1)');
- Node24.a('node.borderwidth', 0);
- Node24.a('node.background','' || 'rgba(0,0,0,0)');
- Node24.a('node.gradient','');
- Node24.a('node.gradientcolor','');
- Node24.a('node.text','-');
- Node24.a('node.textalign','left');
- Node24.a('node.textvAlign','middle');
- Node24.a('node.textrect', [Node24textStart, 0, Node24textWidth, Node24height]);
- Node24.a('node.color','rgba(0,0,0,1)');
- Node24.a('node.font','bold '+ Node24fontSize + 'px "Arial"');
- Node24.a('node.textvisible',true);
- Node24.a('node.linefeed',false);
- if (false) {
- Node24.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node24.a('node.text') || '-';
- var color=Node24.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node24width,Node24height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node24fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node24.a('node.underlinepoints',[Node24lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node24fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node24fontSize + 'px "Arial"').width + 6, (Node24height - Node24fontSize) * 0.5*_ratio.ratioY + Node24fontSize + 2 ]);
- Node24.a('node.underlinevisible',false);
- Node24.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node24);
- zoomNodeList.push({
- node: Node24,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node25 = new ht.Node();
- var Node25textStart, Node25textWidth, Node25lineStart, Node25align = 'left', Node25fontSize = 13.3333*_ratio.ratioY,Node25width = 47*_ratio.ratioX, Node25height = 17*_ratio.ratioY;
- (function () {
- if (Node25align === 'left') {
- Node25textStart = Node25fontSize * 0.2 > 2 ? Node25fontSize * 0.2 - 4 : Node25fontSize * 0.2 - 9;
- Node25textWidth = Node25width;
- Node25lineStart = 1;
- } else if (Node25align === 'right') {
- Node25textStart = 0;
- Node25textWidth =Node25fontSize <= 8 ? Node25width + Node25fontSize * 0.2 + 6 : Node25width - Node25fontSize * 0.2;
- Node25lineStart = (Node25width - (ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node25align === 'center') {
- Node25textStart = -3;
- Node25textWidth = Node25width;
- Node25lineStart = Node25width - ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node25.setImage(GD.getTextJSON(Node25width, Node25height, true, false, false, ' '+ Node25fontSize + 'px "Arial"'))
- Node25.setPosition(410*ratio.ratioX, 127*ratio.ratioY);
- Node25.setWidth(Node25width);
- Node25.setHeight(Node25height);
- Node25._nodeType = 'text';
- Node25._disallowEvert = true;
- Node25.setRotation(0*Math.PI/180);
- Node25.a('node.width', Node25width);
- Node25.a('node.height', Node25height);
- Node25.a('node.rect', [0, 0, Node25width, Node25height]);
- Node25.a('node.bordercolor','rgba(169,169,169,1)');
- Node25.a('node.borderwidth', 0);
- Node25.a('node.background','' || 'rgba(0,0,0,0)');
- Node25.a('node.gradient','');
- Node25.a('node.gradientcolor','');
- Node25.a('node.text','万kW');
- Node25.a('node.textalign','left');
- Node25.a('node.textvAlign','middle');
- Node25.a('node.textrect', [Node25textStart, 0, Node25textWidth, Node25height]);
- Node25.a('node.color','rgba(169,169,169,1)');
- Node25.a('node.font',' '+ Node25fontSize + 'px "Arial"');
- Node25.a('node.textvisible',true);
- Node25.a('node.linefeed',false);
- if (false) {
- Node25.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node25.a('node.text') || '万kW';
- var color=Node25.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node25width,Node25height,13.3333*_ratio.ratioY,"left",color,' '+ Node25fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node25.a('node.underlinepoints',[Node25lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node25fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node25fontSize + 'px "Arial"').width + 6, (Node25height - Node25fontSize) * 0.5*_ratio.ratioY + Node25fontSize + 2 ]);
- Node25.a('node.underlinevisible',false);
- Node25.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node25);
- zoomNodeList.push({
- node: Node25,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node26type = 'rect';
- var Node26 = new ht.Node(),
- Node26BorderWidth = 0*2;
- if (Node26type === 'arc') {
- Node26BorderWidth *= 0;
- }
- Node26.setImage(GD.getRectJSON(29*_ratio.ratioX, 122*_ratio.ratioY, Node26type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node26.setPosition(17*ratio.ratioX, 178*ratio.ratioY);
- Node26.setSize(29*_ratio.ratioX, 122*_ratio.ratioY);
- Node26.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node26.a('node.width', 29*_ratio.ratioX);
- Node26.a('node.height', 122*_ratio.ratioY);
- Node26.a('node.type', Node26type);
- Node26.a('node.rect', [0, 0, 29*_ratio.ratioX, 122*_ratio.ratioY]);
- Node26.a('node.background', 'rgba(0,132,255,1)');
- Node26.a('node.gradientcolor', 'rgba(0,132,255,1)');
- Node26.a('node.gradient', '');
- Node26.a('node.borderwidth', Node26BorderWidth);
- Node26.a('node.color', 'rgba(0,0,0,0)');
- Node26.a('node.fillrect', [0,0,0,0]);
- Node26.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node26.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node26.a('node.fillgradient', '');
- if (Node26type !== 'rect') {
- Node26.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node26.a('node.arcTo', parseFloat('@arcTo@'));
- Node26.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node26type === 'arc') {
- Node26.a('node.arcOval', true);
- }
- Node26.setRotation(0*Math.PI/180);
- Node26.borderWidth = Node26BorderWidth;
- Node26.borderFillwidth = Node26BorderWidth;
- dataModel.add(Node26);
- Node26._nodename = 'Node26'
- Node26._nodeType = 'rect';
- zoomNodeList.push({
- node: Node26,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node26, Node26.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node27 = new ht.Node();
- var Node27textStart, Node27textWidth, Node27lineStart, Node27align = 'center', Node27fontSize = 13.3333*_ratio.ratioY,Node27width = 13*_ratio.ratioX, Node27height = 98*_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('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node27align === 'center') {
- Node27textStart = -3;
- Node27textWidth = Node27width;
- Node27lineStart = Node27width - ht.Default.getTextSize('综合指标', 'bold '+ Node27fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node27.setImage(GD.getTextJSON(Node27width, Node27height, false, true, false, 'bold '+ Node27fontSize + 'px "Arial"'))
- Node27.setPosition(17*ratio.ratioX, 165*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(255,255,255,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(255,255,255,1)');
- Node27.a('node.font','bold '+ Node27fontSize + 'px "Arial"');
- Node27.a('node.textvisible',false);
- Node27.a('node.linefeed',true);
- if (true) {
- Node27.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node27.a('node.text') || '综合指标';
- var color=Node27.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node27width,Node27height,13.3333*_ratio.ratioY,"center",color,'bold '+ Node27fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node27.a('node.underlinepoints',[Node27lineStart, (98 - 13.3333) * 0.5 * _ratio.ratioY + Node27fontSize + 2 , ht.Default.getTextSize('综合指标', 'bold '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node28type = 'rect';
- var Node28 = new ht.Node(),
- Node28BorderWidth = 1*2;
- if (Node28type === 'arc') {
- Node28BorderWidth *= 1;
- }
- Node28.setImage(GD.getRectJSON(155*_ratio.ratioX, 122*_ratio.ratioY, Node28type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node28.setPosition(110*ratio.ratioX, 178*ratio.ratioY);
- Node28.setSize(155*_ratio.ratioX, 122*_ratio.ratioY);
- Node28.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node28.a('node.width', 155*_ratio.ratioX);
- Node28.a('node.height', 122*_ratio.ratioY);
- Node28.a('node.type', Node28type);
- Node28.a('node.rect', [0, 0, 155*_ratio.ratioX, 122*_ratio.ratioY]);
- Node28.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node28.a('node.gradientcolor', '');
- Node28.a('node.gradient', '');
- Node28.a('node.borderwidth', Node28BorderWidth);
- Node28.a('node.color', 'rgba(220,220,220,1)');
- Node28.a('node.fillrect', [0,0,0,0]);
- Node28.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node28.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node28.a('node.fillgradient', '');
- if (Node28type !== 'rect') {
- Node28.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node28.a('node.arcTo', parseFloat('@arcTo@'));
- Node28.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node28type === 'arc') {
- Node28.a('node.arcOval', true);
- }
- Node28.setRotation(0*Math.PI/180);
- Node28.borderWidth = Node28BorderWidth;
- Node28.borderFillwidth = Node28BorderWidth;
- dataModel.add(Node28);
- Node28._nodename = 'Node28'
- Node28._nodeType = 'rect';
- zoomNodeList.push({
- node: Node28,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node28, Node28.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node29type = 'rect';
- var Node29 = new ht.Node(),
- Node29BorderWidth = 0*2;
- if (Node29type === 'arc') {
- Node29BorderWidth *= 0;
- }
- Node29.setImage(GD.getRectJSON(145*_ratio.ratioX, 24*_ratio.ratioY, Node29type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node29.setPosition(109*ratio.ratioX, 129*ratio.ratioY);
- Node29.setSize(145*_ratio.ratioX, 24*_ratio.ratioY);
- Node29.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node29.a('node.width', 145*_ratio.ratioX);
- Node29.a('node.height', 24*_ratio.ratioY);
- Node29.a('node.type', Node29type);
- Node29.a('node.rect', [0, 0, 145*_ratio.ratioX, 24*_ratio.ratioY]);
- Node29.a('node.background', 'rgba(211,211,211,1)');
- Node29.a('node.gradientcolor', 'rgba(211,211,211,1)');
- Node29.a('node.gradient', '');
- Node29.a('node.borderwidth', Node29BorderWidth);
- Node29.a('node.color', 'rgba(0,0,0,0)');
- Node29.a('node.fillrect', [0,0,0,0]);
- Node29.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node29.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node29.a('node.fillgradient', '');
- if (Node29type !== 'rect') {
- Node29.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node29.a('node.arcTo', parseFloat('@arcTo@'));
- Node29.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node29type === 'arc') {
- Node29.a('node.arcOval', true);
- }
- Node29.setRotation(0*Math.PI/180);
- Node29.borderWidth = Node29BorderWidth;
- Node29.borderFillwidth = Node29BorderWidth;
- dataModel.add(Node29);
- Node29._nodename = 'Node29'
- Node29._nodeType = 'rect';
- zoomNodeList.push({
- node: Node29,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node29, Node29.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node30 = new ht.Node();
- var Node30textStart, Node30textWidth, Node30lineStart, Node30align = 'left', Node30fontSize = 15.99996*_ratio.ratioY,Node30width = 87*_ratio.ratioX, Node30height = 25*_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('安全天数', ' '+ Node30fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node30align === 'center') {
- Node30textStart = -3;
- Node30textWidth = Node30width;
- Node30lineStart = Node30width - ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node30.setImage(GD.getTextJSON(Node30width, Node30height, true, false, false, ' '+ Node30fontSize + 'px "Arial"'))
- Node30.setPosition(99*ratio.ratioX, 129*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',' '+ 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,15.99996*0.5*_ratio.ratioY,Node30width,Node30height,15.99996*_ratio.ratioY,"left",color,' '+ Node30fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node30.a('node.underlinepoints',[Node30lineStart, (25 - 15.99996) * 0.5 * _ratio.ratioY + Node30fontSize + 2 , ht.Default.getTextSize('安全天数', ' '+ Node30fontSize + 'px "Arial"').width + 6, (Node30height - Node30fontSize) * 0.5*_ratio.ratioY + Node30fontSize + 2 ]);
- Node30.a('node.underlinevisible',false);
- Node30.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node30);
- zoomNodeList.push({
- node: Node30,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node31type = 'rect';
- var Node31 = new ht.Node(),
- Node31BorderWidth = 0*2;
- if (Node31type === 'arc') {
- Node31BorderWidth *= 0;
- }
- Node31.setImage(GD.getRectJSON(32*_ratio.ratioX, 32*_ratio.ratioY, Node31type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node31.setPosition(166*ratio.ratioX, 222*ratio.ratioY);
- Node31.setSize(32*_ratio.ratioX, 32*_ratio.ratioY);
- Node31.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node31.a('node.width', 32*_ratio.ratioX);
- Node31.a('node.height', 32*_ratio.ratioY);
- Node31.a('node.type', Node31type);
- Node31.a('node.rect', [0, 0, 32*_ratio.ratioX, 32*_ratio.ratioY]);
- Node31.a('node.background', 'rgba(255,128,0,1)');
- Node31.a('node.gradientcolor', 'rgba(255,128,0,1)');
- Node31.a('node.gradient', '');
- Node31.a('node.borderwidth', Node31BorderWidth);
- Node31.a('node.color', 'rgba(0,0,0,0)');
- Node31.a('node.fillrect', [0,0,0,0]);
- Node31.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node31.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node31.a('node.fillgradient', '');
- if (Node31type !== 'rect') {
- Node31.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node31.a('node.arcTo', parseFloat('@arcTo@'));
- Node31.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node31type === 'arc') {
- Node31.a('node.arcOval', true);
- }
- Node31.setRotation(0*Math.PI/180);
- Node31.borderWidth = Node31BorderWidth;
- Node31.borderFillwidth = Node31BorderWidth;
- dataModel.add(Node31);
- Node31._nodename = 'Node31'
- Node31._nodeType = 'rect';
- zoomNodeList.push({
- node: Node31,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node31, Node31.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node32 = new ht.Node();
- var Node32textStart, Node32textWidth, Node32lineStart, Node32align = 'left', Node32fontSize = 15.99996*_ratio.ratioY,Node32width = 23*_ratio.ratioX, Node32height = 37*_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(164*ratio.ratioX, 222*ratio.ratioY);
- Node32.setWidth(Node32width);
- Node32.setHeight(Node32height);
- Node32._nodeType = 'text';
- Node32._disallowEvert = true;
- Node32.setRotation(0*Math.PI/180);
- Node32.a('node.width', Node32width);
- Node32.a('node.height', Node32height);
- Node32.a('node.rect', [0, 0, Node32width, Node32height]);
- Node32.a('node.bordercolor','rgba(255,255,255,1)');
- Node32.a('node.borderwidth', 0);
- Node32.a('node.background','' || 'rgba(0,0,0,0)');
- Node32.a('node.gradient','');
- Node32.a('node.gradientcolor','');
- Node32.a('node.text','天');
- Node32.a('node.textalign','left');
- Node32.a('node.textvAlign','middle');
- Node32.a('node.textrect', [Node32textStart, 0, Node32textWidth, Node32height]);
- Node32.a('node.color','rgba(255,255,255,1)');
- Node32.a('node.font',' '+ Node32fontSize + 'px "Arial"');
- Node32.a('node.textvisible',true);
- Node32.a('node.linefeed',false);
- if (false) {
- Node32.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node32.a('node.text') || '天';
- var color=Node32.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,15.99996*0.5*_ratio.ratioY,Node32width,Node32height,15.99996*_ratio.ratioY,"left",color,' '+ Node32fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node32.a('node.underlinepoints',[Node32lineStart, (37 - 15.99996) * 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 Node33 = new ht.Node();
- var Node33textStart, Node33textWidth, Node33lineStart, Node33align = 'left', Node33fontSize = 29.33326*_ratio.ratioY,Node33width = 87*_ratio.ratioX, Node33height = 37*_ratio.ratioY;
- (function () {
- if (Node33align === 'left') {
- Node33textStart = Node33fontSize * 0.2 > 2 ? Node33fontSize * 0.2 - 4 : Node33fontSize * 0.2 - 9;
- Node33textWidth = Node33width;
- Node33lineStart = 1;
- } else if (Node33align === 'right') {
- Node33textStart = 0;
- Node33textWidth =Node33fontSize <= 8 ? Node33width + Node33fontSize * 0.2 + 6 : Node33width - Node33fontSize * 0.2;
- Node33lineStart = (Node33width - (ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node33align === 'center') {
- Node33textStart = -3;
- Node33textWidth = Node33width;
- Node33lineStart = Node33width - ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node33.setImage(GD.getTextJSON(Node33width, Node33height, true, false, false, ' '+ Node33fontSize + 'px "Arial"'))
- Node33.setPosition(99*ratio.ratioX, 181*ratio.ratioY);
- Node33.setWidth(Node33width);
- Node33.setHeight(Node33height);
- Node33._nodeType = 'text';
- Node33._disallowEvert = true;
- Node33.setRotation(0*Math.PI/180);
- Node33.a('node.width', Node33width);
- Node33.a('node.height', Node33height);
- Node33.a('node.rect', [0, 0, Node33width, Node33height]);
- Node33.a('node.bordercolor','rgba(0,0,0,1)');
- Node33.a('node.borderwidth', 0);
- Node33.a('node.background','' || 'rgba(0,0,0,0)');
- Node33.a('node.gradient','');
- Node33.a('node.gradientcolor','');
- Node33.a('node.text','2974');
- Node33.a('node.textalign','left');
- Node33.a('node.textvAlign','middle');
- Node33.a('node.textrect', [Node33textStart, 0, Node33textWidth, Node33height]);
- Node33.a('node.color','rgba(0,0,0,1)');
- Node33.a('node.font',' '+ Node33fontSize + 'px "Arial"');
- Node33.a('node.textvisible',true);
- Node33.a('node.linefeed',false);
- if (false) {
- Node33.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node33.a('node.text') || '2974';
- var color=Node33.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,29.33326*0.5*_ratio.ratioY,Node33width,Node33height,29.33326*_ratio.ratioY,"left",color,' '+ Node33fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node33.a('node.underlinepoints',[Node33lineStart, (37 - 29.33326) * 0.5 * _ratio.ratioY + Node33fontSize + 2 , ht.Default.getTextSize('2974', ' '+ Node33fontSize + 'px "Arial"').width + 6, (Node33height - Node33fontSize) * 0.5*_ratio.ratioY + Node33fontSize + 2 ]);
- Node33.a('node.underlinevisible',false);
- Node33.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node33);
- zoomNodeList.push({
- node: Node33,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node34 = new ht.Node();
- var Node34textStart, Node34textWidth, Node34lineStart, Node34align = 'left', Node34fontSize = 13.3333*_ratio.ratioY,Node34width = 37*_ratio.ratioX, Node34height = 16*_ratio.ratioY;
- (function () {
- if (Node34align === 'left') {
- Node34textStart = Node34fontSize * 0.2 > 2 ? Node34fontSize * 0.2 - 4 : Node34fontSize * 0.2 - 9;
- Node34textWidth = Node34width;
- Node34lineStart = 1;
- } else if (Node34align === 'right') {
- Node34textStart = 0;
- Node34textWidth =Node34fontSize <= 8 ? Node34width + Node34fontSize * 0.2 + 6 : Node34width - Node34fontSize * 0.2;
- Node34lineStart = (Node34width - (ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node34align === 'center') {
- Node34textStart = -3;
- Node34textWidth = Node34width;
- Node34lineStart = Node34width - ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node34.setImage(GD.getTextJSON(Node34width, Node34height, true, false, false, 'bold '+ Node34fontSize + 'px "Arial"'))
- Node34.setPosition(357*ratio.ratioX, 226*ratio.ratioY);
- Node34.setWidth(Node34width);
- Node34.setHeight(Node34height);
- Node34._nodeType = 'text';
- Node34._disallowEvert = true;
- Node34.setRotation(0*Math.PI/180);
- Node34.a('node.width', Node34width);
- Node34.a('node.height', Node34height);
- Node34.a('node.rect', [0, 0, Node34width, Node34height]);
- Node34.a('node.bordercolor','rgba(0,0,0,1)');
- Node34.a('node.borderwidth', 0);
- Node34.a('node.background','' || 'rgba(0,0,0,0)');
- Node34.a('node.gradient','');
- Node34.a('node.gradientcolor','');
- Node34.a('node.text','-');
- Node34.a('node.textalign','left');
- Node34.a('node.textvAlign','middle');
- Node34.a('node.textrect', [Node34textStart, 0, Node34textWidth, Node34height]);
- Node34.a('node.color','rgba(0,0,0,1)');
- Node34.a('node.font','bold '+ Node34fontSize + 'px "Arial"');
- Node34.a('node.textvisible',true);
- Node34.a('node.linefeed',false);
- if (false) {
- Node34.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node34.a('node.text') || '-';
- var color=Node34.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node34width,Node34height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node34fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node34.a('node.underlinepoints',[Node34lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node34fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node34fontSize + 'px "Arial"').width + 6, (Node34height - Node34fontSize) * 0.5*_ratio.ratioY + Node34fontSize + 2 ]);
- Node34.a('node.underlinevisible',false);
- Node34.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node34);
- zoomNodeList.push({
- node: Node34,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node35 = new ht.Node();
- var Node35textStart, Node35textWidth, Node35lineStart, Node35align = 'left', Node35fontSize = 13.3333*_ratio.ratioY,Node35width = 47*_ratio.ratioX, Node35height = 17*_ratio.ratioY;
- (function () {
- if (Node35align === 'left') {
- Node35textStart = Node35fontSize * 0.2 > 2 ? Node35fontSize * 0.2 - 4 : Node35fontSize * 0.2 - 9;
- Node35textWidth = Node35width;
- Node35lineStart = 1;
- } else if (Node35align === 'right') {
- Node35textStart = 0;
- Node35textWidth =Node35fontSize <= 8 ? Node35width + Node35fontSize * 0.2 + 6 : Node35width - Node35fontSize * 0.2;
- Node35lineStart = (Node35width - (ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node35align === 'center') {
- Node35textStart = -3;
- Node35textWidth = Node35width;
- Node35lineStart = Node35width - ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node35.setImage(GD.getTextJSON(Node35width, Node35height, true, false, false, ' '+ Node35fontSize + 'px "Arial"'))
- Node35.setPosition(410*ratio.ratioX, 153*ratio.ratioY);
- Node35.setWidth(Node35width);
- Node35.setHeight(Node35height);
- Node35._nodeType = 'text';
- Node35._disallowEvert = true;
- Node35.setRotation(0*Math.PI/180);
- Node35.a('node.width', Node35width);
- Node35.a('node.height', Node35height);
- Node35.a('node.rect', [0, 0, Node35width, Node35height]);
- Node35.a('node.bordercolor','rgba(169,169,169,1)');
- Node35.a('node.borderwidth', 0);
- Node35.a('node.background','' || 'rgba(0,0,0,0)');
- Node35.a('node.gradient','');
- Node35.a('node.gradientcolor','');
- Node35.a('node.text','小时');
- Node35.a('node.textalign','left');
- Node35.a('node.textvAlign','middle');
- Node35.a('node.textrect', [Node35textStart, 0, Node35textWidth, Node35height]);
- Node35.a('node.color','rgba(169,169,169,1)');
- Node35.a('node.font',' '+ Node35fontSize + 'px "Arial"');
- Node35.a('node.textvisible',true);
- Node35.a('node.linefeed',false);
- if (false) {
- Node35.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node35.a('node.text') || '小时';
- var color=Node35.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node35width,Node35height,13.3333*_ratio.ratioY,"left",color,' '+ Node35fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node35.a('node.underlinepoints',[Node35lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node35fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node35fontSize + 'px "Arial"').width + 6, (Node35height - Node35fontSize) * 0.5*_ratio.ratioY + Node35fontSize + 2 ]);
- Node35.a('node.underlinevisible',false);
- Node35.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node35);
- zoomNodeList.push({
- node: Node35,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node36 = new ht.Node();
- var Node36textStart, Node36textWidth, Node36lineStart, Node36align = 'left', Node36fontSize = 13.3333*_ratio.ratioY,Node36width = 47*_ratio.ratioX, Node36height = 17*_ratio.ratioY;
- (function () {
- if (Node36align === 'left') {
- Node36textStart = Node36fontSize * 0.2 > 2 ? Node36fontSize * 0.2 - 4 : Node36fontSize * 0.2 - 9;
- Node36textWidth = Node36width;
- Node36lineStart = 1;
- } else if (Node36align === 'right') {
- Node36textStart = 0;
- Node36textWidth =Node36fontSize <= 8 ? Node36width + Node36fontSize * 0.2 + 6 : Node36width - Node36fontSize * 0.2;
- Node36lineStart = (Node36width - (ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node36align === 'center') {
- Node36textStart = -3;
- Node36textWidth = Node36width;
- Node36lineStart = Node36width - ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node36.setImage(GD.getTextJSON(Node36width, Node36height, true, false, false, ' '+ Node36fontSize + 'px "Arial"'))
- Node36.setPosition(410*ratio.ratioX, 178*ratio.ratioY);
- Node36.setWidth(Node36width);
- Node36.setHeight(Node36height);
- Node36._nodeType = 'text';
- Node36._disallowEvert = true;
- Node36.setRotation(0*Math.PI/180);
- Node36.a('node.width', Node36width);
- Node36.a('node.height', Node36height);
- Node36.a('node.rect', [0, 0, Node36width, Node36height]);
- Node36.a('node.bordercolor','rgba(169,169,169,1)');
- Node36.a('node.borderwidth', 0);
- Node36.a('node.background','' || 'rgba(0,0,0,0)');
- Node36.a('node.gradient','');
- Node36.a('node.gradientcolor','');
- Node36.a('node.text','小时');
- Node36.a('node.textalign','left');
- Node36.a('node.textvAlign','middle');
- Node36.a('node.textrect', [Node36textStart, 0, Node36textWidth, Node36height]);
- Node36.a('node.color','rgba(169,169,169,1)');
- Node36.a('node.font',' '+ Node36fontSize + 'px "Arial"');
- Node36.a('node.textvisible',true);
- Node36.a('node.linefeed',false);
- if (false) {
- Node36.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node36.a('node.text') || '小时';
- var color=Node36.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node36width,Node36height,13.3333*_ratio.ratioY,"left",color,' '+ Node36fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node36.a('node.underlinepoints',[Node36lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node36fontSize + 2 , ht.Default.getTextSize('小时', ' '+ Node36fontSize + 'px "Arial"').width + 6, (Node36height - Node36fontSize) * 0.5*_ratio.ratioY + Node36fontSize + 2 ]);
- Node36.a('node.underlinevisible',false);
- Node36.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node36);
- zoomNodeList.push({
- node: Node36,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node37 = new ht.Node();
- var Node37textStart, Node37textWidth, Node37lineStart, Node37align = 'left', Node37fontSize = 13.3333*_ratio.ratioY,Node37width = 47*_ratio.ratioX, Node37height = 17*_ratio.ratioY;
- (function () {
- if (Node37align === 'left') {
- Node37textStart = Node37fontSize * 0.2 > 2 ? Node37fontSize * 0.2 - 4 : Node37fontSize * 0.2 - 9;
- Node37textWidth = Node37width;
- Node37lineStart = 1;
- } else if (Node37align === 'right') {
- Node37textStart = 0;
- Node37textWidth =Node37fontSize <= 8 ? Node37width + Node37fontSize * 0.2 + 6 : Node37width - Node37fontSize * 0.2;
- Node37lineStart = (Node37width - (ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node37align === 'center') {
- Node37textStart = -3;
- Node37textWidth = Node37width;
- Node37lineStart = Node37width - ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node37.setImage(GD.getTextJSON(Node37width, Node37height, true, false, false, ' '+ Node37fontSize + 'px "Arial"'))
- Node37.setPosition(410*ratio.ratioX, 205*ratio.ratioY);
- Node37.setWidth(Node37width);
- Node37.setHeight(Node37height);
- Node37._nodeType = 'text';
- Node37._disallowEvert = true;
- Node37.setRotation(0*Math.PI/180);
- Node37.a('node.width', Node37width);
- Node37.a('node.height', Node37height);
- Node37.a('node.rect', [0, 0, Node37width, Node37height]);
- Node37.a('node.bordercolor','rgba(169,169,169,1)');
- Node37.a('node.borderwidth', 0);
- Node37.a('node.background','' || 'rgba(0,0,0,0)');
- Node37.a('node.gradient','');
- Node37.a('node.gradientcolor','');
- Node37.a('node.text','%');
- Node37.a('node.textalign','left');
- Node37.a('node.textvAlign','middle');
- Node37.a('node.textrect', [Node37textStart, 0, Node37textWidth, Node37height]);
- Node37.a('node.color','rgba(169,169,169,1)');
- Node37.a('node.font',' '+ Node37fontSize + 'px "Arial"');
- Node37.a('node.textvisible',true);
- Node37.a('node.linefeed',false);
- if (false) {
- Node37.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node37.a('node.text') || '%';
- var color=Node37.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node37width,Node37height,13.3333*_ratio.ratioY,"left",color,' '+ Node37fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node37.a('node.underlinepoints',[Node37lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node37fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node37fontSize + 'px "Arial"').width + 6, (Node37height - Node37fontSize) * 0.5*_ratio.ratioY + Node37fontSize + 2 ]);
- Node37.a('node.underlinevisible',false);
- Node37.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node37);
- zoomNodeList.push({
- node: Node37,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node38 = new ht.Node();
- var Node38textStart, Node38textWidth, Node38lineStart, Node38align = 'left', Node38fontSize = 13.3333*_ratio.ratioY,Node38width = 47*_ratio.ratioX, Node38height = 17*_ratio.ratioY;
- (function () {
- if (Node38align === 'left') {
- Node38textStart = Node38fontSize * 0.2 > 2 ? Node38fontSize * 0.2 - 4 : Node38fontSize * 0.2 - 9;
- Node38textWidth = Node38width;
- Node38lineStart = 1;
- } else if (Node38align === 'right') {
- Node38textStart = 0;
- Node38textWidth =Node38fontSize <= 8 ? Node38width + Node38fontSize * 0.2 + 6 : Node38width - Node38fontSize * 0.2;
- Node38lineStart = (Node38width - (ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node38align === 'center') {
- Node38textStart = -3;
- Node38textWidth = Node38width;
- Node38lineStart = Node38width - ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node38.setImage(GD.getTextJSON(Node38width, Node38height, true, false, false, ' '+ Node38fontSize + 'px "Arial"'))
- Node38.setPosition(410*ratio.ratioX, 227*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(169,169,169,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(169,169,169,1)');
- Node38.a('node.font',' '+ Node38fontSize + 'px "Arial"');
- Node38.a('node.textvisible',true);
- Node38.a('node.linefeed',false);
- if (false) {
- Node38.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node38.a('node.text') || '%';
- var color=Node38.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node38width,Node38height,13.3333*_ratio.ratioY,"left",color,' '+ Node38fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node38.a('node.underlinepoints',[Node38lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node38fontSize + 2 , ht.Default.getTextSize('%', ' '+ Node38fontSize + 'px "Arial"').width + 6, (Node38height - Node38fontSize) * 0.5*_ratio.ratioY + Node38fontSize + 2 ]);
- Node38.a('node.underlinevisible',false);
- Node38.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node38);
- zoomNodeList.push({
- node: Node38,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node39points=[189, 142,466, 142],
- Node39rect=ht.Default.unionPoint([{x:189,y:142},{x:466,y:142}]),
- Node39compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node39points.length;i++){
- if(i%2==0){
- Node39compspts.push(Node39points[i]-Node39rect.x);
- }else{
- Node39compspts.push(Node39points[i]-Node39rect.y);
- }
- }
- var Node39ptslength=Node39compspts.length;
- if (Node39rect.height === 0) {
- Node39compspts[0] -= 0;
- Node39compspts[Node39ptslength-2] += 0;
- } else if (Node39rect.width === 0){
- Node39compspts[1] -= 0;
- Node39compspts[Node39ptslength-1] += 0;
- } else {
- Node39compspts[0] -= 0;
- Node39compspts[1] -= 0;
- Node39compspts[Node39ptslength-2] += 0;
- Node39compspts[Node39ptslength-1] += 0;
- }
- Node39 = new ht.Node();
- Node39.borderWidth = 1;
- Node39rect.width = Node39rect.width === 0 ? 0.0001 : Node39rect.width;
- Node39rect.height = Node39rect.height === 0 ? 0.0001 : Node39rect.height;
- var Node39endCompspts = [Node39compspts[Node39ptslength-2],Node39compspts[Node39ptslength-1],0,0];
- var Node39startCompspts = [Node39compspts[0],Node39compspts[1],0,0];
- Node39.setImage(GD.getPolyLineJSON());
- Node39.setPosition(Node39rect.x+Node39rect.width/2,Node39rect.y+Node39rect.height/2);
- Node39.setSize(Node39rect.width,Node39rect.height);
- Node39.setStyle("opacity",1);
- Node39.s({'pixelPerfect':true});
- Node39borderwidth=1;
- Node39.setRotation(0);
- dataModel.add(Node39);
- Node39.a('node.points',Node39compspts);
- Node39.a('node.segments',[1,2]);
- Node39.a('node.color','rgba(220,220,220,1)');
- Node39.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node39.a('node.borderColor','rgba(220,220,220,1)');
- Node39.a('node.background','rgba(220,220,220,1)');
- Node39.a('node.gradient','');
- Node39.a('node.gradientcolor','rgba(220,220,220,1)');
- Node39.a('node.endCompspts',Node39endCompspts);
- Node39.a('node.startCompspts',Node39startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node39';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node39, Node39.getImage(), Node39compspts, Node39endCompspts, Node39startCompspts);
- var Node40points=[187, 168,464, 168],
- Node40rect=ht.Default.unionPoint([{x:187,y:168},{x:464,y:168}]),
- Node40compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node40points.length;i++){
- if(i%2==0){
- Node40compspts.push(Node40points[i]-Node40rect.x);
- }else{
- Node40compspts.push(Node40points[i]-Node40rect.y);
- }
- }
- var Node40ptslength=Node40compspts.length;
- if (Node40rect.height === 0) {
- Node40compspts[0] -= 0;
- Node40compspts[Node40ptslength-2] += 0;
- } else if (Node40rect.width === 0){
- Node40compspts[1] -= 0;
- Node40compspts[Node40ptslength-1] += 0;
- } else {
- Node40compspts[0] -= 0;
- Node40compspts[1] -= 0;
- Node40compspts[Node40ptslength-2] += 0;
- Node40compspts[Node40ptslength-1] += 0;
- }
- Node40 = new ht.Node();
- Node40.borderWidth = 1;
- Node40rect.width = Node40rect.width === 0 ? 0.0001 : Node40rect.width;
- Node40rect.height = Node40rect.height === 0 ? 0.0001 : Node40rect.height;
- var Node40endCompspts = [Node40compspts[Node40ptslength-2],Node40compspts[Node40ptslength-1],0,0];
- var Node40startCompspts = [Node40compspts[0],Node40compspts[1],0,0];
- Node40.setImage(GD.getPolyLineJSON());
- Node40.setPosition(Node40rect.x+Node40rect.width/2,Node40rect.y+Node40rect.height/2);
- Node40.setSize(Node40rect.width,Node40rect.height);
- Node40.setStyle("opacity",1);
- Node40.s({'pixelPerfect':true});
- Node40borderwidth=1;
- Node40.setRotation(0);
- dataModel.add(Node40);
- Node40.a('node.points',Node40compspts);
- Node40.a('node.segments',[1,2]);
- Node40.a('node.color','rgba(220,220,220,1)');
- Node40.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node40.a('node.borderColor','rgba(220,220,220,1)');
- Node40.a('node.background','rgba(220,220,220,1)');
- Node40.a('node.gradient','');
- Node40.a('node.gradientcolor','rgba(220,220,220,1)');
- Node40.a('node.endCompspts',Node40endCompspts);
- Node40.a('node.startCompspts',Node40startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node40';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node40, Node40.getImage(), Node40compspts, Node40endCompspts, Node40startCompspts);
- var Node41points=[189, 192,466, 192],
- Node41rect=ht.Default.unionPoint([{x:189,y:192},{x:466,y:192}]),
- Node41compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node41points.length;i++){
- if(i%2==0){
- Node41compspts.push(Node41points[i]-Node41rect.x);
- }else{
- Node41compspts.push(Node41points[i]-Node41rect.y);
- }
- }
- var Node41ptslength=Node41compspts.length;
- if (Node41rect.height === 0) {
- Node41compspts[0] -= 0;
- Node41compspts[Node41ptslength-2] += 0;
- } else if (Node41rect.width === 0){
- Node41compspts[1] -= 0;
- Node41compspts[Node41ptslength-1] += 0;
- } else {
- Node41compspts[0] -= 0;
- Node41compspts[1] -= 0;
- Node41compspts[Node41ptslength-2] += 0;
- Node41compspts[Node41ptslength-1] += 0;
- }
- Node41 = new ht.Node();
- Node41.borderWidth = 1;
- Node41rect.width = Node41rect.width === 0 ? 0.0001 : Node41rect.width;
- Node41rect.height = Node41rect.height === 0 ? 0.0001 : Node41rect.height;
- var Node41endCompspts = [Node41compspts[Node41ptslength-2],Node41compspts[Node41ptslength-1],0,0];
- var Node41startCompspts = [Node41compspts[0],Node41compspts[1],0,0];
- Node41.setImage(GD.getPolyLineJSON());
- Node41.setPosition(Node41rect.x+Node41rect.width/2,Node41rect.y+Node41rect.height/2);
- Node41.setSize(Node41rect.width,Node41rect.height);
- Node41.setStyle("opacity",1);
- Node41.s({'pixelPerfect':true});
- Node41borderwidth=1;
- Node41.setRotation(0);
- dataModel.add(Node41);
- Node41.a('node.points',Node41compspts);
- Node41.a('node.segments',[1,2]);
- Node41.a('node.color','rgba(220,220,220,1)');
- Node41.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node41.a('node.borderColor','rgba(220,220,220,1)');
- Node41.a('node.background','rgba(220,220,220,1)');
- Node41.a('node.gradient','');
- Node41.a('node.gradientcolor','rgba(220,220,220,1)');
- Node41.a('node.endCompspts',Node41endCompspts);
- Node41.a('node.startCompspts',Node41startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node41';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node41, Node41.getImage(), Node41compspts, Node41endCompspts, Node41startCompspts);
- var Node42points=[189, 215,466, 215],
- Node42rect=ht.Default.unionPoint([{x:189,y:215},{x:466,y:215}]),
- Node42compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node42points.length;i++){
- if(i%2==0){
- Node42compspts.push(Node42points[i]-Node42rect.x);
- }else{
- Node42compspts.push(Node42points[i]-Node42rect.y);
- }
- }
- var Node42ptslength=Node42compspts.length;
- if (Node42rect.height === 0) {
- Node42compspts[0] -= 0;
- Node42compspts[Node42ptslength-2] += 0;
- } else if (Node42rect.width === 0){
- Node42compspts[1] -= 0;
- Node42compspts[Node42ptslength-1] += 0;
- } else {
- Node42compspts[0] -= 0;
- Node42compspts[1] -= 0;
- Node42compspts[Node42ptslength-2] += 0;
- Node42compspts[Node42ptslength-1] += 0;
- }
- Node42 = new ht.Node();
- Node42.borderWidth = 1;
- Node42rect.width = Node42rect.width === 0 ? 0.0001 : Node42rect.width;
- Node42rect.height = Node42rect.height === 0 ? 0.0001 : Node42rect.height;
- var Node42endCompspts = [Node42compspts[Node42ptslength-2],Node42compspts[Node42ptslength-1],0,0];
- var Node42startCompspts = [Node42compspts[0],Node42compspts[1],0,0];
- Node42.setImage(GD.getPolyLineJSON());
- Node42.setPosition(Node42rect.x+Node42rect.width/2,Node42rect.y+Node42rect.height/2);
- Node42.setSize(Node42rect.width,Node42rect.height);
- Node42.setStyle("opacity",1);
- Node42.s({'pixelPerfect':true});
- Node42borderwidth=1;
- Node42.setRotation(0);
- dataModel.add(Node42);
- Node42.a('node.points',Node42compspts);
- Node42.a('node.segments',[1,2]);
- Node42.a('node.color','rgba(220,220,220,1)');
- Node42.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node42.a('node.borderColor','rgba(220,220,220,1)');
- Node42.a('node.background','rgba(220,220,220,1)');
- Node42.a('node.gradient','');
- Node42.a('node.gradientcolor','rgba(220,220,220,1)');
- Node42.a('node.endCompspts',Node42endCompspts);
- Node42.a('node.startCompspts',Node42startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node42';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node42, Node42.getImage(), Node42compspts, Node42endCompspts, Node42startCompspts);
- _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(120*_ratio.ratioX, 120*_ratio.ratioY, Node43type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node43.setPosition(531*ratio.ratioX, 178*ratio.ratioY);
- Node43.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
- Node43.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node43.a('node.width', 120*_ratio.ratioX);
- Node43.a('node.height', 120*_ratio.ratioY);
- Node43.a('node.type', Node43type);
- Node43.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
- Node43.a('node.background', 'rgba(245,245,245,1)');
- Node43.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node43.a('node.gradient', '');
- Node43.a('node.borderwidth', Node43BorderWidth);
- Node43.a('node.color', 'rgba(220,220,220,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(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node44type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node44.setPosition(610*ratio.ratioX, 178*ratio.ratioY);
- Node44.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
- Node44.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node44.a('node.width', 280.7278*_ratio.ratioX);
- Node44.a('node.height', 122*_ratio.ratioY);
- Node44.a('node.type', Node44type);
- Node44.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
- Node44.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node44.a('node.gradientcolor', '');
- Node44.a('node.gradient', '');
- Node44.a('node.borderwidth', Node44BorderWidth);
- Node44.a('node.color', 'rgba(220,220,220,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());var Node45points=[661, 118,661, 238],
- Node45rect=ht.Default.unionPoint([{x:661,y:118},{x:661,y:238}]),
- Node45compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node45points.length;i++){
- if(i%2==0){
- Node45compspts.push(Node45points[i]-Node45rect.x);
- }else{
- Node45compspts.push(Node45points[i]-Node45rect.y);
- }
- }
- var Node45ptslength=Node45compspts.length;
- if (Node45rect.height === 0) {
- Node45compspts[0] -= 0;
- Node45compspts[Node45ptslength-2] += 0;
- } else if (Node45rect.width === 0){
- Node45compspts[1] -= 0;
- Node45compspts[Node45ptslength-1] += 0;
- } else {
- Node45compspts[0] -= 0;
- Node45compspts[1] -= 0;
- Node45compspts[Node45ptslength-2] += 0;
- Node45compspts[Node45ptslength-1] += 0;
- }
- Node45 = new ht.Node();
- Node45.borderWidth = 1;
- Node45rect.width = Node45rect.width === 0 ? 0.0001 : Node45rect.width;
- Node45rect.height = Node45rect.height === 0 ? 0.0001 : Node45rect.height;
- var Node45endCompspts = [Node45compspts[Node45ptslength-2],Node45compspts[Node45ptslength-1],0,0];
- var Node45startCompspts = [Node45compspts[0],Node45compspts[1],0,0];
- Node45.setImage(GD.getPolyLineJSON());
- Node45.setPosition(Node45rect.x+Node45rect.width/2,Node45rect.y+Node45rect.height/2);
- Node45.setSize(Node45rect.width,Node45rect.height);
- Node45.setStyle("opacity",1);
- Node45.s({'pixelPerfect':true});
- Node45borderwidth=1;
- Node45.setRotation(0);
- dataModel.add(Node45);
- Node45.a('node.points',Node45compspts);
- Node45.a('node.segments',[1,2]);
- Node45.a('node.color','rgba(220,220,220,1)');
- Node45.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node45.a('node.borderColor','rgba(220,220,220,1)');
- Node45.a('node.background','rgba(220,220,220,1)');
- Node45.a('node.gradient','');
- Node45.a('node.gradientcolor','rgba(220,220,220,1)');
- Node45.a('node.endCompspts',Node45endCompspts);
- Node45.a('node.startCompspts',Node45startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node45';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node45, Node45.getImage(), Node45compspts, Node45endCompspts, Node45startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node46 = new ht.Node();
- var Node46textStart, Node46textWidth, Node46lineStart, Node46align = 'left', Node46fontSize = 13.3333*_ratio.ratioY,Node46width = 82*_ratio.ratioX, Node46height = 27*_ratio.ratioY;
- (function () {
- if (Node46align === 'left') {
- Node46textStart = Node46fontSize * 0.2 > 2 ? Node46fontSize * 0.2 - 4 : Node46fontSize * 0.2 - 9;
- Node46textWidth = Node46width;
- Node46lineStart = 1;
- } else if (Node46align === 'right') {
- Node46textStart = 0;
- Node46textWidth =Node46fontSize <= 8 ? Node46width + Node46fontSize * 0.2 + 6 : Node46width - Node46fontSize * 0.2;
- Node46lineStart = (Node46width - (ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node46align === 'center') {
- Node46textStart = -3;
- Node46textWidth = Node46width;
- Node46lineStart = Node46width - ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node46.setImage(GD.getTextJSON(Node46width, Node46height, true, false, false, ' '+ Node46fontSize + 'px "Arial"'))
- Node46.setPosition(516*ratio.ratioX, 128*ratio.ratioY);
- Node46.setWidth(Node46width);
- Node46.setHeight(Node46height);
- Node46._nodeType = 'text';
- Node46._disallowEvert = true;
- Node46.setRotation(0*Math.PI/180);
- Node46.a('node.width', Node46width);
- Node46.a('node.height', Node46height);
- Node46.a('node.rect', [0, 0, Node46width, Node46height]);
- Node46.a('node.bordercolor','rgba(0,0,0,1)');
- Node46.a('node.borderwidth', 0);
- Node46.a('node.background','' || 'rgba(0,0,0,0)');
- Node46.a('node.gradient','');
- Node46.a('node.gradientcolor','');
- Node46.a('node.text','日发电量');
- Node46.a('node.textalign','left');
- Node46.a('node.textvAlign','middle');
- Node46.a('node.textrect', [Node46textStart, 0, Node46textWidth, Node46height]);
- Node46.a('node.color','rgba(0,0,0,1)');
- Node46.a('node.font',' '+ Node46fontSize + 'px "Arial"');
- Node46.a('node.textvisible',true);
- Node46.a('node.linefeed',false);
- if (false) {
- Node46.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node46.a('node.text') || '日发电量';
- var color=Node46.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node46width,Node46height,13.3333*_ratio.ratioY,"left",color,' '+ Node46fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node46.a('node.underlinepoints',[Node46lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node46fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node46fontSize + 'px "Arial"').width + 6, (Node46height - Node46fontSize) * 0.5*_ratio.ratioY + Node46fontSize + 2 ]);
- Node46.a('node.underlinevisible',false);
- Node46.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node46);
- zoomNodeList.push({
- node: Node46,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node47 = new ht.Node();
- var Node47textStart, Node47textWidth, Node47lineStart, Node47align = 'left', Node47fontSize = 13.3333*_ratio.ratioY,Node47width = 82*_ratio.ratioX, Node47height = 27*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node47align === 'center') {
- Node47textStart = -3;
- Node47textWidth = Node47width;
- Node47lineStart = Node47width - ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node47.setImage(GD.getTextJSON(Node47width, Node47height, true, false, false, ' '+ Node47fontSize + 'px "Arial"'))
- Node47.setPosition(516*ratio.ratioX, 154*ratio.ratioY);
- Node47.setWidth(Node47width);
- Node47.setHeight(Node47height);
- Node47._nodeType = 'text';
- Node47._disallowEvert = true;
- Node47.setRotation(0*Math.PI/180);
- Node47.a('node.width', Node47width);
- Node47.a('node.height', Node47height);
- Node47.a('node.rect', [0, 0, Node47width, Node47height]);
- Node47.a('node.bordercolor','rgba(0,0,0,1)');
- Node47.a('node.borderwidth', 0);
- Node47.a('node.background','' || 'rgba(0,0,0,0)');
- Node47.a('node.gradient','');
- Node47.a('node.gradientcolor','');
- Node47.a('node.text','月发电量');
- Node47.a('node.textalign','left');
- Node47.a('node.textvAlign','middle');
- Node47.a('node.textrect', [Node47textStart, 0, Node47textWidth, Node47height]);
- Node47.a('node.color','rgba(0,0,0,1)');
- Node47.a('node.font',' '+ Node47fontSize + 'px "Arial"');
- Node47.a('node.textvisible',true);
- Node47.a('node.linefeed',false);
- if (false) {
- Node47.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node47.a('node.text') || '月发电量';
- var color=Node47.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node47width,Node47height,13.3333*_ratio.ratioY,"left",color,' '+ Node47fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node47.a('node.underlinepoints',[Node47lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node47fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node47fontSize + 'px "Arial"').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 = 'left', Node48fontSize = 13.3333*_ratio.ratioY,Node48width = 82*_ratio.ratioX, Node48height = 27*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node48align === 'center') {
- Node48textStart = -3;
- Node48textWidth = Node48width;
- Node48lineStart = Node48width - ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node48.setImage(GD.getTextJSON(Node48width, Node48height, true, false, false, ' '+ Node48fontSize + 'px "Arial"'))
- Node48.setPosition(516*ratio.ratioX, 178*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(0,0,0,0)');
- Node48.a('node.gradient','');
- Node48.a('node.gradientcolor','');
- Node48.a('node.text','年发电量');
- Node48.a('node.textalign','left');
- 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 "Arial"');
- 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,"left",color,' '+ Node48fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node48.a('node.underlinepoints',[Node48lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node48fontSize + 2 , ht.Default.getTextSize('年发电量', ' '+ Node48fontSize + 'px "Arial"').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 = 'left', Node49fontSize = 13.3333*_ratio.ratioY,Node49width = 110*_ratio.ratioX, Node49height = 27*_ratio.ratioY;
- (function () {
- if (Node49align === 'left') {
- Node49textStart = Node49fontSize * 0.2 > 2 ? Node49fontSize * 0.2 - 4 : Node49fontSize * 0.2 - 9;
- Node49textWidth = Node49width;
- Node49lineStart = 1;
- } else if (Node49align === 'right') {
- Node49textStart = 0;
- Node49textWidth =Node49fontSize <= 8 ? Node49width + Node49fontSize * 0.2 + 6 : Node49width - Node49fontSize * 0.2;
- Node49lineStart = (Node49width - (ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node49align === 'center') {
- Node49textStart = -3;
- Node49textWidth = Node49width;
- Node49lineStart = Node49width - ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node49.setImage(GD.getTextJSON(Node49width, Node49height, true, false, false, ' '+ Node49fontSize + 'px "Arial"'))
- Node49.setPosition(530*ratio.ratioX, 201*ratio.ratioY);
- Node49.setWidth(Node49width);
- Node49.setHeight(Node49height);
- Node49._nodeType = 'text';
- Node49._disallowEvert = true;
- Node49.setRotation(0*Math.PI/180);
- Node49.a('node.width', Node49width);
- Node49.a('node.height', Node49height);
- Node49.a('node.rect', [0, 0, Node49width, Node49height]);
- Node49.a('node.bordercolor','rgba(0,0,0,1)');
- Node49.a('node.borderwidth', 0);
- Node49.a('node.background','' || 'rgba(0,0,0,0)');
- Node49.a('node.gradient','');
- Node49.a('node.gradientcolor','');
- Node49.a('node.text','减排二氧化碳');
- Node49.a('node.textalign','left');
- 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 "Arial"');
- Node49.a('node.textvisible',true);
- Node49.a('node.linefeed',false);
- if (false) {
- Node49.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node49.a('node.text') || '减排二氧化碳';
- var color=Node49.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node49width,Node49height,13.3333*_ratio.ratioY,"left",color,' '+ Node49fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node49.a('node.underlinepoints',[Node49lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node49fontSize + 2 , ht.Default.getTextSize('减排二氧化碳', ' '+ Node49fontSize + 'px "Arial"').width + 6, (Node49height - Node49fontSize) * 0.5*_ratio.ratioY + Node49fontSize + 2 ]);
- Node49.a('node.underlinevisible',false);
- Node49.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node49);
- zoomNodeList.push({
- node: Node49,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node50 = new ht.Node();
- var Node50textStart, Node50textWidth, Node50lineStart, Node50align = 'left', Node50fontSize = 13.3333*_ratio.ratioY,Node50width = 125*_ratio.ratioX, Node50height = 27*_ratio.ratioY;
- (function () {
- if (Node50align === 'left') {
- Node50textStart = Node50fontSize * 0.2 > 2 ? Node50fontSize * 0.2 - 4 : Node50fontSize * 0.2 - 9;
- Node50textWidth = Node50width;
- Node50lineStart = 1;
- } else if (Node50align === 'right') {
- Node50textStart = 0;
- Node50textWidth =Node50fontSize <= 8 ? Node50width + Node50fontSize * 0.2 + 6 : Node50width - Node50fontSize * 0.2;
- Node50lineStart = (Node50width - (ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node50align === 'center') {
- Node50textStart = -3;
- Node50textWidth = Node50width;
- Node50lineStart = Node50width - ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node50.setImage(GD.getTextJSON(Node50width, Node50height, true, false, false, ' '+ Node50fontSize + 'px "Arial"'))
- Node50.setPosition(537*ratio.ratioX, 226*ratio.ratioY);
- Node50.setWidth(Node50width);
- Node50.setHeight(Node50height);
- Node50._nodeType = 'text';
- Node50._disallowEvert = true;
- Node50.setRotation(0*Math.PI/180);
- Node50.a('node.width', Node50width);
- Node50.a('node.height', Node50height);
- Node50.a('node.rect', [0, 0, Node50width, Node50height]);
- Node50.a('node.bordercolor','rgba(0,0,0,1)');
- Node50.a('node.borderwidth', 0);
- Node50.a('node.background','' || 'rgba(0,0,0,0)');
- Node50.a('node.gradient','');
- Node50.a('node.gradientcolor','');
- Node50.a('node.text','减排二氧化硫');
- Node50.a('node.textalign','left');
- 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 "Arial"');
- Node50.a('node.textvisible',true);
- Node50.a('node.linefeed',false);
- if (false) {
- Node50.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node50.a('node.text') || '减排二氧化硫';
- var color=Node50.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node50width,Node50height,13.3333*_ratio.ratioY,"left",color,' '+ Node50fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node50.a('node.underlinepoints',[Node50lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node50fontSize + 2 , ht.Default.getTextSize('减排二氧化硫', ' '+ Node50fontSize + 'px "Arial"').width + 6, (Node50height - Node50fontSize) * 0.5*_ratio.ratioY + Node50fontSize + 2 ]);
- Node50.a('node.underlinevisible',false);
- Node50.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node50);
- zoomNodeList.push({
- node: Node50,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node51 = new ht.Node();
- var Node51textStart, Node51textWidth, Node51lineStart, Node51align = 'left', Node51fontSize = 13.3333*_ratio.ratioY,Node51width = 37*_ratio.ratioX, Node51height = 16*_ratio.ratioY;
- (function () {
- if (Node51align === 'left') {
- Node51textStart = Node51fontSize * 0.2 > 2 ? Node51fontSize * 0.2 - 4 : Node51fontSize * 0.2 - 9;
- Node51textWidth = Node51width;
- Node51lineStart = 1;
- } else if (Node51align === 'right') {
- Node51textStart = 0;
- Node51textWidth =Node51fontSize <= 8 ? Node51width + Node51fontSize * 0.2 + 6 : Node51width - Node51fontSize * 0.2;
- Node51lineStart = (Node51width - (ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node51align === 'center') {
- Node51textStart = -3;
- Node51textWidth = Node51width;
- Node51lineStart = Node51width - ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node51.setImage(GD.getTextJSON(Node51width, Node51height, true, false, false, 'bold '+ Node51fontSize + 'px "Arial"'))
- Node51.setPosition(626*ratio.ratioX, 128*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(0,0,0,1)');
- Node51.a('node.borderwidth', 0);
- Node51.a('node.background','' || 'rgba(0,0,0,0)');
- Node51.a('node.gradient','');
- Node51.a('node.gradientcolor','');
- Node51.a('node.text','0');
- Node51.a('node.textalign','left');
- Node51.a('node.textvAlign','middle');
- Node51.a('node.textrect', [Node51textStart, 0, Node51textWidth, Node51height]);
- Node51.a('node.color','rgba(0,0,0,1)');
- Node51.a('node.font','bold '+ Node51fontSize + 'px "Arial"');
- Node51.a('node.textvisible',true);
- Node51.a('node.linefeed',false);
- if (false) {
- Node51.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node51.a('node.text') || '0';
- var color=Node51.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node51width,Node51height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node51fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node51.a('node.underlinepoints',[Node51lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node51fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node51fontSize + 'px "Arial"').width + 6, (Node51height - Node51fontSize) * 0.5*_ratio.ratioY + Node51fontSize + 2 ]);
- Node51.a('node.underlinevisible',false);
- Node51.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node51);
- zoomNodeList.push({
- node: Node51,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node52 = new ht.Node();
- var Node52textStart, Node52textWidth, Node52lineStart, Node52align = 'left', Node52fontSize = 13.3333*_ratio.ratioY,Node52width = 37*_ratio.ratioX, Node52height = 16*_ratio.ratioY;
- (function () {
- if (Node52align === 'left') {
- Node52textStart = Node52fontSize * 0.2 > 2 ? Node52fontSize * 0.2 - 4 : Node52fontSize * 0.2 - 9;
- Node52textWidth = Node52width;
- Node52lineStart = 1;
- } else if (Node52align === 'right') {
- Node52textStart = 0;
- Node52textWidth =Node52fontSize <= 8 ? Node52width + Node52fontSize * 0.2 + 6 : Node52width - Node52fontSize * 0.2;
- Node52lineStart = (Node52width - (ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node52align === 'center') {
- Node52textStart = -3;
- Node52textWidth = Node52width;
- Node52lineStart = Node52width - ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node52.setImage(GD.getTextJSON(Node52width, Node52height, true, false, false, 'bold '+ Node52fontSize + 'px "Arial"'))
- Node52.setPosition(626*ratio.ratioX, 152*ratio.ratioY);
- Node52.setWidth(Node52width);
- Node52.setHeight(Node52height);
- Node52._nodeType = 'text';
- Node52._disallowEvert = true;
- Node52.setRotation(0*Math.PI/180);
- Node52.a('node.width', Node52width);
- Node52.a('node.height', Node52height);
- Node52.a('node.rect', [0, 0, Node52width, Node52height]);
- Node52.a('node.bordercolor','rgba(0,0,0,1)');
- Node52.a('node.borderwidth', 0);
- Node52.a('node.background','' || 'rgba(0,0,0,0)');
- Node52.a('node.gradient','');
- Node52.a('node.gradientcolor','');
- Node52.a('node.text','0');
- Node52.a('node.textalign','left');
- Node52.a('node.textvAlign','middle');
- Node52.a('node.textrect', [Node52textStart, 0, Node52textWidth, Node52height]);
- Node52.a('node.color','rgba(0,0,0,1)');
- Node52.a('node.font','bold '+ Node52fontSize + 'px "Arial"');
- Node52.a('node.textvisible',true);
- Node52.a('node.linefeed',false);
- if (false) {
- Node52.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node52.a('node.text') || '0';
- var color=Node52.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node52width,Node52height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node52fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node52.a('node.underlinepoints',[Node52lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node52fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node52fontSize + 'px "Arial"').width + 6, (Node52height - Node52fontSize) * 0.5*_ratio.ratioY + Node52fontSize + 2 ]);
- Node52.a('node.underlinevisible',false);
- Node52.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node52);
- zoomNodeList.push({
- node: Node52,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node53 = new ht.Node();
- var Node53textStart, Node53textWidth, Node53lineStart, Node53align = 'left', Node53fontSize = 13.3333*_ratio.ratioY,Node53width = 27*_ratio.ratioX, Node53height = 16*_ratio.ratioY;
- (function () {
- if (Node53align === 'left') {
- Node53textStart = Node53fontSize * 0.2 > 2 ? Node53fontSize * 0.2 - 4 : Node53fontSize * 0.2 - 9;
- Node53textWidth = Node53width;
- Node53lineStart = 1;
- } else if (Node53align === 'right') {
- Node53textStart = 0;
- Node53textWidth =Node53fontSize <= 8 ? Node53width + Node53fontSize * 0.2 + 6 : Node53width - Node53fontSize * 0.2;
- Node53lineStart = (Node53width - (ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node53align === 'center') {
- Node53textStart = -3;
- Node53textWidth = Node53width;
- Node53lineStart = Node53width - ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node53.setImage(GD.getTextJSON(Node53width, Node53height, true, false, false, 'bold '+ Node53fontSize + 'px "Arial"'))
- Node53.setPosition(621*ratio.ratioX, 177*ratio.ratioY);
- Node53.setWidth(Node53width);
- Node53.setHeight(Node53height);
- Node53._nodeType = 'text';
- Node53._disallowEvert = true;
- Node53.setRotation(0*Math.PI/180);
- Node53.a('node.width', Node53width);
- Node53.a('node.height', Node53height);
- Node53.a('node.rect', [0, 0, Node53width, Node53height]);
- Node53.a('node.bordercolor','rgba(0,0,0,1)');
- Node53.a('node.borderwidth', 0);
- Node53.a('node.background','' || 'rgba(0,0,0,0)');
- Node53.a('node.gradient','');
- Node53.a('node.gradientcolor','');
- Node53.a('node.text','0');
- Node53.a('node.textalign','left');
- Node53.a('node.textvAlign','middle');
- Node53.a('node.textrect', [Node53textStart, 0, Node53textWidth, Node53height]);
- Node53.a('node.color','rgba(0,0,0,1)');
- Node53.a('node.font','bold '+ Node53fontSize + 'px "Arial"');
- Node53.a('node.textvisible',true);
- Node53.a('node.linefeed',false);
- if (false) {
- Node53.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node53.a('node.text') || '0';
- var color=Node53.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node53width,Node53height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node53fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node53.a('node.underlinepoints',[Node53lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node53fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node53fontSize + 'px "Arial"').width + 6, (Node53height - Node53fontSize) * 0.5*_ratio.ratioY + Node53fontSize + 2 ]);
- Node53.a('node.underlinevisible',false);
- Node53.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node53);
- zoomNodeList.push({
- node: Node53,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node54 = new ht.Node();
- var Node54textStart, Node54textWidth, Node54lineStart, Node54align = 'left', Node54fontSize = 13.3333*_ratio.ratioY,Node54width = 37*_ratio.ratioX, Node54height = 16*_ratio.ratioY;
- (function () {
- if (Node54align === 'left') {
- Node54textStart = Node54fontSize * 0.2 > 2 ? Node54fontSize * 0.2 - 4 : Node54fontSize * 0.2 - 9;
- Node54textWidth = Node54width;
- Node54lineStart = 1;
- } else if (Node54align === 'right') {
- Node54textStart = 0;
- Node54textWidth =Node54fontSize <= 8 ? Node54width + Node54fontSize * 0.2 + 6 : Node54width - Node54fontSize * 0.2;
- Node54lineStart = (Node54width - (ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node54align === 'center') {
- Node54textStart = -3;
- Node54textWidth = Node54width;
- Node54lineStart = Node54width - ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node54.setImage(GD.getTextJSON(Node54width, Node54height, true, false, false, 'bold '+ Node54fontSize + 'px "Arial"'))
- Node54.setPosition(640*ratio.ratioX, 201*ratio.ratioY);
- Node54.setWidth(Node54width);
- Node54.setHeight(Node54height);
- Node54._nodeType = 'text';
- Node54._disallowEvert = true;
- Node54.setRotation(0*Math.PI/180);
- Node54.a('node.width', Node54width);
- Node54.a('node.height', Node54height);
- Node54.a('node.rect', [0, 0, Node54width, Node54height]);
- Node54.a('node.bordercolor','rgba(0,0,0,1)');
- Node54.a('node.borderwidth', 0);
- Node54.a('node.background','' || 'rgba(0,0,0,0)');
- Node54.a('node.gradient','');
- Node54.a('node.gradientcolor','');
- Node54.a('node.text','-');
- Node54.a('node.textalign','left');
- Node54.a('node.textvAlign','middle');
- Node54.a('node.textrect', [Node54textStart, 0, Node54textWidth, Node54height]);
- Node54.a('node.color','rgba(0,0,0,1)');
- Node54.a('node.font','bold '+ Node54fontSize + 'px "Arial"');
- Node54.a('node.textvisible',true);
- Node54.a('node.linefeed',false);
- if (false) {
- Node54.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node54.a('node.text') || '-';
- var color=Node54.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node54width,Node54height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node54fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node54.a('node.underlinepoints',[Node54lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node54fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node54fontSize + 'px "Arial"').width + 6, (Node54height - Node54fontSize) * 0.5*_ratio.ratioY + Node54fontSize + 2 ]);
- Node54.a('node.underlinevisible',false);
- Node54.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node54);
- zoomNodeList.push({
- node: Node54,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node55 = new ht.Node();
- var Node55textStart, Node55textWidth, Node55lineStart, Node55align = 'left', Node55fontSize = 13.3333*_ratio.ratioY,Node55width = 47*_ratio.ratioX, Node55height = 17*_ratio.ratioY;
- (function () {
- if (Node55align === 'left') {
- Node55textStart = Node55fontSize * 0.2 > 2 ? Node55fontSize * 0.2 - 4 : Node55fontSize * 0.2 - 9;
- Node55textWidth = Node55width;
- Node55lineStart = 1;
- } else if (Node55align === 'right') {
- Node55textStart = 0;
- Node55textWidth =Node55fontSize <= 8 ? Node55width + Node55fontSize * 0.2 + 6 : Node55width - Node55fontSize * 0.2;
- Node55lineStart = (Node55width - (ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node55align === 'center') {
- Node55textStart = -3;
- Node55textWidth = Node55width;
- Node55lineStart = Node55width - ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node55.setImage(GD.getTextJSON(Node55width, Node55height, true, false, false, ' '+ Node55fontSize + 'px "Arial"'))
- Node55.setPosition(694*ratio.ratioX, 127*ratio.ratioY);
- Node55.setWidth(Node55width);
- Node55.setHeight(Node55height);
- Node55._nodeType = 'text';
- Node55._disallowEvert = true;
- Node55.setRotation(0*Math.PI/180);
- Node55.a('node.width', Node55width);
- Node55.a('node.height', Node55height);
- Node55.a('node.rect', [0, 0, Node55width, Node55height]);
- Node55.a('node.bordercolor','rgba(169,169,169,1)');
- Node55.a('node.borderwidth', 0);
- Node55.a('node.background','' || 'rgba(0,0,0,0)');
- Node55.a('node.gradient','');
- Node55.a('node.gradientcolor','');
- Node55.a('node.text','万kW');
- Node55.a('node.textalign','left');
- Node55.a('node.textvAlign','middle');
- Node55.a('node.textrect', [Node55textStart, 0, Node55textWidth, Node55height]);
- Node55.a('node.color','rgba(169,169,169,1)');
- Node55.a('node.font',' '+ Node55fontSize + 'px "Arial"');
- Node55.a('node.textvisible',true);
- Node55.a('node.linefeed',false);
- if (false) {
- Node55.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node55.a('node.text') || '万kW';
- var color=Node55.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node55width,Node55height,13.3333*_ratio.ratioY,"left",color,' '+ Node55fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node55.a('node.underlinepoints',[Node55lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node55fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node55fontSize + 'px "Arial"').width + 6, (Node55height - Node55fontSize) * 0.5*_ratio.ratioY + Node55fontSize + 2 ]);
- Node55.a('node.underlinevisible',false);
- Node55.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node55);
- zoomNodeList.push({
- node: Node55,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node56 = new ht.Node();
- var Node56textStart, Node56textWidth, Node56lineStart, Node56align = 'left', Node56fontSize = 13.3333*_ratio.ratioY,Node56width = 37*_ratio.ratioX, Node56height = 16*_ratio.ratioY;
- (function () {
- if (Node56align === 'left') {
- Node56textStart = Node56fontSize * 0.2 > 2 ? Node56fontSize * 0.2 - 4 : Node56fontSize * 0.2 - 9;
- Node56textWidth = Node56width;
- Node56lineStart = 1;
- } else if (Node56align === 'right') {
- Node56textStart = 0;
- Node56textWidth =Node56fontSize <= 8 ? Node56width + Node56fontSize * 0.2 + 6 : Node56width - Node56fontSize * 0.2;
- Node56lineStart = (Node56width - (ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node56align === 'center') {
- Node56textStart = -3;
- Node56textWidth = Node56width;
- Node56lineStart = Node56width - ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node56.setImage(GD.getTextJSON(Node56width, Node56height, true, false, false, 'bold '+ Node56fontSize + 'px "Arial"'))
- Node56.setPosition(641*ratio.ratioX, 226*ratio.ratioY);
- Node56.setWidth(Node56width);
- Node56.setHeight(Node56height);
- Node56._nodeType = 'text';
- Node56._disallowEvert = true;
- Node56.setRotation(0*Math.PI/180);
- Node56.a('node.width', Node56width);
- Node56.a('node.height', Node56height);
- Node56.a('node.rect', [0, 0, Node56width, Node56height]);
- Node56.a('node.bordercolor','rgba(0,0,0,1)');
- Node56.a('node.borderwidth', 0);
- Node56.a('node.background','' || 'rgba(0,0,0,0)');
- Node56.a('node.gradient','');
- Node56.a('node.gradientcolor','');
- Node56.a('node.text','-');
- Node56.a('node.textalign','left');
- Node56.a('node.textvAlign','middle');
- Node56.a('node.textrect', [Node56textStart, 0, Node56textWidth, Node56height]);
- Node56.a('node.color','rgba(0,0,0,1)');
- Node56.a('node.font','bold '+ Node56fontSize + 'px "Arial"');
- Node56.a('node.textvisible',true);
- Node56.a('node.linefeed',false);
- if (false) {
- Node56.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node56.a('node.text') || '-';
- var color=Node56.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node56width,Node56height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node56fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node56.a('node.underlinepoints',[Node56lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node56fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node56fontSize + 'px "Arial"').width + 6, (Node56height - Node56fontSize) * 0.5*_ratio.ratioY + Node56fontSize + 2 ]);
- Node56.a('node.underlinevisible',false);
- Node56.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node56);
- zoomNodeList.push({
- node: Node56,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node57 = new ht.Node();
- var Node57textStart, Node57textWidth, Node57lineStart, Node57align = 'left', Node57fontSize = 13.3333*_ratio.ratioY,Node57width = 47*_ratio.ratioX, Node57height = 17*_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('万kW', ' '+ Node57fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node57align === 'center') {
- Node57textStart = -3;
- Node57textWidth = Node57width;
- Node57lineStart = Node57width - ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node57.setImage(GD.getTextJSON(Node57width, Node57height, true, false, false, ' '+ Node57fontSize + 'px "Arial"'))
- Node57.setPosition(694*ratio.ratioX, 153*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(169,169,169,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','万kW');
- Node57.a('node.textalign','left');
- Node57.a('node.textvAlign','middle');
- Node57.a('node.textrect', [Node57textStart, 0, Node57textWidth, Node57height]);
- Node57.a('node.color','rgba(169,169,169,1)');
- Node57.a('node.font',' '+ Node57fontSize + 'px "Arial"');
- Node57.a('node.textvisible',true);
- Node57.a('node.linefeed',false);
- if (false) {
- Node57.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node57.a('node.text') || '万kW';
- var color=Node57.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node57width,Node57height,13.3333*_ratio.ratioY,"left",color,' '+ Node57fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node57.a('node.underlinepoints',[Node57lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node57fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node57fontSize + 'px "Arial"').width + 6, (Node57height - Node57fontSize) * 0.5*_ratio.ratioY + Node57fontSize + 2 ]);
- Node57.a('node.underlinevisible',false);
- Node57.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node57);
- zoomNodeList.push({
- node: Node57,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node58 = new ht.Node();
- var Node58textStart, Node58textWidth, Node58lineStart, Node58align = 'left', Node58fontSize = 13.3333*_ratio.ratioY,Node58width = 47*_ratio.ratioX, Node58height = 17*_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('万kW', ' '+ Node58fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node58align === 'center') {
- Node58textStart = -3;
- Node58textWidth = Node58width;
- Node58lineStart = Node58width - ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node58.setImage(GD.getTextJSON(Node58width, Node58height, true, false, false, ' '+ Node58fontSize + 'px "Arial"'))
- Node58.setPosition(694*ratio.ratioX, 178*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(169,169,169,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','万kW');
- Node58.a('node.textalign','left');
- Node58.a('node.textvAlign','middle');
- Node58.a('node.textrect', [Node58textStart, 0, Node58textWidth, Node58height]);
- Node58.a('node.color','rgba(169,169,169,1)');
- Node58.a('node.font',' '+ Node58fontSize + 'px "Arial"');
- Node58.a('node.textvisible',true);
- Node58.a('node.linefeed',false);
- if (false) {
- Node58.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node58.a('node.text') || '万kW';
- var color=Node58.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node58width,Node58height,13.3333*_ratio.ratioY,"left",color,' '+ Node58fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node58.a('node.underlinepoints',[Node58lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node58fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node58fontSize + 'px "Arial"').width + 6, (Node58height - Node58fontSize) * 0.5*_ratio.ratioY + Node58fontSize + 2 ]);
- Node58.a('node.underlinevisible',false);
- Node58.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node58);
- zoomNodeList.push({
- node: Node58,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node59 = new ht.Node();
- var Node59textStart, Node59textWidth, Node59lineStart, Node59align = 'left', Node59fontSize = 13.3333*_ratio.ratioY,Node59width = 47*_ratio.ratioX, Node59height = 17*_ratio.ratioY;
- (function () {
- if (Node59align === 'left') {
- Node59textStart = Node59fontSize * 0.2 > 2 ? Node59fontSize * 0.2 - 4 : Node59fontSize * 0.2 - 9;
- Node59textWidth = Node59width;
- Node59lineStart = 1;
- } else if (Node59align === 'right') {
- Node59textStart = 0;
- Node59textWidth =Node59fontSize <= 8 ? Node59width + Node59fontSize * 0.2 + 6 : Node59width - Node59fontSize * 0.2;
- Node59lineStart = (Node59width - (ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node59align === 'center') {
- Node59textStart = -3;
- Node59textWidth = Node59width;
- Node59lineStart = Node59width - ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node59.setImage(GD.getTextJSON(Node59width, Node59height, true, false, false, ' '+ Node59fontSize + 'px "Arial"'))
- Node59.setPosition(694*ratio.ratioX, 205*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(169,169,169,1)');
- Node59.a('node.borderwidth', 0);
- Node59.a('node.background','' || 'rgba(0,0,0,0)');
- Node59.a('node.gradient','');
- Node59.a('node.gradientcolor','');
- Node59.a('node.text','吨');
- Node59.a('node.textalign','left');
- Node59.a('node.textvAlign','middle');
- Node59.a('node.textrect', [Node59textStart, 0, Node59textWidth, Node59height]);
- Node59.a('node.color','rgba(169,169,169,1)');
- Node59.a('node.font',' '+ Node59fontSize + 'px "Arial"');
- Node59.a('node.textvisible',true);
- Node59.a('node.linefeed',false);
- if (false) {
- Node59.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node59.a('node.text') || '吨';
- var color=Node59.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node59width,Node59height,13.3333*_ratio.ratioY,"left",color,' '+ Node59fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node59.a('node.underlinepoints',[Node59lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node59fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node59fontSize + 'px "Arial"').width + 6, (Node59height - Node59fontSize) * 0.5*_ratio.ratioY + Node59fontSize + 2 ]);
- Node59.a('node.underlinevisible',false);
- Node59.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node59);
- zoomNodeList.push({
- node: Node59,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node60 = new ht.Node();
- var Node60textStart, Node60textWidth, Node60lineStart, Node60align = 'left', Node60fontSize = 13.3333*_ratio.ratioY,Node60width = 47*_ratio.ratioX, Node60height = 17*_ratio.ratioY;
- (function () {
- if (Node60align === 'left') {
- Node60textStart = Node60fontSize * 0.2 > 2 ? Node60fontSize * 0.2 - 4 : Node60fontSize * 0.2 - 9;
- Node60textWidth = Node60width;
- Node60lineStart = 1;
- } else if (Node60align === 'right') {
- Node60textStart = 0;
- Node60textWidth =Node60fontSize <= 8 ? Node60width + Node60fontSize * 0.2 + 6 : Node60width - Node60fontSize * 0.2;
- Node60lineStart = (Node60width - (ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node60align === 'center') {
- Node60textStart = -3;
- Node60textWidth = Node60width;
- Node60lineStart = Node60width - ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node60.setImage(GD.getTextJSON(Node60width, Node60height, true, false, false, ' '+ Node60fontSize + 'px "Arial"'))
- Node60.setPosition(694*ratio.ratioX, 227*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(169,169,169,1)');
- Node60.a('node.borderwidth', 0);
- Node60.a('node.background','' || 'rgba(0,0,0,0)');
- Node60.a('node.gradient','');
- Node60.a('node.gradientcolor','');
- Node60.a('node.text','吨');
- Node60.a('node.textalign','left');
- Node60.a('node.textvAlign','middle');
- Node60.a('node.textrect', [Node60textStart, 0, Node60textWidth, Node60height]);
- Node60.a('node.color','rgba(169,169,169,1)');
- Node60.a('node.font',' '+ Node60fontSize + 'px "Arial"');
- Node60.a('node.textvisible',true);
- Node60.a('node.linefeed',false);
- if (false) {
- Node60.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node60.a('node.text') || '吨';
- var color=Node60.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node60width,Node60height,13.3333*_ratio.ratioY,"left",color,' '+ Node60fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node60.a('node.underlinepoints',[Node60lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node60fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node60fontSize + 'px "Arial"').width + 6, (Node60height - Node60fontSize) * 0.5*_ratio.ratioY + Node60fontSize + 2 ]);
- Node60.a('node.underlinevisible',false);
- Node60.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node60);
- zoomNodeList.push({
- node: Node60,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node61points=[473, 142,750, 142],
- Node61rect=ht.Default.unionPoint([{x:473,y:142},{x:750,y:142}]),
- Node61compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node61points.length;i++){
- if(i%2==0){
- Node61compspts.push(Node61points[i]-Node61rect.x);
- }else{
- Node61compspts.push(Node61points[i]-Node61rect.y);
- }
- }
- var Node61ptslength=Node61compspts.length;
- if (Node61rect.height === 0) {
- Node61compspts[0] -= 0;
- Node61compspts[Node61ptslength-2] += 0;
- } else if (Node61rect.width === 0){
- Node61compspts[1] -= 0;
- Node61compspts[Node61ptslength-1] += 0;
- } else {
- Node61compspts[0] -= 0;
- Node61compspts[1] -= 0;
- Node61compspts[Node61ptslength-2] += 0;
- Node61compspts[Node61ptslength-1] += 0;
- }
- Node61 = new ht.Node();
- Node61.borderWidth = 1;
- Node61rect.width = Node61rect.width === 0 ? 0.0001 : Node61rect.width;
- Node61rect.height = Node61rect.height === 0 ? 0.0001 : Node61rect.height;
- var Node61endCompspts = [Node61compspts[Node61ptslength-2],Node61compspts[Node61ptslength-1],0,0];
- var Node61startCompspts = [Node61compspts[0],Node61compspts[1],0,0];
- Node61.setImage(GD.getPolyLineJSON());
- Node61.setPosition(Node61rect.x+Node61rect.width/2,Node61rect.y+Node61rect.height/2);
- Node61.setSize(Node61rect.width,Node61rect.height);
- Node61.setStyle("opacity",1);
- Node61.s({'pixelPerfect':true});
- Node61borderwidth=1;
- Node61.setRotation(0);
- dataModel.add(Node61);
- Node61.a('node.points',Node61compspts);
- Node61.a('node.segments',[1,2]);
- Node61.a('node.color','rgba(220,220,220,1)');
- Node61.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node61.a('node.borderColor','rgba(220,220,220,1)');
- Node61.a('node.background','rgba(220,220,220,1)');
- Node61.a('node.gradient','');
- Node61.a('node.gradientcolor','rgba(220,220,220,1)');
- Node61.a('node.endCompspts',Node61endCompspts);
- Node61.a('node.startCompspts',Node61startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node61';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node61, Node61.getImage(), Node61compspts, Node61endCompspts, Node61startCompspts);
- var Node62points=[471, 168,748, 168],
- Node62rect=ht.Default.unionPoint([{x:471,y:168},{x:748,y:168}]),
- Node62compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node62points.length;i++){
- if(i%2==0){
- Node62compspts.push(Node62points[i]-Node62rect.x);
- }else{
- Node62compspts.push(Node62points[i]-Node62rect.y);
- }
- }
- var Node62ptslength=Node62compspts.length;
- if (Node62rect.height === 0) {
- Node62compspts[0] -= 0;
- Node62compspts[Node62ptslength-2] += 0;
- } else if (Node62rect.width === 0){
- Node62compspts[1] -= 0;
- Node62compspts[Node62ptslength-1] += 0;
- } else {
- Node62compspts[0] -= 0;
- Node62compspts[1] -= 0;
- Node62compspts[Node62ptslength-2] += 0;
- Node62compspts[Node62ptslength-1] += 0;
- }
- Node62 = new ht.Node();
- Node62.borderWidth = 1;
- Node62rect.width = Node62rect.width === 0 ? 0.0001 : Node62rect.width;
- Node62rect.height = Node62rect.height === 0 ? 0.0001 : Node62rect.height;
- var Node62endCompspts = [Node62compspts[Node62ptslength-2],Node62compspts[Node62ptslength-1],0,0];
- var Node62startCompspts = [Node62compspts[0],Node62compspts[1],0,0];
- Node62.setImage(GD.getPolyLineJSON());
- Node62.setPosition(Node62rect.x+Node62rect.width/2,Node62rect.y+Node62rect.height/2);
- Node62.setSize(Node62rect.width,Node62rect.height);
- Node62.setStyle("opacity",1);
- Node62.s({'pixelPerfect':true});
- Node62borderwidth=1;
- Node62.setRotation(0);
- dataModel.add(Node62);
- Node62.a('node.points',Node62compspts);
- Node62.a('node.segments',[1,2]);
- Node62.a('node.color','rgba(220,220,220,1)');
- Node62.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node62.a('node.borderColor','rgba(220,220,220,1)');
- Node62.a('node.background','rgba(220,220,220,1)');
- Node62.a('node.gradient','');
- Node62.a('node.gradientcolor','rgba(220,220,220,1)');
- Node62.a('node.endCompspts',Node62endCompspts);
- Node62.a('node.startCompspts',Node62startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node62';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node62, Node62.getImage(), Node62compspts, Node62endCompspts, Node62startCompspts);
- var Node63points=[473, 192,750, 192],
- Node63rect=ht.Default.unionPoint([{x:473,y:192},{x:750,y:192}]),
- Node63compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node63points.length;i++){
- if(i%2==0){
- Node63compspts.push(Node63points[i]-Node63rect.x);
- }else{
- Node63compspts.push(Node63points[i]-Node63rect.y);
- }
- }
- var Node63ptslength=Node63compspts.length;
- if (Node63rect.height === 0) {
- Node63compspts[0] -= 0;
- Node63compspts[Node63ptslength-2] += 0;
- } else if (Node63rect.width === 0){
- Node63compspts[1] -= 0;
- Node63compspts[Node63ptslength-1] += 0;
- } else {
- Node63compspts[0] -= 0;
- Node63compspts[1] -= 0;
- Node63compspts[Node63ptslength-2] += 0;
- Node63compspts[Node63ptslength-1] += 0;
- }
- Node63 = new ht.Node();
- Node63.borderWidth = 1;
- Node63rect.width = Node63rect.width === 0 ? 0.0001 : Node63rect.width;
- Node63rect.height = Node63rect.height === 0 ? 0.0001 : Node63rect.height;
- var Node63endCompspts = [Node63compspts[Node63ptslength-2],Node63compspts[Node63ptslength-1],0,0];
- var Node63startCompspts = [Node63compspts[0],Node63compspts[1],0,0];
- Node63.setImage(GD.getPolyLineJSON());
- Node63.setPosition(Node63rect.x+Node63rect.width/2,Node63rect.y+Node63rect.height/2);
- Node63.setSize(Node63rect.width,Node63rect.height);
- Node63.setStyle("opacity",1);
- Node63.s({'pixelPerfect':true});
- Node63borderwidth=1;
- Node63.setRotation(0);
- dataModel.add(Node63);
- Node63.a('node.points',Node63compspts);
- Node63.a('node.segments',[1,2]);
- Node63.a('node.color','rgba(220,220,220,1)');
- Node63.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node63.a('node.borderColor','rgba(220,220,220,1)');
- Node63.a('node.background','rgba(220,220,220,1)');
- Node63.a('node.gradient','');
- Node63.a('node.gradientcolor','rgba(220,220,220,1)');
- Node63.a('node.endCompspts',Node63endCompspts);
- Node63.a('node.startCompspts',Node63startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node63';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node63, Node63.getImage(), Node63compspts, Node63endCompspts, Node63startCompspts);
- var Node64points=[473, 215,750, 215],
- Node64rect=ht.Default.unionPoint([{x:473,y:215},{x:750,y:215}]),
- Node64compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node64points.length;i++){
- if(i%2==0){
- Node64compspts.push(Node64points[i]-Node64rect.x);
- }else{
- Node64compspts.push(Node64points[i]-Node64rect.y);
- }
- }
- var Node64ptslength=Node64compspts.length;
- if (Node64rect.height === 0) {
- Node64compspts[0] -= 0;
- Node64compspts[Node64ptslength-2] += 0;
- } else if (Node64rect.width === 0){
- Node64compspts[1] -= 0;
- Node64compspts[Node64ptslength-1] += 0;
- } else {
- Node64compspts[0] -= 0;
- Node64compspts[1] -= 0;
- Node64compspts[Node64ptslength-2] += 0;
- Node64compspts[Node64ptslength-1] += 0;
- }
- Node64 = new ht.Node();
- Node64.borderWidth = 1;
- Node64rect.width = Node64rect.width === 0 ? 0.0001 : Node64rect.width;
- Node64rect.height = Node64rect.height === 0 ? 0.0001 : Node64rect.height;
- var Node64endCompspts = [Node64compspts[Node64ptslength-2],Node64compspts[Node64ptslength-1],0,0];
- var Node64startCompspts = [Node64compspts[0],Node64compspts[1],0,0];
- Node64.setImage(GD.getPolyLineJSON());
- Node64.setPosition(Node64rect.x+Node64rect.width/2,Node64rect.y+Node64rect.height/2);
- Node64.setSize(Node64rect.width,Node64rect.height);
- Node64.setStyle("opacity",1);
- Node64.s({'pixelPerfect':true});
- Node64borderwidth=1;
- Node64.setRotation(0);
- dataModel.add(Node64);
- Node64.a('node.points',Node64compspts);
- Node64.a('node.segments',[1,2]);
- Node64.a('node.color','rgba(220,220,220,1)');
- Node64.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node64.a('node.borderColor','rgba(220,220,220,1)');
- Node64.a('node.background','rgba(220,220,220,1)');
- Node64.a('node.gradient','');
- Node64.a('node.gradientcolor','rgba(220,220,220,1)');
- Node64.a('node.endCompspts',Node64endCompspts);
- Node64.a('node.startCompspts',Node64startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node64';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node64, Node64.getImage(), Node64compspts, Node64endCompspts, Node64startCompspts);
- _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(120*_ratio.ratioX, 120*_ratio.ratioY, Node65type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node65.setPosition(816*ratio.ratioX, 178*ratio.ratioY);
- Node65.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
- Node65.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node65.a('node.width', 120*_ratio.ratioX);
- Node65.a('node.height', 120*_ratio.ratioY);
- Node65.a('node.type', Node65type);
- Node65.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
- Node65.a('node.background', 'rgba(245,245,245,1)');
- Node65.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node65.a('node.gradient', '');
- Node65.a('node.borderwidth', Node65BorderWidth);
- Node65.a('node.color', 'rgba(220,220,220,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(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node66type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node66.setPosition(896*ratio.ratioX, 178*ratio.ratioY);
- Node66.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
- Node66.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node66.a('node.width', 280.7278*_ratio.ratioX);
- Node66.a('node.height', 122*_ratio.ratioY);
- Node66.a('node.type', Node66type);
- Node66.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_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(220,220,220,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());var Node67points=[946, 118,946, 238],
- Node67rect=ht.Default.unionPoint([{x:946,y:118},{x:946,y:238}]),
- Node67compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node67points.length;i++){
- if(i%2==0){
- Node67compspts.push(Node67points[i]-Node67rect.x);
- }else{
- Node67compspts.push(Node67points[i]-Node67rect.y);
- }
- }
- var Node67ptslength=Node67compspts.length;
- if (Node67rect.height === 0) {
- Node67compspts[0] -= 0;
- Node67compspts[Node67ptslength-2] += 0;
- } else if (Node67rect.width === 0){
- Node67compspts[1] -= 0;
- Node67compspts[Node67ptslength-1] += 0;
- } else {
- Node67compspts[0] -= 0;
- Node67compspts[1] -= 0;
- Node67compspts[Node67ptslength-2] += 0;
- Node67compspts[Node67ptslength-1] += 0;
- }
- Node67 = new ht.Node();
- Node67.borderWidth = 1;
- Node67rect.width = Node67rect.width === 0 ? 0.0001 : Node67rect.width;
- Node67rect.height = Node67rect.height === 0 ? 0.0001 : Node67rect.height;
- var Node67endCompspts = [Node67compspts[Node67ptslength-2],Node67compspts[Node67ptslength-1],0,0];
- var Node67startCompspts = [Node67compspts[0],Node67compspts[1],0,0];
- Node67.setImage(GD.getPolyLineJSON());
- Node67.setPosition(Node67rect.x+Node67rect.width/2,Node67rect.y+Node67rect.height/2);
- Node67.setSize(Node67rect.width,Node67rect.height);
- Node67.setStyle("opacity",1);
- Node67.s({'pixelPerfect':true});
- Node67borderwidth=1;
- Node67.setRotation(0);
- dataModel.add(Node67);
- Node67.a('node.points',Node67compspts);
- Node67.a('node.segments',[1,2]);
- Node67.a('node.color','rgba(220,220,220,1)');
- Node67.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node67.a('node.borderColor','rgba(220,220,220,1)');
- Node67.a('node.background','rgba(220,220,220,1)');
- Node67.a('node.gradient','');
- Node67.a('node.gradientcolor','rgba(220,220,220,1)');
- Node67.a('node.endCompspts',Node67endCompspts);
- Node67.a('node.startCompspts',Node67startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node67';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node67, Node67.getImage(), Node67compspts, Node67endCompspts, Node67startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node68 = new ht.Node();
- var Node68textStart, Node68textWidth, Node68lineStart, Node68align = 'left', Node68fontSize = 13.3333*_ratio.ratioY,Node68width = 82*_ratio.ratioX, Node68height = 27*_ratio.ratioY;
- (function () {
- if (Node68align === 'left') {
- Node68textStart = Node68fontSize * 0.2 > 2 ? Node68fontSize * 0.2 - 4 : Node68fontSize * 0.2 - 9;
- Node68textWidth = Node68width;
- Node68lineStart = 1;
- } else if (Node68align === 'right') {
- Node68textStart = 0;
- Node68textWidth =Node68fontSize <= 8 ? Node68width + Node68fontSize * 0.2 + 6 : Node68width - Node68fontSize * 0.2;
- Node68lineStart = (Node68width - (ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node68align === 'center') {
- Node68textStart = -3;
- Node68textWidth = Node68width;
- Node68lineStart = Node68width - ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node68.setImage(GD.getTextJSON(Node68width, Node68height, true, false, false, ' '+ Node68fontSize + 'px "Arial"'))
- Node68.setPosition(802*ratio.ratioX, 129*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','日上网电量');
- Node68.a('node.textalign','left');
- 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') || '日上网电量';
- var color=Node68.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node68width,Node68height,13.3333*_ratio.ratioY,"left",color,' '+ Node68fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node68.a('node.underlinepoints',[Node68lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node68fontSize + 2 , ht.Default.getTextSize('日上网电量', ' '+ Node68fontSize + 'px "Arial"').width + 6, (Node68height - Node68fontSize) * 0.5*_ratio.ratioY + Node68fontSize + 2 ]);
- Node68.a('node.underlinevisible',false);
- Node68.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node68);
- zoomNodeList.push({
- node: Node68,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node69 = new ht.Node();
- var Node69textStart, Node69textWidth, Node69lineStart, Node69align = 'left', Node69fontSize = 13.3333*_ratio.ratioY,Node69width = 82*_ratio.ratioX, Node69height = 27*_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('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node69align === 'center') {
- Node69textStart = -3;
- Node69textWidth = Node69width;
- Node69lineStart = Node69width - ht.Default.getTextSize('月上网电量', ' '+ Node69fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node69.setImage(GD.getTextJSON(Node69width, Node69height, true, false, false, ' '+ Node69fontSize + 'px "Arial"'))
- Node69.setPosition(802*ratio.ratioX, 155*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','月上网电量');
- Node69.a('node.textalign','left');
- 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') || '月上网电量';
- var color=Node69.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node69width,Node69height,13.3333*_ratio.ratioY,"left",color,' '+ Node69fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node69.a('node.underlinepoints',[Node69lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node69fontSize + 2 , ht.Default.getTextSize('月上网电量', ' '+ 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 = 'left', Node70fontSize = 13.3333*_ratio.ratioY,Node70width = 82*_ratio.ratioX, Node70height = 27*_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('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node70align === 'center') {
- Node70textStart = -3;
- Node70textWidth = Node70width;
- Node70lineStart = Node70width - ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node70.setImage(GD.getTextJSON(Node70width, Node70height, true, false, false, ' '+ Node70fontSize + 'px "Arial"'))
- Node70.setPosition(802*ratio.ratioX, 179*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','年上网电量');
- Node70.a('node.textalign','left');
- 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') || '年上网电量';
- var color=Node70.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node70width,Node70height,13.3333*_ratio.ratioY,"left",color,' '+ Node70fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node70.a('node.underlinepoints',[Node70lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node70fontSize + 2 , ht.Default.getTextSize('年上网电量', ' '+ Node70fontSize + 'px "Arial"').width + 6, (Node70height - Node70fontSize) * 0.5*_ratio.ratioY + Node70fontSize + 2 ]);
- Node70.a('node.underlinevisible',false);
- Node70.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node70);
- zoomNodeList.push({
- node: Node70,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node71 = new ht.Node();
- var Node71textStart, Node71textWidth, Node71lineStart, Node71align = 'left', Node71fontSize = 13.3333*_ratio.ratioY,Node71width = 110*_ratio.ratioX, Node71height = 27*_ratio.ratioY;
- (function () {
- if (Node71align === 'left') {
- Node71textStart = Node71fontSize * 0.2 > 2 ? Node71fontSize * 0.2 - 4 : Node71fontSize * 0.2 - 9;
- Node71textWidth = Node71width;
- Node71lineStart = 1;
- } else if (Node71align === 'right') {
- Node71textStart = 0;
- Node71textWidth =Node71fontSize <= 8 ? Node71width + Node71fontSize * 0.2 + 6 : Node71width - Node71fontSize * 0.2;
- Node71lineStart = (Node71width - (ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node71align === 'center') {
- Node71textStart = -3;
- Node71textWidth = Node71width;
- Node71lineStart = Node71width - ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node71.setImage(GD.getTextJSON(Node71width, Node71height, true, false, false, ' '+ Node71fontSize + 'px "Arial"'))
- Node71.setPosition(816*ratio.ratioX, 202*ratio.ratioY);
- Node71.setWidth(Node71width);
- Node71.setHeight(Node71height);
- Node71._nodeType = 'text';
- Node71._disallowEvert = true;
- Node71.setRotation(0*Math.PI/180);
- Node71.a('node.width', Node71width);
- Node71.a('node.height', Node71height);
- Node71.a('node.rect', [0, 0, Node71width, Node71height]);
- Node71.a('node.bordercolor','rgba(0,0,0,1)');
- Node71.a('node.borderwidth', 0);
- Node71.a('node.background','' || 'rgba(0,0,0,0)');
- Node71.a('node.gradient','');
- Node71.a('node.gradientcolor','');
- Node71.a('node.text','节约标煤');
- Node71.a('node.textalign','left');
- Node71.a('node.textvAlign','middle');
- Node71.a('node.textrect', [Node71textStart, 0, Node71textWidth, Node71height]);
- Node71.a('node.color','rgba(0,0,0,1)');
- Node71.a('node.font',' '+ Node71fontSize + 'px "Arial"');
- Node71.a('node.textvisible',true);
- Node71.a('node.linefeed',false);
- if (false) {
- Node71.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node71.a('node.text') || '节约标煤';
- var color=Node71.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node71width,Node71height,13.3333*_ratio.ratioY,"left",color,' '+ Node71fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node71.a('node.underlinepoints',[Node71lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node71fontSize + 2 , ht.Default.getTextSize('节约标煤', ' '+ Node71fontSize + 'px "Arial"').width + 6, (Node71height - Node71fontSize) * 0.5*_ratio.ratioY + Node71fontSize + 2 ]);
- Node71.a('node.underlinevisible',false);
- Node71.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node71);
- zoomNodeList.push({
- node: Node71,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node72 = new ht.Node();
- var Node72textStart, Node72textWidth, Node72lineStart, Node72align = 'left', Node72fontSize = 13.3333*_ratio.ratioY,Node72width = 125*_ratio.ratioX, Node72height = 27*_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('节约用水', ' '+ Node72fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node72align === 'center') {
- Node72textStart = -3;
- Node72textWidth = Node72width;
- Node72lineStart = Node72width - ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node72.setImage(GD.getTextJSON(Node72width, Node72height, true, false, false, ' '+ Node72fontSize + 'px "Arial"'))
- Node72.setPosition(823*ratio.ratioX, 226*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','节约用水');
- Node72.a('node.textalign','left');
- Node72.a('node.textvAlign','middle');
- Node72.a('node.textrect', [Node72textStart, 0, Node72textWidth, Node72height]);
- Node72.a('node.color','rgba(0,0,0,1)');
- Node72.a('node.font',' '+ Node72fontSize + 'px "Arial"');
- Node72.a('node.textvisible',true);
- Node72.a('node.linefeed',false);
- if (false) {
- Node72.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node72.a('node.text') || '节约用水';
- var color=Node72.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node72width,Node72height,13.3333*_ratio.ratioY,"left",color,' '+ Node72fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node72.a('node.underlinepoints',[Node72lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node72fontSize + 2 , ht.Default.getTextSize('节约用水', ' '+ Node72fontSize + 'px "Arial"').width + 6, (Node72height - Node72fontSize) * 0.5*_ratio.ratioY + Node72fontSize + 2 ]);
- Node72.a('node.underlinevisible',false);
- Node72.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node72);
- zoomNodeList.push({
- node: Node72,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node73 = new ht.Node();
- var Node73textStart, Node73textWidth, Node73lineStart, Node73align = 'left', Node73fontSize = 13.3333*_ratio.ratioY,Node73width = 37*_ratio.ratioX, Node73height = 16*_ratio.ratioY;
- (function () {
- if (Node73align === 'left') {
- Node73textStart = Node73fontSize * 0.2 > 2 ? Node73fontSize * 0.2 - 4 : Node73fontSize * 0.2 - 9;
- Node73textWidth = Node73width;
- Node73lineStart = 1;
- } else if (Node73align === 'right') {
- Node73textStart = 0;
- Node73textWidth =Node73fontSize <= 8 ? Node73width + Node73fontSize * 0.2 + 6 : Node73width - Node73fontSize * 0.2;
- Node73lineStart = (Node73width - (ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node73align === 'center') {
- Node73textStart = -3;
- Node73textWidth = Node73width;
- Node73lineStart = Node73width - ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node73.setImage(GD.getTextJSON(Node73width, Node73height, true, false, false, 'bold '+ Node73fontSize + 'px "Arial"'))
- Node73.setPosition(912*ratio.ratioX, 128*ratio.ratioY);
- Node73.setWidth(Node73width);
- Node73.setHeight(Node73height);
- Node73._nodeType = 'text';
- Node73._disallowEvert = true;
- Node73.setRotation(0*Math.PI/180);
- Node73.a('node.width', Node73width);
- Node73.a('node.height', Node73height);
- Node73.a('node.rect', [0, 0, Node73width, Node73height]);
- Node73.a('node.bordercolor','rgba(0,0,0,1)');
- Node73.a('node.borderwidth', 0);
- Node73.a('node.background','' || 'rgba(0,0,0,0)');
- Node73.a('node.gradient','');
- Node73.a('node.gradientcolor','');
- Node73.a('node.text','0');
- Node73.a('node.textalign','left');
- Node73.a('node.textvAlign','middle');
- Node73.a('node.textrect', [Node73textStart, 0, Node73textWidth, Node73height]);
- Node73.a('node.color','rgba(0,0,0,1)');
- Node73.a('node.font','bold '+ Node73fontSize + 'px "Arial"');
- Node73.a('node.textvisible',true);
- Node73.a('node.linefeed',false);
- if (false) {
- Node73.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node73.a('node.text') || '0';
- var color=Node73.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node73width,Node73height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node73fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node73.a('node.underlinepoints',[Node73lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node73fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node73fontSize + 'px "Arial"').width + 6, (Node73height - Node73fontSize) * 0.5*_ratio.ratioY + Node73fontSize + 2 ]);
- Node73.a('node.underlinevisible',false);
- Node73.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node73);
- zoomNodeList.push({
- node: Node73,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node74 = new ht.Node();
- var Node74textStart, Node74textWidth, Node74lineStart, Node74align = 'left', Node74fontSize = 13.3333*_ratio.ratioY,Node74width = 37*_ratio.ratioX, Node74height = 16*_ratio.ratioY;
- (function () {
- if (Node74align === 'left') {
- Node74textStart = Node74fontSize * 0.2 > 2 ? Node74fontSize * 0.2 - 4 : Node74fontSize * 0.2 - 9;
- Node74textWidth = Node74width;
- Node74lineStart = 1;
- } else if (Node74align === 'right') {
- Node74textStart = 0;
- Node74textWidth =Node74fontSize <= 8 ? Node74width + Node74fontSize * 0.2 + 6 : Node74width - Node74fontSize * 0.2;
- Node74lineStart = (Node74width - (ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node74align === 'center') {
- Node74textStart = -3;
- Node74textWidth = Node74width;
- Node74lineStart = Node74width - ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node74.setImage(GD.getTextJSON(Node74width, Node74height, true, false, false, 'bold '+ Node74fontSize + 'px "Arial"'))
- Node74.setPosition(912*ratio.ratioX, 152*ratio.ratioY);
- Node74.setWidth(Node74width);
- Node74.setHeight(Node74height);
- Node74._nodeType = 'text';
- Node74._disallowEvert = true;
- Node74.setRotation(0*Math.PI/180);
- Node74.a('node.width', Node74width);
- Node74.a('node.height', Node74height);
- Node74.a('node.rect', [0, 0, Node74width, Node74height]);
- Node74.a('node.bordercolor','rgba(0,0,0,1)');
- Node74.a('node.borderwidth', 0);
- Node74.a('node.background','' || 'rgba(0,0,0,0)');
- Node74.a('node.gradient','');
- Node74.a('node.gradientcolor','');
- Node74.a('node.text','0');
- Node74.a('node.textalign','left');
- Node74.a('node.textvAlign','middle');
- Node74.a('node.textrect', [Node74textStart, 0, Node74textWidth, Node74height]);
- Node74.a('node.color','rgba(0,0,0,1)');
- Node74.a('node.font','bold '+ Node74fontSize + 'px "Arial"');
- Node74.a('node.textvisible',true);
- Node74.a('node.linefeed',false);
- if (false) {
- Node74.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node74.a('node.text') || '0';
- var color=Node74.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node74width,Node74height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node74fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node74.a('node.underlinepoints',[Node74lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node74fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node74fontSize + 'px "Arial"').width + 6, (Node74height - Node74fontSize) * 0.5*_ratio.ratioY + Node74fontSize + 2 ]);
- Node74.a('node.underlinevisible',false);
- Node74.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node74);
- zoomNodeList.push({
- node: Node74,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node75 = new ht.Node();
- var Node75textStart, Node75textWidth, Node75lineStart, Node75align = 'left', Node75fontSize = 13.3333*_ratio.ratioY,Node75width = 27*_ratio.ratioX, Node75height = 16*_ratio.ratioY;
- (function () {
- if (Node75align === 'left') {
- Node75textStart = Node75fontSize * 0.2 > 2 ? Node75fontSize * 0.2 - 4 : Node75fontSize * 0.2 - 9;
- Node75textWidth = Node75width;
- Node75lineStart = 1;
- } else if (Node75align === 'right') {
- Node75textStart = 0;
- Node75textWidth =Node75fontSize <= 8 ? Node75width + Node75fontSize * 0.2 + 6 : Node75width - Node75fontSize * 0.2;
- Node75lineStart = (Node75width - (ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node75align === 'center') {
- Node75textStart = -3;
- Node75textWidth = Node75width;
- Node75lineStart = Node75width - ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node75.setImage(GD.getTextJSON(Node75width, Node75height, true, false, false, 'bold '+ Node75fontSize + 'px "Arial"'))
- Node75.setPosition(907*ratio.ratioX, 177*ratio.ratioY);
- Node75.setWidth(Node75width);
- Node75.setHeight(Node75height);
- Node75._nodeType = 'text';
- Node75._disallowEvert = true;
- Node75.setRotation(0*Math.PI/180);
- Node75.a('node.width', Node75width);
- Node75.a('node.height', Node75height);
- Node75.a('node.rect', [0, 0, Node75width, Node75height]);
- Node75.a('node.bordercolor','rgba(0,0,0,1)');
- Node75.a('node.borderwidth', 0);
- Node75.a('node.background','' || 'rgba(0,0,0,0)');
- Node75.a('node.gradient','');
- Node75.a('node.gradientcolor','');
- Node75.a('node.text','0');
- Node75.a('node.textalign','left');
- Node75.a('node.textvAlign','middle');
- Node75.a('node.textrect', [Node75textStart, 0, Node75textWidth, Node75height]);
- Node75.a('node.color','rgba(0,0,0,1)');
- Node75.a('node.font','bold '+ Node75fontSize + 'px "Arial"');
- Node75.a('node.textvisible',true);
- Node75.a('node.linefeed',false);
- if (false) {
- Node75.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node75.a('node.text') || '0';
- var color=Node75.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node75width,Node75height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node75fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node75.a('node.underlinepoints',[Node75lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node75fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node75fontSize + 'px "Arial"').width + 6, (Node75height - Node75fontSize) * 0.5*_ratio.ratioY + Node75fontSize + 2 ]);
- Node75.a('node.underlinevisible',false);
- Node75.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node75);
- zoomNodeList.push({
- node: Node75,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node76 = new ht.Node();
- var Node76textStart, Node76textWidth, Node76lineStart, Node76align = 'left', Node76fontSize = 13.3333*_ratio.ratioY,Node76width = 37*_ratio.ratioX, Node76height = 16*_ratio.ratioY;
- (function () {
- if (Node76align === 'left') {
- Node76textStart = Node76fontSize * 0.2 > 2 ? Node76fontSize * 0.2 - 4 : Node76fontSize * 0.2 - 9;
- Node76textWidth = Node76width;
- Node76lineStart = 1;
- } else if (Node76align === 'right') {
- Node76textStart = 0;
- Node76textWidth =Node76fontSize <= 8 ? Node76width + Node76fontSize * 0.2 + 6 : Node76width - Node76fontSize * 0.2;
- Node76lineStart = (Node76width - (ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node76align === 'center') {
- Node76textStart = -3;
- Node76textWidth = Node76width;
- Node76lineStart = Node76width - ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node76.setImage(GD.getTextJSON(Node76width, Node76height, true, false, false, 'bold '+ Node76fontSize + 'px "Arial"'))
- Node76.setPosition(926*ratio.ratioX, 201*ratio.ratioY);
- Node76.setWidth(Node76width);
- Node76.setHeight(Node76height);
- Node76._nodeType = 'text';
- Node76._disallowEvert = true;
- Node76.setRotation(0*Math.PI/180);
- Node76.a('node.width', Node76width);
- Node76.a('node.height', Node76height);
- Node76.a('node.rect', [0, 0, Node76width, Node76height]);
- Node76.a('node.bordercolor','rgba(0,0,0,1)');
- Node76.a('node.borderwidth', 0);
- Node76.a('node.background','' || 'rgba(0,0,0,0)');
- Node76.a('node.gradient','');
- Node76.a('node.gradientcolor','');
- Node76.a('node.text','-');
- Node76.a('node.textalign','left');
- Node76.a('node.textvAlign','middle');
- Node76.a('node.textrect', [Node76textStart, 0, Node76textWidth, Node76height]);
- Node76.a('node.color','rgba(0,0,0,1)');
- Node76.a('node.font','bold '+ Node76fontSize + 'px "Arial"');
- Node76.a('node.textvisible',true);
- Node76.a('node.linefeed',false);
- if (false) {
- Node76.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node76.a('node.text') || '-';
- var color=Node76.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node76width,Node76height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node76fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node76.a('node.underlinepoints',[Node76lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node76fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node76fontSize + 'px "Arial"').width + 6, (Node76height - Node76fontSize) * 0.5*_ratio.ratioY + Node76fontSize + 2 ]);
- Node76.a('node.underlinevisible',false);
- Node76.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node76);
- zoomNodeList.push({
- node: Node76,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node77 = new ht.Node();
- var Node77textStart, Node77textWidth, Node77lineStart, Node77align = 'left', Node77fontSize = 13.3333*_ratio.ratioY,Node77width = 47*_ratio.ratioX, Node77height = 17*_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('万kW', ' '+ Node77fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node77align === 'center') {
- Node77textStart = -3;
- Node77textWidth = Node77width;
- Node77lineStart = Node77width - ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node77.setImage(GD.getTextJSON(Node77width, Node77height, true, false, false, ' '+ Node77fontSize + 'px "Arial"'))
- Node77.setPosition(980*ratio.ratioX, 127*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(169,169,169,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','万kW');
- Node77.a('node.textalign','left');
- Node77.a('node.textvAlign','middle');
- Node77.a('node.textrect', [Node77textStart, 0, Node77textWidth, Node77height]);
- Node77.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node77.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node77width,Node77height,13.3333*_ratio.ratioY,"left",color,' '+ Node77fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node77.a('node.underlinepoints',[Node77lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node77fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node77fontSize + 'px "Arial"').width + 6, (Node77height - Node77fontSize) * 0.5*_ratio.ratioY + Node77fontSize + 2 ]);
- Node77.a('node.underlinevisible',false);
- Node77.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node77);
- zoomNodeList.push({
- node: Node77,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node78 = new ht.Node();
- var Node78textStart, Node78textWidth, Node78lineStart, Node78align = 'left', Node78fontSize = 13.3333*_ratio.ratioY,Node78width = 37*_ratio.ratioX, Node78height = 16*_ratio.ratioY;
- (function () {
- if (Node78align === 'left') {
- Node78textStart = Node78fontSize * 0.2 > 2 ? Node78fontSize * 0.2 - 4 : Node78fontSize * 0.2 - 9;
- Node78textWidth = Node78width;
- Node78lineStart = 1;
- } else if (Node78align === 'right') {
- Node78textStart = 0;
- Node78textWidth =Node78fontSize <= 8 ? Node78width + Node78fontSize * 0.2 + 6 : Node78width - Node78fontSize * 0.2;
- Node78lineStart = (Node78width - (ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node78align === 'center') {
- Node78textStart = -3;
- Node78textWidth = Node78width;
- Node78lineStart = Node78width - ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node78.setImage(GD.getTextJSON(Node78width, Node78height, true, false, false, 'bold '+ Node78fontSize + 'px "Arial"'))
- Node78.setPosition(927*ratio.ratioX, 226*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(0,0,0,1)');
- Node78.a('node.borderwidth', 0);
- Node78.a('node.background','' || 'rgba(0,0,0,0)');
- Node78.a('node.gradient','');
- Node78.a('node.gradientcolor','');
- Node78.a('node.text','-');
- Node78.a('node.textalign','left');
- Node78.a('node.textvAlign','middle');
- Node78.a('node.textrect', [Node78textStart, 0, Node78textWidth, Node78height]);
- Node78.a('node.color','rgba(0,0,0,1)');
- Node78.a('node.font','bold '+ Node78fontSize + 'px "Arial"');
- Node78.a('node.textvisible',true);
- Node78.a('node.linefeed',false);
- if (false) {
- Node78.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node78.a('node.text') || '-';
- var color=Node78.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node78width,Node78height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node78fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node78.a('node.underlinepoints',[Node78lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node78fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node78fontSize + 'px "Arial"').width + 6, (Node78height - Node78fontSize) * 0.5*_ratio.ratioY + Node78fontSize + 2 ]);
- Node78.a('node.underlinevisible',false);
- Node78.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node78);
- zoomNodeList.push({
- node: Node78,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node79 = new ht.Node();
- var Node79textStart, Node79textWidth, Node79lineStart, Node79align = 'left', Node79fontSize = 13.3333*_ratio.ratioY,Node79width = 47*_ratio.ratioX, Node79height = 17*_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('万kW', ' '+ Node79fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node79align === 'center') {
- Node79textStart = -3;
- Node79textWidth = Node79width;
- Node79lineStart = Node79width - ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node79.setImage(GD.getTextJSON(Node79width, Node79height, true, false, false, ' '+ Node79fontSize + 'px "Arial"'))
- Node79.setPosition(980*ratio.ratioX, 153*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(169,169,169,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','万kW');
- Node79.a('node.textalign','left');
- Node79.a('node.textvAlign','middle');
- Node79.a('node.textrect', [Node79textStart, 0, Node79textWidth, Node79height]);
- Node79.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node79.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node79width,Node79height,13.3333*_ratio.ratioY,"left",color,' '+ Node79fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node79.a('node.underlinepoints',[Node79lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node79fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node79fontSize + 'px "Arial"').width + 6, (Node79height - Node79fontSize) * 0.5*_ratio.ratioY + Node79fontSize + 2 ]);
- Node79.a('node.underlinevisible',false);
- Node79.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node79);
- zoomNodeList.push({
- node: Node79,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node80 = new ht.Node();
- var Node80textStart, Node80textWidth, Node80lineStart, Node80align = 'left', Node80fontSize = 13.3333*_ratio.ratioY,Node80width = 47*_ratio.ratioX, Node80height = 17*_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('万kW', ' '+ Node80fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node80align === 'center') {
- Node80textStart = -3;
- Node80textWidth = Node80width;
- Node80lineStart = Node80width - ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node80.setImage(GD.getTextJSON(Node80width, Node80height, true, false, false, ' '+ Node80fontSize + 'px "Arial"'))
- Node80.setPosition(980*ratio.ratioX, 178*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(169,169,169,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','万kW');
- Node80.a('node.textalign','left');
- Node80.a('node.textvAlign','middle');
- Node80.a('node.textrect', [Node80textStart, 0, Node80textWidth, Node80height]);
- Node80.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node80.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node80width,Node80height,13.3333*_ratio.ratioY,"left",color,' '+ Node80fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node80.a('node.underlinepoints',[Node80lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node80fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node80fontSize + 'px "Arial"').width + 6, (Node80height - Node80fontSize) * 0.5*_ratio.ratioY + Node80fontSize + 2 ]);
- Node80.a('node.underlinevisible',false);
- Node80.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node80);
- zoomNodeList.push({
- node: Node80,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node81 = new ht.Node();
- var Node81textStart, Node81textWidth, Node81lineStart, Node81align = 'left', Node81fontSize = 13.3333*_ratio.ratioY,Node81width = 47*_ratio.ratioX, Node81height = 17*_ratio.ratioY;
- (function () {
- if (Node81align === 'left') {
- Node81textStart = Node81fontSize * 0.2 > 2 ? Node81fontSize * 0.2 - 4 : Node81fontSize * 0.2 - 9;
- Node81textWidth = Node81width;
- Node81lineStart = 1;
- } else if (Node81align === 'right') {
- Node81textStart = 0;
- Node81textWidth =Node81fontSize <= 8 ? Node81width + Node81fontSize * 0.2 + 6 : Node81width - Node81fontSize * 0.2;
- Node81lineStart = (Node81width - (ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node81align === 'center') {
- Node81textStart = -3;
- Node81textWidth = Node81width;
- Node81lineStart = Node81width - ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node81.setImage(GD.getTextJSON(Node81width, Node81height, true, false, false, ' '+ Node81fontSize + 'px "Arial"'))
- Node81.setPosition(980*ratio.ratioX, 205*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(169,169,169,1)');
- Node81.a('node.borderwidth', 0);
- Node81.a('node.background','' || 'rgba(0,0,0,0)');
- Node81.a('node.gradient','');
- Node81.a('node.gradientcolor','');
- Node81.a('node.text','吨');
- Node81.a('node.textalign','left');
- Node81.a('node.textvAlign','middle');
- Node81.a('node.textrect', [Node81textStart, 0, Node81textWidth, Node81height]);
- Node81.a('node.color','rgba(169,169,169,1)');
- Node81.a('node.font',' '+ Node81fontSize + 'px "Arial"');
- Node81.a('node.textvisible',true);
- Node81.a('node.linefeed',false);
- if (false) {
- Node81.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node81.a('node.text') || '吨';
- var color=Node81.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node81width,Node81height,13.3333*_ratio.ratioY,"left",color,' '+ Node81fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node81.a('node.underlinepoints',[Node81lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node81fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node81fontSize + 'px "Arial"').width + 6, (Node81height - Node81fontSize) * 0.5*_ratio.ratioY + Node81fontSize + 2 ]);
- Node81.a('node.underlinevisible',false);
- Node81.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node81);
- zoomNodeList.push({
- node: Node81,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node82 = new ht.Node();
- var Node82textStart, Node82textWidth, Node82lineStart, Node82align = 'left', Node82fontSize = 13.3333*_ratio.ratioY,Node82width = 47*_ratio.ratioX, Node82height = 17*_ratio.ratioY;
- (function () {
- if (Node82align === 'left') {
- Node82textStart = Node82fontSize * 0.2 > 2 ? Node82fontSize * 0.2 - 4 : Node82fontSize * 0.2 - 9;
- Node82textWidth = Node82width;
- Node82lineStart = 1;
- } else if (Node82align === 'right') {
- Node82textStart = 0;
- Node82textWidth =Node82fontSize <= 8 ? Node82width + Node82fontSize * 0.2 + 6 : Node82width - Node82fontSize * 0.2;
- Node82lineStart = (Node82width - (ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node82align === 'center') {
- Node82textStart = -3;
- Node82textWidth = Node82width;
- Node82lineStart = Node82width - ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node82.setImage(GD.getTextJSON(Node82width, Node82height, true, false, false, ' '+ Node82fontSize + 'px "Arial"'))
- Node82.setPosition(980*ratio.ratioX, 227*ratio.ratioY);
- Node82.setWidth(Node82width);
- Node82.setHeight(Node82height);
- Node82._nodeType = 'text';
- Node82._disallowEvert = true;
- Node82.setRotation(0*Math.PI/180);
- Node82.a('node.width', Node82width);
- Node82.a('node.height', Node82height);
- Node82.a('node.rect', [0, 0, Node82width, Node82height]);
- Node82.a('node.bordercolor','rgba(169,169,169,1)');
- Node82.a('node.borderwidth', 0);
- Node82.a('node.background','' || 'rgba(0,0,0,0)');
- Node82.a('node.gradient','');
- Node82.a('node.gradientcolor','');
- Node82.a('node.text','吨');
- Node82.a('node.textalign','left');
- Node82.a('node.textvAlign','middle');
- Node82.a('node.textrect', [Node82textStart, 0, Node82textWidth, Node82height]);
- Node82.a('node.color','rgba(169,169,169,1)');
- Node82.a('node.font',' '+ Node82fontSize + 'px "Arial"');
- Node82.a('node.textvisible',true);
- Node82.a('node.linefeed',false);
- if (false) {
- Node82.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node82.a('node.text') || '吨';
- var color=Node82.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node82width,Node82height,13.3333*_ratio.ratioY,"left",color,' '+ Node82fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node82.a('node.underlinepoints',[Node82lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node82fontSize + 2 , ht.Default.getTextSize('吨', ' '+ Node82fontSize + 'px "Arial"').width + 6, (Node82height - Node82fontSize) * 0.5*_ratio.ratioY + Node82fontSize + 2 ]);
- Node82.a('node.underlinevisible',false);
- Node82.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node82);
- zoomNodeList.push({
- node: Node82,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node83points=[758, 142,1035, 142],
- Node83rect=ht.Default.unionPoint([{x:758,y:142},{x:1035,y:142}]),
- Node83compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node83points.length;i++){
- if(i%2==0){
- Node83compspts.push(Node83points[i]-Node83rect.x);
- }else{
- Node83compspts.push(Node83points[i]-Node83rect.y);
- }
- }
- var Node83ptslength=Node83compspts.length;
- if (Node83rect.height === 0) {
- Node83compspts[0] -= 0;
- Node83compspts[Node83ptslength-2] += 0;
- } else if (Node83rect.width === 0){
- Node83compspts[1] -= 0;
- Node83compspts[Node83ptslength-1] += 0;
- } else {
- Node83compspts[0] -= 0;
- Node83compspts[1] -= 0;
- Node83compspts[Node83ptslength-2] += 0;
- Node83compspts[Node83ptslength-1] += 0;
- }
- Node83 = new ht.Node();
- Node83.borderWidth = 1;
- Node83rect.width = Node83rect.width === 0 ? 0.0001 : Node83rect.width;
- Node83rect.height = Node83rect.height === 0 ? 0.0001 : Node83rect.height;
- var Node83endCompspts = [Node83compspts[Node83ptslength-2],Node83compspts[Node83ptslength-1],0,0];
- var Node83startCompspts = [Node83compspts[0],Node83compspts[1],0,0];
- Node83.setImage(GD.getPolyLineJSON());
- Node83.setPosition(Node83rect.x+Node83rect.width/2,Node83rect.y+Node83rect.height/2);
- Node83.setSize(Node83rect.width,Node83rect.height);
- Node83.setStyle("opacity",1);
- Node83.s({'pixelPerfect':true});
- Node83borderwidth=1;
- Node83.setRotation(0);
- dataModel.add(Node83);
- Node83.a('node.points',Node83compspts);
- Node83.a('node.segments',[1,2]);
- Node83.a('node.color','rgba(220,220,220,1)');
- Node83.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node83.a('node.borderColor','rgba(220,220,220,1)');
- Node83.a('node.background','rgba(220,220,220,1)');
- Node83.a('node.gradient','');
- Node83.a('node.gradientcolor','rgba(220,220,220,1)');
- Node83.a('node.endCompspts',Node83endCompspts);
- Node83.a('node.startCompspts',Node83startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node83';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node83, Node83.getImage(), Node83compspts, Node83endCompspts, Node83startCompspts);
- var Node84points=[756, 168,1033, 168],
- Node84rect=ht.Default.unionPoint([{x:756,y:168},{x:1033,y:168}]),
- Node84compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node84points.length;i++){
- if(i%2==0){
- Node84compspts.push(Node84points[i]-Node84rect.x);
- }else{
- Node84compspts.push(Node84points[i]-Node84rect.y);
- }
- }
- var Node84ptslength=Node84compspts.length;
- if (Node84rect.height === 0) {
- Node84compspts[0] -= 0;
- Node84compspts[Node84ptslength-2] += 0;
- } else if (Node84rect.width === 0){
- Node84compspts[1] -= 0;
- Node84compspts[Node84ptslength-1] += 0;
- } else {
- Node84compspts[0] -= 0;
- Node84compspts[1] -= 0;
- Node84compspts[Node84ptslength-2] += 0;
- Node84compspts[Node84ptslength-1] += 0;
- }
- Node84 = new ht.Node();
- Node84.borderWidth = 1;
- Node84rect.width = Node84rect.width === 0 ? 0.0001 : Node84rect.width;
- Node84rect.height = Node84rect.height === 0 ? 0.0001 : Node84rect.height;
- var Node84endCompspts = [Node84compspts[Node84ptslength-2],Node84compspts[Node84ptslength-1],0,0];
- var Node84startCompspts = [Node84compspts[0],Node84compspts[1],0,0];
- Node84.setImage(GD.getPolyLineJSON());
- Node84.setPosition(Node84rect.x+Node84rect.width/2,Node84rect.y+Node84rect.height/2);
- Node84.setSize(Node84rect.width,Node84rect.height);
- Node84.setStyle("opacity",1);
- Node84.s({'pixelPerfect':true});
- Node84borderwidth=1;
- Node84.setRotation(0);
- dataModel.add(Node84);
- Node84.a('node.points',Node84compspts);
- Node84.a('node.segments',[1,2]);
- Node84.a('node.color','rgba(220,220,220,1)');
- Node84.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node84.a('node.borderColor','rgba(220,220,220,1)');
- Node84.a('node.background','rgba(220,220,220,1)');
- Node84.a('node.gradient','');
- Node84.a('node.gradientcolor','rgba(220,220,220,1)');
- Node84.a('node.endCompspts',Node84endCompspts);
- Node84.a('node.startCompspts',Node84startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node84';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node84, Node84.getImage(), Node84compspts, Node84endCompspts, Node84startCompspts);
- var Node85points=[758, 192,1035, 192],
- Node85rect=ht.Default.unionPoint([{x:758,y:192},{x:1035,y:192}]),
- Node85compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node85points.length;i++){
- if(i%2==0){
- Node85compspts.push(Node85points[i]-Node85rect.x);
- }else{
- Node85compspts.push(Node85points[i]-Node85rect.y);
- }
- }
- var Node85ptslength=Node85compspts.length;
- if (Node85rect.height === 0) {
- Node85compspts[0] -= 0;
- Node85compspts[Node85ptslength-2] += 0;
- } else if (Node85rect.width === 0){
- Node85compspts[1] -= 0;
- Node85compspts[Node85ptslength-1] += 0;
- } else {
- Node85compspts[0] -= 0;
- Node85compspts[1] -= 0;
- Node85compspts[Node85ptslength-2] += 0;
- Node85compspts[Node85ptslength-1] += 0;
- }
- Node85 = new ht.Node();
- Node85.borderWidth = 1;
- Node85rect.width = Node85rect.width === 0 ? 0.0001 : Node85rect.width;
- Node85rect.height = Node85rect.height === 0 ? 0.0001 : Node85rect.height;
- var Node85endCompspts = [Node85compspts[Node85ptslength-2],Node85compspts[Node85ptslength-1],0,0];
- var Node85startCompspts = [Node85compspts[0],Node85compspts[1],0,0];
- Node85.setImage(GD.getPolyLineJSON());
- Node85.setPosition(Node85rect.x+Node85rect.width/2,Node85rect.y+Node85rect.height/2);
- Node85.setSize(Node85rect.width,Node85rect.height);
- Node85.setStyle("opacity",1);
- Node85.s({'pixelPerfect':true});
- Node85borderwidth=1;
- Node85.setRotation(0);
- dataModel.add(Node85);
- Node85.a('node.points',Node85compspts);
- Node85.a('node.segments',[1,2]);
- Node85.a('node.color','rgba(220,220,220,1)');
- Node85.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node85.a('node.borderColor','rgba(220,220,220,1)');
- Node85.a('node.background','rgba(220,220,220,1)');
- Node85.a('node.gradient','');
- Node85.a('node.gradientcolor','rgba(220,220,220,1)');
- Node85.a('node.endCompspts',Node85endCompspts);
- Node85.a('node.startCompspts',Node85startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node85';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node85, Node85.getImage(), Node85compspts, Node85endCompspts, Node85startCompspts);
- var Node86points=[758, 215,1035, 215],
- Node86rect=ht.Default.unionPoint([{x:758,y:215},{x:1035,y:215}]),
- Node86compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node86points.length;i++){
- if(i%2==0){
- Node86compspts.push(Node86points[i]-Node86rect.x);
- }else{
- Node86compspts.push(Node86points[i]-Node86rect.y);
- }
- }
- var Node86ptslength=Node86compspts.length;
- if (Node86rect.height === 0) {
- Node86compspts[0] -= 0;
- Node86compspts[Node86ptslength-2] += 0;
- } else if (Node86rect.width === 0){
- Node86compspts[1] -= 0;
- Node86compspts[Node86ptslength-1] += 0;
- } else {
- Node86compspts[0] -= 0;
- Node86compspts[1] -= 0;
- Node86compspts[Node86ptslength-2] += 0;
- Node86compspts[Node86ptslength-1] += 0;
- }
- Node86 = new ht.Node();
- Node86.borderWidth = 1;
- Node86rect.width = Node86rect.width === 0 ? 0.0001 : Node86rect.width;
- Node86rect.height = Node86rect.height === 0 ? 0.0001 : Node86rect.height;
- var Node86endCompspts = [Node86compspts[Node86ptslength-2],Node86compspts[Node86ptslength-1],0,0];
- var Node86startCompspts = [Node86compspts[0],Node86compspts[1],0,0];
- Node86.setImage(GD.getPolyLineJSON());
- Node86.setPosition(Node86rect.x+Node86rect.width/2,Node86rect.y+Node86rect.height/2);
- Node86.setSize(Node86rect.width,Node86rect.height);
- Node86.setStyle("opacity",1);
- Node86.s({'pixelPerfect':true});
- Node86borderwidth=1;
- Node86.setRotation(0);
- dataModel.add(Node86);
- Node86.a('node.points',Node86compspts);
- Node86.a('node.segments',[1,2]);
- Node86.a('node.color','rgba(220,220,220,1)');
- Node86.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node86.a('node.borderColor','rgba(220,220,220,1)');
- Node86.a('node.background','rgba(220,220,220,1)');
- Node86.a('node.gradient','');
- Node86.a('node.gradientcolor','rgba(220,220,220,1)');
- Node86.a('node.endCompspts',Node86endCompspts);
- Node86.a('node.startCompspts',Node86startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node86';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node86, Node86.getImage(), Node86compspts, Node86endCompspts, Node86startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node87type = 'rect';
- var Node87 = new ht.Node(),
- Node87BorderWidth = 1*2;
- if (Node87type === 'arc') {
- Node87BorderWidth *= 1;
- }
- Node87.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node87type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node87.setPosition(1103*ratio.ratioX, 178*ratio.ratioY);
- Node87.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
- Node87.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node87.a('node.width', 120*_ratio.ratioX);
- Node87.a('node.height', 120*_ratio.ratioY);
- Node87.a('node.type', Node87type);
- Node87.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
- Node87.a('node.background', 'rgba(245,245,245,1)');
- Node87.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node87.a('node.gradient', '');
- Node87.a('node.borderwidth', Node87BorderWidth);
- Node87.a('node.color', 'rgba(220,220,220,1)');
- Node87.a('node.fillrect', [0,0,0,0]);
- Node87.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node87.a('node.fillgradient', '');
- if (Node87type !== 'rect') {
- Node87.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node87.a('node.arcTo', parseFloat('@arcTo@'));
- Node87.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node87type === 'arc') {
- Node87.a('node.arcOval', true);
- }
- Node87.setRotation(0*Math.PI/180);
- Node87.borderWidth = Node87BorderWidth;
- Node87.borderFillwidth = Node87BorderWidth;
- dataModel.add(Node87);
- Node87._nodename = 'Node87'
- Node87._nodeType = 'rect';
- zoomNodeList.push({
- node: Node87,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node87, Node87.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node88type = 'rect';
- var Node88 = new ht.Node(),
- Node88BorderWidth = 1*2;
- if (Node88type === 'arc') {
- Node88BorderWidth *= 1;
- }
- Node88.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node88type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node88.setPosition(1182*ratio.ratioX, 178*ratio.ratioY);
- Node88.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
- Node88.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node88.a('node.width', 280.7278*_ratio.ratioX);
- Node88.a('node.height', 122*_ratio.ratioY);
- Node88.a('node.type', Node88type);
- Node88.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
- Node88.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node88.a('node.gradientcolor', '');
- Node88.a('node.gradient', '');
- Node88.a('node.borderwidth', Node88BorderWidth);
- Node88.a('node.color', 'rgba(220,220,220,1)');
- Node88.a('node.fillrect', [0,0,0,0]);
- Node88.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node88.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node88.a('node.fillgradient', '');
- if (Node88type !== 'rect') {
- Node88.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node88.a('node.arcTo', parseFloat('@arcTo@'));
- Node88.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node88type === 'arc') {
- Node88.a('node.arcOval', true);
- }
- Node88.setRotation(0*Math.PI/180);
- Node88.borderWidth = Node88BorderWidth;
- Node88.borderFillwidth = Node88BorderWidth;
- dataModel.add(Node88);
- Node88._nodename = 'Node88'
- Node88._nodeType = 'rect';
- zoomNodeList.push({
- node: Node88,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node88, Node88.getImage());var Node89points=[1233, 118,1233, 238],
- Node89rect=ht.Default.unionPoint([{x:1233,y:118},{x:1233,y:238}]),
- Node89compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node89points.length;i++){
- if(i%2==0){
- Node89compspts.push(Node89points[i]-Node89rect.x);
- }else{
- Node89compspts.push(Node89points[i]-Node89rect.y);
- }
- }
- var Node89ptslength=Node89compspts.length;
- if (Node89rect.height === 0) {
- Node89compspts[0] -= 0;
- Node89compspts[Node89ptslength-2] += 0;
- } else if (Node89rect.width === 0){
- Node89compspts[1] -= 0;
- Node89compspts[Node89ptslength-1] += 0;
- } else {
- Node89compspts[0] -= 0;
- Node89compspts[1] -= 0;
- Node89compspts[Node89ptslength-2] += 0;
- Node89compspts[Node89ptslength-1] += 0;
- }
- Node89 = new ht.Node();
- Node89.borderWidth = 1;
- Node89rect.width = Node89rect.width === 0 ? 0.0001 : Node89rect.width;
- Node89rect.height = Node89rect.height === 0 ? 0.0001 : Node89rect.height;
- var Node89endCompspts = [Node89compspts[Node89ptslength-2],Node89compspts[Node89ptslength-1],0,0];
- var Node89startCompspts = [Node89compspts[0],Node89compspts[1],0,0];
- Node89.setImage(GD.getPolyLineJSON());
- Node89.setPosition(Node89rect.x+Node89rect.width/2,Node89rect.y+Node89rect.height/2);
- Node89.setSize(Node89rect.width,Node89rect.height);
- Node89.setStyle("opacity",1);
- Node89.s({'pixelPerfect':true});
- Node89borderwidth=1;
- Node89.setRotation(0);
- dataModel.add(Node89);
- Node89.a('node.points',Node89compspts);
- Node89.a('node.segments',[1,2]);
- Node89.a('node.color','rgba(220,220,220,1)');
- Node89.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node89.a('node.borderColor','rgba(220,220,220,1)');
- Node89.a('node.background','rgba(220,220,220,1)');
- Node89.a('node.gradient','');
- Node89.a('node.gradientcolor','rgba(220,220,220,1)');
- Node89.a('node.endCompspts',Node89endCompspts);
- Node89.a('node.startCompspts',Node89startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node89';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node89, Node89.getImage(), Node89compspts, Node89endCompspts, Node89startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node90 = new ht.Node();
- var Node90textStart, Node90textWidth, Node90lineStart, Node90align = 'left', Node90fontSize = 13.3333*_ratio.ratioY,Node90width = 110*_ratio.ratioX, Node90height = 27*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node90align === 'center') {
- Node90textStart = -3;
- Node90textWidth = Node90width;
- Node90lineStart = Node90width - ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node90.setImage(GD.getTextJSON(Node90width, Node90height, true, false, false, ' '+ Node90fontSize + 'px "Arial"'))
- Node90.setPosition(1102*ratio.ratioX, 129*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','left');
- 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 "Arial"');
- 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,"left",color,' '+ Node90fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node90.a('node.underlinepoints',[Node90lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node90fontSize + 2 , ht.Default.getTextSize('日维护损失电量', ' '+ Node90fontSize + 'px "Arial"').width + 6, (Node90height - Node90fontSize) * 0.5*_ratio.ratioY + Node90fontSize + 2 ]);
- Node90.a('node.underlinevisible',false);
- Node90.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node90);
- zoomNodeList.push({
- node: Node90,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node91 = new ht.Node();
- var Node91textStart, Node91textWidth, Node91lineStart, Node91align = 'left', Node91fontSize = 13.3333*_ratio.ratioY,Node91width = 110*_ratio.ratioX, Node91height = 27*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node91align === 'center') {
- Node91textStart = -3;
- Node91textWidth = Node91width;
- Node91lineStart = Node91width - ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node91.setImage(GD.getTextJSON(Node91width, Node91height, true, false, false, ' '+ Node91fontSize + 'px "Arial"'))
- Node91.setPosition(1102*ratio.ratioX, 155*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','left');
- 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 "Arial"');
- 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,"left",color,' '+ Node91fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node91.a('node.underlinepoints',[Node91lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node91fontSize + 2 , ht.Default.getTextSize('日故障损失电量', ' '+ Node91fontSize + 'px "Arial"').width + 6, (Node91height - Node91fontSize) * 0.5*_ratio.ratioY + Node91fontSize + 2 ]);
- Node91.a('node.underlinevisible',false);
- Node91.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node91);
- zoomNodeList.push({
- node: Node91,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node92 = new ht.Node();
- var Node92textStart, Node92textWidth, Node92lineStart, Node92align = 'left', Node92fontSize = 13.3333*_ratio.ratioY,Node92width = 110*_ratio.ratioX, Node92height = 27*_ratio.ratioY;
- (function () {
- if (Node92align === 'left') {
- Node92textStart = Node92fontSize * 0.2 > 2 ? Node92fontSize * 0.2 - 4 : Node92fontSize * 0.2 - 9;
- Node92textWidth = Node92width;
- Node92lineStart = 1;
- } else if (Node92align === 'right') {
- Node92textStart = 0;
- Node92textWidth =Node92fontSize <= 8 ? Node92width + Node92fontSize * 0.2 + 6 : Node92width - Node92fontSize * 0.2;
- Node92lineStart = (Node92width - (ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node92align === 'center') {
- Node92textStart = -3;
- Node92textWidth = Node92width;
- Node92lineStart = Node92width - ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node92.setImage(GD.getTextJSON(Node92width, Node92height, true, false, false, ' '+ Node92fontSize + 'px "Arial"'))
- Node92.setPosition(1102*ratio.ratioX, 179*ratio.ratioY);
- Node92.setWidth(Node92width);
- Node92.setHeight(Node92height);
- Node92._nodeType = 'text';
- Node92._disallowEvert = true;
- Node92.setRotation(0*Math.PI/180);
- Node92.a('node.width', Node92width);
- Node92.a('node.height', Node92height);
- Node92.a('node.rect', [0, 0, Node92width, Node92height]);
- Node92.a('node.bordercolor','rgba(0,0,0,1)');
- Node92.a('node.borderwidth', 0);
- Node92.a('node.background','' || 'rgba(0,0,0,0)');
- Node92.a('node.gradient','');
- Node92.a('node.gradientcolor','');
- Node92.a('node.text','日限电损失电量');
- Node92.a('node.textalign','left');
- Node92.a('node.textvAlign','middle');
- Node92.a('node.textrect', [Node92textStart, 0, Node92textWidth, Node92height]);
- Node92.a('node.color','rgba(0,0,0,1)');
- Node92.a('node.font',' '+ Node92fontSize + 'px "Arial"');
- Node92.a('node.textvisible',true);
- Node92.a('node.linefeed',false);
- if (false) {
- Node92.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node92.a('node.text') || '日限电损失电量';
- var color=Node92.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node92width,Node92height,13.3333*_ratio.ratioY,"left",color,' '+ Node92fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node92.a('node.underlinepoints',[Node92lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node92fontSize + 2 , ht.Default.getTextSize('日限电损失电量', ' '+ Node92fontSize + 'px "Arial"').width + 6, (Node92height - Node92fontSize) * 0.5*_ratio.ratioY + Node92fontSize + 2 ]);
- Node92.a('node.underlinevisible',false);
- Node92.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node92);
- zoomNodeList.push({
- node: Node92,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node93 = new ht.Node();
- var Node93textStart, Node93textWidth, Node93lineStart, Node93align = 'left', Node93fontSize = 13.3333*_ratio.ratioY,Node93width = 110*_ratio.ratioX, Node93height = 27*_ratio.ratioY;
- (function () {
- if (Node93align === 'left') {
- Node93textStart = Node93fontSize * 0.2 > 2 ? Node93fontSize * 0.2 - 4 : Node93fontSize * 0.2 - 9;
- Node93textWidth = Node93width;
- Node93lineStart = 1;
- } else if (Node93align === 'right') {
- Node93textStart = 0;
- Node93textWidth =Node93fontSize <= 8 ? Node93width + Node93fontSize * 0.2 + 6 : Node93width - Node93fontSize * 0.2;
- Node93lineStart = (Node93width - (ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node93align === 'center') {
- Node93textStart = -3;
- Node93textWidth = Node93width;
- Node93lineStart = Node93width - ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node93.setImage(GD.getTextJSON(Node93width, Node93height, true, false, false, ' '+ Node93fontSize + 'px "Arial"'))
- Node93.setPosition(1102*ratio.ratioX, 202*ratio.ratioY);
- Node93.setWidth(Node93width);
- Node93.setHeight(Node93height);
- Node93._nodeType = 'text';
- Node93._disallowEvert = true;
- Node93.setRotation(0*Math.PI/180);
- Node93.a('node.width', Node93width);
- Node93.a('node.height', Node93height);
- Node93.a('node.rect', [0, 0, Node93width, Node93height]);
- Node93.a('node.bordercolor','rgba(0,0,0,1)');
- Node93.a('node.borderwidth', 0);
- Node93.a('node.background','' || 'rgba(0,0,0,0)');
- Node93.a('node.gradient','');
- Node93.a('node.gradientcolor','');
- Node93.a('node.text','日受累损失电量');
- Node93.a('node.textalign','left');
- Node93.a('node.textvAlign','middle');
- Node93.a('node.textrect', [Node93textStart, 0, Node93textWidth, Node93height]);
- Node93.a('node.color','rgba(0,0,0,1)');
- Node93.a('node.font',' '+ Node93fontSize + 'px "Arial"');
- Node93.a('node.textvisible',true);
- Node93.a('node.linefeed',false);
- if (false) {
- Node93.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node93.a('node.text') || '日受累损失电量';
- var color=Node93.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node93width,Node93height,13.3333*_ratio.ratioY,"left",color,' '+ Node93fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node93.a('node.underlinepoints',[Node93lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node93fontSize + 2 , ht.Default.getTextSize('日受累损失电量', ' '+ Node93fontSize + 'px "Arial"').width + 6, (Node93height - Node93fontSize) * 0.5*_ratio.ratioY + Node93fontSize + 2 ]);
- Node93.a('node.underlinevisible',false);
- Node93.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node93);
- zoomNodeList.push({
- node: Node93,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node94 = new ht.Node();
- var Node94textStart, Node94textWidth, Node94lineStart, Node94align = 'left', Node94fontSize = 13.3333*_ratio.ratioY,Node94width = 125*_ratio.ratioX, Node94height = 27*_ratio.ratioY;
- (function () {
- if (Node94align === 'left') {
- Node94textStart = Node94fontSize * 0.2 > 2 ? Node94fontSize * 0.2 - 4 : Node94fontSize * 0.2 - 9;
- Node94textWidth = Node94width;
- Node94lineStart = 1;
- } else if (Node94align === 'right') {
- Node94textStart = 0;
- Node94textWidth =Node94fontSize <= 8 ? Node94width + Node94fontSize * 0.2 + 6 : Node94width - Node94fontSize * 0.2;
- Node94lineStart = (Node94width - (ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node94align === 'center') {
- Node94textStart = -3;
- Node94textWidth = Node94width;
- Node94lineStart = Node94width - ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node94.setImage(GD.getTextJSON(Node94width, Node94height, true, false, false, ' '+ Node94fontSize + 'px "Arial"'))
- Node94.setPosition(1109*ratio.ratioX, 227*ratio.ratioY);
- Node94.setWidth(Node94width);
- Node94.setHeight(Node94height);
- Node94._nodeType = 'text';
- Node94._disallowEvert = true;
- Node94.setRotation(0*Math.PI/180);
- Node94.a('node.width', Node94width);
- Node94.a('node.height', Node94height);
- Node94.a('node.rect', [0, 0, Node94width, Node94height]);
- Node94.a('node.bordercolor','rgba(0,0,0,1)');
- Node94.a('node.borderwidth', 0);
- Node94.a('node.background','' || 'rgba(0,0,0,0)');
- Node94.a('node.gradient','');
- Node94.a('node.gradientcolor','');
- Node94.a('node.text','日性能损失电量');
- Node94.a('node.textalign','left');
- Node94.a('node.textvAlign','middle');
- Node94.a('node.textrect', [Node94textStart, 0, Node94textWidth, Node94height]);
- Node94.a('node.color','rgba(0,0,0,1)');
- Node94.a('node.font',' '+ Node94fontSize + 'px "Arial"');
- Node94.a('node.textvisible',true);
- Node94.a('node.linefeed',false);
- if (false) {
- Node94.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node94.a('node.text') || '日性能损失电量';
- var color=Node94.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node94width,Node94height,13.3333*_ratio.ratioY,"left",color,' '+ Node94fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node94.a('node.underlinepoints',[Node94lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node94fontSize + 2 , ht.Default.getTextSize('日性能损失电量', ' '+ Node94fontSize + 'px "Arial"').width + 6, (Node94height - Node94fontSize) * 0.5*_ratio.ratioY + Node94fontSize + 2 ]);
- Node94.a('node.underlinevisible',false);
- Node94.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node94);
- zoomNodeList.push({
- node: Node94,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node95 = new ht.Node();
- var Node95textStart, Node95textWidth, Node95lineStart, Node95align = 'left', Node95fontSize = 13.3333*_ratio.ratioY,Node95width = 37*_ratio.ratioX, Node95height = 16*_ratio.ratioY;
- (function () {
- if (Node95align === 'left') {
- Node95textStart = Node95fontSize * 0.2 > 2 ? Node95fontSize * 0.2 - 4 : Node95fontSize * 0.2 - 9;
- Node95textWidth = Node95width;
- Node95lineStart = 1;
- } else if (Node95align === 'right') {
- Node95textStart = 0;
- Node95textWidth =Node95fontSize <= 8 ? Node95width + Node95fontSize * 0.2 + 6 : Node95width - Node95fontSize * 0.2;
- Node95lineStart = (Node95width - (ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node95align === 'center') {
- Node95textStart = -3;
- Node95textWidth = Node95width;
- Node95lineStart = Node95width - ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node95.setImage(GD.getTextJSON(Node95width, Node95height, true, false, false, 'bold '+ Node95fontSize + 'px "Arial"'))
- Node95.setPosition(1198*ratio.ratioX, 128*ratio.ratioY);
- Node95.setWidth(Node95width);
- Node95.setHeight(Node95height);
- Node95._nodeType = 'text';
- Node95._disallowEvert = true;
- Node95.setRotation(0*Math.PI/180);
- Node95.a('node.width', Node95width);
- Node95.a('node.height', Node95height);
- Node95.a('node.rect', [0, 0, Node95width, Node95height]);
- Node95.a('node.bordercolor','rgba(0,0,0,1)');
- Node95.a('node.borderwidth', 0);
- Node95.a('node.background','' || 'rgba(0,0,0,0)');
- Node95.a('node.gradient','');
- Node95.a('node.gradientcolor','');
- Node95.a('node.text','0');
- Node95.a('node.textalign','left');
- Node95.a('node.textvAlign','middle');
- Node95.a('node.textrect', [Node95textStart, 0, Node95textWidth, Node95height]);
- Node95.a('node.color','rgba(0,0,0,1)');
- Node95.a('node.font','bold '+ Node95fontSize + 'px "Arial"');
- Node95.a('node.textvisible',true);
- Node95.a('node.linefeed',false);
- if (false) {
- Node95.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node95.a('node.text') || '0';
- var color=Node95.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node95width,Node95height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node95fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node95.a('node.underlinepoints',[Node95lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node95fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node95fontSize + 'px "Arial"').width + 6, (Node95height - Node95fontSize) * 0.5*_ratio.ratioY + Node95fontSize + 2 ]);
- Node95.a('node.underlinevisible',false);
- Node95.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node95);
- zoomNodeList.push({
- node: Node95,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node96 = new ht.Node();
- var Node96textStart, Node96textWidth, Node96lineStart, Node96align = 'left', Node96fontSize = 13.3333*_ratio.ratioY,Node96width = 37*_ratio.ratioX, Node96height = 16*_ratio.ratioY;
- (function () {
- if (Node96align === 'left') {
- Node96textStart = Node96fontSize * 0.2 > 2 ? Node96fontSize * 0.2 - 4 : Node96fontSize * 0.2 - 9;
- Node96textWidth = Node96width;
- Node96lineStart = 1;
- } else if (Node96align === 'right') {
- Node96textStart = 0;
- Node96textWidth =Node96fontSize <= 8 ? Node96width + Node96fontSize * 0.2 + 6 : Node96width - Node96fontSize * 0.2;
- Node96lineStart = (Node96width - (ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node96align === 'center') {
- Node96textStart = -3;
- Node96textWidth = Node96width;
- Node96lineStart = Node96width - ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node96.setImage(GD.getTextJSON(Node96width, Node96height, true, false, false, 'bold '+ Node96fontSize + 'px "Arial"'))
- Node96.setPosition(1198*ratio.ratioX, 152*ratio.ratioY);
- Node96.setWidth(Node96width);
- Node96.setHeight(Node96height);
- Node96._nodeType = 'text';
- Node96._disallowEvert = true;
- Node96.setRotation(0*Math.PI/180);
- Node96.a('node.width', Node96width);
- Node96.a('node.height', Node96height);
- Node96.a('node.rect', [0, 0, Node96width, Node96height]);
- Node96.a('node.bordercolor','rgba(0,0,0,1)');
- Node96.a('node.borderwidth', 0);
- Node96.a('node.background','' || 'rgba(0,0,0,0)');
- Node96.a('node.gradient','');
- Node96.a('node.gradientcolor','');
- Node96.a('node.text','0');
- Node96.a('node.textalign','left');
- Node96.a('node.textvAlign','middle');
- Node96.a('node.textrect', [Node96textStart, 0, Node96textWidth, Node96height]);
- Node96.a('node.color','rgba(0,0,0,1)');
- Node96.a('node.font','bold '+ Node96fontSize + 'px "Arial"');
- Node96.a('node.textvisible',true);
- Node96.a('node.linefeed',false);
- if (false) {
- Node96.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node96.a('node.text') || '0';
- var color=Node96.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node96width,Node96height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node96fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node96.a('node.underlinepoints',[Node96lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node96fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node96fontSize + 'px "Arial"').width + 6, (Node96height - Node96fontSize) * 0.5*_ratio.ratioY + Node96fontSize + 2 ]);
- Node96.a('node.underlinevisible',false);
- Node96.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node96);
- zoomNodeList.push({
- node: Node96,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node97 = new ht.Node();
- var Node97textStart, Node97textWidth, Node97lineStart, Node97align = 'left', Node97fontSize = 13.3333*_ratio.ratioY,Node97width = 27*_ratio.ratioX, Node97height = 16*_ratio.ratioY;
- (function () {
- if (Node97align === 'left') {
- Node97textStart = Node97fontSize * 0.2 > 2 ? Node97fontSize * 0.2 - 4 : Node97fontSize * 0.2 - 9;
- Node97textWidth = Node97width;
- Node97lineStart = 1;
- } else if (Node97align === 'right') {
- Node97textStart = 0;
- Node97textWidth =Node97fontSize <= 8 ? Node97width + Node97fontSize * 0.2 + 6 : Node97width - Node97fontSize * 0.2;
- Node97lineStart = (Node97width - (ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node97align === 'center') {
- Node97textStart = -3;
- Node97textWidth = Node97width;
- Node97lineStart = Node97width - ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node97.setImage(GD.getTextJSON(Node97width, Node97height, true, false, false, 'bold '+ Node97fontSize + 'px "Arial"'))
- Node97.setPosition(1193*ratio.ratioX, 177*ratio.ratioY);
- Node97.setWidth(Node97width);
- Node97.setHeight(Node97height);
- Node97._nodeType = 'text';
- Node97._disallowEvert = true;
- Node97.setRotation(0*Math.PI/180);
- Node97.a('node.width', Node97width);
- Node97.a('node.height', Node97height);
- Node97.a('node.rect', [0, 0, Node97width, Node97height]);
- Node97.a('node.bordercolor','rgba(0,0,0,1)');
- Node97.a('node.borderwidth', 0);
- Node97.a('node.background','' || 'rgba(0,0,0,0)');
- Node97.a('node.gradient','');
- Node97.a('node.gradientcolor','');
- Node97.a('node.text','0');
- Node97.a('node.textalign','left');
- Node97.a('node.textvAlign','middle');
- Node97.a('node.textrect', [Node97textStart, 0, Node97textWidth, Node97height]);
- Node97.a('node.color','rgba(0,0,0,1)');
- Node97.a('node.font','bold '+ Node97fontSize + 'px "Arial"');
- Node97.a('node.textvisible',true);
- Node97.a('node.linefeed',false);
- if (false) {
- Node97.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node97.a('node.text') || '0';
- var color=Node97.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node97width,Node97height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node97fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node97.a('node.underlinepoints',[Node97lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node97fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node97fontSize + 'px "Arial"').width + 6, (Node97height - Node97fontSize) * 0.5*_ratio.ratioY + Node97fontSize + 2 ]);
- Node97.a('node.underlinevisible',false);
- Node97.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node97);
- zoomNodeList.push({
- node: Node97,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node98 = new ht.Node();
- var Node98textStart, Node98textWidth, Node98lineStart, Node98align = 'left', Node98fontSize = 13.3333*_ratio.ratioY,Node98width = 37*_ratio.ratioX, Node98height = 16*_ratio.ratioY;
- (function () {
- if (Node98align === 'left') {
- Node98textStart = Node98fontSize * 0.2 > 2 ? Node98fontSize * 0.2 - 4 : Node98fontSize * 0.2 - 9;
- Node98textWidth = Node98width;
- Node98lineStart = 1;
- } else if (Node98align === 'right') {
- Node98textStart = 0;
- Node98textWidth =Node98fontSize <= 8 ? Node98width + Node98fontSize * 0.2 + 6 : Node98width - Node98fontSize * 0.2;
- Node98lineStart = (Node98width - (ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node98align === 'center') {
- Node98textStart = -3;
- Node98textWidth = Node98width;
- Node98lineStart = Node98width - ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node98.setImage(GD.getTextJSON(Node98width, Node98height, true, false, false, 'bold '+ Node98fontSize + 'px "Arial"'))
- Node98.setPosition(1212*ratio.ratioX, 201*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','-');
- Node98.a('node.textalign','left');
- 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','bold '+ Node98fontSize + 'px "Arial"');
- Node98.a('node.textvisible',true);
- Node98.a('node.linefeed',false);
- if (false) {
- Node98.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node98.a('node.text') || '-';
- var color=Node98.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node98width,Node98height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node98fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node98.a('node.underlinepoints',[Node98lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node98fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node98fontSize + 'px "Arial"').width + 6, (Node98height - Node98fontSize) * 0.5*_ratio.ratioY + Node98fontSize + 2 ]);
- Node98.a('node.underlinevisible',false);
- Node98.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node98);
- zoomNodeList.push({
- node: Node98,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node99 = new ht.Node();
- var Node99textStart, Node99textWidth, Node99lineStart, Node99align = 'left', Node99fontSize = 13.3333*_ratio.ratioY,Node99width = 47*_ratio.ratioX, Node99height = 17*_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('万kW', ' '+ Node99fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node99align === 'center') {
- Node99textStart = -3;
- Node99textWidth = Node99width;
- Node99lineStart = Node99width - ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node99.setImage(GD.getTextJSON(Node99width, Node99height, true, false, false, ' '+ Node99fontSize + 'px "Arial"'))
- Node99.setPosition(1266*ratio.ratioX, 128*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(169,169,169,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','万kW');
- Node99.a('node.textalign','left');
- Node99.a('node.textvAlign','middle');
- Node99.a('node.textrect', [Node99textStart, 0, Node99textWidth, Node99height]);
- Node99.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node99.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node99width,Node99height,13.3333*_ratio.ratioY,"left",color,' '+ Node99fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node99.a('node.underlinepoints',[Node99lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node99fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node99fontSize + 'px "Arial"').width + 6, (Node99height - Node99fontSize) * 0.5*_ratio.ratioY + Node99fontSize + 2 ]);
- Node99.a('node.underlinevisible',false);
- Node99.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node99);
- zoomNodeList.push({
- node: Node99,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node100 = new ht.Node();
- var Node100textStart, Node100textWidth, Node100lineStart, Node100align = 'left', Node100fontSize = 13.3333*_ratio.ratioY,Node100width = 37*_ratio.ratioX, Node100height = 16*_ratio.ratioY;
- (function () {
- if (Node100align === 'left') {
- Node100textStart = Node100fontSize * 0.2 > 2 ? Node100fontSize * 0.2 - 4 : Node100fontSize * 0.2 - 9;
- Node100textWidth = Node100width;
- Node100lineStart = 1;
- } else if (Node100align === 'right') {
- Node100textStart = 0;
- Node100textWidth =Node100fontSize <= 8 ? Node100width + Node100fontSize * 0.2 + 6 : Node100width - Node100fontSize * 0.2;
- Node100lineStart = (Node100width - (ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node100align === 'center') {
- Node100textStart = -3;
- Node100textWidth = Node100width;
- Node100lineStart = Node100width - ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node100.setImage(GD.getTextJSON(Node100width, Node100height, true, false, false, 'bold '+ Node100fontSize + 'px "Arial"'))
- Node100.setPosition(1212*ratio.ratioX, 226*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','-');
- Node100.a('node.textalign','left');
- 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','bold '+ Node100fontSize + 'px "Arial"');
- Node100.a('node.textvisible',true);
- Node100.a('node.linefeed',false);
- if (false) {
- Node100.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node100.a('node.text') || '-';
- var color=Node100.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node100width,Node100height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node100fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node100.a('node.underlinepoints',[Node100lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node100fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node100fontSize + 'px "Arial"').width + 6, (Node100height - Node100fontSize) * 0.5*_ratio.ratioY + Node100fontSize + 2 ]);
- Node100.a('node.underlinevisible',false);
- Node100.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node100);
- zoomNodeList.push({
- node: Node100,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node101 = new ht.Node();
- var Node101textStart, Node101textWidth, Node101lineStart, Node101align = 'left', Node101fontSize = 13.3333*_ratio.ratioY,Node101width = 47*_ratio.ratioX, Node101height = 17*_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('万kW', ' '+ Node101fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node101align === 'center') {
- Node101textStart = -3;
- Node101textWidth = Node101width;
- Node101lineStart = Node101width - ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node101.setImage(GD.getTextJSON(Node101width, Node101height, true, false, false, ' '+ Node101fontSize + 'px "Arial"'))
- Node101.setPosition(1266*ratio.ratioX, 154*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(169,169,169,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','万kW');
- Node101.a('node.textalign','left');
- Node101.a('node.textvAlign','middle');
- Node101.a('node.textrect', [Node101textStart, 0, Node101textWidth, Node101height]);
- Node101.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node101.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node101width,Node101height,13.3333*_ratio.ratioY,"left",color,' '+ Node101fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node101.a('node.underlinepoints',[Node101lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node101fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node101fontSize + 'px "Arial"').width + 6, (Node101height - Node101fontSize) * 0.5*_ratio.ratioY + Node101fontSize + 2 ]);
- Node101.a('node.underlinevisible',false);
- Node101.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node101);
- zoomNodeList.push({
- node: Node101,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node102 = new ht.Node();
- var Node102textStart, Node102textWidth, Node102lineStart, Node102align = 'left', Node102fontSize = 13.3333*_ratio.ratioY,Node102width = 47*_ratio.ratioX, Node102height = 17*_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('万kW', ' '+ Node102fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node102align === 'center') {
- Node102textStart = -3;
- Node102textWidth = Node102width;
- Node102lineStart = Node102width - ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node102.setImage(GD.getTextJSON(Node102width, Node102height, true, false, false, ' '+ Node102fontSize + 'px "Arial"'))
- Node102.setPosition(1266*ratio.ratioX, 179*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(169,169,169,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','万kW');
- Node102.a('node.textalign','left');
- Node102.a('node.textvAlign','middle');
- Node102.a('node.textrect', [Node102textStart, 0, Node102textWidth, Node102height]);
- Node102.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node102.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node102width,Node102height,13.3333*_ratio.ratioY,"left",color,' '+ Node102fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node102.a('node.underlinepoints',[Node102lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node102fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node102fontSize + 'px "Arial"').width + 6, (Node102height - Node102fontSize) * 0.5*_ratio.ratioY + Node102fontSize + 2 ]);
- Node102.a('node.underlinevisible',false);
- Node102.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node102);
- zoomNodeList.push({
- node: Node102,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node103 = new ht.Node();
- var Node103textStart, Node103textWidth, Node103lineStart, Node103align = 'left', Node103fontSize = 13.3333*_ratio.ratioY,Node103width = 47*_ratio.ratioX, Node103height = 17*_ratio.ratioY;
- (function () {
- if (Node103align === 'left') {
- Node103textStart = Node103fontSize * 0.2 > 2 ? Node103fontSize * 0.2 - 4 : Node103fontSize * 0.2 - 9;
- Node103textWidth = Node103width;
- Node103lineStart = 1;
- } else if (Node103align === 'right') {
- Node103textStart = 0;
- Node103textWidth =Node103fontSize <= 8 ? Node103width + Node103fontSize * 0.2 + 6 : Node103width - Node103fontSize * 0.2;
- Node103lineStart = (Node103width - (ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node103align === 'center') {
- Node103textStart = -3;
- Node103textWidth = Node103width;
- Node103lineStart = Node103width - ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node103.setImage(GD.getTextJSON(Node103width, Node103height, true, false, false, ' '+ Node103fontSize + 'px "Arial"'))
- Node103.setPosition(1266*ratio.ratioX, 206*ratio.ratioY);
- Node103.setWidth(Node103width);
- Node103.setHeight(Node103height);
- Node103._nodeType = 'text';
- Node103._disallowEvert = true;
- Node103.setRotation(0*Math.PI/180);
- Node103.a('node.width', Node103width);
- Node103.a('node.height', Node103height);
- Node103.a('node.rect', [0, 0, Node103width, Node103height]);
- Node103.a('node.bordercolor','rgba(169,169,169,1)');
- Node103.a('node.borderwidth', 0);
- Node103.a('node.background','' || 'rgba(0,0,0,0)');
- Node103.a('node.gradient','');
- Node103.a('node.gradientcolor','');
- Node103.a('node.text','万kW');
- Node103.a('node.textalign','left');
- Node103.a('node.textvAlign','middle');
- Node103.a('node.textrect', [Node103textStart, 0, Node103textWidth, Node103height]);
- Node103.a('node.color','rgba(169,169,169,1)');
- Node103.a('node.font',' '+ Node103fontSize + 'px "Arial"');
- Node103.a('node.textvisible',true);
- Node103.a('node.linefeed',false);
- if (false) {
- Node103.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node103.a('node.text') || '万kW';
- var color=Node103.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node103width,Node103height,13.3333*_ratio.ratioY,"left",color,' '+ Node103fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node103.a('node.underlinepoints',[Node103lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node103fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node103fontSize + 'px "Arial"').width + 6, (Node103height - Node103fontSize) * 0.5*_ratio.ratioY + Node103fontSize + 2 ]);
- Node103.a('node.underlinevisible',false);
- Node103.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node103);
- zoomNodeList.push({
- node: Node103,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node104 = new ht.Node();
- var Node104textStart, Node104textWidth, Node104lineStart, Node104align = 'left', Node104fontSize = 13.3333*_ratio.ratioY,Node104width = 47*_ratio.ratioX, Node104height = 17*_ratio.ratioY;
- (function () {
- if (Node104align === 'left') {
- Node104textStart = Node104fontSize * 0.2 > 2 ? Node104fontSize * 0.2 - 4 : Node104fontSize * 0.2 - 9;
- Node104textWidth = Node104width;
- Node104lineStart = 1;
- } else if (Node104align === 'right') {
- Node104textStart = 0;
- Node104textWidth =Node104fontSize <= 8 ? Node104width + Node104fontSize * 0.2 + 6 : Node104width - Node104fontSize * 0.2;
- Node104lineStart = (Node104width - (ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node104align === 'center') {
- Node104textStart = -3;
- Node104textWidth = Node104width;
- Node104lineStart = Node104width - ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node104.setImage(GD.getTextJSON(Node104width, Node104height, true, false, false, ' '+ Node104fontSize + 'px "Arial"'))
- Node104.setPosition(1265*ratio.ratioX, 228*ratio.ratioY);
- Node104.setWidth(Node104width);
- Node104.setHeight(Node104height);
- Node104._nodeType = 'text';
- Node104._disallowEvert = true;
- Node104.setRotation(0*Math.PI/180);
- Node104.a('node.width', Node104width);
- Node104.a('node.height', Node104height);
- Node104.a('node.rect', [0, 0, Node104width, Node104height]);
- Node104.a('node.bordercolor','rgba(169,169,169,1)');
- Node104.a('node.borderwidth', 0);
- Node104.a('node.background','' || 'rgba(0,0,0,0)');
- Node104.a('node.gradient','');
- Node104.a('node.gradientcolor','');
- Node104.a('node.text','万kW');
- Node104.a('node.textalign','left');
- Node104.a('node.textvAlign','middle');
- Node104.a('node.textrect', [Node104textStart, 0, Node104textWidth, Node104height]);
- Node104.a('node.color','rgba(169,169,169,1)');
- Node104.a('node.font',' '+ Node104fontSize + 'px "Arial"');
- Node104.a('node.textvisible',true);
- Node104.a('node.linefeed',false);
- if (false) {
- Node104.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node104.a('node.text') || '万kW';
- var color=Node104.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node104width,Node104height,13.3333*_ratio.ratioY,"left",color,' '+ Node104fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node104.a('node.underlinepoints',[Node104lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node104fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node104fontSize + 'px "Arial"').width + 6, (Node104height - Node104fontSize) * 0.5*_ratio.ratioY + Node104fontSize + 2 ]);
- Node104.a('node.underlinevisible',false);
- Node104.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node104);
- zoomNodeList.push({
- node: Node104,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node105points=[1045, 142,1322, 142],
- Node105rect=ht.Default.unionPoint([{x:1045,y:142},{x:1322,y:142}]),
- Node105compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node105points.length;i++){
- if(i%2==0){
- Node105compspts.push(Node105points[i]-Node105rect.x);
- }else{
- Node105compspts.push(Node105points[i]-Node105rect.y);
- }
- }
- var Node105ptslength=Node105compspts.length;
- if (Node105rect.height === 0) {
- Node105compspts[0] -= 0;
- Node105compspts[Node105ptslength-2] += 0;
- } else if (Node105rect.width === 0){
- Node105compspts[1] -= 0;
- Node105compspts[Node105ptslength-1] += 0;
- } else {
- Node105compspts[0] -= 0;
- Node105compspts[1] -= 0;
- Node105compspts[Node105ptslength-2] += 0;
- Node105compspts[Node105ptslength-1] += 0;
- }
- Node105 = new ht.Node();
- Node105.borderWidth = 1;
- Node105rect.width = Node105rect.width === 0 ? 0.0001 : Node105rect.width;
- Node105rect.height = Node105rect.height === 0 ? 0.0001 : Node105rect.height;
- var Node105endCompspts = [Node105compspts[Node105ptslength-2],Node105compspts[Node105ptslength-1],0,0];
- var Node105startCompspts = [Node105compspts[0],Node105compspts[1],0,0];
- Node105.setImage(GD.getPolyLineJSON());
- Node105.setPosition(Node105rect.x+Node105rect.width/2,Node105rect.y+Node105rect.height/2);
- Node105.setSize(Node105rect.width,Node105rect.height);
- Node105.setStyle("opacity",1);
- Node105.s({'pixelPerfect':true});
- Node105borderwidth=1;
- Node105.setRotation(0);
- dataModel.add(Node105);
- Node105.a('node.points',Node105compspts);
- Node105.a('node.segments',[1,2]);
- Node105.a('node.color','rgba(220,220,220,1)');
- Node105.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node105.a('node.borderColor','rgba(220,220,220,1)');
- Node105.a('node.background','rgba(220,220,220,1)');
- Node105.a('node.gradient','');
- Node105.a('node.gradientcolor','rgba(220,220,220,1)');
- Node105.a('node.endCompspts',Node105endCompspts);
- Node105.a('node.startCompspts',Node105startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node105';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node105, Node105.getImage(), Node105compspts, Node105endCompspts, Node105startCompspts);
- var Node106points=[1043, 168,1320, 168],
- Node106rect=ht.Default.unionPoint([{x:1043,y:168},{x:1320,y:168}]),
- Node106compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node106points.length;i++){
- if(i%2==0){
- Node106compspts.push(Node106points[i]-Node106rect.x);
- }else{
- Node106compspts.push(Node106points[i]-Node106rect.y);
- }
- }
- var Node106ptslength=Node106compspts.length;
- if (Node106rect.height === 0) {
- Node106compspts[0] -= 0;
- Node106compspts[Node106ptslength-2] += 0;
- } else if (Node106rect.width === 0){
- Node106compspts[1] -= 0;
- Node106compspts[Node106ptslength-1] += 0;
- } else {
- Node106compspts[0] -= 0;
- Node106compspts[1] -= 0;
- Node106compspts[Node106ptslength-2] += 0;
- Node106compspts[Node106ptslength-1] += 0;
- }
- Node106 = new ht.Node();
- Node106.borderWidth = 1;
- Node106rect.width = Node106rect.width === 0 ? 0.0001 : Node106rect.width;
- Node106rect.height = Node106rect.height === 0 ? 0.0001 : Node106rect.height;
- var Node106endCompspts = [Node106compspts[Node106ptslength-2],Node106compspts[Node106ptslength-1],0,0];
- var Node106startCompspts = [Node106compspts[0],Node106compspts[1],0,0];
- Node106.setImage(GD.getPolyLineJSON());
- Node106.setPosition(Node106rect.x+Node106rect.width/2,Node106rect.y+Node106rect.height/2);
- Node106.setSize(Node106rect.width,Node106rect.height);
- Node106.setStyle("opacity",1);
- Node106.s({'pixelPerfect':true});
- Node106borderwidth=1;
- Node106.setRotation(0);
- dataModel.add(Node106);
- Node106.a('node.points',Node106compspts);
- Node106.a('node.segments',[1,2]);
- Node106.a('node.color','rgba(220,220,220,1)');
- Node106.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node106.a('node.borderColor','rgba(220,220,220,1)');
- Node106.a('node.background','rgba(220,220,220,1)');
- Node106.a('node.gradient','');
- Node106.a('node.gradientcolor','rgba(220,220,220,1)');
- Node106.a('node.endCompspts',Node106endCompspts);
- Node106.a('node.startCompspts',Node106startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node106';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node106, Node106.getImage(), Node106compspts, Node106endCompspts, Node106startCompspts);
- var Node107points=[1045, 192,1322, 192],
- Node107rect=ht.Default.unionPoint([{x:1045,y:192},{x:1322,y:192}]),
- Node107compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node107points.length;i++){
- if(i%2==0){
- Node107compspts.push(Node107points[i]-Node107rect.x);
- }else{
- Node107compspts.push(Node107points[i]-Node107rect.y);
- }
- }
- var Node107ptslength=Node107compspts.length;
- if (Node107rect.height === 0) {
- Node107compspts[0] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- } else if (Node107rect.width === 0){
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-1] += 0;
- } else {
- Node107compspts[0] -= 0;
- Node107compspts[1] -= 0;
- Node107compspts[Node107ptslength-2] += 0;
- Node107compspts[Node107ptslength-1] += 0;
- }
- Node107 = new ht.Node();
- Node107.borderWidth = 1;
- Node107rect.width = Node107rect.width === 0 ? 0.0001 : Node107rect.width;
- Node107rect.height = Node107rect.height === 0 ? 0.0001 : Node107rect.height;
- var Node107endCompspts = [Node107compspts[Node107ptslength-2],Node107compspts[Node107ptslength-1],0,0];
- var Node107startCompspts = [Node107compspts[0],Node107compspts[1],0,0];
- Node107.setImage(GD.getPolyLineJSON());
- Node107.setPosition(Node107rect.x+Node107rect.width/2,Node107rect.y+Node107rect.height/2);
- Node107.setSize(Node107rect.width,Node107rect.height);
- Node107.setStyle("opacity",1);
- Node107.s({'pixelPerfect':true});
- Node107borderwidth=1;
- Node107.setRotation(0);
- dataModel.add(Node107);
- Node107.a('node.points',Node107compspts);
- Node107.a('node.segments',[1,2]);
- Node107.a('node.color','rgba(220,220,220,1)');
- Node107.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node107.a('node.borderColor','rgba(220,220,220,1)');
- Node107.a('node.background','rgba(220,220,220,1)');
- Node107.a('node.gradient','');
- Node107.a('node.gradientcolor','rgba(220,220,220,1)');
- Node107.a('node.endCompspts',Node107endCompspts);
- Node107.a('node.startCompspts',Node107startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node107';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node107, Node107.getImage(), Node107compspts, Node107endCompspts, Node107startCompspts);
- var Node108points=[1045, 215,1322, 215],
- Node108rect=ht.Default.unionPoint([{x:1045,y:215},{x:1322,y:215}]),
- Node108compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node108points.length;i++){
- if(i%2==0){
- Node108compspts.push(Node108points[i]-Node108rect.x);
- }else{
- Node108compspts.push(Node108points[i]-Node108rect.y);
- }
- }
- var Node108ptslength=Node108compspts.length;
- if (Node108rect.height === 0) {
- Node108compspts[0] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- } else if (Node108rect.width === 0){
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-1] += 0;
- } else {
- Node108compspts[0] -= 0;
- Node108compspts[1] -= 0;
- Node108compspts[Node108ptslength-2] += 0;
- Node108compspts[Node108ptslength-1] += 0;
- }
- Node108 = new ht.Node();
- Node108.borderWidth = 1;
- Node108rect.width = Node108rect.width === 0 ? 0.0001 : Node108rect.width;
- Node108rect.height = Node108rect.height === 0 ? 0.0001 : Node108rect.height;
- var Node108endCompspts = [Node108compspts[Node108ptslength-2],Node108compspts[Node108ptslength-1],0,0];
- var Node108startCompspts = [Node108compspts[0],Node108compspts[1],0,0];
- Node108.setImage(GD.getPolyLineJSON());
- Node108.setPosition(Node108rect.x+Node108rect.width/2,Node108rect.y+Node108rect.height/2);
- Node108.setSize(Node108rect.width,Node108rect.height);
- Node108.setStyle("opacity",1);
- Node108.s({'pixelPerfect':true});
- Node108borderwidth=1;
- Node108.setRotation(0);
- dataModel.add(Node108);
- Node108.a('node.points',Node108compspts);
- Node108.a('node.segments',[1,2]);
- Node108.a('node.color','rgba(220,220,220,1)');
- Node108.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node108.a('node.borderColor','rgba(220,220,220,1)');
- Node108.a('node.background','rgba(220,220,220,1)');
- Node108.a('node.gradient','');
- Node108.a('node.gradientcolor','rgba(220,220,220,1)');
- Node108.a('node.endCompspts',Node108endCompspts);
- Node108.a('node.startCompspts',Node108startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node108';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node108, Node108.getImage(), Node108compspts, Node108endCompspts, Node108startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node109type = 'rect';
- var Node109 = new ht.Node(),
- Node109BorderWidth = 1*2;
- if (Node109type === 'arc') {
- Node109BorderWidth *= 1;
- }
- Node109.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node109type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node109.setPosition(1390*ratio.ratioX, 178*ratio.ratioY);
- Node109.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
- Node109.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node109.a('node.width', 120*_ratio.ratioX);
- Node109.a('node.height', 120*_ratio.ratioY);
- Node109.a('node.type', Node109type);
- Node109.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
- Node109.a('node.background', 'rgba(245,245,245,1)');
- Node109.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node109.a('node.gradient', '');
- Node109.a('node.borderwidth', Node109BorderWidth);
- Node109.a('node.color', 'rgba(220,220,220,1)');
- Node109.a('node.fillrect', [0,0,0,0]);
- Node109.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node109.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node109.a('node.fillgradient', '');
- if (Node109type !== 'rect') {
- Node109.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node109.a('node.arcTo', parseFloat('@arcTo@'));
- Node109.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node109type === 'arc') {
- Node109.a('node.arcOval', true);
- }
- Node109.setRotation(0*Math.PI/180);
- Node109.borderWidth = Node109BorderWidth;
- Node109.borderFillwidth = Node109BorderWidth;
- dataModel.add(Node109);
- Node109._nodename = 'Node109'
- Node109._nodeType = 'rect';
- zoomNodeList.push({
- node: Node109,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node109, Node109.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node110type = 'rect';
- var Node110 = new ht.Node(),
- Node110BorderWidth = 1*2;
- if (Node110type === 'arc') {
- Node110BorderWidth *= 1;
- }
- Node110.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node110type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node110.setPosition(1470*ratio.ratioX, 178*ratio.ratioY);
- Node110.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
- Node110.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node110.a('node.width', 280.7278*_ratio.ratioX);
- Node110.a('node.height', 122*_ratio.ratioY);
- Node110.a('node.type', Node110type);
- Node110.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
- Node110.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node110.a('node.gradientcolor', '');
- Node110.a('node.gradient', '');
- Node110.a('node.borderwidth', Node110BorderWidth);
- Node110.a('node.color', 'rgba(220,220,220,1)');
- Node110.a('node.fillrect', [0,0,0,0]);
- Node110.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node110.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node110.a('node.fillgradient', '');
- if (Node110type !== 'rect') {
- Node110.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node110.a('node.arcTo', parseFloat('@arcTo@'));
- Node110.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node110type === 'arc') {
- Node110.a('node.arcOval', true);
- }
- Node110.setRotation(0*Math.PI/180);
- Node110.borderWidth = Node110BorderWidth;
- Node110.borderFillwidth = Node110BorderWidth;
- dataModel.add(Node110);
- Node110._nodename = 'Node110'
- Node110._nodeType = 'rect';
- zoomNodeList.push({
- node: Node110,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node110, Node110.getImage());var Node111points=[1520, 118,1520, 238],
- Node111rect=ht.Default.unionPoint([{x:1520,y:118},{x:1520,y:238}]),
- Node111compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node111points.length;i++){
- if(i%2==0){
- Node111compspts.push(Node111points[i]-Node111rect.x);
- }else{
- Node111compspts.push(Node111points[i]-Node111rect.y);
- }
- }
- var Node111ptslength=Node111compspts.length;
- if (Node111rect.height === 0) {
- Node111compspts[0] -= 0;
- Node111compspts[Node111ptslength-2] += 0;
- } else if (Node111rect.width === 0){
- Node111compspts[1] -= 0;
- Node111compspts[Node111ptslength-1] += 0;
- } else {
- Node111compspts[0] -= 0;
- Node111compspts[1] -= 0;
- Node111compspts[Node111ptslength-2] += 0;
- Node111compspts[Node111ptslength-1] += 0;
- }
- Node111 = new ht.Node();
- Node111.borderWidth = 1;
- Node111rect.width = Node111rect.width === 0 ? 0.0001 : Node111rect.width;
- Node111rect.height = Node111rect.height === 0 ? 0.0001 : Node111rect.height;
- var Node111endCompspts = [Node111compspts[Node111ptslength-2],Node111compspts[Node111ptslength-1],0,0];
- var Node111startCompspts = [Node111compspts[0],Node111compspts[1],0,0];
- Node111.setImage(GD.getPolyLineJSON());
- Node111.setPosition(Node111rect.x+Node111rect.width/2,Node111rect.y+Node111rect.height/2);
- Node111.setSize(Node111rect.width,Node111rect.height);
- Node111.setStyle("opacity",1);
- Node111.s({'pixelPerfect':true});
- Node111borderwidth=1;
- Node111.setRotation(0);
- dataModel.add(Node111);
- Node111.a('node.points',Node111compspts);
- Node111.a('node.segments',[1,2]);
- Node111.a('node.color','rgba(220,220,220,1)');
- Node111.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node111.a('node.borderColor','rgba(220,220,220,1)');
- Node111.a('node.background','rgba(220,220,220,1)');
- Node111.a('node.gradient','');
- Node111.a('node.gradientcolor','rgba(220,220,220,1)');
- Node111.a('node.endCompspts',Node111endCompspts);
- Node111.a('node.startCompspts',Node111startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node111';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node111, Node111.getImage(), Node111compspts, Node111endCompspts, Node111startCompspts);
- _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 = 110*_ratio.ratioX, Node112height = 27*_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 "Arial"').width + 6)) * 0.5;
- } else if (Node112align === 'center') {
- Node112textStart = -3;
- Node112textWidth = Node112width;
- Node112lineStart = Node112width - ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node112.setImage(GD.getTextJSON(Node112width, Node112height, true, false, false, ' '+ Node112fontSize + 'px "Arial"'))
- Node112.setPosition(1389*ratio.ratioX, 129*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 "Arial"');
- Node112.a('node.textvisible',true);
- Node112.a('node.linefeed',false);
- if (false) {
- Node112.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node112.a('node.text') || '月维护损失电量';
- 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 "Arial"', 0,g);
- });
- }
- if (false) {
- Node112.a('node.underlinepoints',[Node112lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node112fontSize + 2 , ht.Default.getTextSize('月维护损失电量', ' '+ Node112fontSize + 'px "Arial"').width + 6, (Node112height - Node112fontSize) * 0.5*_ratio.ratioY + Node112fontSize + 2 ]);
- Node112.a('node.underlinevisible',false);
- Node112.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node112);
- zoomNodeList.push({
- node: Node112,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node113 = new ht.Node();
- var Node113textStart, Node113textWidth, Node113lineStart, Node113align = 'left', Node113fontSize = 13.3333*_ratio.ratioY,Node113width = 110*_ratio.ratioX, Node113height = 27*_ratio.ratioY;
- (function () {
- if (Node113align === 'left') {
- Node113textStart = Node113fontSize * 0.2 > 2 ? Node113fontSize * 0.2 - 4 : Node113fontSize * 0.2 - 9;
- Node113textWidth = Node113width;
- Node113lineStart = 1;
- } else if (Node113align === 'right') {
- Node113textStart = 0;
- Node113textWidth =Node113fontSize <= 8 ? Node113width + Node113fontSize * 0.2 + 6 : Node113width - Node113fontSize * 0.2;
- Node113lineStart = (Node113width - (ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node113align === 'center') {
- Node113textStart = -3;
- Node113textWidth = Node113width;
- Node113lineStart = Node113width - ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node113.setImage(GD.getTextJSON(Node113width, Node113height, true, false, false, ' '+ Node113fontSize + 'px "Arial"'))
- Node113.setPosition(1389*ratio.ratioX, 155*ratio.ratioY);
- Node113.setWidth(Node113width);
- Node113.setHeight(Node113height);
- Node113._nodeType = 'text';
- Node113._disallowEvert = true;
- Node113.setRotation(0*Math.PI/180);
- Node113.a('node.width', Node113width);
- Node113.a('node.height', Node113height);
- Node113.a('node.rect', [0, 0, Node113width, Node113height]);
- Node113.a('node.bordercolor','rgba(0,0,0,1)');
- Node113.a('node.borderwidth', 0);
- Node113.a('node.background','' || 'rgba(0,0,0,0)');
- Node113.a('node.gradient','');
- Node113.a('node.gradientcolor','');
- Node113.a('node.text','月故障损失电量');
- Node113.a('node.textalign','left');
- Node113.a('node.textvAlign','middle');
- Node113.a('node.textrect', [Node113textStart, 0, Node113textWidth, Node113height]);
- Node113.a('node.color','rgba(0,0,0,1)');
- Node113.a('node.font',' '+ Node113fontSize + 'px "Arial"');
- Node113.a('node.textvisible',true);
- Node113.a('node.linefeed',false);
- if (false) {
- Node113.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node113.a('node.text') || '月故障损失电量';
- var color=Node113.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node113width,Node113height,13.3333*_ratio.ratioY,"left",color,' '+ Node113fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node113.a('node.underlinepoints',[Node113lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node113fontSize + 2 , ht.Default.getTextSize('月故障损失电量', ' '+ Node113fontSize + 'px "Arial"').width + 6, (Node113height - Node113fontSize) * 0.5*_ratio.ratioY + Node113fontSize + 2 ]);
- Node113.a('node.underlinevisible',false);
- Node113.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node113);
- zoomNodeList.push({
- node: Node113,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node114 = new ht.Node();
- var Node114textStart, Node114textWidth, Node114lineStart, Node114align = 'left', Node114fontSize = 13.3333*_ratio.ratioY,Node114width = 110*_ratio.ratioX, Node114height = 27*_ratio.ratioY;
- (function () {
- if (Node114align === 'left') {
- Node114textStart = Node114fontSize * 0.2 > 2 ? Node114fontSize * 0.2 - 4 : Node114fontSize * 0.2 - 9;
- Node114textWidth = Node114width;
- Node114lineStart = 1;
- } else if (Node114align === 'right') {
- Node114textStart = 0;
- Node114textWidth =Node114fontSize <= 8 ? Node114width + Node114fontSize * 0.2 + 6 : Node114width - Node114fontSize * 0.2;
- Node114lineStart = (Node114width - (ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node114align === 'center') {
- Node114textStart = -3;
- Node114textWidth = Node114width;
- Node114lineStart = Node114width - ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node114.setImage(GD.getTextJSON(Node114width, Node114height, true, false, false, ' '+ Node114fontSize + 'px "Arial"'))
- Node114.setPosition(1389*ratio.ratioX, 179*ratio.ratioY);
- Node114.setWidth(Node114width);
- Node114.setHeight(Node114height);
- Node114._nodeType = 'text';
- Node114._disallowEvert = true;
- Node114.setRotation(0*Math.PI/180);
- Node114.a('node.width', Node114width);
- Node114.a('node.height', Node114height);
- Node114.a('node.rect', [0, 0, Node114width, Node114height]);
- Node114.a('node.bordercolor','rgba(0,0,0,1)');
- Node114.a('node.borderwidth', 0);
- Node114.a('node.background','' || 'rgba(0,0,0,0)');
- Node114.a('node.gradient','');
- Node114.a('node.gradientcolor','');
- Node114.a('node.text','月限电损失电量');
- Node114.a('node.textalign','left');
- Node114.a('node.textvAlign','middle');
- Node114.a('node.textrect', [Node114textStart, 0, Node114textWidth, Node114height]);
- Node114.a('node.color','rgba(0,0,0,1)');
- Node114.a('node.font',' '+ Node114fontSize + 'px "Arial"');
- Node114.a('node.textvisible',true);
- Node114.a('node.linefeed',false);
- if (false) {
- Node114.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node114.a('node.text') || '月限电损失电量';
- var color=Node114.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node114width,Node114height,13.3333*_ratio.ratioY,"left",color,' '+ Node114fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node114.a('node.underlinepoints',[Node114lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node114fontSize + 2 , ht.Default.getTextSize('月限电损失电量', ' '+ Node114fontSize + 'px "Arial"').width + 6, (Node114height - Node114fontSize) * 0.5*_ratio.ratioY + Node114fontSize + 2 ]);
- Node114.a('node.underlinevisible',false);
- Node114.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node114);
- zoomNodeList.push({
- node: Node114,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node115 = new ht.Node();
- var Node115textStart, Node115textWidth, Node115lineStart, Node115align = 'left', Node115fontSize = 13.3333*_ratio.ratioY,Node115width = 110*_ratio.ratioX, Node115height = 27*_ratio.ratioY;
- (function () {
- if (Node115align === 'left') {
- Node115textStart = Node115fontSize * 0.2 > 2 ? Node115fontSize * 0.2 - 4 : Node115fontSize * 0.2 - 9;
- Node115textWidth = Node115width;
- Node115lineStart = 1;
- } else if (Node115align === 'right') {
- Node115textStart = 0;
- Node115textWidth =Node115fontSize <= 8 ? Node115width + Node115fontSize * 0.2 + 6 : Node115width - Node115fontSize * 0.2;
- Node115lineStart = (Node115width - (ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node115align === 'center') {
- Node115textStart = -3;
- Node115textWidth = Node115width;
- Node115lineStart = Node115width - ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node115.setImage(GD.getTextJSON(Node115width, Node115height, true, false, false, ' '+ Node115fontSize + 'px "Arial"'))
- Node115.setPosition(1391*ratio.ratioX, 202*ratio.ratioY);
- Node115.setWidth(Node115width);
- Node115.setHeight(Node115height);
- Node115._nodeType = 'text';
- Node115._disallowEvert = true;
- Node115.setRotation(0*Math.PI/180);
- Node115.a('node.width', Node115width);
- Node115.a('node.height', Node115height);
- Node115.a('node.rect', [0, 0, Node115width, Node115height]);
- Node115.a('node.bordercolor','rgba(0,0,0,1)');
- Node115.a('node.borderwidth', 0);
- Node115.a('node.background','' || 'rgba(0,0,0,0)');
- Node115.a('node.gradient','');
- Node115.a('node.gradientcolor','');
- Node115.a('node.text','月受累损失电量');
- Node115.a('node.textalign','left');
- Node115.a('node.textvAlign','middle');
- Node115.a('node.textrect', [Node115textStart, 0, Node115textWidth, Node115height]);
- Node115.a('node.color','rgba(0,0,0,1)');
- Node115.a('node.font',' '+ Node115fontSize + 'px "Arial"');
- Node115.a('node.textvisible',true);
- Node115.a('node.linefeed',false);
- if (false) {
- Node115.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node115.a('node.text') || '月受累损失电量';
- var color=Node115.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node115width,Node115height,13.3333*_ratio.ratioY,"left",color,' '+ Node115fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node115.a('node.underlinepoints',[Node115lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node115fontSize + 2 , ht.Default.getTextSize('月受累损失电量', ' '+ Node115fontSize + 'px "Arial"').width + 6, (Node115height - Node115fontSize) * 0.5*_ratio.ratioY + Node115fontSize + 2 ]);
- Node115.a('node.underlinevisible',false);
- Node115.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node115);
- zoomNodeList.push({
- node: Node115,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node116 = new ht.Node();
- var Node116textStart, Node116textWidth, Node116lineStart, Node116align = 'left', Node116fontSize = 13.3333*_ratio.ratioY,Node116width = 125*_ratio.ratioX, Node116height = 27*_ratio.ratioY;
- (function () {
- if (Node116align === 'left') {
- Node116textStart = Node116fontSize * 0.2 > 2 ? Node116fontSize * 0.2 - 4 : Node116fontSize * 0.2 - 9;
- Node116textWidth = Node116width;
- Node116lineStart = 1;
- } else if (Node116align === 'right') {
- Node116textStart = 0;
- Node116textWidth =Node116fontSize <= 8 ? Node116width + Node116fontSize * 0.2 + 6 : Node116width - Node116fontSize * 0.2;
- Node116lineStart = (Node116width - (ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node116align === 'center') {
- Node116textStart = -3;
- Node116textWidth = Node116width;
- Node116lineStart = Node116width - ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node116.setImage(GD.getTextJSON(Node116width, Node116height, true, false, false, ' '+ Node116fontSize + 'px "Arial"'))
- Node116.setPosition(1396*ratio.ratioX, 227*ratio.ratioY);
- Node116.setWidth(Node116width);
- Node116.setHeight(Node116height);
- Node116._nodeType = 'text';
- Node116._disallowEvert = true;
- Node116.setRotation(0*Math.PI/180);
- Node116.a('node.width', Node116width);
- Node116.a('node.height', Node116height);
- Node116.a('node.rect', [0, 0, Node116width, Node116height]);
- Node116.a('node.bordercolor','rgba(0,0,0,1)');
- Node116.a('node.borderwidth', 0);
- Node116.a('node.background','' || 'rgba(0,0,0,0)');
- Node116.a('node.gradient','');
- Node116.a('node.gradientcolor','');
- Node116.a('node.text','月性能损失电量');
- Node116.a('node.textalign','left');
- Node116.a('node.textvAlign','middle');
- Node116.a('node.textrect', [Node116textStart, 0, Node116textWidth, Node116height]);
- Node116.a('node.color','rgba(0,0,0,1)');
- Node116.a('node.font',' '+ Node116fontSize + 'px "Arial"');
- Node116.a('node.textvisible',true);
- Node116.a('node.linefeed',false);
- if (false) {
- Node116.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node116.a('node.text') || '月性能损失电量';
- var color=Node116.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node116width,Node116height,13.3333*_ratio.ratioY,"left",color,' '+ Node116fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node116.a('node.underlinepoints',[Node116lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node116fontSize + 2 , ht.Default.getTextSize('月性能损失电量', ' '+ Node116fontSize + 'px "Arial"').width + 6, (Node116height - Node116fontSize) * 0.5*_ratio.ratioY + Node116fontSize + 2 ]);
- Node116.a('node.underlinevisible',false);
- Node116.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node116);
- zoomNodeList.push({
- node: Node116,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node117 = new ht.Node();
- var Node117textStart, Node117textWidth, Node117lineStart, Node117align = 'left', Node117fontSize = 13.3333*_ratio.ratioY,Node117width = 37*_ratio.ratioX, Node117height = 16*_ratio.ratioY;
- (function () {
- if (Node117align === 'left') {
- Node117textStart = Node117fontSize * 0.2 > 2 ? Node117fontSize * 0.2 - 4 : Node117fontSize * 0.2 - 9;
- Node117textWidth = Node117width;
- Node117lineStart = 1;
- } else if (Node117align === 'right') {
- Node117textStart = 0;
- Node117textWidth =Node117fontSize <= 8 ? Node117width + Node117fontSize * 0.2 + 6 : Node117width - Node117fontSize * 0.2;
- Node117lineStart = (Node117width - (ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node117align === 'center') {
- Node117textStart = -3;
- Node117textWidth = Node117width;
- Node117lineStart = Node117width - ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node117.setImage(GD.getTextJSON(Node117width, Node117height, true, false, false, 'bold '+ Node117fontSize + 'px "Arial"'))
- Node117.setPosition(1486*ratio.ratioX, 128*ratio.ratioY);
- Node117.setWidth(Node117width);
- Node117.setHeight(Node117height);
- Node117._nodeType = 'text';
- Node117._disallowEvert = true;
- Node117.setRotation(0*Math.PI/180);
- Node117.a('node.width', Node117width);
- Node117.a('node.height', Node117height);
- Node117.a('node.rect', [0, 0, Node117width, Node117height]);
- Node117.a('node.bordercolor','rgba(0,0,0,1)');
- Node117.a('node.borderwidth', 0);
- Node117.a('node.background','' || 'rgba(0,0,0,0)');
- Node117.a('node.gradient','');
- Node117.a('node.gradientcolor','');
- Node117.a('node.text','0');
- Node117.a('node.textalign','left');
- Node117.a('node.textvAlign','middle');
- Node117.a('node.textrect', [Node117textStart, 0, Node117textWidth, Node117height]);
- Node117.a('node.color','rgba(0,0,0,1)');
- Node117.a('node.font','bold '+ Node117fontSize + 'px "Arial"');
- Node117.a('node.textvisible',true);
- Node117.a('node.linefeed',false);
- if (false) {
- Node117.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node117.a('node.text') || '0';
- var color=Node117.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node117width,Node117height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node117fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node117.a('node.underlinepoints',[Node117lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node117fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ Node117fontSize + 'px "Arial"').width + 6, (Node117height - Node117fontSize) * 0.5*_ratio.ratioY + Node117fontSize + 2 ]);
- Node117.a('node.underlinevisible',false);
- Node117.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node117);
- zoomNodeList.push({
- node: Node117,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node118 = new ht.Node();
- var Node118textStart, Node118textWidth, Node118lineStart, Node118align = 'left', Node118fontSize = 13.3333*_ratio.ratioY,Node118width = 37*_ratio.ratioX, Node118height = 16*_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', 'bold '+ Node118fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node118align === 'center') {
- Node118textStart = -3;
- Node118textWidth = Node118width;
- Node118lineStart = Node118width - ht.Default.getTextSize('0', 'bold '+ Node118fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node118.setImage(GD.getTextJSON(Node118width, Node118height, true, false, false, 'bold '+ Node118fontSize + 'px "Arial"'))
- Node118.setPosition(1486*ratio.ratioX, 153*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','left');
- 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','bold '+ 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,"left",color,'bold '+ Node118fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node118.a('node.underlinepoints',[Node118lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node118fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ 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 = 'left', Node119fontSize = 13.3333*_ratio.ratioY,Node119width = 27*_ratio.ratioX, Node119height = 16*_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', 'bold '+ Node119fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node119align === 'center') {
- Node119textStart = -3;
- Node119textWidth = Node119width;
- Node119lineStart = Node119width - ht.Default.getTextSize('0', 'bold '+ Node119fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node119.setImage(GD.getTextJSON(Node119width, Node119height, true, false, false, 'bold '+ Node119fontSize + 'px "Arial"'))
- Node119.setPosition(1481*ratio.ratioX, 178*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','left');
- 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','bold '+ 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,"left",color,'bold '+ Node119fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node119.a('node.underlinepoints',[Node119lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node119fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ 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 = 'left', Node120fontSize = 13.3333*_ratio.ratioY,Node120width = 37*_ratio.ratioX, Node120height = 16*_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('-', 'bold '+ Node120fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node120align === 'center') {
- Node120textStart = -3;
- Node120textWidth = Node120width;
- Node120lineStart = Node120width - ht.Default.getTextSize('-', 'bold '+ Node120fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node120.setImage(GD.getTextJSON(Node120width, Node120height, true, false, false, 'bold '+ Node120fontSize + 'px "Arial"'))
- Node120.setPosition(1500*ratio.ratioX, 202*ratio.ratioY);
- Node120.setWidth(Node120width);
- Node120.setHeight(Node120height);
- Node120._nodeType = 'text';
- Node120._disallowEvert = true;
- Node120.setRotation(0*Math.PI/180);
- Node120.a('node.width', Node120width);
- Node120.a('node.height', Node120height);
- Node120.a('node.rect', [0, 0, Node120width, Node120height]);
- Node120.a('node.bordercolor','rgba(0,0,0,1)');
- Node120.a('node.borderwidth', 0);
- Node120.a('node.background','' || 'rgba(0,0,0,0)');
- Node120.a('node.gradient','');
- Node120.a('node.gradientcolor','');
- Node120.a('node.text','-');
- Node120.a('node.textalign','left');
- 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','bold '+ 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') || '-';
- 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,"left",color,'bold '+ Node120fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node120.a('node.underlinepoints',[Node120lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node120fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ 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 = 'left', Node121fontSize = 13.3333*_ratio.ratioY,Node121width = 47*_ratio.ratioX, Node121height = 17*_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('万kW', ' '+ Node121fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node121align === 'center') {
- Node121textStart = -3;
- Node121textWidth = Node121width;
- Node121lineStart = Node121width - ht.Default.getTextSize('万kW', ' '+ Node121fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node121.setImage(GD.getTextJSON(Node121width, Node121height, true, false, false, ' '+ Node121fontSize + 'px "Arial"'))
- Node121.setPosition(1554*ratio.ratioX, 128*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(169,169,169,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','万kW');
- Node121.a('node.textalign','left');
- Node121.a('node.textvAlign','middle');
- Node121.a('node.textrect', [Node121textStart, 0, Node121textWidth, Node121height]);
- Node121.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node121.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node121width,Node121height,13.3333*_ratio.ratioY,"left",color,' '+ Node121fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node121.a('node.underlinepoints',[Node121lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node121fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ 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 = 'left', Node122fontSize = 13.3333*_ratio.ratioY,Node122width = 37*_ratio.ratioX, Node122height = 16*_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('-', 'bold '+ Node122fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node122align === 'center') {
- Node122textStart = -3;
- Node122textWidth = Node122width;
- Node122lineStart = Node122width - ht.Default.getTextSize('-', 'bold '+ Node122fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node122.setImage(GD.getTextJSON(Node122width, Node122height, true, false, false, 'bold '+ Node122fontSize + 'px "Arial"'))
- Node122.setPosition(1500*ratio.ratioX, 227*ratio.ratioY);
- Node122.setWidth(Node122width);
- Node122.setHeight(Node122height);
- Node122._nodeType = 'text';
- Node122._disallowEvert = true;
- Node122.setRotation(0*Math.PI/180);
- Node122.a('node.width', Node122width);
- Node122.a('node.height', Node122height);
- Node122.a('node.rect', [0, 0, Node122width, Node122height]);
- Node122.a('node.bordercolor','rgba(0,0,0,1)');
- Node122.a('node.borderwidth', 0);
- Node122.a('node.background','' || 'rgba(0,0,0,0)');
- Node122.a('node.gradient','');
- Node122.a('node.gradientcolor','');
- Node122.a('node.text','-');
- Node122.a('node.textalign','left');
- 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','bold '+ 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') || '-';
- 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,"left",color,'bold '+ Node122fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node122.a('node.underlinepoints',[Node122lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node122fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ 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 Node123 = new ht.Node();
- var Node123textStart, Node123textWidth, Node123lineStart, Node123align = 'left', Node123fontSize = 13.3333*_ratio.ratioY,Node123width = 47*_ratio.ratioX, Node123height = 17*_ratio.ratioY;
- (function () {
- if (Node123align === 'left') {
- Node123textStart = Node123fontSize * 0.2 > 2 ? Node123fontSize * 0.2 - 4 : Node123fontSize * 0.2 - 9;
- Node123textWidth = Node123width;
- Node123lineStart = 1;
- } else if (Node123align === 'right') {
- Node123textStart = 0;
- Node123textWidth =Node123fontSize <= 8 ? Node123width + Node123fontSize * 0.2 + 6 : Node123width - Node123fontSize * 0.2;
- Node123lineStart = (Node123width - (ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node123align === 'center') {
- Node123textStart = -3;
- Node123textWidth = Node123width;
- Node123lineStart = Node123width - ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node123.setImage(GD.getTextJSON(Node123width, Node123height, true, false, false, ' '+ Node123fontSize + 'px "Arial"'))
- Node123.setPosition(1554*ratio.ratioX, 154*ratio.ratioY);
- Node123.setWidth(Node123width);
- Node123.setHeight(Node123height);
- Node123._nodeType = 'text';
- Node123._disallowEvert = true;
- Node123.setRotation(0*Math.PI/180);
- Node123.a('node.width', Node123width);
- Node123.a('node.height', Node123height);
- Node123.a('node.rect', [0, 0, Node123width, Node123height]);
- Node123.a('node.bordercolor','rgba(169,169,169,1)');
- Node123.a('node.borderwidth', 0);
- Node123.a('node.background','' || 'rgba(0,0,0,0)');
- Node123.a('node.gradient','');
- Node123.a('node.gradientcolor','');
- Node123.a('node.text','万kW');
- Node123.a('node.textalign','left');
- Node123.a('node.textvAlign','middle');
- Node123.a('node.textrect', [Node123textStart, 0, Node123textWidth, Node123height]);
- Node123.a('node.color','rgba(169,169,169,1)');
- Node123.a('node.font',' '+ Node123fontSize + 'px "Arial"');
- Node123.a('node.textvisible',true);
- Node123.a('node.linefeed',false);
- if (false) {
- Node123.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node123.a('node.text') || '万kW';
- var color=Node123.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node123width,Node123height,13.3333*_ratio.ratioY,"left",color,' '+ Node123fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node123.a('node.underlinepoints',[Node123lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node123fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node123fontSize + 'px "Arial"').width + 6, (Node123height - Node123fontSize) * 0.5*_ratio.ratioY + Node123fontSize + 2 ]);
- Node123.a('node.underlinevisible',false);
- Node123.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node123);
- zoomNodeList.push({
- node: Node123,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node124 = new ht.Node();
- var Node124textStart, Node124textWidth, Node124lineStart, Node124align = 'left', Node124fontSize = 13.3333*_ratio.ratioY,Node124width = 47*_ratio.ratioX, Node124height = 17*_ratio.ratioY;
- (function () {
- if (Node124align === 'left') {
- Node124textStart = Node124fontSize * 0.2 > 2 ? Node124fontSize * 0.2 - 4 : Node124fontSize * 0.2 - 9;
- Node124textWidth = Node124width;
- Node124lineStart = 1;
- } else if (Node124align === 'right') {
- Node124textStart = 0;
- Node124textWidth =Node124fontSize <= 8 ? Node124width + Node124fontSize * 0.2 + 6 : Node124width - Node124fontSize * 0.2;
- Node124lineStart = (Node124width - (ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node124align === 'center') {
- Node124textStart = -3;
- Node124textWidth = Node124width;
- Node124lineStart = Node124width - ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node124.setImage(GD.getTextJSON(Node124width, Node124height, true, false, false, ' '+ Node124fontSize + 'px "Arial"'))
- Node124.setPosition(1554*ratio.ratioX, 179*ratio.ratioY);
- Node124.setWidth(Node124width);
- Node124.setHeight(Node124height);
- Node124._nodeType = 'text';
- Node124._disallowEvert = true;
- Node124.setRotation(0*Math.PI/180);
- Node124.a('node.width', Node124width);
- Node124.a('node.height', Node124height);
- Node124.a('node.rect', [0, 0, Node124width, Node124height]);
- Node124.a('node.bordercolor','rgba(169,169,169,1)');
- Node124.a('node.borderwidth', 0);
- Node124.a('node.background','' || 'rgba(0,0,0,0)');
- Node124.a('node.gradient','');
- Node124.a('node.gradientcolor','');
- Node124.a('node.text','万kW');
- Node124.a('node.textalign','left');
- Node124.a('node.textvAlign','middle');
- Node124.a('node.textrect', [Node124textStart, 0, Node124textWidth, Node124height]);
- Node124.a('node.color','rgba(169,169,169,1)');
- Node124.a('node.font',' '+ Node124fontSize + 'px "Arial"');
- Node124.a('node.textvisible',true);
- Node124.a('node.linefeed',false);
- if (false) {
- Node124.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node124.a('node.text') || '万kW';
- var color=Node124.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node124width,Node124height,13.3333*_ratio.ratioY,"left",color,' '+ Node124fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node124.a('node.underlinepoints',[Node124lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node124fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node124fontSize + 'px "Arial"').width + 6, (Node124height - Node124fontSize) * 0.5*_ratio.ratioY + Node124fontSize + 2 ]);
- Node124.a('node.underlinevisible',false);
- Node124.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node124);
- zoomNodeList.push({
- node: Node124,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node125 = new ht.Node();
- var Node125textStart, Node125textWidth, Node125lineStart, Node125align = 'left', Node125fontSize = 13.3333*_ratio.ratioY,Node125width = 47*_ratio.ratioX, Node125height = 17*_ratio.ratioY;
- (function () {
- if (Node125align === 'left') {
- Node125textStart = Node125fontSize * 0.2 > 2 ? Node125fontSize * 0.2 - 4 : Node125fontSize * 0.2 - 9;
- Node125textWidth = Node125width;
- Node125lineStart = 1;
- } else if (Node125align === 'right') {
- Node125textStart = 0;
- Node125textWidth =Node125fontSize <= 8 ? Node125width + Node125fontSize * 0.2 + 6 : Node125width - Node125fontSize * 0.2;
- Node125lineStart = (Node125width - (ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node125align === 'center') {
- Node125textStart = -3;
- Node125textWidth = Node125width;
- Node125lineStart = Node125width - ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node125.setImage(GD.getTextJSON(Node125width, Node125height, true, false, false, ' '+ Node125fontSize + 'px "Arial"'))
- Node125.setPosition(1554*ratio.ratioX, 206*ratio.ratioY);
- Node125.setWidth(Node125width);
- Node125.setHeight(Node125height);
- Node125._nodeType = 'text';
- Node125._disallowEvert = true;
- Node125.setRotation(0*Math.PI/180);
- Node125.a('node.width', Node125width);
- Node125.a('node.height', Node125height);
- Node125.a('node.rect', [0, 0, Node125width, Node125height]);
- Node125.a('node.bordercolor','rgba(169,169,169,1)');
- Node125.a('node.borderwidth', 0);
- Node125.a('node.background','' || 'rgba(0,0,0,0)');
- Node125.a('node.gradient','');
- Node125.a('node.gradientcolor','');
- Node125.a('node.text','万kW');
- Node125.a('node.textalign','left');
- Node125.a('node.textvAlign','middle');
- Node125.a('node.textrect', [Node125textStart, 0, Node125textWidth, Node125height]);
- Node125.a('node.color','rgba(169,169,169,1)');
- Node125.a('node.font',' '+ Node125fontSize + 'px "Arial"');
- Node125.a('node.textvisible',true);
- Node125.a('node.linefeed',false);
- if (false) {
- Node125.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node125.a('node.text') || '万kW';
- var color=Node125.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node125width,Node125height,13.3333*_ratio.ratioY,"left",color,' '+ Node125fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node125.a('node.underlinepoints',[Node125lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node125fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node125fontSize + 'px "Arial"').width + 6, (Node125height - Node125fontSize) * 0.5*_ratio.ratioY + Node125fontSize + 2 ]);
- Node125.a('node.underlinevisible',false);
- Node125.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node125);
- zoomNodeList.push({
- node: Node125,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node126 = new ht.Node();
- var Node126textStart, Node126textWidth, Node126lineStart, Node126align = 'left', Node126fontSize = 13.3333*_ratio.ratioY,Node126width = 47*_ratio.ratioX, Node126height = 17*_ratio.ratioY;
- (function () {
- if (Node126align === 'left') {
- Node126textStart = Node126fontSize * 0.2 > 2 ? Node126fontSize * 0.2 - 4 : Node126fontSize * 0.2 - 9;
- Node126textWidth = Node126width;
- Node126lineStart = 1;
- } else if (Node126align === 'right') {
- Node126textStart = 0;
- Node126textWidth =Node126fontSize <= 8 ? Node126width + Node126fontSize * 0.2 + 6 : Node126width - Node126fontSize * 0.2;
- Node126lineStart = (Node126width - (ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node126align === 'center') {
- Node126textStart = -3;
- Node126textWidth = Node126width;
- Node126lineStart = Node126width - ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node126.setImage(GD.getTextJSON(Node126width, Node126height, true, false, false, ' '+ Node126fontSize + 'px "Arial"'))
- Node126.setPosition(1553*ratio.ratioX, 228*ratio.ratioY);
- Node126.setWidth(Node126width);
- Node126.setHeight(Node126height);
- Node126._nodeType = 'text';
- Node126._disallowEvert = true;
- Node126.setRotation(0*Math.PI/180);
- Node126.a('node.width', Node126width);
- Node126.a('node.height', Node126height);
- Node126.a('node.rect', [0, 0, Node126width, Node126height]);
- Node126.a('node.bordercolor','rgba(169,169,169,1)');
- Node126.a('node.borderwidth', 0);
- Node126.a('node.background','' || 'rgba(0,0,0,0)');
- Node126.a('node.gradient','');
- Node126.a('node.gradientcolor','');
- Node126.a('node.text','万kW');
- Node126.a('node.textalign','left');
- Node126.a('node.textvAlign','middle');
- Node126.a('node.textrect', [Node126textStart, 0, Node126textWidth, Node126height]);
- Node126.a('node.color','rgba(169,169,169,1)');
- Node126.a('node.font',' '+ Node126fontSize + 'px "Arial"');
- Node126.a('node.textvisible',true);
- Node126.a('node.linefeed',false);
- if (false) {
- Node126.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node126.a('node.text') || '万kW';
- var color=Node126.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node126width,Node126height,13.3333*_ratio.ratioY,"left",color,' '+ Node126fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node126.a('node.underlinepoints',[Node126lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node126fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node126fontSize + 'px "Arial"').width + 6, (Node126height - Node126fontSize) * 0.5*_ratio.ratioY + Node126fontSize + 2 ]);
- Node126.a('node.underlinevisible',false);
- Node126.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node126);
- zoomNodeList.push({
- node: Node126,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node127points=[1332, 142,1609, 142],
- Node127rect=ht.Default.unionPoint([{x:1332,y:142},{x:1609,y:142}]),
- Node127compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node127points.length;i++){
- if(i%2==0){
- Node127compspts.push(Node127points[i]-Node127rect.x);
- }else{
- Node127compspts.push(Node127points[i]-Node127rect.y);
- }
- }
- var Node127ptslength=Node127compspts.length;
- if (Node127rect.height === 0) {
- Node127compspts[0] -= 0;
- Node127compspts[Node127ptslength-2] += 0;
- } else if (Node127rect.width === 0){
- Node127compspts[1] -= 0;
- Node127compspts[Node127ptslength-1] += 0;
- } else {
- Node127compspts[0] -= 0;
- Node127compspts[1] -= 0;
- Node127compspts[Node127ptslength-2] += 0;
- Node127compspts[Node127ptslength-1] += 0;
- }
- Node127 = new ht.Node();
- Node127.borderWidth = 1;
- Node127rect.width = Node127rect.width === 0 ? 0.0001 : Node127rect.width;
- Node127rect.height = Node127rect.height === 0 ? 0.0001 : Node127rect.height;
- var Node127endCompspts = [Node127compspts[Node127ptslength-2],Node127compspts[Node127ptslength-1],0,0];
- var Node127startCompspts = [Node127compspts[0],Node127compspts[1],0,0];
- Node127.setImage(GD.getPolyLineJSON());
- Node127.setPosition(Node127rect.x+Node127rect.width/2,Node127rect.y+Node127rect.height/2);
- Node127.setSize(Node127rect.width,Node127rect.height);
- Node127.setStyle("opacity",1);
- Node127.s({'pixelPerfect':true});
- Node127borderwidth=1;
- Node127.setRotation(0);
- dataModel.add(Node127);
- Node127.a('node.points',Node127compspts);
- Node127.a('node.segments',[1,2]);
- Node127.a('node.color','rgba(220,220,220,1)');
- Node127.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node127.a('node.borderColor','rgba(220,220,220,1)');
- Node127.a('node.background','rgba(220,220,220,1)');
- Node127.a('node.gradient','');
- Node127.a('node.gradientcolor','rgba(220,220,220,1)');
- Node127.a('node.endCompspts',Node127endCompspts);
- Node127.a('node.startCompspts',Node127startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node127';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node127, Node127.getImage(), Node127compspts, Node127endCompspts, Node127startCompspts);
- var Node128points=[1330, 168,1607, 168],
- Node128rect=ht.Default.unionPoint([{x:1330,y:168},{x:1607,y:168}]),
- Node128compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node128points.length;i++){
- if(i%2==0){
- Node128compspts.push(Node128points[i]-Node128rect.x);
- }else{
- Node128compspts.push(Node128points[i]-Node128rect.y);
- }
- }
- var Node128ptslength=Node128compspts.length;
- if (Node128rect.height === 0) {
- Node128compspts[0] -= 0;
- Node128compspts[Node128ptslength-2] += 0;
- } else if (Node128rect.width === 0){
- Node128compspts[1] -= 0;
- Node128compspts[Node128ptslength-1] += 0;
- } else {
- Node128compspts[0] -= 0;
- Node128compspts[1] -= 0;
- Node128compspts[Node128ptslength-2] += 0;
- Node128compspts[Node128ptslength-1] += 0;
- }
- Node128 = new ht.Node();
- Node128.borderWidth = 1;
- Node128rect.width = Node128rect.width === 0 ? 0.0001 : Node128rect.width;
- Node128rect.height = Node128rect.height === 0 ? 0.0001 : Node128rect.height;
- var Node128endCompspts = [Node128compspts[Node128ptslength-2],Node128compspts[Node128ptslength-1],0,0];
- var Node128startCompspts = [Node128compspts[0],Node128compspts[1],0,0];
- Node128.setImage(GD.getPolyLineJSON());
- Node128.setPosition(Node128rect.x+Node128rect.width/2,Node128rect.y+Node128rect.height/2);
- Node128.setSize(Node128rect.width,Node128rect.height);
- Node128.setStyle("opacity",1);
- Node128.s({'pixelPerfect':true});
- Node128borderwidth=1;
- Node128.setRotation(0);
- dataModel.add(Node128);
- Node128.a('node.points',Node128compspts);
- Node128.a('node.segments',[1,2]);
- Node128.a('node.color','rgba(220,220,220,1)');
- Node128.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node128.a('node.borderColor','rgba(220,220,220,1)');
- Node128.a('node.background','rgba(220,220,220,1)');
- Node128.a('node.gradient','');
- Node128.a('node.gradientcolor','rgba(220,220,220,1)');
- Node128.a('node.endCompspts',Node128endCompspts);
- Node128.a('node.startCompspts',Node128startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node128';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node128, Node128.getImage(), Node128compspts, Node128endCompspts, Node128startCompspts);
- var Node129points=[1332, 192,1609, 192],
- Node129rect=ht.Default.unionPoint([{x:1332,y:192},{x:1609,y:192}]),
- Node129compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node129points.length;i++){
- if(i%2==0){
- Node129compspts.push(Node129points[i]-Node129rect.x);
- }else{
- Node129compspts.push(Node129points[i]-Node129rect.y);
- }
- }
- var Node129ptslength=Node129compspts.length;
- if (Node129rect.height === 0) {
- Node129compspts[0] -= 0;
- Node129compspts[Node129ptslength-2] += 0;
- } else if (Node129rect.width === 0){
- Node129compspts[1] -= 0;
- Node129compspts[Node129ptslength-1] += 0;
- } else {
- Node129compspts[0] -= 0;
- Node129compspts[1] -= 0;
- Node129compspts[Node129ptslength-2] += 0;
- Node129compspts[Node129ptslength-1] += 0;
- }
- Node129 = new ht.Node();
- Node129.borderWidth = 1;
- Node129rect.width = Node129rect.width === 0 ? 0.0001 : Node129rect.width;
- Node129rect.height = Node129rect.height === 0 ? 0.0001 : Node129rect.height;
- var Node129endCompspts = [Node129compspts[Node129ptslength-2],Node129compspts[Node129ptslength-1],0,0];
- var Node129startCompspts = [Node129compspts[0],Node129compspts[1],0,0];
- Node129.setImage(GD.getPolyLineJSON());
- Node129.setPosition(Node129rect.x+Node129rect.width/2,Node129rect.y+Node129rect.height/2);
- Node129.setSize(Node129rect.width,Node129rect.height);
- Node129.setStyle("opacity",1);
- Node129.s({'pixelPerfect':true});
- Node129borderwidth=1;
- Node129.setRotation(0);
- dataModel.add(Node129);
- Node129.a('node.points',Node129compspts);
- Node129.a('node.segments',[1,2]);
- Node129.a('node.color','rgba(220,220,220,1)');
- Node129.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node129.a('node.borderColor','rgba(220,220,220,1)');
- Node129.a('node.background','rgba(220,220,220,1)');
- Node129.a('node.gradient','');
- Node129.a('node.gradientcolor','rgba(220,220,220,1)');
- Node129.a('node.endCompspts',Node129endCompspts);
- Node129.a('node.startCompspts',Node129startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node129';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node129, Node129.getImage(), Node129compspts, Node129endCompspts, Node129startCompspts);
- var Node130points=[1331, 215,1608, 215],
- Node130rect=ht.Default.unionPoint([{x:1331,y:215},{x:1608,y:215}]),
- Node130compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node130points.length;i++){
- if(i%2==0){
- Node130compspts.push(Node130points[i]-Node130rect.x);
- }else{
- Node130compspts.push(Node130points[i]-Node130rect.y);
- }
- }
- var Node130ptslength=Node130compspts.length;
- if (Node130rect.height === 0) {
- Node130compspts[0] -= 0;
- Node130compspts[Node130ptslength-2] += 0;
- } else if (Node130rect.width === 0){
- Node130compspts[1] -= 0;
- Node130compspts[Node130ptslength-1] += 0;
- } else {
- Node130compspts[0] -= 0;
- Node130compspts[1] -= 0;
- Node130compspts[Node130ptslength-2] += 0;
- Node130compspts[Node130ptslength-1] += 0;
- }
- Node130 = new ht.Node();
- Node130.borderWidth = 1;
- Node130rect.width = Node130rect.width === 0 ? 0.0001 : Node130rect.width;
- Node130rect.height = Node130rect.height === 0 ? 0.0001 : Node130rect.height;
- var Node130endCompspts = [Node130compspts[Node130ptslength-2],Node130compspts[Node130ptslength-1],0,0];
- var Node130startCompspts = [Node130compspts[0],Node130compspts[1],0,0];
- Node130.setImage(GD.getPolyLineJSON());
- Node130.setPosition(Node130rect.x+Node130rect.width/2,Node130rect.y+Node130rect.height/2);
- Node130.setSize(Node130rect.width,Node130rect.height);
- Node130.setStyle("opacity",1);
- Node130.s({'pixelPerfect':true});
- Node130borderwidth=1;
- Node130.setRotation(0);
- dataModel.add(Node130);
- Node130.a('node.points',Node130compspts);
- Node130.a('node.segments',[1,2]);
- Node130.a('node.color','rgba(220,220,220,1)');
- Node130.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node130.a('node.borderColor','rgba(220,220,220,1)');
- Node130.a('node.background','rgba(220,220,220,1)');
- Node130.a('node.gradient','');
- Node130.a('node.gradientcolor','rgba(220,220,220,1)');
- Node130.a('node.endCompspts',Node130endCompspts);
- Node130.a('node.startCompspts',Node130startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node130';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node130, Node130.getImage(), Node130compspts, Node130endCompspts, Node130startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node131type = 'rect';
- var Node131 = new ht.Node(),
- Node131BorderWidth = 1*2;
- if (Node131type === 'arc') {
- Node131BorderWidth *= 1;
- }
- Node131.setImage(GD.getRectJSON(120*_ratio.ratioX, 120*_ratio.ratioY, Node131type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node131.setPosition(1677*ratio.ratioX, 178*ratio.ratioY);
- Node131.setSize(120*_ratio.ratioX, 120*_ratio.ratioY);
- Node131.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node131.a('node.width', 120*_ratio.ratioX);
- Node131.a('node.height', 120*_ratio.ratioY);
- Node131.a('node.type', Node131type);
- Node131.a('node.rect', [0, 0, 120*_ratio.ratioX, 120*_ratio.ratioY]);
- Node131.a('node.background', 'rgba(245,245,245,1)');
- Node131.a('node.gradientcolor', 'rgba(245,245,245,1)');
- Node131.a('node.gradient', '');
- Node131.a('node.borderwidth', Node131BorderWidth);
- Node131.a('node.color', 'rgba(220,220,220,1)');
- Node131.a('node.fillrect', [0,0,0,0]);
- Node131.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node131.a('node.fillgradient', '');
- if (Node131type !== 'rect') {
- Node131.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node131.a('node.arcTo', parseFloat('@arcTo@'));
- Node131.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node131type === 'arc') {
- Node131.a('node.arcOval', true);
- }
- Node131.setRotation(0*Math.PI/180);
- Node131.borderWidth = Node131BorderWidth;
- Node131.borderFillwidth = Node131BorderWidth;
- dataModel.add(Node131);
- Node131._nodename = 'Node131'
- Node131._nodeType = 'rect';
- zoomNodeList.push({
- node: Node131,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node131, Node131.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node132type = 'rect';
- var Node132 = new ht.Node(),
- Node132BorderWidth = 1*2;
- if (Node132type === 'arc') {
- Node132BorderWidth *= 1;
- }
- Node132.setImage(GD.getRectJSON(280.7278*_ratio.ratioX, 122*_ratio.ratioY, Node132type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node132.setPosition(1756*ratio.ratioX, 178*ratio.ratioY);
- Node132.setSize(280.7278*_ratio.ratioX, 122*_ratio.ratioY);
- Node132.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node132.a('node.width', 280.7278*_ratio.ratioX);
- Node132.a('node.height', 122*_ratio.ratioY);
- Node132.a('node.type', Node132type);
- Node132.a('node.rect', [0, 0, 280.7278*_ratio.ratioX, 122*_ratio.ratioY]);
- Node132.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node132.a('node.gradientcolor', '');
- Node132.a('node.gradient', '');
- Node132.a('node.borderwidth', Node132BorderWidth);
- Node132.a('node.color', 'rgba(220,220,220,1)');
- Node132.a('node.fillrect', [0,0,0,0]);
- Node132.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node132.a('node.fillgradient', '');
- if (Node132type !== 'rect') {
- Node132.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node132.a('node.arcTo', parseFloat('@arcTo@'));
- Node132.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node132type === 'arc') {
- Node132.a('node.arcOval', true);
- }
- Node132.setRotation(0*Math.PI/180);
- Node132.borderWidth = Node132BorderWidth;
- Node132.borderFillwidth = Node132BorderWidth;
- dataModel.add(Node132);
- Node132._nodename = 'Node132'
- Node132._nodeType = 'rect';
- zoomNodeList.push({
- node: Node132,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node132, Node132.getImage());var Node133points=[1807, 118,1807, 238],
- Node133rect=ht.Default.unionPoint([{x:1807,y:118},{x:1807,y:238}]),
- Node133compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(4.71238898038469, ratio),
- _endratio = GD.getRatioWithRotation(7.85398163397448, ratio);
- for(var i=0;i<Node133points.length;i++){
- if(i%2==0){
- Node133compspts.push(Node133points[i]-Node133rect.x);
- }else{
- Node133compspts.push(Node133points[i]-Node133rect.y);
- }
- }
- var Node133ptslength=Node133compspts.length;
- if (Node133rect.height === 0) {
- Node133compspts[0] -= 0;
- Node133compspts[Node133ptslength-2] += 0;
- } else if (Node133rect.width === 0){
- Node133compspts[1] -= 0;
- Node133compspts[Node133ptslength-1] += 0;
- } else {
- Node133compspts[0] -= 0;
- Node133compspts[1] -= 0;
- Node133compspts[Node133ptslength-2] += 0;
- Node133compspts[Node133ptslength-1] += 0;
- }
- Node133 = new ht.Node();
- Node133.borderWidth = 1;
- Node133rect.width = Node133rect.width === 0 ? 0.0001 : Node133rect.width;
- Node133rect.height = Node133rect.height === 0 ? 0.0001 : Node133rect.height;
- var Node133endCompspts = [Node133compspts[Node133ptslength-2],Node133compspts[Node133ptslength-1],0,0];
- var Node133startCompspts = [Node133compspts[0],Node133compspts[1],0,0];
- Node133.setImage(GD.getPolyLineJSON());
- Node133.setPosition(Node133rect.x+Node133rect.width/2,Node133rect.y+Node133rect.height/2);
- Node133.setSize(Node133rect.width,Node133rect.height);
- Node133.setStyle("opacity",1);
- Node133.s({'pixelPerfect':true});
- Node133borderwidth=1;
- Node133.setRotation(0);
- dataModel.add(Node133);
- Node133.a('node.points',Node133compspts);
- Node133.a('node.segments',[1,2]);
- Node133.a('node.color','rgba(220,220,220,1)');
- Node133.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node133.a('node.borderColor','rgba(220,220,220,1)');
- Node133.a('node.background','rgba(220,220,220,1)');
- Node133.a('node.gradient','');
- Node133.a('node.gradientcolor','rgba(220,220,220,1)');
- Node133.a('node.endCompspts',Node133endCompspts);
- Node133.a('node.startCompspts',Node133startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node133';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node133, Node133.getImage(), Node133compspts, Node133endCompspts, Node133startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node134 = new ht.Node();
- var Node134textStart, Node134textWidth, Node134lineStart, Node134align = 'left', Node134fontSize = 13.3333*_ratio.ratioY,Node134width = 110*_ratio.ratioX, Node134height = 27*_ratio.ratioY;
- (function () {
- if (Node134align === 'left') {
- Node134textStart = Node134fontSize * 0.2 > 2 ? Node134fontSize * 0.2 - 4 : Node134fontSize * 0.2 - 9;
- Node134textWidth = Node134width;
- Node134lineStart = 1;
- } else if (Node134align === 'right') {
- Node134textStart = 0;
- Node134textWidth =Node134fontSize <= 8 ? Node134width + Node134fontSize * 0.2 + 6 : Node134width - Node134fontSize * 0.2;
- Node134lineStart = (Node134width - (ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node134align === 'center') {
- Node134textStart = -3;
- Node134textWidth = Node134width;
- Node134lineStart = Node134width - ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node134.setImage(GD.getTextJSON(Node134width, Node134height, true, false, false, ' '+ Node134fontSize + 'px "Arial"'))
- Node134.setPosition(1676*ratio.ratioX, 129*ratio.ratioY);
- Node134.setWidth(Node134width);
- Node134.setHeight(Node134height);
- Node134._nodeType = 'text';
- Node134._disallowEvert = true;
- Node134.setRotation(0*Math.PI/180);
- Node134.a('node.width', Node134width);
- Node134.a('node.height', Node134height);
- Node134.a('node.rect', [0, 0, Node134width, Node134height]);
- Node134.a('node.bordercolor','rgba(0,0,0,1)');
- Node134.a('node.borderwidth', 0);
- Node134.a('node.background','' || 'rgba(0,0,0,0)');
- Node134.a('node.gradient','');
- Node134.a('node.gradientcolor','');
- Node134.a('node.text','年维护损失电量');
- Node134.a('node.textalign','left');
- Node134.a('node.textvAlign','middle');
- Node134.a('node.textrect', [Node134textStart, 0, Node134textWidth, Node134height]);
- Node134.a('node.color','rgba(0,0,0,1)');
- Node134.a('node.font',' '+ Node134fontSize + 'px "Arial"');
- Node134.a('node.textvisible',true);
- Node134.a('node.linefeed',false);
- if (false) {
- Node134.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node134.a('node.text') || '年维护损失电量';
- var color=Node134.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node134width,Node134height,13.3333*_ratio.ratioY,"left",color,' '+ Node134fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node134.a('node.underlinepoints',[Node134lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node134fontSize + 2 , ht.Default.getTextSize('年维护损失电量', ' '+ Node134fontSize + 'px "Arial"').width + 6, (Node134height - Node134fontSize) * 0.5*_ratio.ratioY + Node134fontSize + 2 ]);
- Node134.a('node.underlinevisible',false);
- Node134.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node134);
- zoomNodeList.push({
- node: Node134,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node135 = new ht.Node();
- var Node135textStart, Node135textWidth, Node135lineStart, Node135align = 'left', Node135fontSize = 13.3333*_ratio.ratioY,Node135width = 110*_ratio.ratioX, Node135height = 27*_ratio.ratioY;
- (function () {
- if (Node135align === 'left') {
- Node135textStart = Node135fontSize * 0.2 > 2 ? Node135fontSize * 0.2 - 4 : Node135fontSize * 0.2 - 9;
- Node135textWidth = Node135width;
- Node135lineStart = 1;
- } else if (Node135align === 'right') {
- Node135textStart = 0;
- Node135textWidth =Node135fontSize <= 8 ? Node135width + Node135fontSize * 0.2 + 6 : Node135width - Node135fontSize * 0.2;
- Node135lineStart = (Node135width - (ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node135align === 'center') {
- Node135textStart = -3;
- Node135textWidth = Node135width;
- Node135lineStart = Node135width - ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node135.setImage(GD.getTextJSON(Node135width, Node135height, true, false, false, ' '+ Node135fontSize + 'px "Arial"'))
- Node135.setPosition(1676*ratio.ratioX, 155*ratio.ratioY);
- Node135.setWidth(Node135width);
- Node135.setHeight(Node135height);
- Node135._nodeType = 'text';
- Node135._disallowEvert = true;
- Node135.setRotation(0*Math.PI/180);
- Node135.a('node.width', Node135width);
- Node135.a('node.height', Node135height);
- Node135.a('node.rect', [0, 0, Node135width, Node135height]);
- Node135.a('node.bordercolor','rgba(0,0,0,1)');
- Node135.a('node.borderwidth', 0);
- Node135.a('node.background','' || 'rgba(0,0,0,0)');
- Node135.a('node.gradient','');
- Node135.a('node.gradientcolor','');
- Node135.a('node.text','年故障损失电量');
- Node135.a('node.textalign','left');
- Node135.a('node.textvAlign','middle');
- Node135.a('node.textrect', [Node135textStart, 0, Node135textWidth, Node135height]);
- Node135.a('node.color','rgba(0,0,0,1)');
- Node135.a('node.font',' '+ Node135fontSize + 'px "Arial"');
- Node135.a('node.textvisible',true);
- Node135.a('node.linefeed',false);
- if (false) {
- Node135.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node135.a('node.text') || '年故障损失电量';
- var color=Node135.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node135width,Node135height,13.3333*_ratio.ratioY,"left",color,' '+ Node135fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node135.a('node.underlinepoints',[Node135lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node135fontSize + 2 , ht.Default.getTextSize('年故障损失电量', ' '+ Node135fontSize + 'px "Arial"').width + 6, (Node135height - Node135fontSize) * 0.5*_ratio.ratioY + Node135fontSize + 2 ]);
- Node135.a('node.underlinevisible',false);
- Node135.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node135);
- zoomNodeList.push({
- node: Node135,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node136 = new ht.Node();
- var Node136textStart, Node136textWidth, Node136lineStart, Node136align = 'left', Node136fontSize = 13.3333*_ratio.ratioY,Node136width = 110*_ratio.ratioX, Node136height = 27*_ratio.ratioY;
- (function () {
- if (Node136align === 'left') {
- Node136textStart = Node136fontSize * 0.2 > 2 ? Node136fontSize * 0.2 - 4 : Node136fontSize * 0.2 - 9;
- Node136textWidth = Node136width;
- Node136lineStart = 1;
- } else if (Node136align === 'right') {
- Node136textStart = 0;
- Node136textWidth =Node136fontSize <= 8 ? Node136width + Node136fontSize * 0.2 + 6 : Node136width - Node136fontSize * 0.2;
- Node136lineStart = (Node136width - (ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node136align === 'center') {
- Node136textStart = -3;
- Node136textWidth = Node136width;
- Node136lineStart = Node136width - ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node136.setImage(GD.getTextJSON(Node136width, Node136height, true, false, false, ' '+ Node136fontSize + 'px "Arial"'))
- Node136.setPosition(1676*ratio.ratioX, 179*ratio.ratioY);
- Node136.setWidth(Node136width);
- Node136.setHeight(Node136height);
- Node136._nodeType = 'text';
- Node136._disallowEvert = true;
- Node136.setRotation(0*Math.PI/180);
- Node136.a('node.width', Node136width);
- Node136.a('node.height', Node136height);
- Node136.a('node.rect', [0, 0, Node136width, Node136height]);
- Node136.a('node.bordercolor','rgba(0,0,0,1)');
- Node136.a('node.borderwidth', 0);
- Node136.a('node.background','' || 'rgba(0,0,0,0)');
- Node136.a('node.gradient','');
- Node136.a('node.gradientcolor','');
- Node136.a('node.text','年限电损失电量');
- Node136.a('node.textalign','left');
- Node136.a('node.textvAlign','middle');
- Node136.a('node.textrect', [Node136textStart, 0, Node136textWidth, Node136height]);
- Node136.a('node.color','rgba(0,0,0,1)');
- Node136.a('node.font',' '+ Node136fontSize + 'px "Arial"');
- Node136.a('node.textvisible',true);
- Node136.a('node.linefeed',false);
- if (false) {
- Node136.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node136.a('node.text') || '年限电损失电量';
- var color=Node136.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node136width,Node136height,13.3333*_ratio.ratioY,"left",color,' '+ Node136fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node136.a('node.underlinepoints',[Node136lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node136fontSize + 2 , ht.Default.getTextSize('年限电损失电量', ' '+ Node136fontSize + 'px "Arial"').width + 6, (Node136height - Node136fontSize) * 0.5*_ratio.ratioY + Node136fontSize + 2 ]);
- Node136.a('node.underlinevisible',false);
- Node136.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node136);
- zoomNodeList.push({
- node: Node136,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node137 = new ht.Node();
- var Node137textStart, Node137textWidth, Node137lineStart, Node137align = 'left', Node137fontSize = 13.3333*_ratio.ratioY,Node137width = 110*_ratio.ratioX, Node137height = 27*_ratio.ratioY;
- (function () {
- if (Node137align === 'left') {
- Node137textStart = Node137fontSize * 0.2 > 2 ? Node137fontSize * 0.2 - 4 : Node137fontSize * 0.2 - 9;
- Node137textWidth = Node137width;
- Node137lineStart = 1;
- } else if (Node137align === 'right') {
- Node137textStart = 0;
- Node137textWidth =Node137fontSize <= 8 ? Node137width + Node137fontSize * 0.2 + 6 : Node137width - Node137fontSize * 0.2;
- Node137lineStart = (Node137width - (ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node137align === 'center') {
- Node137textStart = -3;
- Node137textWidth = Node137width;
- Node137lineStart = Node137width - ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node137.setImage(GD.getTextJSON(Node137width, Node137height, true, false, false, ' '+ Node137fontSize + 'px "Arial"'))
- Node137.setPosition(1677*ratio.ratioX, 202*ratio.ratioY);
- Node137.setWidth(Node137width);
- Node137.setHeight(Node137height);
- Node137._nodeType = 'text';
- Node137._disallowEvert = true;
- Node137.setRotation(0*Math.PI/180);
- Node137.a('node.width', Node137width);
- Node137.a('node.height', Node137height);
- Node137.a('node.rect', [0, 0, Node137width, Node137height]);
- Node137.a('node.bordercolor','rgba(0,0,0,1)');
- Node137.a('node.borderwidth', 0);
- Node137.a('node.background','' || 'rgba(0,0,0,0)');
- Node137.a('node.gradient','');
- Node137.a('node.gradientcolor','');
- Node137.a('node.text','年受累损失电量');
- Node137.a('node.textalign','left');
- Node137.a('node.textvAlign','middle');
- Node137.a('node.textrect', [Node137textStart, 0, Node137textWidth, Node137height]);
- Node137.a('node.color','rgba(0,0,0,1)');
- Node137.a('node.font',' '+ Node137fontSize + 'px "Arial"');
- Node137.a('node.textvisible',true);
- Node137.a('node.linefeed',false);
- if (false) {
- Node137.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node137.a('node.text') || '年受累损失电量';
- var color=Node137.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node137width,Node137height,13.3333*_ratio.ratioY,"left",color,' '+ Node137fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node137.a('node.underlinepoints',[Node137lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node137fontSize + 2 , ht.Default.getTextSize('年受累损失电量', ' '+ Node137fontSize + 'px "Arial"').width + 6, (Node137height - Node137fontSize) * 0.5*_ratio.ratioY + Node137fontSize + 2 ]);
- Node137.a('node.underlinevisible',false);
- Node137.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node137);
- zoomNodeList.push({
- node: Node137,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node138 = new ht.Node();
- var Node138textStart, Node138textWidth, Node138lineStart, Node138align = 'left', Node138fontSize = 13.3333*_ratio.ratioY,Node138width = 125*_ratio.ratioX, Node138height = 27*_ratio.ratioY;
- (function () {
- if (Node138align === 'left') {
- Node138textStart = Node138fontSize * 0.2 > 2 ? Node138fontSize * 0.2 - 4 : Node138fontSize * 0.2 - 9;
- Node138textWidth = Node138width;
- Node138lineStart = 1;
- } else if (Node138align === 'right') {
- Node138textStart = 0;
- Node138textWidth =Node138fontSize <= 8 ? Node138width + Node138fontSize * 0.2 + 6 : Node138width - Node138fontSize * 0.2;
- Node138lineStart = (Node138width - (ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node138align === 'center') {
- Node138textStart = -3;
- Node138textWidth = Node138width;
- Node138lineStart = Node138width - ht.Default.getTextSize('年性能损失电量', ' '+ Node138fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node138.setImage(GD.getTextJSON(Node138width, Node138height, true, false, false, ' '+ Node138fontSize + 'px "Arial"'))
- Node138.setPosition(1682*ratio.ratioX, 227*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','年性能损失电量');
- Node138.a('node.textalign','left');
- 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') || '年性能损失电量';
- 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,"left",color,' '+ Node138fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node138.a('node.underlinepoints',[Node138lineStart, (27 - 13.3333) * 0.5 * _ratio.ratioY + Node138fontSize + 2 , ht.Default.getTextSize('年性能损失电量', ' '+ 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 = 'left', Node139fontSize = 13.3333*_ratio.ratioY,Node139width = 37*_ratio.ratioX, Node139height = 16*_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', 'bold '+ Node139fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node139align === 'center') {
- Node139textStart = -3;
- Node139textWidth = Node139width;
- Node139lineStart = Node139width - ht.Default.getTextSize('0', 'bold '+ Node139fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node139.setImage(GD.getTextJSON(Node139width, Node139height, true, false, false, 'bold '+ Node139fontSize + 'px "Arial"'))
- Node139.setPosition(1772*ratio.ratioX, 129*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','left');
- 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','bold '+ 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,"left",color,'bold '+ Node139fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node139.a('node.underlinepoints',[Node139lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node139fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ 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 = 'left', Node140fontSize = 13.3333*_ratio.ratioY,Node140width = 37*_ratio.ratioX, Node140height = 16*_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', 'bold '+ Node140fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node140align === 'center') {
- Node140textStart = -3;
- Node140textWidth = Node140width;
- Node140lineStart = Node140width - ht.Default.getTextSize('0', 'bold '+ Node140fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node140.setImage(GD.getTextJSON(Node140width, Node140height, true, false, false, 'bold '+ Node140fontSize + 'px "Arial"'))
- Node140.setPosition(1772*ratio.ratioX, 153*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','left');
- 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','bold '+ 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,"left",color,'bold '+ Node140fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node140.a('node.underlinepoints',[Node140lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node140fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ 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 = 'left', Node141fontSize = 13.3333*_ratio.ratioY,Node141width = 27*_ratio.ratioX, Node141height = 16*_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', 'bold '+ Node141fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node141align === 'center') {
- Node141textStart = -3;
- Node141textWidth = Node141width;
- Node141lineStart = Node141width - ht.Default.getTextSize('0', 'bold '+ Node141fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node141.setImage(GD.getTextJSON(Node141width, Node141height, true, false, false, 'bold '+ Node141fontSize + 'px "Arial"'))
- Node141.setPosition(1767*ratio.ratioX, 178*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','left');
- 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','bold '+ 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,"left",color,'bold '+ Node141fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node141.a('node.underlinepoints',[Node141lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node141fontSize + 2 , ht.Default.getTextSize('0', 'bold '+ 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 = 'left', Node142fontSize = 13.3333*_ratio.ratioY,Node142width = 37*_ratio.ratioX, Node142height = 16*_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('-', 'bold '+ Node142fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node142align === 'center') {
- Node142textStart = -3;
- Node142textWidth = Node142width;
- Node142lineStart = Node142width - ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node142.setImage(GD.getTextJSON(Node142width, Node142height, true, false, false, 'bold '+ Node142fontSize + 'px "Arial"'))
- Node142.setPosition(1786*ratio.ratioX, 202*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','-');
- Node142.a('node.textalign','left');
- 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','bold '+ 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') || '-';
- 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,"left",color,'bold '+ Node142fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node142.a('node.underlinepoints',[Node142lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node142fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node142fontSize + 'px "Arial"').width + 6, (Node142height - Node142fontSize) * 0.5*_ratio.ratioY + Node142fontSize + 2 ]);
- Node142.a('node.underlinevisible',false);
- Node142.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node142);
- zoomNodeList.push({
- node: Node142,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node143 = new ht.Node();
- var Node143textStart, Node143textWidth, Node143lineStart, Node143align = 'left', Node143fontSize = 13.3333*_ratio.ratioY,Node143width = 47*_ratio.ratioX, Node143height = 17*_ratio.ratioY;
- (function () {
- if (Node143align === 'left') {
- Node143textStart = Node143fontSize * 0.2 > 2 ? Node143fontSize * 0.2 - 4 : Node143fontSize * 0.2 - 9;
- Node143textWidth = Node143width;
- Node143lineStart = 1;
- } else if (Node143align === 'right') {
- Node143textStart = 0;
- Node143textWidth =Node143fontSize <= 8 ? Node143width + Node143fontSize * 0.2 + 6 : Node143width - Node143fontSize * 0.2;
- Node143lineStart = (Node143width - (ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node143align === 'center') {
- Node143textStart = -3;
- Node143textWidth = Node143width;
- Node143lineStart = Node143width - ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node143.setImage(GD.getTextJSON(Node143width, Node143height, true, false, false, ' '+ Node143fontSize + 'px "Arial"'))
- Node143.setPosition(1840*ratio.ratioX, 128*ratio.ratioY);
- Node143.setWidth(Node143width);
- Node143.setHeight(Node143height);
- Node143._nodeType = 'text';
- Node143._disallowEvert = true;
- Node143.setRotation(0*Math.PI/180);
- Node143.a('node.width', Node143width);
- Node143.a('node.height', Node143height);
- Node143.a('node.rect', [0, 0, Node143width, Node143height]);
- Node143.a('node.bordercolor','rgba(169,169,169,1)');
- Node143.a('node.borderwidth', 0);
- Node143.a('node.background','' || 'rgba(0,0,0,0)');
- Node143.a('node.gradient','');
- Node143.a('node.gradientcolor','');
- Node143.a('node.text','万kW');
- Node143.a('node.textalign','left');
- Node143.a('node.textvAlign','middle');
- Node143.a('node.textrect', [Node143textStart, 0, Node143textWidth, Node143height]);
- Node143.a('node.color','rgba(169,169,169,1)');
- Node143.a('node.font',' '+ Node143fontSize + 'px "Arial"');
- Node143.a('node.textvisible',true);
- Node143.a('node.linefeed',false);
- if (false) {
- Node143.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node143.a('node.text') || '万kW';
- var color=Node143.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node143width,Node143height,13.3333*_ratio.ratioY,"left",color,' '+ Node143fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node143.a('node.underlinepoints',[Node143lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node143fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node143fontSize + 'px "Arial"').width + 6, (Node143height - Node143fontSize) * 0.5*_ratio.ratioY + Node143fontSize + 2 ]);
- Node143.a('node.underlinevisible',false);
- Node143.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node143);
- zoomNodeList.push({
- node: Node143,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node144 = new ht.Node();
- var Node144textStart, Node144textWidth, Node144lineStart, Node144align = 'left', Node144fontSize = 13.3333*_ratio.ratioY,Node144width = 37*_ratio.ratioX, Node144height = 16*_ratio.ratioY;
- (function () {
- if (Node144align === 'left') {
- Node144textStart = Node144fontSize * 0.2 > 2 ? Node144fontSize * 0.2 - 4 : Node144fontSize * 0.2 - 9;
- Node144textWidth = Node144width;
- Node144lineStart = 1;
- } else if (Node144align === 'right') {
- Node144textStart = 0;
- Node144textWidth =Node144fontSize <= 8 ? Node144width + Node144fontSize * 0.2 + 6 : Node144width - Node144fontSize * 0.2;
- Node144lineStart = (Node144width - (ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node144align === 'center') {
- Node144textStart = -3;
- Node144textWidth = Node144width;
- Node144lineStart = Node144width - ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node144.setImage(GD.getTextJSON(Node144width, Node144height, true, false, false, 'bold '+ Node144fontSize + 'px "Arial"'))
- Node144.setPosition(1786*ratio.ratioX, 227*ratio.ratioY);
- Node144.setWidth(Node144width);
- Node144.setHeight(Node144height);
- Node144._nodeType = 'text';
- Node144._disallowEvert = true;
- Node144.setRotation(0*Math.PI/180);
- Node144.a('node.width', Node144width);
- Node144.a('node.height', Node144height);
- Node144.a('node.rect', [0, 0, Node144width, Node144height]);
- Node144.a('node.bordercolor','rgba(0,0,0,1)');
- Node144.a('node.borderwidth', 0);
- Node144.a('node.background','' || 'rgba(0,0,0,0)');
- Node144.a('node.gradient','');
- Node144.a('node.gradientcolor','');
- Node144.a('node.text','-');
- Node144.a('node.textalign','left');
- Node144.a('node.textvAlign','middle');
- Node144.a('node.textrect', [Node144textStart, 0, Node144textWidth, Node144height]);
- Node144.a('node.color','rgba(0,0,0,1)');
- Node144.a('node.font','bold '+ Node144fontSize + 'px "Arial"');
- Node144.a('node.textvisible',true);
- Node144.a('node.linefeed',false);
- if (false) {
- Node144.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node144.a('node.text') || '-';
- var color=Node144.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node144width,Node144height,13.3333*_ratio.ratioY,"left",color,'bold '+ Node144fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node144.a('node.underlinepoints',[Node144lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node144fontSize + 2 , ht.Default.getTextSize('-', 'bold '+ Node144fontSize + 'px "Arial"').width + 6, (Node144height - Node144fontSize) * 0.5*_ratio.ratioY + Node144fontSize + 2 ]);
- Node144.a('node.underlinevisible',false);
- Node144.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node144);
- zoomNodeList.push({
- node: Node144,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node145 = new ht.Node();
- var Node145textStart, Node145textWidth, Node145lineStart, Node145align = 'left', Node145fontSize = 13.3333*_ratio.ratioY,Node145width = 47*_ratio.ratioX, Node145height = 17*_ratio.ratioY;
- (function () {
- if (Node145align === 'left') {
- Node145textStart = Node145fontSize * 0.2 > 2 ? Node145fontSize * 0.2 - 4 : Node145fontSize * 0.2 - 9;
- Node145textWidth = Node145width;
- Node145lineStart = 1;
- } else if (Node145align === 'right') {
- Node145textStart = 0;
- Node145textWidth =Node145fontSize <= 8 ? Node145width + Node145fontSize * 0.2 + 6 : Node145width - Node145fontSize * 0.2;
- Node145lineStart = (Node145width - (ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node145align === 'center') {
- Node145textStart = -3;
- Node145textWidth = Node145width;
- Node145lineStart = Node145width - ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node145.setImage(GD.getTextJSON(Node145width, Node145height, true, false, false, ' '+ Node145fontSize + 'px "Arial"'))
- Node145.setPosition(1840*ratio.ratioX, 154*ratio.ratioY);
- Node145.setWidth(Node145width);
- Node145.setHeight(Node145height);
- Node145._nodeType = 'text';
- Node145._disallowEvert = true;
- Node145.setRotation(0*Math.PI/180);
- Node145.a('node.width', Node145width);
- Node145.a('node.height', Node145height);
- Node145.a('node.rect', [0, 0, Node145width, Node145height]);
- Node145.a('node.bordercolor','rgba(169,169,169,1)');
- Node145.a('node.borderwidth', 0);
- Node145.a('node.background','' || 'rgba(0,0,0,0)');
- Node145.a('node.gradient','');
- Node145.a('node.gradientcolor','');
- Node145.a('node.text','万kW');
- Node145.a('node.textalign','left');
- Node145.a('node.textvAlign','middle');
- Node145.a('node.textrect', [Node145textStart, 0, Node145textWidth, Node145height]);
- Node145.a('node.color','rgba(169,169,169,1)');
- Node145.a('node.font',' '+ Node145fontSize + 'px "Arial"');
- Node145.a('node.textvisible',true);
- Node145.a('node.linefeed',false);
- if (false) {
- Node145.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node145.a('node.text') || '万kW';
- var color=Node145.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node145width,Node145height,13.3333*_ratio.ratioY,"left",color,' '+ Node145fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node145.a('node.underlinepoints',[Node145lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node145fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node145fontSize + 'px "Arial"').width + 6, (Node145height - Node145fontSize) * 0.5*_ratio.ratioY + Node145fontSize + 2 ]);
- Node145.a('node.underlinevisible',false);
- Node145.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node145);
- zoomNodeList.push({
- node: Node145,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node146 = new ht.Node();
- var Node146textStart, Node146textWidth, Node146lineStart, Node146align = 'left', Node146fontSize = 13.3333*_ratio.ratioY,Node146width = 47*_ratio.ratioX, Node146height = 17*_ratio.ratioY;
- (function () {
- if (Node146align === 'left') {
- Node146textStart = Node146fontSize * 0.2 > 2 ? Node146fontSize * 0.2 - 4 : Node146fontSize * 0.2 - 9;
- Node146textWidth = Node146width;
- Node146lineStart = 1;
- } else if (Node146align === 'right') {
- Node146textStart = 0;
- Node146textWidth =Node146fontSize <= 8 ? Node146width + Node146fontSize * 0.2 + 6 : Node146width - Node146fontSize * 0.2;
- Node146lineStart = (Node146width - (ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node146align === 'center') {
- Node146textStart = -3;
- Node146textWidth = Node146width;
- Node146lineStart = Node146width - ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node146.setImage(GD.getTextJSON(Node146width, Node146height, true, false, false, ' '+ Node146fontSize + 'px "Arial"'))
- Node146.setPosition(1840*ratio.ratioX, 179*ratio.ratioY);
- Node146.setWidth(Node146width);
- Node146.setHeight(Node146height);
- Node146._nodeType = 'text';
- Node146._disallowEvert = true;
- Node146.setRotation(0*Math.PI/180);
- Node146.a('node.width', Node146width);
- Node146.a('node.height', Node146height);
- Node146.a('node.rect', [0, 0, Node146width, Node146height]);
- Node146.a('node.bordercolor','rgba(169,169,169,1)');
- Node146.a('node.borderwidth', 0);
- Node146.a('node.background','' || 'rgba(0,0,0,0)');
- Node146.a('node.gradient','');
- Node146.a('node.gradientcolor','');
- Node146.a('node.text','万kW');
- Node146.a('node.textalign','left');
- Node146.a('node.textvAlign','middle');
- Node146.a('node.textrect', [Node146textStart, 0, Node146textWidth, Node146height]);
- Node146.a('node.color','rgba(169,169,169,1)');
- Node146.a('node.font',' '+ Node146fontSize + 'px "Arial"');
- Node146.a('node.textvisible',true);
- Node146.a('node.linefeed',false);
- if (false) {
- Node146.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node146.a('node.text') || '万kW';
- var color=Node146.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node146width,Node146height,13.3333*_ratio.ratioY,"left",color,' '+ Node146fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node146.a('node.underlinepoints',[Node146lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node146fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node146fontSize + 'px "Arial"').width + 6, (Node146height - Node146fontSize) * 0.5*_ratio.ratioY + Node146fontSize + 2 ]);
- Node146.a('node.underlinevisible',false);
- Node146.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node146);
- zoomNodeList.push({
- node: Node146,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node147 = new ht.Node();
- var Node147textStart, Node147textWidth, Node147lineStart, Node147align = 'left', Node147fontSize = 13.3333*_ratio.ratioY,Node147width = 47*_ratio.ratioX, Node147height = 17*_ratio.ratioY;
- (function () {
- if (Node147align === 'left') {
- Node147textStart = Node147fontSize * 0.2 > 2 ? Node147fontSize * 0.2 - 4 : Node147fontSize * 0.2 - 9;
- Node147textWidth = Node147width;
- Node147lineStart = 1;
- } else if (Node147align === 'right') {
- Node147textStart = 0;
- Node147textWidth =Node147fontSize <= 8 ? Node147width + Node147fontSize * 0.2 + 6 : Node147width - Node147fontSize * 0.2;
- Node147lineStart = (Node147width - (ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node147align === 'center') {
- Node147textStart = -3;
- Node147textWidth = Node147width;
- Node147lineStart = Node147width - ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node147.setImage(GD.getTextJSON(Node147width, Node147height, true, false, false, ' '+ Node147fontSize + 'px "Arial"'))
- Node147.setPosition(1840*ratio.ratioX, 206*ratio.ratioY);
- Node147.setWidth(Node147width);
- Node147.setHeight(Node147height);
- Node147._nodeType = 'text';
- Node147._disallowEvert = true;
- Node147.setRotation(0*Math.PI/180);
- Node147.a('node.width', Node147width);
- Node147.a('node.height', Node147height);
- Node147.a('node.rect', [0, 0, Node147width, Node147height]);
- Node147.a('node.bordercolor','rgba(169,169,169,1)');
- Node147.a('node.borderwidth', 0);
- Node147.a('node.background','' || 'rgba(0,0,0,0)');
- Node147.a('node.gradient','');
- Node147.a('node.gradientcolor','');
- Node147.a('node.text','万kW');
- Node147.a('node.textalign','left');
- Node147.a('node.textvAlign','middle');
- Node147.a('node.textrect', [Node147textStart, 0, Node147textWidth, Node147height]);
- Node147.a('node.color','rgba(169,169,169,1)');
- Node147.a('node.font',' '+ Node147fontSize + 'px "Arial"');
- Node147.a('node.textvisible',true);
- Node147.a('node.linefeed',false);
- if (false) {
- Node147.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node147.a('node.text') || '万kW';
- var color=Node147.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node147width,Node147height,13.3333*_ratio.ratioY,"left",color,' '+ Node147fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node147.a('node.underlinepoints',[Node147lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node147fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ Node147fontSize + 'px "Arial"').width + 6, (Node147height - Node147fontSize) * 0.5*_ratio.ratioY + Node147fontSize + 2 ]);
- Node147.a('node.underlinevisible',false);
- Node147.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node147);
- zoomNodeList.push({
- node: Node147,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node148 = new ht.Node();
- var Node148textStart, Node148textWidth, Node148lineStart, Node148align = 'left', Node148fontSize = 13.3333*_ratio.ratioY,Node148width = 47*_ratio.ratioX, Node148height = 17*_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('万kW', ' '+ Node148fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node148align === 'center') {
- Node148textStart = -3;
- Node148textWidth = Node148width;
- Node148lineStart = Node148width - ht.Default.getTextSize('万kW', ' '+ Node148fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node148.setImage(GD.getTextJSON(Node148width, Node148height, true, false, false, ' '+ Node148fontSize + 'px "Arial"'))
- Node148.setPosition(1839*ratio.ratioX, 228*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(169,169,169,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','万kW');
- Node148.a('node.textalign','left');
- Node148.a('node.textvAlign','middle');
- Node148.a('node.textrect', [Node148textStart, 0, Node148textWidth, Node148height]);
- Node148.a('node.color','rgba(169,169,169,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') || '万kW';
- var color=Node148.a('node.color') || 'rgba(169,169,169,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node148width,Node148height,13.3333*_ratio.ratioY,"left",color,' '+ Node148fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node148.a('node.underlinepoints',[Node148lineStart, (17 - 13.3333) * 0.5 * _ratio.ratioY + Node148fontSize + 2 , ht.Default.getTextSize('万kW', ' '+ 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'
- }); var Node149points=[1619, 142,1896, 142],
- Node149rect=ht.Default.unionPoint([{x:1619,y:142},{x:1896,y:142}]),
- Node149compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node149points.length;i++){
- if(i%2==0){
- Node149compspts.push(Node149points[i]-Node149rect.x);
- }else{
- Node149compspts.push(Node149points[i]-Node149rect.y);
- }
- }
- var Node149ptslength=Node149compspts.length;
- if (Node149rect.height === 0) {
- Node149compspts[0] -= 0;
- Node149compspts[Node149ptslength-2] += 0;
- } else if (Node149rect.width === 0){
- Node149compspts[1] -= 0;
- Node149compspts[Node149ptslength-1] += 0;
- } else {
- Node149compspts[0] -= 0;
- Node149compspts[1] -= 0;
- Node149compspts[Node149ptslength-2] += 0;
- Node149compspts[Node149ptslength-1] += 0;
- }
- Node149 = new ht.Node();
- Node149.borderWidth = 1;
- Node149rect.width = Node149rect.width === 0 ? 0.0001 : Node149rect.width;
- Node149rect.height = Node149rect.height === 0 ? 0.0001 : Node149rect.height;
- var Node149endCompspts = [Node149compspts[Node149ptslength-2],Node149compspts[Node149ptslength-1],0,0];
- var Node149startCompspts = [Node149compspts[0],Node149compspts[1],0,0];
- Node149.setImage(GD.getPolyLineJSON());
- Node149.setPosition(Node149rect.x+Node149rect.width/2,Node149rect.y+Node149rect.height/2);
- Node149.setSize(Node149rect.width,Node149rect.height);
- Node149.setStyle("opacity",1);
- Node149.s({'pixelPerfect':true});
- Node149borderwidth=1;
- Node149.setRotation(0);
- dataModel.add(Node149);
- Node149.a('node.points',Node149compspts);
- Node149.a('node.segments',[1,2]);
- Node149.a('node.color','rgba(220,220,220,1)');
- Node149.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node149.a('node.borderColor','rgba(220,220,220,1)');
- Node149.a('node.background','rgba(220,220,220,1)');
- Node149.a('node.gradient','');
- Node149.a('node.gradientcolor','rgba(220,220,220,1)');
- Node149.a('node.endCompspts',Node149endCompspts);
- Node149.a('node.startCompspts',Node149startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node149';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node149, Node149.getImage(), Node149compspts, Node149endCompspts, Node149startCompspts);
- var Node150points=[1617, 168,1894, 168],
- Node150rect=ht.Default.unionPoint([{x:1617,y:168},{x:1894,y:168}]),
- Node150compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node150points.length;i++){
- if(i%2==0){
- Node150compspts.push(Node150points[i]-Node150rect.x);
- }else{
- Node150compspts.push(Node150points[i]-Node150rect.y);
- }
- }
- var Node150ptslength=Node150compspts.length;
- if (Node150rect.height === 0) {
- Node150compspts[0] -= 0;
- Node150compspts[Node150ptslength-2] += 0;
- } else if (Node150rect.width === 0){
- Node150compspts[1] -= 0;
- Node150compspts[Node150ptslength-1] += 0;
- } else {
- Node150compspts[0] -= 0;
- Node150compspts[1] -= 0;
- Node150compspts[Node150ptslength-2] += 0;
- Node150compspts[Node150ptslength-1] += 0;
- }
- Node150 = new ht.Node();
- Node150.borderWidth = 1;
- Node150rect.width = Node150rect.width === 0 ? 0.0001 : Node150rect.width;
- Node150rect.height = Node150rect.height === 0 ? 0.0001 : Node150rect.height;
- var Node150endCompspts = [Node150compspts[Node150ptslength-2],Node150compspts[Node150ptslength-1],0,0];
- var Node150startCompspts = [Node150compspts[0],Node150compspts[1],0,0];
- Node150.setImage(GD.getPolyLineJSON());
- Node150.setPosition(Node150rect.x+Node150rect.width/2,Node150rect.y+Node150rect.height/2);
- Node150.setSize(Node150rect.width,Node150rect.height);
- Node150.setStyle("opacity",1);
- Node150.s({'pixelPerfect':true});
- Node150borderwidth=1;
- Node150.setRotation(0);
- dataModel.add(Node150);
- Node150.a('node.points',Node150compspts);
- Node150.a('node.segments',[1,2]);
- Node150.a('node.color','rgba(220,220,220,1)');
- Node150.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node150.a('node.borderColor','rgba(220,220,220,1)');
- Node150.a('node.background','rgba(220,220,220,1)');
- Node150.a('node.gradient','');
- Node150.a('node.gradientcolor','rgba(220,220,220,1)');
- Node150.a('node.endCompspts',Node150endCompspts);
- Node150.a('node.startCompspts',Node150startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node150';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node150, Node150.getImage(), Node150compspts, Node150endCompspts, Node150startCompspts);
- var Node151points=[1619, 192,1896, 192],
- Node151rect=ht.Default.unionPoint([{x:1619,y:192},{x:1896,y:192}]),
- Node151compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node151points.length;i++){
- if(i%2==0){
- Node151compspts.push(Node151points[i]-Node151rect.x);
- }else{
- Node151compspts.push(Node151points[i]-Node151rect.y);
- }
- }
- var Node151ptslength=Node151compspts.length;
- if (Node151rect.height === 0) {
- Node151compspts[0] -= 0;
- Node151compspts[Node151ptslength-2] += 0;
- } else if (Node151rect.width === 0){
- Node151compspts[1] -= 0;
- Node151compspts[Node151ptslength-1] += 0;
- } else {
- Node151compspts[0] -= 0;
- Node151compspts[1] -= 0;
- Node151compspts[Node151ptslength-2] += 0;
- Node151compspts[Node151ptslength-1] += 0;
- }
- Node151 = new ht.Node();
- Node151.borderWidth = 1;
- Node151rect.width = Node151rect.width === 0 ? 0.0001 : Node151rect.width;
- Node151rect.height = Node151rect.height === 0 ? 0.0001 : Node151rect.height;
- var Node151endCompspts = [Node151compspts[Node151ptslength-2],Node151compspts[Node151ptslength-1],0,0];
- var Node151startCompspts = [Node151compspts[0],Node151compspts[1],0,0];
- Node151.setImage(GD.getPolyLineJSON());
- Node151.setPosition(Node151rect.x+Node151rect.width/2,Node151rect.y+Node151rect.height/2);
- Node151.setSize(Node151rect.width,Node151rect.height);
- Node151.setStyle("opacity",1);
- Node151.s({'pixelPerfect':true});
- Node151borderwidth=1;
- Node151.setRotation(0);
- dataModel.add(Node151);
- Node151.a('node.points',Node151compspts);
- Node151.a('node.segments',[1,2]);
- Node151.a('node.color','rgba(220,220,220,1)');
- Node151.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node151.a('node.borderColor','rgba(220,220,220,1)');
- Node151.a('node.background','rgba(220,220,220,1)');
- Node151.a('node.gradient','');
- Node151.a('node.gradientcolor','rgba(220,220,220,1)');
- Node151.a('node.endCompspts',Node151endCompspts);
- Node151.a('node.startCompspts',Node151startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node151';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node151, Node151.getImage(), Node151compspts, Node151endCompspts, Node151startCompspts);
- var Node152points=[1618, 215,1895, 215],
- Node152rect=ht.Default.unionPoint([{x:1618,y:215},{x:1895,y:215}]),
- Node152compspts=[];
- _ratio = GD.getRatioWithRotation(0, ratio);
- var _startratio = GD.getRatioWithRotation(3.14159265358979, ratio),
- _endratio = GD.getRatioWithRotation(0, ratio);
- for(var i=0;i<Node152points.length;i++){
- if(i%2==0){
- Node152compspts.push(Node152points[i]-Node152rect.x);
- }else{
- Node152compspts.push(Node152points[i]-Node152rect.y);
- }
- }
- var Node152ptslength=Node152compspts.length;
- if (Node152rect.height === 0) {
- Node152compspts[0] -= 0;
- Node152compspts[Node152ptslength-2] += 0;
- } else if (Node152rect.width === 0){
- Node152compspts[1] -= 0;
- Node152compspts[Node152ptslength-1] += 0;
- } else {
- Node152compspts[0] -= 0;
- Node152compspts[1] -= 0;
- Node152compspts[Node152ptslength-2] += 0;
- Node152compspts[Node152ptslength-1] += 0;
- }
- Node152 = new ht.Node();
- Node152.borderWidth = 1;
- Node152rect.width = Node152rect.width === 0 ? 0.0001 : Node152rect.width;
- Node152rect.height = Node152rect.height === 0 ? 0.0001 : Node152rect.height;
- var Node152endCompspts = [Node152compspts[Node152ptslength-2],Node152compspts[Node152ptslength-1],0,0];
- var Node152startCompspts = [Node152compspts[0],Node152compspts[1],0,0];
- Node152.setImage(GD.getPolyLineJSON());
- Node152.setPosition(Node152rect.x+Node152rect.width/2,Node152rect.y+Node152rect.height/2);
- Node152.setSize(Node152rect.width,Node152rect.height);
- Node152.setStyle("opacity",1);
- Node152.s({'pixelPerfect':true});
- Node152borderwidth=1;
- Node152.setRotation(0);
- dataModel.add(Node152);
- Node152.a('node.points',Node152compspts);
- Node152.a('node.segments',[1,2]);
- Node152.a('node.color','rgba(220,220,220,1)');
- Node152.a('node.borderPattern',getDashStyle("@borderPattern@"));
- Node152.a('node.borderColor','rgba(220,220,220,1)');
- Node152.a('node.background','rgba(220,220,220,1)');
- Node152.a('node.gradient','');
- Node152.a('node.gradientcolor','rgba(220,220,220,1)');
- Node152.a('node.endCompspts',Node152endCompspts);
- Node152.a('node.startCompspts',Node152startCompspts);
- (function (node, img, compspts, endCompspts, startCompspts) {
- var position = node.getPosition(),
- w = node.getWidth()*_ratio.ratioX,
- h = node.getHeight()*_ratio.ratioY;
- function resetPoints(rx, ry) {
- for (var i = 0, len = compspts.length; i < len; i++) {
- if (i%2 === 0) {
- compspts[i]*=rx;
- } else {
- compspts[i]*=ry;
- }
- }
- endCompspts[0] = compspts[compspts.length-2];
- endCompspts[1] = compspts[compspts.length-1];
- endCompspts[2] *= rx;
- endCompspts[3] *= ry;
- node.a('node.offsetEndY', -(endCompspts[3]*0.5));
- node.a('node.offsetEndX', -(endCompspts[2]*0.5));
-
- startCompspts[0] = compspts[0];
- startCompspts[1] = compspts[1];
- startCompspts[2] *= rx;
- startCompspts[3] *= ry;
- node.a('node.offsetStartY', -(startCompspts[3]*0.5));
- node.a('node.offsetStartX', -(startCompspts[2]*0.5));
- node.a('node.endRotation', GD.calcRotationByStartAndEnd(compspts[i-4], compspts[i-3], compspts[i-2], compspts[i-1]));
- node.a('node.startRotation', GD.calcRotationByStartAndEnd(compspts[0], compspts[1], compspts[2], compspts[3]) + Math.PI);
- }
- node.setSize(w, h);
- node.setPosition(position.x * ratio.ratioX, position.y * ratio.ratioY);
- node.a('node.width', w);
- node.a('node.height', h);
- resetPoints(_ratio.ratioX, _ratio.ratioY);
- node.borderWidth = 1;
- node.a('node.borderwidth',node.borderWidth);
- node._nodename = 'Node152';
- node._nodeType = 'line';
- zoomNodeList.push({
- node: node,
- attr: 'node.borderwidth'
- });
- var setWidth = node.setWidth,
- setHeight = node.setHeight,
- timer, rx = 1, ry = 1;
-
- node.setWidth = function (width) {
- var _width = this.getWidth();
- rx = width / _width;
- node.a('node.width', width);
- setWidth.apply(this, arguments);
- resetPoints(rx, 1);
- }
- node.setHeight = function (height) {
- var _height = this.getHeight();
- ry = height / _height;
- node.a('node.height', height);
- setHeight.apply(this, arguments);
- resetPoints(1, ry);
- }
- })(Node152, Node152.getImage(), Node152compspts, Node152endCompspts, Node152startCompspts);
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node153type = 'rect';
- var Node153 = new ht.Node(),
- Node153BorderWidth = 1*2;
- if (Node153type === 'arc') {
- Node153BorderWidth *= 1;
- }
- Node153.setImage(GD.getRectJSON(1711.689*_ratio.ratioX, 122*_ratio.ratioY, Node153type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node153.setPosition(1042*ratio.ratioX, 178*ratio.ratioY);
- Node153.setSize(1711.689*_ratio.ratioX, 122*_ratio.ratioY);
- Node153.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node153.a('node.width', 1711.689*_ratio.ratioX);
- Node153.a('node.height', 122*_ratio.ratioY);
- Node153.a('node.type', Node153type);
- Node153.a('node.rect', [0, 0, 1711.689*_ratio.ratioX, 122*_ratio.ratioY]);
- Node153.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node153.a('node.gradientcolor', '');
- Node153.a('node.gradient', '');
- Node153.a('node.borderwidth', Node153BorderWidth);
- Node153.a('node.color', 'rgba(220,220,220,1)');
- Node153.a('node.fillrect', [0,0,0,0]);
- Node153.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node153.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node153.a('node.fillgradient', '');
- if (Node153type !== 'rect') {
- Node153.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node153.a('node.arcTo', parseFloat('@arcTo@'));
- Node153.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node153type === 'arc') {
- Node153.a('node.arcOval', true);
- }
- Node153.setRotation(0*Math.PI/180);
- Node153.borderWidth = Node153BorderWidth;
- Node153.borderFillwidth = Node153BorderWidth;
- dataModel.add(Node153);
- Node153._nodename = 'Node153'
- Node153._nodeType = 'rect';
- zoomNodeList.push({
- node: Node153,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node153, Node153.getImage());var Node154;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_shanxi.jpg', PAGEROOTDIR + 'image//img//map_shanxi.jpg');
- Node154 = new ht.Node();
- Node154.setPosition(379*ratio.ratioX, 595*ratio.ratioY);
- Node154.setSize(755*ratioX, 708*ratioY);
- Node154.setImage('imgimage//img//map_shanxi.jpg');
- Node154.setRotation(0*Math.PI/180);
- Node154._zoomBy = 'Default';
- Node154._nodeType = 'image';
- Node154._disallowEvert = true;
- dataModel.add(Node154);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node156type = 'rect';
- var Node156 = new ht.Node(),
- Node156BorderWidth = 0*2;
- if (Node156type === 'arc') {
- Node156BorderWidth *= 0;
- }
- Node156.setImage(GD.getRectJSON(26*_ratio.ratioX, 78*_ratio.ratioY, Node156type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node156.setPosition(772*ratio.ratioX, 281*ratio.ratioY);
- Node156.setSize(26*_ratio.ratioX, 78*_ratio.ratioY);
- Node156.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node156.a('node.width', 26*_ratio.ratioX);
- Node156.a('node.height', 78*_ratio.ratioY);
- Node156.a('node.type', Node156type);
- Node156.a('node.rect', [0, 0, 26*_ratio.ratioX, 78*_ratio.ratioY]);
- Node156.a('node.background', 'rgba(73,73,73,1)');
- Node156.a('node.gradientcolor', 'rgba(73,73,73,1)');
- Node156.a('node.gradient', '');
- Node156.a('node.borderwidth', Node156BorderWidth);
- Node156.a('node.color', 'rgba(0,0,0,0)');
- Node156.a('node.fillrect', [0,0,0,0]);
- Node156.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node156.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node156.a('node.fillgradient', '');
- if (Node156type !== 'rect') {
- Node156.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node156.a('node.arcTo', parseFloat('@arcTo@'));
- Node156.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node156type === 'arc') {
- Node156.a('node.arcOval', true);
- }
- Node156.setRotation(0*Math.PI/180);
- Node156.borderWidth = Node156BorderWidth;
- Node156.borderFillwidth = Node156BorderWidth;
- dataModel.add(Node156);
- Node156._nodename = 'Node156'
- Node156._nodeType = 'rect';
- zoomNodeList.push({
- node: Node156,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node156, Node156.getImage());var Node157;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_right_top_right_left_blue.png', PAGEROOTDIR + 'image//img//index_right_top_right_left_blue.png');
- Node157 = new ht.Node();
- Node157.setPosition(984*ratio.ratioX, 281*ratio.ratioY);
- Node157.setSize(52*ratioX, 78*ratioY);
- Node157.setImage('imgimage//img//index_right_top_right_left_blue.png');
- Node157.setRotation(0*Math.PI/180);
- Node157._zoomBy = 'Default';
- Node157._nodeType = 'image';
- Node157._disallowEvert = true;
- dataModel.add(Node157);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node158 = new ht.Node();
- var Node158textStart, Node158textWidth, Node158lineStart, Node158align = 'left', Node158fontSize = 13.3333*_ratio.ratioY,Node158width = 59*_ratio.ratioX, Node158height = 24*_ratio.ratioY;
- (function () {
- if (Node158align === 'left') {
- Node158textStart = Node158fontSize * 0.2 > 2 ? Node158fontSize * 0.2 - 4 : Node158fontSize * 0.2 - 9;
- Node158textWidth = Node158width;
- Node158lineStart = 1;
- } else if (Node158align === 'right') {
- Node158textStart = 0;
- Node158textWidth =Node158fontSize <= 8 ? Node158width + Node158fontSize * 0.2 + 6 : Node158width - Node158fontSize * 0.2;
- Node158lineStart = (Node158width - (ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node158align === 'center') {
- Node158textStart = -3;
- Node158textWidth = Node158width;
- Node158lineStart = Node158width - ht.Default.getTextSize('投产', ' '+ Node158fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node158.setImage(GD.getTextJSON(Node158width, Node158height, true, false, false, ' '+ Node158fontSize + 'px "Arial"'))
- Node158.setPosition(818*ratio.ratioX, 254*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(0,0,0,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(0,0,0,1)');
- Node158.a('node.font',' '+ Node158fontSize + 'px "Arial"');
- Node158.a('node.textvisible',true);
- Node158.a('node.linefeed',false);
- if (false) {
- Node158.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node158.a('node.text') || '投产';
- var color=Node158.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node158width,Node158height,13.3333*_ratio.ratioY,"left",color,' '+ Node158fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node158.a('node.underlinepoints',[Node158lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node158fontSize + 2 , ht.Default.getTextSize('投产', ' '+ 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 = 'left', Node159fontSize = 13.3333*_ratio.ratioY,Node159width = 39*_ratio.ratioX, Node159height = 24*_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('463', ' '+ Node159fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node159align === 'center') {
- Node159textStart = -3;
- Node159textWidth = Node159width;
- Node159lineStart = Node159width - ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node159.setImage(GD.getTextJSON(Node159width, Node159height, true, false, false, ' '+ Node159fontSize + 'px "Arial"'))
- Node159.setPosition(873*ratio.ratioX, 274*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(0,0,0,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','463');
- Node159.a('node.textalign','left');
- Node159.a('node.textvAlign','middle');
- Node159.a('node.textrect', [Node159textStart, 0, Node159textWidth, Node159height]);
- Node159.a('node.color','rgba(0,0,0,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') || '463';
- var color=Node159.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node159width,Node159height,13.3333*_ratio.ratioY,"left",color,' '+ Node159fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node159.a('node.underlinepoints',[Node159lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node159fontSize + 2 , ht.Default.getTextSize('463', ' '+ Node159fontSize + 'px "Arial"').width + 6, (Node159height - Node159fontSize) * 0.5*_ratio.ratioY + Node159fontSize + 2 ]);
- Node159.a('node.underlinevisible',false);
- Node159.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node159);
- zoomNodeList.push({
- node: Node159,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node160 = new ht.Node();
- var Node160textStart, Node160textWidth, Node160lineStart, Node160align = 'left', Node160fontSize = 13.3333*_ratio.ratioY,Node160width = 29*_ratio.ratioX, Node160height = 24*_ratio.ratioY;
- (function () {
- if (Node160align === 'left') {
- Node160textStart = Node160fontSize * 0.2 > 2 ? Node160fontSize * 0.2 - 4 : Node160fontSize * 0.2 - 9;
- Node160textWidth = Node160width;
- Node160lineStart = 1;
- } else if (Node160align === 'right') {
- Node160textStart = 0;
- Node160textWidth =Node160fontSize <= 8 ? Node160width + Node160fontSize * 0.2 + 6 : Node160width - Node160fontSize * 0.2;
- Node160lineStart = (Node160width - (ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node160align === 'center') {
- Node160textStart = -3;
- Node160textWidth = Node160width;
- Node160lineStart = Node160width - ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node160.setImage(GD.getTextJSON(Node160width, Node160height, true, false, false, ' '+ Node160fontSize + 'px "Arial"'))
- Node160.setPosition(935*ratio.ratioX, 300*ratio.ratioY);
- Node160.setWidth(Node160width);
- Node160.setHeight(Node160height);
- Node160._nodeType = 'text';
- Node160._disallowEvert = true;
- Node160.setRotation(0*Math.PI/180);
- Node160.a('node.width', Node160width);
- Node160.a('node.height', Node160height);
- Node160.a('node.rect', [0, 0, Node160width, Node160height]);
- Node160.a('node.bordercolor','rgba(0,0,0,1)');
- Node160.a('node.borderwidth', 0);
- Node160.a('node.background','' || 'rgba(0,0,0,0)');
- Node160.a('node.gradient','');
- Node160.a('node.gradientcolor','');
- Node160.a('node.text','台');
- Node160.a('node.textalign','left');
- Node160.a('node.textvAlign','middle');
- Node160.a('node.textrect', [Node160textStart, 0, Node160textWidth, Node160height]);
- Node160.a('node.color','rgba(0,0,0,1)');
- Node160.a('node.font',' '+ Node160fontSize + 'px "Arial"');
- Node160.a('node.textvisible',true);
- Node160.a('node.linefeed',false);
- if (false) {
- Node160.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node160.a('node.text') || '台';
- var color=Node160.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node160width,Node160height,13.3333*_ratio.ratioY,"left",color,' '+ Node160fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node160.a('node.underlinepoints',[Node160lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node160fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node160fontSize + 'px "Arial"').width + 6, (Node160height - Node160fontSize) * 0.5*_ratio.ratioY + Node160fontSize + 2 ]);
- Node160.a('node.underlinevisible',false);
- Node160.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node160);
- zoomNodeList.push({
- node: Node160,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node161type = 'rect';
- var Node161 = new ht.Node(),
- Node161BorderWidth = 1*2;
- if (Node161type === 'arc') {
- Node161BorderWidth *= 1;
- }
- Node161.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node161type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node161.setPosition(1063*ratio.ratioX, 281*ratio.ratioY);
- Node161.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
- Node161.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node161.a('node.width', 105*_ratio.ratioX);
- Node161.a('node.height', 78*_ratio.ratioY);
- Node161.a('node.type', Node161type);
- Node161.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
- Node161.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node161.a('node.gradientcolor', '');
- Node161.a('node.gradient', '');
- Node161.a('node.borderwidth', Node161BorderWidth);
- Node161.a('node.color', 'rgba(192,192,192,1)');
- Node161.a('node.fillrect', [0,0,0,0]);
- Node161.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node161.a('node.fillgradient', '');
- if (Node161type !== 'rect') {
- Node161.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node161.a('node.arcTo', parseFloat('@arcTo@'));
- Node161.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node161type === 'arc') {
- Node161.a('node.arcOval', true);
- }
- Node161.setRotation(0*Math.PI/180);
- Node161.borderWidth = Node161BorderWidth;
- Node161.borderFillwidth = Node161BorderWidth;
- dataModel.add(Node161);
- Node161._nodename = 'Node161'
- Node161._nodeType = 'rect';
- zoomNodeList.push({
- node: Node161,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node161, Node161.getImage());var Node162;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_right_top_right_left_green.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_green.jpg');
- Node162 = new ht.Node();
- Node162.setPosition(1142*ratio.ratioX, 281*ratio.ratioY);
- Node162.setSize(52*ratioX, 78*ratioY);
- Node162.setImage('imgimage//img//index_right_top_right_left_green.jpg');
- Node162.setRotation(0*Math.PI/180);
- Node162._zoomBy = 'Default';
- Node162._nodeType = 'image';
- Node162._disallowEvert = true;
- dataModel.add(Node162);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node163 = new ht.Node();
- var Node163textStart, Node163textWidth, Node163lineStart, Node163align = 'left', Node163fontSize = 13.3333*_ratio.ratioY,Node163width = 39*_ratio.ratioX, Node163height = 24*_ratio.ratioY;
- (function () {
- if (Node163align === 'left') {
- Node163textStart = Node163fontSize * 0.2 > 2 ? Node163fontSize * 0.2 - 4 : Node163fontSize * 0.2 - 9;
- Node163textWidth = Node163width;
- Node163lineStart = 1;
- } else if (Node163align === 'right') {
- Node163textStart = 0;
- Node163textWidth =Node163fontSize <= 8 ? Node163width + Node163fontSize * 0.2 + 6 : Node163width - Node163fontSize * 0.2;
- Node163lineStart = (Node163width - (ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node163align === 'center') {
- Node163textStart = -3;
- Node163textWidth = Node163width;
- Node163lineStart = Node163width - ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node163.setImage(GD.getTextJSON(Node163width, Node163height, true, false, false, ' '+ Node163fontSize + 'px "Arial"'))
- Node163.setPosition(1036*ratio.ratioX, 254*ratio.ratioY);
- Node163.setWidth(Node163width);
- Node163.setHeight(Node163height);
- Node163._nodeType = 'text';
- Node163._disallowEvert = true;
- Node163.setRotation(0*Math.PI/180);
- Node163.a('node.width', Node163width);
- Node163.a('node.height', Node163height);
- Node163.a('node.rect', [0, 0, Node163width, Node163height]);
- Node163.a('node.bordercolor','rgba(0,0,0,1)');
- Node163.a('node.borderwidth', 0);
- Node163.a('node.background','' || 'rgba(0,0,0,0)');
- Node163.a('node.gradient','');
- Node163.a('node.gradientcolor','');
- Node163.a('node.text','并网');
- Node163.a('node.textalign','left');
- Node163.a('node.textvAlign','middle');
- Node163.a('node.textrect', [Node163textStart, 0, Node163textWidth, Node163height]);
- Node163.a('node.color','rgba(0,0,0,1)');
- Node163.a('node.font',' '+ Node163fontSize + 'px "Arial"');
- Node163.a('node.textvisible',true);
- Node163.a('node.linefeed',false);
- if (false) {
- Node163.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node163.a('node.text') || '并网';
- var color=Node163.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node163width,Node163height,13.3333*_ratio.ratioY,"left",color,' '+ Node163fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node163.a('node.underlinepoints',[Node163lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node163fontSize + 2 , ht.Default.getTextSize('并网', ' '+ Node163fontSize + 'px "Arial"').width + 6, (Node163height - Node163fontSize) * 0.5*_ratio.ratioY + Node163fontSize + 2 ]);
- Node163.a('node.underlinevisible',false);
- Node163.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node163);
- zoomNodeList.push({
- node: Node163,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node164 = new ht.Node();
- var Node164textStart, Node164textWidth, Node164lineStart, Node164align = 'left', Node164fontSize = 13.3333*_ratio.ratioY,Node164width = 39*_ratio.ratioX, Node164height = 24*_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('463', ' '+ Node164fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node164align === 'center') {
- Node164textStart = -3;
- Node164textWidth = Node164width;
- Node164lineStart = Node164width - ht.Default.getTextSize('463', ' '+ Node164fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node164.setImage(GD.getTextJSON(Node164width, Node164height, true, false, false, ' '+ Node164fontSize + 'px "Arial"'))
- Node164.setPosition(1061*ratio.ratioX, 274*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','463');
- 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') || '463';
- var color=Node164.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node164width,Node164height,13.3333*_ratio.ratioY,"left",color,' '+ Node164fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node164.a('node.underlinepoints',[Node164lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node164fontSize + 2 , ht.Default.getTextSize('463', ' '+ 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'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node165 = new ht.Node();
- var Node165textStart, Node165textWidth, Node165lineStart, Node165align = 'left', Node165fontSize = 13.3333*_ratio.ratioY,Node165width = 29*_ratio.ratioX, Node165height = 24*_ratio.ratioY;
- (function () {
- if (Node165align === 'left') {
- Node165textStart = Node165fontSize * 0.2 > 2 ? Node165fontSize * 0.2 - 4 : Node165fontSize * 0.2 - 9;
- Node165textWidth = Node165width;
- Node165lineStart = 1;
- } else if (Node165align === 'right') {
- Node165textStart = 0;
- Node165textWidth =Node165fontSize <= 8 ? Node165width + Node165fontSize * 0.2 + 6 : Node165width - Node165fontSize * 0.2;
- Node165lineStart = (Node165width - (ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node165align === 'center') {
- Node165textStart = -3;
- Node165textWidth = Node165width;
- Node165lineStart = Node165width - ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node165.setImage(GD.getTextJSON(Node165width, Node165height, true, false, false, ' '+ Node165fontSize + 'px "Arial"'))
- Node165.setPosition(1098*ratio.ratioX, 300*ratio.ratioY);
- Node165.setWidth(Node165width);
- Node165.setHeight(Node165height);
- Node165._nodeType = 'text';
- Node165._disallowEvert = true;
- Node165.setRotation(0*Math.PI/180);
- Node165.a('node.width', Node165width);
- Node165.a('node.height', Node165height);
- Node165.a('node.rect', [0, 0, Node165width, Node165height]);
- Node165.a('node.bordercolor','rgba(0,0,0,1)');
- Node165.a('node.borderwidth', 0);
- Node165.a('node.background','' || 'rgba(0,0,0,0)');
- Node165.a('node.gradient','');
- Node165.a('node.gradientcolor','');
- Node165.a('node.text','台');
- Node165.a('node.textalign','left');
- Node165.a('node.textvAlign','middle');
- Node165.a('node.textrect', [Node165textStart, 0, Node165textWidth, Node165height]);
- Node165.a('node.color','rgba(0,0,0,1)');
- Node165.a('node.font',' '+ Node165fontSize + 'px "Arial"');
- Node165.a('node.textvisible',true);
- Node165.a('node.linefeed',false);
- if (false) {
- Node165.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node165.a('node.text') || '台';
- var color=Node165.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node165width,Node165height,13.3333*_ratio.ratioY,"left",color,' '+ Node165fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node165.a('node.underlinepoints',[Node165lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node165fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node165fontSize + 'px "Arial"').width + 6, (Node165height - Node165fontSize) * 0.5*_ratio.ratioY + Node165fontSize + 2 ]);
- Node165.a('node.underlinevisible',false);
- Node165.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node165);
- zoomNodeList.push({
- node: Node165,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node166type = 'rect';
- var Node166 = new ht.Node(),
- Node166BorderWidth = 1*2;
- if (Node166type === 'arc') {
- Node166BorderWidth *= 1;
- }
- Node166.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node166type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node166.setPosition(1220*ratio.ratioX, 281*ratio.ratioY);
- Node166.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
- Node166.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node166.a('node.width', 105*_ratio.ratioX);
- Node166.a('node.height', 78*_ratio.ratioY);
- Node166.a('node.type', Node166type);
- Node166.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
- Node166.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node166.a('node.gradientcolor', '');
- Node166.a('node.gradient', '');
- Node166.a('node.borderwidth', Node166BorderWidth);
- Node166.a('node.color', 'rgba(192,192,192,1)');
- Node166.a('node.fillrect', [0,0,0,0]);
- Node166.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node166.a('node.fillgradient', '');
- if (Node166type !== 'rect') {
- Node166.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node166.a('node.arcTo', parseFloat('@arcTo@'));
- Node166.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node166type === 'arc') {
- Node166.a('node.arcOval', true);
- }
- Node166.setRotation(0*Math.PI/180);
- Node166.borderWidth = Node166BorderWidth;
- Node166.borderFillwidth = Node166BorderWidth;
- dataModel.add(Node166);
- Node166._nodename = 'Node166'
- Node166._nodeType = 'rect';
- zoomNodeList.push({
- node: Node166,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node166, Node166.getImage());var Node167;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_right_top_right_left_orange.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_orange.jpg');
- Node167 = new ht.Node();
- Node167.setPosition(1299*ratio.ratioX, 281*ratio.ratioY);
- Node167.setSize(52*ratioX, 78*ratioY);
- Node167.setImage('imgimage//img//index_right_top_right_left_orange.jpg');
- Node167.setRotation(0*Math.PI/180);
- Node167._zoomBy = 'Default';
- Node167._nodeType = 'image';
- Node167._disallowEvert = true;
- dataModel.add(Node167);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node168 = new ht.Node();
- var Node168textStart, Node168textWidth, Node168lineStart, Node168align = 'left', Node168fontSize = 13.3333*_ratio.ratioY,Node168width = 39*_ratio.ratioX, Node168height = 24*_ratio.ratioY;
- (function () {
- if (Node168align === 'left') {
- Node168textStart = Node168fontSize * 0.2 > 2 ? Node168fontSize * 0.2 - 4 : Node168fontSize * 0.2 - 9;
- Node168textWidth = Node168width;
- Node168lineStart = 1;
- } else if (Node168align === 'right') {
- Node168textStart = 0;
- Node168textWidth =Node168fontSize <= 8 ? Node168width + Node168fontSize * 0.2 + 6 : Node168width - Node168fontSize * 0.2;
- Node168lineStart = (Node168width - (ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node168align === 'center') {
- Node168textStart = -3;
- Node168textWidth = Node168width;
- Node168lineStart = Node168width - ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node168.setImage(GD.getTextJSON(Node168width, Node168height, true, false, false, ' '+ Node168fontSize + 'px "Arial"'))
- Node168.setPosition(1193*ratio.ratioX, 254*ratio.ratioY);
- Node168.setWidth(Node168width);
- Node168.setHeight(Node168height);
- Node168._nodeType = 'text';
- Node168._disallowEvert = true;
- Node168.setRotation(0*Math.PI/180);
- Node168.a('node.width', Node168width);
- Node168.a('node.height', Node168height);
- Node168.a('node.rect', [0, 0, Node168width, Node168height]);
- Node168.a('node.bordercolor','rgba(0,0,0,1)');
- Node168.a('node.borderwidth', 0);
- Node168.a('node.background','' || 'rgba(0,0,0,0)');
- Node168.a('node.gradient','');
- Node168.a('node.gradientcolor','');
- Node168.a('node.text','待机');
- Node168.a('node.textalign','left');
- Node168.a('node.textvAlign','middle');
- Node168.a('node.textrect', [Node168textStart, 0, Node168textWidth, Node168height]);
- Node168.a('node.color','rgba(0,0,0,1)');
- Node168.a('node.font',' '+ Node168fontSize + 'px "Arial"');
- Node168.a('node.textvisible',true);
- Node168.a('node.linefeed',false);
- if (false) {
- Node168.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node168.a('node.text') || '待机';
- var color=Node168.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node168width,Node168height,13.3333*_ratio.ratioY,"left",color,' '+ Node168fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node168.a('node.underlinepoints',[Node168lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node168fontSize + 2 , ht.Default.getTextSize('待机', ' '+ Node168fontSize + 'px "Arial"').width + 6, (Node168height - Node168fontSize) * 0.5*_ratio.ratioY + Node168fontSize + 2 ]);
- Node168.a('node.underlinevisible',false);
- Node168.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node168);
- zoomNodeList.push({
- node: Node168,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node169 = new ht.Node();
- var Node169textStart, Node169textWidth, Node169lineStart, Node169align = 'left', Node169fontSize = 13.3333*_ratio.ratioY,Node169width = 39*_ratio.ratioX, Node169height = 24*_ratio.ratioY;
- (function () {
- if (Node169align === 'left') {
- Node169textStart = Node169fontSize * 0.2 > 2 ? Node169fontSize * 0.2 - 4 : Node169fontSize * 0.2 - 9;
- Node169textWidth = Node169width;
- Node169lineStart = 1;
- } else if (Node169align === 'right') {
- Node169textStart = 0;
- Node169textWidth =Node169fontSize <= 8 ? Node169width + Node169fontSize * 0.2 + 6 : Node169width - Node169fontSize * 0.2;
- Node169lineStart = (Node169width - (ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node169align === 'center') {
- Node169textStart = -3;
- Node169textWidth = Node169width;
- Node169lineStart = Node169width - ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node169.setImage(GD.getTextJSON(Node169width, Node169height, true, false, false, ' '+ Node169fontSize + 'px "Arial"'))
- Node169.setPosition(1218*ratio.ratioX, 274*ratio.ratioY);
- Node169.setWidth(Node169width);
- Node169.setHeight(Node169height);
- Node169._nodeType = 'text';
- Node169._disallowEvert = true;
- Node169.setRotation(0*Math.PI/180);
- Node169.a('node.width', Node169width);
- Node169.a('node.height', Node169height);
- Node169.a('node.rect', [0, 0, Node169width, Node169height]);
- Node169.a('node.bordercolor','rgba(0,0,0,1)');
- Node169.a('node.borderwidth', 0);
- Node169.a('node.background','' || 'rgba(0,0,0,0)');
- Node169.a('node.gradient','');
- Node169.a('node.gradientcolor','');
- Node169.a('node.text','0');
- Node169.a('node.textalign','left');
- Node169.a('node.textvAlign','middle');
- Node169.a('node.textrect', [Node169textStart, 0, Node169textWidth, Node169height]);
- Node169.a('node.color','rgba(0,0,0,1)');
- Node169.a('node.font',' '+ Node169fontSize + 'px "Arial"');
- Node169.a('node.textvisible',true);
- Node169.a('node.linefeed',false);
- if (false) {
- Node169.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node169.a('node.text') || '0';
- var color=Node169.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node169width,Node169height,13.3333*_ratio.ratioY,"left",color,' '+ Node169fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node169.a('node.underlinepoints',[Node169lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node169fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node169fontSize + 'px "Arial"').width + 6, (Node169height - Node169fontSize) * 0.5*_ratio.ratioY + Node169fontSize + 2 ]);
- Node169.a('node.underlinevisible',false);
- Node169.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node169);
- zoomNodeList.push({
- node: Node169,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node170 = new ht.Node();
- var Node170textStart, Node170textWidth, Node170lineStart, Node170align = 'left', Node170fontSize = 13.3333*_ratio.ratioY,Node170width = 29*_ratio.ratioX, Node170height = 24*_ratio.ratioY;
- (function () {
- if (Node170align === 'left') {
- Node170textStart = Node170fontSize * 0.2 > 2 ? Node170fontSize * 0.2 - 4 : Node170fontSize * 0.2 - 9;
- Node170textWidth = Node170width;
- Node170lineStart = 1;
- } else if (Node170align === 'right') {
- Node170textStart = 0;
- Node170textWidth =Node170fontSize <= 8 ? Node170width + Node170fontSize * 0.2 + 6 : Node170width - Node170fontSize * 0.2;
- Node170lineStart = (Node170width - (ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node170align === 'center') {
- Node170textStart = -3;
- Node170textWidth = Node170width;
- Node170lineStart = Node170width - ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node170.setImage(GD.getTextJSON(Node170width, Node170height, true, false, false, ' '+ Node170fontSize + 'px "Arial"'))
- Node170.setPosition(1255*ratio.ratioX, 300*ratio.ratioY);
- Node170.setWidth(Node170width);
- Node170.setHeight(Node170height);
- Node170._nodeType = 'text';
- Node170._disallowEvert = true;
- Node170.setRotation(0*Math.PI/180);
- Node170.a('node.width', Node170width);
- Node170.a('node.height', Node170height);
- Node170.a('node.rect', [0, 0, Node170width, Node170height]);
- Node170.a('node.bordercolor','rgba(0,0,0,1)');
- Node170.a('node.borderwidth', 0);
- Node170.a('node.background','' || 'rgba(0,0,0,0)');
- Node170.a('node.gradient','');
- Node170.a('node.gradientcolor','');
- Node170.a('node.text','台');
- Node170.a('node.textalign','left');
- Node170.a('node.textvAlign','middle');
- Node170.a('node.textrect', [Node170textStart, 0, Node170textWidth, Node170height]);
- Node170.a('node.color','rgba(0,0,0,1)');
- Node170.a('node.font',' '+ Node170fontSize + 'px "Arial"');
- Node170.a('node.textvisible',true);
- Node170.a('node.linefeed',false);
- if (false) {
- Node170.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node170.a('node.text') || '台';
- var color=Node170.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node170width,Node170height,13.3333*_ratio.ratioY,"left",color,' '+ Node170fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node170.a('node.underlinepoints',[Node170lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node170fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node170fontSize + 'px "Arial"').width + 6, (Node170height - Node170fontSize) * 0.5*_ratio.ratioY + Node170fontSize + 2 ]);
- Node170.a('node.underlinevisible',false);
- Node170.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node170);
- zoomNodeList.push({
- node: Node170,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node171type = 'rect';
- var Node171 = new ht.Node(),
- Node171BorderWidth = 1*2;
- if (Node171type === 'arc') {
- Node171BorderWidth *= 1;
- }
- Node171.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node171type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node171.setPosition(1377*ratio.ratioX, 281*ratio.ratioY);
- Node171.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
- Node171.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node171.a('node.width', 105*_ratio.ratioX);
- Node171.a('node.height', 78*_ratio.ratioY);
- Node171.a('node.type', Node171type);
- Node171.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
- Node171.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node171.a('node.gradientcolor', '');
- Node171.a('node.gradient', '');
- Node171.a('node.borderwidth', Node171BorderWidth);
- Node171.a('node.color', 'rgba(192,192,192,1)');
- Node171.a('node.fillrect', [0,0,0,0]);
- Node171.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node171.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node171.a('node.fillgradient', '');
- if (Node171type !== 'rect') {
- Node171.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node171.a('node.arcTo', parseFloat('@arcTo@'));
- Node171.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node171type === 'arc') {
- Node171.a('node.arcOval', true);
- }
- Node171.setRotation(0*Math.PI/180);
- Node171.borderWidth = Node171BorderWidth;
- Node171.borderFillwidth = Node171BorderWidth;
- dataModel.add(Node171);
- Node171._nodename = 'Node171'
- Node171._nodeType = 'rect';
- zoomNodeList.push({
- node: Node171,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node171, Node171.getImage());var Node172;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_right_top_right_left_red.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_red.jpg');
- Node172 = new ht.Node();
- Node172.setPosition(1456*ratio.ratioX, 281*ratio.ratioY);
- Node172.setSize(52*ratioX, 78*ratioY);
- Node172.setImage('imgimage//img//index_right_top_right_left_red.jpg');
- Node172.setRotation(0*Math.PI/180);
- Node172._zoomBy = 'Default';
- Node172._nodeType = 'image';
- Node172._disallowEvert = true;
- dataModel.add(Node172);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node173 = new ht.Node();
- var Node173textStart, Node173textWidth, Node173lineStart, Node173align = 'left', Node173fontSize = 13.3333*_ratio.ratioY,Node173width = 39*_ratio.ratioX, Node173height = 24*_ratio.ratioY;
- (function () {
- if (Node173align === 'left') {
- Node173textStart = Node173fontSize * 0.2 > 2 ? Node173fontSize * 0.2 - 4 : Node173fontSize * 0.2 - 9;
- Node173textWidth = Node173width;
- Node173lineStart = 1;
- } else if (Node173align === 'right') {
- Node173textStart = 0;
- Node173textWidth =Node173fontSize <= 8 ? Node173width + Node173fontSize * 0.2 + 6 : Node173width - Node173fontSize * 0.2;
- Node173lineStart = (Node173width - (ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node173align === 'center') {
- Node173textStart = -3;
- Node173textWidth = Node173width;
- Node173lineStart = Node173width - ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node173.setImage(GD.getTextJSON(Node173width, Node173height, true, false, false, ' '+ Node173fontSize + 'px "Arial"'))
- Node173.setPosition(1350*ratio.ratioX, 254*ratio.ratioY);
- Node173.setWidth(Node173width);
- Node173.setHeight(Node173height);
- Node173._nodeType = 'text';
- Node173._disallowEvert = true;
- Node173.setRotation(0*Math.PI/180);
- Node173.a('node.width', Node173width);
- Node173.a('node.height', Node173height);
- Node173.a('node.rect', [0, 0, Node173width, Node173height]);
- Node173.a('node.bordercolor','rgba(0,0,0,1)');
- Node173.a('node.borderwidth', 0);
- Node173.a('node.background','' || 'rgba(0,0,0,0)');
- Node173.a('node.gradient','');
- Node173.a('node.gradientcolor','');
- Node173.a('node.text','维护');
- Node173.a('node.textalign','left');
- Node173.a('node.textvAlign','middle');
- Node173.a('node.textrect', [Node173textStart, 0, Node173textWidth, Node173height]);
- Node173.a('node.color','rgba(0,0,0,1)');
- Node173.a('node.font',' '+ Node173fontSize + 'px "Arial"');
- Node173.a('node.textvisible',true);
- Node173.a('node.linefeed',false);
- if (false) {
- Node173.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node173.a('node.text') || '维护';
- var color=Node173.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node173width,Node173height,13.3333*_ratio.ratioY,"left",color,' '+ Node173fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node173.a('node.underlinepoints',[Node173lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node173fontSize + 2 , ht.Default.getTextSize('维护', ' '+ Node173fontSize + 'px "Arial"').width + 6, (Node173height - Node173fontSize) * 0.5*_ratio.ratioY + Node173fontSize + 2 ]);
- Node173.a('node.underlinevisible',false);
- Node173.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node173);
- zoomNodeList.push({
- node: Node173,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node174 = new ht.Node();
- var Node174textStart, Node174textWidth, Node174lineStart, Node174align = 'left', Node174fontSize = 13.3333*_ratio.ratioY,Node174width = 39*_ratio.ratioX, Node174height = 24*_ratio.ratioY;
- (function () {
- if (Node174align === 'left') {
- Node174textStart = Node174fontSize * 0.2 > 2 ? Node174fontSize * 0.2 - 4 : Node174fontSize * 0.2 - 9;
- Node174textWidth = Node174width;
- Node174lineStart = 1;
- } else if (Node174align === 'right') {
- Node174textStart = 0;
- Node174textWidth =Node174fontSize <= 8 ? Node174width + Node174fontSize * 0.2 + 6 : Node174width - Node174fontSize * 0.2;
- Node174lineStart = (Node174width - (ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node174align === 'center') {
- Node174textStart = -3;
- Node174textWidth = Node174width;
- Node174lineStart = Node174width - ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node174.setImage(GD.getTextJSON(Node174width, Node174height, true, false, false, ' '+ Node174fontSize + 'px "Arial"'))
- Node174.setPosition(1375*ratio.ratioX, 274*ratio.ratioY);
- Node174.setWidth(Node174width);
- Node174.setHeight(Node174height);
- Node174._nodeType = 'text';
- Node174._disallowEvert = true;
- Node174.setRotation(0*Math.PI/180);
- Node174.a('node.width', Node174width);
- Node174.a('node.height', Node174height);
- Node174.a('node.rect', [0, 0, Node174width, Node174height]);
- Node174.a('node.bordercolor','rgba(0,0,0,1)');
- Node174.a('node.borderwidth', 0);
- Node174.a('node.background','' || 'rgba(0,0,0,0)');
- Node174.a('node.gradient','');
- Node174.a('node.gradientcolor','');
- Node174.a('node.text','0');
- Node174.a('node.textalign','left');
- Node174.a('node.textvAlign','middle');
- Node174.a('node.textrect', [Node174textStart, 0, Node174textWidth, Node174height]);
- Node174.a('node.color','rgba(0,0,0,1)');
- Node174.a('node.font',' '+ Node174fontSize + 'px "Arial"');
- Node174.a('node.textvisible',true);
- Node174.a('node.linefeed',false);
- if (false) {
- Node174.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node174.a('node.text') || '0';
- var color=Node174.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node174width,Node174height,13.3333*_ratio.ratioY,"left",color,' '+ Node174fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node174.a('node.underlinepoints',[Node174lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node174fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node174fontSize + 'px "Arial"').width + 6, (Node174height - Node174fontSize) * 0.5*_ratio.ratioY + Node174fontSize + 2 ]);
- Node174.a('node.underlinevisible',false);
- Node174.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node174);
- zoomNodeList.push({
- node: Node174,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node175 = new ht.Node();
- var Node175textStart, Node175textWidth, Node175lineStart, Node175align = 'left', Node175fontSize = 13.3333*_ratio.ratioY,Node175width = 29*_ratio.ratioX, Node175height = 24*_ratio.ratioY;
- (function () {
- if (Node175align === 'left') {
- Node175textStart = Node175fontSize * 0.2 > 2 ? Node175fontSize * 0.2 - 4 : Node175fontSize * 0.2 - 9;
- Node175textWidth = Node175width;
- Node175lineStart = 1;
- } else if (Node175align === 'right') {
- Node175textStart = 0;
- Node175textWidth =Node175fontSize <= 8 ? Node175width + Node175fontSize * 0.2 + 6 : Node175width - Node175fontSize * 0.2;
- Node175lineStart = (Node175width - (ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node175align === 'center') {
- Node175textStart = -3;
- Node175textWidth = Node175width;
- Node175lineStart = Node175width - ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node175.setImage(GD.getTextJSON(Node175width, Node175height, true, false, false, ' '+ Node175fontSize + 'px "Arial"'))
- Node175.setPosition(1412*ratio.ratioX, 300*ratio.ratioY);
- Node175.setWidth(Node175width);
- Node175.setHeight(Node175height);
- Node175._nodeType = 'text';
- Node175._disallowEvert = true;
- Node175.setRotation(0*Math.PI/180);
- Node175.a('node.width', Node175width);
- Node175.a('node.height', Node175height);
- Node175.a('node.rect', [0, 0, Node175width, Node175height]);
- Node175.a('node.bordercolor','rgba(0,0,0,1)');
- Node175.a('node.borderwidth', 0);
- Node175.a('node.background','' || 'rgba(0,0,0,0)');
- Node175.a('node.gradient','');
- Node175.a('node.gradientcolor','');
- Node175.a('node.text','台');
- Node175.a('node.textalign','left');
- Node175.a('node.textvAlign','middle');
- Node175.a('node.textrect', [Node175textStart, 0, Node175textWidth, Node175height]);
- Node175.a('node.color','rgba(0,0,0,1)');
- Node175.a('node.font',' '+ Node175fontSize + 'px "Arial"');
- Node175.a('node.textvisible',true);
- Node175.a('node.linefeed',false);
- if (false) {
- Node175.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node175.a('node.text') || '台';
- var color=Node175.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node175width,Node175height,13.3333*_ratio.ratioY,"left",color,' '+ Node175fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node175.a('node.underlinepoints',[Node175lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node175fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node175fontSize + 'px "Arial"').width + 6, (Node175height - Node175fontSize) * 0.5*_ratio.ratioY + Node175fontSize + 2 ]);
- Node175.a('node.underlinevisible',false);
- Node175.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node175);
- zoomNodeList.push({
- node: Node175,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node176type = 'rect';
- var Node176 = new ht.Node(),
- Node176BorderWidth = 1*2;
- if (Node176type === 'arc') {
- Node176BorderWidth *= 1;
- }
- Node176.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node176type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node176.setPosition(1534*ratio.ratioX, 281*ratio.ratioY);
- Node176.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
- Node176.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node176.a('node.width', 105*_ratio.ratioX);
- Node176.a('node.height', 78*_ratio.ratioY);
- Node176.a('node.type', Node176type);
- Node176.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
- Node176.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node176.a('node.gradientcolor', '');
- Node176.a('node.gradient', '');
- Node176.a('node.borderwidth', Node176BorderWidth);
- Node176.a('node.color', 'rgba(192,192,192,1)');
- Node176.a('node.fillrect', [0,0,0,0]);
- Node176.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node176.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node176.a('node.fillgradient', '');
- if (Node176type !== 'rect') {
- Node176.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node176.a('node.arcTo', parseFloat('@arcTo@'));
- Node176.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node176type === 'arc') {
- Node176.a('node.arcOval', true);
- }
- Node176.setRotation(0*Math.PI/180);
- Node176.borderWidth = Node176BorderWidth;
- Node176.borderFillwidth = Node176BorderWidth;
- dataModel.add(Node176);
- Node176._nodename = 'Node176'
- Node176._nodeType = 'rect';
- zoomNodeList.push({
- node: Node176,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node176, Node176.getImage());var Node177;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_right_top_right_left_pink.jpg', PAGEROOTDIR + 'image//img//index_right_top_right_left_pink.jpg');
- Node177 = new ht.Node();
- Node177.setPosition(1613*ratio.ratioX, 281*ratio.ratioY);
- Node177.setSize(52*ratioX, 78*ratioY);
- Node177.setImage('imgimage//img//index_right_top_right_left_pink.jpg');
- Node177.setRotation(0*Math.PI/180);
- Node177._zoomBy = 'Default';
- Node177._nodeType = 'image';
- Node177._disallowEvert = true;
- dataModel.add(Node177);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node178 = new ht.Node();
- var Node178textStart, Node178textWidth, Node178lineStart, Node178align = 'left', Node178fontSize = 13.3333*_ratio.ratioY,Node178width = 39*_ratio.ratioX, Node178height = 24*_ratio.ratioY;
- (function () {
- if (Node178align === 'left') {
- Node178textStart = Node178fontSize * 0.2 > 2 ? Node178fontSize * 0.2 - 4 : Node178fontSize * 0.2 - 9;
- Node178textWidth = Node178width;
- Node178lineStart = 1;
- } else if (Node178align === 'right') {
- Node178textStart = 0;
- Node178textWidth =Node178fontSize <= 8 ? Node178width + Node178fontSize * 0.2 + 6 : Node178width - Node178fontSize * 0.2;
- Node178lineStart = (Node178width - (ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node178align === 'center') {
- Node178textStart = -3;
- Node178textWidth = Node178width;
- Node178lineStart = Node178width - ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node178.setImage(GD.getTextJSON(Node178width, Node178height, true, false, false, ' '+ Node178fontSize + 'px "Arial"'))
- Node178.setPosition(1507*ratio.ratioX, 254*ratio.ratioY);
- Node178.setWidth(Node178width);
- Node178.setHeight(Node178height);
- Node178._nodeType = 'text';
- Node178._disallowEvert = true;
- Node178.setRotation(0*Math.PI/180);
- Node178.a('node.width', Node178width);
- Node178.a('node.height', Node178height);
- Node178.a('node.rect', [0, 0, Node178width, Node178height]);
- Node178.a('node.bordercolor','rgba(0,0,0,1)');
- Node178.a('node.borderwidth', 0);
- Node178.a('node.background','' || 'rgba(0,0,0,0)');
- Node178.a('node.gradient','');
- Node178.a('node.gradientcolor','');
- Node178.a('node.text','故障');
- Node178.a('node.textalign','left');
- Node178.a('node.textvAlign','middle');
- Node178.a('node.textrect', [Node178textStart, 0, Node178textWidth, Node178height]);
- Node178.a('node.color','rgba(0,0,0,1)');
- Node178.a('node.font',' '+ Node178fontSize + 'px "Arial"');
- Node178.a('node.textvisible',true);
- Node178.a('node.linefeed',false);
- if (false) {
- Node178.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node178.a('node.text') || '故障';
- var color=Node178.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node178width,Node178height,13.3333*_ratio.ratioY,"left",color,' '+ Node178fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node178.a('node.underlinepoints',[Node178lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node178fontSize + 2 , ht.Default.getTextSize('故障', ' '+ Node178fontSize + 'px "Arial"').width + 6, (Node178height - Node178fontSize) * 0.5*_ratio.ratioY + Node178fontSize + 2 ]);
- Node178.a('node.underlinevisible',false);
- Node178.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node178);
- zoomNodeList.push({
- node: Node178,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node179 = new ht.Node();
- var Node179textStart, Node179textWidth, Node179lineStart, Node179align = 'left', Node179fontSize = 13.3333*_ratio.ratioY,Node179width = 39*_ratio.ratioX, Node179height = 24*_ratio.ratioY;
- (function () {
- if (Node179align === 'left') {
- Node179textStart = Node179fontSize * 0.2 > 2 ? Node179fontSize * 0.2 - 4 : Node179fontSize * 0.2 - 9;
- Node179textWidth = Node179width;
- Node179lineStart = 1;
- } else if (Node179align === 'right') {
- Node179textStart = 0;
- Node179textWidth =Node179fontSize <= 8 ? Node179width + Node179fontSize * 0.2 + 6 : Node179width - Node179fontSize * 0.2;
- Node179lineStart = (Node179width - (ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node179align === 'center') {
- Node179textStart = -3;
- Node179textWidth = Node179width;
- Node179lineStart = Node179width - ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node179.setImage(GD.getTextJSON(Node179width, Node179height, true, false, false, ' '+ Node179fontSize + 'px "Arial"'))
- Node179.setPosition(1532*ratio.ratioX, 274*ratio.ratioY);
- Node179.setWidth(Node179width);
- Node179.setHeight(Node179height);
- Node179._nodeType = 'text';
- Node179._disallowEvert = true;
- Node179.setRotation(0*Math.PI/180);
- Node179.a('node.width', Node179width);
- Node179.a('node.height', Node179height);
- Node179.a('node.rect', [0, 0, Node179width, Node179height]);
- Node179.a('node.bordercolor','rgba(0,0,0,1)');
- Node179.a('node.borderwidth', 0);
- Node179.a('node.background','' || 'rgba(0,0,0,0)');
- Node179.a('node.gradient','');
- Node179.a('node.gradientcolor','');
- Node179.a('node.text','0');
- Node179.a('node.textalign','left');
- Node179.a('node.textvAlign','middle');
- Node179.a('node.textrect', [Node179textStart, 0, Node179textWidth, Node179height]);
- Node179.a('node.color','rgba(0,0,0,1)');
- Node179.a('node.font',' '+ Node179fontSize + 'px "Arial"');
- Node179.a('node.textvisible',true);
- Node179.a('node.linefeed',false);
- if (false) {
- Node179.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node179.a('node.text') || '0';
- var color=Node179.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node179width,Node179height,13.3333*_ratio.ratioY,"left",color,' '+ Node179fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node179.a('node.underlinepoints',[Node179lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node179fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node179fontSize + 'px "Arial"').width + 6, (Node179height - Node179fontSize) * 0.5*_ratio.ratioY + Node179fontSize + 2 ]);
- Node179.a('node.underlinevisible',false);
- Node179.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node179);
- zoomNodeList.push({
- node: Node179,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node180 = new ht.Node();
- var Node180textStart, Node180textWidth, Node180lineStart, Node180align = 'left', Node180fontSize = 13.3333*_ratio.ratioY,Node180width = 29*_ratio.ratioX, Node180height = 24*_ratio.ratioY;
- (function () {
- if (Node180align === 'left') {
- Node180textStart = Node180fontSize * 0.2 > 2 ? Node180fontSize * 0.2 - 4 : Node180fontSize * 0.2 - 9;
- Node180textWidth = Node180width;
- Node180lineStart = 1;
- } else if (Node180align === 'right') {
- Node180textStart = 0;
- Node180textWidth =Node180fontSize <= 8 ? Node180width + Node180fontSize * 0.2 + 6 : Node180width - Node180fontSize * 0.2;
- Node180lineStart = (Node180width - (ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node180align === 'center') {
- Node180textStart = -3;
- Node180textWidth = Node180width;
- Node180lineStart = Node180width - ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node180.setImage(GD.getTextJSON(Node180width, Node180height, true, false, false, ' '+ Node180fontSize + 'px "Arial"'))
- Node180.setPosition(1569*ratio.ratioX, 300*ratio.ratioY);
- Node180.setWidth(Node180width);
- Node180.setHeight(Node180height);
- Node180._nodeType = 'text';
- Node180._disallowEvert = true;
- Node180.setRotation(0*Math.PI/180);
- Node180.a('node.width', Node180width);
- Node180.a('node.height', Node180height);
- Node180.a('node.rect', [0, 0, Node180width, Node180height]);
- Node180.a('node.bordercolor','rgba(0,0,0,1)');
- Node180.a('node.borderwidth', 0);
- Node180.a('node.background','' || 'rgba(0,0,0,0)');
- Node180.a('node.gradient','');
- Node180.a('node.gradientcolor','');
- Node180.a('node.text','台');
- Node180.a('node.textalign','left');
- Node180.a('node.textvAlign','middle');
- Node180.a('node.textrect', [Node180textStart, 0, Node180textWidth, Node180height]);
- Node180.a('node.color','rgba(0,0,0,1)');
- Node180.a('node.font',' '+ Node180fontSize + 'px "Arial"');
- Node180.a('node.textvisible',true);
- Node180.a('node.linefeed',false);
- if (false) {
- Node180.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node180.a('node.text') || '台';
- var color=Node180.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node180width,Node180height,13.3333*_ratio.ratioY,"left",color,' '+ Node180fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node180.a('node.underlinepoints',[Node180lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node180fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node180fontSize + 'px "Arial"').width + 6, (Node180height - Node180fontSize) * 0.5*_ratio.ratioY + Node180fontSize + 2 ]);
- Node180.a('node.underlinevisible',false);
- Node180.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node180);
- zoomNodeList.push({
- node: Node180,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node181type = 'rect';
- var Node181 = new ht.Node(),
- Node181BorderWidth = 1*2;
- if (Node181type === 'arc') {
- Node181BorderWidth *= 1;
- }
- Node181.setImage(GD.getRectJSON(105*_ratio.ratioX, 78*_ratio.ratioY, Node181type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node181.setPosition(1692*ratio.ratioX, 281*ratio.ratioY);
- Node181.setSize(105*_ratio.ratioX, 78*_ratio.ratioY);
- Node181.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node181.a('node.width', 105*_ratio.ratioX);
- Node181.a('node.height', 78*_ratio.ratioY);
- Node181.a('node.type', Node181type);
- Node181.a('node.rect', [0, 0, 105*_ratio.ratioX, 78*_ratio.ratioY]);
- Node181.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node181.a('node.gradientcolor', '');
- Node181.a('node.gradient', '');
- Node181.a('node.borderwidth', Node181BorderWidth);
- Node181.a('node.color', 'rgba(192,192,192,1)');
- Node181.a('node.fillrect', [0,0,0,0]);
- Node181.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node181.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node181.a('node.fillgradient', '');
- if (Node181type !== 'rect') {
- Node181.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node181.a('node.arcTo', parseFloat('@arcTo@'));
- Node181.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node181type === 'arc') {
- Node181.a('node.arcOval', true);
- }
- Node181.setRotation(0*Math.PI/180);
- Node181.borderWidth = Node181BorderWidth;
- Node181.borderFillwidth = Node181BorderWidth;
- dataModel.add(Node181);
- Node181._nodename = 'Node181'
- Node181._nodeType = 'rect';
- zoomNodeList.push({
- node: Node181,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node181, Node181.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node182 = new ht.Node();
- var Node182textStart, Node182textWidth, Node182lineStart, Node182align = 'left', Node182fontSize = 13.3333*_ratio.ratioY,Node182width = 39*_ratio.ratioX, Node182height = 24*_ratio.ratioY;
- (function () {
- if (Node182align === 'left') {
- Node182textStart = Node182fontSize * 0.2 > 2 ? Node182fontSize * 0.2 - 4 : Node182fontSize * 0.2 - 9;
- Node182textWidth = Node182width;
- Node182lineStart = 1;
- } else if (Node182align === 'right') {
- Node182textStart = 0;
- Node182textWidth =Node182fontSize <= 8 ? Node182width + Node182fontSize * 0.2 + 6 : Node182width - Node182fontSize * 0.2;
- Node182lineStart = (Node182width - (ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node182align === 'center') {
- Node182textStart = -3;
- Node182textWidth = Node182width;
- Node182lineStart = Node182width - ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node182.setImage(GD.getTextJSON(Node182width, Node182height, true, false, false, ' '+ Node182fontSize + 'px "Arial"'))
- Node182.setPosition(1665*ratio.ratioX, 254*ratio.ratioY);
- Node182.setWidth(Node182width);
- Node182.setHeight(Node182height);
- Node182._nodeType = 'text';
- Node182._disallowEvert = true;
- Node182.setRotation(0*Math.PI/180);
- Node182.a('node.width', Node182width);
- Node182.a('node.height', Node182height);
- Node182.a('node.rect', [0, 0, Node182width, Node182height]);
- Node182.a('node.bordercolor','rgba(0,0,0,1)');
- Node182.a('node.borderwidth', 0);
- Node182.a('node.background','' || 'rgba(0,0,0,0)');
- Node182.a('node.gradient','');
- Node182.a('node.gradientcolor','');
- Node182.a('node.text','限电');
- Node182.a('node.textalign','left');
- Node182.a('node.textvAlign','middle');
- Node182.a('node.textrect', [Node182textStart, 0, Node182textWidth, Node182height]);
- Node182.a('node.color','rgba(0,0,0,1)');
- Node182.a('node.font',' '+ Node182fontSize + 'px "Arial"');
- Node182.a('node.textvisible',true);
- Node182.a('node.linefeed',false);
- if (false) {
- Node182.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node182.a('node.text') || '限电';
- var color=Node182.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node182width,Node182height,13.3333*_ratio.ratioY,"left",color,' '+ Node182fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node182.a('node.underlinepoints',[Node182lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node182fontSize + 2 , ht.Default.getTextSize('限电', ' '+ Node182fontSize + 'px "Arial"').width + 6, (Node182height - Node182fontSize) * 0.5*_ratio.ratioY + Node182fontSize + 2 ]);
- Node182.a('node.underlinevisible',false);
- Node182.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node182);
- zoomNodeList.push({
- node: Node182,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node183 = new ht.Node();
- var Node183textStart, Node183textWidth, Node183lineStart, Node183align = 'left', Node183fontSize = 13.3333*_ratio.ratioY,Node183width = 39*_ratio.ratioX, Node183height = 24*_ratio.ratioY;
- (function () {
- if (Node183align === 'left') {
- Node183textStart = Node183fontSize * 0.2 > 2 ? Node183fontSize * 0.2 - 4 : Node183fontSize * 0.2 - 9;
- Node183textWidth = Node183width;
- Node183lineStart = 1;
- } else if (Node183align === 'right') {
- Node183textStart = 0;
- Node183textWidth =Node183fontSize <= 8 ? Node183width + Node183fontSize * 0.2 + 6 : Node183width - Node183fontSize * 0.2;
- Node183lineStart = (Node183width - (ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node183align === 'center') {
- Node183textStart = -3;
- Node183textWidth = Node183width;
- Node183lineStart = Node183width - ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node183.setImage(GD.getTextJSON(Node183width, Node183height, true, false, false, ' '+ Node183fontSize + 'px "Arial"'))
- Node183.setPosition(1690*ratio.ratioX, 274*ratio.ratioY);
- Node183.setWidth(Node183width);
- Node183.setHeight(Node183height);
- Node183._nodeType = 'text';
- Node183._disallowEvert = true;
- Node183.setRotation(0*Math.PI/180);
- Node183.a('node.width', Node183width);
- Node183.a('node.height', Node183height);
- Node183.a('node.rect', [0, 0, Node183width, Node183height]);
- Node183.a('node.bordercolor','rgba(0,0,0,1)');
- Node183.a('node.borderwidth', 0);
- Node183.a('node.background','' || 'rgba(0,0,0,0)');
- Node183.a('node.gradient','');
- Node183.a('node.gradientcolor','');
- Node183.a('node.text','0');
- Node183.a('node.textalign','left');
- Node183.a('node.textvAlign','middle');
- Node183.a('node.textrect', [Node183textStart, 0, Node183textWidth, Node183height]);
- Node183.a('node.color','rgba(0,0,0,1)');
- Node183.a('node.font',' '+ Node183fontSize + 'px "Arial"');
- Node183.a('node.textvisible',true);
- Node183.a('node.linefeed',false);
- if (false) {
- Node183.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node183.a('node.text') || '0';
- var color=Node183.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node183width,Node183height,13.3333*_ratio.ratioY,"left",color,' '+ Node183fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node183.a('node.underlinepoints',[Node183lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node183fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node183fontSize + 'px "Arial"').width + 6, (Node183height - Node183fontSize) * 0.5*_ratio.ratioY + Node183fontSize + 2 ]);
- Node183.a('node.underlinevisible',false);
- Node183.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node183);
- zoomNodeList.push({
- node: Node183,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node184 = new ht.Node();
- var Node184textStart, Node184textWidth, Node184lineStart, Node184align = 'left', Node184fontSize = 13.3333*_ratio.ratioY,Node184width = 29*_ratio.ratioX, Node184height = 24*_ratio.ratioY;
- (function () {
- if (Node184align === 'left') {
- Node184textStart = Node184fontSize * 0.2 > 2 ? Node184fontSize * 0.2 - 4 : Node184fontSize * 0.2 - 9;
- Node184textWidth = Node184width;
- Node184lineStart = 1;
- } else if (Node184align === 'right') {
- Node184textStart = 0;
- Node184textWidth =Node184fontSize <= 8 ? Node184width + Node184fontSize * 0.2 + 6 : Node184width - Node184fontSize * 0.2;
- Node184lineStart = (Node184width - (ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node184align === 'center') {
- Node184textStart = -3;
- Node184textWidth = Node184width;
- Node184lineStart = Node184width - ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node184.setImage(GD.getTextJSON(Node184width, Node184height, true, false, false, ' '+ Node184fontSize + 'px "Arial"'))
- Node184.setPosition(1726*ratio.ratioX, 300*ratio.ratioY);
- Node184.setWidth(Node184width);
- Node184.setHeight(Node184height);
- Node184._nodeType = 'text';
- Node184._disallowEvert = true;
- Node184.setRotation(0*Math.PI/180);
- Node184.a('node.width', Node184width);
- Node184.a('node.height', Node184height);
- Node184.a('node.rect', [0, 0, Node184width, Node184height]);
- Node184.a('node.bordercolor','rgba(0,0,0,1)');
- Node184.a('node.borderwidth', 0);
- Node184.a('node.background','' || 'rgba(0,0,0,0)');
- Node184.a('node.gradient','');
- Node184.a('node.gradientcolor','');
- Node184.a('node.text','台');
- Node184.a('node.textalign','left');
- Node184.a('node.textvAlign','middle');
- Node184.a('node.textrect', [Node184textStart, 0, Node184textWidth, Node184height]);
- Node184.a('node.color','rgba(0,0,0,1)');
- Node184.a('node.font',' '+ Node184fontSize + 'px "Arial"');
- Node184.a('node.textvisible',true);
- Node184.a('node.linefeed',false);
- if (false) {
- Node184.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node184.a('node.text') || '台';
- var color=Node184.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node184width,Node184height,13.3333*_ratio.ratioY,"left",color,' '+ Node184fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node184.a('node.underlinepoints',[Node184lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node184fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node184fontSize + 'px "Arial"').width + 6, (Node184height - Node184fontSize) * 0.5*_ratio.ratioY + Node184fontSize + 2 ]);
- Node184.a('node.underlinevisible',false);
- Node184.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node184);
- zoomNodeList.push({
- node: Node184,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node185type = 'rect';
- var Node185 = new ht.Node(),
- Node185BorderWidth = 1*2;
- if (Node185type === 'arc') {
- Node185BorderWidth *= 1;
- }
- Node185.setImage(GD.getRectJSON(102*_ratio.ratioX, 78*_ratio.ratioY, Node185type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node185.setPosition(1848*ratio.ratioX, 281*ratio.ratioY);
- Node185.setSize(102*_ratio.ratioX, 78*_ratio.ratioY);
- Node185.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node185.a('node.width', 102*_ratio.ratioX);
- Node185.a('node.height', 78*_ratio.ratioY);
- Node185.a('node.type', Node185type);
- Node185.a('node.rect', [0, 0, 102*_ratio.ratioX, 78*_ratio.ratioY]);
- Node185.a('node.background', 'rgba(255,255,255,0.003921569)');
- Node185.a('node.gradientcolor', '');
- Node185.a('node.gradient', '');
- Node185.a('node.borderwidth', Node185BorderWidth);
- Node185.a('node.color', 'rgba(192,192,192,1)');
- Node185.a('node.fillrect', [0,0,0,0]);
- Node185.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node185.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node185.a('node.fillgradient', '');
- if (Node185type !== 'rect') {
- Node185.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node185.a('node.arcTo', parseFloat('@arcTo@'));
- Node185.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node185type === 'arc') {
- Node185.a('node.arcOval', true);
- }
- Node185.setRotation(0*Math.PI/180);
- Node185.borderWidth = Node185BorderWidth;
- Node185.borderFillwidth = Node185BorderWidth;
- dataModel.add(Node185);
- Node185._nodename = 'Node185'
- Node185._nodeType = 'rect';
- zoomNodeList.push({
- node: Node185,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node185, Node185.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node186 = new ht.Node();
- var Node186textStart, Node186textWidth, Node186lineStart, Node186align = 'left', Node186fontSize = 13.3333*_ratio.ratioY,Node186width = 39*_ratio.ratioX, Node186height = 24*_ratio.ratioY;
- (function () {
- if (Node186align === 'left') {
- Node186textStart = Node186fontSize * 0.2 > 2 ? Node186fontSize * 0.2 - 4 : Node186fontSize * 0.2 - 9;
- Node186textWidth = Node186width;
- Node186lineStart = 1;
- } else if (Node186align === 'right') {
- Node186textStart = 0;
- Node186textWidth =Node186fontSize <= 8 ? Node186width + Node186fontSize * 0.2 + 6 : Node186width - Node186fontSize * 0.2;
- Node186lineStart = (Node186width - (ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node186align === 'center') {
- Node186textStart = -3;
- Node186textWidth = Node186width;
- Node186lineStart = Node186width - ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node186.setImage(GD.getTextJSON(Node186width, Node186height, true, false, false, ' '+ Node186fontSize + 'px "Arial"'))
- Node186.setPosition(1822*ratio.ratioX, 254*ratio.ratioY);
- Node186.setWidth(Node186width);
- Node186.setHeight(Node186height);
- Node186._nodeType = 'text';
- Node186._disallowEvert = true;
- Node186.setRotation(0*Math.PI/180);
- Node186.a('node.width', Node186width);
- Node186.a('node.height', Node186height);
- Node186.a('node.rect', [0, 0, Node186width, Node186height]);
- Node186.a('node.bordercolor','rgba(0,0,0,1)');
- Node186.a('node.borderwidth', 0);
- Node186.a('node.background','' || 'rgba(0,0,0,0)');
- Node186.a('node.gradient','');
- Node186.a('node.gradientcolor','');
- Node186.a('node.text','离线');
- Node186.a('node.textalign','left');
- Node186.a('node.textvAlign','middle');
- Node186.a('node.textrect', [Node186textStart, 0, Node186textWidth, Node186height]);
- Node186.a('node.color','rgba(0,0,0,1)');
- Node186.a('node.font',' '+ Node186fontSize + 'px "Arial"');
- Node186.a('node.textvisible',true);
- Node186.a('node.linefeed',false);
- if (false) {
- Node186.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node186.a('node.text') || '离线';
- var color=Node186.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node186width,Node186height,13.3333*_ratio.ratioY,"left",color,' '+ Node186fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node186.a('node.underlinepoints',[Node186lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node186fontSize + 2 , ht.Default.getTextSize('离线', ' '+ Node186fontSize + 'px "Arial"').width + 6, (Node186height - Node186fontSize) * 0.5*_ratio.ratioY + Node186fontSize + 2 ]);
- Node186.a('node.underlinevisible',false);
- Node186.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node186);
- zoomNodeList.push({
- node: Node186,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node187 = new ht.Node();
- var Node187textStart, Node187textWidth, Node187lineStart, Node187align = 'left', Node187fontSize = 13.3333*_ratio.ratioY,Node187width = 39*_ratio.ratioX, Node187height = 24*_ratio.ratioY;
- (function () {
- if (Node187align === 'left') {
- Node187textStart = Node187fontSize * 0.2 > 2 ? Node187fontSize * 0.2 - 4 : Node187fontSize * 0.2 - 9;
- Node187textWidth = Node187width;
- Node187lineStart = 1;
- } else if (Node187align === 'right') {
- Node187textStart = 0;
- Node187textWidth =Node187fontSize <= 8 ? Node187width + Node187fontSize * 0.2 + 6 : Node187width - Node187fontSize * 0.2;
- Node187lineStart = (Node187width - (ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node187align === 'center') {
- Node187textStart = -3;
- Node187textWidth = Node187width;
- Node187lineStart = Node187width - ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node187.setImage(GD.getTextJSON(Node187width, Node187height, true, false, false, ' '+ Node187fontSize + 'px "Arial"'))
- Node187.setPosition(1847*ratio.ratioX, 274*ratio.ratioY);
- Node187.setWidth(Node187width);
- Node187.setHeight(Node187height);
- Node187._nodeType = 'text';
- Node187._disallowEvert = true;
- Node187.setRotation(0*Math.PI/180);
- Node187.a('node.width', Node187width);
- Node187.a('node.height', Node187height);
- Node187.a('node.rect', [0, 0, Node187width, Node187height]);
- Node187.a('node.bordercolor','rgba(0,0,0,1)');
- Node187.a('node.borderwidth', 0);
- Node187.a('node.background','' || 'rgba(0,0,0,0)');
- Node187.a('node.gradient','');
- Node187.a('node.gradientcolor','');
- Node187.a('node.text','0');
- Node187.a('node.textalign','left');
- Node187.a('node.textvAlign','middle');
- Node187.a('node.textrect', [Node187textStart, 0, Node187textWidth, Node187height]);
- Node187.a('node.color','rgba(0,0,0,1)');
- Node187.a('node.font',' '+ Node187fontSize + 'px "Arial"');
- Node187.a('node.textvisible',true);
- Node187.a('node.linefeed',false);
- if (false) {
- Node187.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node187.a('node.text') || '0';
- var color=Node187.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node187width,Node187height,13.3333*_ratio.ratioY,"left",color,' '+ Node187fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node187.a('node.underlinepoints',[Node187lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node187fontSize + 2 , ht.Default.getTextSize('0', ' '+ Node187fontSize + 'px "Arial"').width + 6, (Node187height - Node187fontSize) * 0.5*_ratio.ratioY + Node187fontSize + 2 ]);
- Node187.a('node.underlinevisible',false);
- Node187.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node187);
- zoomNodeList.push({
- node: Node187,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node188 = new ht.Node();
- var Node188textStart, Node188textWidth, Node188lineStart, Node188align = 'left', Node188fontSize = 13.3333*_ratio.ratioY,Node188width = 29*_ratio.ratioX, Node188height = 24*_ratio.ratioY;
- (function () {
- if (Node188align === 'left') {
- Node188textStart = Node188fontSize * 0.2 > 2 ? Node188fontSize * 0.2 - 4 : Node188fontSize * 0.2 - 9;
- Node188textWidth = Node188width;
- Node188lineStart = 1;
- } else if (Node188align === 'right') {
- Node188textStart = 0;
- Node188textWidth =Node188fontSize <= 8 ? Node188width + Node188fontSize * 0.2 + 6 : Node188width - Node188fontSize * 0.2;
- Node188lineStart = (Node188width - (ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node188align === 'center') {
- Node188textStart = -3;
- Node188textWidth = Node188width;
- Node188lineStart = Node188width - ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node188.setImage(GD.getTextJSON(Node188width, Node188height, true, false, false, ' '+ Node188fontSize + 'px "Arial"'))
- Node188.setPosition(1884*ratio.ratioX, 300*ratio.ratioY);
- Node188.setWidth(Node188width);
- Node188.setHeight(Node188height);
- Node188._nodeType = 'text';
- Node188._disallowEvert = true;
- Node188.setRotation(0*Math.PI/180);
- Node188.a('node.width', Node188width);
- Node188.a('node.height', Node188height);
- Node188.a('node.rect', [0, 0, Node188width, Node188height]);
- Node188.a('node.bordercolor','rgba(0,0,0,1)');
- Node188.a('node.borderwidth', 0);
- Node188.a('node.background','' || 'rgba(0,0,0,0)');
- Node188.a('node.gradient','');
- Node188.a('node.gradientcolor','');
- Node188.a('node.text','台');
- Node188.a('node.textalign','left');
- Node188.a('node.textvAlign','middle');
- Node188.a('node.textrect', [Node188textStart, 0, Node188textWidth, Node188height]);
- Node188.a('node.color','rgba(0,0,0,1)');
- Node188.a('node.font',' '+ Node188fontSize + 'px "Arial"');
- Node188.a('node.textvisible',true);
- Node188.a('node.linefeed',false);
- if (false) {
- Node188.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node188.a('node.text') || '台';
- var color=Node188.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node188width,Node188height,13.3333*_ratio.ratioY,"left",color,' '+ Node188fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node188.a('node.underlinepoints',[Node188lineStart, (24 - 13.3333) * 0.5 * _ratio.ratioY + Node188fontSize + 2 , ht.Default.getTextSize('台', ' '+ Node188fontSize + 'px "Arial"').width + 6, (Node188height - Node188fontSize) * 0.5*_ratio.ratioY + Node188fontSize + 2 ]);
- Node188.a('node.underlinevisible',false);
- Node188.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node188);
- zoomNodeList.push({
- node: Node188,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node189type = 'rect';
- var Node189 = new ht.Node(),
- Node189BorderWidth = 0*2;
- if (Node189type === 'arc') {
- Node189BorderWidth *= 0;
- }
- Node189.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node189type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node189.setPosition(772*ratio.ratioX, 426*ratio.ratioY);
- Node189.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
- Node189.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node189.a('node.width', 27*_ratio.ratioX);
- Node189.a('node.height', 208*_ratio.ratioY);
- Node189.a('node.type', Node189type);
- Node189.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
- Node189.a('node.background', 'rgba(32,191,135,1)');
- Node189.a('node.gradientcolor', 'rgba(32,191,135,1)');
- Node189.a('node.gradient', '');
- Node189.a('node.borderwidth', Node189BorderWidth);
- Node189.a('node.color', 'rgba(0,0,0,0)');
- Node189.a('node.fillrect', [0,0,0,0]);
- Node189.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node189.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node189.a('node.fillgradient', '');
- if (Node189type !== 'rect') {
- Node189.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node189.a('node.arcTo', parseFloat('@arcTo@'));
- Node189.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node189type === 'arc') {
- Node189.a('node.arcOval', true);
- }
- Node189.setRotation(0*Math.PI/180);
- Node189.borderWidth = Node189BorderWidth;
- Node189.borderFillwidth = Node189BorderWidth;
- dataModel.add(Node189);
- Node189._nodename = 'Node189'
- Node189._nodeType = 'rect';
- zoomNodeList.push({
- node: Node189,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node189, Node189.getImage());
- var Node190style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
- var Node190obj=getIndicatorAndSheBeiArr(Node190GroupVarName,Node190GroupInVarName);
- var Node190series=getIndicatorOrShebeiInfo(Node190GroupVarName,Node190GroupInVarName,Node190style);
- Node190series && Node190series[0] && (Node190series[0].barGap = 0);
- var Node190option = {
- tooltip : {
- trigger: 'axis',
- axisPointer : {
- type : 'shadow',
- shadowStyle: {
- color: {
- type: 'linear',
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
- }, {
- offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
- }],
- globalCoord: false // 缺省为 false
- },
- opacity: 0.2
- }
- },
- // formatter:function (params, ticket, callback) {
- // console.log(params, ticket);
- // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
- // var result ;
- // for (var i = 0, len = params.length; i < len; i++) {
- // }
- // }
- },
- grid: {
- left: '0%',
- right: '0%',
- bottom: '3%',
- top:'5%',
- containLabel: true
- },
- legend:{
- show:false,
- data:Node190obj["indicatorArr"]
- },
- xAxis : [
- {
- type : 'category',
- splitNumber:0,
- data :Node190obj["shebeiArr"],
- axisLine:{
- lineStyle:{
- color:'rgba(128,128,128,1)'
- }
- },
- axisLabel:{
- inside:false,
- interval: 0,
- textStyle:{
- fontSize:"13.3333"
- }
- },
- z: 10,
- splitLine:{
- show:false,
- lineStyle:{
- color:'rgba(211,211,211,1)'
- }
- }
- }
- ],
- yAxis : [
- {
- type : 'value',
- min:0,
- max:1000,
- axisTick:{
- lineStyle:{
- color:'rgba(128,128,128,1)'
- }
- },
- precision:2,
- axisLine:{
- lineStyle:{
- color:'rgba(128,128,128,1)'
- }
- },
- axisLabel:{
- textStyle:{
- fontSize:"13.3333"
- }
- },
- splitLine:{
- show:true,
- lineStyle:{
- color:'rgba(211,211,211,1)'
- }
- }
- }],
- color: Node190obj.colorArr,
- series : Node190series
-
- };
- var Node190 = new ht.HtmlNode();
- var Node190BeginTime = "";
- var Node190endTime = "";
- var Node190yRange = 'fixed';
- Node190.setPosition({'x':1066*ratio.ratioX,'y':431*ratio.ratioY});
- Node190.setWidth(542*ratio.ratioX);
- Node190.setHeight(208*ratio.ratioY);
- Node190.setScalable(false);
- Node190.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- var Node190chart = new ht.Chart(Node190option, 542*ratio.ratioX, 208*ratio.ratioY);
- Node190.setHtml( Node190chart);
- var Node190_chart = Node190chart._chart;
- dataModel.add(Node190);
- function Node190Refresh(){
- var option = Node190chart.getOption(),
- _option = Node190_chart.getOption(),
- ses = _option.series;
- option.series = getIndicatorOrShebeiInfo(Node190GroupVarName,Node190GroupInVarName,Node190style);
- if (Node190yRange === 'real') {
- var maxAndMin = GD.getMaxAndMinFromSeries(ses);
- option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
- option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
- }
- Node190_chart.setOption(option, true);
- }
- function Node190Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- // var tagsInfo = encodeURIComponent(Node190obj.tagArr.join(','));
- var beginTime = "",
- endTime = "",
- type = 'static'; // 时间段:当日,当月,当年 。固定时间
- var groupbarType = 'snap';
- var beginTimeType = 'begin',
- endTimeType = 'end';
- var difTagsInfo = '',
- staTagsInfo = '',
- staTagArr = [],
- difTagArr = [];
- (function () {
- var tagsType = Node190obj.statisticsTypeObj,
- k, v;
- for (var key in tagsType) {
- if (tagsType.hasOwnProperty(key)) {
- k = key;
- v = tagsType[k];
- if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
- difTagArr.push(k);
- } else {
- staTagArr.push(k);
- }
- }
- }
- difTagsInfo = encodeURIComponent(difTagArr.join(','));
- staTagsInfo = encodeURIComponent(staTagArr.join(','));
- })();
- if (groupbarType === 'snap') {
- Node190Refresh()
- return;
- }
- if (type === 'relday') {
- if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
- endTimeType = '';
- }
- } else if (type === 'relmonth') {
- if (endTime === '0m') {
- endTimeType = ''
- }
- } else if (type === 'relyear') {
- if (endTime === '0y') {
- endTimeType = ''
- }
- } else if (type === 'static') {
- beginTimeType = '';
- endTimeType = '';
- } else {
- beginTimeType = 'begin';
- endTimeType = '';
- }
- beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
- endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
- var flag = 0,
- staData,
- difData;
- if (!GD.testSearchTime(beginTime, endTime)) {
- return false;
- }
- if (difTagsInfo) {
- $.ajax({
- url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- difData = {};
- return ;
- }
- difData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- }
- });
- } else {
- flag ++;
- difData = {};
- complete();
- }
- if (staTagsInfo) {
- $.ajax({
- url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- staData = {};
- return ;
- }
- staData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- complete()
- }
- });
- } else {
- flag ++;
- staData = {};
- complete();
- }
- function complete() {
- if (flag < 2) {
- return ;
- }
- var datas = staData;
- for (var key in difData) {
- if (difData.hasOwnProperty(key)) {
- if (!datas[key]) {
- datas[key] = difData[key];
- }
- else {
- for (var k in difData[key]) {
- datas[key][k] = difData[key][k];
- }
- }
- }
- }
- var option = Node190chart.getOption(),
- _option = Node190_chart.getOption(),
- ses = _option.series;
- var series = [];
- for (var i = 0, len = Node190GroupInVarName.length; i < len; i++) {
- var indiacatorData = Node190GroupInVarName[i];
- var data = {};
- data.name = indiacatorData.displayName || indiacatorData.Desc;
- data.type = 'bar';
- data.data = [];
- for (var j = 0, leng = Node190GroupVarName.length; j < leng; j++) {
- var itemStyle={normal:{color:indiacatorData.color}};
- data.itemStyle=itemStyle;
- var deviceData = Node190GroupVarName[j];
- var value = 0;
- var tagName = '' + deviceData.Name + indiacatorData.Name;
- var statisticsType = Node190obj.statisticsTypeObj && Node190obj.statisticsTypeObj[tagName];
- value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
- data.data.push(value);
- }
- series.push(data);
- }
- series && series[0] && (series[0].barGap = 0);
- option.series = series;
- if (Node190yRange === 'real') {
- var maxAndMin = GD.getMaxAndMinFromSeries(series);
- option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
- option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
- } else {
- option.yAxis[0].min = 0;
- option.yAxis[0].max = 1000;
- }
- Node190_chart.setOption(option, true);
- }
- }
- if(true){
- Node190Refresh();
- intervalTimers.push(setInterval(function(){
- Node190Refresh();
- },1000));
- } else {
- // Node190Search();
- }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node191type = 'rect';
- var Node191 = new ht.Node(),
- Node191BorderWidth = 0*2;
- if (Node191type === 'arc') {
- Node191BorderWidth *= 0;
- }
- Node191.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node191type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node191.setPosition(1372*ratio.ratioX, 427*ratio.ratioY);
- Node191.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
- Node191.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node191.a('node.width', 27*_ratio.ratioX);
- Node191.a('node.height', 208*_ratio.ratioY);
- Node191.a('node.type', Node191type);
- Node191.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
- Node191.a('node.background', 'rgba(32,191,135,1)');
- Node191.a('node.gradientcolor', 'rgba(32,191,135,1)');
- Node191.a('node.gradient', '');
- Node191.a('node.borderwidth', Node191BorderWidth);
- Node191.a('node.color', 'rgba(0,0,0,0)');
- Node191.a('node.fillrect', [0,0,0,0]);
- Node191.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node191.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node191.a('node.fillgradient', '');
- if (Node191type !== 'rect') {
- Node191.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node191.a('node.arcTo', parseFloat('@arcTo@'));
- Node191.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node191type === 'arc') {
- Node191.a('node.arcOval', true);
- }
- Node191.setRotation(0*Math.PI/180);
- Node191.borderWidth = Node191BorderWidth;
- Node191.borderFillwidth = Node191BorderWidth;
- dataModel.add(Node191);
- Node191._nodename = 'Node191'
- Node191._nodeType = 'rect';
- zoomNodeList.push({
- node: Node191,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node191, Node191.getImage());option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:5,
- min: 0,
- max: 50,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.2, 'rgba(0,128,0,1)'],[1, 'rgba(192,192,192,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 0
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node192 = new ht.HtmlNode();
- Node192.setPosition({'x':1517*ratio.ratioX,'y':395*ratio.ratioY});
- Node192.setWidth(270*_ratio.ratioX);
- Node192.setHeight(140*_ratio.ratioY);
- Node192.setScalable(false);
- Node192.setRotation(0);
- Node192.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
- Node192.setHtml(chart);
- var Node192_chart = chart._chart;
- dataModel.add(Node192);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node193 = new ht.Node();
- var Node193textStart, Node193textWidth, Node193lineStart, Node193align = 'center', Node193fontSize = 18.66662*_ratio.ratioY,Node193width = 43*_ratio.ratioX, Node193height = 23*_ratio.ratioY;
- (function () {
- if (Node193align === 'left') {
- Node193textStart = Node193fontSize * 0.2 > 2 ? Node193fontSize * 0.2 - 4 : Node193fontSize * 0.2 - 9;
- Node193textWidth = Node193width;
- Node193lineStart = 1;
- } else if (Node193align === 'right') {
- Node193textStart = 0;
- Node193textWidth =Node193fontSize <= 8 ? Node193width + Node193fontSize * 0.2 + 6 : Node193width - Node193fontSize * 0.2;
- Node193lineStart = (Node193width - (ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node193align === 'center') {
- Node193textStart = -3;
- Node193textWidth = Node193width;
- Node193lineStart = Node193width - ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node193.setImage(GD.getTextJSON(Node193width, Node193height, true, false, false, 'bold '+ Node193fontSize + 'px "Arial"'))
- Node193.setPosition(1511*ratio.ratioX, 376*ratio.ratioY);
- Node193.setWidth(Node193width);
- Node193.setHeight(Node193height);
- Node193._nodeType = 'text';
- Node193._disallowEvert = true;
- Node193.setRotation(0*Math.PI/180);
- Node193.a('node.width', Node193width);
- Node193.a('node.height', Node193height);
- Node193.a('node.rect', [0, 0, Node193width, Node193height]);
- Node193.a('node.bordercolor','rgba(0,0,0,1)');
- Node193.a('node.borderwidth', 0);
- Node193.a('node.background','' || 'rgba(0,0,0,0)');
- Node193.a('node.gradient','');
- Node193.a('node.gradientcolor','');
- Node193.a('node.text','9.14');
- Node193.a('node.textalign','center');
- Node193.a('node.textvAlign','middle');
- Node193.a('node.textrect', [Node193textStart, 0, Node193textWidth, Node193height]);
- Node193.a('node.color','rgba(0,0,0,1)');
- Node193.a('node.font','bold '+ Node193fontSize + 'px "Arial"');
- Node193.a('node.textvisible',true);
- Node193.a('node.linefeed',false);
- if (false) {
- Node193.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node193.a('node.text') || '9.14';
- var color=Node193.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node193width,Node193height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node193fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node193.a('node.underlinepoints',[Node193lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node193fontSize + 2 , ht.Default.getTextSize('9.14', 'bold '+ Node193fontSize + 'px "Arial"').width + 6, (Node193height - Node193fontSize) * 0.5*_ratio.ratioY + Node193fontSize + 2 ]);
- Node193.a('node.underlinevisible',false);
- Node193.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node193);
- zoomNodeList.push({
- node: Node193,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node194 = new ht.Node();
- var Node194textStart, Node194textWidth, Node194lineStart, Node194align = 'left', Node194fontSize = 13.3333*_ratio.ratioY,Node194width = 86*_ratio.ratioX, Node194height = 16*_ratio.ratioY;
- (function () {
- if (Node194align === 'left') {
- Node194textStart = Node194fontSize * 0.2 > 2 ? Node194fontSize * 0.2 - 4 : Node194fontSize * 0.2 - 9;
- Node194textWidth = Node194width;
- Node194lineStart = 1;
- } else if (Node194align === 'right') {
- Node194textStart = 0;
- Node194textWidth =Node194fontSize <= 8 ? Node194width + Node194fontSize * 0.2 + 6 : Node194width - Node194fontSize * 0.2;
- Node194lineStart = (Node194width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node194align === 'center') {
- Node194textStart = -3;
- Node194textWidth = Node194width;
- Node194lineStart = Node194width - ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node194.setImage(GD.getTextJSON(Node194width, Node194height, true, false, false, ' '+ Node194fontSize + 'px "Arial"'))
- Node194.setPosition(1529*ratio.ratioX, 411*ratio.ratioY);
- Node194.setWidth(Node194width);
- Node194.setHeight(Node194height);
- Node194._nodeType = 'text';
- Node194._disallowEvert = true;
- Node194.setRotation(0*Math.PI/180);
- Node194.a('node.width', Node194width);
- Node194.a('node.height', Node194height);
- Node194.a('node.rect', [0, 0, Node194width, Node194height]);
- Node194.a('node.bordercolor','rgba(0,0,0,1)');
- Node194.a('node.borderwidth', 0);
- Node194.a('node.background','' || 'rgba(0,0,0,0)');
- Node194.a('node.gradient','');
- Node194.a('node.gradientcolor','');
- Node194.a('node.text','风速(m/s)');
- Node194.a('node.textalign','left');
- Node194.a('node.textvAlign','middle');
- Node194.a('node.textrect', [Node194textStart, 0, Node194textWidth, Node194height]);
- Node194.a('node.color','rgba(0,0,0,1)');
- Node194.a('node.font',' '+ Node194fontSize + 'px "Arial"');
- Node194.a('node.textvisible',true);
- Node194.a('node.linefeed',false);
- if (false) {
- Node194.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node194.a('node.text') || '风速(m/s)';
- var color=Node194.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node194width,Node194height,13.3333*_ratio.ratioY,"left",color,' '+ Node194fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node194.a('node.underlinepoints',[Node194lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node194fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node194fontSize + 'px "Arial"').width + 6, (Node194height - Node194fontSize) * 0.5*_ratio.ratioY + Node194fontSize + 2 ]);
- Node194.a('node.underlinevisible',false);
- Node194.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node194);
- zoomNodeList.push({
- node: Node194,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node195 = new ht.Node();
- var Node195textStart, Node195textWidth, Node195lineStart, Node195align = 'center', Node195fontSize = 18.66662*_ratio.ratioY,Node195width = 65*_ratio.ratioX, Node195height = 23*_ratio.ratioY;
- (function () {
- if (Node195align === 'left') {
- Node195textStart = Node195fontSize * 0.2 > 2 ? Node195fontSize * 0.2 - 4 : Node195fontSize * 0.2 - 9;
- Node195textWidth = Node195width;
- Node195lineStart = 1;
- } else if (Node195align === 'right') {
- Node195textStart = 0;
- Node195textWidth =Node195fontSize <= 8 ? Node195width + Node195fontSize * 0.2 + 6 : Node195width - Node195fontSize * 0.2;
- Node195lineStart = (Node195width - (ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node195align === 'center') {
- Node195textStart = -3;
- Node195textWidth = Node195width;
- Node195lineStart = Node195width - ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node195.setImage(GD.getTextJSON(Node195width, Node195height, true, false, false, 'bold '+ Node195fontSize + 'px "Arial"'))
- Node195.setPosition(1530*ratio.ratioX, 477*ratio.ratioY);
- Node195.setWidth(Node195width);
- Node195.setHeight(Node195height);
- Node195._nodeType = 'text';
- Node195._disallowEvert = true;
- Node195.setRotation(0*Math.PI/180);
- Node195.a('node.width', Node195width);
- Node195.a('node.height', Node195height);
- Node195.a('node.rect', [0, 0, Node195width, Node195height]);
- Node195.a('node.bordercolor','rgba(0,0,0,1)');
- Node195.a('node.borderwidth', 0);
- Node195.a('node.background','' || 'rgba(0,0,0,0)');
- Node195.a('node.gradient','');
- Node195.a('node.gradientcolor','');
- Node195.a('node.text','8');
- Node195.a('node.textalign','center');
- Node195.a('node.textvAlign','middle');
- Node195.a('node.textrect', [Node195textStart, 0, Node195textWidth, Node195height]);
- Node195.a('node.color','rgba(0,0,0,1)');
- Node195.a('node.font','bold '+ Node195fontSize + 'px "Arial"');
- Node195.a('node.textvisible',true);
- Node195.a('node.linefeed',false);
- if (false) {
- Node195.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node195.a('node.text') || '8';
- var color=Node195.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node195width,Node195height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node195fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node195.a('node.underlinepoints',[Node195lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node195fontSize + 2 , ht.Default.getTextSize('8', 'bold '+ Node195fontSize + 'px "Arial"').width + 6, (Node195height - Node195fontSize) * 0.5*_ratio.ratioY + Node195fontSize + 2 ]);
- Node195.a('node.underlinevisible',false);
- Node195.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node195);
- zoomNodeList.push({
- node: Node195,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); option = {
- tooltip : {
- formatter: "{a} <br/>{c} {b}"
- },
- toolbox: {
- show:false,
- feature: {
- //restore: {},
- saveAsImage: {}
- }
- },
- series: [
- {
- radius: '100%',
- name: '',
- type: 'gauge',
- splitNumber:5,
- min: 0,
- max: 1250,
- startAngle:180,
- endAngle:0,
- axisTick:{
- length:5,
- lineStyle: {
- color:'rgba(255,255,255,1)'
- }
- },
- axisLabel: { // 坐标轴小标记
- textStyle: { // 属性lineStyle控制线条样式
- color: 'rgba(64,64,64,1)'
- },
- formatter: function (value, index) {
- return value.toFixed(0);
- }
- },
- axisLine: {
- lineStyle: {
- color: [[0.488888888888889, 'rgba(128,255,128,1)'],[1, 'rgba(192,192,192,1)']],
- width: 10
- }
- },
- splitLine:{
- length:10,
- lineStyle: {
- color: 'rgba(255,255,255,1)'
- }
- },
- pointer:{
- length:'80%',
- width:7
- },
- itemStyle: {
- normal: {
- opacity: 0
- }
- },
- detail: {formatter:'{value}',show:false},
- data: [{value: (getVarValue('demo.DEMO_AI009') ), name: ''}]
- }
- ]
- };
- _ratio = GD.getRatioWithRotation(0, ratio);
- var Node196 = new ht.HtmlNode();
- Node196.setPosition({'x':1746*ratio.ratioX,'y':400*ratio.ratioY});
- Node196.setWidth(270*_ratio.ratioX);
- Node196.setHeight(140*_ratio.ratioY);
- Node196.setScalable(false);
- Node196.setRotation(0);
- Node196.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- chart = new ht.Chart(option, 270*_ratio.ratioX, 140*_ratio.ratioY);
- Node196.setHtml(chart);
- var Node196_chart = chart._chart;
- dataModel.add(Node196);_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node197 = new ht.Node();
- var Node197textStart, Node197textWidth, Node197lineStart, Node197align = 'center', Node197fontSize = 18.66662*_ratio.ratioY,Node197width = 65*_ratio.ratioX, Node197height = 23*_ratio.ratioY;
- (function () {
- if (Node197align === 'left') {
- Node197textStart = Node197fontSize * 0.2 > 2 ? Node197fontSize * 0.2 - 4 : Node197fontSize * 0.2 - 9;
- Node197textWidth = Node197width;
- Node197lineStart = 1;
- } else if (Node197align === 'right') {
- Node197textStart = 0;
- Node197textWidth =Node197fontSize <= 8 ? Node197width + Node197fontSize * 0.2 + 6 : Node197width - Node197fontSize * 0.2;
- Node197lineStart = (Node197width - (ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node197align === 'center') {
- Node197textStart = -3;
- Node197textWidth = Node197width;
- Node197lineStart = Node197width - ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node197.setImage(GD.getTextJSON(Node197width, Node197height, true, false, false, 'bold '+ Node197fontSize + 'px "Arial"'))
- Node197.setPosition(1754*ratio.ratioX, 381*ratio.ratioY);
- Node197.setWidth(Node197width);
- Node197.setHeight(Node197height);
- Node197._nodeType = 'text';
- Node197._disallowEvert = true;
- Node197.setRotation(0*Math.PI/180);
- Node197.a('node.width', Node197width);
- Node197.a('node.height', Node197height);
- Node197.a('node.rect', [0, 0, Node197width, Node197height]);
- Node197.a('node.bordercolor','rgba(0,0,0,1)');
- Node197.a('node.borderwidth', 0);
- Node197.a('node.background','' || 'rgba(0,0,0,0)');
- Node197.a('node.gradient','');
- Node197.a('node.gradientcolor','');
- Node197.a('node.text','10.1');
- Node197.a('node.textalign','center');
- Node197.a('node.textvAlign','middle');
- Node197.a('node.textrect', [Node197textStart, 0, Node197textWidth, Node197height]);
- Node197.a('node.color','rgba(0,0,0,1)');
- Node197.a('node.font','bold '+ Node197fontSize + 'px "Arial"');
- Node197.a('node.textvisible',true);
- Node197.a('node.linefeed',false);
- if (false) {
- Node197.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node197.a('node.text') || '10.1';
- var color=Node197.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node197width,Node197height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node197fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node197.a('node.underlinepoints',[Node197lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node197fontSize + 2 , ht.Default.getTextSize('10.1', 'bold '+ Node197fontSize + 'px "Arial"').width + 6, (Node197height - Node197fontSize) * 0.5*_ratio.ratioY + Node197fontSize + 2 ]);
- Node197.a('node.underlinevisible',false);
- Node197.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node197);
- zoomNodeList.push({
- node: Node197,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node198 = new ht.Node();
- var Node198textStart, Node198textWidth, Node198lineStart, Node198align = 'left', Node198fontSize = 13.3333*_ratio.ratioY,Node198width = 98*_ratio.ratioX, Node198height = 16*_ratio.ratioY;
- (function () {
- if (Node198align === 'left') {
- Node198textStart = Node198fontSize * 0.2 > 2 ? Node198fontSize * 0.2 - 4 : Node198fontSize * 0.2 - 9;
- Node198textWidth = Node198width;
- Node198lineStart = 1;
- } else if (Node198align === 'right') {
- Node198textStart = 0;
- Node198textWidth =Node198fontSize <= 8 ? Node198width + Node198fontSize * 0.2 + 6 : Node198width - Node198fontSize * 0.2;
- Node198lineStart = (Node198width - (ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node198align === 'center') {
- Node198textStart = -3;
- Node198textWidth = Node198width;
- Node198lineStart = Node198width - ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node198.setImage(GD.getTextJSON(Node198width, Node198height, true, false, false, ' '+ Node198fontSize + 'px "Arial"'))
- Node198.setPosition(1751*ratio.ratioX, 415*ratio.ratioY);
- Node198.setWidth(Node198width);
- Node198.setHeight(Node198height);
- Node198._nodeType = 'text';
- Node198._disallowEvert = true;
- Node198.setRotation(0*Math.PI/180);
- Node198.a('node.width', Node198width);
- Node198.a('node.height', Node198height);
- Node198.a('node.rect', [0, 0, Node198width, Node198height]);
- Node198.a('node.bordercolor','rgba(0,0,0,1)');
- Node198.a('node.borderwidth', 0);
- Node198.a('node.background','' || 'rgba(0,0,0,0)');
- Node198.a('node.gradient','');
- Node198.a('node.gradientcolor','');
- Node198.a('node.text','实发功率(MW)');
- Node198.a('node.textalign','left');
- Node198.a('node.textvAlign','middle');
- Node198.a('node.textrect', [Node198textStart, 0, Node198textWidth, Node198height]);
- Node198.a('node.color','rgba(0,0,0,1)');
- Node198.a('node.font',' '+ Node198fontSize + 'px "Arial"');
- Node198.a('node.textvisible',true);
- Node198.a('node.linefeed',false);
- if (false) {
- Node198.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node198.a('node.text') || '实发功率(MW)';
- var color=Node198.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node198width,Node198height,13.3333*_ratio.ratioY,"left",color,' '+ Node198fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node198.a('node.underlinepoints',[Node198lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node198fontSize + 2 , ht.Default.getTextSize('实发功率(MW)', ' '+ Node198fontSize + 'px "Arial"').width + 6, (Node198height - Node198fontSize) * 0.5*_ratio.ratioY + Node198fontSize + 2 ]);
- Node198.a('node.underlinevisible',false);
- Node198.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node198);
- zoomNodeList.push({
- node: Node198,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node199 = new ht.Node();
- var Node199textStart, Node199textWidth, Node199lineStart, Node199align = 'center', Node199fontSize = 18.66662*_ratio.ratioY,Node199width = 65*_ratio.ratioX, Node199height = 23*_ratio.ratioY;
- (function () {
- if (Node199align === 'left') {
- Node199textStart = Node199fontSize * 0.2 > 2 ? Node199fontSize * 0.2 - 4 : Node199fontSize * 0.2 - 9;
- Node199textWidth = Node199width;
- Node199lineStart = 1;
- } else if (Node199align === 'right') {
- Node199textStart = 0;
- Node199textWidth =Node199fontSize <= 8 ? Node199width + Node199fontSize * 0.2 + 6 : Node199width - Node199fontSize * 0.2;
- Node199lineStart = (Node199width - (ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node199align === 'center') {
- Node199textStart = -3;
- Node199textWidth = Node199width;
- Node199lineStart = Node199width - ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node199.setImage(GD.getTextJSON(Node199width, Node199height, true, false, false, 'bold '+ Node199fontSize + 'px "Arial"'))
- Node199.setPosition(1749*ratio.ratioX, 482*ratio.ratioY);
- Node199.setWidth(Node199width);
- Node199.setHeight(Node199height);
- Node199._nodeType = 'text';
- Node199._disallowEvert = true;
- Node199.setRotation(0*Math.PI/180);
- Node199.a('node.width', Node199width);
- Node199.a('node.height', Node199height);
- Node199.a('node.rect', [0, 0, Node199width, Node199height]);
- Node199.a('node.bordercolor','rgba(0,0,0,1)');
- Node199.a('node.borderwidth', 0);
- Node199.a('node.background','' || 'rgba(0,0,0,0)');
- Node199.a('node.gradient','');
- Node199.a('node.gradientcolor','');
- Node199.a('node.text','12');
- Node199.a('node.textalign','center');
- Node199.a('node.textvAlign','middle');
- Node199.a('node.textrect', [Node199textStart, 0, Node199textWidth, Node199height]);
- Node199.a('node.color','rgba(0,0,0,1)');
- Node199.a('node.font','bold '+ Node199fontSize + 'px "Arial"');
- Node199.a('node.textvisible',true);
- Node199.a('node.linefeed',false);
- if (false) {
- Node199.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node199.a('node.text') || '12';
- var color=Node199.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,18.66662*0.5*_ratio.ratioY,Node199width,Node199height,18.66662*_ratio.ratioY,"center",color,'bold '+ Node199fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node199.a('node.underlinepoints',[Node199lineStart, (23 - 18.66662) * 0.5 * _ratio.ratioY + Node199fontSize + 2 , ht.Default.getTextSize('12', 'bold '+ Node199fontSize + 'px "Arial"').width + 6, (Node199height - Node199fontSize) * 0.5*_ratio.ratioY + Node199fontSize + 2 ]);
- Node199.a('node.underlinevisible',false);
- Node199.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node199);
- zoomNodeList.push({
- node: Node199,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- var Node200style={eachbarbackcolor:"rgba(255,255,255,0)",shadowColor:"rgba(0, 0, 0, 0)"};
- var Node200obj=getIndicatorAndSheBeiArr(Node200GroupVarName,Node200GroupInVarName);
- var Node200series=getIndicatorOrShebeiInfo(Node200GroupVarName,Node200GroupInVarName,Node200style);
- Node200series && Node200series[0] && (Node200series[0].barGap = 0);
- var Node200option = {
- tooltip : {
- trigger: 'axis',
- axisPointer : {
- type : 'shadow',
- shadowStyle: {
- color: {
- type: 'linear',
- x: 0,
- y: 0,
- x2: 0,
- y2: 1,
- colorStops: [{
- offset: 0, color: 'rgba(100,100,100,1)' // 0% 处的颜色
- }, {
- offset: 1, color: 'rgba(100,100,100,1)' // 100% 处的颜色
- }],
- globalCoord: false // 缺省为 false
- },
- opacity: 0.2
- }
- },
- // formatter:function (params, ticket, callback) {
- // console.log(params, ticket);
- // return params.name +': <br/>'+ parseFloat(params.value).toFixed(2) +' ('+parseFloat(params.percent)+')%';
- // var result ;
- // for (var i = 0, len = params.length; i < len; i++) {
- // }
- // }
- },
- grid: {
- left: '0%',
- right: '0%',
- bottom: '3%',
- top:'5%',
- containLabel: true
- },
- legend:{
- show:false,
- data:Node200obj["indicatorArr"]
- },
- xAxis : [
- {
- type : 'category',
- splitNumber:0,
- data :Node200obj["shebeiArr"],
- axisLine:{
- lineStyle:{
- color:'rgba(128,128,128,1)'
- }
- },
- axisLabel:{
- inside:false,
- interval: 0,
- textStyle:{
- fontSize:"13.3333"
- }
- },
- z: 10,
- splitLine:{
- show:false,
- lineStyle:{
- color:'rgba(211,211,211,1)'
- }
- }
- }
- ],
- yAxis : [
- {
- type : 'value',
- min:0,
- max:1000,
- axisTick:{
- lineStyle:{
- color:'rgba(128,128,128,1)'
- }
- },
- precision:2,
- axisLine:{
- lineStyle:{
- color:'rgba(128,128,128,1)'
- }
- },
- axisLabel:{
- textStyle:{
- fontSize:"13.3333"
- }
- },
- splitLine:{
- show:true,
- lineStyle:{
- color:'rgba(211,211,211,1)'
- }
- }
- }],
- color: Node200obj.colorArr,
- series : Node200series
-
- };
- var Node200 = new ht.HtmlNode();
- var Node200BeginTime = "";
- var Node200endTime = "";
- var Node200yRange = 'fixed';
- Node200.setPosition({'x':1354*ratio.ratioX,'y':645*ratio.ratioY});
- Node200.setWidth(1110*ratio.ratioX);
- Node200.setHeight(208*ratio.ratioY);
- Node200.setScalable(false);
- Node200.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- var Node200chart = new ht.Chart(Node200option, 1110*ratio.ratioX, 208*ratio.ratioY);
- Node200.setHtml( Node200chart);
- var Node200_chart = Node200chart._chart;
- dataModel.add(Node200);
- function Node200Refresh(){
- var option = Node200chart.getOption(),
- _option = Node200_chart.getOption(),
- ses = _option.series;
- option.series = getIndicatorOrShebeiInfo(Node200GroupVarName,Node200GroupInVarName,Node200style);
- if (Node200yRange === 'real') {
- var maxAndMin = GD.getMaxAndMinFromSeries(ses);
- option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
- option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
- }
- Node200_chart.setOption(option, true);
- }
- function Node200Search() {
- var urlStr = "http://" + webServiceIP + ":" + webServicePort + "/api/HistorySummary?tagName=";
- // var tagsInfo = encodeURIComponent(Node200obj.tagArr.join(','));
- var beginTime = "",
- endTime = "",
- type = 'static'; // 时间段:当日,当月,当年 。固定时间
- var groupbarType = 'snap';
- var beginTimeType = 'begin',
- endTimeType = 'end';
- var difTagsInfo = '',
- staTagsInfo = '',
- staTagArr = [],
- difTagArr = [];
- (function () {
- var tagsType = Node200obj.statisticsTypeObj,
- k, v;
- for (var key in tagsType) {
- if (tagsType.hasOwnProperty(key)) {
- k = key;
- v = tagsType[k];
- if (k === 'Difference' || k === 'EqLastYear' || k === 'Availble') {
- difTagArr.push(k);
- } else {
- staTagArr.push(k);
- }
- }
- }
- difTagsInfo = encodeURIComponent(difTagArr.join(','));
- staTagsInfo = encodeURIComponent(staTagArr.join(','));
- })();
- if (groupbarType === 'snap') {
- Node200Refresh()
- return;
- }
- if (type === 'relday') {
- if (endTime === '0d') { //如果显示当天时间,则结束时间为当前时间
- endTimeType = '';
- }
- } else if (type === 'relmonth') {
- if (endTime === '0m') {
- endTimeType = ''
- }
- } else if (type === 'relyear') {
- if (endTime === '0y') {
- endTimeType = ''
- }
- } else if (type === 'static') {
- beginTimeType = '';
- endTimeType = '';
- } else {
- beginTimeType = 'begin';
- endTimeType = '';
- }
- beginTime = GD.getRelativeDate(beginTime, 'datetime', beginTimeType);
- endTime = GD.getRelativeDate(endTime, 'datetime', endTimeType);
- var flag = 0,
- staData,
- difData;
- if (!GD.testSearchTime(beginTime, endTime)) {
- return false;
- }
- if (difTagsInfo) {
- $.ajax({
- url: urlStr + difTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&dataType=snap',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- difData = {};
- return ;
- }
- difData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- }
- });
- } else {
- flag ++;
- difData = {};
- complete();
- }
- if (staTagsInfo) {
- $.ajax({
- url: urlStr + staTagsInfo + '&beginTime=' + beginTime + '&endTime=' + endTime + '&is_difference=true',
- type: 'GET',
- cache: false,
- dataType: 'json',
- success: function (datas) {
- if (!datas) {
- staData = {};
- return ;
- }
- staData = datas;
- },
- complete: function (xhr) {
- xhr = null;
- flag ++;
- complete()
- }
- });
- } else {
- flag ++;
- staData = {};
- complete();
- }
- function complete() {
- if (flag < 2) {
- return ;
- }
- var datas = staData;
- for (var key in difData) {
- if (difData.hasOwnProperty(key)) {
- if (!datas[key]) {
- datas[key] = difData[key];
- }
- else {
- for (var k in difData[key]) {
- datas[key][k] = difData[key][k];
- }
- }
- }
- }
- var option = Node200chart.getOption(),
- _option = Node200_chart.getOption(),
- ses = _option.series;
- var series = [];
- for (var i = 0, len = Node200GroupInVarName.length; i < len; i++) {
- var indiacatorData = Node200GroupInVarName[i];
- var data = {};
- data.name = indiacatorData.displayName || indiacatorData.Desc;
- data.type = 'bar';
- data.data = [];
- for (var j = 0, leng = Node200GroupVarName.length; j < leng; j++) {
- var itemStyle={normal:{color:indiacatorData.color}};
- data.itemStyle=itemStyle;
- var deviceData = Node200GroupVarName[j];
- var value = 0;
- var tagName = '' + deviceData.Name + indiacatorData.Name;
- var statisticsType = Node200obj.statisticsTypeObj && Node200obj.statisticsTypeObj[tagName];
- value = datas[tagName] && datas[tagName][statisticsType] && datas[tagName][statisticsType].toFixed(2, 10) || 0;
- data.data.push(value);
- }
- series.push(data);
- }
- series && series[0] && (series[0].barGap = 0);
- option.series = series;
- if (Node200yRange === 'real') {
- var maxAndMin = GD.getMaxAndMinFromSeries(series);
- option.yAxis[0].min = maxAndMin.min < 0 ? Math.ceil(maxAndMin.min - 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 0;
- option.yAxis[0].max = maxAndMin.max > 1000 ? Math.ceil(maxAndMin.max + 0.2*Math.abs(maxAndMin.max - maxAndMin.min)) : 1000;
- } else {
- option.yAxis[0].min = 0;
- option.yAxis[0].max = 1000;
- }
- Node200_chart.setOption(option, true);
- }
- }
- if(true){
- Node200Refresh();
- intervalTimers.push(setInterval(function(){
- Node200Refresh();
- },1000));
- } else {
- // Node200Search();
- }_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node201type = 'rect';
- var Node201 = new ht.Node(),
- Node201BorderWidth = 0*2;
- if (Node201type === 'arc') {
- Node201BorderWidth *= 0;
- }
- Node201.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node201type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node201.setPosition(772*ratio.ratioX, 636*ratio.ratioY);
- Node201.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
- Node201.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node201.a('node.width', 27*_ratio.ratioX);
- Node201.a('node.height', 208*_ratio.ratioY);
- Node201.a('node.type', Node201type);
- Node201.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
- Node201.a('node.background', 'rgba(32,191,135,1)');
- Node201.a('node.gradientcolor', 'rgba(32,191,135,1)');
- Node201.a('node.gradient', '');
- Node201.a('node.borderwidth', Node201BorderWidth);
- Node201.a('node.color', 'rgba(0,0,0,0)');
- Node201.a('node.fillrect', [0,0,0,0]);
- Node201.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node201.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node201.a('node.fillgradient', '');
- if (Node201type !== 'rect') {
- Node201.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node201.a('node.arcTo', parseFloat('@arcTo@'));
- Node201.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node201type === 'arc') {
- Node201.a('node.arcOval', true);
- }
- Node201.setRotation(0*Math.PI/180);
- Node201.borderWidth = Node201BorderWidth;
- Node201.borderFillwidth = Node201BorderWidth;
- dataModel.add(Node201);
- Node201._nodename = 'Node201'
- Node201._nodeType = 'rect';
- zoomNodeList.push({
- node: Node201,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node201, Node201.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node202type = 'rect';
- var Node202 = new ht.Node(),
- Node202BorderWidth = 0*2;
- if (Node202type === 'arc') {
- Node202BorderWidth *= 0;
- }
- Node202.setImage(GD.getRectJSON(27*_ratio.ratioX, 208*_ratio.ratioY, Node202type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node202.setPosition(773*ratio.ratioX, 847*ratio.ratioY);
- Node202.setSize(27*_ratio.ratioX, 208*_ratio.ratioY);
- Node202.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node202.a('node.width', 27*_ratio.ratioX);
- Node202.a('node.height', 208*_ratio.ratioY);
- Node202.a('node.type', Node202type);
- Node202.a('node.rect', [0, 0, 27*_ratio.ratioX, 208*_ratio.ratioY]);
- Node202.a('node.background', 'rgba(32,191,135,1)');
- Node202.a('node.gradientcolor', 'rgba(32,191,135,1)');
- Node202.a('node.gradient', '');
- Node202.a('node.borderwidth', Node202BorderWidth);
- Node202.a('node.color', 'rgba(0,0,0,0)');
- Node202.a('node.fillrect', [0,0,0,0]);
- Node202.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node202.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node202.a('node.fillgradient', '');
- if (Node202type !== 'rect') {
- Node202.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node202.a('node.arcTo', parseFloat('@arcTo@'));
- Node202.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node202type === 'arc') {
- Node202.a('node.arcOval', true);
- }
- Node202.setRotation(0*Math.PI/180);
- Node202.borderWidth = Node202BorderWidth;
- Node202.borderFillwidth = Node202BorderWidth;
- dataModel.add(Node202);
- Node202._nodename = 'Node202'
- Node202._nodeType = 'rect';
- zoomNodeList.push({
- node: Node202,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node202, Node202.getImage());var Node203;
- var Node203_chart;
- var Node203dictags='';
- var Node203tags='';
- var Node203YAxisArr = [];
- var Node203TagsObjArr = [{"pvList":[],"visible":true,"name":"demo.DEMO_AI001","VarName":"demo.DEMO_AI001","Name":"demo.DEMO_AI001","Low":0.0,"High":100.0,"LineWid":1,"Col":"255, 0, 0","displayName":"","Unit":"","VisExp":"","TrendDrawType":0,"ShowScaleType":1,"Interval":1,"LimitValColList":[],"CrossLinePointType":0},{"pvList":[],"visible":true,"name":"demo.DEMO_AI002","VarName":"demo.DEMO_AI002","Name":"demo.DEMO_AI002","Low":0.0,"High":100.0,"LineWid":1,"Col":"0, 192, 0","displayName":"","Unit":"","VisExp":"","TrendDrawType":0,"ShowScaleType":1,"Interval":1,"LimitValColList":[],"CrossLinePointType":0}];
- var Node203TagsArr = [];
- var Node203TagDataArr = [],
- Node203UnitDicObj = {};
- var Node203isMultiYaxis = false,
- Node203isFreeRange = false;
- var Node203IntervalTimer;
- var Node203RefreshCount = 0;
- var Node203interval, Node203count, Node203pointInterval, Node203contextmenu;
- function Node203createYAxis (min, max, yAxiColor, gridlinewidth, show) {
- return {
- show: show,
- splitNumber:2,
- type: 'value',
- min:min,
- max:max,
- interval: parseInt((max - min) / 2) || 20,
- axisLine:{
- lineStyle:{
- color:yAxiColor
- }
- },
- splitLine:{
- show: true,
- lineStyle:{
- color:'rgba(192,192,192,1)' ,
- width:gridlinewidth,
- type:'solid'
- }
- },
- axisTick:{
- show:true,
- lineStyle:{
- color:yAxiColor
- }
- },
- axisLabel:{
- textStyle:{
- color:yAxiColor,
- fontSize:13.3333
- },
- formatter: function (value) {
- return value.toFixed(1);
- }
- }
- }
- }
- function Node203loadYAxis(tagsArr) {
- if (!tagsArr) return ;
- Node203dictags = {};
- Node203TagDataArr = [];
- Node203UnitDicObj = {};
- Node203YAxisArr.length = 0;
- var tag, yAxis, tempArr = [], leftCount = 0, rightCount = 0, hideCount = 0, hideWidth = 0, tagData, tagName;
- Node203Option.legend.data.length = 0;
- for (var i = 0, len = tagsArr.length; i < len; i++) {
- tag = tagsArr[i];
- tagData = {};
- if(Node203isMultiYaxis||Node203isFreeRange){
- yAxis = Node203createYAxis(tag.Low, tag.High, 'rgb('+ tag.Col +')', tag.LineWid, true);
- }else{
- yAxis = Node203createYAxis(0, 1000, 'rgba(105,105,105,1)', tag.LineWid, true);
- }
-
- if (tag.ShowScaleType === 0 ) {
- yAxis.show = false;
- yAxis.position = 'left';
- yAxis.offset = 0;
- hideCount ++;
- hideWidth += GD.measureCanvasText(yAxis.max, 13.3333+'px') + 10;
- } else if (tag.ShowScaleType === 1) {
- yAxis.position = 'left';
- yAxis.offset = leftCount * 60;
- leftCount++;
- } else if (tag.ShowScaleType === 2) {
- yAxis.position = 'right';
- yAxis.offset = rightCount * 60;
- rightCount ++;
- }
- if (Node203isFreeRange) {
- yAxis.max = function (value) {
- var t = Math.abs((value.max - value.min) * 0.2);
- t = t == 0 ? 10 : t;
- return Math.ceil(value.max + t);
- };
- yAxis.min = function (value) {
- var t = Math.abs((value.max - value.min) * 0.2);
- t = t == 0 ? 10 : t;
- return Math.floor(value.min - t);
- };
- hideCount = 0;
- }
- if (!Node203isMultiYaxis) {
- if (i === 0) {
- Node203YAxisArr.push(yAxis);
- hideCount = 0;
- }
- } else {
- Node203YAxisArr.push(yAxis);
- }
- if (tag.name) {
- tagName = tag.name;
- if (tagName.indexOf('+') !== -1) {
- tagName = GD.eval(tagName);
- }
- getVarValue(tagName);
- tempArr.push(tagName);
- tagData.name = tagName;
- tagData.displayName = tag.displayName;
- // Node203Option.legend.data[i] = tagData.displayName;
- Node203UnitDicObj[tagData.displayName] = tagData.Unit;
-
- Node203dictags[tagName] = tag.displayName;
- Node203dictags[tagName + 'index'] = i;
- }
- Node203TagDataArr.push(tagData);
- }
- Node203tags = tempArr.join(',');
- Node203TagsArr = tempArr;
- if (hideCount > 0 && Node203isMultiYaxis) {
- Node203Option.grid.left = (-1) * hideWidth;
- }
- }
- function Node203GetHistoryData(callback) {
- var Node203Now = Date.now();
- var Node203CmdStr = Node203tags + '&beginTime='+ moment(Node203Now-Node203interval*1000).format('YYYY-MM-DD HH:mm:ss') +'&endTime='+ moment(Node203Now).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node203pointInterval +'&count='+Node203count;
- GD.getHisTrendData(Node203CmdStr, function (data) {
- Node203SetupHistoryData(data);
- callback();
- });
- }
- function Node203SetupHistoryData(data) {
- var hisValues = data || {};
- var k = 0;
- var date = [];
- var test_data = {};
- var dictagdesc = Node203dictags,
- areaStyleShow = false;
- var option = Node203Option;
- option.legend && option.legend.data && (option.legend.data.length = 0);
- for (tag in hisValues) {
- test_data[tag] = [];
- option.series[k] = {};
- option.series[k].name = dictagdesc[tag];
- option.series[k].type = 'line';
- option.series[k].showSymbol = false;
- option.series[k].sampling = 'average';
- option.series[k].symbol = "none";
- option.series[k].animation = false;
- if (option.yAxis && option.yAxis.length > 1) {
- dictagdesc[tag + 'index'] && (option.series[k].yAxisIndex = dictagdesc[tag + 'index']);
- }
-
- if (areaStyleShow) {
- option.series[k].areaStyle = {
- normal: {}
- };
- }
- option.legend && option.legend.data && option.legend.data.push(dictagdesc[tag]);
- for (var i = 0; i < hisValues[tag].length; i++) {
- var time = hisValues[tag][i].Time;
- var timepts = time.split(' ');
- var timepars = timepts[0].split('/');
- if (timepars[1] < 10) {
- time = time.replace("/" + timepars[1] + "/",
- "/0" + timepars[1] + "/");
- }
- if (timepars[2] < 10) {
- time = time.replace("/" + timepars[2] + " ",
- "/0" + timepars[2] + " ");
- }
- //2017-04-01 15:34:28.000
- time = time.replace("/", "-");
- time = time.replace("/", "-");
- time = time.replace(" ", "T");
- var tagTime = moment(time).format();
- var tagValue = parseFloat(hisValues[tag][i].Value).toFixed(2);
- test_data[tag][i] = {
- name: tagTime,
- value: [
- tagTime,
- tagValue
- ]
- };
- }
- option.series[k].data = test_data[tag];
- k++;
- }
- Node203BindOption(option)
- }
- function Node203BindOption(option) {
- if (option.xAxis) {
- option.xAxis.interval = 600*1000 / 5;
- option.xAxis.max = Date.now() + (600 * (1-(0.666 || 1)) * 1000);
- }
- Node203_chart.setOption(option, true);
- }
- function Node203DisposeChart() {
- Node203contextmenu && Node203contextmenu.dispose();
- Node203_chart.dispose();
- }
- function Node203GetRealData() {
- var data, tag, newDate, series, currentdata, oldData;
- series = Node203Option.series;
- newDate = Date.now();
- for (var i = 0, l = Node203TagDataArr.length; i < l; i++) {
- data = Node203TagDataArr[i];
- if (!series[i]) continue;
- currentdata = series[i].data;
- oldData = currentdata.shift();
- oldData = oldData || {};
- oldData.name = moment(newDate).format('YYYY-MM-DD HH:mm:ss');
- if (oldData.value) {
- oldData.value[0] = newDate;
- oldData.value[1] = (getVarValue(data.name) - 0).toFixed(2);
- } else {
- oldData.value = [newDate, (getVarValue(data.name) - 0).toFixed(2)];
- }
- currentdata.push(oldData);
- if(series[i].data.length > 20000)
- {
- series[i].data.splice(0,series[i].data.length-20000);
- }
- }
- if (++ Node203RefreshCount > 900) {
- // 刷新超过半小时就重置一次
- Node203RefreshCount = 0;
- Node203DisposeChart();
- Node203InitChart();
- }
- Node203BindOption(Node203Option)
- }
- function Node203AutoRefresh() {
- Node203IntervalTimer && clearInterval(Node203IntervalTimer);
- // Node203IntervalTimer = setInterval(Node203GetRealData, 1000);
- Node203IntervalTimer = setInterval(Node203GetRealData, 1000);
- intervalTimers.push(Node203IntervalTimer);
- }
- function Node203InitChart () {
- Node203chart = new ht.Chart(Node203Option, 1114*ratio.ratioX, 178*ratio.ratioY);
- Node203.setHtml(Node203chart);
- Node203_chart = Node203chart._chart;
- window.Node203_chart = Node203_chart;
- Node203chart._chart.getZr().on('mousewheel', function () {
- Node203IntervalTimer && clearInterval(Node203IntervalTimer);
- });
- setTimeout(function () {
- var contextmenu = new ht.widget.ContextMenu(),
- items = [
- {
- label: '重置',
- action: function (e) {
- Node203GetHistoryData(Node203AutoRefresh);
- }
- }
- ]
- contextmenu.beforeShow = function (e) {
- this.setItems(items);
- }
- contextmenu.addTo(Node203chart.getView());
- Node203contextmenu = contextmenu;
- }, 500)
- }
- function Node203Init() {
- Node203loadYAxis(Node203TagsObjArr);
- Node203 = new ht.HtmlNode();
- Node203.setPosition({'x':1357*ratio.ratioX,'y':845*ratio.ratioY});
- Node203.setWidth(1114*ratio.ratioX);
- Node203.setHeight(178*ratio.ratioY);
- Node203.setScalable(false);
- Node203.s({
- '2d.selectable': false,
- '2d.movable': false
- });
- Node203InitChart();
- dataModel.add(Node203);
- Node203interval=600;
- if(Node203interval>3000){
- Node203count=3000;
- Node203pointInterval = Math.ceil(Node203interval / 3000);
- } else {
- Node203count = Node203interval;
- Node203pointInterval = 1;
- }
- Node203GetHistoryData(Node203AutoRefresh);
- }
- var Node203Option = {
- color:['rgba(255,0,0,1)','rgba(0,192,0,1)'],
- tooltip: {
- trigger: 'axis',
- position: function (pt) {
- return [pt[0], '10%'];
- },
- // backgroundColor:"@toolticpback@",
- backgroundColor: 'rgba(32,178,170,1)',
- borderWidth: 1,
- borderColor: 'rgba(32,178,170,1)',
- textStyle: {
- color: 'rgba(211,211,211,1)',
- fontFamily: 'Arail',
- fontSize: 13
- },
- formatter: function (params) {
- var result = '', p, unit;
- if (params && params.length <= 0) {
- return ;
- }
- result = '<span>'+ moment(params[0].axisValue).format('YYYY-MM-DD hh:mm:ss') +'</span><br>'
- for (var i = 0, len = params.length; i < len; i++) {
- p = params[i] || {};
- p.value = p.value || [];
- unit = Node203UnitDicObj[p.seriesName];
- unit = unit ? ' ('+ unit +')' : '';
- result += p.marker + '<span style="color:'+ p.color +';">' + p.seriesName + ' : ' + p.value[1] + unit + '</span><br>'
- }
- return result;
- }
- },
- legend: {
- show:true,
- top:'top',
- left:'center',
- data:[],
- textStyle:{
- fontSize:10.66664,
- color: 'rgba(105,105,105,1)',
- fontWeight: 'bold',
- fontFamily :'Arial'
- },
- inactiveColor: 'rgba(102,121,161,1)',
- icon: 'roundRect',
- itemWidth: 16,
- itemHeight: 16
- },
- grid: {
- left: '2%',
- right: '3%',
- bottom:'2%',
- top:true ? '25px' : '5%',
- show:false,
- containLabel: true,
- backgroundColor:'rgba(211,211,211,1)'
- },
- xAxis: {
- splitNumber:5,
- type : 'time',
- boundaryGap : false,
- axisLine:{
- lineStyle:{
- color:'rgba(211,211,211,1)'
- }
- },
- splitLine: {
- show: false,
- lineStyle: {
- color: 'rgba(192,192,192,1)',
- width:1,
- type:'solid'
- },
- },
- axisTick:{
- show:true,
- lineStyle:{
- color:'rgba(211,211,211,1)'
- }
- },
- axisLabel:{
- show:true,
- textStyle:{
- color:"rgba(211,211,211,1)",
- fontSize:"13.3333"
- },
- formatter:function(value){return moment(value).format('HH:mm:ss');}
- }
- },
- yAxis: Node203YAxisArr,
- dataZoom: [
- {
- show: false,
- realtime: true,
- start: 0,
- end: 100
- },
- {
- type: 'inside',
- realtime: true,
- start: 0,
- end: 100
- }
- ],
- series: []
- };
- function Node203StartGetRealData() {
- Node203IntervalTimer && clearInterval(Node203IntervalTimer);
- // Node203IntervalTimer = setInterval(Node203GetRealData, 1000);
- Node203IntervalTimer = setInterval(Node203RefreshData, 1000);
- intervalTimers.push(Node203IntervalTimer);
- };
- Node203Init();
- function Node203SetOption (varList,beginTime){
- var dateNow = Date.now();
- beginTime = beginTime || moment(dateNow-Node203interval*1000).format('YYYY-MM-DD HH:mm:ss');
- Node203CmdStr = varList + '&beginTime='+ beginTime +'&endTime='+ moment(dateNow).format('YYYY-MM-DD HH:mm:ss') +'&interval='+ Node203pointInterval +'&count='+Node203count;
- getHisTrendData(Node203CmdStr,
- function(data){
- Node203SetupHistoryData(data);
- Node203AutoRefresh();
- }
- );
- };
- function Node203EquipSure() {
- Node203loadYAxis(Node203TagsObjArr);
- Node203GetHistoryData(Node203AutoRefresh);
- };_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node204 = new ht.Node();
- var Node204textStart, Node204textWidth, Node204lineStart, Node204align = 'center', Node204fontSize = 13.3333*_ratio.ratioY,Node204width = 9*_ratio.ratioX, Node204height = 40*_ratio.ratioY;
- (function () {
- if (Node204align === 'left') {
- Node204textStart = Node204fontSize * 0.2 > 2 ? Node204fontSize * 0.2 - 4 : Node204fontSize * 0.2 - 9;
- Node204textWidth = Node204width;
- Node204lineStart = 1;
- } else if (Node204align === 'right') {
- Node204textStart = 0;
- Node204textWidth =Node204fontSize <= 8 ? Node204width + Node204fontSize * 0.2 + 6 : Node204width - Node204fontSize * 0.2;
- Node204lineStart = (Node204width - (ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node204align === 'center') {
- Node204textStart = -3;
- Node204textWidth = Node204width;
- Node204lineStart = Node204width - ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node204.setImage(GD.getTextJSON(Node204width, Node204height, false, true, false, ' '+ Node204fontSize + 'px "Arial"'))
- Node204.setPosition(771*ratio.ratioX, 264*ratio.ratioY);
- Node204.setWidth(Node204width);
- Node204.setHeight(Node204height);
- Node204._nodeType = 'text';
- Node204._disallowEvert = true;
- Node204.setRotation(0*Math.PI/180);
- Node204.a('node.width', Node204width);
- Node204.a('node.height', Node204height);
- Node204.a('node.rect', [0, 0, Node204width, Node204height]);
- Node204.a('node.bordercolor','rgba(255,255,255,1)');
- Node204.a('node.borderwidth', 0);
- Node204.a('node.background','' || 'rgba(0,0,0,0)');
- Node204.a('node.gradient','');
- Node204.a('node.gradientcolor','');
- Node204.a('node.text','风机状态');
- Node204.a('node.textalign','center');
- Node204.a('node.textvAlign','middle');
- Node204.a('node.textrect', [Node204textStart, 0, Node204textWidth, Node204height]);
- Node204.a('node.color','rgba(255,255,255,1)');
- Node204.a('node.font',' '+ Node204fontSize + 'px "Arial"');
- Node204.a('node.textvisible',false);
- Node204.a('node.linefeed',true);
- if (true) {
- Node204.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node204.a('node.text') || '风机状态';
- var color=Node204.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node204width,Node204height,13.3333*_ratio.ratioY,"center",color,' '+ Node204fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node204.a('node.underlinepoints',[Node204lineStart, (40 - 13.3333) * 0.5 * _ratio.ratioY + Node204fontSize + 2 , ht.Default.getTextSize('风机状态', ' '+ Node204fontSize + 'px "Arial"').width + 6, (Node204height - Node204fontSize) * 0.5*_ratio.ratioY + Node204fontSize + 2 ]);
- Node204.a('node.underlinevisible',false);
- Node204.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node204);
- zoomNodeList.push({
- node: Node204,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node205 = new ht.Node();
- var Node205textStart, Node205textWidth, Node205lineStart, Node205align = 'center', Node205fontSize = 13.3333*_ratio.ratioY,Node205width = 9*_ratio.ratioX, Node205height = 94*_ratio.ratioY;
- (function () {
- if (Node205align === 'left') {
- Node205textStart = Node205fontSize * 0.2 > 2 ? Node205fontSize * 0.2 - 4 : Node205fontSize * 0.2 - 9;
- Node205textWidth = Node205width;
- Node205lineStart = 1;
- } else if (Node205align === 'right') {
- Node205textStart = 0;
- Node205textWidth =Node205fontSize <= 8 ? Node205width + Node205fontSize * 0.2 + 6 : Node205width - Node205fontSize * 0.2;
- Node205lineStart = (Node205width - (ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node205align === 'center') {
- Node205textStart = -3;
- Node205textWidth = Node205width;
- Node205lineStart = Node205width - ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node205.setImage(GD.getTextJSON(Node205width, Node205height, false, true, false, ' '+ Node205fontSize + 'px "Arial"'))
- Node205.setPosition(771*ratio.ratioX, 409*ratio.ratioY);
- Node205.setWidth(Node205width);
- Node205.setHeight(Node205height);
- Node205._nodeType = 'text';
- Node205._disallowEvert = true;
- Node205.setRotation(0*Math.PI/180);
- Node205.a('node.width', Node205width);
- Node205.a('node.height', Node205height);
- Node205.a('node.rect', [0, 0, Node205width, Node205height]);
- Node205.a('node.bordercolor','rgba(255,255,255,1)');
- Node205.a('node.borderwidth', 0);
- Node205.a('node.background','' || 'rgba(0,0,0,0)');
- Node205.a('node.gradient','');
- Node205.a('node.gradientcolor','');
- Node205.a('node.text','日发电量');
- Node205.a('node.textalign','center');
- Node205.a('node.textvAlign','middle');
- Node205.a('node.textrect', [Node205textStart, 0, Node205textWidth, Node205height]);
- Node205.a('node.color','rgba(255,255,255,1)');
- Node205.a('node.font',' '+ Node205fontSize + 'px "Arial"');
- Node205.a('node.textvisible',false);
- Node205.a('node.linefeed',true);
- if (true) {
- Node205.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node205.a('node.text') || '日发电量';
- var color=Node205.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node205width,Node205height,13.3333*_ratio.ratioY,"center",color,' '+ Node205fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node205.a('node.underlinepoints',[Node205lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node205fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node205fontSize + 'px "Arial"').width + 6, (Node205height - Node205fontSize) * 0.5*_ratio.ratioY + Node205fontSize + 2 ]);
- Node205.a('node.underlinevisible',false);
- Node205.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node205);
- zoomNodeList.push({
- node: Node205,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node206 = new ht.Node();
- var Node206textStart, Node206textWidth, Node206lineStart, Node206align = 'center', Node206fontSize = 13.3333*_ratio.ratioY,Node206width = 9*_ratio.ratioX, Node206height = 94*_ratio.ratioY;
- (function () {
- if (Node206align === 'left') {
- Node206textStart = Node206fontSize * 0.2 > 2 ? Node206fontSize * 0.2 - 4 : Node206fontSize * 0.2 - 9;
- Node206textWidth = Node206width;
- Node206lineStart = 1;
- } else if (Node206align === 'right') {
- Node206textStart = 0;
- Node206textWidth =Node206fontSize <= 8 ? Node206width + Node206fontSize * 0.2 + 6 : Node206width - Node206fontSize * 0.2;
- Node206lineStart = (Node206width - (ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node206align === 'center') {
- Node206textStart = -3;
- Node206textWidth = Node206width;
- Node206lineStart = Node206width - ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node206.setImage(GD.getTextJSON(Node206width, Node206height, false, true, false, ' '+ Node206fontSize + 'px "Arial"'))
- Node206.setPosition(1371*ratio.ratioX, 399*ratio.ratioY);
- Node206.setWidth(Node206width);
- Node206.setHeight(Node206height);
- Node206._nodeType = 'text';
- Node206._disallowEvert = true;
- Node206.setRotation(0*Math.PI/180);
- Node206.a('node.width', Node206width);
- Node206.a('node.height', Node206height);
- Node206.a('node.rect', [0, 0, Node206width, Node206height]);
- Node206.a('node.bordercolor','rgba(255,255,255,1)');
- Node206.a('node.borderwidth', 0);
- Node206.a('node.background','' || 'rgba(0,0,0,0)');
- Node206.a('node.gradient','');
- Node206.a('node.gradientcolor','');
- Node206.a('node.text','风机负荷');
- Node206.a('node.textalign','center');
- Node206.a('node.textvAlign','middle');
- Node206.a('node.textrect', [Node206textStart, 0, Node206textWidth, Node206height]);
- Node206.a('node.color','rgba(255,255,255,1)');
- Node206.a('node.font',' '+ Node206fontSize + 'px "Arial"');
- Node206.a('node.textvisible',false);
- Node206.a('node.linefeed',true);
- if (true) {
- Node206.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node206.a('node.text') || '风机负荷';
- var color=Node206.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node206width,Node206height,13.3333*_ratio.ratioY,"center",color,' '+ Node206fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node206.a('node.underlinepoints',[Node206lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node206fontSize + 2 , ht.Default.getTextSize('风机负荷', ' '+ Node206fontSize + 'px "Arial"').width + 6, (Node206height - Node206fontSize) * 0.5*_ratio.ratioY + Node206fontSize + 2 ]);
- Node206.a('node.underlinevisible',false);
- Node206.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node206);
- zoomNodeList.push({
- node: Node206,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node207 = new ht.Node();
- var Node207textStart, Node207textWidth, Node207lineStart, Node207align = 'center', Node207fontSize = 13.3333*_ratio.ratioY,Node207width = 9*_ratio.ratioX, Node207height = 94*_ratio.ratioY;
- (function () {
- if (Node207align === 'left') {
- Node207textStart = Node207fontSize * 0.2 > 2 ? Node207fontSize * 0.2 - 4 : Node207fontSize * 0.2 - 9;
- Node207textWidth = Node207width;
- Node207lineStart = 1;
- } else if (Node207align === 'right') {
- Node207textStart = 0;
- Node207textWidth =Node207fontSize <= 8 ? Node207width + Node207fontSize * 0.2 + 6 : Node207width - Node207fontSize * 0.2;
- Node207lineStart = (Node207width - (ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node207align === 'center') {
- Node207textStart = -3;
- Node207textWidth = Node207width;
- Node207lineStart = Node207width - ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node207.setImage(GD.getTextJSON(Node207width, Node207height, false, true, false, ' '+ Node207fontSize + 'px "Arial"'))
- Node207.setPosition(771*ratio.ratioX, 619*ratio.ratioY);
- Node207.setWidth(Node207width);
- Node207.setHeight(Node207height);
- Node207._nodeType = 'text';
- Node207._disallowEvert = true;
- Node207.setRotation(0*Math.PI/180);
- Node207.a('node.width', Node207width);
- Node207.a('node.height', Node207height);
- Node207.a('node.rect', [0, 0, Node207width, Node207height]);
- Node207.a('node.bordercolor','rgba(255,255,255,1)');
- Node207.a('node.borderwidth', 0);
- Node207.a('node.background','' || 'rgba(0,0,0,0)');
- Node207.a('node.gradient','');
- Node207.a('node.gradientcolor','');
- Node207.a('node.text','月发电量');
- Node207.a('node.textalign','center');
- Node207.a('node.textvAlign','middle');
- Node207.a('node.textrect', [Node207textStart, 0, Node207textWidth, Node207height]);
- Node207.a('node.color','rgba(255,255,255,1)');
- Node207.a('node.font',' '+ Node207fontSize + 'px "Arial"');
- Node207.a('node.textvisible',false);
- Node207.a('node.linefeed',true);
- if (true) {
- Node207.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node207.a('node.text') || '月发电量';
- var color=Node207.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node207width,Node207height,13.3333*_ratio.ratioY,"center",color,' '+ Node207fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node207.a('node.underlinepoints',[Node207lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node207fontSize + 2 , ht.Default.getTextSize('月发电量', ' '+ Node207fontSize + 'px "Arial"').width + 6, (Node207height - Node207fontSize) * 0.5*_ratio.ratioY + Node207fontSize + 2 ]);
- Node207.a('node.underlinevisible',false);
- Node207.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node207);
- zoomNodeList.push({
- node: Node207,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node208 = new ht.Node();
- var Node208textStart, Node208textWidth, Node208lineStart, Node208align = 'center', Node208fontSize = 13.3333*_ratio.ratioY,Node208width = 9*_ratio.ratioX, Node208height = 94*_ratio.ratioY;
- (function () {
- if (Node208align === 'left') {
- Node208textStart = Node208fontSize * 0.2 > 2 ? Node208fontSize * 0.2 - 4 : Node208fontSize * 0.2 - 9;
- Node208textWidth = Node208width;
- Node208lineStart = 1;
- } else if (Node208align === 'right') {
- Node208textStart = 0;
- Node208textWidth =Node208fontSize <= 8 ? Node208width + Node208fontSize * 0.2 + 6 : Node208width - Node208fontSize * 0.2;
- Node208lineStart = (Node208width - (ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node208align === 'center') {
- Node208textStart = -3;
- Node208textWidth = Node208width;
- Node208lineStart = Node208width - ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node208.setImage(GD.getTextJSON(Node208width, Node208height, false, true, false, ' '+ Node208fontSize + 'px "Arial"'))
- Node208.setPosition(771*ratio.ratioX, 839*ratio.ratioY);
- Node208.setWidth(Node208width);
- Node208.setHeight(Node208height);
- Node208._nodeType = 'text';
- Node208._disallowEvert = true;
- Node208.setRotation(0*Math.PI/180);
- Node208.a('node.width', Node208width);
- Node208.a('node.height', Node208height);
- Node208.a('node.rect', [0, 0, Node208width, Node208height]);
- Node208.a('node.bordercolor','rgba(255,255,255,1)');
- Node208.a('node.borderwidth', 0);
- Node208.a('node.background','' || 'rgba(0,0,0,0)');
- Node208.a('node.gradient','');
- Node208.a('node.gradientcolor','');
- Node208.a('node.text','功率曲线');
- Node208.a('node.textalign','center');
- Node208.a('node.textvAlign','middle');
- Node208.a('node.textrect', [Node208textStart, 0, Node208textWidth, Node208height]);
- Node208.a('node.color','rgba(255,255,255,1)');
- Node208.a('node.font',' '+ Node208fontSize + 'px "Arial"');
- Node208.a('node.textvisible',false);
- Node208.a('node.linefeed',true);
- if (true) {
- Node208.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node208.a('node.text') || '功率曲线';
- var color=Node208.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node208width,Node208height,13.3333*_ratio.ratioY,"center",color,' '+ Node208fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node208.a('node.underlinepoints',[Node208lineStart, (94 - 13.3333) * 0.5 * _ratio.ratioY + Node208fontSize + 2 , ht.Default.getTextSize('功率曲线', ' '+ Node208fontSize + 'px "Arial"').width + 6, (Node208height - Node208fontSize) * 0.5*_ratio.ratioY + Node208fontSize + 2 ]);
- Node208.a('node.underlinevisible',false);
- Node208.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node208);
- zoomNodeList.push({
- node: Node208,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio);
- var Node209 = new ht.Node();
- var Node209textStart, Node209textWidth, Node209lineStart, Node209align = 'left', Node209fontSize = 13.3333*_ratio.ratioY,Node209width = 89*_ratio.ratioX, Node209height = 25*_ratio.ratioY;
- (function () {
- if (Node209align === 'left') {
- Node209textStart = Node209fontSize * 0.2 > 2 ? Node209fontSize * 0.2 - 4 : Node209fontSize * 0.2 - 9;
- Node209textWidth = Node209width;
- Node209lineStart = 1;
- } else if (Node209align === 'right') {
- Node209textStart = 0;
- Node209textWidth =Node209fontSize <= 8 ? Node209width + Node209fontSize * 0.2 + 6 : Node209width - Node209fontSize * 0.2;
- Node209lineStart = (Node209width - (ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node209align === 'center') {
- Node209textStart = -3;
- Node209textWidth = Node209width;
- Node209lineStart = Node209width - ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node209.setImage(GD.getTextJSON(Node209width, Node209height, false, true, false, ' '+ Node209fontSize + 'px "Arial"'))
- Node209.setPosition(796*ratio.ratioX, 412*ratio.ratioY);
- Node209.setWidth(Node209width);
- Node209.setHeight(Node209height);
- Node209._nodeType = 'text';
- Node209._disallowEvert = true;
- Node209.setRotation(-89.47369*Math.PI/180);
- Node209.a('node.width', Node209width);
- Node209.a('node.height', Node209height);
- Node209.a('node.rect', [0, 0, Node209width, Node209height]);
- Node209.a('node.bordercolor','rgba(0,0,0,1)');
- Node209.a('node.borderwidth', 0);
- Node209.a('node.background','' || 'rgba(0,0,0,0)');
- Node209.a('node.gradient','');
- Node209.a('node.gradientcolor','');
- Node209.a('node.text','电量(万kwh)');
- Node209.a('node.textalign','left');
- Node209.a('node.textvAlign','middle');
- Node209.a('node.textrect', [Node209textStart, 0, Node209textWidth, Node209height]);
- Node209.a('node.color','rgba(0,0,0,1)');
- Node209.a('node.font',' '+ Node209fontSize + 'px "Arial"');
- Node209.a('node.textvisible',false);
- Node209.a('node.linefeed',true);
- if (true) {
- Node209.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node209.a('node.text') || '电量(万kwh)';
- var color=Node209.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node209width,Node209height,13.3333*_ratio.ratioY,"left",color,' '+ Node209fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node209.a('node.underlinepoints',[Node209lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node209fontSize + 2 , ht.Default.getTextSize('电量(万kwh)', ' '+ Node209fontSize + 'px "Arial"').width + 6, (Node209height - Node209fontSize) * 0.5*_ratio.ratioY + Node209fontSize + 2 ]);
- Node209.a('node.underlinevisible',false);
- Node209.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node209);
- zoomNodeList.push({
- node: Node209,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node210type = 'rect';
- var Node210 = new ht.Node(),
- Node210BorderWidth = 1*2;
- if (Node210type === 'arc') {
- Node210BorderWidth *= 1;
- }
- Node210.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node210type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node210.setPosition(796*ratio.ratioX, 482*ratio.ratioY);
- Node210.setSize(20*_ratio.ratioX, 20*_ratio.ratioY);
- Node210.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node210.a('node.width', 20*_ratio.ratioX);
- Node210.a('node.height', 20*_ratio.ratioY);
- Node210.a('node.type', Node210type);
- Node210.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]);
- Node210.a('node.background', 'rgba(118,184,244,1)');
- Node210.a('node.gradientcolor', 'rgba(118,184,244,1)');
- Node210.a('node.gradient', '');
- Node210.a('node.borderwidth', Node210BorderWidth);
- Node210.a('node.color', 'rgba(0,0,0,1)');
- Node210.a('node.fillrect', [0,0,0,0]);
- Node210.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node210.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node210.a('node.fillgradient', '');
- if (Node210type !== 'rect') {
- Node210.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node210.a('node.arcTo', parseFloat('@arcTo@'));
- Node210.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node210type === 'arc') {
- Node210.a('node.arcOval', true);
- }
- Node210.setRotation(0*Math.PI/180);
- Node210.borderWidth = Node210BorderWidth;
- Node210.borderFillwidth = Node210BorderWidth;
- dataModel.add(Node210);
- Node210._nodename = 'Node210'
- Node210._nodeType = 'rect';
- zoomNodeList.push({
- node: Node210,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node210, Node210.getImage());_ratio = GD.getRatioWithRotation(-89.47369*Math.PI/180, ratio);
- var Node211_0 = new ht.Node();
- var Node211_0textStart, Node211_0textWidth, Node211_0lineStart, Node211_0align = 'left', Node211_0fontSize = 13.3333*_ratio.ratioY,Node211_0width = 79*_ratio.ratioX, Node211_0height = 25*_ratio.ratioY;
- (function () {
- if (Node211_0align === 'left') {
- Node211_0textStart = Node211_0fontSize * 0.2 > 2 ? Node211_0fontSize * 0.2 - 4 : Node211_0fontSize * 0.2 - 9;
- Node211_0textWidth = Node211_0width;
- Node211_0lineStart = 1;
- } else if (Node211_0align === 'right') {
- Node211_0textStart = 0;
- Node211_0textWidth =Node211_0fontSize <= 8 ? Node211_0width + Node211_0fontSize * 0.2 + 6 : Node211_0width - Node211_0fontSize * 0.2;
- Node211_0lineStart = (Node211_0width - (ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node211_0align === 'center') {
- Node211_0textStart = -3;
- Node211_0textWidth = Node211_0width;
- Node211_0lineStart = Node211_0width - ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node211_0.setImage(GD.getTextJSON(Node211_0width, Node211_0height, false, true, false, ' '+ Node211_0fontSize + 'px "Arial"'))
- Node211_0.setPosition(1344*ratio.ratioX, 407*ratio.ratioY);
- Node211_0.setWidth(Node211_0width);
- Node211_0.setHeight(Node211_0height);
- Node211_0._nodeType = 'text';
- Node211_0._disallowEvert = true;
- Node211_0.setRotation(-89.47369*Math.PI/180);
- Node211_0.a('node.width', Node211_0width);
- Node211_0.a('node.height', Node211_0height);
- Node211_0.a('node.rect', [0, 0, Node211_0width, Node211_0height]);
- Node211_0.a('node.bordercolor','rgba(0,0,0,1)');
- Node211_0.a('node.borderwidth', 0);
- Node211_0.a('node.background','' || 'rgba(0,0,0,0)');
- Node211_0.a('node.gradient','');
- Node211_0.a('node.gradientcolor','');
- Node211_0.a('node.text','风速(m/s)');
- Node211_0.a('node.textalign','left');
- Node211_0.a('node.textvAlign','middle');
- Node211_0.a('node.textrect', [Node211_0textStart, 0, Node211_0textWidth, Node211_0height]);
- Node211_0.a('node.color','rgba(0,0,0,1)');
- Node211_0.a('node.font',' '+ Node211_0fontSize + 'px "Arial"');
- Node211_0.a('node.textvisible',false);
- Node211_0.a('node.linefeed',true);
- if (true) {
- Node211_0.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node211_0.a('node.text') || '风速(m/s)';
- var color=Node211_0.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node211_0width,Node211_0height,13.3333*_ratio.ratioY,"left",color,' '+ Node211_0fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node211_0.a('node.underlinepoints',[Node211_0lineStart, (25 - 13.3333) * 0.5 * _ratio.ratioY + Node211_0fontSize + 2 , ht.Default.getTextSize('风速(m/s)', ' '+ Node211_0fontSize + 'px "Arial"').width + 6, (Node211_0height - Node211_0fontSize) * 0.5*_ratio.ratioY + Node211_0fontSize + 2 ]);
- Node211_0.a('node.underlinevisible',false);
- Node211_0.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node211_0);
- zoomNodeList.push({
- node: Node211_0,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node211_1type = 'rect';
- var Node211_1 = new ht.Node(),
- Node211_1BorderWidth = 1*2;
- if (Node211_1type === 'arc') {
- Node211_1BorderWidth *= 1;
- }
- Node211_1.setImage(GD.getRectJSON(20*_ratio.ratioX, 20*_ratio.ratioY, Node211_1type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node211_1.setPosition(1344*ratio.ratioX, 458*ratio.ratioY);
- Node211_1.setSize(20*_ratio.ratioX, 20*_ratio.ratioY);
- Node211_1.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node211_1.a('node.width', 20*_ratio.ratioX);
- Node211_1.a('node.height', 20*_ratio.ratioY);
- Node211_1.a('node.type', Node211_1type);
- Node211_1.a('node.rect', [0, 0, 20*_ratio.ratioX, 20*_ratio.ratioY]);
- Node211_1.a('node.background', 'rgba(249,126,95,1)');
- Node211_1.a('node.gradientcolor', 'rgba(249,126,95,1)');
- Node211_1.a('node.gradient', '');
- Node211_1.a('node.borderwidth', Node211_1BorderWidth);
- Node211_1.a('node.color', 'rgba(0,0,0,1)');
- Node211_1.a('node.fillrect', [0,0,0,0]);
- Node211_1.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node211_1.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node211_1.a('node.fillgradient', '');
- if (Node211_1type !== 'rect') {
- Node211_1.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node211_1.a('node.arcTo', parseFloat('@arcTo@'));
- Node211_1.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node211_1type === 'arc') {
- Node211_1.a('node.arcOval', true);
- }
- Node211_1.setRotation(0*Math.PI/180);
- Node211_1.borderWidth = Node211_1BorderWidth;
- Node211_1.borderFillwidth = Node211_1BorderWidth;
- dataModel.add(Node211_1);
- Node211_1._nodename = 'Node211_1'
- Node211_1._nodeType = 'rect';
- zoomNodeList.push({
- node: Node211_1,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node211_1, Node211_1.getImage());var Node212;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//indexblack.png', PAGEROOTDIR + 'image//img//indexblack.png');
- Node212 = new ht.Node();
- Node212.setPosition(1771*ratio.ratioX, 281*ratio.ratioY);
- Node212.setSize(52*ratioX, 78*ratioY);
- Node212.setImage('imgimage//img//indexblack.png');
- Node212.setRotation(0*Math.PI/180);
- Node212._zoomBy = 'Default';
- Node212._nodeType = 'image';
- Node212._disallowEvert = true;
- dataModel.add(Node212);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node213type = 'rect';
- var Node213 = new ht.Node(),
- Node213BorderWidth = 1*2;
- if (Node213type === 'arc') {
- Node213BorderWidth *= 1;
- }
- Node213.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node213type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node213.setPosition(1824*ratio.ratioX, 559*ratio.ratioY);
- Node213.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
- Node213.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node213.a('node.width', 15*_ratio.ratioX);
- Node213.a('node.height', 15*_ratio.ratioY);
- Node213.a('node.type', Node213type);
- Node213.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
- Node213.a('node.background', 'rgba(0,255,255,1)');
- Node213.a('node.gradientcolor', 'rgba(0,255,255,1)');
- Node213.a('node.gradient', '');
- Node213.a('node.borderwidth', Node213BorderWidth);
- Node213.a('node.color', 'rgba(0,0,0,1)');
- Node213.a('node.fillrect', [0,0,0,0]);
- Node213.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node213.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node213.a('node.fillgradient', '');
- if (Node213type !== 'rect') {
- Node213.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node213.a('node.arcTo', parseFloat('@arcTo@'));
- Node213.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node213type === 'arc') {
- Node213.a('node.arcOval', true);
- }
- Node213.setRotation(0*Math.PI/180);
- Node213.borderWidth = Node213BorderWidth;
- Node213.borderFillwidth = Node213BorderWidth;
- dataModel.add(Node213);
- Node213._nodename = 'Node213'
- Node213._nodeType = 'rect';
- zoomNodeList.push({
- node: Node213,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node213, Node213.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node214 = new ht.Node();
- var Node214textStart, Node214textWidth, Node214lineStart, Node214align = 'left', Node214fontSize = 10.66664*_ratio.ratioY,Node214width = 45*_ratio.ratioX, Node214height = 25*_ratio.ratioY;
- (function () {
- if (Node214align === 'left') {
- Node214textStart = Node214fontSize * 0.2 > 2 ? Node214fontSize * 0.2 - 4 : Node214fontSize * 0.2 - 9;
- Node214textWidth = Node214width;
- Node214lineStart = 1;
- } else if (Node214align === 'right') {
- Node214textStart = 0;
- Node214textWidth =Node214fontSize <= 8 ? Node214width + Node214fontSize * 0.2 + 6 : Node214width - Node214fontSize * 0.2;
- Node214lineStart = (Node214width - (ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node214align === 'center') {
- Node214textStart = -3;
- Node214textWidth = Node214width;
- Node214lineStart = Node214width - ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node214.setImage(GD.getTextJSON(Node214width, Node214height, true, false, false, ' '+ Node214fontSize + 'px "Arial"'))
- Node214.setPosition(1859*ratio.ratioX, 559*ratio.ratioY);
- Node214.setWidth(Node214width);
- Node214.setHeight(Node214height);
- Node214._nodeType = 'text';
- Node214._disallowEvert = true;
- Node214.setRotation(0*Math.PI/180);
- Node214.a('node.width', Node214width);
- Node214.a('node.height', Node214height);
- Node214.a('node.rect', [0, 0, Node214width, Node214height]);
- Node214.a('node.bordercolor','rgba(0,0,0,1)');
- Node214.a('node.borderwidth', 0);
- Node214.a('node.background','' || 'rgba(0,0,0,0)');
- Node214.a('node.gradient','');
- Node214.a('node.gradientcolor','');
- Node214.a('node.text','2016年');
- Node214.a('node.textalign','left');
- Node214.a('node.textvAlign','middle');
- Node214.a('node.textrect', [Node214textStart, 0, Node214textWidth, Node214height]);
- Node214.a('node.color','rgba(0,0,0,1)');
- Node214.a('node.font',' '+ Node214fontSize + 'px "Arial"');
- Node214.a('node.textvisible',true);
- Node214.a('node.linefeed',false);
- if (false) {
- Node214.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node214.a('node.text') || '2016年';
- var color=Node214.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node214width,Node214height,10.66664*_ratio.ratioY,"left",color,' '+ Node214fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node214.a('node.underlinepoints',[Node214lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node214fontSize + 2 , ht.Default.getTextSize('2016年', ' '+ Node214fontSize + 'px "Arial"').width + 6, (Node214height - Node214fontSize) * 0.5*_ratio.ratioY + Node214fontSize + 2 ]);
- Node214.a('node.underlinevisible',false);
- Node214.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node214);
- zoomNodeList.push({
- node: Node214,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node215type = 'rect';
- var Node215 = new ht.Node(),
- Node215BorderWidth = 1*2;
- if (Node215type === 'arc') {
- Node215BorderWidth *= 1;
- }
- Node215.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node215type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node215.setPosition(1824*ratio.ratioX, 579*ratio.ratioY);
- Node215.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
- Node215.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node215.a('node.width', 15*_ratio.ratioX);
- Node215.a('node.height', 15*_ratio.ratioY);
- Node215.a('node.type', Node215type);
- Node215.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
- Node215.a('node.background', 'rgba(255,255,128,1)');
- Node215.a('node.gradientcolor', 'rgba(255,255,128,1)');
- Node215.a('node.gradient', '');
- Node215.a('node.borderwidth', Node215BorderWidth);
- Node215.a('node.color', 'rgba(0,0,0,1)');
- Node215.a('node.fillrect', [0,0,0,0]);
- Node215.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node215.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node215.a('node.fillgradient', '');
- if (Node215type !== 'rect') {
- Node215.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node215.a('node.arcTo', parseFloat('@arcTo@'));
- Node215.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node215type === 'arc') {
- Node215.a('node.arcOval', true);
- }
- Node215.setRotation(0*Math.PI/180);
- Node215.borderWidth = Node215BorderWidth;
- Node215.borderFillwidth = Node215BorderWidth;
- dataModel.add(Node215);
- Node215._nodename = 'Node215'
- Node215._nodeType = 'rect';
- zoomNodeList.push({
- node: Node215,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node215, Node215.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node216 = new ht.Node();
- var Node216textStart, Node216textWidth, Node216lineStart, Node216align = 'left', Node216fontSize = 10.66664*_ratio.ratioY,Node216width = 45*_ratio.ratioX, Node216height = 25*_ratio.ratioY;
- (function () {
- if (Node216align === 'left') {
- Node216textStart = Node216fontSize * 0.2 > 2 ? Node216fontSize * 0.2 - 4 : Node216fontSize * 0.2 - 9;
- Node216textWidth = Node216width;
- Node216lineStart = 1;
- } else if (Node216align === 'right') {
- Node216textStart = 0;
- Node216textWidth =Node216fontSize <= 8 ? Node216width + Node216fontSize * 0.2 + 6 : Node216width - Node216fontSize * 0.2;
- Node216lineStart = (Node216width - (ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node216align === 'center') {
- Node216textStart = -3;
- Node216textWidth = Node216width;
- Node216lineStart = Node216width - ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node216.setImage(GD.getTextJSON(Node216width, Node216height, true, false, false, ' '+ Node216fontSize + 'px "Arial"'))
- Node216.setPosition(1859*ratio.ratioX, 579*ratio.ratioY);
- Node216.setWidth(Node216width);
- Node216.setHeight(Node216height);
- Node216._nodeType = 'text';
- Node216._disallowEvert = true;
- Node216.setRotation(0*Math.PI/180);
- Node216.a('node.width', Node216width);
- Node216.a('node.height', Node216height);
- Node216.a('node.rect', [0, 0, Node216width, Node216height]);
- Node216.a('node.bordercolor','rgba(0,0,0,1)');
- Node216.a('node.borderwidth', 0);
- Node216.a('node.background','' || 'rgba(0,0,0,0)');
- Node216.a('node.gradient','');
- Node216.a('node.gradientcolor','');
- Node216.a('node.text','2017年');
- Node216.a('node.textalign','left');
- Node216.a('node.textvAlign','middle');
- Node216.a('node.textrect', [Node216textStart, 0, Node216textWidth, Node216height]);
- Node216.a('node.color','rgba(0,0,0,1)');
- Node216.a('node.font',' '+ Node216fontSize + 'px "Arial"');
- Node216.a('node.textvisible',true);
- Node216.a('node.linefeed',false);
- if (false) {
- Node216.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node216.a('node.text') || '2017年';
- var color=Node216.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node216width,Node216height,10.66664*_ratio.ratioY,"left",color,' '+ Node216fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node216.a('node.underlinepoints',[Node216lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node216fontSize + 2 , ht.Default.getTextSize('2017年', ' '+ Node216fontSize + 'px "Arial"').width + 6, (Node216height - Node216fontSize) * 0.5*_ratio.ratioY + Node216fontSize + 2 ]);
- Node216.a('node.underlinevisible',false);
- Node216.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node216);
- zoomNodeList.push({
- node: Node216,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node217type = 'rect';
- var Node217 = new ht.Node(),
- Node217BorderWidth = 1*2;
- if (Node217type === 'arc') {
- Node217BorderWidth *= 1;
- }
- Node217.setImage(GD.getRectJSON(15*_ratio.ratioX, 15*_ratio.ratioY, Node217type, '@arcFrom@', '@arcTo@', '@arcClose@'));
- Node217.setPosition(1824*ratio.ratioX, 599*ratio.ratioY);
- Node217.setSize(15*_ratio.ratioX, 15*_ratio.ratioY);
- Node217.s({
- 'pixelPerfect':true
- /*@AddPara@*/
- });
- Node217.a('node.width', 15*_ratio.ratioX);
- Node217.a('node.height', 15*_ratio.ratioY);
- Node217.a('node.type', Node217type);
- Node217.a('node.rect', [0, 0, 15*_ratio.ratioX, 15*_ratio.ratioY]);
- Node217.a('node.background', 'rgba(128,255,128,1)');
- Node217.a('node.gradientcolor', 'rgba(128,255,128,1)');
- Node217.a('node.gradient', '');
- Node217.a('node.borderwidth', Node217BorderWidth);
- Node217.a('node.color', 'rgba(0,0,0,1)');
- Node217.a('node.fillrect', [0,0,0,0]);
- Node217.a('node.fillbackcolor', 'rgba(0,0,0,0)');
- Node217.a('node.fillgradientcolor', 'rgba(0,0,0,0)');
- Node217.a('node.fillgradient', '');
- if (Node217type !== 'rect') {
- Node217.a('node.arcFrom', parseFloat('@arcFrom@'));
- Node217.a('node.arcTo', parseFloat('@arcTo@'));
- Node217.a('node.arcClose', '@arcClose@' === 'true' ? true : false);
- }
- if (Node217type === 'arc') {
- Node217.a('node.arcOval', true);
- }
- Node217.setRotation(0*Math.PI/180);
- Node217.borderWidth = Node217BorderWidth;
- Node217.borderFillwidth = Node217BorderWidth;
- dataModel.add(Node217);
- Node217._nodename = 'Node217'
- Node217._nodeType = 'rect';
- zoomNodeList.push({
- node: Node217,
- attr: 'node.borderwidth'
- });
- (function (node, _img) {
- var setWidth = node.setWidth,
- setHeight = node.setHeight;
- node.setWidth = function (width) {
- if (width === this.getWidth()) return ;
- var height = this.getHeight();
- this.a('node.width', width);
- this.a('node.rect', [0,0,width, height]);
- setWidth.apply(this, arguments);
- }
- node.setHeight = function (height) {
- if (height === this.getHeight()) return ;
- var width = this.getWidth();
- this.a('node.height', height);
- this.a('node.rect', [0,0,width, height]);
- setHeight.apply(this, arguments);
- }
- })(Node217, Node217.getImage());_ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node218 = new ht.Node();
- var Node218textStart, Node218textWidth, Node218lineStart, Node218align = 'left', Node218fontSize = 10.66664*_ratio.ratioY,Node218width = 45*_ratio.ratioX, Node218height = 25*_ratio.ratioY;
- (function () {
- if (Node218align === 'left') {
- Node218textStart = Node218fontSize * 0.2 > 2 ? Node218fontSize * 0.2 - 4 : Node218fontSize * 0.2 - 9;
- Node218textWidth = Node218width;
- Node218lineStart = 1;
- } else if (Node218align === 'right') {
- Node218textStart = 0;
- Node218textWidth =Node218fontSize <= 8 ? Node218width + Node218fontSize * 0.2 + 6 : Node218width - Node218fontSize * 0.2;
- Node218lineStart = (Node218width - (ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node218align === 'center') {
- Node218textStart = -3;
- Node218textWidth = Node218width;
- Node218lineStart = Node218width - ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node218.setImage(GD.getTextJSON(Node218width, Node218height, true, false, false, ' '+ Node218fontSize + 'px "Arial"'))
- Node218.setPosition(1859*ratio.ratioX, 599*ratio.ratioY);
- Node218.setWidth(Node218width);
- Node218.setHeight(Node218height);
- Node218._nodeType = 'text';
- Node218._disallowEvert = true;
- Node218.setRotation(0*Math.PI/180);
- Node218.a('node.width', Node218width);
- Node218.a('node.height', Node218height);
- Node218.a('node.rect', [0, 0, Node218width, Node218height]);
- Node218.a('node.bordercolor','rgba(0,0,0,1)');
- Node218.a('node.borderwidth', 0);
- Node218.a('node.background','' || 'rgba(0,0,0,0)');
- Node218.a('node.gradient','');
- Node218.a('node.gradientcolor','');
- Node218.a('node.text','2018年');
- Node218.a('node.textalign','left');
- Node218.a('node.textvAlign','middle');
- Node218.a('node.textrect', [Node218textStart, 0, Node218textWidth, Node218height]);
- Node218.a('node.color','rgba(0,0,0,1)');
- Node218.a('node.font',' '+ Node218fontSize + 'px "Arial"');
- Node218.a('node.textvisible',true);
- Node218.a('node.linefeed',false);
- if (false) {
- Node218.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node218.a('node.text') || '2018年';
- var color=Node218.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node218width,Node218height,10.66664*_ratio.ratioY,"left",color,' '+ Node218fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node218.a('node.underlinepoints',[Node218lineStart, (25 - 10.66664) * 0.5 * _ratio.ratioY + Node218fontSize + 2 , ht.Default.getTextSize('2018年', ' '+ Node218fontSize + 'px "Arial"').width + 6, (Node218height - Node218fontSize) * 0.5*_ratio.ratioY + Node218fontSize + 2 ]);
- Node218.a('node.underlinevisible',false);
- Node218.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node218);
- zoomNodeList.push({
- node: Node218,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node219 = new ht.Node();
- var Node219textStart, Node219textWidth, Node219lineStart, Node219align = 'left', Node219fontSize = 13.3333*_ratio.ratioY,Node219width = 98*_ratio.ratioX, Node219height = 16*_ratio.ratioY;
- (function () {
- if (Node219align === 'left') {
- Node219textStart = Node219fontSize * 0.2 > 2 ? Node219fontSize * 0.2 - 4 : Node219fontSize * 0.2 - 9;
- Node219textWidth = Node219width;
- Node219lineStart = 1;
- } else if (Node219align === 'right') {
- Node219textStart = 0;
- Node219textWidth =Node219fontSize <= 8 ? Node219width + Node219fontSize * 0.2 + 6 : Node219width - Node219fontSize * 0.2;
- Node219lineStart = (Node219width - (ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node219align === 'center') {
- Node219textStart = -3;
- Node219textWidth = Node219width;
- Node219lineStart = Node219width - ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node219.setImage(GD.getTextJSON(Node219width, Node219height, true, false, false, ' '+ Node219fontSize + 'px "Arial"'))
- Node219.setPosition(1529*ratio.ratioX, 514*ratio.ratioY);
- Node219.setWidth(Node219width);
- Node219.setHeight(Node219height);
- Node219._nodeType = 'text';
- Node219._disallowEvert = true;
- Node219.setRotation(0*Math.PI/180);
- Node219.a('node.width', Node219width);
- Node219.a('node.height', Node219height);
- Node219.a('node.rect', [0, 0, Node219width, Node219height]);
- Node219.a('node.bordercolor','rgba(0,0,0,1)');
- Node219.a('node.borderwidth', 0);
- Node219.a('node.background','' || 'rgba(0,0,0,0)');
- Node219.a('node.gradient','');
- Node219.a('node.gradientcolor','');
- Node219.a('node.text','应发功率(MW)');
- Node219.a('node.textalign','left');
- Node219.a('node.textvAlign','middle');
- Node219.a('node.textrect', [Node219textStart, 0, Node219textWidth, Node219height]);
- Node219.a('node.color','rgba(0,0,0,1)');
- Node219.a('node.font',' '+ Node219fontSize + 'px "Arial"');
- Node219.a('node.textvisible',true);
- Node219.a('node.linefeed',false);
- if (false) {
- Node219.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node219.a('node.text') || '应发功率(MW)';
- var color=Node219.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node219width,Node219height,13.3333*_ratio.ratioY,"left",color,' '+ Node219fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node219.a('node.underlinepoints',[Node219lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node219fontSize + 2 , ht.Default.getTextSize('应发功率(MW)', ' '+ Node219fontSize + 'px "Arial"').width + 6, (Node219height - Node219fontSize) * 0.5*_ratio.ratioY + Node219fontSize + 2 ]);
- Node219.a('node.underlinevisible',false);
- Node219.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node219);
- zoomNodeList.push({
- node: Node219,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node220 = new ht.Node();
- var Node220textStart, Node220textWidth, Node220lineStart, Node220align = 'left', Node220fontSize = 13.3333*_ratio.ratioY,Node220width = 98*_ratio.ratioX, Node220height = 16*_ratio.ratioY;
- (function () {
- if (Node220align === 'left') {
- Node220textStart = Node220fontSize * 0.2 > 2 ? Node220fontSize * 0.2 - 4 : Node220fontSize * 0.2 - 9;
- Node220textWidth = Node220width;
- Node220lineStart = 1;
- } else if (Node220align === 'right') {
- Node220textStart = 0;
- Node220textWidth =Node220fontSize <= 8 ? Node220width + Node220fontSize * 0.2 + 6 : Node220width - Node220fontSize * 0.2;
- Node220lineStart = (Node220width - (ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node220align === 'center') {
- Node220textStart = -3;
- Node220textWidth = Node220width;
- Node220lineStart = Node220width - ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node220.setImage(GD.getTextJSON(Node220width, Node220height, true, false, false, ' '+ Node220fontSize + 'px "Arial"'))
- Node220.setPosition(1759*ratio.ratioX, 519*ratio.ratioY);
- Node220.setWidth(Node220width);
- Node220.setHeight(Node220height);
- Node220._nodeType = 'text';
- Node220._disallowEvert = true;
- Node220.setRotation(0*Math.PI/180);
- Node220.a('node.width', Node220width);
- Node220.a('node.height', Node220height);
- Node220.a('node.rect', [0, 0, Node220width, Node220height]);
- Node220.a('node.bordercolor','rgba(0,0,0,1)');
- Node220.a('node.borderwidth', 0);
- Node220.a('node.background','' || 'rgba(0,0,0,0)');
- Node220.a('node.gradient','');
- Node220.a('node.gradientcolor','');
- Node220.a('node.text','保证功率(MW)');
- Node220.a('node.textalign','left');
- Node220.a('node.textvAlign','middle');
- Node220.a('node.textrect', [Node220textStart, 0, Node220textWidth, Node220height]);
- Node220.a('node.color','rgba(0,0,0,1)');
- Node220.a('node.font',' '+ Node220fontSize + 'px "Arial"');
- Node220.a('node.textvisible',true);
- Node220.a('node.linefeed',false);
- if (false) {
- Node220.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node220.a('node.text') || '保证功率(MW)';
- var color=Node220.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node220width,Node220height,13.3333*_ratio.ratioY,"left",color,' '+ Node220fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node220.a('node.underlinepoints',[Node220lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node220fontSize + 2 , ht.Default.getTextSize('保证功率(MW)', ' '+ Node220fontSize + 'px "Arial"').width + 6, (Node220height - Node220fontSize) * 0.5*_ratio.ratioY + Node220fontSize + 2 ]);
- Node220.a('node.underlinevisible',false);
- Node220.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node220);
- zoomNodeList.push({
- node: Node220,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0, ratio);
- var Node221 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 166*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node222 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 167*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ldjsc',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node223 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 276*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node224 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 277*ratio.ratioX, 66*ratio.ratioY, 0, {text:'ztjs',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node225 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 386*ratio.ratioX, 66*ratio.ratioY, 0, {text:'设备矩阵',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node226 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 387*ratio.ratioX, 66*ratio.ratioY, 0, {text:'设备矩阵',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node227 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 496*ratio.ratioX, 66*ratio.ratioY, 0, {text:'性能分析',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node228 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 497*ratio.ratioX, 66*ratio.ratioY, 0, {text:'性能分析',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node229 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 606*ratio.ratioX, 66*ratio.ratioY, 0, {text:'评级管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node230 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 607*ratio.ratioX, 66*ratio.ratioY, 0, {text:'评级管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node231 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 706*ratio.ratioX, 66*ratio.ratioY, 0, {text:'指标排行',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node232 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 707*ratio.ratioX, 66*ratio.ratioY, 0, {text:'指标排行',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node233 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 816*ratio.ratioX, 66*ratio.ratioY, 0, {text:'对标管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node234 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 817*ratio.ratioX, 66*ratio.ratioY, 0, {text:'对标管理',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node235 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 926*ratio.ratioX, 66*ratio.ratioY, 0, {text:'报警中心',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node236 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 927*ratio.ratioX, 66*ratio.ratioY, 0, {text:'报警中心',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node237 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1026*ratio.ratioX, 66*ratio.ratioY, 0, {text:'接入监视',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_02.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node238 = GD.createButton(110*_ratio.ratioX, 30*_ratio.ratioY, 1027*ratio.ratioX, 66*ratio.ratioY, 0, {text:'接入监视',visible:true,backColor:'rgba(211,211,211,1)',fontSize:13,fontFamily:'',fontColor:'rgba(0,0,0,1)',borderColor:'rgba(211,211,211,1)',shadowColor:'rgba(211,211,211,1)',hoverShadowColor:'rgba(255,255,255,1)',icon:'',bold:false,italic:false,textAlign:'center',backImage:'image//img//new_but_01.png'});_ratio = GD.getRatioWithRotation(0, ratio);
- var Node239 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 98*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 Node240 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 170*ratio.ratioX, 98*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 Node241 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 98*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 Node242 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 280*ratio.ratioX, 98*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 Node243 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 98*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 Node244 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 389*ratio.ratioX, 98*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 Node245 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 98*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 Node246 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 500*ratio.ratioX, 98*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 Node247 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 98*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 Node248 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 610*ratio.ratioX, 98*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 Node249 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 98*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 Node250 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 720*ratio.ratioX, 98*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 Node251 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 98*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 Node252 = GD.createButton(100*_ratio.ratioX, 27*_ratio.ratioY, 830*ratio.ratioX, 98*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'});var Node259_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png');
- Node259_0 = new ht.Node();
- Node259_0.setPosition(678*ratio.ratioX, 263*ratio.ratioY);
- Node259_0.setSize(117*ratioX, 26*ratioY);
- Node259_0.setImage('imgimage//img//index_map_sx_bot1.png');
- Node259_0.setRotation(0*Math.PI/180);
- Node259_0._zoomBy = 'Default';
- Node259_0._nodeType = 'image';
- Node259_0._disallowEvert = true;
- dataModel.add(Node259_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node259_1 = new ht.Node();
- var Node259_1textStart, Node259_1textWidth, Node259_1lineStart, Node259_1align = 'left', Node259_1fontSize = 13.3333*_ratio.ratioY,Node259_1width = 110*_ratio.ratioX, Node259_1height = 16*_ratio.ratioY;
- (function () {
- if (Node259_1align === 'left') {
- Node259_1textStart = Node259_1fontSize * 0.2 > 2 ? Node259_1fontSize * 0.2 - 4 : Node259_1fontSize * 0.2 - 9;
- Node259_1textWidth = Node259_1width;
- Node259_1lineStart = 1;
- } else if (Node259_1align === 'right') {
- Node259_1textStart = 0;
- Node259_1textWidth =Node259_1fontSize <= 8 ? Node259_1width + Node259_1fontSize * 0.2 + 6 : Node259_1width - Node259_1fontSize * 0.2;
- Node259_1lineStart = (Node259_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node259_1align === 'center') {
- Node259_1textStart = -3;
- Node259_1textWidth = Node259_1width;
- Node259_1lineStart = Node259_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node259_1.setImage(GD.getTextJSON(Node259_1width, Node259_1height, true, false, false, ' '+ Node259_1fontSize + 'px "宋体"'))
- Node259_1.setPosition(679*ratio.ratioX, 264*ratio.ratioY);
- Node259_1.setWidth(Node259_1width);
- Node259_1.setHeight(Node259_1height);
- Node259_1._nodeType = 'text';
- Node259_1._disallowEvert = true;
- Node259_1.setRotation(0*Math.PI/180);
- Node259_1.a('node.width', Node259_1width);
- Node259_1.a('node.height', Node259_1height);
- Node259_1.a('node.rect', [0, 0, Node259_1width, Node259_1height]);
- Node259_1.a('node.bordercolor','rgba(255,255,128,1)');
- Node259_1.a('node.borderwidth', 0);
- Node259_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node259_1.a('node.gradient','');
- Node259_1.a('node.gradientcolor','');
- Node259_1.a('node.text','太旗卧牛山风场');
- Node259_1.a('node.textalign','left');
- Node259_1.a('node.textvAlign','middle');
- Node259_1.a('node.textrect', [Node259_1textStart, 0, Node259_1textWidth, Node259_1height]);
- Node259_1.a('node.color','rgba(255,255,128,1)');
- Node259_1.a('node.font',' '+ Node259_1fontSize + 'px "宋体"');
- Node259_1.a('node.textvisible',true);
- Node259_1.a('node.linefeed',false);
- if (false) {
- Node259_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node259_1.a('node.text') || '太旗卧牛山风场';
- var color=Node259_1.a('node.color') || 'rgba(255,255,128,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node259_1width,Node259_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node259_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node259_1.a('node.underlinepoints',[Node259_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node259_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node259_1fontSize + 'px "宋体"').width + 6, (Node259_1height - Node259_1fontSize) * 0.5*_ratio.ratioY + Node259_1fontSize + 2 ]);
- Node259_1.a('node.underlinevisible',false);
- Node259_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node259_1);
- zoomNodeList.push({
- node: Node259_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node260_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_sx_bot1.png', PAGEROOTDIR + 'image//img//index_map_sx_bot1.png');
- Node260_0 = new ht.Node();
- Node260_0.setPosition(678*ratio.ratioX, 263*ratio.ratioY);
- Node260_0.setSize(117*ratioX, 26*ratioY);
- Node260_0.setImage('imgimage//img//index_map_sx_bot1.png');
- Node260_0.setRotation(0*Math.PI/180);
- Node260_0._zoomBy = 'Default';
- Node260_0._nodeType = 'image';
- Node260_0._disallowEvert = true;
- dataModel.add(Node260_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node260_1 = new ht.Node();
- var Node260_1textStart, Node260_1textWidth, Node260_1lineStart, Node260_1align = 'left', Node260_1fontSize = 13.3333*_ratio.ratioY,Node260_1width = 110*_ratio.ratioX, Node260_1height = 16*_ratio.ratioY;
- (function () {
- if (Node260_1align === 'left') {
- Node260_1textStart = Node260_1fontSize * 0.2 > 2 ? Node260_1fontSize * 0.2 - 4 : Node260_1fontSize * 0.2 - 9;
- Node260_1textWidth = Node260_1width;
- Node260_1lineStart = 1;
- } else if (Node260_1align === 'right') {
- Node260_1textStart = 0;
- Node260_1textWidth =Node260_1fontSize <= 8 ? Node260_1width + Node260_1fontSize * 0.2 + 6 : Node260_1width - Node260_1fontSize * 0.2;
- Node260_1lineStart = (Node260_1width - (ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node260_1align === 'center') {
- Node260_1textStart = -3;
- Node260_1textWidth = Node260_1width;
- Node260_1lineStart = Node260_1width - ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node260_1.setImage(GD.getTextJSON(Node260_1width, Node260_1height, true, false, false, ' '+ Node260_1fontSize + 'px "宋体"'))
- Node260_1.setPosition(679*ratio.ratioX, 264*ratio.ratioY);
- Node260_1.setWidth(Node260_1width);
- Node260_1.setHeight(Node260_1height);
- Node260_1._nodeType = 'text';
- Node260_1._disallowEvert = true;
- Node260_1.setRotation(0*Math.PI/180);
- Node260_1.a('node.width', Node260_1width);
- Node260_1.a('node.height', Node260_1height);
- Node260_1.a('node.rect', [0, 0, Node260_1width, Node260_1height]);
- Node260_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node260_1.a('node.borderwidth', 0);
- Node260_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node260_1.a('node.gradient','');
- Node260_1.a('node.gradientcolor','');
- Node260_1.a('node.text','太旗卧牛山风场');
- Node260_1.a('node.textalign','left');
- Node260_1.a('node.textvAlign','middle');
- Node260_1.a('node.textrect', [Node260_1textStart, 0, Node260_1textWidth, Node260_1height]);
- Node260_1.a('node.color','rgba(255,255,255,1)');
- Node260_1.a('node.font',' '+ Node260_1fontSize + 'px "宋体"');
- Node260_1.a('node.textvisible',true);
- Node260_1.a('node.linefeed',false);
- if (false) {
- Node260_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node260_1.a('node.text') || '太旗卧牛山风场';
- var color=Node260_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node260_1width,Node260_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node260_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node260_1.a('node.underlinepoints',[Node260_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node260_1fontSize + 2 , ht.Default.getTextSize('太旗卧牛山风场', ' '+ Node260_1fontSize + 'px "宋体"').width + 6, (Node260_1height - Node260_1fontSize) * 0.5*_ratio.ratioY + Node260_1fontSize + 2 ]);
- Node260_1.a('node.underlinevisible',false);
- Node260_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node260_1);
- zoomNodeList.push({
- node: Node260_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node261_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node261_0 = new ht.Node();
- Node261_0.setPosition(583*ratio.ratioX, 313*ratio.ratioY);
- Node261_0.setSize(117*ratioX, 26*ratioY);
- Node261_0.setImage('imgimage//img//index_map_bot.png');
- Node261_0.setRotation(0*Math.PI/180);
- Node261_0._zoomBy = 'Default';
- Node261_0._nodeType = 'image';
- Node261_0._disallowEvert = true;
- dataModel.add(Node261_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node261_1 = new ht.Node();
- var Node261_1textStart, Node261_1textWidth, Node261_1lineStart, Node261_1align = 'left', Node261_1fontSize = 13.3333*_ratio.ratioY,Node261_1width = 110*_ratio.ratioX, Node261_1height = 16*_ratio.ratioY;
- (function () {
- if (Node261_1align === 'left') {
- Node261_1textStart = Node261_1fontSize * 0.2 > 2 ? Node261_1fontSize * 0.2 - 4 : Node261_1fontSize * 0.2 - 9;
- Node261_1textWidth = Node261_1width;
- Node261_1lineStart = 1;
- } else if (Node261_1align === 'right') {
- Node261_1textStart = 0;
- Node261_1textWidth =Node261_1fontSize <= 8 ? Node261_1width + Node261_1fontSize * 0.2 + 6 : Node261_1width - Node261_1fontSize * 0.2;
- Node261_1lineStart = (Node261_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node261_1align === 'center') {
- Node261_1textStart = -3;
- Node261_1textWidth = Node261_1width;
- Node261_1lineStart = Node261_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node261_1.setImage(GD.getTextJSON(Node261_1width, Node261_1height, true, false, false, ' '+ Node261_1fontSize + 'px "宋体"'))
- Node261_1.setPosition(586*ratio.ratioX, 313*ratio.ratioY);
- Node261_1.setWidth(Node261_1width);
- Node261_1.setHeight(Node261_1height);
- Node261_1._nodeType = 'text';
- Node261_1._disallowEvert = true;
- Node261_1.setRotation(0*Math.PI/180);
- Node261_1.a('node.width', Node261_1width);
- Node261_1.a('node.height', Node261_1height);
- Node261_1.a('node.rect', [0, 0, Node261_1width, Node261_1height]);
- Node261_1.a('node.bordercolor','rgba(255,255,192,1)');
- Node261_1.a('node.borderwidth', 0);
- Node261_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node261_1.a('node.gradient','');
- Node261_1.a('node.gradientcolor','');
- Node261_1.a('node.text','阳高采凉山风场');
- Node261_1.a('node.textalign','left');
- Node261_1.a('node.textvAlign','middle');
- Node261_1.a('node.textrect', [Node261_1textStart, 0, Node261_1textWidth, Node261_1height]);
- Node261_1.a('node.color','rgba(255,255,192,1)');
- Node261_1.a('node.font',' '+ Node261_1fontSize + 'px "宋体"');
- Node261_1.a('node.textvisible',true);
- Node261_1.a('node.linefeed',false);
- if (false) {
- Node261_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node261_1.a('node.text') || '阳高采凉山风场';
- var color=Node261_1.a('node.color') || 'rgba(255,255,192,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node261_1width,Node261_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node261_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node261_1.a('node.underlinepoints',[Node261_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node261_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node261_1fontSize + 'px "宋体"').width + 6, (Node261_1height - Node261_1fontSize) * 0.5*_ratio.ratioY + Node261_1fontSize + 2 ]);
- Node261_1.a('node.underlinevisible',false);
- Node261_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node261_1);
- zoomNodeList.push({
- node: Node261_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node262_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node262_0 = new ht.Node();
- Node262_0.setPosition(583*ratio.ratioX, 313*ratio.ratioY);
- Node262_0.setSize(117*ratioX, 26*ratioY);
- Node262_0.setImage('imgimage//img//index_map_bot.png');
- Node262_0.setRotation(0*Math.PI/180);
- Node262_0._zoomBy = 'Default';
- Node262_0._nodeType = 'image';
- Node262_0._disallowEvert = true;
- dataModel.add(Node262_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node262_1 = new ht.Node();
- var Node262_1textStart, Node262_1textWidth, Node262_1lineStart, Node262_1align = 'left', Node262_1fontSize = 13.3333*_ratio.ratioY,Node262_1width = 110*_ratio.ratioX, Node262_1height = 16*_ratio.ratioY;
- (function () {
- if (Node262_1align === 'left') {
- Node262_1textStart = Node262_1fontSize * 0.2 > 2 ? Node262_1fontSize * 0.2 - 4 : Node262_1fontSize * 0.2 - 9;
- Node262_1textWidth = Node262_1width;
- Node262_1lineStart = 1;
- } else if (Node262_1align === 'right') {
- Node262_1textStart = 0;
- Node262_1textWidth =Node262_1fontSize <= 8 ? Node262_1width + Node262_1fontSize * 0.2 + 6 : Node262_1width - Node262_1fontSize * 0.2;
- Node262_1lineStart = (Node262_1width - (ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node262_1align === 'center') {
- Node262_1textStart = -3;
- Node262_1textWidth = Node262_1width;
- Node262_1lineStart = Node262_1width - ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node262_1.setImage(GD.getTextJSON(Node262_1width, Node262_1height, true, false, false, ' '+ Node262_1fontSize + 'px "宋体"'))
- Node262_1.setPosition(586*ratio.ratioX, 313*ratio.ratioY);
- Node262_1.setWidth(Node262_1width);
- Node262_1.setHeight(Node262_1height);
- Node262_1._nodeType = 'text';
- Node262_1._disallowEvert = true;
- Node262_1.setRotation(0*Math.PI/180);
- Node262_1.a('node.width', Node262_1width);
- Node262_1.a('node.height', Node262_1height);
- Node262_1.a('node.rect', [0, 0, Node262_1width, Node262_1height]);
- Node262_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node262_1.a('node.borderwidth', 0);
- Node262_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node262_1.a('node.gradient','');
- Node262_1.a('node.gradientcolor','');
- Node262_1.a('node.text','阳高采凉山风场');
- Node262_1.a('node.textalign','left');
- Node262_1.a('node.textvAlign','middle');
- Node262_1.a('node.textrect', [Node262_1textStart, 0, Node262_1textWidth, Node262_1height]);
- Node262_1.a('node.color','rgba(255,255,255,1)');
- Node262_1.a('node.font',' '+ Node262_1fontSize + 'px "宋体"');
- Node262_1.a('node.textvisible',true);
- Node262_1.a('node.linefeed',false);
- if (false) {
- Node262_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node262_1.a('node.text') || '阳高采凉山风场';
- var color=Node262_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node262_1width,Node262_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node262_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node262_1.a('node.underlinepoints',[Node262_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node262_1fontSize + 2 , ht.Default.getTextSize('阳高采凉山风场', ' '+ Node262_1fontSize + 'px "宋体"').width + 6, (Node262_1height - Node262_1fontSize) * 0.5*_ratio.ratioY + Node262_1fontSize + 2 ]);
- Node262_1.a('node.underlinevisible',false);
- Node262_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node262_1);
- zoomNodeList.push({
- node: Node262_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node263_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node263_0 = new ht.Node();
- Node263_0.setPosition(585*ratio.ratioX, 363*ratio.ratioY);
- Node263_0.setSize(117*ratioX, 26*ratioY);
- Node263_0.setImage('imgimage//img//index_map_bot.png');
- Node263_0.setRotation(0*Math.PI/180);
- Node263_0._zoomBy = 'Default';
- Node263_0._nodeType = 'image';
- Node263_0._disallowEvert = true;
- dataModel.add(Node263_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node263_1 = new ht.Node();
- var Node263_1textStart, Node263_1textWidth, Node263_1lineStart, Node263_1align = 'left', Node263_1fontSize = 13.3333*_ratio.ratioY,Node263_1width = 86*_ratio.ratioX, Node263_1height = 16*_ratio.ratioY;
- (function () {
- if (Node263_1align === 'left') {
- Node263_1textStart = Node263_1fontSize * 0.2 > 2 ? Node263_1fontSize * 0.2 - 4 : Node263_1fontSize * 0.2 - 9;
- Node263_1textWidth = Node263_1width;
- Node263_1lineStart = 1;
- } else if (Node263_1align === 'right') {
- Node263_1textStart = 0;
- Node263_1textWidth =Node263_1fontSize <= 8 ? Node263_1width + Node263_1fontSize * 0.2 + 6 : Node263_1width - Node263_1fontSize * 0.2;
- Node263_1lineStart = (Node263_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node263_1align === 'center') {
- Node263_1textStart = -3;
- Node263_1textWidth = Node263_1width;
- Node263_1lineStart = Node263_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node263_1.setImage(GD.getTextJSON(Node263_1width, Node263_1height, true, false, false, ' '+ Node263_1fontSize + 'px "宋体"'))
- Node263_1.setPosition(584*ratio.ratioX, 363*ratio.ratioY);
- Node263_1.setWidth(Node263_1width);
- Node263_1.setHeight(Node263_1height);
- Node263_1._nodeType = 'text';
- Node263_1._disallowEvert = true;
- Node263_1.setRotation(0*Math.PI/180);
- Node263_1.a('node.width', Node263_1width);
- Node263_1.a('node.height', Node263_1height);
- Node263_1.a('node.rect', [0, 0, Node263_1width, Node263_1height]);
- Node263_1.a('node.bordercolor','rgba(255,255,192,1)');
- Node263_1.a('node.borderwidth', 0);
- Node263_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node263_1.a('node.gradient','');
- Node263_1.a('node.gradientcolor','');
- Node263_1.a('node.text','浑源峰岳风场');
- Node263_1.a('node.textalign','left');
- Node263_1.a('node.textvAlign','middle');
- Node263_1.a('node.textrect', [Node263_1textStart, 0, Node263_1textWidth, Node263_1height]);
- Node263_1.a('node.color','rgba(255,255,192,1)');
- Node263_1.a('node.font',' '+ Node263_1fontSize + 'px "宋体"');
- Node263_1.a('node.textvisible',true);
- Node263_1.a('node.linefeed',false);
- if (false) {
- Node263_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node263_1.a('node.text') || '浑源峰岳风场';
- var color=Node263_1.a('node.color') || 'rgba(255,255,192,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node263_1width,Node263_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node263_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node263_1.a('node.underlinepoints',[Node263_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node263_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node263_1fontSize + 'px "宋体"').width + 6, (Node263_1height - Node263_1fontSize) * 0.5*_ratio.ratioY + Node263_1fontSize + 2 ]);
- Node263_1.a('node.underlinevisible',false);
- Node263_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node263_1);
- zoomNodeList.push({
- node: Node263_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node264_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node264_0 = new ht.Node();
- Node264_0.setPosition(585*ratio.ratioX, 363*ratio.ratioY);
- Node264_0.setSize(117*ratioX, 26*ratioY);
- Node264_0.setImage('imgimage//img//index_map_bot.png');
- Node264_0.setRotation(0*Math.PI/180);
- Node264_0._zoomBy = 'Default';
- Node264_0._nodeType = 'image';
- Node264_0._disallowEvert = true;
- dataModel.add(Node264_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node264_1 = new ht.Node();
- var Node264_1textStart, Node264_1textWidth, Node264_1lineStart, Node264_1align = 'left', Node264_1fontSize = 13.3333*_ratio.ratioY,Node264_1width = 86*_ratio.ratioX, Node264_1height = 16*_ratio.ratioY;
- (function () {
- if (Node264_1align === 'left') {
- Node264_1textStart = Node264_1fontSize * 0.2 > 2 ? Node264_1fontSize * 0.2 - 4 : Node264_1fontSize * 0.2 - 9;
- Node264_1textWidth = Node264_1width;
- Node264_1lineStart = 1;
- } else if (Node264_1align === 'right') {
- Node264_1textStart = 0;
- Node264_1textWidth =Node264_1fontSize <= 8 ? Node264_1width + Node264_1fontSize * 0.2 + 6 : Node264_1width - Node264_1fontSize * 0.2;
- Node264_1lineStart = (Node264_1width - (ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node264_1align === 'center') {
- Node264_1textStart = -3;
- Node264_1textWidth = Node264_1width;
- Node264_1lineStart = Node264_1width - ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node264_1.setImage(GD.getTextJSON(Node264_1width, Node264_1height, true, false, false, ' '+ Node264_1fontSize + 'px "宋体"'))
- Node264_1.setPosition(584*ratio.ratioX, 363*ratio.ratioY);
- Node264_1.setWidth(Node264_1width);
- Node264_1.setHeight(Node264_1height);
- Node264_1._nodeType = 'text';
- Node264_1._disallowEvert = true;
- Node264_1.setRotation(0*Math.PI/180);
- Node264_1.a('node.width', Node264_1width);
- Node264_1.a('node.height', Node264_1height);
- Node264_1.a('node.rect', [0, 0, Node264_1width, Node264_1height]);
- Node264_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node264_1.a('node.borderwidth', 0);
- Node264_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node264_1.a('node.gradient','');
- Node264_1.a('node.gradientcolor','');
- Node264_1.a('node.text','浑源峰岳风场');
- Node264_1.a('node.textalign','left');
- Node264_1.a('node.textvAlign','middle');
- Node264_1.a('node.textrect', [Node264_1textStart, 0, Node264_1textWidth, Node264_1height]);
- Node264_1.a('node.color','rgba(255,255,255,1)');
- Node264_1.a('node.font',' '+ Node264_1fontSize + 'px "宋体"');
- Node264_1.a('node.textvisible',true);
- Node264_1.a('node.linefeed',false);
- if (false) {
- Node264_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node264_1.a('node.text') || '浑源峰岳风场';
- var color=Node264_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node264_1width,Node264_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node264_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node264_1.a('node.underlinepoints',[Node264_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node264_1fontSize + 2 , ht.Default.getTextSize('浑源峰岳风场', ' '+ Node264_1fontSize + 'px "宋体"').width + 6, (Node264_1height - Node264_1fontSize) * 0.5*_ratio.ratioY + Node264_1fontSize + 2 ]);
- Node264_1.a('node.underlinevisible',false);
- Node264_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node264_1);
- zoomNodeList.push({
- node: Node264_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node265_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node265_0 = new ht.Node();
- Node265_0.setPosition(388*ratio.ratioX, 393*ratio.ratioY);
- Node265_0.setSize(117*ratioX, 26*ratioY);
- Node265_0.setImage('imgimage//img//index_map_bot.png');
- Node265_0.setRotation(0*Math.PI/180);
- Node265_0._zoomBy = 'Default';
- Node265_0._nodeType = 'image';
- Node265_0._disallowEvert = true;
- dataModel.add(Node265_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node265_1 = new ht.Node();
- var Node265_1textStart, Node265_1textWidth, Node265_1lineStart, Node265_1align = 'left', Node265_1fontSize = 13.3333*_ratio.ratioY,Node265_1width = 110*_ratio.ratioX, Node265_1height = 16*_ratio.ratioY;
- (function () {
- if (Node265_1align === 'left') {
- Node265_1textStart = Node265_1fontSize * 0.2 > 2 ? Node265_1fontSize * 0.2 - 4 : Node265_1fontSize * 0.2 - 9;
- Node265_1textWidth = Node265_1width;
- Node265_1lineStart = 1;
- } else if (Node265_1align === 'right') {
- Node265_1textStart = 0;
- Node265_1textWidth =Node265_1fontSize <= 8 ? Node265_1width + Node265_1fontSize * 0.2 + 6 : Node265_1width - Node265_1fontSize * 0.2;
- Node265_1lineStart = (Node265_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node265_1align === 'center') {
- Node265_1textStart = -3;
- Node265_1textWidth = Node265_1width;
- Node265_1lineStart = Node265_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node265_1.setImage(GD.getTextJSON(Node265_1width, Node265_1height, true, false, false, ' '+ Node265_1fontSize + 'px "宋体"'))
- Node265_1.setPosition(390*ratio.ratioX, 394*ratio.ratioY);
- Node265_1.setWidth(Node265_1width);
- Node265_1.setHeight(Node265_1height);
- Node265_1._nodeType = 'text';
- Node265_1._disallowEvert = true;
- Node265_1.setRotation(0*Math.PI/180);
- Node265_1.a('node.width', Node265_1width);
- Node265_1.a('node.height', Node265_1height);
- Node265_1.a('node.rect', [0, 0, Node265_1width, Node265_1height]);
- Node265_1.a('node.bordercolor','rgba(255,255,192,1)');
- Node265_1.a('node.borderwidth', 0);
- Node265_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node265_1.a('node.gradient','');
- Node265_1.a('node.gradientcolor','');
- Node265_1.a('node.text','右玉高家堡风场');
- Node265_1.a('node.textalign','left');
- Node265_1.a('node.textvAlign','middle');
- Node265_1.a('node.textrect', [Node265_1textStart, 0, Node265_1textWidth, Node265_1height]);
- Node265_1.a('node.color','rgba(255,255,192,1)');
- Node265_1.a('node.font',' '+ Node265_1fontSize + 'px "宋体"');
- Node265_1.a('node.textvisible',true);
- Node265_1.a('node.linefeed',false);
- if (false) {
- Node265_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node265_1.a('node.text') || '右玉高家堡风场';
- var color=Node265_1.a('node.color') || 'rgba(255,255,192,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node265_1width,Node265_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node265_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node265_1.a('node.underlinepoints',[Node265_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node265_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node265_1fontSize + 'px "宋体"').width + 6, (Node265_1height - Node265_1fontSize) * 0.5*_ratio.ratioY + Node265_1fontSize + 2 ]);
- Node265_1.a('node.underlinevisible',false);
- Node265_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node265_1);
- zoomNodeList.push({
- node: Node265_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node266_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node266_0 = new ht.Node();
- Node266_0.setPosition(388*ratio.ratioX, 393*ratio.ratioY);
- Node266_0.setSize(117*ratioX, 26*ratioY);
- Node266_0.setImage('imgimage//img//index_map_bot.png');
- Node266_0.setRotation(0*Math.PI/180);
- Node266_0._zoomBy = 'Default';
- Node266_0._nodeType = 'image';
- Node266_0._disallowEvert = true;
- dataModel.add(Node266_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node266_1 = new ht.Node();
- var Node266_1textStart, Node266_1textWidth, Node266_1lineStart, Node266_1align = 'left', Node266_1fontSize = 13.3333*_ratio.ratioY,Node266_1width = 110*_ratio.ratioX, Node266_1height = 16*_ratio.ratioY;
- (function () {
- if (Node266_1align === 'left') {
- Node266_1textStart = Node266_1fontSize * 0.2 > 2 ? Node266_1fontSize * 0.2 - 4 : Node266_1fontSize * 0.2 - 9;
- Node266_1textWidth = Node266_1width;
- Node266_1lineStart = 1;
- } else if (Node266_1align === 'right') {
- Node266_1textStart = 0;
- Node266_1textWidth =Node266_1fontSize <= 8 ? Node266_1width + Node266_1fontSize * 0.2 + 6 : Node266_1width - Node266_1fontSize * 0.2;
- Node266_1lineStart = (Node266_1width - (ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node266_1align === 'center') {
- Node266_1textStart = -3;
- Node266_1textWidth = Node266_1width;
- Node266_1lineStart = Node266_1width - ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node266_1.setImage(GD.getTextJSON(Node266_1width, Node266_1height, true, false, false, ' '+ Node266_1fontSize + 'px "宋体"'))
- Node266_1.setPosition(390*ratio.ratioX, 394*ratio.ratioY);
- Node266_1.setWidth(Node266_1width);
- Node266_1.setHeight(Node266_1height);
- Node266_1._nodeType = 'text';
- Node266_1._disallowEvert = true;
- Node266_1.setRotation(0*Math.PI/180);
- Node266_1.a('node.width', Node266_1width);
- Node266_1.a('node.height', Node266_1height);
- Node266_1.a('node.rect', [0, 0, Node266_1width, Node266_1height]);
- Node266_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node266_1.a('node.borderwidth', 0);
- Node266_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node266_1.a('node.gradient','');
- Node266_1.a('node.gradientcolor','');
- Node266_1.a('node.text','右玉高家堡风场');
- Node266_1.a('node.textalign','left');
- Node266_1.a('node.textvAlign','middle');
- Node266_1.a('node.textrect', [Node266_1textStart, 0, Node266_1textWidth, Node266_1height]);
- Node266_1.a('node.color','rgba(255,255,255,1)');
- Node266_1.a('node.font',' '+ Node266_1fontSize + 'px "宋体"');
- Node266_1.a('node.textvisible',true);
- Node266_1.a('node.linefeed',false);
- if (false) {
- Node266_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node266_1.a('node.text') || '右玉高家堡风场';
- var color=Node266_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node266_1width,Node266_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node266_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node266_1.a('node.underlinepoints',[Node266_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node266_1fontSize + 2 , ht.Default.getTextSize('右玉高家堡风场', ' '+ Node266_1fontSize + 'px "宋体"').width + 6, (Node266_1height - Node266_1fontSize) * 0.5*_ratio.ratioY + Node266_1fontSize + 2 ]);
- Node266_1.a('node.underlinevisible',false);
- Node266_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node266_1);
- zoomNodeList.push({
- node: Node266_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node267_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node267_0 = new ht.Node();
- Node267_0.setPosition(498*ratio.ratioX, 463*ratio.ratioY);
- Node267_0.setSize(117*ratioX, 26*ratioY);
- Node267_0.setImage('imgimage//img//index_map_bot.png');
- Node267_0.setRotation(0*Math.PI/180);
- Node267_0._zoomBy = 'Default';
- Node267_0._nodeType = 'image';
- Node267_0._disallowEvert = true;
- dataModel.add(Node267_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node267_1 = new ht.Node();
- var Node267_1textStart, Node267_1textWidth, Node267_1lineStart, Node267_1align = 'left', Node267_1fontSize = 13.3333*_ratio.ratioY,Node267_1width = 86*_ratio.ratioX, Node267_1height = 16*_ratio.ratioY;
- (function () {
- if (Node267_1align === 'left') {
- Node267_1textStart = Node267_1fontSize * 0.2 > 2 ? Node267_1fontSize * 0.2 - 4 : Node267_1fontSize * 0.2 - 9;
- Node267_1textWidth = Node267_1width;
- Node267_1lineStart = 1;
- } else if (Node267_1align === 'right') {
- Node267_1textStart = 0;
- Node267_1textWidth =Node267_1fontSize <= 8 ? Node267_1width + Node267_1fontSize * 0.2 + 6 : Node267_1width - Node267_1fontSize * 0.2;
- Node267_1lineStart = (Node267_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node267_1align === 'center') {
- Node267_1textStart = -3;
- Node267_1textWidth = Node267_1width;
- Node267_1lineStart = Node267_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node267_1.setImage(GD.getTextJSON(Node267_1width, Node267_1height, true, false, false, ' '+ Node267_1fontSize + 'px "宋体"'))
- Node267_1.setPosition(499*ratio.ratioX, 464*ratio.ratioY);
- Node267_1.setWidth(Node267_1width);
- Node267_1.setHeight(Node267_1height);
- Node267_1._nodeType = 'text';
- Node267_1._disallowEvert = true;
- Node267_1.setRotation(0*Math.PI/180);
- Node267_1.a('node.width', Node267_1width);
- Node267_1.a('node.height', Node267_1height);
- Node267_1.a('node.rect', [0, 0, Node267_1width, Node267_1height]);
- Node267_1.a('node.bordercolor','rgba(255,255,192,1)');
- Node267_1.a('node.borderwidth', 0);
- Node267_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node267_1.a('node.gradient','');
- Node267_1.a('node.gradientcolor','');
- Node267_1.a('node.text','广灵劲风风场');
- Node267_1.a('node.textalign','left');
- Node267_1.a('node.textvAlign','middle');
- Node267_1.a('node.textrect', [Node267_1textStart, 0, Node267_1textWidth, Node267_1height]);
- Node267_1.a('node.color','rgba(255,255,192,1)');
- Node267_1.a('node.font',' '+ Node267_1fontSize + 'px "宋体"');
- Node267_1.a('node.textvisible',true);
- Node267_1.a('node.linefeed',false);
- if (false) {
- Node267_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node267_1.a('node.text') || '广灵劲风风场';
- var color=Node267_1.a('node.color') || 'rgba(255,255,192,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node267_1width,Node267_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node267_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node267_1.a('node.underlinepoints',[Node267_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node267_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node267_1fontSize + 'px "宋体"').width + 6, (Node267_1height - Node267_1fontSize) * 0.5*_ratio.ratioY + Node267_1fontSize + 2 ]);
- Node267_1.a('node.underlinevisible',false);
- Node267_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node267_1);
- zoomNodeList.push({
- node: Node267_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node268_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node268_0 = new ht.Node();
- Node268_0.setPosition(498*ratio.ratioX, 463*ratio.ratioY);
- Node268_0.setSize(117*ratioX, 26*ratioY);
- Node268_0.setImage('imgimage//img//index_map_bot.png');
- Node268_0.setRotation(0*Math.PI/180);
- Node268_0._zoomBy = 'Default';
- Node268_0._nodeType = 'image';
- Node268_0._disallowEvert = true;
- dataModel.add(Node268_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node268_1 = new ht.Node();
- var Node268_1textStart, Node268_1textWidth, Node268_1lineStart, Node268_1align = 'left', Node268_1fontSize = 13.3333*_ratio.ratioY,Node268_1width = 86*_ratio.ratioX, Node268_1height = 16*_ratio.ratioY;
- (function () {
- if (Node268_1align === 'left') {
- Node268_1textStart = Node268_1fontSize * 0.2 > 2 ? Node268_1fontSize * 0.2 - 4 : Node268_1fontSize * 0.2 - 9;
- Node268_1textWidth = Node268_1width;
- Node268_1lineStart = 1;
- } else if (Node268_1align === 'right') {
- Node268_1textStart = 0;
- Node268_1textWidth =Node268_1fontSize <= 8 ? Node268_1width + Node268_1fontSize * 0.2 + 6 : Node268_1width - Node268_1fontSize * 0.2;
- Node268_1lineStart = (Node268_1width - (ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node268_1align === 'center') {
- Node268_1textStart = -3;
- Node268_1textWidth = Node268_1width;
- Node268_1lineStart = Node268_1width - ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node268_1.setImage(GD.getTextJSON(Node268_1width, Node268_1height, true, false, false, ' '+ Node268_1fontSize + 'px "宋体"'))
- Node268_1.setPosition(499*ratio.ratioX, 464*ratio.ratioY);
- Node268_1.setWidth(Node268_1width);
- Node268_1.setHeight(Node268_1height);
- Node268_1._nodeType = 'text';
- Node268_1._disallowEvert = true;
- Node268_1.setRotation(0*Math.PI/180);
- Node268_1.a('node.width', Node268_1width);
- Node268_1.a('node.height', Node268_1height);
- Node268_1.a('node.rect', [0, 0, Node268_1width, Node268_1height]);
- Node268_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node268_1.a('node.borderwidth', 0);
- Node268_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node268_1.a('node.gradient','');
- Node268_1.a('node.gradientcolor','');
- Node268_1.a('node.text','广灵劲风风场');
- Node268_1.a('node.textalign','left');
- Node268_1.a('node.textvAlign','middle');
- Node268_1.a('node.textrect', [Node268_1textStart, 0, Node268_1textWidth, Node268_1height]);
- Node268_1.a('node.color','rgba(255,255,255,1)');
- Node268_1.a('node.font',' '+ Node268_1fontSize + 'px "宋体"');
- Node268_1.a('node.textvisible',true);
- Node268_1.a('node.linefeed',false);
- if (false) {
- Node268_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node268_1.a('node.text') || '广灵劲风风场';
- var color=Node268_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node268_1width,Node268_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node268_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node268_1.a('node.underlinepoints',[Node268_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node268_1fontSize + 2 , ht.Default.getTextSize('广灵劲风风场', ' '+ Node268_1fontSize + 'px "宋体"').width + 6, (Node268_1height - Node268_1fontSize) * 0.5*_ratio.ratioY + Node268_1fontSize + 2 ]);
- Node268_1.a('node.underlinevisible',false);
- Node268_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node268_1);
- zoomNodeList.push({
- node: Node268_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node269_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node269_0 = new ht.Node();
- Node269_0.setPosition(268*ratio.ratioX, 463*ratio.ratioY);
- Node269_0.setSize(117*ratioX, 26*ratioY);
- Node269_0.setImage('imgimage//img//index_map_bot.png');
- Node269_0.setRotation(0*Math.PI/180);
- Node269_0._zoomBy = 'Default';
- Node269_0._nodeType = 'image';
- Node269_0._disallowEvert = true;
- dataModel.add(Node269_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node269_1 = new ht.Node();
- var Node269_1textStart, Node269_1textWidth, Node269_1lineStart, Node269_1align = 'left', Node269_1fontSize = 13.3333*_ratio.ratioY,Node269_1width = 100*_ratio.ratioX, Node269_1height = 16*_ratio.ratioY;
- (function () {
- if (Node269_1align === 'left') {
- Node269_1textStart = Node269_1fontSize * 0.2 > 2 ? Node269_1fontSize * 0.2 - 4 : Node269_1fontSize * 0.2 - 9;
- Node269_1textWidth = Node269_1width;
- Node269_1lineStart = 1;
- } else if (Node269_1align === 'right') {
- Node269_1textStart = 0;
- Node269_1textWidth =Node269_1fontSize <= 8 ? Node269_1width + Node269_1fontSize * 0.2 + 6 : Node269_1width - Node269_1fontSize * 0.2;
- Node269_1lineStart = (Node269_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node269_1align === 'center') {
- Node269_1textStart = -3;
- Node269_1textWidth = Node269_1width;
- Node269_1lineStart = Node269_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node269_1.setImage(GD.getTextJSON(Node269_1width, Node269_1height, true, false, false, ' '+ Node269_1fontSize + 'px "宋体"'))
- Node269_1.setPosition(267*ratio.ratioX, 463*ratio.ratioY);
- Node269_1.setWidth(Node269_1width);
- Node269_1.setHeight(Node269_1height);
- Node269_1._nodeType = 'text';
- Node269_1._disallowEvert = true;
- Node269_1.setRotation(0*Math.PI/180);
- Node269_1.a('node.width', Node269_1width);
- Node269_1.a('node.height', Node269_1height);
- Node269_1.a('node.rect', [0, 0, Node269_1width, Node269_1height]);
- Node269_1.a('node.bordercolor','rgba(255,255,192,1)');
- Node269_1.a('node.borderwidth', 0);
- Node269_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node269_1.a('node.gradient','');
- Node269_1.a('node.gradientcolor','');
- Node269_1.a('node.text','平鲁虎头山风场');
- Node269_1.a('node.textalign','left');
- Node269_1.a('node.textvAlign','middle');
- Node269_1.a('node.textrect', [Node269_1textStart, 0, Node269_1textWidth, Node269_1height]);
- Node269_1.a('node.color','rgba(255,255,192,1)');
- Node269_1.a('node.font',' '+ Node269_1fontSize + 'px "宋体"');
- Node269_1.a('node.textvisible',true);
- Node269_1.a('node.linefeed',false);
- if (false) {
- Node269_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node269_1.a('node.text') || '平鲁虎头山风场';
- var color=Node269_1.a('node.color') || 'rgba(255,255,192,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node269_1width,Node269_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node269_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node269_1.a('node.underlinepoints',[Node269_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node269_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node269_1fontSize + 'px "宋体"').width + 6, (Node269_1height - Node269_1fontSize) * 0.5*_ratio.ratioY + Node269_1fontSize + 2 ]);
- Node269_1.a('node.underlinevisible',false);
- Node269_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node269_1);
- zoomNodeList.push({
- node: Node269_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node270_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node270_0 = new ht.Node();
- Node270_0.setPosition(268*ratio.ratioX, 463*ratio.ratioY);
- Node270_0.setSize(117*ratioX, 26*ratioY);
- Node270_0.setImage('imgimage//img//index_map_bot.png');
- Node270_0.setRotation(0*Math.PI/180);
- Node270_0._zoomBy = 'Default';
- Node270_0._nodeType = 'image';
- Node270_0._disallowEvert = true;
- dataModel.add(Node270_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node270_1 = new ht.Node();
- var Node270_1textStart, Node270_1textWidth, Node270_1lineStart, Node270_1align = 'left', Node270_1fontSize = 13.3333*_ratio.ratioY,Node270_1width = 100*_ratio.ratioX, Node270_1height = 16*_ratio.ratioY;
- (function () {
- if (Node270_1align === 'left') {
- Node270_1textStart = Node270_1fontSize * 0.2 > 2 ? Node270_1fontSize * 0.2 - 4 : Node270_1fontSize * 0.2 - 9;
- Node270_1textWidth = Node270_1width;
- Node270_1lineStart = 1;
- } else if (Node270_1align === 'right') {
- Node270_1textStart = 0;
- Node270_1textWidth =Node270_1fontSize <= 8 ? Node270_1width + Node270_1fontSize * 0.2 + 6 : Node270_1width - Node270_1fontSize * 0.2;
- Node270_1lineStart = (Node270_1width - (ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node270_1align === 'center') {
- Node270_1textStart = -3;
- Node270_1textWidth = Node270_1width;
- Node270_1lineStart = Node270_1width - ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node270_1.setImage(GD.getTextJSON(Node270_1width, Node270_1height, true, false, false, ' '+ Node270_1fontSize + 'px "宋体"'))
- Node270_1.setPosition(267*ratio.ratioX, 463*ratio.ratioY);
- Node270_1.setWidth(Node270_1width);
- Node270_1.setHeight(Node270_1height);
- Node270_1._nodeType = 'text';
- Node270_1._disallowEvert = true;
- Node270_1.setRotation(0*Math.PI/180);
- Node270_1.a('node.width', Node270_1width);
- Node270_1.a('node.height', Node270_1height);
- Node270_1.a('node.rect', [0, 0, Node270_1width, Node270_1height]);
- Node270_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node270_1.a('node.borderwidth', 0);
- Node270_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node270_1.a('node.gradient','');
- Node270_1.a('node.gradientcolor','');
- Node270_1.a('node.text','平鲁虎头山风场');
- Node270_1.a('node.textalign','left');
- Node270_1.a('node.textvAlign','middle');
- Node270_1.a('node.textrect', [Node270_1textStart, 0, Node270_1textWidth, Node270_1height]);
- Node270_1.a('node.color','rgba(255,255,255,1)');
- Node270_1.a('node.font',' '+ Node270_1fontSize + 'px "宋体"');
- Node270_1.a('node.textvisible',true);
- Node270_1.a('node.linefeed',false);
- if (false) {
- Node270_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node270_1.a('node.text') || '平鲁虎头山风场';
- var color=Node270_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node270_1width,Node270_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node270_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node270_1.a('node.underlinepoints',[Node270_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node270_1fontSize + 2 , ht.Default.getTextSize('平鲁虎头山风场', ' '+ Node270_1fontSize + 'px "宋体"').width + 6, (Node270_1height - Node270_1fontSize) * 0.5*_ratio.ratioY + Node270_1fontSize + 2 ]);
- Node270_1.a('node.underlinevisible',false);
- Node270_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node270_1);
- zoomNodeList.push({
- node: Node270_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node271_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node271_0 = new ht.Node();
- Node271_0.setPosition(318*ratio.ratioX, 763*ratio.ratioY);
- Node271_0.setSize(117*ratioX, 26*ratioY);
- Node271_0.setImage('imgimage//img//index_map_bot.png');
- Node271_0.setRotation(0*Math.PI/180);
- Node271_0._zoomBy = 'Default';
- Node271_0._nodeType = 'image';
- Node271_0._disallowEvert = true;
- dataModel.add(Node271_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node271_1 = new ht.Node();
- var Node271_1textStart, Node271_1textWidth, Node271_1lineStart, Node271_1align = 'left', Node271_1fontSize = 13.3333*_ratio.ratioY,Node271_1width = 110*_ratio.ratioX, Node271_1height = 16*_ratio.ratioY;
- (function () {
- if (Node271_1align === 'left') {
- Node271_1textStart = Node271_1fontSize * 0.2 > 2 ? Node271_1fontSize * 0.2 - 4 : Node271_1fontSize * 0.2 - 9;
- Node271_1textWidth = Node271_1width;
- Node271_1lineStart = 1;
- } else if (Node271_1align === 'right') {
- Node271_1textStart = 0;
- Node271_1textWidth =Node271_1fontSize <= 8 ? Node271_1width + Node271_1fontSize * 0.2 + 6 : Node271_1width - Node271_1fontSize * 0.2;
- Node271_1lineStart = (Node271_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node271_1align === 'center') {
- Node271_1textStart = -3;
- Node271_1textWidth = Node271_1width;
- Node271_1lineStart = Node271_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node271_1.setImage(GD.getTextJSON(Node271_1width, Node271_1height, true, false, false, ' '+ Node271_1fontSize + 'px "宋体"'))
- Node271_1.setPosition(322*ratio.ratioX, 764*ratio.ratioY);
- Node271_1.setWidth(Node271_1width);
- Node271_1.setHeight(Node271_1height);
- Node271_1._nodeType = 'text';
- Node271_1._disallowEvert = true;
- Node271_1.setRotation(0*Math.PI/180);
- Node271_1.a('node.width', Node271_1width);
- Node271_1.a('node.height', Node271_1height);
- Node271_1.a('node.rect', [0, 0, Node271_1width, Node271_1height]);
- Node271_1.a('node.bordercolor','rgba(255,255,192,1)');
- Node271_1.a('node.borderwidth', 0);
- Node271_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node271_1.a('node.gradient','');
- Node271_1.a('node.gradientcolor','');
- Node271_1.a('node.text','吕梁宝塔山风场');
- Node271_1.a('node.textalign','left');
- Node271_1.a('node.textvAlign','middle');
- Node271_1.a('node.textrect', [Node271_1textStart, 0, Node271_1textWidth, Node271_1height]);
- Node271_1.a('node.color','rgba(255,255,192,1)');
- Node271_1.a('node.font',' '+ Node271_1fontSize + 'px "宋体"');
- Node271_1.a('node.textvisible',true);
- Node271_1.a('node.linefeed',false);
- if (false) {
- Node271_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node271_1.a('node.text') || '吕梁宝塔山风场';
- var color=Node271_1.a('node.color') || 'rgba(255,255,192,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node271_1width,Node271_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node271_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node271_1.a('node.underlinepoints',[Node271_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node271_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node271_1fontSize + 'px "宋体"').width + 6, (Node271_1height - Node271_1fontSize) * 0.5*_ratio.ratioY + Node271_1fontSize + 2 ]);
- Node271_1.a('node.underlinevisible',false);
- Node271_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node271_1);
- zoomNodeList.push({
- node: Node271_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node272_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//index_map_bot.png', PAGEROOTDIR + 'image//img//index_map_bot.png');
- Node272_0 = new ht.Node();
- Node272_0.setPosition(318*ratio.ratioX, 763*ratio.ratioY);
- Node272_0.setSize(117*ratioX, 26*ratioY);
- Node272_0.setImage('imgimage//img//index_map_bot.png');
- Node272_0.setRotation(0*Math.PI/180);
- Node272_0._zoomBy = 'Default';
- Node272_0._nodeType = 'image';
- Node272_0._disallowEvert = true;
- dataModel.add(Node272_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node272_1 = new ht.Node();
- var Node272_1textStart, Node272_1textWidth, Node272_1lineStart, Node272_1align = 'left', Node272_1fontSize = 13.3333*_ratio.ratioY,Node272_1width = 110*_ratio.ratioX, Node272_1height = 16*_ratio.ratioY;
- (function () {
- if (Node272_1align === 'left') {
- Node272_1textStart = Node272_1fontSize * 0.2 > 2 ? Node272_1fontSize * 0.2 - 4 : Node272_1fontSize * 0.2 - 9;
- Node272_1textWidth = Node272_1width;
- Node272_1lineStart = 1;
- } else if (Node272_1align === 'right') {
- Node272_1textStart = 0;
- Node272_1textWidth =Node272_1fontSize <= 8 ? Node272_1width + Node272_1fontSize * 0.2 + 6 : Node272_1width - Node272_1fontSize * 0.2;
- Node272_1lineStart = (Node272_1width - (ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width + 6)) * 0.5;
- } else if (Node272_1align === 'center') {
- Node272_1textStart = -3;
- Node272_1textWidth = Node272_1width;
- Node272_1lineStart = Node272_1width - ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width - 11;
- }
- })();
- Node272_1.setImage(GD.getTextJSON(Node272_1width, Node272_1height, true, false, false, ' '+ Node272_1fontSize + 'px "宋体"'))
- Node272_1.setPosition(322*ratio.ratioX, 764*ratio.ratioY);
- Node272_1.setWidth(Node272_1width);
- Node272_1.setHeight(Node272_1height);
- Node272_1._nodeType = 'text';
- Node272_1._disallowEvert = true;
- Node272_1.setRotation(0*Math.PI/180);
- Node272_1.a('node.width', Node272_1width);
- Node272_1.a('node.height', Node272_1height);
- Node272_1.a('node.rect', [0, 0, Node272_1width, Node272_1height]);
- Node272_1.a('node.bordercolor','rgba(255,255,255,1)');
- Node272_1.a('node.borderwidth', 0);
- Node272_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node272_1.a('node.gradient','');
- Node272_1.a('node.gradientcolor','');
- Node272_1.a('node.text','吕梁宝塔山风场');
- Node272_1.a('node.textalign','left');
- Node272_1.a('node.textvAlign','middle');
- Node272_1.a('node.textrect', [Node272_1textStart, 0, Node272_1textWidth, Node272_1height]);
- Node272_1.a('node.color','rgba(255,255,255,1)');
- Node272_1.a('node.font',' '+ Node272_1fontSize + 'px "宋体"');
- Node272_1.a('node.textvisible',true);
- Node272_1.a('node.linefeed',false);
- if (false) {
- Node272_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node272_1.a('node.text') || '吕梁宝塔山风场';
- var color=Node272_1.a('node.color') || 'rgba(255,255,255,1)';
- canvasTextAutoLine(str,0,13.3333*0.5*_ratio.ratioY,Node272_1width,Node272_1height,13.3333*_ratio.ratioY,"left",color,' '+ Node272_1fontSize + 'px "宋体"', 0,g);
- });
- }
- if (false) {
- Node272_1.a('node.underlinepoints',[Node272_1lineStart, (16 - 13.3333) * 0.5 * _ratio.ratioY + Node272_1fontSize + 2 , ht.Default.getTextSize('吕梁宝塔山风场', ' '+ Node272_1fontSize + 'px "宋体"').width + 6, (Node272_1height - Node272_1fontSize) * 0.5*_ratio.ratioY + Node272_1fontSize + 2 ]);
- Node272_1.a('node.underlinevisible',false);
- Node272_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node272_1);
- zoomNodeList.push({
- node: Node272_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node273_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node273_0 = new ht.Node();
- Node273_0.setPosition(683*ratio.ratioX, 350*ratio.ratioY);
- Node273_0.setSize(146*ratioX, 141*ratioY);
- Node273_0.setImage('imgimage//img//map_name_03.png');
- Node273_0.setRotation(0*Math.PI/180);
- Node273_0._zoomBy = 'Default';
- Node273_0._nodeType = 'image';
- Node273_0._disallowEvert = true;
- dataModel.add(Node273_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_1 = new ht.Node();
- var Node273_1textStart, Node273_1textWidth, Node273_1lineStart, Node273_1align = 'left', Node273_1fontSize = 10.66664*_ratio.ratioY,Node273_1width = 72*_ratio.ratioX, Node273_1height = 27*_ratio.ratioY;
- (function () {
- if (Node273_1align === 'left') {
- Node273_1textStart = Node273_1fontSize * 0.2 > 2 ? Node273_1fontSize * 0.2 - 4 : Node273_1fontSize * 0.2 - 9;
- Node273_1textWidth = Node273_1width;
- Node273_1lineStart = 1;
- } else if (Node273_1align === 'right') {
- Node273_1textStart = 0;
- Node273_1textWidth =Node273_1fontSize <= 8 ? Node273_1width + Node273_1fontSize * 0.2 + 6 : Node273_1width - Node273_1fontSize * 0.2;
- Node273_1lineStart = (Node273_1width - (ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_1align === 'center') {
- Node273_1textStart = -3;
- Node273_1textWidth = Node273_1width;
- Node273_1lineStart = Node273_1width - ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_1.setImage(GD.getTextJSON(Node273_1width, Node273_1height, true, false, false, ' '+ Node273_1fontSize + 'px "Arial"'))
- Node273_1.setPosition(653*ratio.ratioX, 303*ratio.ratioY);
- Node273_1.setWidth(Node273_1width);
- Node273_1.setHeight(Node273_1height);
- Node273_1._nodeType = 'text';
- Node273_1._disallowEvert = true;
- Node273_1.setRotation(0*Math.PI/180);
- Node273_1.a('node.width', Node273_1width);
- Node273_1.a('node.height', Node273_1height);
- Node273_1.a('node.rect', [0, 0, Node273_1width, Node273_1height]);
- Node273_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_1.a('node.borderwidth', 0);
- Node273_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_1.a('node.gradient','');
- Node273_1.a('node.gradientcolor','');
- Node273_1.a('node.text','风机台数');
- Node273_1.a('node.textalign','left');
- Node273_1.a('node.textvAlign','middle');
- Node273_1.a('node.textrect', [Node273_1textStart, 0, Node273_1textWidth, Node273_1height]);
- Node273_1.a('node.color','rgba(0,0,0,1)');
- Node273_1.a('node.font',' '+ Node273_1fontSize + 'px "Arial"');
- Node273_1.a('node.textvisible',true);
- Node273_1.a('node.linefeed',false);
- if (false) {
- Node273_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_1.a('node.text') || '风机台数';
- var color=Node273_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_1width,Node273_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_1.a('node.underlinepoints',[Node273_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node273_1fontSize + 'px "Arial"').width + 6, (Node273_1height - Node273_1fontSize) * 0.5*_ratio.ratioY + Node273_1fontSize + 2 ]);
- Node273_1.a('node.underlinevisible',false);
- Node273_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_1);
- zoomNodeList.push({
- node: Node273_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_2 = new ht.Node();
- var Node273_2textStart, Node273_2textWidth, Node273_2lineStart, Node273_2align = 'left', Node273_2fontSize = 10.66664*_ratio.ratioY,Node273_2width = 22*_ratio.ratioX, Node273_2height = 27*_ratio.ratioY;
- (function () {
- if (Node273_2align === 'left') {
- Node273_2textStart = Node273_2fontSize * 0.2 > 2 ? Node273_2fontSize * 0.2 - 4 : Node273_2fontSize * 0.2 - 9;
- Node273_2textWidth = Node273_2width;
- Node273_2lineStart = 1;
- } else if (Node273_2align === 'right') {
- Node273_2textStart = 0;
- Node273_2textWidth =Node273_2fontSize <= 8 ? Node273_2width + Node273_2fontSize * 0.2 + 6 : Node273_2width - Node273_2fontSize * 0.2;
- Node273_2lineStart = (Node273_2width - (ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_2align === 'center') {
- Node273_2textStart = -3;
- Node273_2textWidth = Node273_2width;
- Node273_2lineStart = Node273_2width - ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_2.setImage(GD.getTextJSON(Node273_2width, Node273_2height, true, false, false, ' '+ Node273_2fontSize + 'px "Arial"'))
- Node273_2.setPosition(691*ratio.ratioX, 303*ratio.ratioY);
- Node273_2.setWidth(Node273_2width);
- Node273_2.setHeight(Node273_2height);
- Node273_2._nodeType = 'text';
- Node273_2._disallowEvert = true;
- Node273_2.setRotation(0*Math.PI/180);
- Node273_2.a('node.width', Node273_2width);
- Node273_2.a('node.height', Node273_2height);
- Node273_2.a('node.rect', [0, 0, Node273_2width, Node273_2height]);
- Node273_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node273_2.a('node.borderwidth', 0);
- Node273_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_2.a('node.gradient','');
- Node273_2.a('node.gradientcolor','');
- Node273_2.a('node.text','99');
- Node273_2.a('node.textalign','left');
- Node273_2.a('node.textvAlign','middle');
- Node273_2.a('node.textrect', [Node273_2textStart, 0, Node273_2textWidth, Node273_2height]);
- Node273_2.a('node.color','rgba(192,0,0,1)');
- Node273_2.a('node.font',' '+ Node273_2fontSize + 'px "Arial"');
- Node273_2.a('node.textvisible',true);
- Node273_2.a('node.linefeed',false);
- if (false) {
- Node273_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_2.a('node.text') || '99';
- var color=Node273_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_2width,Node273_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_2.a('node.underlinepoints',[Node273_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node273_2fontSize + 'px "Arial"').width + 6, (Node273_2height - Node273_2fontSize) * 0.5*_ratio.ratioY + Node273_2fontSize + 2 ]);
- Node273_2.a('node.underlinevisible',false);
- Node273_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_2);
- zoomNodeList.push({
- node: Node273_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_3 = new ht.Node();
- var Node273_3textStart, Node273_3textWidth, Node273_3lineStart, Node273_3align = 'left', Node273_3fontSize = 10.66664*_ratio.ratioY,Node273_3width = 43*_ratio.ratioX, Node273_3height = 27*_ratio.ratioY;
- (function () {
- if (Node273_3align === 'left') {
- Node273_3textStart = Node273_3fontSize * 0.2 > 2 ? Node273_3fontSize * 0.2 - 4 : Node273_3fontSize * 0.2 - 9;
- Node273_3textWidth = Node273_3width;
- Node273_3lineStart = 1;
- } else if (Node273_3align === 'right') {
- Node273_3textStart = 0;
- Node273_3textWidth =Node273_3fontSize <= 8 ? Node273_3width + Node273_3fontSize * 0.2 + 6 : Node273_3width - Node273_3fontSize * 0.2;
- Node273_3lineStart = (Node273_3width - (ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_3align === 'center') {
- Node273_3textStart = -3;
- Node273_3textWidth = Node273_3width;
- Node273_3lineStart = Node273_3width - ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_3.setImage(GD.getTextJSON(Node273_3width, Node273_3height, true, false, false, ' '+ Node273_3fontSize + 'px "Arial"'))
- Node273_3.setPosition(738*ratio.ratioX, 303*ratio.ratioY);
- Node273_3.setWidth(Node273_3width);
- Node273_3.setHeight(Node273_3height);
- Node273_3._nodeType = 'text';
- Node273_3._disallowEvert = true;
- Node273_3.setRotation(0*Math.PI/180);
- Node273_3.a('node.width', Node273_3width);
- Node273_3.a('node.height', Node273_3height);
- Node273_3.a('node.rect', [0, 0, Node273_3width, Node273_3height]);
- Node273_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_3.a('node.borderwidth', 0);
- Node273_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_3.a('node.gradient','');
- Node273_3.a('node.gradientcolor','');
- Node273_3.a('node.text','万kwh');
- Node273_3.a('node.textalign','left');
- Node273_3.a('node.textvAlign','middle');
- Node273_3.a('node.textrect', [Node273_3textStart, 0, Node273_3textWidth, Node273_3height]);
- Node273_3.a('node.color','rgba(0,0,0,1)');
- Node273_3.a('node.font',' '+ Node273_3fontSize + 'px "Arial"');
- Node273_3.a('node.textvisible',true);
- Node273_3.a('node.linefeed',false);
- if (false) {
- Node273_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_3.a('node.text') || '万kwh';
- var color=Node273_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_3width,Node273_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_3.a('node.underlinepoints',[Node273_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_3fontSize + 'px "Arial"').width + 6, (Node273_3height - Node273_3fontSize) * 0.5*_ratio.ratioY + Node273_3fontSize + 2 ]);
- Node273_3.a('node.underlinevisible',false);
- Node273_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_3);
- zoomNodeList.push({
- node: Node273_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_4 = new ht.Node();
- var Node273_4textStart, Node273_4textWidth, Node273_4lineStart, Node273_4align = 'left', Node273_4fontSize = 10.66664*_ratio.ratioY,Node273_4width = 72*_ratio.ratioX, Node273_4height = 27*_ratio.ratioY;
- (function () {
- if (Node273_4align === 'left') {
- Node273_4textStart = Node273_4fontSize * 0.2 > 2 ? Node273_4fontSize * 0.2 - 4 : Node273_4fontSize * 0.2 - 9;
- Node273_4textWidth = Node273_4width;
- Node273_4lineStart = 1;
- } else if (Node273_4align === 'right') {
- Node273_4textStart = 0;
- Node273_4textWidth =Node273_4fontSize <= 8 ? Node273_4width + Node273_4fontSize * 0.2 + 6 : Node273_4width - Node273_4fontSize * 0.2;
- Node273_4lineStart = (Node273_4width - (ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_4align === 'center') {
- Node273_4textStart = -3;
- Node273_4textWidth = Node273_4width;
- Node273_4lineStart = Node273_4width - ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_4.setImage(GD.getTextJSON(Node273_4width, Node273_4height, true, false, false, ' '+ Node273_4fontSize + 'px "Arial"'))
- Node273_4.setPosition(653*ratio.ratioX, 329*ratio.ratioY);
- Node273_4.setWidth(Node273_4width);
- Node273_4.setHeight(Node273_4height);
- Node273_4._nodeType = 'text';
- Node273_4._disallowEvert = true;
- Node273_4.setRotation(0*Math.PI/180);
- Node273_4.a('node.width', Node273_4width);
- Node273_4.a('node.height', Node273_4height);
- Node273_4.a('node.rect', [0, 0, Node273_4width, Node273_4height]);
- Node273_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_4.a('node.borderwidth', 0);
- Node273_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_4.a('node.gradient','');
- Node273_4.a('node.gradientcolor','');
- Node273_4.a('node.text','装机容量');
- Node273_4.a('node.textalign','left');
- Node273_4.a('node.textvAlign','middle');
- Node273_4.a('node.textrect', [Node273_4textStart, 0, Node273_4textWidth, Node273_4height]);
- Node273_4.a('node.color','rgba(0,0,0,1)');
- Node273_4.a('node.font',' '+ Node273_4fontSize + 'px "Arial"');
- Node273_4.a('node.textvisible',true);
- Node273_4.a('node.linefeed',false);
- if (false) {
- Node273_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_4.a('node.text') || '装机容量';
- var color=Node273_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_4width,Node273_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_4.a('node.underlinepoints',[Node273_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node273_4fontSize + 'px "Arial"').width + 6, (Node273_4height - Node273_4fontSize) * 0.5*_ratio.ratioY + Node273_4fontSize + 2 ]);
- Node273_4.a('node.underlinevisible',false);
- Node273_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_4);
- zoomNodeList.push({
- node: Node273_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_5 = new ht.Node();
- var Node273_5textStart, Node273_5textWidth, Node273_5lineStart, Node273_5align = 'left', Node273_5fontSize = 10.66664*_ratio.ratioY,Node273_5width = 31*_ratio.ratioX, Node273_5height = 27*_ratio.ratioY;
- (function () {
- if (Node273_5align === 'left') {
- Node273_5textStart = Node273_5fontSize * 0.2 > 2 ? Node273_5fontSize * 0.2 - 4 : Node273_5fontSize * 0.2 - 9;
- Node273_5textWidth = Node273_5width;
- Node273_5lineStart = 1;
- } else if (Node273_5align === 'right') {
- Node273_5textStart = 0;
- Node273_5textWidth =Node273_5fontSize <= 8 ? Node273_5width + Node273_5fontSize * 0.2 + 6 : Node273_5width - Node273_5fontSize * 0.2;
- Node273_5lineStart = (Node273_5width - (ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_5align === 'center') {
- Node273_5textStart = -3;
- Node273_5textWidth = Node273_5width;
- Node273_5lineStart = Node273_5width - ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_5.setImage(GD.getTextJSON(Node273_5width, Node273_5height, true, false, false, ' '+ Node273_5fontSize + 'px "Arial"'))
- Node273_5.setPosition(696*ratio.ratioX, 329*ratio.ratioY);
- Node273_5.setWidth(Node273_5width);
- Node273_5.setHeight(Node273_5height);
- Node273_5._nodeType = 'text';
- Node273_5._disallowEvert = true;
- Node273_5.setRotation(0*Math.PI/180);
- Node273_5.a('node.width', Node273_5width);
- Node273_5.a('node.height', Node273_5height);
- Node273_5.a('node.rect', [0, 0, Node273_5width, Node273_5height]);
- Node273_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node273_5.a('node.borderwidth', 0);
- Node273_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_5.a('node.gradient','');
- Node273_5.a('node.gradientcolor','');
- Node273_5.a('node.text','14.85');
- Node273_5.a('node.textalign','left');
- Node273_5.a('node.textvAlign','middle');
- Node273_5.a('node.textrect', [Node273_5textStart, 0, Node273_5textWidth, Node273_5height]);
- Node273_5.a('node.color','rgba(192,0,0,1)');
- Node273_5.a('node.font',' '+ Node273_5fontSize + 'px "Arial"');
- Node273_5.a('node.textvisible',true);
- Node273_5.a('node.linefeed',false);
- if (false) {
- Node273_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_5.a('node.text') || '14.85';
- var color=Node273_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_5width,Node273_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_5.a('node.underlinepoints',[Node273_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node273_5fontSize + 'px "Arial"').width + 6, (Node273_5height - Node273_5fontSize) * 0.5*_ratio.ratioY + Node273_5fontSize + 2 ]);
- Node273_5.a('node.underlinevisible',false);
- Node273_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_5);
- zoomNodeList.push({
- node: Node273_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_6 = new ht.Node();
- var Node273_6textStart, Node273_6textWidth, Node273_6lineStart, Node273_6align = 'left', Node273_6fontSize = 10.66664*_ratio.ratioY,Node273_6width = 43*_ratio.ratioX, Node273_6height = 27*_ratio.ratioY;
- (function () {
- if (Node273_6align === 'left') {
- Node273_6textStart = Node273_6fontSize * 0.2 > 2 ? Node273_6fontSize * 0.2 - 4 : Node273_6fontSize * 0.2 - 9;
- Node273_6textWidth = Node273_6width;
- Node273_6lineStart = 1;
- } else if (Node273_6align === 'right') {
- Node273_6textStart = 0;
- Node273_6textWidth =Node273_6fontSize <= 8 ? Node273_6width + Node273_6fontSize * 0.2 + 6 : Node273_6width - Node273_6fontSize * 0.2;
- Node273_6lineStart = (Node273_6width - (ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_6align === 'center') {
- Node273_6textStart = -3;
- Node273_6textWidth = Node273_6width;
- Node273_6lineStart = Node273_6width - ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_6.setImage(GD.getTextJSON(Node273_6width, Node273_6height, true, false, false, ' '+ Node273_6fontSize + 'px "Arial"'))
- Node273_6.setPosition(738*ratio.ratioX, 329*ratio.ratioY);
- Node273_6.setWidth(Node273_6width);
- Node273_6.setHeight(Node273_6height);
- Node273_6._nodeType = 'text';
- Node273_6._disallowEvert = true;
- Node273_6.setRotation(0*Math.PI/180);
- Node273_6.a('node.width', Node273_6width);
- Node273_6.a('node.height', Node273_6height);
- Node273_6.a('node.rect', [0, 0, Node273_6width, Node273_6height]);
- Node273_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_6.a('node.borderwidth', 0);
- Node273_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_6.a('node.gradient','');
- Node273_6.a('node.gradientcolor','');
- Node273_6.a('node.text','万kwh');
- Node273_6.a('node.textalign','left');
- Node273_6.a('node.textvAlign','middle');
- Node273_6.a('node.textrect', [Node273_6textStart, 0, Node273_6textWidth, Node273_6height]);
- Node273_6.a('node.color','rgba(0,0,0,1)');
- Node273_6.a('node.font',' '+ Node273_6fontSize + 'px "Arial"');
- Node273_6.a('node.textvisible',true);
- Node273_6.a('node.linefeed',false);
- if (false) {
- Node273_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_6.a('node.text') || '万kwh';
- var color=Node273_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_6width,Node273_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_6.a('node.underlinepoints',[Node273_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_6fontSize + 'px "Arial"').width + 6, (Node273_6height - Node273_6fontSize) * 0.5*_ratio.ratioY + Node273_6fontSize + 2 ]);
- Node273_6.a('node.underlinevisible',false);
- Node273_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_6);
- zoomNodeList.push({
- node: Node273_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_7 = new ht.Node();
- var Node273_7textStart, Node273_7textWidth, Node273_7lineStart, Node273_7align = 'left', Node273_7fontSize = 10.66664*_ratio.ratioY,Node273_7width = 72*_ratio.ratioX, Node273_7height = 27*_ratio.ratioY;
- (function () {
- if (Node273_7align === 'left') {
- Node273_7textStart = Node273_7fontSize * 0.2 > 2 ? Node273_7fontSize * 0.2 - 4 : Node273_7fontSize * 0.2 - 9;
- Node273_7textWidth = Node273_7width;
- Node273_7lineStart = 1;
- } else if (Node273_7align === 'right') {
- Node273_7textStart = 0;
- Node273_7textWidth =Node273_7fontSize <= 8 ? Node273_7width + Node273_7fontSize * 0.2 + 6 : Node273_7width - Node273_7fontSize * 0.2;
- Node273_7lineStart = (Node273_7width - (ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_7align === 'center') {
- Node273_7textStart = -3;
- Node273_7textWidth = Node273_7width;
- Node273_7lineStart = Node273_7width - ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_7.setImage(GD.getTextJSON(Node273_7width, Node273_7height, true, false, false, ' '+ Node273_7fontSize + 'px "Arial"'))
- Node273_7.setPosition(653*ratio.ratioX, 354*ratio.ratioY);
- Node273_7.setWidth(Node273_7width);
- Node273_7.setHeight(Node273_7height);
- Node273_7._nodeType = 'text';
- Node273_7._disallowEvert = true;
- Node273_7.setRotation(0*Math.PI/180);
- Node273_7.a('node.width', Node273_7width);
- Node273_7.a('node.height', Node273_7height);
- Node273_7.a('node.rect', [0, 0, Node273_7width, Node273_7height]);
- Node273_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_7.a('node.borderwidth', 0);
- Node273_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_7.a('node.gradient','');
- Node273_7.a('node.gradientcolor','');
- Node273_7.a('node.text','平均风速');
- Node273_7.a('node.textalign','left');
- Node273_7.a('node.textvAlign','middle');
- Node273_7.a('node.textrect', [Node273_7textStart, 0, Node273_7textWidth, Node273_7height]);
- Node273_7.a('node.color','rgba(0,0,0,1)');
- Node273_7.a('node.font',' '+ Node273_7fontSize + 'px "Arial"');
- Node273_7.a('node.textvisible',true);
- Node273_7.a('node.linefeed',false);
- if (false) {
- Node273_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_7.a('node.text') || '平均风速';
- var color=Node273_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_7width,Node273_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_7.a('node.underlinepoints',[Node273_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node273_7fontSize + 'px "Arial"').width + 6, (Node273_7height - Node273_7fontSize) * 0.5*_ratio.ratioY + Node273_7fontSize + 2 ]);
- Node273_7.a('node.underlinevisible',false);
- Node273_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_7);
- zoomNodeList.push({
- node: Node273_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_8 = new ht.Node();
- var Node273_8textStart, Node273_8textWidth, Node273_8lineStart, Node273_8align = 'left', Node273_8fontSize = 10.66664*_ratio.ratioY,Node273_8width = 22*_ratio.ratioX, Node273_8height = 27*_ratio.ratioY;
- (function () {
- if (Node273_8align === 'left') {
- Node273_8textStart = Node273_8fontSize * 0.2 > 2 ? Node273_8fontSize * 0.2 - 4 : Node273_8fontSize * 0.2 - 9;
- Node273_8textWidth = Node273_8width;
- Node273_8lineStart = 1;
- } else if (Node273_8align === 'right') {
- Node273_8textStart = 0;
- Node273_8textWidth =Node273_8fontSize <= 8 ? Node273_8width + Node273_8fontSize * 0.2 + 6 : Node273_8width - Node273_8fontSize * 0.2;
- Node273_8lineStart = (Node273_8width - (ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_8align === 'center') {
- Node273_8textStart = -3;
- Node273_8textWidth = Node273_8width;
- Node273_8lineStart = Node273_8width - ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_8.setImage(GD.getTextJSON(Node273_8width, Node273_8height, true, false, false, ' '+ Node273_8fontSize + 'px "Arial"'))
- Node273_8.setPosition(691*ratio.ratioX, 354*ratio.ratioY);
- Node273_8.setWidth(Node273_8width);
- Node273_8.setHeight(Node273_8height);
- Node273_8._nodeType = 'text';
- Node273_8._disallowEvert = true;
- Node273_8.setRotation(0*Math.PI/180);
- Node273_8.a('node.width', Node273_8width);
- Node273_8.a('node.height', Node273_8height);
- Node273_8.a('node.rect', [0, 0, Node273_8width, Node273_8height]);
- Node273_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node273_8.a('node.borderwidth', 0);
- Node273_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_8.a('node.gradient','');
- Node273_8.a('node.gradientcolor','');
- Node273_8.a('node.text','-');
- Node273_8.a('node.textalign','left');
- Node273_8.a('node.textvAlign','middle');
- Node273_8.a('node.textrect', [Node273_8textStart, 0, Node273_8textWidth, Node273_8height]);
- Node273_8.a('node.color','rgba(192,0,0,1)');
- Node273_8.a('node.font',' '+ Node273_8fontSize + 'px "Arial"');
- Node273_8.a('node.textvisible',true);
- Node273_8.a('node.linefeed',false);
- if (false) {
- Node273_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_8.a('node.text') || '-';
- var color=Node273_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_8width,Node273_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_8.a('node.underlinepoints',[Node273_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_8fontSize + 'px "Arial"').width + 6, (Node273_8height - Node273_8fontSize) * 0.5*_ratio.ratioY + Node273_8fontSize + 2 ]);
- Node273_8.a('node.underlinevisible',false);
- Node273_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_8);
- zoomNodeList.push({
- node: Node273_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_9 = new ht.Node();
- var Node273_9textStart, Node273_9textWidth, Node273_9lineStart, Node273_9align = 'left', Node273_9fontSize = 10.66664*_ratio.ratioY,Node273_9width = 43*_ratio.ratioX, Node273_9height = 27*_ratio.ratioY;
- (function () {
- if (Node273_9align === 'left') {
- Node273_9textStart = Node273_9fontSize * 0.2 > 2 ? Node273_9fontSize * 0.2 - 4 : Node273_9fontSize * 0.2 - 9;
- Node273_9textWidth = Node273_9width;
- Node273_9lineStart = 1;
- } else if (Node273_9align === 'right') {
- Node273_9textStart = 0;
- Node273_9textWidth =Node273_9fontSize <= 8 ? Node273_9width + Node273_9fontSize * 0.2 + 6 : Node273_9width - Node273_9fontSize * 0.2;
- Node273_9lineStart = (Node273_9width - (ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_9align === 'center') {
- Node273_9textStart = -3;
- Node273_9textWidth = Node273_9width;
- Node273_9lineStart = Node273_9width - ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_9.setImage(GD.getTextJSON(Node273_9width, Node273_9height, true, false, false, ' '+ Node273_9fontSize + 'px "Arial"'))
- Node273_9.setPosition(738*ratio.ratioX, 354*ratio.ratioY);
- Node273_9.setWidth(Node273_9width);
- Node273_9.setHeight(Node273_9height);
- Node273_9._nodeType = 'text';
- Node273_9._disallowEvert = true;
- Node273_9.setRotation(0*Math.PI/180);
- Node273_9.a('node.width', Node273_9width);
- Node273_9.a('node.height', Node273_9height);
- Node273_9.a('node.rect', [0, 0, Node273_9width, Node273_9height]);
- Node273_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_9.a('node.borderwidth', 0);
- Node273_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_9.a('node.gradient','');
- Node273_9.a('node.gradientcolor','');
- Node273_9.a('node.text','万kwh');
- Node273_9.a('node.textalign','left');
- Node273_9.a('node.textvAlign','middle');
- Node273_9.a('node.textrect', [Node273_9textStart, 0, Node273_9textWidth, Node273_9height]);
- Node273_9.a('node.color','rgba(0,0,0,1)');
- Node273_9.a('node.font',' '+ Node273_9fontSize + 'px "Arial"');
- Node273_9.a('node.textvisible',true);
- Node273_9.a('node.linefeed',false);
- if (false) {
- Node273_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_9.a('node.text') || '万kwh';
- var color=Node273_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_9width,Node273_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_9.a('node.underlinepoints',[Node273_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_9fontSize + 'px "Arial"').width + 6, (Node273_9height - Node273_9fontSize) * 0.5*_ratio.ratioY + Node273_9fontSize + 2 ]);
- Node273_9.a('node.underlinevisible',false);
- Node273_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_9);
- zoomNodeList.push({
- node: Node273_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_10 = new ht.Node();
- var Node273_10textStart, Node273_10textWidth, Node273_10lineStart, Node273_10align = 'left', Node273_10fontSize = 10.66664*_ratio.ratioY,Node273_10width = 72*_ratio.ratioX, Node273_10height = 27*_ratio.ratioY;
- (function () {
- if (Node273_10align === 'left') {
- Node273_10textStart = Node273_10fontSize * 0.2 > 2 ? Node273_10fontSize * 0.2 - 4 : Node273_10fontSize * 0.2 - 9;
- Node273_10textWidth = Node273_10width;
- Node273_10lineStart = 1;
- } else if (Node273_10align === 'right') {
- Node273_10textStart = 0;
- Node273_10textWidth =Node273_10fontSize <= 8 ? Node273_10width + Node273_10fontSize * 0.2 + 6 : Node273_10width - Node273_10fontSize * 0.2;
- Node273_10lineStart = (Node273_10width - (ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_10align === 'center') {
- Node273_10textStart = -3;
- Node273_10textWidth = Node273_10width;
- Node273_10lineStart = Node273_10width - ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_10.setImage(GD.getTextJSON(Node273_10width, Node273_10height, true, false, false, ' '+ Node273_10fontSize + 'px "Arial"'))
- Node273_10.setPosition(653*ratio.ratioX, 380*ratio.ratioY);
- Node273_10.setWidth(Node273_10width);
- Node273_10.setHeight(Node273_10height);
- Node273_10._nodeType = 'text';
- Node273_10._disallowEvert = true;
- Node273_10.setRotation(0*Math.PI/180);
- Node273_10.a('node.width', Node273_10width);
- Node273_10.a('node.height', Node273_10height);
- Node273_10.a('node.rect', [0, 0, Node273_10width, Node273_10height]);
- Node273_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_10.a('node.borderwidth', 0);
- Node273_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_10.a('node.gradient','');
- Node273_10.a('node.gradientcolor','');
- Node273_10.a('node.text','日发电量');
- Node273_10.a('node.textalign','left');
- Node273_10.a('node.textvAlign','middle');
- Node273_10.a('node.textrect', [Node273_10textStart, 0, Node273_10textWidth, Node273_10height]);
- Node273_10.a('node.color','rgba(0,0,0,1)');
- Node273_10.a('node.font',' '+ Node273_10fontSize + 'px "Arial"');
- Node273_10.a('node.textvisible',true);
- Node273_10.a('node.linefeed',false);
- if (false) {
- Node273_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_10.a('node.text') || '日发电量';
- var color=Node273_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_10width,Node273_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_10.a('node.underlinepoints',[Node273_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node273_10fontSize + 'px "Arial"').width + 6, (Node273_10height - Node273_10fontSize) * 0.5*_ratio.ratioY + Node273_10fontSize + 2 ]);
- Node273_10.a('node.underlinevisible',false);
- Node273_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_10);
- zoomNodeList.push({
- node: Node273_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_11 = new ht.Node();
- var Node273_11textStart, Node273_11textWidth, Node273_11lineStart, Node273_11align = 'left', Node273_11fontSize = 10.66664*_ratio.ratioY,Node273_11width = 31*_ratio.ratioX, Node273_11height = 27*_ratio.ratioY;
- (function () {
- if (Node273_11align === 'left') {
- Node273_11textStart = Node273_11fontSize * 0.2 > 2 ? Node273_11fontSize * 0.2 - 4 : Node273_11fontSize * 0.2 - 9;
- Node273_11textWidth = Node273_11width;
- Node273_11lineStart = 1;
- } else if (Node273_11align === 'right') {
- Node273_11textStart = 0;
- Node273_11textWidth =Node273_11fontSize <= 8 ? Node273_11width + Node273_11fontSize * 0.2 + 6 : Node273_11width - Node273_11fontSize * 0.2;
- Node273_11lineStart = (Node273_11width - (ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_11align === 'center') {
- Node273_11textStart = -3;
- Node273_11textWidth = Node273_11width;
- Node273_11lineStart = Node273_11width - ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_11.setImage(GD.getTextJSON(Node273_11width, Node273_11height, true, false, false, ' '+ Node273_11fontSize + 'px "Arial"'))
- Node273_11.setPosition(696*ratio.ratioX, 380*ratio.ratioY);
- Node273_11.setWidth(Node273_11width);
- Node273_11.setHeight(Node273_11height);
- Node273_11._nodeType = 'text';
- Node273_11._disallowEvert = true;
- Node273_11.setRotation(0*Math.PI/180);
- Node273_11.a('node.width', Node273_11width);
- Node273_11.a('node.height', Node273_11height);
- Node273_11.a('node.rect', [0, 0, Node273_11width, Node273_11height]);
- Node273_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node273_11.a('node.borderwidth', 0);
- Node273_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_11.a('node.gradient','');
- Node273_11.a('node.gradientcolor','');
- Node273_11.a('node.text','-');
- Node273_11.a('node.textalign','left');
- Node273_11.a('node.textvAlign','middle');
- Node273_11.a('node.textrect', [Node273_11textStart, 0, Node273_11textWidth, Node273_11height]);
- Node273_11.a('node.color','rgba(192,0,0,1)');
- Node273_11.a('node.font',' '+ Node273_11fontSize + 'px "Arial"');
- Node273_11.a('node.textvisible',true);
- Node273_11.a('node.linefeed',false);
- if (false) {
- Node273_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_11.a('node.text') || '-';
- var color=Node273_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_11width,Node273_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_11.a('node.underlinepoints',[Node273_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_11fontSize + 'px "Arial"').width + 6, (Node273_11height - Node273_11fontSize) * 0.5*_ratio.ratioY + Node273_11fontSize + 2 ]);
- Node273_11.a('node.underlinevisible',false);
- Node273_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_11);
- zoomNodeList.push({
- node: Node273_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_12 = new ht.Node();
- var Node273_12textStart, Node273_12textWidth, Node273_12lineStart, Node273_12align = 'left', Node273_12fontSize = 10.66664*_ratio.ratioY,Node273_12width = 43*_ratio.ratioX, Node273_12height = 27*_ratio.ratioY;
- (function () {
- if (Node273_12align === 'left') {
- Node273_12textStart = Node273_12fontSize * 0.2 > 2 ? Node273_12fontSize * 0.2 - 4 : Node273_12fontSize * 0.2 - 9;
- Node273_12textWidth = Node273_12width;
- Node273_12lineStart = 1;
- } else if (Node273_12align === 'right') {
- Node273_12textStart = 0;
- Node273_12textWidth =Node273_12fontSize <= 8 ? Node273_12width + Node273_12fontSize * 0.2 + 6 : Node273_12width - Node273_12fontSize * 0.2;
- Node273_12lineStart = (Node273_12width - (ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_12align === 'center') {
- Node273_12textStart = -3;
- Node273_12textWidth = Node273_12width;
- Node273_12lineStart = Node273_12width - ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_12.setImage(GD.getTextJSON(Node273_12width, Node273_12height, true, false, false, ' '+ Node273_12fontSize + 'px "Arial"'))
- Node273_12.setPosition(738*ratio.ratioX, 380*ratio.ratioY);
- Node273_12.setWidth(Node273_12width);
- Node273_12.setHeight(Node273_12height);
- Node273_12._nodeType = 'text';
- Node273_12._disallowEvert = true;
- Node273_12.setRotation(0*Math.PI/180);
- Node273_12.a('node.width', Node273_12width);
- Node273_12.a('node.height', Node273_12height);
- Node273_12.a('node.rect', [0, 0, Node273_12width, Node273_12height]);
- Node273_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_12.a('node.borderwidth', 0);
- Node273_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_12.a('node.gradient','');
- Node273_12.a('node.gradientcolor','');
- Node273_12.a('node.text','万kwh');
- Node273_12.a('node.textalign','left');
- Node273_12.a('node.textvAlign','middle');
- Node273_12.a('node.textrect', [Node273_12textStart, 0, Node273_12textWidth, Node273_12height]);
- Node273_12.a('node.color','rgba(0,0,0,1)');
- Node273_12.a('node.font',' '+ Node273_12fontSize + 'px "Arial"');
- Node273_12.a('node.textvisible',true);
- Node273_12.a('node.linefeed',false);
- if (false) {
- Node273_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_12.a('node.text') || '万kwh';
- var color=Node273_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_12width,Node273_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_12.a('node.underlinepoints',[Node273_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_12fontSize + 'px "Arial"').width + 6, (Node273_12height - Node273_12fontSize) * 0.5*_ratio.ratioY + Node273_12fontSize + 2 ]);
- Node273_12.a('node.underlinevisible',false);
- Node273_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_12);
- zoomNodeList.push({
- node: Node273_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_13 = new ht.Node();
- var Node273_13textStart, Node273_13textWidth, Node273_13lineStart, Node273_13align = 'left', Node273_13fontSize = 10.66664*_ratio.ratioY,Node273_13width = 72*_ratio.ratioX, Node273_13height = 27*_ratio.ratioY;
- (function () {
- if (Node273_13align === 'left') {
- Node273_13textStart = Node273_13fontSize * 0.2 > 2 ? Node273_13fontSize * 0.2 - 4 : Node273_13fontSize * 0.2 - 9;
- Node273_13textWidth = Node273_13width;
- Node273_13lineStart = 1;
- } else if (Node273_13align === 'right') {
- Node273_13textStart = 0;
- Node273_13textWidth =Node273_13fontSize <= 8 ? Node273_13width + Node273_13fontSize * 0.2 + 6 : Node273_13width - Node273_13fontSize * 0.2;
- Node273_13lineStart = (Node273_13width - (ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_13align === 'center') {
- Node273_13textStart = -3;
- Node273_13textWidth = Node273_13width;
- Node273_13lineStart = Node273_13width - ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_13.setImage(GD.getTextJSON(Node273_13width, Node273_13height, true, false, false, ' '+ Node273_13fontSize + 'px "Arial"'))
- Node273_13.setPosition(653*ratio.ratioX, 407*ratio.ratioY);
- Node273_13.setWidth(Node273_13width);
- Node273_13.setHeight(Node273_13height);
- Node273_13._nodeType = 'text';
- Node273_13._disallowEvert = true;
- Node273_13.setRotation(0*Math.PI/180);
- Node273_13.a('node.width', Node273_13width);
- Node273_13.a('node.height', Node273_13height);
- Node273_13.a('node.rect', [0, 0, Node273_13width, Node273_13height]);
- Node273_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_13.a('node.borderwidth', 0);
- Node273_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_13.a('node.gradient','');
- Node273_13.a('node.gradientcolor','');
- Node273_13.a('node.text','有功功率');
- Node273_13.a('node.textalign','left');
- Node273_13.a('node.textvAlign','middle');
- Node273_13.a('node.textrect', [Node273_13textStart, 0, Node273_13textWidth, Node273_13height]);
- Node273_13.a('node.color','rgba(0,0,0,1)');
- Node273_13.a('node.font',' '+ Node273_13fontSize + 'px "Arial"');
- Node273_13.a('node.textvisible',true);
- Node273_13.a('node.linefeed',false);
- if (false) {
- Node273_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_13.a('node.text') || '有功功率';
- var color=Node273_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_13width,Node273_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_13.a('node.underlinepoints',[Node273_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node273_13fontSize + 'px "Arial"').width + 6, (Node273_13height - Node273_13fontSize) * 0.5*_ratio.ratioY + Node273_13fontSize + 2 ]);
- Node273_13.a('node.underlinevisible',false);
- Node273_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_13);
- zoomNodeList.push({
- node: Node273_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_14 = new ht.Node();
- var Node273_14textStart, Node273_14textWidth, Node273_14lineStart, Node273_14align = 'left', Node273_14fontSize = 10.66664*_ratio.ratioY,Node273_14width = 22*_ratio.ratioX, Node273_14height = 27*_ratio.ratioY;
- (function () {
- if (Node273_14align === 'left') {
- Node273_14textStart = Node273_14fontSize * 0.2 > 2 ? Node273_14fontSize * 0.2 - 4 : Node273_14fontSize * 0.2 - 9;
- Node273_14textWidth = Node273_14width;
- Node273_14lineStart = 1;
- } else if (Node273_14align === 'right') {
- Node273_14textStart = 0;
- Node273_14textWidth =Node273_14fontSize <= 8 ? Node273_14width + Node273_14fontSize * 0.2 + 6 : Node273_14width - Node273_14fontSize * 0.2;
- Node273_14lineStart = (Node273_14width - (ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_14align === 'center') {
- Node273_14textStart = -3;
- Node273_14textWidth = Node273_14width;
- Node273_14lineStart = Node273_14width - ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_14.setImage(GD.getTextJSON(Node273_14width, Node273_14height, true, false, false, ' '+ Node273_14fontSize + 'px "Arial"'))
- Node273_14.setPosition(691*ratio.ratioX, 407*ratio.ratioY);
- Node273_14.setWidth(Node273_14width);
- Node273_14.setHeight(Node273_14height);
- Node273_14._nodeType = 'text';
- Node273_14._disallowEvert = true;
- Node273_14.setRotation(0*Math.PI/180);
- Node273_14.a('node.width', Node273_14width);
- Node273_14.a('node.height', Node273_14height);
- Node273_14.a('node.rect', [0, 0, Node273_14width, Node273_14height]);
- Node273_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node273_14.a('node.borderwidth', 0);
- Node273_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_14.a('node.gradient','');
- Node273_14.a('node.gradientcolor','');
- Node273_14.a('node.text','-');
- Node273_14.a('node.textalign','left');
- Node273_14.a('node.textvAlign','middle');
- Node273_14.a('node.textrect', [Node273_14textStart, 0, Node273_14textWidth, Node273_14height]);
- Node273_14.a('node.color','rgba(192,0,0,1)');
- Node273_14.a('node.font',' '+ Node273_14fontSize + 'px "Arial"');
- Node273_14.a('node.textvisible',true);
- Node273_14.a('node.linefeed',false);
- if (false) {
- Node273_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_14.a('node.text') || '-';
- var color=Node273_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_14width,Node273_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_14.a('node.underlinepoints',[Node273_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node273_14fontSize + 'px "Arial"').width + 6, (Node273_14height - Node273_14fontSize) * 0.5*_ratio.ratioY + Node273_14fontSize + 2 ]);
- Node273_14.a('node.underlinevisible',false);
- Node273_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_14);
- zoomNodeList.push({
- node: Node273_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node273_15 = new ht.Node();
- var Node273_15textStart, Node273_15textWidth, Node273_15lineStart, Node273_15align = 'left', Node273_15fontSize = 10.66664*_ratio.ratioY,Node273_15width = 43*_ratio.ratioX, Node273_15height = 27*_ratio.ratioY;
- (function () {
- if (Node273_15align === 'left') {
- Node273_15textStart = Node273_15fontSize * 0.2 > 2 ? Node273_15fontSize * 0.2 - 4 : Node273_15fontSize * 0.2 - 9;
- Node273_15textWidth = Node273_15width;
- Node273_15lineStart = 1;
- } else if (Node273_15align === 'right') {
- Node273_15textStart = 0;
- Node273_15textWidth =Node273_15fontSize <= 8 ? Node273_15width + Node273_15fontSize * 0.2 + 6 : Node273_15width - Node273_15fontSize * 0.2;
- Node273_15lineStart = (Node273_15width - (ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node273_15align === 'center') {
- Node273_15textStart = -3;
- Node273_15textWidth = Node273_15width;
- Node273_15lineStart = Node273_15width - ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node273_15.setImage(GD.getTextJSON(Node273_15width, Node273_15height, true, false, false, ' '+ Node273_15fontSize + 'px "Arial"'))
- Node273_15.setPosition(738*ratio.ratioX, 407*ratio.ratioY);
- Node273_15.setWidth(Node273_15width);
- Node273_15.setHeight(Node273_15height);
- Node273_15._nodeType = 'text';
- Node273_15._disallowEvert = true;
- Node273_15.setRotation(0*Math.PI/180);
- Node273_15.a('node.width', Node273_15width);
- Node273_15.a('node.height', Node273_15height);
- Node273_15.a('node.rect', [0, 0, Node273_15width, Node273_15height]);
- Node273_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node273_15.a('node.borderwidth', 0);
- Node273_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node273_15.a('node.gradient','');
- Node273_15.a('node.gradientcolor','');
- Node273_15.a('node.text','万kwh');
- Node273_15.a('node.textalign','left');
- Node273_15.a('node.textvAlign','middle');
- Node273_15.a('node.textrect', [Node273_15textStart, 0, Node273_15textWidth, Node273_15height]);
- Node273_15.a('node.color','rgba(0,0,0,1)');
- Node273_15.a('node.font',' '+ Node273_15fontSize + 'px "Arial"');
- Node273_15.a('node.textvisible',true);
- Node273_15.a('node.linefeed',false);
- if (false) {
- Node273_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node273_15.a('node.text') || '万kwh';
- var color=Node273_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node273_15width,Node273_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node273_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node273_15.a('node.underlinepoints',[Node273_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node273_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node273_15fontSize + 'px "Arial"').width + 6, (Node273_15height - Node273_15fontSize) * 0.5*_ratio.ratioY + Node273_15fontSize + 2 ]);
- Node273_15.a('node.underlinevisible',false);
- Node273_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node273_15);
- zoomNodeList.push({
- node: Node273_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node274_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node274_0 = new ht.Node();
- Node274_0.setPosition(633*ratio.ratioX, 450*ratio.ratioY);
- Node274_0.setSize(146*ratioX, 141*ratioY);
- Node274_0.setImage('imgimage//img//map_name_03.png');
- Node274_0.setRotation(0*Math.PI/180);
- Node274_0._zoomBy = 'Default';
- Node274_0._nodeType = 'image';
- Node274_0._disallowEvert = true;
- dataModel.add(Node274_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_1 = new ht.Node();
- var Node274_1textStart, Node274_1textWidth, Node274_1lineStart, Node274_1align = 'left', Node274_1fontSize = 10.66664*_ratio.ratioY,Node274_1width = 72*_ratio.ratioX, Node274_1height = 27*_ratio.ratioY;
- (function () {
- if (Node274_1align === 'left') {
- Node274_1textStart = Node274_1fontSize * 0.2 > 2 ? Node274_1fontSize * 0.2 - 4 : Node274_1fontSize * 0.2 - 9;
- Node274_1textWidth = Node274_1width;
- Node274_1lineStart = 1;
- } else if (Node274_1align === 'right') {
- Node274_1textStart = 0;
- Node274_1textWidth =Node274_1fontSize <= 8 ? Node274_1width + Node274_1fontSize * 0.2 + 6 : Node274_1width - Node274_1fontSize * 0.2;
- Node274_1lineStart = (Node274_1width - (ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_1align === 'center') {
- Node274_1textStart = -3;
- Node274_1textWidth = Node274_1width;
- Node274_1lineStart = Node274_1width - ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_1.setImage(GD.getTextJSON(Node274_1width, Node274_1height, true, false, false, ' '+ Node274_1fontSize + 'px "Arial"'))
- Node274_1.setPosition(603*ratio.ratioX, 403*ratio.ratioY);
- Node274_1.setWidth(Node274_1width);
- Node274_1.setHeight(Node274_1height);
- Node274_1._nodeType = 'text';
- Node274_1._disallowEvert = true;
- Node274_1.setRotation(0*Math.PI/180);
- Node274_1.a('node.width', Node274_1width);
- Node274_1.a('node.height', Node274_1height);
- Node274_1.a('node.rect', [0, 0, Node274_1width, Node274_1height]);
- Node274_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_1.a('node.borderwidth', 0);
- Node274_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_1.a('node.gradient','');
- Node274_1.a('node.gradientcolor','');
- Node274_1.a('node.text','风机台数');
- Node274_1.a('node.textalign','left');
- Node274_1.a('node.textvAlign','middle');
- Node274_1.a('node.textrect', [Node274_1textStart, 0, Node274_1textWidth, Node274_1height]);
- Node274_1.a('node.color','rgba(0,0,0,1)');
- Node274_1.a('node.font',' '+ Node274_1fontSize + 'px "Arial"');
- Node274_1.a('node.textvisible',true);
- Node274_1.a('node.linefeed',false);
- if (false) {
- Node274_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_1.a('node.text') || '风机台数';
- var color=Node274_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_1width,Node274_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_1.a('node.underlinepoints',[Node274_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node274_1fontSize + 'px "Arial"').width + 6, (Node274_1height - Node274_1fontSize) * 0.5*_ratio.ratioY + Node274_1fontSize + 2 ]);
- Node274_1.a('node.underlinevisible',false);
- Node274_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_1);
- zoomNodeList.push({
- node: Node274_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_2 = new ht.Node();
- var Node274_2textStart, Node274_2textWidth, Node274_2lineStart, Node274_2align = 'left', Node274_2fontSize = 10.66664*_ratio.ratioY,Node274_2width = 22*_ratio.ratioX, Node274_2height = 27*_ratio.ratioY;
- (function () {
- if (Node274_2align === 'left') {
- Node274_2textStart = Node274_2fontSize * 0.2 > 2 ? Node274_2fontSize * 0.2 - 4 : Node274_2fontSize * 0.2 - 9;
- Node274_2textWidth = Node274_2width;
- Node274_2lineStart = 1;
- } else if (Node274_2align === 'right') {
- Node274_2textStart = 0;
- Node274_2textWidth =Node274_2fontSize <= 8 ? Node274_2width + Node274_2fontSize * 0.2 + 6 : Node274_2width - Node274_2fontSize * 0.2;
- Node274_2lineStart = (Node274_2width - (ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_2align === 'center') {
- Node274_2textStart = -3;
- Node274_2textWidth = Node274_2width;
- Node274_2lineStart = Node274_2width - ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_2.setImage(GD.getTextJSON(Node274_2width, Node274_2height, true, false, false, ' '+ Node274_2fontSize + 'px "Arial"'))
- Node274_2.setPosition(641*ratio.ratioX, 403*ratio.ratioY);
- Node274_2.setWidth(Node274_2width);
- Node274_2.setHeight(Node274_2height);
- Node274_2._nodeType = 'text';
- Node274_2._disallowEvert = true;
- Node274_2.setRotation(0*Math.PI/180);
- Node274_2.a('node.width', Node274_2width);
- Node274_2.a('node.height', Node274_2height);
- Node274_2.a('node.rect', [0, 0, Node274_2width, Node274_2height]);
- Node274_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node274_2.a('node.borderwidth', 0);
- Node274_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_2.a('node.gradient','');
- Node274_2.a('node.gradientcolor','');
- Node274_2.a('node.text','99');
- Node274_2.a('node.textalign','left');
- Node274_2.a('node.textvAlign','middle');
- Node274_2.a('node.textrect', [Node274_2textStart, 0, Node274_2textWidth, Node274_2height]);
- Node274_2.a('node.color','rgba(192,0,0,1)');
- Node274_2.a('node.font',' '+ Node274_2fontSize + 'px "Arial"');
- Node274_2.a('node.textvisible',true);
- Node274_2.a('node.linefeed',false);
- if (false) {
- Node274_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_2.a('node.text') || '99';
- var color=Node274_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_2width,Node274_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_2.a('node.underlinepoints',[Node274_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node274_2fontSize + 'px "Arial"').width + 6, (Node274_2height - Node274_2fontSize) * 0.5*_ratio.ratioY + Node274_2fontSize + 2 ]);
- Node274_2.a('node.underlinevisible',false);
- Node274_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_2);
- zoomNodeList.push({
- node: Node274_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_3 = new ht.Node();
- var Node274_3textStart, Node274_3textWidth, Node274_3lineStart, Node274_3align = 'left', Node274_3fontSize = 10.66664*_ratio.ratioY,Node274_3width = 43*_ratio.ratioX, Node274_3height = 27*_ratio.ratioY;
- (function () {
- if (Node274_3align === 'left') {
- Node274_3textStart = Node274_3fontSize * 0.2 > 2 ? Node274_3fontSize * 0.2 - 4 : Node274_3fontSize * 0.2 - 9;
- Node274_3textWidth = Node274_3width;
- Node274_3lineStart = 1;
- } else if (Node274_3align === 'right') {
- Node274_3textStart = 0;
- Node274_3textWidth =Node274_3fontSize <= 8 ? Node274_3width + Node274_3fontSize * 0.2 + 6 : Node274_3width - Node274_3fontSize * 0.2;
- Node274_3lineStart = (Node274_3width - (ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_3align === 'center') {
- Node274_3textStart = -3;
- Node274_3textWidth = Node274_3width;
- Node274_3lineStart = Node274_3width - ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_3.setImage(GD.getTextJSON(Node274_3width, Node274_3height, true, false, false, ' '+ Node274_3fontSize + 'px "Arial"'))
- Node274_3.setPosition(688*ratio.ratioX, 403*ratio.ratioY);
- Node274_3.setWidth(Node274_3width);
- Node274_3.setHeight(Node274_3height);
- Node274_3._nodeType = 'text';
- Node274_3._disallowEvert = true;
- Node274_3.setRotation(0*Math.PI/180);
- Node274_3.a('node.width', Node274_3width);
- Node274_3.a('node.height', Node274_3height);
- Node274_3.a('node.rect', [0, 0, Node274_3width, Node274_3height]);
- Node274_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_3.a('node.borderwidth', 0);
- Node274_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_3.a('node.gradient','');
- Node274_3.a('node.gradientcolor','');
- Node274_3.a('node.text','万kwh');
- Node274_3.a('node.textalign','left');
- Node274_3.a('node.textvAlign','middle');
- Node274_3.a('node.textrect', [Node274_3textStart, 0, Node274_3textWidth, Node274_3height]);
- Node274_3.a('node.color','rgba(0,0,0,1)');
- Node274_3.a('node.font',' '+ Node274_3fontSize + 'px "Arial"');
- Node274_3.a('node.textvisible',true);
- Node274_3.a('node.linefeed',false);
- if (false) {
- Node274_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_3.a('node.text') || '万kwh';
- var color=Node274_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_3width,Node274_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_3.a('node.underlinepoints',[Node274_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_3fontSize + 'px "Arial"').width + 6, (Node274_3height - Node274_3fontSize) * 0.5*_ratio.ratioY + Node274_3fontSize + 2 ]);
- Node274_3.a('node.underlinevisible',false);
- Node274_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_3);
- zoomNodeList.push({
- node: Node274_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_4 = new ht.Node();
- var Node274_4textStart, Node274_4textWidth, Node274_4lineStart, Node274_4align = 'left', Node274_4fontSize = 10.66664*_ratio.ratioY,Node274_4width = 72*_ratio.ratioX, Node274_4height = 27*_ratio.ratioY;
- (function () {
- if (Node274_4align === 'left') {
- Node274_4textStart = Node274_4fontSize * 0.2 > 2 ? Node274_4fontSize * 0.2 - 4 : Node274_4fontSize * 0.2 - 9;
- Node274_4textWidth = Node274_4width;
- Node274_4lineStart = 1;
- } else if (Node274_4align === 'right') {
- Node274_4textStart = 0;
- Node274_4textWidth =Node274_4fontSize <= 8 ? Node274_4width + Node274_4fontSize * 0.2 + 6 : Node274_4width - Node274_4fontSize * 0.2;
- Node274_4lineStart = (Node274_4width - (ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_4align === 'center') {
- Node274_4textStart = -3;
- Node274_4textWidth = Node274_4width;
- Node274_4lineStart = Node274_4width - ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_4.setImage(GD.getTextJSON(Node274_4width, Node274_4height, true, false, false, ' '+ Node274_4fontSize + 'px "Arial"'))
- Node274_4.setPosition(603*ratio.ratioX, 429*ratio.ratioY);
- Node274_4.setWidth(Node274_4width);
- Node274_4.setHeight(Node274_4height);
- Node274_4._nodeType = 'text';
- Node274_4._disallowEvert = true;
- Node274_4.setRotation(0*Math.PI/180);
- Node274_4.a('node.width', Node274_4width);
- Node274_4.a('node.height', Node274_4height);
- Node274_4.a('node.rect', [0, 0, Node274_4width, Node274_4height]);
- Node274_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_4.a('node.borderwidth', 0);
- Node274_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_4.a('node.gradient','');
- Node274_4.a('node.gradientcolor','');
- Node274_4.a('node.text','装机容量');
- Node274_4.a('node.textalign','left');
- Node274_4.a('node.textvAlign','middle');
- Node274_4.a('node.textrect', [Node274_4textStart, 0, Node274_4textWidth, Node274_4height]);
- Node274_4.a('node.color','rgba(0,0,0,1)');
- Node274_4.a('node.font',' '+ Node274_4fontSize + 'px "Arial"');
- Node274_4.a('node.textvisible',true);
- Node274_4.a('node.linefeed',false);
- if (false) {
- Node274_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_4.a('node.text') || '装机容量';
- var color=Node274_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_4width,Node274_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_4.a('node.underlinepoints',[Node274_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node274_4fontSize + 'px "Arial"').width + 6, (Node274_4height - Node274_4fontSize) * 0.5*_ratio.ratioY + Node274_4fontSize + 2 ]);
- Node274_4.a('node.underlinevisible',false);
- Node274_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_4);
- zoomNodeList.push({
- node: Node274_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_5 = new ht.Node();
- var Node274_5textStart, Node274_5textWidth, Node274_5lineStart, Node274_5align = 'left', Node274_5fontSize = 10.66664*_ratio.ratioY,Node274_5width = 31*_ratio.ratioX, Node274_5height = 27*_ratio.ratioY;
- (function () {
- if (Node274_5align === 'left') {
- Node274_5textStart = Node274_5fontSize * 0.2 > 2 ? Node274_5fontSize * 0.2 - 4 : Node274_5fontSize * 0.2 - 9;
- Node274_5textWidth = Node274_5width;
- Node274_5lineStart = 1;
- } else if (Node274_5align === 'right') {
- Node274_5textStart = 0;
- Node274_5textWidth =Node274_5fontSize <= 8 ? Node274_5width + Node274_5fontSize * 0.2 + 6 : Node274_5width - Node274_5fontSize * 0.2;
- Node274_5lineStart = (Node274_5width - (ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_5align === 'center') {
- Node274_5textStart = -3;
- Node274_5textWidth = Node274_5width;
- Node274_5lineStart = Node274_5width - ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_5.setImage(GD.getTextJSON(Node274_5width, Node274_5height, true, false, false, ' '+ Node274_5fontSize + 'px "Arial"'))
- Node274_5.setPosition(646*ratio.ratioX, 429*ratio.ratioY);
- Node274_5.setWidth(Node274_5width);
- Node274_5.setHeight(Node274_5height);
- Node274_5._nodeType = 'text';
- Node274_5._disallowEvert = true;
- Node274_5.setRotation(0*Math.PI/180);
- Node274_5.a('node.width', Node274_5width);
- Node274_5.a('node.height', Node274_5height);
- Node274_5.a('node.rect', [0, 0, Node274_5width, Node274_5height]);
- Node274_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node274_5.a('node.borderwidth', 0);
- Node274_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_5.a('node.gradient','');
- Node274_5.a('node.gradientcolor','');
- Node274_5.a('node.text','14.85');
- Node274_5.a('node.textalign','left');
- Node274_5.a('node.textvAlign','middle');
- Node274_5.a('node.textrect', [Node274_5textStart, 0, Node274_5textWidth, Node274_5height]);
- Node274_5.a('node.color','rgba(192,0,0,1)');
- Node274_5.a('node.font',' '+ Node274_5fontSize + 'px "Arial"');
- Node274_5.a('node.textvisible',true);
- Node274_5.a('node.linefeed',false);
- if (false) {
- Node274_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_5.a('node.text') || '14.85';
- var color=Node274_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_5width,Node274_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_5.a('node.underlinepoints',[Node274_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node274_5fontSize + 'px "Arial"').width + 6, (Node274_5height - Node274_5fontSize) * 0.5*_ratio.ratioY + Node274_5fontSize + 2 ]);
- Node274_5.a('node.underlinevisible',false);
- Node274_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_5);
- zoomNodeList.push({
- node: Node274_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_6 = new ht.Node();
- var Node274_6textStart, Node274_6textWidth, Node274_6lineStart, Node274_6align = 'left', Node274_6fontSize = 10.66664*_ratio.ratioY,Node274_6width = 43*_ratio.ratioX, Node274_6height = 27*_ratio.ratioY;
- (function () {
- if (Node274_6align === 'left') {
- Node274_6textStart = Node274_6fontSize * 0.2 > 2 ? Node274_6fontSize * 0.2 - 4 : Node274_6fontSize * 0.2 - 9;
- Node274_6textWidth = Node274_6width;
- Node274_6lineStart = 1;
- } else if (Node274_6align === 'right') {
- Node274_6textStart = 0;
- Node274_6textWidth =Node274_6fontSize <= 8 ? Node274_6width + Node274_6fontSize * 0.2 + 6 : Node274_6width - Node274_6fontSize * 0.2;
- Node274_6lineStart = (Node274_6width - (ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_6align === 'center') {
- Node274_6textStart = -3;
- Node274_6textWidth = Node274_6width;
- Node274_6lineStart = Node274_6width - ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_6.setImage(GD.getTextJSON(Node274_6width, Node274_6height, true, false, false, ' '+ Node274_6fontSize + 'px "Arial"'))
- Node274_6.setPosition(688*ratio.ratioX, 429*ratio.ratioY);
- Node274_6.setWidth(Node274_6width);
- Node274_6.setHeight(Node274_6height);
- Node274_6._nodeType = 'text';
- Node274_6._disallowEvert = true;
- Node274_6.setRotation(0*Math.PI/180);
- Node274_6.a('node.width', Node274_6width);
- Node274_6.a('node.height', Node274_6height);
- Node274_6.a('node.rect', [0, 0, Node274_6width, Node274_6height]);
- Node274_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_6.a('node.borderwidth', 0);
- Node274_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_6.a('node.gradient','');
- Node274_6.a('node.gradientcolor','');
- Node274_6.a('node.text','万kwh');
- Node274_6.a('node.textalign','left');
- Node274_6.a('node.textvAlign','middle');
- Node274_6.a('node.textrect', [Node274_6textStart, 0, Node274_6textWidth, Node274_6height]);
- Node274_6.a('node.color','rgba(0,0,0,1)');
- Node274_6.a('node.font',' '+ Node274_6fontSize + 'px "Arial"');
- Node274_6.a('node.textvisible',true);
- Node274_6.a('node.linefeed',false);
- if (false) {
- Node274_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_6.a('node.text') || '万kwh';
- var color=Node274_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_6width,Node274_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_6.a('node.underlinepoints',[Node274_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_6fontSize + 'px "Arial"').width + 6, (Node274_6height - Node274_6fontSize) * 0.5*_ratio.ratioY + Node274_6fontSize + 2 ]);
- Node274_6.a('node.underlinevisible',false);
- Node274_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_6);
- zoomNodeList.push({
- node: Node274_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_7 = new ht.Node();
- var Node274_7textStart, Node274_7textWidth, Node274_7lineStart, Node274_7align = 'left', Node274_7fontSize = 10.66664*_ratio.ratioY,Node274_7width = 72*_ratio.ratioX, Node274_7height = 27*_ratio.ratioY;
- (function () {
- if (Node274_7align === 'left') {
- Node274_7textStart = Node274_7fontSize * 0.2 > 2 ? Node274_7fontSize * 0.2 - 4 : Node274_7fontSize * 0.2 - 9;
- Node274_7textWidth = Node274_7width;
- Node274_7lineStart = 1;
- } else if (Node274_7align === 'right') {
- Node274_7textStart = 0;
- Node274_7textWidth =Node274_7fontSize <= 8 ? Node274_7width + Node274_7fontSize * 0.2 + 6 : Node274_7width - Node274_7fontSize * 0.2;
- Node274_7lineStart = (Node274_7width - (ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_7align === 'center') {
- Node274_7textStart = -3;
- Node274_7textWidth = Node274_7width;
- Node274_7lineStart = Node274_7width - ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_7.setImage(GD.getTextJSON(Node274_7width, Node274_7height, true, false, false, ' '+ Node274_7fontSize + 'px "Arial"'))
- Node274_7.setPosition(603*ratio.ratioX, 454*ratio.ratioY);
- Node274_7.setWidth(Node274_7width);
- Node274_7.setHeight(Node274_7height);
- Node274_7._nodeType = 'text';
- Node274_7._disallowEvert = true;
- Node274_7.setRotation(0*Math.PI/180);
- Node274_7.a('node.width', Node274_7width);
- Node274_7.a('node.height', Node274_7height);
- Node274_7.a('node.rect', [0, 0, Node274_7width, Node274_7height]);
- Node274_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_7.a('node.borderwidth', 0);
- Node274_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_7.a('node.gradient','');
- Node274_7.a('node.gradientcolor','');
- Node274_7.a('node.text','平均风速');
- Node274_7.a('node.textalign','left');
- Node274_7.a('node.textvAlign','middle');
- Node274_7.a('node.textrect', [Node274_7textStart, 0, Node274_7textWidth, Node274_7height]);
- Node274_7.a('node.color','rgba(0,0,0,1)');
- Node274_7.a('node.font',' '+ Node274_7fontSize + 'px "Arial"');
- Node274_7.a('node.textvisible',true);
- Node274_7.a('node.linefeed',false);
- if (false) {
- Node274_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_7.a('node.text') || '平均风速';
- var color=Node274_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_7width,Node274_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_7.a('node.underlinepoints',[Node274_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node274_7fontSize + 'px "Arial"').width + 6, (Node274_7height - Node274_7fontSize) * 0.5*_ratio.ratioY + Node274_7fontSize + 2 ]);
- Node274_7.a('node.underlinevisible',false);
- Node274_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_7);
- zoomNodeList.push({
- node: Node274_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_8 = new ht.Node();
- var Node274_8textStart, Node274_8textWidth, Node274_8lineStart, Node274_8align = 'left', Node274_8fontSize = 10.66664*_ratio.ratioY,Node274_8width = 22*_ratio.ratioX, Node274_8height = 27*_ratio.ratioY;
- (function () {
- if (Node274_8align === 'left') {
- Node274_8textStart = Node274_8fontSize * 0.2 > 2 ? Node274_8fontSize * 0.2 - 4 : Node274_8fontSize * 0.2 - 9;
- Node274_8textWidth = Node274_8width;
- Node274_8lineStart = 1;
- } else if (Node274_8align === 'right') {
- Node274_8textStart = 0;
- Node274_8textWidth =Node274_8fontSize <= 8 ? Node274_8width + Node274_8fontSize * 0.2 + 6 : Node274_8width - Node274_8fontSize * 0.2;
- Node274_8lineStart = (Node274_8width - (ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_8align === 'center') {
- Node274_8textStart = -3;
- Node274_8textWidth = Node274_8width;
- Node274_8lineStart = Node274_8width - ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_8.setImage(GD.getTextJSON(Node274_8width, Node274_8height, true, false, false, ' '+ Node274_8fontSize + 'px "Arial"'))
- Node274_8.setPosition(641*ratio.ratioX, 454*ratio.ratioY);
- Node274_8.setWidth(Node274_8width);
- Node274_8.setHeight(Node274_8height);
- Node274_8._nodeType = 'text';
- Node274_8._disallowEvert = true;
- Node274_8.setRotation(0*Math.PI/180);
- Node274_8.a('node.width', Node274_8width);
- Node274_8.a('node.height', Node274_8height);
- Node274_8.a('node.rect', [0, 0, Node274_8width, Node274_8height]);
- Node274_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node274_8.a('node.borderwidth', 0);
- Node274_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_8.a('node.gradient','');
- Node274_8.a('node.gradientcolor','');
- Node274_8.a('node.text','-');
- Node274_8.a('node.textalign','left');
- Node274_8.a('node.textvAlign','middle');
- Node274_8.a('node.textrect', [Node274_8textStart, 0, Node274_8textWidth, Node274_8height]);
- Node274_8.a('node.color','rgba(192,0,0,1)');
- Node274_8.a('node.font',' '+ Node274_8fontSize + 'px "Arial"');
- Node274_8.a('node.textvisible',true);
- Node274_8.a('node.linefeed',false);
- if (false) {
- Node274_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_8.a('node.text') || '-';
- var color=Node274_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_8width,Node274_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_8.a('node.underlinepoints',[Node274_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_8fontSize + 'px "Arial"').width + 6, (Node274_8height - Node274_8fontSize) * 0.5*_ratio.ratioY + Node274_8fontSize + 2 ]);
- Node274_8.a('node.underlinevisible',false);
- Node274_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_8);
- zoomNodeList.push({
- node: Node274_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_9 = new ht.Node();
- var Node274_9textStart, Node274_9textWidth, Node274_9lineStart, Node274_9align = 'left', Node274_9fontSize = 10.66664*_ratio.ratioY,Node274_9width = 43*_ratio.ratioX, Node274_9height = 27*_ratio.ratioY;
- (function () {
- if (Node274_9align === 'left') {
- Node274_9textStart = Node274_9fontSize * 0.2 > 2 ? Node274_9fontSize * 0.2 - 4 : Node274_9fontSize * 0.2 - 9;
- Node274_9textWidth = Node274_9width;
- Node274_9lineStart = 1;
- } else if (Node274_9align === 'right') {
- Node274_9textStart = 0;
- Node274_9textWidth =Node274_9fontSize <= 8 ? Node274_9width + Node274_9fontSize * 0.2 + 6 : Node274_9width - Node274_9fontSize * 0.2;
- Node274_9lineStart = (Node274_9width - (ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_9align === 'center') {
- Node274_9textStart = -3;
- Node274_9textWidth = Node274_9width;
- Node274_9lineStart = Node274_9width - ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_9.setImage(GD.getTextJSON(Node274_9width, Node274_9height, true, false, false, ' '+ Node274_9fontSize + 'px "Arial"'))
- Node274_9.setPosition(688*ratio.ratioX, 454*ratio.ratioY);
- Node274_9.setWidth(Node274_9width);
- Node274_9.setHeight(Node274_9height);
- Node274_9._nodeType = 'text';
- Node274_9._disallowEvert = true;
- Node274_9.setRotation(0*Math.PI/180);
- Node274_9.a('node.width', Node274_9width);
- Node274_9.a('node.height', Node274_9height);
- Node274_9.a('node.rect', [0, 0, Node274_9width, Node274_9height]);
- Node274_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_9.a('node.borderwidth', 0);
- Node274_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_9.a('node.gradient','');
- Node274_9.a('node.gradientcolor','');
- Node274_9.a('node.text','万kwh');
- Node274_9.a('node.textalign','left');
- Node274_9.a('node.textvAlign','middle');
- Node274_9.a('node.textrect', [Node274_9textStart, 0, Node274_9textWidth, Node274_9height]);
- Node274_9.a('node.color','rgba(0,0,0,1)');
- Node274_9.a('node.font',' '+ Node274_9fontSize + 'px "Arial"');
- Node274_9.a('node.textvisible',true);
- Node274_9.a('node.linefeed',false);
- if (false) {
- Node274_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_9.a('node.text') || '万kwh';
- var color=Node274_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_9width,Node274_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_9.a('node.underlinepoints',[Node274_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_9fontSize + 'px "Arial"').width + 6, (Node274_9height - Node274_9fontSize) * 0.5*_ratio.ratioY + Node274_9fontSize + 2 ]);
- Node274_9.a('node.underlinevisible',false);
- Node274_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_9);
- zoomNodeList.push({
- node: Node274_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_10 = new ht.Node();
- var Node274_10textStart, Node274_10textWidth, Node274_10lineStart, Node274_10align = 'left', Node274_10fontSize = 10.66664*_ratio.ratioY,Node274_10width = 72*_ratio.ratioX, Node274_10height = 27*_ratio.ratioY;
- (function () {
- if (Node274_10align === 'left') {
- Node274_10textStart = Node274_10fontSize * 0.2 > 2 ? Node274_10fontSize * 0.2 - 4 : Node274_10fontSize * 0.2 - 9;
- Node274_10textWidth = Node274_10width;
- Node274_10lineStart = 1;
- } else if (Node274_10align === 'right') {
- Node274_10textStart = 0;
- Node274_10textWidth =Node274_10fontSize <= 8 ? Node274_10width + Node274_10fontSize * 0.2 + 6 : Node274_10width - Node274_10fontSize * 0.2;
- Node274_10lineStart = (Node274_10width - (ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_10align === 'center') {
- Node274_10textStart = -3;
- Node274_10textWidth = Node274_10width;
- Node274_10lineStart = Node274_10width - ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_10.setImage(GD.getTextJSON(Node274_10width, Node274_10height, true, false, false, ' '+ Node274_10fontSize + 'px "Arial"'))
- Node274_10.setPosition(603*ratio.ratioX, 480*ratio.ratioY);
- Node274_10.setWidth(Node274_10width);
- Node274_10.setHeight(Node274_10height);
- Node274_10._nodeType = 'text';
- Node274_10._disallowEvert = true;
- Node274_10.setRotation(0*Math.PI/180);
- Node274_10.a('node.width', Node274_10width);
- Node274_10.a('node.height', Node274_10height);
- Node274_10.a('node.rect', [0, 0, Node274_10width, Node274_10height]);
- Node274_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_10.a('node.borderwidth', 0);
- Node274_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_10.a('node.gradient','');
- Node274_10.a('node.gradientcolor','');
- Node274_10.a('node.text','日发电量');
- Node274_10.a('node.textalign','left');
- Node274_10.a('node.textvAlign','middle');
- Node274_10.a('node.textrect', [Node274_10textStart, 0, Node274_10textWidth, Node274_10height]);
- Node274_10.a('node.color','rgba(0,0,0,1)');
- Node274_10.a('node.font',' '+ Node274_10fontSize + 'px "Arial"');
- Node274_10.a('node.textvisible',true);
- Node274_10.a('node.linefeed',false);
- if (false) {
- Node274_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_10.a('node.text') || '日发电量';
- var color=Node274_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_10width,Node274_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_10.a('node.underlinepoints',[Node274_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node274_10fontSize + 'px "Arial"').width + 6, (Node274_10height - Node274_10fontSize) * 0.5*_ratio.ratioY + Node274_10fontSize + 2 ]);
- Node274_10.a('node.underlinevisible',false);
- Node274_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_10);
- zoomNodeList.push({
- node: Node274_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_11 = new ht.Node();
- var Node274_11textStart, Node274_11textWidth, Node274_11lineStart, Node274_11align = 'left', Node274_11fontSize = 10.66664*_ratio.ratioY,Node274_11width = 31*_ratio.ratioX, Node274_11height = 27*_ratio.ratioY;
- (function () {
- if (Node274_11align === 'left') {
- Node274_11textStart = Node274_11fontSize * 0.2 > 2 ? Node274_11fontSize * 0.2 - 4 : Node274_11fontSize * 0.2 - 9;
- Node274_11textWidth = Node274_11width;
- Node274_11lineStart = 1;
- } else if (Node274_11align === 'right') {
- Node274_11textStart = 0;
- Node274_11textWidth =Node274_11fontSize <= 8 ? Node274_11width + Node274_11fontSize * 0.2 + 6 : Node274_11width - Node274_11fontSize * 0.2;
- Node274_11lineStart = (Node274_11width - (ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_11align === 'center') {
- Node274_11textStart = -3;
- Node274_11textWidth = Node274_11width;
- Node274_11lineStart = Node274_11width - ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_11.setImage(GD.getTextJSON(Node274_11width, Node274_11height, true, false, false, ' '+ Node274_11fontSize + 'px "Arial"'))
- Node274_11.setPosition(646*ratio.ratioX, 480*ratio.ratioY);
- Node274_11.setWidth(Node274_11width);
- Node274_11.setHeight(Node274_11height);
- Node274_11._nodeType = 'text';
- Node274_11._disallowEvert = true;
- Node274_11.setRotation(0*Math.PI/180);
- Node274_11.a('node.width', Node274_11width);
- Node274_11.a('node.height', Node274_11height);
- Node274_11.a('node.rect', [0, 0, Node274_11width, Node274_11height]);
- Node274_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node274_11.a('node.borderwidth', 0);
- Node274_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_11.a('node.gradient','');
- Node274_11.a('node.gradientcolor','');
- Node274_11.a('node.text','-');
- Node274_11.a('node.textalign','left');
- Node274_11.a('node.textvAlign','middle');
- Node274_11.a('node.textrect', [Node274_11textStart, 0, Node274_11textWidth, Node274_11height]);
- Node274_11.a('node.color','rgba(192,0,0,1)');
- Node274_11.a('node.font',' '+ Node274_11fontSize + 'px "Arial"');
- Node274_11.a('node.textvisible',true);
- Node274_11.a('node.linefeed',false);
- if (false) {
- Node274_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_11.a('node.text') || '-';
- var color=Node274_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_11width,Node274_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_11.a('node.underlinepoints',[Node274_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_11fontSize + 'px "Arial"').width + 6, (Node274_11height - Node274_11fontSize) * 0.5*_ratio.ratioY + Node274_11fontSize + 2 ]);
- Node274_11.a('node.underlinevisible',false);
- Node274_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_11);
- zoomNodeList.push({
- node: Node274_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_12 = new ht.Node();
- var Node274_12textStart, Node274_12textWidth, Node274_12lineStart, Node274_12align = 'left', Node274_12fontSize = 10.66664*_ratio.ratioY,Node274_12width = 43*_ratio.ratioX, Node274_12height = 27*_ratio.ratioY;
- (function () {
- if (Node274_12align === 'left') {
- Node274_12textStart = Node274_12fontSize * 0.2 > 2 ? Node274_12fontSize * 0.2 - 4 : Node274_12fontSize * 0.2 - 9;
- Node274_12textWidth = Node274_12width;
- Node274_12lineStart = 1;
- } else if (Node274_12align === 'right') {
- Node274_12textStart = 0;
- Node274_12textWidth =Node274_12fontSize <= 8 ? Node274_12width + Node274_12fontSize * 0.2 + 6 : Node274_12width - Node274_12fontSize * 0.2;
- Node274_12lineStart = (Node274_12width - (ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_12align === 'center') {
- Node274_12textStart = -3;
- Node274_12textWidth = Node274_12width;
- Node274_12lineStart = Node274_12width - ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_12.setImage(GD.getTextJSON(Node274_12width, Node274_12height, true, false, false, ' '+ Node274_12fontSize + 'px "Arial"'))
- Node274_12.setPosition(688*ratio.ratioX, 480*ratio.ratioY);
- Node274_12.setWidth(Node274_12width);
- Node274_12.setHeight(Node274_12height);
- Node274_12._nodeType = 'text';
- Node274_12._disallowEvert = true;
- Node274_12.setRotation(0*Math.PI/180);
- Node274_12.a('node.width', Node274_12width);
- Node274_12.a('node.height', Node274_12height);
- Node274_12.a('node.rect', [0, 0, Node274_12width, Node274_12height]);
- Node274_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_12.a('node.borderwidth', 0);
- Node274_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_12.a('node.gradient','');
- Node274_12.a('node.gradientcolor','');
- Node274_12.a('node.text','万kwh');
- Node274_12.a('node.textalign','left');
- Node274_12.a('node.textvAlign','middle');
- Node274_12.a('node.textrect', [Node274_12textStart, 0, Node274_12textWidth, Node274_12height]);
- Node274_12.a('node.color','rgba(0,0,0,1)');
- Node274_12.a('node.font',' '+ Node274_12fontSize + 'px "Arial"');
- Node274_12.a('node.textvisible',true);
- Node274_12.a('node.linefeed',false);
- if (false) {
- Node274_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_12.a('node.text') || '万kwh';
- var color=Node274_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_12width,Node274_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_12.a('node.underlinepoints',[Node274_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_12fontSize + 'px "Arial"').width + 6, (Node274_12height - Node274_12fontSize) * 0.5*_ratio.ratioY + Node274_12fontSize + 2 ]);
- Node274_12.a('node.underlinevisible',false);
- Node274_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_12);
- zoomNodeList.push({
- node: Node274_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_13 = new ht.Node();
- var Node274_13textStart, Node274_13textWidth, Node274_13lineStart, Node274_13align = 'left', Node274_13fontSize = 10.66664*_ratio.ratioY,Node274_13width = 72*_ratio.ratioX, Node274_13height = 27*_ratio.ratioY;
- (function () {
- if (Node274_13align === 'left') {
- Node274_13textStart = Node274_13fontSize * 0.2 > 2 ? Node274_13fontSize * 0.2 - 4 : Node274_13fontSize * 0.2 - 9;
- Node274_13textWidth = Node274_13width;
- Node274_13lineStart = 1;
- } else if (Node274_13align === 'right') {
- Node274_13textStart = 0;
- Node274_13textWidth =Node274_13fontSize <= 8 ? Node274_13width + Node274_13fontSize * 0.2 + 6 : Node274_13width - Node274_13fontSize * 0.2;
- Node274_13lineStart = (Node274_13width - (ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_13align === 'center') {
- Node274_13textStart = -3;
- Node274_13textWidth = Node274_13width;
- Node274_13lineStart = Node274_13width - ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_13.setImage(GD.getTextJSON(Node274_13width, Node274_13height, true, false, false, ' '+ Node274_13fontSize + 'px "Arial"'))
- Node274_13.setPosition(603*ratio.ratioX, 507*ratio.ratioY);
- Node274_13.setWidth(Node274_13width);
- Node274_13.setHeight(Node274_13height);
- Node274_13._nodeType = 'text';
- Node274_13._disallowEvert = true;
- Node274_13.setRotation(0*Math.PI/180);
- Node274_13.a('node.width', Node274_13width);
- Node274_13.a('node.height', Node274_13height);
- Node274_13.a('node.rect', [0, 0, Node274_13width, Node274_13height]);
- Node274_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_13.a('node.borderwidth', 0);
- Node274_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_13.a('node.gradient','');
- Node274_13.a('node.gradientcolor','');
- Node274_13.a('node.text','有功功率');
- Node274_13.a('node.textalign','left');
- Node274_13.a('node.textvAlign','middle');
- Node274_13.a('node.textrect', [Node274_13textStart, 0, Node274_13textWidth, Node274_13height]);
- Node274_13.a('node.color','rgba(0,0,0,1)');
- Node274_13.a('node.font',' '+ Node274_13fontSize + 'px "Arial"');
- Node274_13.a('node.textvisible',true);
- Node274_13.a('node.linefeed',false);
- if (false) {
- Node274_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_13.a('node.text') || '有功功率';
- var color=Node274_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_13width,Node274_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_13.a('node.underlinepoints',[Node274_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node274_13fontSize + 'px "Arial"').width + 6, (Node274_13height - Node274_13fontSize) * 0.5*_ratio.ratioY + Node274_13fontSize + 2 ]);
- Node274_13.a('node.underlinevisible',false);
- Node274_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_13);
- zoomNodeList.push({
- node: Node274_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_14 = new ht.Node();
- var Node274_14textStart, Node274_14textWidth, Node274_14lineStart, Node274_14align = 'left', Node274_14fontSize = 10.66664*_ratio.ratioY,Node274_14width = 22*_ratio.ratioX, Node274_14height = 27*_ratio.ratioY;
- (function () {
- if (Node274_14align === 'left') {
- Node274_14textStart = Node274_14fontSize * 0.2 > 2 ? Node274_14fontSize * 0.2 - 4 : Node274_14fontSize * 0.2 - 9;
- Node274_14textWidth = Node274_14width;
- Node274_14lineStart = 1;
- } else if (Node274_14align === 'right') {
- Node274_14textStart = 0;
- Node274_14textWidth =Node274_14fontSize <= 8 ? Node274_14width + Node274_14fontSize * 0.2 + 6 : Node274_14width - Node274_14fontSize * 0.2;
- Node274_14lineStart = (Node274_14width - (ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_14align === 'center') {
- Node274_14textStart = -3;
- Node274_14textWidth = Node274_14width;
- Node274_14lineStart = Node274_14width - ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_14.setImage(GD.getTextJSON(Node274_14width, Node274_14height, true, false, false, ' '+ Node274_14fontSize + 'px "Arial"'))
- Node274_14.setPosition(641*ratio.ratioX, 507*ratio.ratioY);
- Node274_14.setWidth(Node274_14width);
- Node274_14.setHeight(Node274_14height);
- Node274_14._nodeType = 'text';
- Node274_14._disallowEvert = true;
- Node274_14.setRotation(0*Math.PI/180);
- Node274_14.a('node.width', Node274_14width);
- Node274_14.a('node.height', Node274_14height);
- Node274_14.a('node.rect', [0, 0, Node274_14width, Node274_14height]);
- Node274_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node274_14.a('node.borderwidth', 0);
- Node274_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_14.a('node.gradient','');
- Node274_14.a('node.gradientcolor','');
- Node274_14.a('node.text','-');
- Node274_14.a('node.textalign','left');
- Node274_14.a('node.textvAlign','middle');
- Node274_14.a('node.textrect', [Node274_14textStart, 0, Node274_14textWidth, Node274_14height]);
- Node274_14.a('node.color','rgba(192,0,0,1)');
- Node274_14.a('node.font',' '+ Node274_14fontSize + 'px "Arial"');
- Node274_14.a('node.textvisible',true);
- Node274_14.a('node.linefeed',false);
- if (false) {
- Node274_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_14.a('node.text') || '-';
- var color=Node274_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_14width,Node274_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_14.a('node.underlinepoints',[Node274_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node274_14fontSize + 'px "Arial"').width + 6, (Node274_14height - Node274_14fontSize) * 0.5*_ratio.ratioY + Node274_14fontSize + 2 ]);
- Node274_14.a('node.underlinevisible',false);
- Node274_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_14);
- zoomNodeList.push({
- node: Node274_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node274_15 = new ht.Node();
- var Node274_15textStart, Node274_15textWidth, Node274_15lineStart, Node274_15align = 'left', Node274_15fontSize = 10.66664*_ratio.ratioY,Node274_15width = 43*_ratio.ratioX, Node274_15height = 27*_ratio.ratioY;
- (function () {
- if (Node274_15align === 'left') {
- Node274_15textStart = Node274_15fontSize * 0.2 > 2 ? Node274_15fontSize * 0.2 - 4 : Node274_15fontSize * 0.2 - 9;
- Node274_15textWidth = Node274_15width;
- Node274_15lineStart = 1;
- } else if (Node274_15align === 'right') {
- Node274_15textStart = 0;
- Node274_15textWidth =Node274_15fontSize <= 8 ? Node274_15width + Node274_15fontSize * 0.2 + 6 : Node274_15width - Node274_15fontSize * 0.2;
- Node274_15lineStart = (Node274_15width - (ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node274_15align === 'center') {
- Node274_15textStart = -3;
- Node274_15textWidth = Node274_15width;
- Node274_15lineStart = Node274_15width - ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node274_15.setImage(GD.getTextJSON(Node274_15width, Node274_15height, true, false, false, ' '+ Node274_15fontSize + 'px "Arial"'))
- Node274_15.setPosition(688*ratio.ratioX, 507*ratio.ratioY);
- Node274_15.setWidth(Node274_15width);
- Node274_15.setHeight(Node274_15height);
- Node274_15._nodeType = 'text';
- Node274_15._disallowEvert = true;
- Node274_15.setRotation(0*Math.PI/180);
- Node274_15.a('node.width', Node274_15width);
- Node274_15.a('node.height', Node274_15height);
- Node274_15.a('node.rect', [0, 0, Node274_15width, Node274_15height]);
- Node274_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node274_15.a('node.borderwidth', 0);
- Node274_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node274_15.a('node.gradient','');
- Node274_15.a('node.gradientcolor','');
- Node274_15.a('node.text','万kwh');
- Node274_15.a('node.textalign','left');
- Node274_15.a('node.textvAlign','middle');
- Node274_15.a('node.textrect', [Node274_15textStart, 0, Node274_15textWidth, Node274_15height]);
- Node274_15.a('node.color','rgba(0,0,0,1)');
- Node274_15.a('node.font',' '+ Node274_15fontSize + 'px "Arial"');
- Node274_15.a('node.textvisible',true);
- Node274_15.a('node.linefeed',false);
- if (false) {
- Node274_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node274_15.a('node.text') || '万kwh';
- var color=Node274_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node274_15width,Node274_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node274_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node274_15.a('node.underlinepoints',[Node274_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node274_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node274_15fontSize + 'px "Arial"').width + 6, (Node274_15height - Node274_15fontSize) * 0.5*_ratio.ratioY + Node274_15fontSize + 2 ]);
- Node274_15.a('node.underlinevisible',false);
- Node274_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node274_15);
- zoomNodeList.push({
- node: Node274_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node275_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node275_0 = new ht.Node();
- Node275_0.setPosition(483*ratio.ratioX, 390*ratio.ratioY);
- Node275_0.setSize(146*ratioX, 141*ratioY);
- Node275_0.setImage('imgimage//img//map_name_03.png');
- Node275_0.setRotation(0*Math.PI/180);
- Node275_0._zoomBy = 'Default';
- Node275_0._nodeType = 'image';
- Node275_0._disallowEvert = true;
- dataModel.add(Node275_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_1 = new ht.Node();
- var Node275_1textStart, Node275_1textWidth, Node275_1lineStart, Node275_1align = 'left', Node275_1fontSize = 10.66664*_ratio.ratioY,Node275_1width = 72*_ratio.ratioX, Node275_1height = 27*_ratio.ratioY;
- (function () {
- if (Node275_1align === 'left') {
- Node275_1textStart = Node275_1fontSize * 0.2 > 2 ? Node275_1fontSize * 0.2 - 4 : Node275_1fontSize * 0.2 - 9;
- Node275_1textWidth = Node275_1width;
- Node275_1lineStart = 1;
- } else if (Node275_1align === 'right') {
- Node275_1textStart = 0;
- Node275_1textWidth =Node275_1fontSize <= 8 ? Node275_1width + Node275_1fontSize * 0.2 + 6 : Node275_1width - Node275_1fontSize * 0.2;
- Node275_1lineStart = (Node275_1width - (ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_1align === 'center') {
- Node275_1textStart = -3;
- Node275_1textWidth = Node275_1width;
- Node275_1lineStart = Node275_1width - ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_1.setImage(GD.getTextJSON(Node275_1width, Node275_1height, true, false, false, ' '+ Node275_1fontSize + 'px "Arial"'))
- Node275_1.setPosition(453*ratio.ratioX, 343*ratio.ratioY);
- Node275_1.setWidth(Node275_1width);
- Node275_1.setHeight(Node275_1height);
- Node275_1._nodeType = 'text';
- Node275_1._disallowEvert = true;
- Node275_1.setRotation(0*Math.PI/180);
- Node275_1.a('node.width', Node275_1width);
- Node275_1.a('node.height', Node275_1height);
- Node275_1.a('node.rect', [0, 0, Node275_1width, Node275_1height]);
- Node275_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_1.a('node.borderwidth', 0);
- Node275_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_1.a('node.gradient','');
- Node275_1.a('node.gradientcolor','');
- Node275_1.a('node.text','风机台数');
- Node275_1.a('node.textalign','left');
- Node275_1.a('node.textvAlign','middle');
- Node275_1.a('node.textrect', [Node275_1textStart, 0, Node275_1textWidth, Node275_1height]);
- Node275_1.a('node.color','rgba(0,0,0,1)');
- Node275_1.a('node.font',' '+ Node275_1fontSize + 'px "Arial"');
- Node275_1.a('node.textvisible',true);
- Node275_1.a('node.linefeed',false);
- if (false) {
- Node275_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_1.a('node.text') || '风机台数';
- var color=Node275_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_1width,Node275_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_1.a('node.underlinepoints',[Node275_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node275_1fontSize + 'px "Arial"').width + 6, (Node275_1height - Node275_1fontSize) * 0.5*_ratio.ratioY + Node275_1fontSize + 2 ]);
- Node275_1.a('node.underlinevisible',false);
- Node275_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_1);
- zoomNodeList.push({
- node: Node275_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_2 = new ht.Node();
- var Node275_2textStart, Node275_2textWidth, Node275_2lineStart, Node275_2align = 'left', Node275_2fontSize = 10.66664*_ratio.ratioY,Node275_2width = 22*_ratio.ratioX, Node275_2height = 27*_ratio.ratioY;
- (function () {
- if (Node275_2align === 'left') {
- Node275_2textStart = Node275_2fontSize * 0.2 > 2 ? Node275_2fontSize * 0.2 - 4 : Node275_2fontSize * 0.2 - 9;
- Node275_2textWidth = Node275_2width;
- Node275_2lineStart = 1;
- } else if (Node275_2align === 'right') {
- Node275_2textStart = 0;
- Node275_2textWidth =Node275_2fontSize <= 8 ? Node275_2width + Node275_2fontSize * 0.2 + 6 : Node275_2width - Node275_2fontSize * 0.2;
- Node275_2lineStart = (Node275_2width - (ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_2align === 'center') {
- Node275_2textStart = -3;
- Node275_2textWidth = Node275_2width;
- Node275_2lineStart = Node275_2width - ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_2.setImage(GD.getTextJSON(Node275_2width, Node275_2height, true, false, false, ' '+ Node275_2fontSize + 'px "Arial"'))
- Node275_2.setPosition(491*ratio.ratioX, 343*ratio.ratioY);
- Node275_2.setWidth(Node275_2width);
- Node275_2.setHeight(Node275_2height);
- Node275_2._nodeType = 'text';
- Node275_2._disallowEvert = true;
- Node275_2.setRotation(0*Math.PI/180);
- Node275_2.a('node.width', Node275_2width);
- Node275_2.a('node.height', Node275_2height);
- Node275_2.a('node.rect', [0, 0, Node275_2width, Node275_2height]);
- Node275_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node275_2.a('node.borderwidth', 0);
- Node275_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_2.a('node.gradient','');
- Node275_2.a('node.gradientcolor','');
- Node275_2.a('node.text','99');
- Node275_2.a('node.textalign','left');
- Node275_2.a('node.textvAlign','middle');
- Node275_2.a('node.textrect', [Node275_2textStart, 0, Node275_2textWidth, Node275_2height]);
- Node275_2.a('node.color','rgba(192,0,0,1)');
- Node275_2.a('node.font',' '+ Node275_2fontSize + 'px "Arial"');
- Node275_2.a('node.textvisible',true);
- Node275_2.a('node.linefeed',false);
- if (false) {
- Node275_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_2.a('node.text') || '99';
- var color=Node275_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_2width,Node275_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_2.a('node.underlinepoints',[Node275_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node275_2fontSize + 'px "Arial"').width + 6, (Node275_2height - Node275_2fontSize) * 0.5*_ratio.ratioY + Node275_2fontSize + 2 ]);
- Node275_2.a('node.underlinevisible',false);
- Node275_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_2);
- zoomNodeList.push({
- node: Node275_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_3 = new ht.Node();
- var Node275_3textStart, Node275_3textWidth, Node275_3lineStart, Node275_3align = 'left', Node275_3fontSize = 10.66664*_ratio.ratioY,Node275_3width = 43*_ratio.ratioX, Node275_3height = 27*_ratio.ratioY;
- (function () {
- if (Node275_3align === 'left') {
- Node275_3textStart = Node275_3fontSize * 0.2 > 2 ? Node275_3fontSize * 0.2 - 4 : Node275_3fontSize * 0.2 - 9;
- Node275_3textWidth = Node275_3width;
- Node275_3lineStart = 1;
- } else if (Node275_3align === 'right') {
- Node275_3textStart = 0;
- Node275_3textWidth =Node275_3fontSize <= 8 ? Node275_3width + Node275_3fontSize * 0.2 + 6 : Node275_3width - Node275_3fontSize * 0.2;
- Node275_3lineStart = (Node275_3width - (ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_3align === 'center') {
- Node275_3textStart = -3;
- Node275_3textWidth = Node275_3width;
- Node275_3lineStart = Node275_3width - ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_3.setImage(GD.getTextJSON(Node275_3width, Node275_3height, true, false, false, ' '+ Node275_3fontSize + 'px "Arial"'))
- Node275_3.setPosition(538*ratio.ratioX, 343*ratio.ratioY);
- Node275_3.setWidth(Node275_3width);
- Node275_3.setHeight(Node275_3height);
- Node275_3._nodeType = 'text';
- Node275_3._disallowEvert = true;
- Node275_3.setRotation(0*Math.PI/180);
- Node275_3.a('node.width', Node275_3width);
- Node275_3.a('node.height', Node275_3height);
- Node275_3.a('node.rect', [0, 0, Node275_3width, Node275_3height]);
- Node275_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_3.a('node.borderwidth', 0);
- Node275_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_3.a('node.gradient','');
- Node275_3.a('node.gradientcolor','');
- Node275_3.a('node.text','万kwh');
- Node275_3.a('node.textalign','left');
- Node275_3.a('node.textvAlign','middle');
- Node275_3.a('node.textrect', [Node275_3textStart, 0, Node275_3textWidth, Node275_3height]);
- Node275_3.a('node.color','rgba(0,0,0,1)');
- Node275_3.a('node.font',' '+ Node275_3fontSize + 'px "Arial"');
- Node275_3.a('node.textvisible',true);
- Node275_3.a('node.linefeed',false);
- if (false) {
- Node275_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_3.a('node.text') || '万kwh';
- var color=Node275_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_3width,Node275_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_3.a('node.underlinepoints',[Node275_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_3fontSize + 'px "Arial"').width + 6, (Node275_3height - Node275_3fontSize) * 0.5*_ratio.ratioY + Node275_3fontSize + 2 ]);
- Node275_3.a('node.underlinevisible',false);
- Node275_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_3);
- zoomNodeList.push({
- node: Node275_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_4 = new ht.Node();
- var Node275_4textStart, Node275_4textWidth, Node275_4lineStart, Node275_4align = 'left', Node275_4fontSize = 10.66664*_ratio.ratioY,Node275_4width = 72*_ratio.ratioX, Node275_4height = 27*_ratio.ratioY;
- (function () {
- if (Node275_4align === 'left') {
- Node275_4textStart = Node275_4fontSize * 0.2 > 2 ? Node275_4fontSize * 0.2 - 4 : Node275_4fontSize * 0.2 - 9;
- Node275_4textWidth = Node275_4width;
- Node275_4lineStart = 1;
- } else if (Node275_4align === 'right') {
- Node275_4textStart = 0;
- Node275_4textWidth =Node275_4fontSize <= 8 ? Node275_4width + Node275_4fontSize * 0.2 + 6 : Node275_4width - Node275_4fontSize * 0.2;
- Node275_4lineStart = (Node275_4width - (ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_4align === 'center') {
- Node275_4textStart = -3;
- Node275_4textWidth = Node275_4width;
- Node275_4lineStart = Node275_4width - ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_4.setImage(GD.getTextJSON(Node275_4width, Node275_4height, true, false, false, ' '+ Node275_4fontSize + 'px "Arial"'))
- Node275_4.setPosition(453*ratio.ratioX, 369*ratio.ratioY);
- Node275_4.setWidth(Node275_4width);
- Node275_4.setHeight(Node275_4height);
- Node275_4._nodeType = 'text';
- Node275_4._disallowEvert = true;
- Node275_4.setRotation(0*Math.PI/180);
- Node275_4.a('node.width', Node275_4width);
- Node275_4.a('node.height', Node275_4height);
- Node275_4.a('node.rect', [0, 0, Node275_4width, Node275_4height]);
- Node275_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_4.a('node.borderwidth', 0);
- Node275_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_4.a('node.gradient','');
- Node275_4.a('node.gradientcolor','');
- Node275_4.a('node.text','装机容量');
- Node275_4.a('node.textalign','left');
- Node275_4.a('node.textvAlign','middle');
- Node275_4.a('node.textrect', [Node275_4textStart, 0, Node275_4textWidth, Node275_4height]);
- Node275_4.a('node.color','rgba(0,0,0,1)');
- Node275_4.a('node.font',' '+ Node275_4fontSize + 'px "Arial"');
- Node275_4.a('node.textvisible',true);
- Node275_4.a('node.linefeed',false);
- if (false) {
- Node275_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_4.a('node.text') || '装机容量';
- var color=Node275_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_4width,Node275_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_4.a('node.underlinepoints',[Node275_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node275_4fontSize + 'px "Arial"').width + 6, (Node275_4height - Node275_4fontSize) * 0.5*_ratio.ratioY + Node275_4fontSize + 2 ]);
- Node275_4.a('node.underlinevisible',false);
- Node275_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_4);
- zoomNodeList.push({
- node: Node275_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_5 = new ht.Node();
- var Node275_5textStart, Node275_5textWidth, Node275_5lineStart, Node275_5align = 'left', Node275_5fontSize = 10.66664*_ratio.ratioY,Node275_5width = 31*_ratio.ratioX, Node275_5height = 27*_ratio.ratioY;
- (function () {
- if (Node275_5align === 'left') {
- Node275_5textStart = Node275_5fontSize * 0.2 > 2 ? Node275_5fontSize * 0.2 - 4 : Node275_5fontSize * 0.2 - 9;
- Node275_5textWidth = Node275_5width;
- Node275_5lineStart = 1;
- } else if (Node275_5align === 'right') {
- Node275_5textStart = 0;
- Node275_5textWidth =Node275_5fontSize <= 8 ? Node275_5width + Node275_5fontSize * 0.2 + 6 : Node275_5width - Node275_5fontSize * 0.2;
- Node275_5lineStart = (Node275_5width - (ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_5align === 'center') {
- Node275_5textStart = -3;
- Node275_5textWidth = Node275_5width;
- Node275_5lineStart = Node275_5width - ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_5.setImage(GD.getTextJSON(Node275_5width, Node275_5height, true, false, false, ' '+ Node275_5fontSize + 'px "Arial"'))
- Node275_5.setPosition(496*ratio.ratioX, 369*ratio.ratioY);
- Node275_5.setWidth(Node275_5width);
- Node275_5.setHeight(Node275_5height);
- Node275_5._nodeType = 'text';
- Node275_5._disallowEvert = true;
- Node275_5.setRotation(0*Math.PI/180);
- Node275_5.a('node.width', Node275_5width);
- Node275_5.a('node.height', Node275_5height);
- Node275_5.a('node.rect', [0, 0, Node275_5width, Node275_5height]);
- Node275_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node275_5.a('node.borderwidth', 0);
- Node275_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_5.a('node.gradient','');
- Node275_5.a('node.gradientcolor','');
- Node275_5.a('node.text','14.85');
- Node275_5.a('node.textalign','left');
- Node275_5.a('node.textvAlign','middle');
- Node275_5.a('node.textrect', [Node275_5textStart, 0, Node275_5textWidth, Node275_5height]);
- Node275_5.a('node.color','rgba(192,0,0,1)');
- Node275_5.a('node.font',' '+ Node275_5fontSize + 'px "Arial"');
- Node275_5.a('node.textvisible',true);
- Node275_5.a('node.linefeed',false);
- if (false) {
- Node275_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_5.a('node.text') || '14.85';
- var color=Node275_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_5width,Node275_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_5.a('node.underlinepoints',[Node275_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node275_5fontSize + 'px "Arial"').width + 6, (Node275_5height - Node275_5fontSize) * 0.5*_ratio.ratioY + Node275_5fontSize + 2 ]);
- Node275_5.a('node.underlinevisible',false);
- Node275_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_5);
- zoomNodeList.push({
- node: Node275_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_6 = new ht.Node();
- var Node275_6textStart, Node275_6textWidth, Node275_6lineStart, Node275_6align = 'left', Node275_6fontSize = 10.66664*_ratio.ratioY,Node275_6width = 43*_ratio.ratioX, Node275_6height = 27*_ratio.ratioY;
- (function () {
- if (Node275_6align === 'left') {
- Node275_6textStart = Node275_6fontSize * 0.2 > 2 ? Node275_6fontSize * 0.2 - 4 : Node275_6fontSize * 0.2 - 9;
- Node275_6textWidth = Node275_6width;
- Node275_6lineStart = 1;
- } else if (Node275_6align === 'right') {
- Node275_6textStart = 0;
- Node275_6textWidth =Node275_6fontSize <= 8 ? Node275_6width + Node275_6fontSize * 0.2 + 6 : Node275_6width - Node275_6fontSize * 0.2;
- Node275_6lineStart = (Node275_6width - (ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_6align === 'center') {
- Node275_6textStart = -3;
- Node275_6textWidth = Node275_6width;
- Node275_6lineStart = Node275_6width - ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_6.setImage(GD.getTextJSON(Node275_6width, Node275_6height, true, false, false, ' '+ Node275_6fontSize + 'px "Arial"'))
- Node275_6.setPosition(538*ratio.ratioX, 369*ratio.ratioY);
- Node275_6.setWidth(Node275_6width);
- Node275_6.setHeight(Node275_6height);
- Node275_6._nodeType = 'text';
- Node275_6._disallowEvert = true;
- Node275_6.setRotation(0*Math.PI/180);
- Node275_6.a('node.width', Node275_6width);
- Node275_6.a('node.height', Node275_6height);
- Node275_6.a('node.rect', [0, 0, Node275_6width, Node275_6height]);
- Node275_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_6.a('node.borderwidth', 0);
- Node275_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_6.a('node.gradient','');
- Node275_6.a('node.gradientcolor','');
- Node275_6.a('node.text','万kwh');
- Node275_6.a('node.textalign','left');
- Node275_6.a('node.textvAlign','middle');
- Node275_6.a('node.textrect', [Node275_6textStart, 0, Node275_6textWidth, Node275_6height]);
- Node275_6.a('node.color','rgba(0,0,0,1)');
- Node275_6.a('node.font',' '+ Node275_6fontSize + 'px "Arial"');
- Node275_6.a('node.textvisible',true);
- Node275_6.a('node.linefeed',false);
- if (false) {
- Node275_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_6.a('node.text') || '万kwh';
- var color=Node275_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_6width,Node275_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_6.a('node.underlinepoints',[Node275_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_6fontSize + 'px "Arial"').width + 6, (Node275_6height - Node275_6fontSize) * 0.5*_ratio.ratioY + Node275_6fontSize + 2 ]);
- Node275_6.a('node.underlinevisible',false);
- Node275_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_6);
- zoomNodeList.push({
- node: Node275_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_7 = new ht.Node();
- var Node275_7textStart, Node275_7textWidth, Node275_7lineStart, Node275_7align = 'left', Node275_7fontSize = 10.66664*_ratio.ratioY,Node275_7width = 72*_ratio.ratioX, Node275_7height = 27*_ratio.ratioY;
- (function () {
- if (Node275_7align === 'left') {
- Node275_7textStart = Node275_7fontSize * 0.2 > 2 ? Node275_7fontSize * 0.2 - 4 : Node275_7fontSize * 0.2 - 9;
- Node275_7textWidth = Node275_7width;
- Node275_7lineStart = 1;
- } else if (Node275_7align === 'right') {
- Node275_7textStart = 0;
- Node275_7textWidth =Node275_7fontSize <= 8 ? Node275_7width + Node275_7fontSize * 0.2 + 6 : Node275_7width - Node275_7fontSize * 0.2;
- Node275_7lineStart = (Node275_7width - (ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_7align === 'center') {
- Node275_7textStart = -3;
- Node275_7textWidth = Node275_7width;
- Node275_7lineStart = Node275_7width - ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_7.setImage(GD.getTextJSON(Node275_7width, Node275_7height, true, false, false, ' '+ Node275_7fontSize + 'px "Arial"'))
- Node275_7.setPosition(453*ratio.ratioX, 394*ratio.ratioY);
- Node275_7.setWidth(Node275_7width);
- Node275_7.setHeight(Node275_7height);
- Node275_7._nodeType = 'text';
- Node275_7._disallowEvert = true;
- Node275_7.setRotation(0*Math.PI/180);
- Node275_7.a('node.width', Node275_7width);
- Node275_7.a('node.height', Node275_7height);
- Node275_7.a('node.rect', [0, 0, Node275_7width, Node275_7height]);
- Node275_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_7.a('node.borderwidth', 0);
- Node275_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_7.a('node.gradient','');
- Node275_7.a('node.gradientcolor','');
- Node275_7.a('node.text','平均风速');
- Node275_7.a('node.textalign','left');
- Node275_7.a('node.textvAlign','middle');
- Node275_7.a('node.textrect', [Node275_7textStart, 0, Node275_7textWidth, Node275_7height]);
- Node275_7.a('node.color','rgba(0,0,0,1)');
- Node275_7.a('node.font',' '+ Node275_7fontSize + 'px "Arial"');
- Node275_7.a('node.textvisible',true);
- Node275_7.a('node.linefeed',false);
- if (false) {
- Node275_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_7.a('node.text') || '平均风速';
- var color=Node275_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_7width,Node275_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_7.a('node.underlinepoints',[Node275_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node275_7fontSize + 'px "Arial"').width + 6, (Node275_7height - Node275_7fontSize) * 0.5*_ratio.ratioY + Node275_7fontSize + 2 ]);
- Node275_7.a('node.underlinevisible',false);
- Node275_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_7);
- zoomNodeList.push({
- node: Node275_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_8 = new ht.Node();
- var Node275_8textStart, Node275_8textWidth, Node275_8lineStart, Node275_8align = 'left', Node275_8fontSize = 10.66664*_ratio.ratioY,Node275_8width = 22*_ratio.ratioX, Node275_8height = 27*_ratio.ratioY;
- (function () {
- if (Node275_8align === 'left') {
- Node275_8textStart = Node275_8fontSize * 0.2 > 2 ? Node275_8fontSize * 0.2 - 4 : Node275_8fontSize * 0.2 - 9;
- Node275_8textWidth = Node275_8width;
- Node275_8lineStart = 1;
- } else if (Node275_8align === 'right') {
- Node275_8textStart = 0;
- Node275_8textWidth =Node275_8fontSize <= 8 ? Node275_8width + Node275_8fontSize * 0.2 + 6 : Node275_8width - Node275_8fontSize * 0.2;
- Node275_8lineStart = (Node275_8width - (ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_8align === 'center') {
- Node275_8textStart = -3;
- Node275_8textWidth = Node275_8width;
- Node275_8lineStart = Node275_8width - ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_8.setImage(GD.getTextJSON(Node275_8width, Node275_8height, true, false, false, ' '+ Node275_8fontSize + 'px "Arial"'))
- Node275_8.setPosition(491*ratio.ratioX, 394*ratio.ratioY);
- Node275_8.setWidth(Node275_8width);
- Node275_8.setHeight(Node275_8height);
- Node275_8._nodeType = 'text';
- Node275_8._disallowEvert = true;
- Node275_8.setRotation(0*Math.PI/180);
- Node275_8.a('node.width', Node275_8width);
- Node275_8.a('node.height', Node275_8height);
- Node275_8.a('node.rect', [0, 0, Node275_8width, Node275_8height]);
- Node275_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node275_8.a('node.borderwidth', 0);
- Node275_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_8.a('node.gradient','');
- Node275_8.a('node.gradientcolor','');
- Node275_8.a('node.text','-');
- Node275_8.a('node.textalign','left');
- Node275_8.a('node.textvAlign','middle');
- Node275_8.a('node.textrect', [Node275_8textStart, 0, Node275_8textWidth, Node275_8height]);
- Node275_8.a('node.color','rgba(192,0,0,1)');
- Node275_8.a('node.font',' '+ Node275_8fontSize + 'px "Arial"');
- Node275_8.a('node.textvisible',true);
- Node275_8.a('node.linefeed',false);
- if (false) {
- Node275_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_8.a('node.text') || '-';
- var color=Node275_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_8width,Node275_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_8.a('node.underlinepoints',[Node275_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_8fontSize + 'px "Arial"').width + 6, (Node275_8height - Node275_8fontSize) * 0.5*_ratio.ratioY + Node275_8fontSize + 2 ]);
- Node275_8.a('node.underlinevisible',false);
- Node275_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_8);
- zoomNodeList.push({
- node: Node275_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_9 = new ht.Node();
- var Node275_9textStart, Node275_9textWidth, Node275_9lineStart, Node275_9align = 'left', Node275_9fontSize = 10.66664*_ratio.ratioY,Node275_9width = 43*_ratio.ratioX, Node275_9height = 27*_ratio.ratioY;
- (function () {
- if (Node275_9align === 'left') {
- Node275_9textStart = Node275_9fontSize * 0.2 > 2 ? Node275_9fontSize * 0.2 - 4 : Node275_9fontSize * 0.2 - 9;
- Node275_9textWidth = Node275_9width;
- Node275_9lineStart = 1;
- } else if (Node275_9align === 'right') {
- Node275_9textStart = 0;
- Node275_9textWidth =Node275_9fontSize <= 8 ? Node275_9width + Node275_9fontSize * 0.2 + 6 : Node275_9width - Node275_9fontSize * 0.2;
- Node275_9lineStart = (Node275_9width - (ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_9align === 'center') {
- Node275_9textStart = -3;
- Node275_9textWidth = Node275_9width;
- Node275_9lineStart = Node275_9width - ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_9.setImage(GD.getTextJSON(Node275_9width, Node275_9height, true, false, false, ' '+ Node275_9fontSize + 'px "Arial"'))
- Node275_9.setPosition(538*ratio.ratioX, 394*ratio.ratioY);
- Node275_9.setWidth(Node275_9width);
- Node275_9.setHeight(Node275_9height);
- Node275_9._nodeType = 'text';
- Node275_9._disallowEvert = true;
- Node275_9.setRotation(0*Math.PI/180);
- Node275_9.a('node.width', Node275_9width);
- Node275_9.a('node.height', Node275_9height);
- Node275_9.a('node.rect', [0, 0, Node275_9width, Node275_9height]);
- Node275_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_9.a('node.borderwidth', 0);
- Node275_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_9.a('node.gradient','');
- Node275_9.a('node.gradientcolor','');
- Node275_9.a('node.text','万kwh');
- Node275_9.a('node.textalign','left');
- Node275_9.a('node.textvAlign','middle');
- Node275_9.a('node.textrect', [Node275_9textStart, 0, Node275_9textWidth, Node275_9height]);
- Node275_9.a('node.color','rgba(0,0,0,1)');
- Node275_9.a('node.font',' '+ Node275_9fontSize + 'px "Arial"');
- Node275_9.a('node.textvisible',true);
- Node275_9.a('node.linefeed',false);
- if (false) {
- Node275_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_9.a('node.text') || '万kwh';
- var color=Node275_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_9width,Node275_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_9.a('node.underlinepoints',[Node275_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_9fontSize + 'px "Arial"').width + 6, (Node275_9height - Node275_9fontSize) * 0.5*_ratio.ratioY + Node275_9fontSize + 2 ]);
- Node275_9.a('node.underlinevisible',false);
- Node275_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_9);
- zoomNodeList.push({
- node: Node275_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_10 = new ht.Node();
- var Node275_10textStart, Node275_10textWidth, Node275_10lineStart, Node275_10align = 'left', Node275_10fontSize = 10.66664*_ratio.ratioY,Node275_10width = 72*_ratio.ratioX, Node275_10height = 27*_ratio.ratioY;
- (function () {
- if (Node275_10align === 'left') {
- Node275_10textStart = Node275_10fontSize * 0.2 > 2 ? Node275_10fontSize * 0.2 - 4 : Node275_10fontSize * 0.2 - 9;
- Node275_10textWidth = Node275_10width;
- Node275_10lineStart = 1;
- } else if (Node275_10align === 'right') {
- Node275_10textStart = 0;
- Node275_10textWidth =Node275_10fontSize <= 8 ? Node275_10width + Node275_10fontSize * 0.2 + 6 : Node275_10width - Node275_10fontSize * 0.2;
- Node275_10lineStart = (Node275_10width - (ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_10align === 'center') {
- Node275_10textStart = -3;
- Node275_10textWidth = Node275_10width;
- Node275_10lineStart = Node275_10width - ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_10.setImage(GD.getTextJSON(Node275_10width, Node275_10height, true, false, false, ' '+ Node275_10fontSize + 'px "Arial"'))
- Node275_10.setPosition(453*ratio.ratioX, 420*ratio.ratioY);
- Node275_10.setWidth(Node275_10width);
- Node275_10.setHeight(Node275_10height);
- Node275_10._nodeType = 'text';
- Node275_10._disallowEvert = true;
- Node275_10.setRotation(0*Math.PI/180);
- Node275_10.a('node.width', Node275_10width);
- Node275_10.a('node.height', Node275_10height);
- Node275_10.a('node.rect', [0, 0, Node275_10width, Node275_10height]);
- Node275_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_10.a('node.borderwidth', 0);
- Node275_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_10.a('node.gradient','');
- Node275_10.a('node.gradientcolor','');
- Node275_10.a('node.text','日发电量');
- Node275_10.a('node.textalign','left');
- Node275_10.a('node.textvAlign','middle');
- Node275_10.a('node.textrect', [Node275_10textStart, 0, Node275_10textWidth, Node275_10height]);
- Node275_10.a('node.color','rgba(0,0,0,1)');
- Node275_10.a('node.font',' '+ Node275_10fontSize + 'px "Arial"');
- Node275_10.a('node.textvisible',true);
- Node275_10.a('node.linefeed',false);
- if (false) {
- Node275_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_10.a('node.text') || '日发电量';
- var color=Node275_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_10width,Node275_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_10.a('node.underlinepoints',[Node275_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node275_10fontSize + 'px "Arial"').width + 6, (Node275_10height - Node275_10fontSize) * 0.5*_ratio.ratioY + Node275_10fontSize + 2 ]);
- Node275_10.a('node.underlinevisible',false);
- Node275_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_10);
- zoomNodeList.push({
- node: Node275_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_11 = new ht.Node();
- var Node275_11textStart, Node275_11textWidth, Node275_11lineStart, Node275_11align = 'left', Node275_11fontSize = 10.66664*_ratio.ratioY,Node275_11width = 31*_ratio.ratioX, Node275_11height = 27*_ratio.ratioY;
- (function () {
- if (Node275_11align === 'left') {
- Node275_11textStart = Node275_11fontSize * 0.2 > 2 ? Node275_11fontSize * 0.2 - 4 : Node275_11fontSize * 0.2 - 9;
- Node275_11textWidth = Node275_11width;
- Node275_11lineStart = 1;
- } else if (Node275_11align === 'right') {
- Node275_11textStart = 0;
- Node275_11textWidth =Node275_11fontSize <= 8 ? Node275_11width + Node275_11fontSize * 0.2 + 6 : Node275_11width - Node275_11fontSize * 0.2;
- Node275_11lineStart = (Node275_11width - (ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_11align === 'center') {
- Node275_11textStart = -3;
- Node275_11textWidth = Node275_11width;
- Node275_11lineStart = Node275_11width - ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_11.setImage(GD.getTextJSON(Node275_11width, Node275_11height, true, false, false, ' '+ Node275_11fontSize + 'px "Arial"'))
- Node275_11.setPosition(496*ratio.ratioX, 420*ratio.ratioY);
- Node275_11.setWidth(Node275_11width);
- Node275_11.setHeight(Node275_11height);
- Node275_11._nodeType = 'text';
- Node275_11._disallowEvert = true;
- Node275_11.setRotation(0*Math.PI/180);
- Node275_11.a('node.width', Node275_11width);
- Node275_11.a('node.height', Node275_11height);
- Node275_11.a('node.rect', [0, 0, Node275_11width, Node275_11height]);
- Node275_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node275_11.a('node.borderwidth', 0);
- Node275_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_11.a('node.gradient','');
- Node275_11.a('node.gradientcolor','');
- Node275_11.a('node.text','-');
- Node275_11.a('node.textalign','left');
- Node275_11.a('node.textvAlign','middle');
- Node275_11.a('node.textrect', [Node275_11textStart, 0, Node275_11textWidth, Node275_11height]);
- Node275_11.a('node.color','rgba(192,0,0,1)');
- Node275_11.a('node.font',' '+ Node275_11fontSize + 'px "Arial"');
- Node275_11.a('node.textvisible',true);
- Node275_11.a('node.linefeed',false);
- if (false) {
- Node275_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_11.a('node.text') || '-';
- var color=Node275_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_11width,Node275_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_11.a('node.underlinepoints',[Node275_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_11fontSize + 'px "Arial"').width + 6, (Node275_11height - Node275_11fontSize) * 0.5*_ratio.ratioY + Node275_11fontSize + 2 ]);
- Node275_11.a('node.underlinevisible',false);
- Node275_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_11);
- zoomNodeList.push({
- node: Node275_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_12 = new ht.Node();
- var Node275_12textStart, Node275_12textWidth, Node275_12lineStart, Node275_12align = 'left', Node275_12fontSize = 10.66664*_ratio.ratioY,Node275_12width = 43*_ratio.ratioX, Node275_12height = 27*_ratio.ratioY;
- (function () {
- if (Node275_12align === 'left') {
- Node275_12textStart = Node275_12fontSize * 0.2 > 2 ? Node275_12fontSize * 0.2 - 4 : Node275_12fontSize * 0.2 - 9;
- Node275_12textWidth = Node275_12width;
- Node275_12lineStart = 1;
- } else if (Node275_12align === 'right') {
- Node275_12textStart = 0;
- Node275_12textWidth =Node275_12fontSize <= 8 ? Node275_12width + Node275_12fontSize * 0.2 + 6 : Node275_12width - Node275_12fontSize * 0.2;
- Node275_12lineStart = (Node275_12width - (ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_12align === 'center') {
- Node275_12textStart = -3;
- Node275_12textWidth = Node275_12width;
- Node275_12lineStart = Node275_12width - ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_12.setImage(GD.getTextJSON(Node275_12width, Node275_12height, true, false, false, ' '+ Node275_12fontSize + 'px "Arial"'))
- Node275_12.setPosition(538*ratio.ratioX, 420*ratio.ratioY);
- Node275_12.setWidth(Node275_12width);
- Node275_12.setHeight(Node275_12height);
- Node275_12._nodeType = 'text';
- Node275_12._disallowEvert = true;
- Node275_12.setRotation(0*Math.PI/180);
- Node275_12.a('node.width', Node275_12width);
- Node275_12.a('node.height', Node275_12height);
- Node275_12.a('node.rect', [0, 0, Node275_12width, Node275_12height]);
- Node275_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_12.a('node.borderwidth', 0);
- Node275_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_12.a('node.gradient','');
- Node275_12.a('node.gradientcolor','');
- Node275_12.a('node.text','万kwh');
- Node275_12.a('node.textalign','left');
- Node275_12.a('node.textvAlign','middle');
- Node275_12.a('node.textrect', [Node275_12textStart, 0, Node275_12textWidth, Node275_12height]);
- Node275_12.a('node.color','rgba(0,0,0,1)');
- Node275_12.a('node.font',' '+ Node275_12fontSize + 'px "Arial"');
- Node275_12.a('node.textvisible',true);
- Node275_12.a('node.linefeed',false);
- if (false) {
- Node275_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_12.a('node.text') || '万kwh';
- var color=Node275_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_12width,Node275_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_12.a('node.underlinepoints',[Node275_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_12fontSize + 'px "Arial"').width + 6, (Node275_12height - Node275_12fontSize) * 0.5*_ratio.ratioY + Node275_12fontSize + 2 ]);
- Node275_12.a('node.underlinevisible',false);
- Node275_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_12);
- zoomNodeList.push({
- node: Node275_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_13 = new ht.Node();
- var Node275_13textStart, Node275_13textWidth, Node275_13lineStart, Node275_13align = 'left', Node275_13fontSize = 10.66664*_ratio.ratioY,Node275_13width = 72*_ratio.ratioX, Node275_13height = 27*_ratio.ratioY;
- (function () {
- if (Node275_13align === 'left') {
- Node275_13textStart = Node275_13fontSize * 0.2 > 2 ? Node275_13fontSize * 0.2 - 4 : Node275_13fontSize * 0.2 - 9;
- Node275_13textWidth = Node275_13width;
- Node275_13lineStart = 1;
- } else if (Node275_13align === 'right') {
- Node275_13textStart = 0;
- Node275_13textWidth =Node275_13fontSize <= 8 ? Node275_13width + Node275_13fontSize * 0.2 + 6 : Node275_13width - Node275_13fontSize * 0.2;
- Node275_13lineStart = (Node275_13width - (ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_13align === 'center') {
- Node275_13textStart = -3;
- Node275_13textWidth = Node275_13width;
- Node275_13lineStart = Node275_13width - ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_13.setImage(GD.getTextJSON(Node275_13width, Node275_13height, true, false, false, ' '+ Node275_13fontSize + 'px "Arial"'))
- Node275_13.setPosition(453*ratio.ratioX, 447*ratio.ratioY);
- Node275_13.setWidth(Node275_13width);
- Node275_13.setHeight(Node275_13height);
- Node275_13._nodeType = 'text';
- Node275_13._disallowEvert = true;
- Node275_13.setRotation(0*Math.PI/180);
- Node275_13.a('node.width', Node275_13width);
- Node275_13.a('node.height', Node275_13height);
- Node275_13.a('node.rect', [0, 0, Node275_13width, Node275_13height]);
- Node275_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_13.a('node.borderwidth', 0);
- Node275_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_13.a('node.gradient','');
- Node275_13.a('node.gradientcolor','');
- Node275_13.a('node.text','有功功率');
- Node275_13.a('node.textalign','left');
- Node275_13.a('node.textvAlign','middle');
- Node275_13.a('node.textrect', [Node275_13textStart, 0, Node275_13textWidth, Node275_13height]);
- Node275_13.a('node.color','rgba(0,0,0,1)');
- Node275_13.a('node.font',' '+ Node275_13fontSize + 'px "Arial"');
- Node275_13.a('node.textvisible',true);
- Node275_13.a('node.linefeed',false);
- if (false) {
- Node275_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_13.a('node.text') || '有功功率';
- var color=Node275_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_13width,Node275_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_13.a('node.underlinepoints',[Node275_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node275_13fontSize + 'px "Arial"').width + 6, (Node275_13height - Node275_13fontSize) * 0.5*_ratio.ratioY + Node275_13fontSize + 2 ]);
- Node275_13.a('node.underlinevisible',false);
- Node275_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_13);
- zoomNodeList.push({
- node: Node275_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_14 = new ht.Node();
- var Node275_14textStart, Node275_14textWidth, Node275_14lineStart, Node275_14align = 'left', Node275_14fontSize = 10.66664*_ratio.ratioY,Node275_14width = 22*_ratio.ratioX, Node275_14height = 27*_ratio.ratioY;
- (function () {
- if (Node275_14align === 'left') {
- Node275_14textStart = Node275_14fontSize * 0.2 > 2 ? Node275_14fontSize * 0.2 - 4 : Node275_14fontSize * 0.2 - 9;
- Node275_14textWidth = Node275_14width;
- Node275_14lineStart = 1;
- } else if (Node275_14align === 'right') {
- Node275_14textStart = 0;
- Node275_14textWidth =Node275_14fontSize <= 8 ? Node275_14width + Node275_14fontSize * 0.2 + 6 : Node275_14width - Node275_14fontSize * 0.2;
- Node275_14lineStart = (Node275_14width - (ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_14align === 'center') {
- Node275_14textStart = -3;
- Node275_14textWidth = Node275_14width;
- Node275_14lineStart = Node275_14width - ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_14.setImage(GD.getTextJSON(Node275_14width, Node275_14height, true, false, false, ' '+ Node275_14fontSize + 'px "Arial"'))
- Node275_14.setPosition(491*ratio.ratioX, 447*ratio.ratioY);
- Node275_14.setWidth(Node275_14width);
- Node275_14.setHeight(Node275_14height);
- Node275_14._nodeType = 'text';
- Node275_14._disallowEvert = true;
- Node275_14.setRotation(0*Math.PI/180);
- Node275_14.a('node.width', Node275_14width);
- Node275_14.a('node.height', Node275_14height);
- Node275_14.a('node.rect', [0, 0, Node275_14width, Node275_14height]);
- Node275_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node275_14.a('node.borderwidth', 0);
- Node275_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_14.a('node.gradient','');
- Node275_14.a('node.gradientcolor','');
- Node275_14.a('node.text','-');
- Node275_14.a('node.textalign','left');
- Node275_14.a('node.textvAlign','middle');
- Node275_14.a('node.textrect', [Node275_14textStart, 0, Node275_14textWidth, Node275_14height]);
- Node275_14.a('node.color','rgba(192,0,0,1)');
- Node275_14.a('node.font',' '+ Node275_14fontSize + 'px "Arial"');
- Node275_14.a('node.textvisible',true);
- Node275_14.a('node.linefeed',false);
- if (false) {
- Node275_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_14.a('node.text') || '-';
- var color=Node275_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_14width,Node275_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_14.a('node.underlinepoints',[Node275_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node275_14fontSize + 'px "Arial"').width + 6, (Node275_14height - Node275_14fontSize) * 0.5*_ratio.ratioY + Node275_14fontSize + 2 ]);
- Node275_14.a('node.underlinevisible',false);
- Node275_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_14);
- zoomNodeList.push({
- node: Node275_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node275_15 = new ht.Node();
- var Node275_15textStart, Node275_15textWidth, Node275_15lineStart, Node275_15align = 'left', Node275_15fontSize = 10.66664*_ratio.ratioY,Node275_15width = 43*_ratio.ratioX, Node275_15height = 27*_ratio.ratioY;
- (function () {
- if (Node275_15align === 'left') {
- Node275_15textStart = Node275_15fontSize * 0.2 > 2 ? Node275_15fontSize * 0.2 - 4 : Node275_15fontSize * 0.2 - 9;
- Node275_15textWidth = Node275_15width;
- Node275_15lineStart = 1;
- } else if (Node275_15align === 'right') {
- Node275_15textStart = 0;
- Node275_15textWidth =Node275_15fontSize <= 8 ? Node275_15width + Node275_15fontSize * 0.2 + 6 : Node275_15width - Node275_15fontSize * 0.2;
- Node275_15lineStart = (Node275_15width - (ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node275_15align === 'center') {
- Node275_15textStart = -3;
- Node275_15textWidth = Node275_15width;
- Node275_15lineStart = Node275_15width - ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node275_15.setImage(GD.getTextJSON(Node275_15width, Node275_15height, true, false, false, ' '+ Node275_15fontSize + 'px "Arial"'))
- Node275_15.setPosition(538*ratio.ratioX, 447*ratio.ratioY);
- Node275_15.setWidth(Node275_15width);
- Node275_15.setHeight(Node275_15height);
- Node275_15._nodeType = 'text';
- Node275_15._disallowEvert = true;
- Node275_15.setRotation(0*Math.PI/180);
- Node275_15.a('node.width', Node275_15width);
- Node275_15.a('node.height', Node275_15height);
- Node275_15.a('node.rect', [0, 0, Node275_15width, Node275_15height]);
- Node275_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node275_15.a('node.borderwidth', 0);
- Node275_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node275_15.a('node.gradient','');
- Node275_15.a('node.gradientcolor','');
- Node275_15.a('node.text','万kwh');
- Node275_15.a('node.textalign','left');
- Node275_15.a('node.textvAlign','middle');
- Node275_15.a('node.textrect', [Node275_15textStart, 0, Node275_15textWidth, Node275_15height]);
- Node275_15.a('node.color','rgba(0,0,0,1)');
- Node275_15.a('node.font',' '+ Node275_15fontSize + 'px "Arial"');
- Node275_15.a('node.textvisible',true);
- Node275_15.a('node.linefeed',false);
- if (false) {
- Node275_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node275_15.a('node.text') || '万kwh';
- var color=Node275_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node275_15width,Node275_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node275_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node275_15.a('node.underlinepoints',[Node275_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node275_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node275_15fontSize + 'px "Arial"').width + 6, (Node275_15height - Node275_15fontSize) * 0.5*_ratio.ratioY + Node275_15fontSize + 2 ]);
- Node275_15.a('node.underlinevisible',false);
- Node275_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node275_15);
- zoomNodeList.push({
- node: Node275_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node276_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node276_0 = new ht.Node();
- Node276_0.setPosition(513*ratio.ratioX, 550*ratio.ratioY);
- Node276_0.setSize(146*ratioX, 141*ratioY);
- Node276_0.setImage('imgimage//img//map_name_03.png');
- Node276_0.setRotation(0*Math.PI/180);
- Node276_0._zoomBy = 'Default';
- Node276_0._nodeType = 'image';
- Node276_0._disallowEvert = true;
- dataModel.add(Node276_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_1 = new ht.Node();
- var Node276_1textStart, Node276_1textWidth, Node276_1lineStart, Node276_1align = 'left', Node276_1fontSize = 10.66664*_ratio.ratioY,Node276_1width = 72*_ratio.ratioX, Node276_1height = 27*_ratio.ratioY;
- (function () {
- if (Node276_1align === 'left') {
- Node276_1textStart = Node276_1fontSize * 0.2 > 2 ? Node276_1fontSize * 0.2 - 4 : Node276_1fontSize * 0.2 - 9;
- Node276_1textWidth = Node276_1width;
- Node276_1lineStart = 1;
- } else if (Node276_1align === 'right') {
- Node276_1textStart = 0;
- Node276_1textWidth =Node276_1fontSize <= 8 ? Node276_1width + Node276_1fontSize * 0.2 + 6 : Node276_1width - Node276_1fontSize * 0.2;
- Node276_1lineStart = (Node276_1width - (ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_1align === 'center') {
- Node276_1textStart = -3;
- Node276_1textWidth = Node276_1width;
- Node276_1lineStart = Node276_1width - ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_1.setImage(GD.getTextJSON(Node276_1width, Node276_1height, true, false, false, ' '+ Node276_1fontSize + 'px "Arial"'))
- Node276_1.setPosition(483*ratio.ratioX, 503*ratio.ratioY);
- Node276_1.setWidth(Node276_1width);
- Node276_1.setHeight(Node276_1height);
- Node276_1._nodeType = 'text';
- Node276_1._disallowEvert = true;
- Node276_1.setRotation(0*Math.PI/180);
- Node276_1.a('node.width', Node276_1width);
- Node276_1.a('node.height', Node276_1height);
- Node276_1.a('node.rect', [0, 0, Node276_1width, Node276_1height]);
- Node276_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_1.a('node.borderwidth', 0);
- Node276_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_1.a('node.gradient','');
- Node276_1.a('node.gradientcolor','');
- Node276_1.a('node.text','风机台数');
- Node276_1.a('node.textalign','left');
- Node276_1.a('node.textvAlign','middle');
- Node276_1.a('node.textrect', [Node276_1textStart, 0, Node276_1textWidth, Node276_1height]);
- Node276_1.a('node.color','rgba(0,0,0,1)');
- Node276_1.a('node.font',' '+ Node276_1fontSize + 'px "Arial"');
- Node276_1.a('node.textvisible',true);
- Node276_1.a('node.linefeed',false);
- if (false) {
- Node276_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_1.a('node.text') || '风机台数';
- var color=Node276_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_1width,Node276_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_1.a('node.underlinepoints',[Node276_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node276_1fontSize + 'px "Arial"').width + 6, (Node276_1height - Node276_1fontSize) * 0.5*_ratio.ratioY + Node276_1fontSize + 2 ]);
- Node276_1.a('node.underlinevisible',false);
- Node276_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_1);
- zoomNodeList.push({
- node: Node276_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_2 = new ht.Node();
- var Node276_2textStart, Node276_2textWidth, Node276_2lineStart, Node276_2align = 'left', Node276_2fontSize = 10.66664*_ratio.ratioY,Node276_2width = 22*_ratio.ratioX, Node276_2height = 27*_ratio.ratioY;
- (function () {
- if (Node276_2align === 'left') {
- Node276_2textStart = Node276_2fontSize * 0.2 > 2 ? Node276_2fontSize * 0.2 - 4 : Node276_2fontSize * 0.2 - 9;
- Node276_2textWidth = Node276_2width;
- Node276_2lineStart = 1;
- } else if (Node276_2align === 'right') {
- Node276_2textStart = 0;
- Node276_2textWidth =Node276_2fontSize <= 8 ? Node276_2width + Node276_2fontSize * 0.2 + 6 : Node276_2width - Node276_2fontSize * 0.2;
- Node276_2lineStart = (Node276_2width - (ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_2align === 'center') {
- Node276_2textStart = -3;
- Node276_2textWidth = Node276_2width;
- Node276_2lineStart = Node276_2width - ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_2.setImage(GD.getTextJSON(Node276_2width, Node276_2height, true, false, false, ' '+ Node276_2fontSize + 'px "Arial"'))
- Node276_2.setPosition(521*ratio.ratioX, 503*ratio.ratioY);
- Node276_2.setWidth(Node276_2width);
- Node276_2.setHeight(Node276_2height);
- Node276_2._nodeType = 'text';
- Node276_2._disallowEvert = true;
- Node276_2.setRotation(0*Math.PI/180);
- Node276_2.a('node.width', Node276_2width);
- Node276_2.a('node.height', Node276_2height);
- Node276_2.a('node.rect', [0, 0, Node276_2width, Node276_2height]);
- Node276_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node276_2.a('node.borderwidth', 0);
- Node276_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_2.a('node.gradient','');
- Node276_2.a('node.gradientcolor','');
- Node276_2.a('node.text','99');
- Node276_2.a('node.textalign','left');
- Node276_2.a('node.textvAlign','middle');
- Node276_2.a('node.textrect', [Node276_2textStart, 0, Node276_2textWidth, Node276_2height]);
- Node276_2.a('node.color','rgba(192,0,0,1)');
- Node276_2.a('node.font',' '+ Node276_2fontSize + 'px "Arial"');
- Node276_2.a('node.textvisible',true);
- Node276_2.a('node.linefeed',false);
- if (false) {
- Node276_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_2.a('node.text') || '99';
- var color=Node276_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_2width,Node276_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_2.a('node.underlinepoints',[Node276_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node276_2fontSize + 'px "Arial"').width + 6, (Node276_2height - Node276_2fontSize) * 0.5*_ratio.ratioY + Node276_2fontSize + 2 ]);
- Node276_2.a('node.underlinevisible',false);
- Node276_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_2);
- zoomNodeList.push({
- node: Node276_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_3 = new ht.Node();
- var Node276_3textStart, Node276_3textWidth, Node276_3lineStart, Node276_3align = 'left', Node276_3fontSize = 10.66664*_ratio.ratioY,Node276_3width = 43*_ratio.ratioX, Node276_3height = 27*_ratio.ratioY;
- (function () {
- if (Node276_3align === 'left') {
- Node276_3textStart = Node276_3fontSize * 0.2 > 2 ? Node276_3fontSize * 0.2 - 4 : Node276_3fontSize * 0.2 - 9;
- Node276_3textWidth = Node276_3width;
- Node276_3lineStart = 1;
- } else if (Node276_3align === 'right') {
- Node276_3textStart = 0;
- Node276_3textWidth =Node276_3fontSize <= 8 ? Node276_3width + Node276_3fontSize * 0.2 + 6 : Node276_3width - Node276_3fontSize * 0.2;
- Node276_3lineStart = (Node276_3width - (ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_3align === 'center') {
- Node276_3textStart = -3;
- Node276_3textWidth = Node276_3width;
- Node276_3lineStart = Node276_3width - ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_3.setImage(GD.getTextJSON(Node276_3width, Node276_3height, true, false, false, ' '+ Node276_3fontSize + 'px "Arial"'))
- Node276_3.setPosition(568*ratio.ratioX, 503*ratio.ratioY);
- Node276_3.setWidth(Node276_3width);
- Node276_3.setHeight(Node276_3height);
- Node276_3._nodeType = 'text';
- Node276_3._disallowEvert = true;
- Node276_3.setRotation(0*Math.PI/180);
- Node276_3.a('node.width', Node276_3width);
- Node276_3.a('node.height', Node276_3height);
- Node276_3.a('node.rect', [0, 0, Node276_3width, Node276_3height]);
- Node276_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_3.a('node.borderwidth', 0);
- Node276_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_3.a('node.gradient','');
- Node276_3.a('node.gradientcolor','');
- Node276_3.a('node.text','万kwh');
- Node276_3.a('node.textalign','left');
- Node276_3.a('node.textvAlign','middle');
- Node276_3.a('node.textrect', [Node276_3textStart, 0, Node276_3textWidth, Node276_3height]);
- Node276_3.a('node.color','rgba(0,0,0,1)');
- Node276_3.a('node.font',' '+ Node276_3fontSize + 'px "Arial"');
- Node276_3.a('node.textvisible',true);
- Node276_3.a('node.linefeed',false);
- if (false) {
- Node276_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_3.a('node.text') || '万kwh';
- var color=Node276_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_3width,Node276_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_3.a('node.underlinepoints',[Node276_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_3fontSize + 'px "Arial"').width + 6, (Node276_3height - Node276_3fontSize) * 0.5*_ratio.ratioY + Node276_3fontSize + 2 ]);
- Node276_3.a('node.underlinevisible',false);
- Node276_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_3);
- zoomNodeList.push({
- node: Node276_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_4 = new ht.Node();
- var Node276_4textStart, Node276_4textWidth, Node276_4lineStart, Node276_4align = 'left', Node276_4fontSize = 10.66664*_ratio.ratioY,Node276_4width = 72*_ratio.ratioX, Node276_4height = 27*_ratio.ratioY;
- (function () {
- if (Node276_4align === 'left') {
- Node276_4textStart = Node276_4fontSize * 0.2 > 2 ? Node276_4fontSize * 0.2 - 4 : Node276_4fontSize * 0.2 - 9;
- Node276_4textWidth = Node276_4width;
- Node276_4lineStart = 1;
- } else if (Node276_4align === 'right') {
- Node276_4textStart = 0;
- Node276_4textWidth =Node276_4fontSize <= 8 ? Node276_4width + Node276_4fontSize * 0.2 + 6 : Node276_4width - Node276_4fontSize * 0.2;
- Node276_4lineStart = (Node276_4width - (ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_4align === 'center') {
- Node276_4textStart = -3;
- Node276_4textWidth = Node276_4width;
- Node276_4lineStart = Node276_4width - ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_4.setImage(GD.getTextJSON(Node276_4width, Node276_4height, true, false, false, ' '+ Node276_4fontSize + 'px "Arial"'))
- Node276_4.setPosition(483*ratio.ratioX, 529*ratio.ratioY);
- Node276_4.setWidth(Node276_4width);
- Node276_4.setHeight(Node276_4height);
- Node276_4._nodeType = 'text';
- Node276_4._disallowEvert = true;
- Node276_4.setRotation(0*Math.PI/180);
- Node276_4.a('node.width', Node276_4width);
- Node276_4.a('node.height', Node276_4height);
- Node276_4.a('node.rect', [0, 0, Node276_4width, Node276_4height]);
- Node276_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_4.a('node.borderwidth', 0);
- Node276_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_4.a('node.gradient','');
- Node276_4.a('node.gradientcolor','');
- Node276_4.a('node.text','装机容量');
- Node276_4.a('node.textalign','left');
- Node276_4.a('node.textvAlign','middle');
- Node276_4.a('node.textrect', [Node276_4textStart, 0, Node276_4textWidth, Node276_4height]);
- Node276_4.a('node.color','rgba(0,0,0,1)');
- Node276_4.a('node.font',' '+ Node276_4fontSize + 'px "Arial"');
- Node276_4.a('node.textvisible',true);
- Node276_4.a('node.linefeed',false);
- if (false) {
- Node276_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_4.a('node.text') || '装机容量';
- var color=Node276_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_4width,Node276_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_4.a('node.underlinepoints',[Node276_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node276_4fontSize + 'px "Arial"').width + 6, (Node276_4height - Node276_4fontSize) * 0.5*_ratio.ratioY + Node276_4fontSize + 2 ]);
- Node276_4.a('node.underlinevisible',false);
- Node276_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_4);
- zoomNodeList.push({
- node: Node276_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_5 = new ht.Node();
- var Node276_5textStart, Node276_5textWidth, Node276_5lineStart, Node276_5align = 'left', Node276_5fontSize = 10.66664*_ratio.ratioY,Node276_5width = 31*_ratio.ratioX, Node276_5height = 27*_ratio.ratioY;
- (function () {
- if (Node276_5align === 'left') {
- Node276_5textStart = Node276_5fontSize * 0.2 > 2 ? Node276_5fontSize * 0.2 - 4 : Node276_5fontSize * 0.2 - 9;
- Node276_5textWidth = Node276_5width;
- Node276_5lineStart = 1;
- } else if (Node276_5align === 'right') {
- Node276_5textStart = 0;
- Node276_5textWidth =Node276_5fontSize <= 8 ? Node276_5width + Node276_5fontSize * 0.2 + 6 : Node276_5width - Node276_5fontSize * 0.2;
- Node276_5lineStart = (Node276_5width - (ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_5align === 'center') {
- Node276_5textStart = -3;
- Node276_5textWidth = Node276_5width;
- Node276_5lineStart = Node276_5width - ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_5.setImage(GD.getTextJSON(Node276_5width, Node276_5height, true, false, false, ' '+ Node276_5fontSize + 'px "Arial"'))
- Node276_5.setPosition(526*ratio.ratioX, 529*ratio.ratioY);
- Node276_5.setWidth(Node276_5width);
- Node276_5.setHeight(Node276_5height);
- Node276_5._nodeType = 'text';
- Node276_5._disallowEvert = true;
- Node276_5.setRotation(0*Math.PI/180);
- Node276_5.a('node.width', Node276_5width);
- Node276_5.a('node.height', Node276_5height);
- Node276_5.a('node.rect', [0, 0, Node276_5width, Node276_5height]);
- Node276_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node276_5.a('node.borderwidth', 0);
- Node276_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_5.a('node.gradient','');
- Node276_5.a('node.gradientcolor','');
- Node276_5.a('node.text','14.85');
- Node276_5.a('node.textalign','left');
- Node276_5.a('node.textvAlign','middle');
- Node276_5.a('node.textrect', [Node276_5textStart, 0, Node276_5textWidth, Node276_5height]);
- Node276_5.a('node.color','rgba(192,0,0,1)');
- Node276_5.a('node.font',' '+ Node276_5fontSize + 'px "Arial"');
- Node276_5.a('node.textvisible',true);
- Node276_5.a('node.linefeed',false);
- if (false) {
- Node276_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_5.a('node.text') || '14.85';
- var color=Node276_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_5width,Node276_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_5.a('node.underlinepoints',[Node276_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node276_5fontSize + 'px "Arial"').width + 6, (Node276_5height - Node276_5fontSize) * 0.5*_ratio.ratioY + Node276_5fontSize + 2 ]);
- Node276_5.a('node.underlinevisible',false);
- Node276_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_5);
- zoomNodeList.push({
- node: Node276_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_6 = new ht.Node();
- var Node276_6textStart, Node276_6textWidth, Node276_6lineStart, Node276_6align = 'left', Node276_6fontSize = 10.66664*_ratio.ratioY,Node276_6width = 43*_ratio.ratioX, Node276_6height = 27*_ratio.ratioY;
- (function () {
- if (Node276_6align === 'left') {
- Node276_6textStart = Node276_6fontSize * 0.2 > 2 ? Node276_6fontSize * 0.2 - 4 : Node276_6fontSize * 0.2 - 9;
- Node276_6textWidth = Node276_6width;
- Node276_6lineStart = 1;
- } else if (Node276_6align === 'right') {
- Node276_6textStart = 0;
- Node276_6textWidth =Node276_6fontSize <= 8 ? Node276_6width + Node276_6fontSize * 0.2 + 6 : Node276_6width - Node276_6fontSize * 0.2;
- Node276_6lineStart = (Node276_6width - (ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_6align === 'center') {
- Node276_6textStart = -3;
- Node276_6textWidth = Node276_6width;
- Node276_6lineStart = Node276_6width - ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_6.setImage(GD.getTextJSON(Node276_6width, Node276_6height, true, false, false, ' '+ Node276_6fontSize + 'px "Arial"'))
- Node276_6.setPosition(568*ratio.ratioX, 529*ratio.ratioY);
- Node276_6.setWidth(Node276_6width);
- Node276_6.setHeight(Node276_6height);
- Node276_6._nodeType = 'text';
- Node276_6._disallowEvert = true;
- Node276_6.setRotation(0*Math.PI/180);
- Node276_6.a('node.width', Node276_6width);
- Node276_6.a('node.height', Node276_6height);
- Node276_6.a('node.rect', [0, 0, Node276_6width, Node276_6height]);
- Node276_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_6.a('node.borderwidth', 0);
- Node276_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_6.a('node.gradient','');
- Node276_6.a('node.gradientcolor','');
- Node276_6.a('node.text','万kwh');
- Node276_6.a('node.textalign','left');
- Node276_6.a('node.textvAlign','middle');
- Node276_6.a('node.textrect', [Node276_6textStart, 0, Node276_6textWidth, Node276_6height]);
- Node276_6.a('node.color','rgba(0,0,0,1)');
- Node276_6.a('node.font',' '+ Node276_6fontSize + 'px "Arial"');
- Node276_6.a('node.textvisible',true);
- Node276_6.a('node.linefeed',false);
- if (false) {
- Node276_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_6.a('node.text') || '万kwh';
- var color=Node276_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_6width,Node276_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_6.a('node.underlinepoints',[Node276_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_6fontSize + 'px "Arial"').width + 6, (Node276_6height - Node276_6fontSize) * 0.5*_ratio.ratioY + Node276_6fontSize + 2 ]);
- Node276_6.a('node.underlinevisible',false);
- Node276_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_6);
- zoomNodeList.push({
- node: Node276_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_7 = new ht.Node();
- var Node276_7textStart, Node276_7textWidth, Node276_7lineStart, Node276_7align = 'left', Node276_7fontSize = 10.66664*_ratio.ratioY,Node276_7width = 72*_ratio.ratioX, Node276_7height = 27*_ratio.ratioY;
- (function () {
- if (Node276_7align === 'left') {
- Node276_7textStart = Node276_7fontSize * 0.2 > 2 ? Node276_7fontSize * 0.2 - 4 : Node276_7fontSize * 0.2 - 9;
- Node276_7textWidth = Node276_7width;
- Node276_7lineStart = 1;
- } else if (Node276_7align === 'right') {
- Node276_7textStart = 0;
- Node276_7textWidth =Node276_7fontSize <= 8 ? Node276_7width + Node276_7fontSize * 0.2 + 6 : Node276_7width - Node276_7fontSize * 0.2;
- Node276_7lineStart = (Node276_7width - (ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_7align === 'center') {
- Node276_7textStart = -3;
- Node276_7textWidth = Node276_7width;
- Node276_7lineStart = Node276_7width - ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_7.setImage(GD.getTextJSON(Node276_7width, Node276_7height, true, false, false, ' '+ Node276_7fontSize + 'px "Arial"'))
- Node276_7.setPosition(483*ratio.ratioX, 554*ratio.ratioY);
- Node276_7.setWidth(Node276_7width);
- Node276_7.setHeight(Node276_7height);
- Node276_7._nodeType = 'text';
- Node276_7._disallowEvert = true;
- Node276_7.setRotation(0*Math.PI/180);
- Node276_7.a('node.width', Node276_7width);
- Node276_7.a('node.height', Node276_7height);
- Node276_7.a('node.rect', [0, 0, Node276_7width, Node276_7height]);
- Node276_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_7.a('node.borderwidth', 0);
- Node276_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_7.a('node.gradient','');
- Node276_7.a('node.gradientcolor','');
- Node276_7.a('node.text','平均风速');
- Node276_7.a('node.textalign','left');
- Node276_7.a('node.textvAlign','middle');
- Node276_7.a('node.textrect', [Node276_7textStart, 0, Node276_7textWidth, Node276_7height]);
- Node276_7.a('node.color','rgba(0,0,0,1)');
- Node276_7.a('node.font',' '+ Node276_7fontSize + 'px "Arial"');
- Node276_7.a('node.textvisible',true);
- Node276_7.a('node.linefeed',false);
- if (false) {
- Node276_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_7.a('node.text') || '平均风速';
- var color=Node276_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_7width,Node276_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_7.a('node.underlinepoints',[Node276_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node276_7fontSize + 'px "Arial"').width + 6, (Node276_7height - Node276_7fontSize) * 0.5*_ratio.ratioY + Node276_7fontSize + 2 ]);
- Node276_7.a('node.underlinevisible',false);
- Node276_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_7);
- zoomNodeList.push({
- node: Node276_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_8 = new ht.Node();
- var Node276_8textStart, Node276_8textWidth, Node276_8lineStart, Node276_8align = 'left', Node276_8fontSize = 10.66664*_ratio.ratioY,Node276_8width = 22*_ratio.ratioX, Node276_8height = 27*_ratio.ratioY;
- (function () {
- if (Node276_8align === 'left') {
- Node276_8textStart = Node276_8fontSize * 0.2 > 2 ? Node276_8fontSize * 0.2 - 4 : Node276_8fontSize * 0.2 - 9;
- Node276_8textWidth = Node276_8width;
- Node276_8lineStart = 1;
- } else if (Node276_8align === 'right') {
- Node276_8textStart = 0;
- Node276_8textWidth =Node276_8fontSize <= 8 ? Node276_8width + Node276_8fontSize * 0.2 + 6 : Node276_8width - Node276_8fontSize * 0.2;
- Node276_8lineStart = (Node276_8width - (ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_8align === 'center') {
- Node276_8textStart = -3;
- Node276_8textWidth = Node276_8width;
- Node276_8lineStart = Node276_8width - ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_8.setImage(GD.getTextJSON(Node276_8width, Node276_8height, true, false, false, ' '+ Node276_8fontSize + 'px "Arial"'))
- Node276_8.setPosition(521*ratio.ratioX, 554*ratio.ratioY);
- Node276_8.setWidth(Node276_8width);
- Node276_8.setHeight(Node276_8height);
- Node276_8._nodeType = 'text';
- Node276_8._disallowEvert = true;
- Node276_8.setRotation(0*Math.PI/180);
- Node276_8.a('node.width', Node276_8width);
- Node276_8.a('node.height', Node276_8height);
- Node276_8.a('node.rect', [0, 0, Node276_8width, Node276_8height]);
- Node276_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node276_8.a('node.borderwidth', 0);
- Node276_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_8.a('node.gradient','');
- Node276_8.a('node.gradientcolor','');
- Node276_8.a('node.text','-');
- Node276_8.a('node.textalign','left');
- Node276_8.a('node.textvAlign','middle');
- Node276_8.a('node.textrect', [Node276_8textStart, 0, Node276_8textWidth, Node276_8height]);
- Node276_8.a('node.color','rgba(192,0,0,1)');
- Node276_8.a('node.font',' '+ Node276_8fontSize + 'px "Arial"');
- Node276_8.a('node.textvisible',true);
- Node276_8.a('node.linefeed',false);
- if (false) {
- Node276_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_8.a('node.text') || '-';
- var color=Node276_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_8width,Node276_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_8.a('node.underlinepoints',[Node276_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_8fontSize + 'px "Arial"').width + 6, (Node276_8height - Node276_8fontSize) * 0.5*_ratio.ratioY + Node276_8fontSize + 2 ]);
- Node276_8.a('node.underlinevisible',false);
- Node276_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_8);
- zoomNodeList.push({
- node: Node276_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_9 = new ht.Node();
- var Node276_9textStart, Node276_9textWidth, Node276_9lineStart, Node276_9align = 'left', Node276_9fontSize = 10.66664*_ratio.ratioY,Node276_9width = 43*_ratio.ratioX, Node276_9height = 27*_ratio.ratioY;
- (function () {
- if (Node276_9align === 'left') {
- Node276_9textStart = Node276_9fontSize * 0.2 > 2 ? Node276_9fontSize * 0.2 - 4 : Node276_9fontSize * 0.2 - 9;
- Node276_9textWidth = Node276_9width;
- Node276_9lineStart = 1;
- } else if (Node276_9align === 'right') {
- Node276_9textStart = 0;
- Node276_9textWidth =Node276_9fontSize <= 8 ? Node276_9width + Node276_9fontSize * 0.2 + 6 : Node276_9width - Node276_9fontSize * 0.2;
- Node276_9lineStart = (Node276_9width - (ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_9align === 'center') {
- Node276_9textStart = -3;
- Node276_9textWidth = Node276_9width;
- Node276_9lineStart = Node276_9width - ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_9.setImage(GD.getTextJSON(Node276_9width, Node276_9height, true, false, false, ' '+ Node276_9fontSize + 'px "Arial"'))
- Node276_9.setPosition(568*ratio.ratioX, 554*ratio.ratioY);
- Node276_9.setWidth(Node276_9width);
- Node276_9.setHeight(Node276_9height);
- Node276_9._nodeType = 'text';
- Node276_9._disallowEvert = true;
- Node276_9.setRotation(0*Math.PI/180);
- Node276_9.a('node.width', Node276_9width);
- Node276_9.a('node.height', Node276_9height);
- Node276_9.a('node.rect', [0, 0, Node276_9width, Node276_9height]);
- Node276_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_9.a('node.borderwidth', 0);
- Node276_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_9.a('node.gradient','');
- Node276_9.a('node.gradientcolor','');
- Node276_9.a('node.text','万kwh');
- Node276_9.a('node.textalign','left');
- Node276_9.a('node.textvAlign','middle');
- Node276_9.a('node.textrect', [Node276_9textStart, 0, Node276_9textWidth, Node276_9height]);
- Node276_9.a('node.color','rgba(0,0,0,1)');
- Node276_9.a('node.font',' '+ Node276_9fontSize + 'px "Arial"');
- Node276_9.a('node.textvisible',true);
- Node276_9.a('node.linefeed',false);
- if (false) {
- Node276_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_9.a('node.text') || '万kwh';
- var color=Node276_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_9width,Node276_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_9.a('node.underlinepoints',[Node276_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_9fontSize + 'px "Arial"').width + 6, (Node276_9height - Node276_9fontSize) * 0.5*_ratio.ratioY + Node276_9fontSize + 2 ]);
- Node276_9.a('node.underlinevisible',false);
- Node276_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_9);
- zoomNodeList.push({
- node: Node276_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_10 = new ht.Node();
- var Node276_10textStart, Node276_10textWidth, Node276_10lineStart, Node276_10align = 'left', Node276_10fontSize = 10.66664*_ratio.ratioY,Node276_10width = 72*_ratio.ratioX, Node276_10height = 27*_ratio.ratioY;
- (function () {
- if (Node276_10align === 'left') {
- Node276_10textStart = Node276_10fontSize * 0.2 > 2 ? Node276_10fontSize * 0.2 - 4 : Node276_10fontSize * 0.2 - 9;
- Node276_10textWidth = Node276_10width;
- Node276_10lineStart = 1;
- } else if (Node276_10align === 'right') {
- Node276_10textStart = 0;
- Node276_10textWidth =Node276_10fontSize <= 8 ? Node276_10width + Node276_10fontSize * 0.2 + 6 : Node276_10width - Node276_10fontSize * 0.2;
- Node276_10lineStart = (Node276_10width - (ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_10align === 'center') {
- Node276_10textStart = -3;
- Node276_10textWidth = Node276_10width;
- Node276_10lineStart = Node276_10width - ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_10.setImage(GD.getTextJSON(Node276_10width, Node276_10height, true, false, false, ' '+ Node276_10fontSize + 'px "Arial"'))
- Node276_10.setPosition(483*ratio.ratioX, 580*ratio.ratioY);
- Node276_10.setWidth(Node276_10width);
- Node276_10.setHeight(Node276_10height);
- Node276_10._nodeType = 'text';
- Node276_10._disallowEvert = true;
- Node276_10.setRotation(0*Math.PI/180);
- Node276_10.a('node.width', Node276_10width);
- Node276_10.a('node.height', Node276_10height);
- Node276_10.a('node.rect', [0, 0, Node276_10width, Node276_10height]);
- Node276_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_10.a('node.borderwidth', 0);
- Node276_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_10.a('node.gradient','');
- Node276_10.a('node.gradientcolor','');
- Node276_10.a('node.text','日发电量');
- Node276_10.a('node.textalign','left');
- Node276_10.a('node.textvAlign','middle');
- Node276_10.a('node.textrect', [Node276_10textStart, 0, Node276_10textWidth, Node276_10height]);
- Node276_10.a('node.color','rgba(0,0,0,1)');
- Node276_10.a('node.font',' '+ Node276_10fontSize + 'px "Arial"');
- Node276_10.a('node.textvisible',true);
- Node276_10.a('node.linefeed',false);
- if (false) {
- Node276_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_10.a('node.text') || '日发电量';
- var color=Node276_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_10width,Node276_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_10.a('node.underlinepoints',[Node276_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node276_10fontSize + 'px "Arial"').width + 6, (Node276_10height - Node276_10fontSize) * 0.5*_ratio.ratioY + Node276_10fontSize + 2 ]);
- Node276_10.a('node.underlinevisible',false);
- Node276_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_10);
- zoomNodeList.push({
- node: Node276_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_11 = new ht.Node();
- var Node276_11textStart, Node276_11textWidth, Node276_11lineStart, Node276_11align = 'left', Node276_11fontSize = 10.66664*_ratio.ratioY,Node276_11width = 31*_ratio.ratioX, Node276_11height = 27*_ratio.ratioY;
- (function () {
- if (Node276_11align === 'left') {
- Node276_11textStart = Node276_11fontSize * 0.2 > 2 ? Node276_11fontSize * 0.2 - 4 : Node276_11fontSize * 0.2 - 9;
- Node276_11textWidth = Node276_11width;
- Node276_11lineStart = 1;
- } else if (Node276_11align === 'right') {
- Node276_11textStart = 0;
- Node276_11textWidth =Node276_11fontSize <= 8 ? Node276_11width + Node276_11fontSize * 0.2 + 6 : Node276_11width - Node276_11fontSize * 0.2;
- Node276_11lineStart = (Node276_11width - (ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_11align === 'center') {
- Node276_11textStart = -3;
- Node276_11textWidth = Node276_11width;
- Node276_11lineStart = Node276_11width - ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_11.setImage(GD.getTextJSON(Node276_11width, Node276_11height, true, false, false, ' '+ Node276_11fontSize + 'px "Arial"'))
- Node276_11.setPosition(526*ratio.ratioX, 580*ratio.ratioY);
- Node276_11.setWidth(Node276_11width);
- Node276_11.setHeight(Node276_11height);
- Node276_11._nodeType = 'text';
- Node276_11._disallowEvert = true;
- Node276_11.setRotation(0*Math.PI/180);
- Node276_11.a('node.width', Node276_11width);
- Node276_11.a('node.height', Node276_11height);
- Node276_11.a('node.rect', [0, 0, Node276_11width, Node276_11height]);
- Node276_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node276_11.a('node.borderwidth', 0);
- Node276_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_11.a('node.gradient','');
- Node276_11.a('node.gradientcolor','');
- Node276_11.a('node.text','-');
- Node276_11.a('node.textalign','left');
- Node276_11.a('node.textvAlign','middle');
- Node276_11.a('node.textrect', [Node276_11textStart, 0, Node276_11textWidth, Node276_11height]);
- Node276_11.a('node.color','rgba(192,0,0,1)');
- Node276_11.a('node.font',' '+ Node276_11fontSize + 'px "Arial"');
- Node276_11.a('node.textvisible',true);
- Node276_11.a('node.linefeed',false);
- if (false) {
- Node276_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_11.a('node.text') || '-';
- var color=Node276_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_11width,Node276_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_11.a('node.underlinepoints',[Node276_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_11fontSize + 'px "Arial"').width + 6, (Node276_11height - Node276_11fontSize) * 0.5*_ratio.ratioY + Node276_11fontSize + 2 ]);
- Node276_11.a('node.underlinevisible',false);
- Node276_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_11);
- zoomNodeList.push({
- node: Node276_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_12 = new ht.Node();
- var Node276_12textStart, Node276_12textWidth, Node276_12lineStart, Node276_12align = 'left', Node276_12fontSize = 10.66664*_ratio.ratioY,Node276_12width = 43*_ratio.ratioX, Node276_12height = 27*_ratio.ratioY;
- (function () {
- if (Node276_12align === 'left') {
- Node276_12textStart = Node276_12fontSize * 0.2 > 2 ? Node276_12fontSize * 0.2 - 4 : Node276_12fontSize * 0.2 - 9;
- Node276_12textWidth = Node276_12width;
- Node276_12lineStart = 1;
- } else if (Node276_12align === 'right') {
- Node276_12textStart = 0;
- Node276_12textWidth =Node276_12fontSize <= 8 ? Node276_12width + Node276_12fontSize * 0.2 + 6 : Node276_12width - Node276_12fontSize * 0.2;
- Node276_12lineStart = (Node276_12width - (ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_12align === 'center') {
- Node276_12textStart = -3;
- Node276_12textWidth = Node276_12width;
- Node276_12lineStart = Node276_12width - ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_12.setImage(GD.getTextJSON(Node276_12width, Node276_12height, true, false, false, ' '+ Node276_12fontSize + 'px "Arial"'))
- Node276_12.setPosition(568*ratio.ratioX, 580*ratio.ratioY);
- Node276_12.setWidth(Node276_12width);
- Node276_12.setHeight(Node276_12height);
- Node276_12._nodeType = 'text';
- Node276_12._disallowEvert = true;
- Node276_12.setRotation(0*Math.PI/180);
- Node276_12.a('node.width', Node276_12width);
- Node276_12.a('node.height', Node276_12height);
- Node276_12.a('node.rect', [0, 0, Node276_12width, Node276_12height]);
- Node276_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_12.a('node.borderwidth', 0);
- Node276_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_12.a('node.gradient','');
- Node276_12.a('node.gradientcolor','');
- Node276_12.a('node.text','万kwh');
- Node276_12.a('node.textalign','left');
- Node276_12.a('node.textvAlign','middle');
- Node276_12.a('node.textrect', [Node276_12textStart, 0, Node276_12textWidth, Node276_12height]);
- Node276_12.a('node.color','rgba(0,0,0,1)');
- Node276_12.a('node.font',' '+ Node276_12fontSize + 'px "Arial"');
- Node276_12.a('node.textvisible',true);
- Node276_12.a('node.linefeed',false);
- if (false) {
- Node276_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_12.a('node.text') || '万kwh';
- var color=Node276_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_12width,Node276_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_12.a('node.underlinepoints',[Node276_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_12fontSize + 'px "Arial"').width + 6, (Node276_12height - Node276_12fontSize) * 0.5*_ratio.ratioY + Node276_12fontSize + 2 ]);
- Node276_12.a('node.underlinevisible',false);
- Node276_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_12);
- zoomNodeList.push({
- node: Node276_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_13 = new ht.Node();
- var Node276_13textStart, Node276_13textWidth, Node276_13lineStart, Node276_13align = 'left', Node276_13fontSize = 10.66664*_ratio.ratioY,Node276_13width = 72*_ratio.ratioX, Node276_13height = 27*_ratio.ratioY;
- (function () {
- if (Node276_13align === 'left') {
- Node276_13textStart = Node276_13fontSize * 0.2 > 2 ? Node276_13fontSize * 0.2 - 4 : Node276_13fontSize * 0.2 - 9;
- Node276_13textWidth = Node276_13width;
- Node276_13lineStart = 1;
- } else if (Node276_13align === 'right') {
- Node276_13textStart = 0;
- Node276_13textWidth =Node276_13fontSize <= 8 ? Node276_13width + Node276_13fontSize * 0.2 + 6 : Node276_13width - Node276_13fontSize * 0.2;
- Node276_13lineStart = (Node276_13width - (ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_13align === 'center') {
- Node276_13textStart = -3;
- Node276_13textWidth = Node276_13width;
- Node276_13lineStart = Node276_13width - ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_13.setImage(GD.getTextJSON(Node276_13width, Node276_13height, true, false, false, ' '+ Node276_13fontSize + 'px "Arial"'))
- Node276_13.setPosition(483*ratio.ratioX, 607*ratio.ratioY);
- Node276_13.setWidth(Node276_13width);
- Node276_13.setHeight(Node276_13height);
- Node276_13._nodeType = 'text';
- Node276_13._disallowEvert = true;
- Node276_13.setRotation(0*Math.PI/180);
- Node276_13.a('node.width', Node276_13width);
- Node276_13.a('node.height', Node276_13height);
- Node276_13.a('node.rect', [0, 0, Node276_13width, Node276_13height]);
- Node276_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_13.a('node.borderwidth', 0);
- Node276_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_13.a('node.gradient','');
- Node276_13.a('node.gradientcolor','');
- Node276_13.a('node.text','有功功率');
- Node276_13.a('node.textalign','left');
- Node276_13.a('node.textvAlign','middle');
- Node276_13.a('node.textrect', [Node276_13textStart, 0, Node276_13textWidth, Node276_13height]);
- Node276_13.a('node.color','rgba(0,0,0,1)');
- Node276_13.a('node.font',' '+ Node276_13fontSize + 'px "Arial"');
- Node276_13.a('node.textvisible',true);
- Node276_13.a('node.linefeed',false);
- if (false) {
- Node276_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_13.a('node.text') || '有功功率';
- var color=Node276_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_13width,Node276_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_13.a('node.underlinepoints',[Node276_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node276_13fontSize + 'px "Arial"').width + 6, (Node276_13height - Node276_13fontSize) * 0.5*_ratio.ratioY + Node276_13fontSize + 2 ]);
- Node276_13.a('node.underlinevisible',false);
- Node276_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_13);
- zoomNodeList.push({
- node: Node276_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_14 = new ht.Node();
- var Node276_14textStart, Node276_14textWidth, Node276_14lineStart, Node276_14align = 'left', Node276_14fontSize = 10.66664*_ratio.ratioY,Node276_14width = 22*_ratio.ratioX, Node276_14height = 27*_ratio.ratioY;
- (function () {
- if (Node276_14align === 'left') {
- Node276_14textStart = Node276_14fontSize * 0.2 > 2 ? Node276_14fontSize * 0.2 - 4 : Node276_14fontSize * 0.2 - 9;
- Node276_14textWidth = Node276_14width;
- Node276_14lineStart = 1;
- } else if (Node276_14align === 'right') {
- Node276_14textStart = 0;
- Node276_14textWidth =Node276_14fontSize <= 8 ? Node276_14width + Node276_14fontSize * 0.2 + 6 : Node276_14width - Node276_14fontSize * 0.2;
- Node276_14lineStart = (Node276_14width - (ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_14align === 'center') {
- Node276_14textStart = -3;
- Node276_14textWidth = Node276_14width;
- Node276_14lineStart = Node276_14width - ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_14.setImage(GD.getTextJSON(Node276_14width, Node276_14height, true, false, false, ' '+ Node276_14fontSize + 'px "Arial"'))
- Node276_14.setPosition(521*ratio.ratioX, 607*ratio.ratioY);
- Node276_14.setWidth(Node276_14width);
- Node276_14.setHeight(Node276_14height);
- Node276_14._nodeType = 'text';
- Node276_14._disallowEvert = true;
- Node276_14.setRotation(0*Math.PI/180);
- Node276_14.a('node.width', Node276_14width);
- Node276_14.a('node.height', Node276_14height);
- Node276_14.a('node.rect', [0, 0, Node276_14width, Node276_14height]);
- Node276_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node276_14.a('node.borderwidth', 0);
- Node276_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_14.a('node.gradient','');
- Node276_14.a('node.gradientcolor','');
- Node276_14.a('node.text','-');
- Node276_14.a('node.textalign','left');
- Node276_14.a('node.textvAlign','middle');
- Node276_14.a('node.textrect', [Node276_14textStart, 0, Node276_14textWidth, Node276_14height]);
- Node276_14.a('node.color','rgba(192,0,0,1)');
- Node276_14.a('node.font',' '+ Node276_14fontSize + 'px "Arial"');
- Node276_14.a('node.textvisible',true);
- Node276_14.a('node.linefeed',false);
- if (false) {
- Node276_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_14.a('node.text') || '-';
- var color=Node276_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_14width,Node276_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_14.a('node.underlinepoints',[Node276_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node276_14fontSize + 'px "Arial"').width + 6, (Node276_14height - Node276_14fontSize) * 0.5*_ratio.ratioY + Node276_14fontSize + 2 ]);
- Node276_14.a('node.underlinevisible',false);
- Node276_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_14);
- zoomNodeList.push({
- node: Node276_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node276_15 = new ht.Node();
- var Node276_15textStart, Node276_15textWidth, Node276_15lineStart, Node276_15align = 'left', Node276_15fontSize = 10.66664*_ratio.ratioY,Node276_15width = 43*_ratio.ratioX, Node276_15height = 27*_ratio.ratioY;
- (function () {
- if (Node276_15align === 'left') {
- Node276_15textStart = Node276_15fontSize * 0.2 > 2 ? Node276_15fontSize * 0.2 - 4 : Node276_15fontSize * 0.2 - 9;
- Node276_15textWidth = Node276_15width;
- Node276_15lineStart = 1;
- } else if (Node276_15align === 'right') {
- Node276_15textStart = 0;
- Node276_15textWidth =Node276_15fontSize <= 8 ? Node276_15width + Node276_15fontSize * 0.2 + 6 : Node276_15width - Node276_15fontSize * 0.2;
- Node276_15lineStart = (Node276_15width - (ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node276_15align === 'center') {
- Node276_15textStart = -3;
- Node276_15textWidth = Node276_15width;
- Node276_15lineStart = Node276_15width - ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node276_15.setImage(GD.getTextJSON(Node276_15width, Node276_15height, true, false, false, ' '+ Node276_15fontSize + 'px "Arial"'))
- Node276_15.setPosition(568*ratio.ratioX, 607*ratio.ratioY);
- Node276_15.setWidth(Node276_15width);
- Node276_15.setHeight(Node276_15height);
- Node276_15._nodeType = 'text';
- Node276_15._disallowEvert = true;
- Node276_15.setRotation(0*Math.PI/180);
- Node276_15.a('node.width', Node276_15width);
- Node276_15.a('node.height', Node276_15height);
- Node276_15.a('node.rect', [0, 0, Node276_15width, Node276_15height]);
- Node276_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node276_15.a('node.borderwidth', 0);
- Node276_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node276_15.a('node.gradient','');
- Node276_15.a('node.gradientcolor','');
- Node276_15.a('node.text','万kwh');
- Node276_15.a('node.textalign','left');
- Node276_15.a('node.textvAlign','middle');
- Node276_15.a('node.textrect', [Node276_15textStart, 0, Node276_15textWidth, Node276_15height]);
- Node276_15.a('node.color','rgba(0,0,0,1)');
- Node276_15.a('node.font',' '+ Node276_15fontSize + 'px "Arial"');
- Node276_15.a('node.textvisible',true);
- Node276_15.a('node.linefeed',false);
- if (false) {
- Node276_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node276_15.a('node.text') || '万kwh';
- var color=Node276_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node276_15width,Node276_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node276_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node276_15.a('node.underlinepoints',[Node276_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node276_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node276_15fontSize + 'px "Arial"').width + 6, (Node276_15height - Node276_15fontSize) * 0.5*_ratio.ratioY + Node276_15fontSize + 2 ]);
- Node276_15.a('node.underlinevisible',false);
- Node276_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node276_15);
- zoomNodeList.push({
- node: Node276_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node277_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node277_0 = new ht.Node();
- Node277_0.setPosition(363*ratio.ratioX, 480*ratio.ratioY);
- Node277_0.setSize(146*ratioX, 141*ratioY);
- Node277_0.setImage('imgimage//img//map_name_03.png');
- Node277_0.setRotation(0*Math.PI/180);
- Node277_0._zoomBy = 'Default';
- Node277_0._nodeType = 'image';
- Node277_0._disallowEvert = true;
- dataModel.add(Node277_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_1 = new ht.Node();
- var Node277_1textStart, Node277_1textWidth, Node277_1lineStart, Node277_1align = 'left', Node277_1fontSize = 10.66664*_ratio.ratioY,Node277_1width = 72*_ratio.ratioX, Node277_1height = 27*_ratio.ratioY;
- (function () {
- if (Node277_1align === 'left') {
- Node277_1textStart = Node277_1fontSize * 0.2 > 2 ? Node277_1fontSize * 0.2 - 4 : Node277_1fontSize * 0.2 - 9;
- Node277_1textWidth = Node277_1width;
- Node277_1lineStart = 1;
- } else if (Node277_1align === 'right') {
- Node277_1textStart = 0;
- Node277_1textWidth =Node277_1fontSize <= 8 ? Node277_1width + Node277_1fontSize * 0.2 + 6 : Node277_1width - Node277_1fontSize * 0.2;
- Node277_1lineStart = (Node277_1width - (ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_1align === 'center') {
- Node277_1textStart = -3;
- Node277_1textWidth = Node277_1width;
- Node277_1lineStart = Node277_1width - ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_1.setImage(GD.getTextJSON(Node277_1width, Node277_1height, true, false, false, ' '+ Node277_1fontSize + 'px "Arial"'))
- Node277_1.setPosition(333*ratio.ratioX, 433*ratio.ratioY);
- Node277_1.setWidth(Node277_1width);
- Node277_1.setHeight(Node277_1height);
- Node277_1._nodeType = 'text';
- Node277_1._disallowEvert = true;
- Node277_1.setRotation(0*Math.PI/180);
- Node277_1.a('node.width', Node277_1width);
- Node277_1.a('node.height', Node277_1height);
- Node277_1.a('node.rect', [0, 0, Node277_1width, Node277_1height]);
- Node277_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_1.a('node.borderwidth', 0);
- Node277_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_1.a('node.gradient','');
- Node277_1.a('node.gradientcolor','');
- Node277_1.a('node.text','风机台数');
- Node277_1.a('node.textalign','left');
- Node277_1.a('node.textvAlign','middle');
- Node277_1.a('node.textrect', [Node277_1textStart, 0, Node277_1textWidth, Node277_1height]);
- Node277_1.a('node.color','rgba(0,0,0,1)');
- Node277_1.a('node.font',' '+ Node277_1fontSize + 'px "Arial"');
- Node277_1.a('node.textvisible',true);
- Node277_1.a('node.linefeed',false);
- if (false) {
- Node277_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_1.a('node.text') || '风机台数';
- var color=Node277_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_1width,Node277_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_1.a('node.underlinepoints',[Node277_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node277_1fontSize + 'px "Arial"').width + 6, (Node277_1height - Node277_1fontSize) * 0.5*_ratio.ratioY + Node277_1fontSize + 2 ]);
- Node277_1.a('node.underlinevisible',false);
- Node277_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_1);
- zoomNodeList.push({
- node: Node277_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_2 = new ht.Node();
- var Node277_2textStart, Node277_2textWidth, Node277_2lineStart, Node277_2align = 'left', Node277_2fontSize = 10.66664*_ratio.ratioY,Node277_2width = 22*_ratio.ratioX, Node277_2height = 27*_ratio.ratioY;
- (function () {
- if (Node277_2align === 'left') {
- Node277_2textStart = Node277_2fontSize * 0.2 > 2 ? Node277_2fontSize * 0.2 - 4 : Node277_2fontSize * 0.2 - 9;
- Node277_2textWidth = Node277_2width;
- Node277_2lineStart = 1;
- } else if (Node277_2align === 'right') {
- Node277_2textStart = 0;
- Node277_2textWidth =Node277_2fontSize <= 8 ? Node277_2width + Node277_2fontSize * 0.2 + 6 : Node277_2width - Node277_2fontSize * 0.2;
- Node277_2lineStart = (Node277_2width - (ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_2align === 'center') {
- Node277_2textStart = -3;
- Node277_2textWidth = Node277_2width;
- Node277_2lineStart = Node277_2width - ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_2.setImage(GD.getTextJSON(Node277_2width, Node277_2height, true, false, false, ' '+ Node277_2fontSize + 'px "Arial"'))
- Node277_2.setPosition(371*ratio.ratioX, 433*ratio.ratioY);
- Node277_2.setWidth(Node277_2width);
- Node277_2.setHeight(Node277_2height);
- Node277_2._nodeType = 'text';
- Node277_2._disallowEvert = true;
- Node277_2.setRotation(0*Math.PI/180);
- Node277_2.a('node.width', Node277_2width);
- Node277_2.a('node.height', Node277_2height);
- Node277_2.a('node.rect', [0, 0, Node277_2width, Node277_2height]);
- Node277_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node277_2.a('node.borderwidth', 0);
- Node277_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_2.a('node.gradient','');
- Node277_2.a('node.gradientcolor','');
- Node277_2.a('node.text','99');
- Node277_2.a('node.textalign','left');
- Node277_2.a('node.textvAlign','middle');
- Node277_2.a('node.textrect', [Node277_2textStart, 0, Node277_2textWidth, Node277_2height]);
- Node277_2.a('node.color','rgba(192,0,0,1)');
- Node277_2.a('node.font',' '+ Node277_2fontSize + 'px "Arial"');
- Node277_2.a('node.textvisible',true);
- Node277_2.a('node.linefeed',false);
- if (false) {
- Node277_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_2.a('node.text') || '99';
- var color=Node277_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_2width,Node277_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_2.a('node.underlinepoints',[Node277_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node277_2fontSize + 'px "Arial"').width + 6, (Node277_2height - Node277_2fontSize) * 0.5*_ratio.ratioY + Node277_2fontSize + 2 ]);
- Node277_2.a('node.underlinevisible',false);
- Node277_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_2);
- zoomNodeList.push({
- node: Node277_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_3 = new ht.Node();
- var Node277_3textStart, Node277_3textWidth, Node277_3lineStart, Node277_3align = 'left', Node277_3fontSize = 10.66664*_ratio.ratioY,Node277_3width = 43*_ratio.ratioX, Node277_3height = 27*_ratio.ratioY;
- (function () {
- if (Node277_3align === 'left') {
- Node277_3textStart = Node277_3fontSize * 0.2 > 2 ? Node277_3fontSize * 0.2 - 4 : Node277_3fontSize * 0.2 - 9;
- Node277_3textWidth = Node277_3width;
- Node277_3lineStart = 1;
- } else if (Node277_3align === 'right') {
- Node277_3textStart = 0;
- Node277_3textWidth =Node277_3fontSize <= 8 ? Node277_3width + Node277_3fontSize * 0.2 + 6 : Node277_3width - Node277_3fontSize * 0.2;
- Node277_3lineStart = (Node277_3width - (ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_3align === 'center') {
- Node277_3textStart = -3;
- Node277_3textWidth = Node277_3width;
- Node277_3lineStart = Node277_3width - ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_3.setImage(GD.getTextJSON(Node277_3width, Node277_3height, true, false, false, ' '+ Node277_3fontSize + 'px "Arial"'))
- Node277_3.setPosition(418*ratio.ratioX, 433*ratio.ratioY);
- Node277_3.setWidth(Node277_3width);
- Node277_3.setHeight(Node277_3height);
- Node277_3._nodeType = 'text';
- Node277_3._disallowEvert = true;
- Node277_3.setRotation(0*Math.PI/180);
- Node277_3.a('node.width', Node277_3width);
- Node277_3.a('node.height', Node277_3height);
- Node277_3.a('node.rect', [0, 0, Node277_3width, Node277_3height]);
- Node277_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_3.a('node.borderwidth', 0);
- Node277_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_3.a('node.gradient','');
- Node277_3.a('node.gradientcolor','');
- Node277_3.a('node.text','万kwh');
- Node277_3.a('node.textalign','left');
- Node277_3.a('node.textvAlign','middle');
- Node277_3.a('node.textrect', [Node277_3textStart, 0, Node277_3textWidth, Node277_3height]);
- Node277_3.a('node.color','rgba(0,0,0,1)');
- Node277_3.a('node.font',' '+ Node277_3fontSize + 'px "Arial"');
- Node277_3.a('node.textvisible',true);
- Node277_3.a('node.linefeed',false);
- if (false) {
- Node277_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_3.a('node.text') || '万kwh';
- var color=Node277_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_3width,Node277_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_3.a('node.underlinepoints',[Node277_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_3fontSize + 'px "Arial"').width + 6, (Node277_3height - Node277_3fontSize) * 0.5*_ratio.ratioY + Node277_3fontSize + 2 ]);
- Node277_3.a('node.underlinevisible',false);
- Node277_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_3);
- zoomNodeList.push({
- node: Node277_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_4 = new ht.Node();
- var Node277_4textStart, Node277_4textWidth, Node277_4lineStart, Node277_4align = 'left', Node277_4fontSize = 10.66664*_ratio.ratioY,Node277_4width = 72*_ratio.ratioX, Node277_4height = 27*_ratio.ratioY;
- (function () {
- if (Node277_4align === 'left') {
- Node277_4textStart = Node277_4fontSize * 0.2 > 2 ? Node277_4fontSize * 0.2 - 4 : Node277_4fontSize * 0.2 - 9;
- Node277_4textWidth = Node277_4width;
- Node277_4lineStart = 1;
- } else if (Node277_4align === 'right') {
- Node277_4textStart = 0;
- Node277_4textWidth =Node277_4fontSize <= 8 ? Node277_4width + Node277_4fontSize * 0.2 + 6 : Node277_4width - Node277_4fontSize * 0.2;
- Node277_4lineStart = (Node277_4width - (ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_4align === 'center') {
- Node277_4textStart = -3;
- Node277_4textWidth = Node277_4width;
- Node277_4lineStart = Node277_4width - ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_4.setImage(GD.getTextJSON(Node277_4width, Node277_4height, true, false, false, ' '+ Node277_4fontSize + 'px "Arial"'))
- Node277_4.setPosition(333*ratio.ratioX, 459*ratio.ratioY);
- Node277_4.setWidth(Node277_4width);
- Node277_4.setHeight(Node277_4height);
- Node277_4._nodeType = 'text';
- Node277_4._disallowEvert = true;
- Node277_4.setRotation(0*Math.PI/180);
- Node277_4.a('node.width', Node277_4width);
- Node277_4.a('node.height', Node277_4height);
- Node277_4.a('node.rect', [0, 0, Node277_4width, Node277_4height]);
- Node277_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_4.a('node.borderwidth', 0);
- Node277_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_4.a('node.gradient','');
- Node277_4.a('node.gradientcolor','');
- Node277_4.a('node.text','装机容量');
- Node277_4.a('node.textalign','left');
- Node277_4.a('node.textvAlign','middle');
- Node277_4.a('node.textrect', [Node277_4textStart, 0, Node277_4textWidth, Node277_4height]);
- Node277_4.a('node.color','rgba(0,0,0,1)');
- Node277_4.a('node.font',' '+ Node277_4fontSize + 'px "Arial"');
- Node277_4.a('node.textvisible',true);
- Node277_4.a('node.linefeed',false);
- if (false) {
- Node277_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_4.a('node.text') || '装机容量';
- var color=Node277_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_4width,Node277_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_4.a('node.underlinepoints',[Node277_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node277_4fontSize + 'px "Arial"').width + 6, (Node277_4height - Node277_4fontSize) * 0.5*_ratio.ratioY + Node277_4fontSize + 2 ]);
- Node277_4.a('node.underlinevisible',false);
- Node277_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_4);
- zoomNodeList.push({
- node: Node277_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_5 = new ht.Node();
- var Node277_5textStart, Node277_5textWidth, Node277_5lineStart, Node277_5align = 'left', Node277_5fontSize = 10.66664*_ratio.ratioY,Node277_5width = 31*_ratio.ratioX, Node277_5height = 27*_ratio.ratioY;
- (function () {
- if (Node277_5align === 'left') {
- Node277_5textStart = Node277_5fontSize * 0.2 > 2 ? Node277_5fontSize * 0.2 - 4 : Node277_5fontSize * 0.2 - 9;
- Node277_5textWidth = Node277_5width;
- Node277_5lineStart = 1;
- } else if (Node277_5align === 'right') {
- Node277_5textStart = 0;
- Node277_5textWidth =Node277_5fontSize <= 8 ? Node277_5width + Node277_5fontSize * 0.2 + 6 : Node277_5width - Node277_5fontSize * 0.2;
- Node277_5lineStart = (Node277_5width - (ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_5align === 'center') {
- Node277_5textStart = -3;
- Node277_5textWidth = Node277_5width;
- Node277_5lineStart = Node277_5width - ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_5.setImage(GD.getTextJSON(Node277_5width, Node277_5height, true, false, false, ' '+ Node277_5fontSize + 'px "Arial"'))
- Node277_5.setPosition(376*ratio.ratioX, 459*ratio.ratioY);
- Node277_5.setWidth(Node277_5width);
- Node277_5.setHeight(Node277_5height);
- Node277_5._nodeType = 'text';
- Node277_5._disallowEvert = true;
- Node277_5.setRotation(0*Math.PI/180);
- Node277_5.a('node.width', Node277_5width);
- Node277_5.a('node.height', Node277_5height);
- Node277_5.a('node.rect', [0, 0, Node277_5width, Node277_5height]);
- Node277_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node277_5.a('node.borderwidth', 0);
- Node277_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_5.a('node.gradient','');
- Node277_5.a('node.gradientcolor','');
- Node277_5.a('node.text','14.85');
- Node277_5.a('node.textalign','left');
- Node277_5.a('node.textvAlign','middle');
- Node277_5.a('node.textrect', [Node277_5textStart, 0, Node277_5textWidth, Node277_5height]);
- Node277_5.a('node.color','rgba(192,0,0,1)');
- Node277_5.a('node.font',' '+ Node277_5fontSize + 'px "Arial"');
- Node277_5.a('node.textvisible',true);
- Node277_5.a('node.linefeed',false);
- if (false) {
- Node277_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_5.a('node.text') || '14.85';
- var color=Node277_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_5width,Node277_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_5.a('node.underlinepoints',[Node277_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node277_5fontSize + 'px "Arial"').width + 6, (Node277_5height - Node277_5fontSize) * 0.5*_ratio.ratioY + Node277_5fontSize + 2 ]);
- Node277_5.a('node.underlinevisible',false);
- Node277_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_5);
- zoomNodeList.push({
- node: Node277_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_6 = new ht.Node();
- var Node277_6textStart, Node277_6textWidth, Node277_6lineStart, Node277_6align = 'left', Node277_6fontSize = 10.66664*_ratio.ratioY,Node277_6width = 43*_ratio.ratioX, Node277_6height = 27*_ratio.ratioY;
- (function () {
- if (Node277_6align === 'left') {
- Node277_6textStart = Node277_6fontSize * 0.2 > 2 ? Node277_6fontSize * 0.2 - 4 : Node277_6fontSize * 0.2 - 9;
- Node277_6textWidth = Node277_6width;
- Node277_6lineStart = 1;
- } else if (Node277_6align === 'right') {
- Node277_6textStart = 0;
- Node277_6textWidth =Node277_6fontSize <= 8 ? Node277_6width + Node277_6fontSize * 0.2 + 6 : Node277_6width - Node277_6fontSize * 0.2;
- Node277_6lineStart = (Node277_6width - (ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_6align === 'center') {
- Node277_6textStart = -3;
- Node277_6textWidth = Node277_6width;
- Node277_6lineStart = Node277_6width - ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_6.setImage(GD.getTextJSON(Node277_6width, Node277_6height, true, false, false, ' '+ Node277_6fontSize + 'px "Arial"'))
- Node277_6.setPosition(418*ratio.ratioX, 459*ratio.ratioY);
- Node277_6.setWidth(Node277_6width);
- Node277_6.setHeight(Node277_6height);
- Node277_6._nodeType = 'text';
- Node277_6._disallowEvert = true;
- Node277_6.setRotation(0*Math.PI/180);
- Node277_6.a('node.width', Node277_6width);
- Node277_6.a('node.height', Node277_6height);
- Node277_6.a('node.rect', [0, 0, Node277_6width, Node277_6height]);
- Node277_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_6.a('node.borderwidth', 0);
- Node277_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_6.a('node.gradient','');
- Node277_6.a('node.gradientcolor','');
- Node277_6.a('node.text','万kwh');
- Node277_6.a('node.textalign','left');
- Node277_6.a('node.textvAlign','middle');
- Node277_6.a('node.textrect', [Node277_6textStart, 0, Node277_6textWidth, Node277_6height]);
- Node277_6.a('node.color','rgba(0,0,0,1)');
- Node277_6.a('node.font',' '+ Node277_6fontSize + 'px "Arial"');
- Node277_6.a('node.textvisible',true);
- Node277_6.a('node.linefeed',false);
- if (false) {
- Node277_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_6.a('node.text') || '万kwh';
- var color=Node277_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_6width,Node277_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_6.a('node.underlinepoints',[Node277_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_6fontSize + 'px "Arial"').width + 6, (Node277_6height - Node277_6fontSize) * 0.5*_ratio.ratioY + Node277_6fontSize + 2 ]);
- Node277_6.a('node.underlinevisible',false);
- Node277_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_6);
- zoomNodeList.push({
- node: Node277_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_7 = new ht.Node();
- var Node277_7textStart, Node277_7textWidth, Node277_7lineStart, Node277_7align = 'left', Node277_7fontSize = 10.66664*_ratio.ratioY,Node277_7width = 72*_ratio.ratioX, Node277_7height = 27*_ratio.ratioY;
- (function () {
- if (Node277_7align === 'left') {
- Node277_7textStart = Node277_7fontSize * 0.2 > 2 ? Node277_7fontSize * 0.2 - 4 : Node277_7fontSize * 0.2 - 9;
- Node277_7textWidth = Node277_7width;
- Node277_7lineStart = 1;
- } else if (Node277_7align === 'right') {
- Node277_7textStart = 0;
- Node277_7textWidth =Node277_7fontSize <= 8 ? Node277_7width + Node277_7fontSize * 0.2 + 6 : Node277_7width - Node277_7fontSize * 0.2;
- Node277_7lineStart = (Node277_7width - (ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_7align === 'center') {
- Node277_7textStart = -3;
- Node277_7textWidth = Node277_7width;
- Node277_7lineStart = Node277_7width - ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_7.setImage(GD.getTextJSON(Node277_7width, Node277_7height, true, false, false, ' '+ Node277_7fontSize + 'px "Arial"'))
- Node277_7.setPosition(333*ratio.ratioX, 484*ratio.ratioY);
- Node277_7.setWidth(Node277_7width);
- Node277_7.setHeight(Node277_7height);
- Node277_7._nodeType = 'text';
- Node277_7._disallowEvert = true;
- Node277_7.setRotation(0*Math.PI/180);
- Node277_7.a('node.width', Node277_7width);
- Node277_7.a('node.height', Node277_7height);
- Node277_7.a('node.rect', [0, 0, Node277_7width, Node277_7height]);
- Node277_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_7.a('node.borderwidth', 0);
- Node277_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_7.a('node.gradient','');
- Node277_7.a('node.gradientcolor','');
- Node277_7.a('node.text','平均风速');
- Node277_7.a('node.textalign','left');
- Node277_7.a('node.textvAlign','middle');
- Node277_7.a('node.textrect', [Node277_7textStart, 0, Node277_7textWidth, Node277_7height]);
- Node277_7.a('node.color','rgba(0,0,0,1)');
- Node277_7.a('node.font',' '+ Node277_7fontSize + 'px "Arial"');
- Node277_7.a('node.textvisible',true);
- Node277_7.a('node.linefeed',false);
- if (false) {
- Node277_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_7.a('node.text') || '平均风速';
- var color=Node277_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_7width,Node277_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_7.a('node.underlinepoints',[Node277_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node277_7fontSize + 'px "Arial"').width + 6, (Node277_7height - Node277_7fontSize) * 0.5*_ratio.ratioY + Node277_7fontSize + 2 ]);
- Node277_7.a('node.underlinevisible',false);
- Node277_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_7);
- zoomNodeList.push({
- node: Node277_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_8 = new ht.Node();
- var Node277_8textStart, Node277_8textWidth, Node277_8lineStart, Node277_8align = 'left', Node277_8fontSize = 10.66664*_ratio.ratioY,Node277_8width = 22*_ratio.ratioX, Node277_8height = 27*_ratio.ratioY;
- (function () {
- if (Node277_8align === 'left') {
- Node277_8textStart = Node277_8fontSize * 0.2 > 2 ? Node277_8fontSize * 0.2 - 4 : Node277_8fontSize * 0.2 - 9;
- Node277_8textWidth = Node277_8width;
- Node277_8lineStart = 1;
- } else if (Node277_8align === 'right') {
- Node277_8textStart = 0;
- Node277_8textWidth =Node277_8fontSize <= 8 ? Node277_8width + Node277_8fontSize * 0.2 + 6 : Node277_8width - Node277_8fontSize * 0.2;
- Node277_8lineStart = (Node277_8width - (ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_8align === 'center') {
- Node277_8textStart = -3;
- Node277_8textWidth = Node277_8width;
- Node277_8lineStart = Node277_8width - ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_8.setImage(GD.getTextJSON(Node277_8width, Node277_8height, true, false, false, ' '+ Node277_8fontSize + 'px "Arial"'))
- Node277_8.setPosition(371*ratio.ratioX, 484*ratio.ratioY);
- Node277_8.setWidth(Node277_8width);
- Node277_8.setHeight(Node277_8height);
- Node277_8._nodeType = 'text';
- Node277_8._disallowEvert = true;
- Node277_8.setRotation(0*Math.PI/180);
- Node277_8.a('node.width', Node277_8width);
- Node277_8.a('node.height', Node277_8height);
- Node277_8.a('node.rect', [0, 0, Node277_8width, Node277_8height]);
- Node277_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node277_8.a('node.borderwidth', 0);
- Node277_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_8.a('node.gradient','');
- Node277_8.a('node.gradientcolor','');
- Node277_8.a('node.text','-');
- Node277_8.a('node.textalign','left');
- Node277_8.a('node.textvAlign','middle');
- Node277_8.a('node.textrect', [Node277_8textStart, 0, Node277_8textWidth, Node277_8height]);
- Node277_8.a('node.color','rgba(192,0,0,1)');
- Node277_8.a('node.font',' '+ Node277_8fontSize + 'px "Arial"');
- Node277_8.a('node.textvisible',true);
- Node277_8.a('node.linefeed',false);
- if (false) {
- Node277_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_8.a('node.text') || '-';
- var color=Node277_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_8width,Node277_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_8.a('node.underlinepoints',[Node277_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_8fontSize + 'px "Arial"').width + 6, (Node277_8height - Node277_8fontSize) * 0.5*_ratio.ratioY + Node277_8fontSize + 2 ]);
- Node277_8.a('node.underlinevisible',false);
- Node277_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_8);
- zoomNodeList.push({
- node: Node277_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_9 = new ht.Node();
- var Node277_9textStart, Node277_9textWidth, Node277_9lineStart, Node277_9align = 'left', Node277_9fontSize = 10.66664*_ratio.ratioY,Node277_9width = 43*_ratio.ratioX, Node277_9height = 27*_ratio.ratioY;
- (function () {
- if (Node277_9align === 'left') {
- Node277_9textStart = Node277_9fontSize * 0.2 > 2 ? Node277_9fontSize * 0.2 - 4 : Node277_9fontSize * 0.2 - 9;
- Node277_9textWidth = Node277_9width;
- Node277_9lineStart = 1;
- } else if (Node277_9align === 'right') {
- Node277_9textStart = 0;
- Node277_9textWidth =Node277_9fontSize <= 8 ? Node277_9width + Node277_9fontSize * 0.2 + 6 : Node277_9width - Node277_9fontSize * 0.2;
- Node277_9lineStart = (Node277_9width - (ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_9align === 'center') {
- Node277_9textStart = -3;
- Node277_9textWidth = Node277_9width;
- Node277_9lineStart = Node277_9width - ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_9.setImage(GD.getTextJSON(Node277_9width, Node277_9height, true, false, false, ' '+ Node277_9fontSize + 'px "Arial"'))
- Node277_9.setPosition(418*ratio.ratioX, 484*ratio.ratioY);
- Node277_9.setWidth(Node277_9width);
- Node277_9.setHeight(Node277_9height);
- Node277_9._nodeType = 'text';
- Node277_9._disallowEvert = true;
- Node277_9.setRotation(0*Math.PI/180);
- Node277_9.a('node.width', Node277_9width);
- Node277_9.a('node.height', Node277_9height);
- Node277_9.a('node.rect', [0, 0, Node277_9width, Node277_9height]);
- Node277_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_9.a('node.borderwidth', 0);
- Node277_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_9.a('node.gradient','');
- Node277_9.a('node.gradientcolor','');
- Node277_9.a('node.text','万kwh');
- Node277_9.a('node.textalign','left');
- Node277_9.a('node.textvAlign','middle');
- Node277_9.a('node.textrect', [Node277_9textStart, 0, Node277_9textWidth, Node277_9height]);
- Node277_9.a('node.color','rgba(0,0,0,1)');
- Node277_9.a('node.font',' '+ Node277_9fontSize + 'px "Arial"');
- Node277_9.a('node.textvisible',true);
- Node277_9.a('node.linefeed',false);
- if (false) {
- Node277_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_9.a('node.text') || '万kwh';
- var color=Node277_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_9width,Node277_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_9.a('node.underlinepoints',[Node277_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_9fontSize + 'px "Arial"').width + 6, (Node277_9height - Node277_9fontSize) * 0.5*_ratio.ratioY + Node277_9fontSize + 2 ]);
- Node277_9.a('node.underlinevisible',false);
- Node277_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_9);
- zoomNodeList.push({
- node: Node277_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_10 = new ht.Node();
- var Node277_10textStart, Node277_10textWidth, Node277_10lineStart, Node277_10align = 'left', Node277_10fontSize = 10.66664*_ratio.ratioY,Node277_10width = 72*_ratio.ratioX, Node277_10height = 27*_ratio.ratioY;
- (function () {
- if (Node277_10align === 'left') {
- Node277_10textStart = Node277_10fontSize * 0.2 > 2 ? Node277_10fontSize * 0.2 - 4 : Node277_10fontSize * 0.2 - 9;
- Node277_10textWidth = Node277_10width;
- Node277_10lineStart = 1;
- } else if (Node277_10align === 'right') {
- Node277_10textStart = 0;
- Node277_10textWidth =Node277_10fontSize <= 8 ? Node277_10width + Node277_10fontSize * 0.2 + 6 : Node277_10width - Node277_10fontSize * 0.2;
- Node277_10lineStart = (Node277_10width - (ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_10align === 'center') {
- Node277_10textStart = -3;
- Node277_10textWidth = Node277_10width;
- Node277_10lineStart = Node277_10width - ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_10.setImage(GD.getTextJSON(Node277_10width, Node277_10height, true, false, false, ' '+ Node277_10fontSize + 'px "Arial"'))
- Node277_10.setPosition(333*ratio.ratioX, 510*ratio.ratioY);
- Node277_10.setWidth(Node277_10width);
- Node277_10.setHeight(Node277_10height);
- Node277_10._nodeType = 'text';
- Node277_10._disallowEvert = true;
- Node277_10.setRotation(0*Math.PI/180);
- Node277_10.a('node.width', Node277_10width);
- Node277_10.a('node.height', Node277_10height);
- Node277_10.a('node.rect', [0, 0, Node277_10width, Node277_10height]);
- Node277_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_10.a('node.borderwidth', 0);
- Node277_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_10.a('node.gradient','');
- Node277_10.a('node.gradientcolor','');
- Node277_10.a('node.text','日发电量');
- Node277_10.a('node.textalign','left');
- Node277_10.a('node.textvAlign','middle');
- Node277_10.a('node.textrect', [Node277_10textStart, 0, Node277_10textWidth, Node277_10height]);
- Node277_10.a('node.color','rgba(0,0,0,1)');
- Node277_10.a('node.font',' '+ Node277_10fontSize + 'px "Arial"');
- Node277_10.a('node.textvisible',true);
- Node277_10.a('node.linefeed',false);
- if (false) {
- Node277_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_10.a('node.text') || '日发电量';
- var color=Node277_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_10width,Node277_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_10.a('node.underlinepoints',[Node277_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node277_10fontSize + 'px "Arial"').width + 6, (Node277_10height - Node277_10fontSize) * 0.5*_ratio.ratioY + Node277_10fontSize + 2 ]);
- Node277_10.a('node.underlinevisible',false);
- Node277_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_10);
- zoomNodeList.push({
- node: Node277_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_11 = new ht.Node();
- var Node277_11textStart, Node277_11textWidth, Node277_11lineStart, Node277_11align = 'left', Node277_11fontSize = 10.66664*_ratio.ratioY,Node277_11width = 31*_ratio.ratioX, Node277_11height = 27*_ratio.ratioY;
- (function () {
- if (Node277_11align === 'left') {
- Node277_11textStart = Node277_11fontSize * 0.2 > 2 ? Node277_11fontSize * 0.2 - 4 : Node277_11fontSize * 0.2 - 9;
- Node277_11textWidth = Node277_11width;
- Node277_11lineStart = 1;
- } else if (Node277_11align === 'right') {
- Node277_11textStart = 0;
- Node277_11textWidth =Node277_11fontSize <= 8 ? Node277_11width + Node277_11fontSize * 0.2 + 6 : Node277_11width - Node277_11fontSize * 0.2;
- Node277_11lineStart = (Node277_11width - (ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_11align === 'center') {
- Node277_11textStart = -3;
- Node277_11textWidth = Node277_11width;
- Node277_11lineStart = Node277_11width - ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_11.setImage(GD.getTextJSON(Node277_11width, Node277_11height, true, false, false, ' '+ Node277_11fontSize + 'px "Arial"'))
- Node277_11.setPosition(376*ratio.ratioX, 510*ratio.ratioY);
- Node277_11.setWidth(Node277_11width);
- Node277_11.setHeight(Node277_11height);
- Node277_11._nodeType = 'text';
- Node277_11._disallowEvert = true;
- Node277_11.setRotation(0*Math.PI/180);
- Node277_11.a('node.width', Node277_11width);
- Node277_11.a('node.height', Node277_11height);
- Node277_11.a('node.rect', [0, 0, Node277_11width, Node277_11height]);
- Node277_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node277_11.a('node.borderwidth', 0);
- Node277_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_11.a('node.gradient','');
- Node277_11.a('node.gradientcolor','');
- Node277_11.a('node.text','-');
- Node277_11.a('node.textalign','left');
- Node277_11.a('node.textvAlign','middle');
- Node277_11.a('node.textrect', [Node277_11textStart, 0, Node277_11textWidth, Node277_11height]);
- Node277_11.a('node.color','rgba(192,0,0,1)');
- Node277_11.a('node.font',' '+ Node277_11fontSize + 'px "Arial"');
- Node277_11.a('node.textvisible',true);
- Node277_11.a('node.linefeed',false);
- if (false) {
- Node277_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_11.a('node.text') || '-';
- var color=Node277_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_11width,Node277_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_11.a('node.underlinepoints',[Node277_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_11fontSize + 'px "Arial"').width + 6, (Node277_11height - Node277_11fontSize) * 0.5*_ratio.ratioY + Node277_11fontSize + 2 ]);
- Node277_11.a('node.underlinevisible',false);
- Node277_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_11);
- zoomNodeList.push({
- node: Node277_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_12 = new ht.Node();
- var Node277_12textStart, Node277_12textWidth, Node277_12lineStart, Node277_12align = 'left', Node277_12fontSize = 10.66664*_ratio.ratioY,Node277_12width = 43*_ratio.ratioX, Node277_12height = 27*_ratio.ratioY;
- (function () {
- if (Node277_12align === 'left') {
- Node277_12textStart = Node277_12fontSize * 0.2 > 2 ? Node277_12fontSize * 0.2 - 4 : Node277_12fontSize * 0.2 - 9;
- Node277_12textWidth = Node277_12width;
- Node277_12lineStart = 1;
- } else if (Node277_12align === 'right') {
- Node277_12textStart = 0;
- Node277_12textWidth =Node277_12fontSize <= 8 ? Node277_12width + Node277_12fontSize * 0.2 + 6 : Node277_12width - Node277_12fontSize * 0.2;
- Node277_12lineStart = (Node277_12width - (ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_12align === 'center') {
- Node277_12textStart = -3;
- Node277_12textWidth = Node277_12width;
- Node277_12lineStart = Node277_12width - ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_12.setImage(GD.getTextJSON(Node277_12width, Node277_12height, true, false, false, ' '+ Node277_12fontSize + 'px "Arial"'))
- Node277_12.setPosition(418*ratio.ratioX, 510*ratio.ratioY);
- Node277_12.setWidth(Node277_12width);
- Node277_12.setHeight(Node277_12height);
- Node277_12._nodeType = 'text';
- Node277_12._disallowEvert = true;
- Node277_12.setRotation(0*Math.PI/180);
- Node277_12.a('node.width', Node277_12width);
- Node277_12.a('node.height', Node277_12height);
- Node277_12.a('node.rect', [0, 0, Node277_12width, Node277_12height]);
- Node277_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_12.a('node.borderwidth', 0);
- Node277_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_12.a('node.gradient','');
- Node277_12.a('node.gradientcolor','');
- Node277_12.a('node.text','万kwh');
- Node277_12.a('node.textalign','left');
- Node277_12.a('node.textvAlign','middle');
- Node277_12.a('node.textrect', [Node277_12textStart, 0, Node277_12textWidth, Node277_12height]);
- Node277_12.a('node.color','rgba(0,0,0,1)');
- Node277_12.a('node.font',' '+ Node277_12fontSize + 'px "Arial"');
- Node277_12.a('node.textvisible',true);
- Node277_12.a('node.linefeed',false);
- if (false) {
- Node277_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_12.a('node.text') || '万kwh';
- var color=Node277_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_12width,Node277_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_12.a('node.underlinepoints',[Node277_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_12fontSize + 'px "Arial"').width + 6, (Node277_12height - Node277_12fontSize) * 0.5*_ratio.ratioY + Node277_12fontSize + 2 ]);
- Node277_12.a('node.underlinevisible',false);
- Node277_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_12);
- zoomNodeList.push({
- node: Node277_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_13 = new ht.Node();
- var Node277_13textStart, Node277_13textWidth, Node277_13lineStart, Node277_13align = 'left', Node277_13fontSize = 10.66664*_ratio.ratioY,Node277_13width = 72*_ratio.ratioX, Node277_13height = 27*_ratio.ratioY;
- (function () {
- if (Node277_13align === 'left') {
- Node277_13textStart = Node277_13fontSize * 0.2 > 2 ? Node277_13fontSize * 0.2 - 4 : Node277_13fontSize * 0.2 - 9;
- Node277_13textWidth = Node277_13width;
- Node277_13lineStart = 1;
- } else if (Node277_13align === 'right') {
- Node277_13textStart = 0;
- Node277_13textWidth =Node277_13fontSize <= 8 ? Node277_13width + Node277_13fontSize * 0.2 + 6 : Node277_13width - Node277_13fontSize * 0.2;
- Node277_13lineStart = (Node277_13width - (ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_13align === 'center') {
- Node277_13textStart = -3;
- Node277_13textWidth = Node277_13width;
- Node277_13lineStart = Node277_13width - ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_13.setImage(GD.getTextJSON(Node277_13width, Node277_13height, true, false, false, ' '+ Node277_13fontSize + 'px "Arial"'))
- Node277_13.setPosition(333*ratio.ratioX, 537*ratio.ratioY);
- Node277_13.setWidth(Node277_13width);
- Node277_13.setHeight(Node277_13height);
- Node277_13._nodeType = 'text';
- Node277_13._disallowEvert = true;
- Node277_13.setRotation(0*Math.PI/180);
- Node277_13.a('node.width', Node277_13width);
- Node277_13.a('node.height', Node277_13height);
- Node277_13.a('node.rect', [0, 0, Node277_13width, Node277_13height]);
- Node277_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_13.a('node.borderwidth', 0);
- Node277_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_13.a('node.gradient','');
- Node277_13.a('node.gradientcolor','');
- Node277_13.a('node.text','有功功率');
- Node277_13.a('node.textalign','left');
- Node277_13.a('node.textvAlign','middle');
- Node277_13.a('node.textrect', [Node277_13textStart, 0, Node277_13textWidth, Node277_13height]);
- Node277_13.a('node.color','rgba(0,0,0,1)');
- Node277_13.a('node.font',' '+ Node277_13fontSize + 'px "Arial"');
- Node277_13.a('node.textvisible',true);
- Node277_13.a('node.linefeed',false);
- if (false) {
- Node277_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_13.a('node.text') || '有功功率';
- var color=Node277_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_13width,Node277_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_13.a('node.underlinepoints',[Node277_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node277_13fontSize + 'px "Arial"').width + 6, (Node277_13height - Node277_13fontSize) * 0.5*_ratio.ratioY + Node277_13fontSize + 2 ]);
- Node277_13.a('node.underlinevisible',false);
- Node277_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_13);
- zoomNodeList.push({
- node: Node277_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_14 = new ht.Node();
- var Node277_14textStart, Node277_14textWidth, Node277_14lineStart, Node277_14align = 'left', Node277_14fontSize = 10.66664*_ratio.ratioY,Node277_14width = 22*_ratio.ratioX, Node277_14height = 27*_ratio.ratioY;
- (function () {
- if (Node277_14align === 'left') {
- Node277_14textStart = Node277_14fontSize * 0.2 > 2 ? Node277_14fontSize * 0.2 - 4 : Node277_14fontSize * 0.2 - 9;
- Node277_14textWidth = Node277_14width;
- Node277_14lineStart = 1;
- } else if (Node277_14align === 'right') {
- Node277_14textStart = 0;
- Node277_14textWidth =Node277_14fontSize <= 8 ? Node277_14width + Node277_14fontSize * 0.2 + 6 : Node277_14width - Node277_14fontSize * 0.2;
- Node277_14lineStart = (Node277_14width - (ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_14align === 'center') {
- Node277_14textStart = -3;
- Node277_14textWidth = Node277_14width;
- Node277_14lineStart = Node277_14width - ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_14.setImage(GD.getTextJSON(Node277_14width, Node277_14height, true, false, false, ' '+ Node277_14fontSize + 'px "Arial"'))
- Node277_14.setPosition(371*ratio.ratioX, 537*ratio.ratioY);
- Node277_14.setWidth(Node277_14width);
- Node277_14.setHeight(Node277_14height);
- Node277_14._nodeType = 'text';
- Node277_14._disallowEvert = true;
- Node277_14.setRotation(0*Math.PI/180);
- Node277_14.a('node.width', Node277_14width);
- Node277_14.a('node.height', Node277_14height);
- Node277_14.a('node.rect', [0, 0, Node277_14width, Node277_14height]);
- Node277_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node277_14.a('node.borderwidth', 0);
- Node277_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_14.a('node.gradient','');
- Node277_14.a('node.gradientcolor','');
- Node277_14.a('node.text','-');
- Node277_14.a('node.textalign','left');
- Node277_14.a('node.textvAlign','middle');
- Node277_14.a('node.textrect', [Node277_14textStart, 0, Node277_14textWidth, Node277_14height]);
- Node277_14.a('node.color','rgba(192,0,0,1)');
- Node277_14.a('node.font',' '+ Node277_14fontSize + 'px "Arial"');
- Node277_14.a('node.textvisible',true);
- Node277_14.a('node.linefeed',false);
- if (false) {
- Node277_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_14.a('node.text') || '-';
- var color=Node277_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_14width,Node277_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_14.a('node.underlinepoints',[Node277_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node277_14fontSize + 'px "Arial"').width + 6, (Node277_14height - Node277_14fontSize) * 0.5*_ratio.ratioY + Node277_14fontSize + 2 ]);
- Node277_14.a('node.underlinevisible',false);
- Node277_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_14);
- zoomNodeList.push({
- node: Node277_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node277_15 = new ht.Node();
- var Node277_15textStart, Node277_15textWidth, Node277_15lineStart, Node277_15align = 'left', Node277_15fontSize = 10.66664*_ratio.ratioY,Node277_15width = 43*_ratio.ratioX, Node277_15height = 27*_ratio.ratioY;
- (function () {
- if (Node277_15align === 'left') {
- Node277_15textStart = Node277_15fontSize * 0.2 > 2 ? Node277_15fontSize * 0.2 - 4 : Node277_15fontSize * 0.2 - 9;
- Node277_15textWidth = Node277_15width;
- Node277_15lineStart = 1;
- } else if (Node277_15align === 'right') {
- Node277_15textStart = 0;
- Node277_15textWidth =Node277_15fontSize <= 8 ? Node277_15width + Node277_15fontSize * 0.2 + 6 : Node277_15width - Node277_15fontSize * 0.2;
- Node277_15lineStart = (Node277_15width - (ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node277_15align === 'center') {
- Node277_15textStart = -3;
- Node277_15textWidth = Node277_15width;
- Node277_15lineStart = Node277_15width - ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node277_15.setImage(GD.getTextJSON(Node277_15width, Node277_15height, true, false, false, ' '+ Node277_15fontSize + 'px "Arial"'))
- Node277_15.setPosition(418*ratio.ratioX, 537*ratio.ratioY);
- Node277_15.setWidth(Node277_15width);
- Node277_15.setHeight(Node277_15height);
- Node277_15._nodeType = 'text';
- Node277_15._disallowEvert = true;
- Node277_15.setRotation(0*Math.PI/180);
- Node277_15.a('node.width', Node277_15width);
- Node277_15.a('node.height', Node277_15height);
- Node277_15.a('node.rect', [0, 0, Node277_15width, Node277_15height]);
- Node277_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node277_15.a('node.borderwidth', 0);
- Node277_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node277_15.a('node.gradient','');
- Node277_15.a('node.gradientcolor','');
- Node277_15.a('node.text','万kwh');
- Node277_15.a('node.textalign','left');
- Node277_15.a('node.textvAlign','middle');
- Node277_15.a('node.textrect', [Node277_15textStart, 0, Node277_15textWidth, Node277_15height]);
- Node277_15.a('node.color','rgba(0,0,0,1)');
- Node277_15.a('node.font',' '+ Node277_15fontSize + 'px "Arial"');
- Node277_15.a('node.textvisible',true);
- Node277_15.a('node.linefeed',false);
- if (false) {
- Node277_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node277_15.a('node.text') || '万kwh';
- var color=Node277_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node277_15width,Node277_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node277_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node277_15.a('node.underlinepoints',[Node277_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node277_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node277_15fontSize + 'px "Arial"').width + 6, (Node277_15height - Node277_15fontSize) * 0.5*_ratio.ratioY + Node277_15fontSize + 2 ]);
- Node277_15.a('node.underlinevisible',false);
- Node277_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node277_15);
- zoomNodeList.push({
- node: Node277_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node278_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node278_0 = new ht.Node();
- Node278_0.setPosition(223*ratio.ratioX, 540*ratio.ratioY);
- Node278_0.setSize(146*ratioX, 141*ratioY);
- Node278_0.setImage('imgimage//img//map_name_03.png');
- Node278_0.setRotation(0*Math.PI/180);
- Node278_0._zoomBy = 'Default';
- Node278_0._nodeType = 'image';
- Node278_0._disallowEvert = true;
- dataModel.add(Node278_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_1 = new ht.Node();
- var Node278_1textStart, Node278_1textWidth, Node278_1lineStart, Node278_1align = 'left', Node278_1fontSize = 10.66664*_ratio.ratioY,Node278_1width = 72*_ratio.ratioX, Node278_1height = 27*_ratio.ratioY;
- (function () {
- if (Node278_1align === 'left') {
- Node278_1textStart = Node278_1fontSize * 0.2 > 2 ? Node278_1fontSize * 0.2 - 4 : Node278_1fontSize * 0.2 - 9;
- Node278_1textWidth = Node278_1width;
- Node278_1lineStart = 1;
- } else if (Node278_1align === 'right') {
- Node278_1textStart = 0;
- Node278_1textWidth =Node278_1fontSize <= 8 ? Node278_1width + Node278_1fontSize * 0.2 + 6 : Node278_1width - Node278_1fontSize * 0.2;
- Node278_1lineStart = (Node278_1width - (ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_1align === 'center') {
- Node278_1textStart = -3;
- Node278_1textWidth = Node278_1width;
- Node278_1lineStart = Node278_1width - ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_1.setImage(GD.getTextJSON(Node278_1width, Node278_1height, true, false, false, ' '+ Node278_1fontSize + 'px "Arial"'))
- Node278_1.setPosition(193*ratio.ratioX, 493*ratio.ratioY);
- Node278_1.setWidth(Node278_1width);
- Node278_1.setHeight(Node278_1height);
- Node278_1._nodeType = 'text';
- Node278_1._disallowEvert = true;
- Node278_1.setRotation(0*Math.PI/180);
- Node278_1.a('node.width', Node278_1width);
- Node278_1.a('node.height', Node278_1height);
- Node278_1.a('node.rect', [0, 0, Node278_1width, Node278_1height]);
- Node278_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_1.a('node.borderwidth', 0);
- Node278_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_1.a('node.gradient','');
- Node278_1.a('node.gradientcolor','');
- Node278_1.a('node.text','风机台数');
- Node278_1.a('node.textalign','left');
- Node278_1.a('node.textvAlign','middle');
- Node278_1.a('node.textrect', [Node278_1textStart, 0, Node278_1textWidth, Node278_1height]);
- Node278_1.a('node.color','rgba(0,0,0,1)');
- Node278_1.a('node.font',' '+ Node278_1fontSize + 'px "Arial"');
- Node278_1.a('node.textvisible',true);
- Node278_1.a('node.linefeed',false);
- if (false) {
- Node278_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_1.a('node.text') || '风机台数';
- var color=Node278_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_1width,Node278_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_1.a('node.underlinepoints',[Node278_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node278_1fontSize + 'px "Arial"').width + 6, (Node278_1height - Node278_1fontSize) * 0.5*_ratio.ratioY + Node278_1fontSize + 2 ]);
- Node278_1.a('node.underlinevisible',false);
- Node278_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_1);
- zoomNodeList.push({
- node: Node278_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_2 = new ht.Node();
- var Node278_2textStart, Node278_2textWidth, Node278_2lineStart, Node278_2align = 'left', Node278_2fontSize = 10.66664*_ratio.ratioY,Node278_2width = 22*_ratio.ratioX, Node278_2height = 27*_ratio.ratioY;
- (function () {
- if (Node278_2align === 'left') {
- Node278_2textStart = Node278_2fontSize * 0.2 > 2 ? Node278_2fontSize * 0.2 - 4 : Node278_2fontSize * 0.2 - 9;
- Node278_2textWidth = Node278_2width;
- Node278_2lineStart = 1;
- } else if (Node278_2align === 'right') {
- Node278_2textStart = 0;
- Node278_2textWidth =Node278_2fontSize <= 8 ? Node278_2width + Node278_2fontSize * 0.2 + 6 : Node278_2width - Node278_2fontSize * 0.2;
- Node278_2lineStart = (Node278_2width - (ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_2align === 'center') {
- Node278_2textStart = -3;
- Node278_2textWidth = Node278_2width;
- Node278_2lineStart = Node278_2width - ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_2.setImage(GD.getTextJSON(Node278_2width, Node278_2height, true, false, false, ' '+ Node278_2fontSize + 'px "Arial"'))
- Node278_2.setPosition(231*ratio.ratioX, 493*ratio.ratioY);
- Node278_2.setWidth(Node278_2width);
- Node278_2.setHeight(Node278_2height);
- Node278_2._nodeType = 'text';
- Node278_2._disallowEvert = true;
- Node278_2.setRotation(0*Math.PI/180);
- Node278_2.a('node.width', Node278_2width);
- Node278_2.a('node.height', Node278_2height);
- Node278_2.a('node.rect', [0, 0, Node278_2width, Node278_2height]);
- Node278_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node278_2.a('node.borderwidth', 0);
- Node278_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_2.a('node.gradient','');
- Node278_2.a('node.gradientcolor','');
- Node278_2.a('node.text','99');
- Node278_2.a('node.textalign','left');
- Node278_2.a('node.textvAlign','middle');
- Node278_2.a('node.textrect', [Node278_2textStart, 0, Node278_2textWidth, Node278_2height]);
- Node278_2.a('node.color','rgba(192,0,0,1)');
- Node278_2.a('node.font',' '+ Node278_2fontSize + 'px "Arial"');
- Node278_2.a('node.textvisible',true);
- Node278_2.a('node.linefeed',false);
- if (false) {
- Node278_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_2.a('node.text') || '99';
- var color=Node278_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_2width,Node278_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_2.a('node.underlinepoints',[Node278_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node278_2fontSize + 'px "Arial"').width + 6, (Node278_2height - Node278_2fontSize) * 0.5*_ratio.ratioY + Node278_2fontSize + 2 ]);
- Node278_2.a('node.underlinevisible',false);
- Node278_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_2);
- zoomNodeList.push({
- node: Node278_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_3 = new ht.Node();
- var Node278_3textStart, Node278_3textWidth, Node278_3lineStart, Node278_3align = 'left', Node278_3fontSize = 10.66664*_ratio.ratioY,Node278_3width = 43*_ratio.ratioX, Node278_3height = 27*_ratio.ratioY;
- (function () {
- if (Node278_3align === 'left') {
- Node278_3textStart = Node278_3fontSize * 0.2 > 2 ? Node278_3fontSize * 0.2 - 4 : Node278_3fontSize * 0.2 - 9;
- Node278_3textWidth = Node278_3width;
- Node278_3lineStart = 1;
- } else if (Node278_3align === 'right') {
- Node278_3textStart = 0;
- Node278_3textWidth =Node278_3fontSize <= 8 ? Node278_3width + Node278_3fontSize * 0.2 + 6 : Node278_3width - Node278_3fontSize * 0.2;
- Node278_3lineStart = (Node278_3width - (ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_3align === 'center') {
- Node278_3textStart = -3;
- Node278_3textWidth = Node278_3width;
- Node278_3lineStart = Node278_3width - ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_3.setImage(GD.getTextJSON(Node278_3width, Node278_3height, true, false, false, ' '+ Node278_3fontSize + 'px "Arial"'))
- Node278_3.setPosition(278*ratio.ratioX, 493*ratio.ratioY);
- Node278_3.setWidth(Node278_3width);
- Node278_3.setHeight(Node278_3height);
- Node278_3._nodeType = 'text';
- Node278_3._disallowEvert = true;
- Node278_3.setRotation(0*Math.PI/180);
- Node278_3.a('node.width', Node278_3width);
- Node278_3.a('node.height', Node278_3height);
- Node278_3.a('node.rect', [0, 0, Node278_3width, Node278_3height]);
- Node278_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_3.a('node.borderwidth', 0);
- Node278_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_3.a('node.gradient','');
- Node278_3.a('node.gradientcolor','');
- Node278_3.a('node.text','万kwh');
- Node278_3.a('node.textalign','left');
- Node278_3.a('node.textvAlign','middle');
- Node278_3.a('node.textrect', [Node278_3textStart, 0, Node278_3textWidth, Node278_3height]);
- Node278_3.a('node.color','rgba(0,0,0,1)');
- Node278_3.a('node.font',' '+ Node278_3fontSize + 'px "Arial"');
- Node278_3.a('node.textvisible',true);
- Node278_3.a('node.linefeed',false);
- if (false) {
- Node278_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_3.a('node.text') || '万kwh';
- var color=Node278_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_3width,Node278_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_3.a('node.underlinepoints',[Node278_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_3fontSize + 'px "Arial"').width + 6, (Node278_3height - Node278_3fontSize) * 0.5*_ratio.ratioY + Node278_3fontSize + 2 ]);
- Node278_3.a('node.underlinevisible',false);
- Node278_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_3);
- zoomNodeList.push({
- node: Node278_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_4 = new ht.Node();
- var Node278_4textStart, Node278_4textWidth, Node278_4lineStart, Node278_4align = 'left', Node278_4fontSize = 10.66664*_ratio.ratioY,Node278_4width = 72*_ratio.ratioX, Node278_4height = 27*_ratio.ratioY;
- (function () {
- if (Node278_4align === 'left') {
- Node278_4textStart = Node278_4fontSize * 0.2 > 2 ? Node278_4fontSize * 0.2 - 4 : Node278_4fontSize * 0.2 - 9;
- Node278_4textWidth = Node278_4width;
- Node278_4lineStart = 1;
- } else if (Node278_4align === 'right') {
- Node278_4textStart = 0;
- Node278_4textWidth =Node278_4fontSize <= 8 ? Node278_4width + Node278_4fontSize * 0.2 + 6 : Node278_4width - Node278_4fontSize * 0.2;
- Node278_4lineStart = (Node278_4width - (ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_4align === 'center') {
- Node278_4textStart = -3;
- Node278_4textWidth = Node278_4width;
- Node278_4lineStart = Node278_4width - ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_4.setImage(GD.getTextJSON(Node278_4width, Node278_4height, true, false, false, ' '+ Node278_4fontSize + 'px "Arial"'))
- Node278_4.setPosition(193*ratio.ratioX, 519*ratio.ratioY);
- Node278_4.setWidth(Node278_4width);
- Node278_4.setHeight(Node278_4height);
- Node278_4._nodeType = 'text';
- Node278_4._disallowEvert = true;
- Node278_4.setRotation(0*Math.PI/180);
- Node278_4.a('node.width', Node278_4width);
- Node278_4.a('node.height', Node278_4height);
- Node278_4.a('node.rect', [0, 0, Node278_4width, Node278_4height]);
- Node278_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_4.a('node.borderwidth', 0);
- Node278_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_4.a('node.gradient','');
- Node278_4.a('node.gradientcolor','');
- Node278_4.a('node.text','装机容量');
- Node278_4.a('node.textalign','left');
- Node278_4.a('node.textvAlign','middle');
- Node278_4.a('node.textrect', [Node278_4textStart, 0, Node278_4textWidth, Node278_4height]);
- Node278_4.a('node.color','rgba(0,0,0,1)');
- Node278_4.a('node.font',' '+ Node278_4fontSize + 'px "Arial"');
- Node278_4.a('node.textvisible',true);
- Node278_4.a('node.linefeed',false);
- if (false) {
- Node278_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_4.a('node.text') || '装机容量';
- var color=Node278_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_4width,Node278_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_4.a('node.underlinepoints',[Node278_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node278_4fontSize + 'px "Arial"').width + 6, (Node278_4height - Node278_4fontSize) * 0.5*_ratio.ratioY + Node278_4fontSize + 2 ]);
- Node278_4.a('node.underlinevisible',false);
- Node278_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_4);
- zoomNodeList.push({
- node: Node278_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_5 = new ht.Node();
- var Node278_5textStart, Node278_5textWidth, Node278_5lineStart, Node278_5align = 'left', Node278_5fontSize = 10.66664*_ratio.ratioY,Node278_5width = 31*_ratio.ratioX, Node278_5height = 27*_ratio.ratioY;
- (function () {
- if (Node278_5align === 'left') {
- Node278_5textStart = Node278_5fontSize * 0.2 > 2 ? Node278_5fontSize * 0.2 - 4 : Node278_5fontSize * 0.2 - 9;
- Node278_5textWidth = Node278_5width;
- Node278_5lineStart = 1;
- } else if (Node278_5align === 'right') {
- Node278_5textStart = 0;
- Node278_5textWidth =Node278_5fontSize <= 8 ? Node278_5width + Node278_5fontSize * 0.2 + 6 : Node278_5width - Node278_5fontSize * 0.2;
- Node278_5lineStart = (Node278_5width - (ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_5align === 'center') {
- Node278_5textStart = -3;
- Node278_5textWidth = Node278_5width;
- Node278_5lineStart = Node278_5width - ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_5.setImage(GD.getTextJSON(Node278_5width, Node278_5height, true, false, false, ' '+ Node278_5fontSize + 'px "Arial"'))
- Node278_5.setPosition(236*ratio.ratioX, 519*ratio.ratioY);
- Node278_5.setWidth(Node278_5width);
- Node278_5.setHeight(Node278_5height);
- Node278_5._nodeType = 'text';
- Node278_5._disallowEvert = true;
- Node278_5.setRotation(0*Math.PI/180);
- Node278_5.a('node.width', Node278_5width);
- Node278_5.a('node.height', Node278_5height);
- Node278_5.a('node.rect', [0, 0, Node278_5width, Node278_5height]);
- Node278_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node278_5.a('node.borderwidth', 0);
- Node278_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_5.a('node.gradient','');
- Node278_5.a('node.gradientcolor','');
- Node278_5.a('node.text','14.85');
- Node278_5.a('node.textalign','left');
- Node278_5.a('node.textvAlign','middle');
- Node278_5.a('node.textrect', [Node278_5textStart, 0, Node278_5textWidth, Node278_5height]);
- Node278_5.a('node.color','rgba(192,0,0,1)');
- Node278_5.a('node.font',' '+ Node278_5fontSize + 'px "Arial"');
- Node278_5.a('node.textvisible',true);
- Node278_5.a('node.linefeed',false);
- if (false) {
- Node278_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_5.a('node.text') || '14.85';
- var color=Node278_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_5width,Node278_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_5.a('node.underlinepoints',[Node278_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node278_5fontSize + 'px "Arial"').width + 6, (Node278_5height - Node278_5fontSize) * 0.5*_ratio.ratioY + Node278_5fontSize + 2 ]);
- Node278_5.a('node.underlinevisible',false);
- Node278_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_5);
- zoomNodeList.push({
- node: Node278_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_6 = new ht.Node();
- var Node278_6textStart, Node278_6textWidth, Node278_6lineStart, Node278_6align = 'left', Node278_6fontSize = 10.66664*_ratio.ratioY,Node278_6width = 43*_ratio.ratioX, Node278_6height = 27*_ratio.ratioY;
- (function () {
- if (Node278_6align === 'left') {
- Node278_6textStart = Node278_6fontSize * 0.2 > 2 ? Node278_6fontSize * 0.2 - 4 : Node278_6fontSize * 0.2 - 9;
- Node278_6textWidth = Node278_6width;
- Node278_6lineStart = 1;
- } else if (Node278_6align === 'right') {
- Node278_6textStart = 0;
- Node278_6textWidth =Node278_6fontSize <= 8 ? Node278_6width + Node278_6fontSize * 0.2 + 6 : Node278_6width - Node278_6fontSize * 0.2;
- Node278_6lineStart = (Node278_6width - (ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_6align === 'center') {
- Node278_6textStart = -3;
- Node278_6textWidth = Node278_6width;
- Node278_6lineStart = Node278_6width - ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_6.setImage(GD.getTextJSON(Node278_6width, Node278_6height, true, false, false, ' '+ Node278_6fontSize + 'px "Arial"'))
- Node278_6.setPosition(278*ratio.ratioX, 519*ratio.ratioY);
- Node278_6.setWidth(Node278_6width);
- Node278_6.setHeight(Node278_6height);
- Node278_6._nodeType = 'text';
- Node278_6._disallowEvert = true;
- Node278_6.setRotation(0*Math.PI/180);
- Node278_6.a('node.width', Node278_6width);
- Node278_6.a('node.height', Node278_6height);
- Node278_6.a('node.rect', [0, 0, Node278_6width, Node278_6height]);
- Node278_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_6.a('node.borderwidth', 0);
- Node278_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_6.a('node.gradient','');
- Node278_6.a('node.gradientcolor','');
- Node278_6.a('node.text','万kwh');
- Node278_6.a('node.textalign','left');
- Node278_6.a('node.textvAlign','middle');
- Node278_6.a('node.textrect', [Node278_6textStart, 0, Node278_6textWidth, Node278_6height]);
- Node278_6.a('node.color','rgba(0,0,0,1)');
- Node278_6.a('node.font',' '+ Node278_6fontSize + 'px "Arial"');
- Node278_6.a('node.textvisible',true);
- Node278_6.a('node.linefeed',false);
- if (false) {
- Node278_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_6.a('node.text') || '万kwh';
- var color=Node278_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_6width,Node278_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_6.a('node.underlinepoints',[Node278_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_6fontSize + 'px "Arial"').width + 6, (Node278_6height - Node278_6fontSize) * 0.5*_ratio.ratioY + Node278_6fontSize + 2 ]);
- Node278_6.a('node.underlinevisible',false);
- Node278_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_6);
- zoomNodeList.push({
- node: Node278_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_7 = new ht.Node();
- var Node278_7textStart, Node278_7textWidth, Node278_7lineStart, Node278_7align = 'left', Node278_7fontSize = 10.66664*_ratio.ratioY,Node278_7width = 72*_ratio.ratioX, Node278_7height = 27*_ratio.ratioY;
- (function () {
- if (Node278_7align === 'left') {
- Node278_7textStart = Node278_7fontSize * 0.2 > 2 ? Node278_7fontSize * 0.2 - 4 : Node278_7fontSize * 0.2 - 9;
- Node278_7textWidth = Node278_7width;
- Node278_7lineStart = 1;
- } else if (Node278_7align === 'right') {
- Node278_7textStart = 0;
- Node278_7textWidth =Node278_7fontSize <= 8 ? Node278_7width + Node278_7fontSize * 0.2 + 6 : Node278_7width - Node278_7fontSize * 0.2;
- Node278_7lineStart = (Node278_7width - (ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_7align === 'center') {
- Node278_7textStart = -3;
- Node278_7textWidth = Node278_7width;
- Node278_7lineStart = Node278_7width - ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_7.setImage(GD.getTextJSON(Node278_7width, Node278_7height, true, false, false, ' '+ Node278_7fontSize + 'px "Arial"'))
- Node278_7.setPosition(193*ratio.ratioX, 544*ratio.ratioY);
- Node278_7.setWidth(Node278_7width);
- Node278_7.setHeight(Node278_7height);
- Node278_7._nodeType = 'text';
- Node278_7._disallowEvert = true;
- Node278_7.setRotation(0*Math.PI/180);
- Node278_7.a('node.width', Node278_7width);
- Node278_7.a('node.height', Node278_7height);
- Node278_7.a('node.rect', [0, 0, Node278_7width, Node278_7height]);
- Node278_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_7.a('node.borderwidth', 0);
- Node278_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_7.a('node.gradient','');
- Node278_7.a('node.gradientcolor','');
- Node278_7.a('node.text','平均风速');
- Node278_7.a('node.textalign','left');
- Node278_7.a('node.textvAlign','middle');
- Node278_7.a('node.textrect', [Node278_7textStart, 0, Node278_7textWidth, Node278_7height]);
- Node278_7.a('node.color','rgba(0,0,0,1)');
- Node278_7.a('node.font',' '+ Node278_7fontSize + 'px "Arial"');
- Node278_7.a('node.textvisible',true);
- Node278_7.a('node.linefeed',false);
- if (false) {
- Node278_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_7.a('node.text') || '平均风速';
- var color=Node278_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_7width,Node278_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_7.a('node.underlinepoints',[Node278_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node278_7fontSize + 'px "Arial"').width + 6, (Node278_7height - Node278_7fontSize) * 0.5*_ratio.ratioY + Node278_7fontSize + 2 ]);
- Node278_7.a('node.underlinevisible',false);
- Node278_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_7);
- zoomNodeList.push({
- node: Node278_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_8 = new ht.Node();
- var Node278_8textStart, Node278_8textWidth, Node278_8lineStart, Node278_8align = 'left', Node278_8fontSize = 10.66664*_ratio.ratioY,Node278_8width = 22*_ratio.ratioX, Node278_8height = 27*_ratio.ratioY;
- (function () {
- if (Node278_8align === 'left') {
- Node278_8textStart = Node278_8fontSize * 0.2 > 2 ? Node278_8fontSize * 0.2 - 4 : Node278_8fontSize * 0.2 - 9;
- Node278_8textWidth = Node278_8width;
- Node278_8lineStart = 1;
- } else if (Node278_8align === 'right') {
- Node278_8textStart = 0;
- Node278_8textWidth =Node278_8fontSize <= 8 ? Node278_8width + Node278_8fontSize * 0.2 + 6 : Node278_8width - Node278_8fontSize * 0.2;
- Node278_8lineStart = (Node278_8width - (ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_8align === 'center') {
- Node278_8textStart = -3;
- Node278_8textWidth = Node278_8width;
- Node278_8lineStart = Node278_8width - ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_8.setImage(GD.getTextJSON(Node278_8width, Node278_8height, true, false, false, ' '+ Node278_8fontSize + 'px "Arial"'))
- Node278_8.setPosition(231*ratio.ratioX, 544*ratio.ratioY);
- Node278_8.setWidth(Node278_8width);
- Node278_8.setHeight(Node278_8height);
- Node278_8._nodeType = 'text';
- Node278_8._disallowEvert = true;
- Node278_8.setRotation(0*Math.PI/180);
- Node278_8.a('node.width', Node278_8width);
- Node278_8.a('node.height', Node278_8height);
- Node278_8.a('node.rect', [0, 0, Node278_8width, Node278_8height]);
- Node278_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node278_8.a('node.borderwidth', 0);
- Node278_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_8.a('node.gradient','');
- Node278_8.a('node.gradientcolor','');
- Node278_8.a('node.text','-');
- Node278_8.a('node.textalign','left');
- Node278_8.a('node.textvAlign','middle');
- Node278_8.a('node.textrect', [Node278_8textStart, 0, Node278_8textWidth, Node278_8height]);
- Node278_8.a('node.color','rgba(192,0,0,1)');
- Node278_8.a('node.font',' '+ Node278_8fontSize + 'px "Arial"');
- Node278_8.a('node.textvisible',true);
- Node278_8.a('node.linefeed',false);
- if (false) {
- Node278_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_8.a('node.text') || '-';
- var color=Node278_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_8width,Node278_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_8.a('node.underlinepoints',[Node278_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_8fontSize + 'px "Arial"').width + 6, (Node278_8height - Node278_8fontSize) * 0.5*_ratio.ratioY + Node278_8fontSize + 2 ]);
- Node278_8.a('node.underlinevisible',false);
- Node278_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_8);
- zoomNodeList.push({
- node: Node278_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_9 = new ht.Node();
- var Node278_9textStart, Node278_9textWidth, Node278_9lineStart, Node278_9align = 'left', Node278_9fontSize = 10.66664*_ratio.ratioY,Node278_9width = 43*_ratio.ratioX, Node278_9height = 27*_ratio.ratioY;
- (function () {
- if (Node278_9align === 'left') {
- Node278_9textStart = Node278_9fontSize * 0.2 > 2 ? Node278_9fontSize * 0.2 - 4 : Node278_9fontSize * 0.2 - 9;
- Node278_9textWidth = Node278_9width;
- Node278_9lineStart = 1;
- } else if (Node278_9align === 'right') {
- Node278_9textStart = 0;
- Node278_9textWidth =Node278_9fontSize <= 8 ? Node278_9width + Node278_9fontSize * 0.2 + 6 : Node278_9width - Node278_9fontSize * 0.2;
- Node278_9lineStart = (Node278_9width - (ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_9align === 'center') {
- Node278_9textStart = -3;
- Node278_9textWidth = Node278_9width;
- Node278_9lineStart = Node278_9width - ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_9.setImage(GD.getTextJSON(Node278_9width, Node278_9height, true, false, false, ' '+ Node278_9fontSize + 'px "Arial"'))
- Node278_9.setPosition(278*ratio.ratioX, 544*ratio.ratioY);
- Node278_9.setWidth(Node278_9width);
- Node278_9.setHeight(Node278_9height);
- Node278_9._nodeType = 'text';
- Node278_9._disallowEvert = true;
- Node278_9.setRotation(0*Math.PI/180);
- Node278_9.a('node.width', Node278_9width);
- Node278_9.a('node.height', Node278_9height);
- Node278_9.a('node.rect', [0, 0, Node278_9width, Node278_9height]);
- Node278_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_9.a('node.borderwidth', 0);
- Node278_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_9.a('node.gradient','');
- Node278_9.a('node.gradientcolor','');
- Node278_9.a('node.text','万kwh');
- Node278_9.a('node.textalign','left');
- Node278_9.a('node.textvAlign','middle');
- Node278_9.a('node.textrect', [Node278_9textStart, 0, Node278_9textWidth, Node278_9height]);
- Node278_9.a('node.color','rgba(0,0,0,1)');
- Node278_9.a('node.font',' '+ Node278_9fontSize + 'px "Arial"');
- Node278_9.a('node.textvisible',true);
- Node278_9.a('node.linefeed',false);
- if (false) {
- Node278_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_9.a('node.text') || '万kwh';
- var color=Node278_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_9width,Node278_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_9.a('node.underlinepoints',[Node278_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_9fontSize + 'px "Arial"').width + 6, (Node278_9height - Node278_9fontSize) * 0.5*_ratio.ratioY + Node278_9fontSize + 2 ]);
- Node278_9.a('node.underlinevisible',false);
- Node278_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_9);
- zoomNodeList.push({
- node: Node278_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_10 = new ht.Node();
- var Node278_10textStart, Node278_10textWidth, Node278_10lineStart, Node278_10align = 'left', Node278_10fontSize = 10.66664*_ratio.ratioY,Node278_10width = 72*_ratio.ratioX, Node278_10height = 27*_ratio.ratioY;
- (function () {
- if (Node278_10align === 'left') {
- Node278_10textStart = Node278_10fontSize * 0.2 > 2 ? Node278_10fontSize * 0.2 - 4 : Node278_10fontSize * 0.2 - 9;
- Node278_10textWidth = Node278_10width;
- Node278_10lineStart = 1;
- } else if (Node278_10align === 'right') {
- Node278_10textStart = 0;
- Node278_10textWidth =Node278_10fontSize <= 8 ? Node278_10width + Node278_10fontSize * 0.2 + 6 : Node278_10width - Node278_10fontSize * 0.2;
- Node278_10lineStart = (Node278_10width - (ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_10align === 'center') {
- Node278_10textStart = -3;
- Node278_10textWidth = Node278_10width;
- Node278_10lineStart = Node278_10width - ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_10.setImage(GD.getTextJSON(Node278_10width, Node278_10height, true, false, false, ' '+ Node278_10fontSize + 'px "Arial"'))
- Node278_10.setPosition(193*ratio.ratioX, 570*ratio.ratioY);
- Node278_10.setWidth(Node278_10width);
- Node278_10.setHeight(Node278_10height);
- Node278_10._nodeType = 'text';
- Node278_10._disallowEvert = true;
- Node278_10.setRotation(0*Math.PI/180);
- Node278_10.a('node.width', Node278_10width);
- Node278_10.a('node.height', Node278_10height);
- Node278_10.a('node.rect', [0, 0, Node278_10width, Node278_10height]);
- Node278_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_10.a('node.borderwidth', 0);
- Node278_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_10.a('node.gradient','');
- Node278_10.a('node.gradientcolor','');
- Node278_10.a('node.text','日发电量');
- Node278_10.a('node.textalign','left');
- Node278_10.a('node.textvAlign','middle');
- Node278_10.a('node.textrect', [Node278_10textStart, 0, Node278_10textWidth, Node278_10height]);
- Node278_10.a('node.color','rgba(0,0,0,1)');
- Node278_10.a('node.font',' '+ Node278_10fontSize + 'px "Arial"');
- Node278_10.a('node.textvisible',true);
- Node278_10.a('node.linefeed',false);
- if (false) {
- Node278_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_10.a('node.text') || '日发电量';
- var color=Node278_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_10width,Node278_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_10.a('node.underlinepoints',[Node278_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node278_10fontSize + 'px "Arial"').width + 6, (Node278_10height - Node278_10fontSize) * 0.5*_ratio.ratioY + Node278_10fontSize + 2 ]);
- Node278_10.a('node.underlinevisible',false);
- Node278_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_10);
- zoomNodeList.push({
- node: Node278_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_11 = new ht.Node();
- var Node278_11textStart, Node278_11textWidth, Node278_11lineStart, Node278_11align = 'left', Node278_11fontSize = 10.66664*_ratio.ratioY,Node278_11width = 31*_ratio.ratioX, Node278_11height = 27*_ratio.ratioY;
- (function () {
- if (Node278_11align === 'left') {
- Node278_11textStart = Node278_11fontSize * 0.2 > 2 ? Node278_11fontSize * 0.2 - 4 : Node278_11fontSize * 0.2 - 9;
- Node278_11textWidth = Node278_11width;
- Node278_11lineStart = 1;
- } else if (Node278_11align === 'right') {
- Node278_11textStart = 0;
- Node278_11textWidth =Node278_11fontSize <= 8 ? Node278_11width + Node278_11fontSize * 0.2 + 6 : Node278_11width - Node278_11fontSize * 0.2;
- Node278_11lineStart = (Node278_11width - (ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_11align === 'center') {
- Node278_11textStart = -3;
- Node278_11textWidth = Node278_11width;
- Node278_11lineStart = Node278_11width - ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_11.setImage(GD.getTextJSON(Node278_11width, Node278_11height, true, false, false, ' '+ Node278_11fontSize + 'px "Arial"'))
- Node278_11.setPosition(236*ratio.ratioX, 570*ratio.ratioY);
- Node278_11.setWidth(Node278_11width);
- Node278_11.setHeight(Node278_11height);
- Node278_11._nodeType = 'text';
- Node278_11._disallowEvert = true;
- Node278_11.setRotation(0*Math.PI/180);
- Node278_11.a('node.width', Node278_11width);
- Node278_11.a('node.height', Node278_11height);
- Node278_11.a('node.rect', [0, 0, Node278_11width, Node278_11height]);
- Node278_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node278_11.a('node.borderwidth', 0);
- Node278_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_11.a('node.gradient','');
- Node278_11.a('node.gradientcolor','');
- Node278_11.a('node.text','-');
- Node278_11.a('node.textalign','left');
- Node278_11.a('node.textvAlign','middle');
- Node278_11.a('node.textrect', [Node278_11textStart, 0, Node278_11textWidth, Node278_11height]);
- Node278_11.a('node.color','rgba(192,0,0,1)');
- Node278_11.a('node.font',' '+ Node278_11fontSize + 'px "Arial"');
- Node278_11.a('node.textvisible',true);
- Node278_11.a('node.linefeed',false);
- if (false) {
- Node278_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_11.a('node.text') || '-';
- var color=Node278_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_11width,Node278_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_11.a('node.underlinepoints',[Node278_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_11fontSize + 'px "Arial"').width + 6, (Node278_11height - Node278_11fontSize) * 0.5*_ratio.ratioY + Node278_11fontSize + 2 ]);
- Node278_11.a('node.underlinevisible',false);
- Node278_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_11);
- zoomNodeList.push({
- node: Node278_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_12 = new ht.Node();
- var Node278_12textStart, Node278_12textWidth, Node278_12lineStart, Node278_12align = 'left', Node278_12fontSize = 10.66664*_ratio.ratioY,Node278_12width = 43*_ratio.ratioX, Node278_12height = 27*_ratio.ratioY;
- (function () {
- if (Node278_12align === 'left') {
- Node278_12textStart = Node278_12fontSize * 0.2 > 2 ? Node278_12fontSize * 0.2 - 4 : Node278_12fontSize * 0.2 - 9;
- Node278_12textWidth = Node278_12width;
- Node278_12lineStart = 1;
- } else if (Node278_12align === 'right') {
- Node278_12textStart = 0;
- Node278_12textWidth =Node278_12fontSize <= 8 ? Node278_12width + Node278_12fontSize * 0.2 + 6 : Node278_12width - Node278_12fontSize * 0.2;
- Node278_12lineStart = (Node278_12width - (ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_12align === 'center') {
- Node278_12textStart = -3;
- Node278_12textWidth = Node278_12width;
- Node278_12lineStart = Node278_12width - ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_12.setImage(GD.getTextJSON(Node278_12width, Node278_12height, true, false, false, ' '+ Node278_12fontSize + 'px "Arial"'))
- Node278_12.setPosition(278*ratio.ratioX, 570*ratio.ratioY);
- Node278_12.setWidth(Node278_12width);
- Node278_12.setHeight(Node278_12height);
- Node278_12._nodeType = 'text';
- Node278_12._disallowEvert = true;
- Node278_12.setRotation(0*Math.PI/180);
- Node278_12.a('node.width', Node278_12width);
- Node278_12.a('node.height', Node278_12height);
- Node278_12.a('node.rect', [0, 0, Node278_12width, Node278_12height]);
- Node278_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_12.a('node.borderwidth', 0);
- Node278_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_12.a('node.gradient','');
- Node278_12.a('node.gradientcolor','');
- Node278_12.a('node.text','万kwh');
- Node278_12.a('node.textalign','left');
- Node278_12.a('node.textvAlign','middle');
- Node278_12.a('node.textrect', [Node278_12textStart, 0, Node278_12textWidth, Node278_12height]);
- Node278_12.a('node.color','rgba(0,0,0,1)');
- Node278_12.a('node.font',' '+ Node278_12fontSize + 'px "Arial"');
- Node278_12.a('node.textvisible',true);
- Node278_12.a('node.linefeed',false);
- if (false) {
- Node278_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_12.a('node.text') || '万kwh';
- var color=Node278_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_12width,Node278_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_12.a('node.underlinepoints',[Node278_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_12fontSize + 'px "Arial"').width + 6, (Node278_12height - Node278_12fontSize) * 0.5*_ratio.ratioY + Node278_12fontSize + 2 ]);
- Node278_12.a('node.underlinevisible',false);
- Node278_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_12);
- zoomNodeList.push({
- node: Node278_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_13 = new ht.Node();
- var Node278_13textStart, Node278_13textWidth, Node278_13lineStart, Node278_13align = 'left', Node278_13fontSize = 10.66664*_ratio.ratioY,Node278_13width = 72*_ratio.ratioX, Node278_13height = 27*_ratio.ratioY;
- (function () {
- if (Node278_13align === 'left') {
- Node278_13textStart = Node278_13fontSize * 0.2 > 2 ? Node278_13fontSize * 0.2 - 4 : Node278_13fontSize * 0.2 - 9;
- Node278_13textWidth = Node278_13width;
- Node278_13lineStart = 1;
- } else if (Node278_13align === 'right') {
- Node278_13textStart = 0;
- Node278_13textWidth =Node278_13fontSize <= 8 ? Node278_13width + Node278_13fontSize * 0.2 + 6 : Node278_13width - Node278_13fontSize * 0.2;
- Node278_13lineStart = (Node278_13width - (ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_13align === 'center') {
- Node278_13textStart = -3;
- Node278_13textWidth = Node278_13width;
- Node278_13lineStart = Node278_13width - ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_13.setImage(GD.getTextJSON(Node278_13width, Node278_13height, true, false, false, ' '+ Node278_13fontSize + 'px "Arial"'))
- Node278_13.setPosition(193*ratio.ratioX, 597*ratio.ratioY);
- Node278_13.setWidth(Node278_13width);
- Node278_13.setHeight(Node278_13height);
- Node278_13._nodeType = 'text';
- Node278_13._disallowEvert = true;
- Node278_13.setRotation(0*Math.PI/180);
- Node278_13.a('node.width', Node278_13width);
- Node278_13.a('node.height', Node278_13height);
- Node278_13.a('node.rect', [0, 0, Node278_13width, Node278_13height]);
- Node278_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_13.a('node.borderwidth', 0);
- Node278_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_13.a('node.gradient','');
- Node278_13.a('node.gradientcolor','');
- Node278_13.a('node.text','有功功率');
- Node278_13.a('node.textalign','left');
- Node278_13.a('node.textvAlign','middle');
- Node278_13.a('node.textrect', [Node278_13textStart, 0, Node278_13textWidth, Node278_13height]);
- Node278_13.a('node.color','rgba(0,0,0,1)');
- Node278_13.a('node.font',' '+ Node278_13fontSize + 'px "Arial"');
- Node278_13.a('node.textvisible',true);
- Node278_13.a('node.linefeed',false);
- if (false) {
- Node278_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_13.a('node.text') || '有功功率';
- var color=Node278_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_13width,Node278_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_13.a('node.underlinepoints',[Node278_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node278_13fontSize + 'px "Arial"').width + 6, (Node278_13height - Node278_13fontSize) * 0.5*_ratio.ratioY + Node278_13fontSize + 2 ]);
- Node278_13.a('node.underlinevisible',false);
- Node278_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_13);
- zoomNodeList.push({
- node: Node278_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_14 = new ht.Node();
- var Node278_14textStart, Node278_14textWidth, Node278_14lineStart, Node278_14align = 'left', Node278_14fontSize = 10.66664*_ratio.ratioY,Node278_14width = 22*_ratio.ratioX, Node278_14height = 27*_ratio.ratioY;
- (function () {
- if (Node278_14align === 'left') {
- Node278_14textStart = Node278_14fontSize * 0.2 > 2 ? Node278_14fontSize * 0.2 - 4 : Node278_14fontSize * 0.2 - 9;
- Node278_14textWidth = Node278_14width;
- Node278_14lineStart = 1;
- } else if (Node278_14align === 'right') {
- Node278_14textStart = 0;
- Node278_14textWidth =Node278_14fontSize <= 8 ? Node278_14width + Node278_14fontSize * 0.2 + 6 : Node278_14width - Node278_14fontSize * 0.2;
- Node278_14lineStart = (Node278_14width - (ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_14align === 'center') {
- Node278_14textStart = -3;
- Node278_14textWidth = Node278_14width;
- Node278_14lineStart = Node278_14width - ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_14.setImage(GD.getTextJSON(Node278_14width, Node278_14height, true, false, false, ' '+ Node278_14fontSize + 'px "Arial"'))
- Node278_14.setPosition(231*ratio.ratioX, 597*ratio.ratioY);
- Node278_14.setWidth(Node278_14width);
- Node278_14.setHeight(Node278_14height);
- Node278_14._nodeType = 'text';
- Node278_14._disallowEvert = true;
- Node278_14.setRotation(0*Math.PI/180);
- Node278_14.a('node.width', Node278_14width);
- Node278_14.a('node.height', Node278_14height);
- Node278_14.a('node.rect', [0, 0, Node278_14width, Node278_14height]);
- Node278_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node278_14.a('node.borderwidth', 0);
- Node278_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_14.a('node.gradient','');
- Node278_14.a('node.gradientcolor','');
- Node278_14.a('node.text','-');
- Node278_14.a('node.textalign','left');
- Node278_14.a('node.textvAlign','middle');
- Node278_14.a('node.textrect', [Node278_14textStart, 0, Node278_14textWidth, Node278_14height]);
- Node278_14.a('node.color','rgba(192,0,0,1)');
- Node278_14.a('node.font',' '+ Node278_14fontSize + 'px "Arial"');
- Node278_14.a('node.textvisible',true);
- Node278_14.a('node.linefeed',false);
- if (false) {
- Node278_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_14.a('node.text') || '-';
- var color=Node278_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_14width,Node278_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_14.a('node.underlinepoints',[Node278_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node278_14fontSize + 'px "Arial"').width + 6, (Node278_14height - Node278_14fontSize) * 0.5*_ratio.ratioY + Node278_14fontSize + 2 ]);
- Node278_14.a('node.underlinevisible',false);
- Node278_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_14);
- zoomNodeList.push({
- node: Node278_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node278_15 = new ht.Node();
- var Node278_15textStart, Node278_15textWidth, Node278_15lineStart, Node278_15align = 'left', Node278_15fontSize = 10.66664*_ratio.ratioY,Node278_15width = 43*_ratio.ratioX, Node278_15height = 27*_ratio.ratioY;
- (function () {
- if (Node278_15align === 'left') {
- Node278_15textStart = Node278_15fontSize * 0.2 > 2 ? Node278_15fontSize * 0.2 - 4 : Node278_15fontSize * 0.2 - 9;
- Node278_15textWidth = Node278_15width;
- Node278_15lineStart = 1;
- } else if (Node278_15align === 'right') {
- Node278_15textStart = 0;
- Node278_15textWidth =Node278_15fontSize <= 8 ? Node278_15width + Node278_15fontSize * 0.2 + 6 : Node278_15width - Node278_15fontSize * 0.2;
- Node278_15lineStart = (Node278_15width - (ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node278_15align === 'center') {
- Node278_15textStart = -3;
- Node278_15textWidth = Node278_15width;
- Node278_15lineStart = Node278_15width - ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node278_15.setImage(GD.getTextJSON(Node278_15width, Node278_15height, true, false, false, ' '+ Node278_15fontSize + 'px "Arial"'))
- Node278_15.setPosition(278*ratio.ratioX, 597*ratio.ratioY);
- Node278_15.setWidth(Node278_15width);
- Node278_15.setHeight(Node278_15height);
- Node278_15._nodeType = 'text';
- Node278_15._disallowEvert = true;
- Node278_15.setRotation(0*Math.PI/180);
- Node278_15.a('node.width', Node278_15width);
- Node278_15.a('node.height', Node278_15height);
- Node278_15.a('node.rect', [0, 0, Node278_15width, Node278_15height]);
- Node278_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node278_15.a('node.borderwidth', 0);
- Node278_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node278_15.a('node.gradient','');
- Node278_15.a('node.gradientcolor','');
- Node278_15.a('node.text','万kwh');
- Node278_15.a('node.textalign','left');
- Node278_15.a('node.textvAlign','middle');
- Node278_15.a('node.textrect', [Node278_15textStart, 0, Node278_15textWidth, Node278_15height]);
- Node278_15.a('node.color','rgba(0,0,0,1)');
- Node278_15.a('node.font',' '+ Node278_15fontSize + 'px "Arial"');
- Node278_15.a('node.textvisible',true);
- Node278_15.a('node.linefeed',false);
- if (false) {
- Node278_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node278_15.a('node.text') || '万kwh';
- var color=Node278_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node278_15width,Node278_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node278_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node278_15.a('node.underlinepoints',[Node278_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node278_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node278_15fontSize + 'px "Arial"').width + 6, (Node278_15height - Node278_15fontSize) * 0.5*_ratio.ratioY + Node278_15fontSize + 2 ]);
- Node278_15.a('node.underlinevisible',false);
- Node278_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node278_15);
- zoomNodeList.push({
- node: Node278_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); var Node279_0;
- (function () {
- var _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var ratioX, ratioY;
- if ('Default' === 'False') {
- ratioX = 1;
- ratioY = 1;
- } else if ('Default' === 'X') {
- ratioX = ratioY = _ratio.ratioX;
- } else if ('Default' === 'Y') {
- ratioX = ratioY = _ratio.ratioY;
- } else {
- ratioX = _ratio.ratioX;
- ratioY = _ratio.ratioY;
- }
- ht.Default.setImage('imgimage//img//map_name_03.png', PAGEROOTDIR + 'image//img//map_name_03.png');
- Node279_0 = new ht.Node();
- Node279_0.setPosition(193*ratio.ratioX, 860*ratio.ratioY);
- Node279_0.setSize(146*ratioX, 141*ratioY);
- Node279_0.setImage('imgimage//img//map_name_03.png');
- Node279_0.setRotation(0*Math.PI/180);
- Node279_0._zoomBy = 'Default';
- Node279_0._nodeType = 'image';
- Node279_0._disallowEvert = true;
- dataModel.add(Node279_0);
- })();
- _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_1 = new ht.Node();
- var Node279_1textStart, Node279_1textWidth, Node279_1lineStart, Node279_1align = 'left', Node279_1fontSize = 10.66664*_ratio.ratioY,Node279_1width = 72*_ratio.ratioX, Node279_1height = 27*_ratio.ratioY;
- (function () {
- if (Node279_1align === 'left') {
- Node279_1textStart = Node279_1fontSize * 0.2 > 2 ? Node279_1fontSize * 0.2 - 4 : Node279_1fontSize * 0.2 - 9;
- Node279_1textWidth = Node279_1width;
- Node279_1lineStart = 1;
- } else if (Node279_1align === 'right') {
- Node279_1textStart = 0;
- Node279_1textWidth =Node279_1fontSize <= 8 ? Node279_1width + Node279_1fontSize * 0.2 + 6 : Node279_1width - Node279_1fontSize * 0.2;
- Node279_1lineStart = (Node279_1width - (ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_1align === 'center') {
- Node279_1textStart = -3;
- Node279_1textWidth = Node279_1width;
- Node279_1lineStart = Node279_1width - ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_1.setImage(GD.getTextJSON(Node279_1width, Node279_1height, true, false, false, ' '+ Node279_1fontSize + 'px "Arial"'))
- Node279_1.setPosition(163*ratio.ratioX, 813*ratio.ratioY);
- Node279_1.setWidth(Node279_1width);
- Node279_1.setHeight(Node279_1height);
- Node279_1._nodeType = 'text';
- Node279_1._disallowEvert = true;
- Node279_1.setRotation(0*Math.PI/180);
- Node279_1.a('node.width', Node279_1width);
- Node279_1.a('node.height', Node279_1height);
- Node279_1.a('node.rect', [0, 0, Node279_1width, Node279_1height]);
- Node279_1.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_1.a('node.borderwidth', 0);
- Node279_1.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_1.a('node.gradient','');
- Node279_1.a('node.gradientcolor','');
- Node279_1.a('node.text','风机台数');
- Node279_1.a('node.textalign','left');
- Node279_1.a('node.textvAlign','middle');
- Node279_1.a('node.textrect', [Node279_1textStart, 0, Node279_1textWidth, Node279_1height]);
- Node279_1.a('node.color','rgba(0,0,0,1)');
- Node279_1.a('node.font',' '+ Node279_1fontSize + 'px "Arial"');
- Node279_1.a('node.textvisible',true);
- Node279_1.a('node.linefeed',false);
- if (false) {
- Node279_1.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_1.a('node.text') || '风机台数';
- var color=Node279_1.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_1width,Node279_1height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_1fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_1.a('node.underlinepoints',[Node279_1lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_1fontSize + 2 , ht.Default.getTextSize('风机台数', ' '+ Node279_1fontSize + 'px "Arial"').width + 6, (Node279_1height - Node279_1fontSize) * 0.5*_ratio.ratioY + Node279_1fontSize + 2 ]);
- Node279_1.a('node.underlinevisible',false);
- Node279_1.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_1);
- zoomNodeList.push({
- node: Node279_1,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_2 = new ht.Node();
- var Node279_2textStart, Node279_2textWidth, Node279_2lineStart, Node279_2align = 'left', Node279_2fontSize = 10.66664*_ratio.ratioY,Node279_2width = 22*_ratio.ratioX, Node279_2height = 27*_ratio.ratioY;
- (function () {
- if (Node279_2align === 'left') {
- Node279_2textStart = Node279_2fontSize * 0.2 > 2 ? Node279_2fontSize * 0.2 - 4 : Node279_2fontSize * 0.2 - 9;
- Node279_2textWidth = Node279_2width;
- Node279_2lineStart = 1;
- } else if (Node279_2align === 'right') {
- Node279_2textStart = 0;
- Node279_2textWidth =Node279_2fontSize <= 8 ? Node279_2width + Node279_2fontSize * 0.2 + 6 : Node279_2width - Node279_2fontSize * 0.2;
- Node279_2lineStart = (Node279_2width - (ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_2align === 'center') {
- Node279_2textStart = -3;
- Node279_2textWidth = Node279_2width;
- Node279_2lineStart = Node279_2width - ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_2.setImage(GD.getTextJSON(Node279_2width, Node279_2height, true, false, false, ' '+ Node279_2fontSize + 'px "Arial"'))
- Node279_2.setPosition(201*ratio.ratioX, 813*ratio.ratioY);
- Node279_2.setWidth(Node279_2width);
- Node279_2.setHeight(Node279_2height);
- Node279_2._nodeType = 'text';
- Node279_2._disallowEvert = true;
- Node279_2.setRotation(0*Math.PI/180);
- Node279_2.a('node.width', Node279_2width);
- Node279_2.a('node.height', Node279_2height);
- Node279_2.a('node.rect', [0, 0, Node279_2width, Node279_2height]);
- Node279_2.a('node.bordercolor','rgba(192,0,0,1)');
- Node279_2.a('node.borderwidth', 0);
- Node279_2.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_2.a('node.gradient','');
- Node279_2.a('node.gradientcolor','');
- Node279_2.a('node.text','99');
- Node279_2.a('node.textalign','left');
- Node279_2.a('node.textvAlign','middle');
- Node279_2.a('node.textrect', [Node279_2textStart, 0, Node279_2textWidth, Node279_2height]);
- Node279_2.a('node.color','rgba(192,0,0,1)');
- Node279_2.a('node.font',' '+ Node279_2fontSize + 'px "Arial"');
- Node279_2.a('node.textvisible',true);
- Node279_2.a('node.linefeed',false);
- if (false) {
- Node279_2.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_2.a('node.text') || '99';
- var color=Node279_2.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_2width,Node279_2height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_2fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_2.a('node.underlinepoints',[Node279_2lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_2fontSize + 2 , ht.Default.getTextSize('99', ' '+ Node279_2fontSize + 'px "Arial"').width + 6, (Node279_2height - Node279_2fontSize) * 0.5*_ratio.ratioY + Node279_2fontSize + 2 ]);
- Node279_2.a('node.underlinevisible',false);
- Node279_2.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_2);
- zoomNodeList.push({
- node: Node279_2,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_3 = new ht.Node();
- var Node279_3textStart, Node279_3textWidth, Node279_3lineStart, Node279_3align = 'left', Node279_3fontSize = 10.66664*_ratio.ratioY,Node279_3width = 43*_ratio.ratioX, Node279_3height = 27*_ratio.ratioY;
- (function () {
- if (Node279_3align === 'left') {
- Node279_3textStart = Node279_3fontSize * 0.2 > 2 ? Node279_3fontSize * 0.2 - 4 : Node279_3fontSize * 0.2 - 9;
- Node279_3textWidth = Node279_3width;
- Node279_3lineStart = 1;
- } else if (Node279_3align === 'right') {
- Node279_3textStart = 0;
- Node279_3textWidth =Node279_3fontSize <= 8 ? Node279_3width + Node279_3fontSize * 0.2 + 6 : Node279_3width - Node279_3fontSize * 0.2;
- Node279_3lineStart = (Node279_3width - (ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_3align === 'center') {
- Node279_3textStart = -3;
- Node279_3textWidth = Node279_3width;
- Node279_3lineStart = Node279_3width - ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_3.setImage(GD.getTextJSON(Node279_3width, Node279_3height, true, false, false, ' '+ Node279_3fontSize + 'px "Arial"'))
- Node279_3.setPosition(248*ratio.ratioX, 813*ratio.ratioY);
- Node279_3.setWidth(Node279_3width);
- Node279_3.setHeight(Node279_3height);
- Node279_3._nodeType = 'text';
- Node279_3._disallowEvert = true;
- Node279_3.setRotation(0*Math.PI/180);
- Node279_3.a('node.width', Node279_3width);
- Node279_3.a('node.height', Node279_3height);
- Node279_3.a('node.rect', [0, 0, Node279_3width, Node279_3height]);
- Node279_3.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_3.a('node.borderwidth', 0);
- Node279_3.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_3.a('node.gradient','');
- Node279_3.a('node.gradientcolor','');
- Node279_3.a('node.text','万kwh');
- Node279_3.a('node.textalign','left');
- Node279_3.a('node.textvAlign','middle');
- Node279_3.a('node.textrect', [Node279_3textStart, 0, Node279_3textWidth, Node279_3height]);
- Node279_3.a('node.color','rgba(0,0,0,1)');
- Node279_3.a('node.font',' '+ Node279_3fontSize + 'px "Arial"');
- Node279_3.a('node.textvisible',true);
- Node279_3.a('node.linefeed',false);
- if (false) {
- Node279_3.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_3.a('node.text') || '万kwh';
- var color=Node279_3.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_3width,Node279_3height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_3fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_3.a('node.underlinepoints',[Node279_3lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_3fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_3fontSize + 'px "Arial"').width + 6, (Node279_3height - Node279_3fontSize) * 0.5*_ratio.ratioY + Node279_3fontSize + 2 ]);
- Node279_3.a('node.underlinevisible',false);
- Node279_3.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_3);
- zoomNodeList.push({
- node: Node279_3,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_4 = new ht.Node();
- var Node279_4textStart, Node279_4textWidth, Node279_4lineStart, Node279_4align = 'left', Node279_4fontSize = 10.66664*_ratio.ratioY,Node279_4width = 72*_ratio.ratioX, Node279_4height = 27*_ratio.ratioY;
- (function () {
- if (Node279_4align === 'left') {
- Node279_4textStart = Node279_4fontSize * 0.2 > 2 ? Node279_4fontSize * 0.2 - 4 : Node279_4fontSize * 0.2 - 9;
- Node279_4textWidth = Node279_4width;
- Node279_4lineStart = 1;
- } else if (Node279_4align === 'right') {
- Node279_4textStart = 0;
- Node279_4textWidth =Node279_4fontSize <= 8 ? Node279_4width + Node279_4fontSize * 0.2 + 6 : Node279_4width - Node279_4fontSize * 0.2;
- Node279_4lineStart = (Node279_4width - (ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_4align === 'center') {
- Node279_4textStart = -3;
- Node279_4textWidth = Node279_4width;
- Node279_4lineStart = Node279_4width - ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_4.setImage(GD.getTextJSON(Node279_4width, Node279_4height, true, false, false, ' '+ Node279_4fontSize + 'px "Arial"'))
- Node279_4.setPosition(163*ratio.ratioX, 839*ratio.ratioY);
- Node279_4.setWidth(Node279_4width);
- Node279_4.setHeight(Node279_4height);
- Node279_4._nodeType = 'text';
- Node279_4._disallowEvert = true;
- Node279_4.setRotation(0*Math.PI/180);
- Node279_4.a('node.width', Node279_4width);
- Node279_4.a('node.height', Node279_4height);
- Node279_4.a('node.rect', [0, 0, Node279_4width, Node279_4height]);
- Node279_4.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_4.a('node.borderwidth', 0);
- Node279_4.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_4.a('node.gradient','');
- Node279_4.a('node.gradientcolor','');
- Node279_4.a('node.text','装机容量');
- Node279_4.a('node.textalign','left');
- Node279_4.a('node.textvAlign','middle');
- Node279_4.a('node.textrect', [Node279_4textStart, 0, Node279_4textWidth, Node279_4height]);
- Node279_4.a('node.color','rgba(0,0,0,1)');
- Node279_4.a('node.font',' '+ Node279_4fontSize + 'px "Arial"');
- Node279_4.a('node.textvisible',true);
- Node279_4.a('node.linefeed',false);
- if (false) {
- Node279_4.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_4.a('node.text') || '装机容量';
- var color=Node279_4.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_4width,Node279_4height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_4fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_4.a('node.underlinepoints',[Node279_4lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_4fontSize + 2 , ht.Default.getTextSize('装机容量', ' '+ Node279_4fontSize + 'px "Arial"').width + 6, (Node279_4height - Node279_4fontSize) * 0.5*_ratio.ratioY + Node279_4fontSize + 2 ]);
- Node279_4.a('node.underlinevisible',false);
- Node279_4.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_4);
- zoomNodeList.push({
- node: Node279_4,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_5 = new ht.Node();
- var Node279_5textStart, Node279_5textWidth, Node279_5lineStart, Node279_5align = 'left', Node279_5fontSize = 10.66664*_ratio.ratioY,Node279_5width = 31*_ratio.ratioX, Node279_5height = 27*_ratio.ratioY;
- (function () {
- if (Node279_5align === 'left') {
- Node279_5textStart = Node279_5fontSize * 0.2 > 2 ? Node279_5fontSize * 0.2 - 4 : Node279_5fontSize * 0.2 - 9;
- Node279_5textWidth = Node279_5width;
- Node279_5lineStart = 1;
- } else if (Node279_5align === 'right') {
- Node279_5textStart = 0;
- Node279_5textWidth =Node279_5fontSize <= 8 ? Node279_5width + Node279_5fontSize * 0.2 + 6 : Node279_5width - Node279_5fontSize * 0.2;
- Node279_5lineStart = (Node279_5width - (ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_5align === 'center') {
- Node279_5textStart = -3;
- Node279_5textWidth = Node279_5width;
- Node279_5lineStart = Node279_5width - ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_5.setImage(GD.getTextJSON(Node279_5width, Node279_5height, true, false, false, ' '+ Node279_5fontSize + 'px "Arial"'))
- Node279_5.setPosition(206*ratio.ratioX, 839*ratio.ratioY);
- Node279_5.setWidth(Node279_5width);
- Node279_5.setHeight(Node279_5height);
- Node279_5._nodeType = 'text';
- Node279_5._disallowEvert = true;
- Node279_5.setRotation(0*Math.PI/180);
- Node279_5.a('node.width', Node279_5width);
- Node279_5.a('node.height', Node279_5height);
- Node279_5.a('node.rect', [0, 0, Node279_5width, Node279_5height]);
- Node279_5.a('node.bordercolor','rgba(192,0,0,1)');
- Node279_5.a('node.borderwidth', 0);
- Node279_5.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_5.a('node.gradient','');
- Node279_5.a('node.gradientcolor','');
- Node279_5.a('node.text','14.85');
- Node279_5.a('node.textalign','left');
- Node279_5.a('node.textvAlign','middle');
- Node279_5.a('node.textrect', [Node279_5textStart, 0, Node279_5textWidth, Node279_5height]);
- Node279_5.a('node.color','rgba(192,0,0,1)');
- Node279_5.a('node.font',' '+ Node279_5fontSize + 'px "Arial"');
- Node279_5.a('node.textvisible',true);
- Node279_5.a('node.linefeed',false);
- if (false) {
- Node279_5.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_5.a('node.text') || '14.85';
- var color=Node279_5.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_5width,Node279_5height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_5fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_5.a('node.underlinepoints',[Node279_5lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_5fontSize + 2 , ht.Default.getTextSize('14.85', ' '+ Node279_5fontSize + 'px "Arial"').width + 6, (Node279_5height - Node279_5fontSize) * 0.5*_ratio.ratioY + Node279_5fontSize + 2 ]);
- Node279_5.a('node.underlinevisible',false);
- Node279_5.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_5);
- zoomNodeList.push({
- node: Node279_5,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_6 = new ht.Node();
- var Node279_6textStart, Node279_6textWidth, Node279_6lineStart, Node279_6align = 'left', Node279_6fontSize = 10.66664*_ratio.ratioY,Node279_6width = 43*_ratio.ratioX, Node279_6height = 27*_ratio.ratioY;
- (function () {
- if (Node279_6align === 'left') {
- Node279_6textStart = Node279_6fontSize * 0.2 > 2 ? Node279_6fontSize * 0.2 - 4 : Node279_6fontSize * 0.2 - 9;
- Node279_6textWidth = Node279_6width;
- Node279_6lineStart = 1;
- } else if (Node279_6align === 'right') {
- Node279_6textStart = 0;
- Node279_6textWidth =Node279_6fontSize <= 8 ? Node279_6width + Node279_6fontSize * 0.2 + 6 : Node279_6width - Node279_6fontSize * 0.2;
- Node279_6lineStart = (Node279_6width - (ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_6align === 'center') {
- Node279_6textStart = -3;
- Node279_6textWidth = Node279_6width;
- Node279_6lineStart = Node279_6width - ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_6.setImage(GD.getTextJSON(Node279_6width, Node279_6height, true, false, false, ' '+ Node279_6fontSize + 'px "Arial"'))
- Node279_6.setPosition(248*ratio.ratioX, 839*ratio.ratioY);
- Node279_6.setWidth(Node279_6width);
- Node279_6.setHeight(Node279_6height);
- Node279_6._nodeType = 'text';
- Node279_6._disallowEvert = true;
- Node279_6.setRotation(0*Math.PI/180);
- Node279_6.a('node.width', Node279_6width);
- Node279_6.a('node.height', Node279_6height);
- Node279_6.a('node.rect', [0, 0, Node279_6width, Node279_6height]);
- Node279_6.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_6.a('node.borderwidth', 0);
- Node279_6.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_6.a('node.gradient','');
- Node279_6.a('node.gradientcolor','');
- Node279_6.a('node.text','万kwh');
- Node279_6.a('node.textalign','left');
- Node279_6.a('node.textvAlign','middle');
- Node279_6.a('node.textrect', [Node279_6textStart, 0, Node279_6textWidth, Node279_6height]);
- Node279_6.a('node.color','rgba(0,0,0,1)');
- Node279_6.a('node.font',' '+ Node279_6fontSize + 'px "Arial"');
- Node279_6.a('node.textvisible',true);
- Node279_6.a('node.linefeed',false);
- if (false) {
- Node279_6.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_6.a('node.text') || '万kwh';
- var color=Node279_6.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_6width,Node279_6height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_6fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_6.a('node.underlinepoints',[Node279_6lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_6fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_6fontSize + 'px "Arial"').width + 6, (Node279_6height - Node279_6fontSize) * 0.5*_ratio.ratioY + Node279_6fontSize + 2 ]);
- Node279_6.a('node.underlinevisible',false);
- Node279_6.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_6);
- zoomNodeList.push({
- node: Node279_6,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_7 = new ht.Node();
- var Node279_7textStart, Node279_7textWidth, Node279_7lineStart, Node279_7align = 'left', Node279_7fontSize = 10.66664*_ratio.ratioY,Node279_7width = 72*_ratio.ratioX, Node279_7height = 27*_ratio.ratioY;
- (function () {
- if (Node279_7align === 'left') {
- Node279_7textStart = Node279_7fontSize * 0.2 > 2 ? Node279_7fontSize * 0.2 - 4 : Node279_7fontSize * 0.2 - 9;
- Node279_7textWidth = Node279_7width;
- Node279_7lineStart = 1;
- } else if (Node279_7align === 'right') {
- Node279_7textStart = 0;
- Node279_7textWidth =Node279_7fontSize <= 8 ? Node279_7width + Node279_7fontSize * 0.2 + 6 : Node279_7width - Node279_7fontSize * 0.2;
- Node279_7lineStart = (Node279_7width - (ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_7align === 'center') {
- Node279_7textStart = -3;
- Node279_7textWidth = Node279_7width;
- Node279_7lineStart = Node279_7width - ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_7.setImage(GD.getTextJSON(Node279_7width, Node279_7height, true, false, false, ' '+ Node279_7fontSize + 'px "Arial"'))
- Node279_7.setPosition(163*ratio.ratioX, 864*ratio.ratioY);
- Node279_7.setWidth(Node279_7width);
- Node279_7.setHeight(Node279_7height);
- Node279_7._nodeType = 'text';
- Node279_7._disallowEvert = true;
- Node279_7.setRotation(0*Math.PI/180);
- Node279_7.a('node.width', Node279_7width);
- Node279_7.a('node.height', Node279_7height);
- Node279_7.a('node.rect', [0, 0, Node279_7width, Node279_7height]);
- Node279_7.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_7.a('node.borderwidth', 0);
- Node279_7.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_7.a('node.gradient','');
- Node279_7.a('node.gradientcolor','');
- Node279_7.a('node.text','平均风速');
- Node279_7.a('node.textalign','left');
- Node279_7.a('node.textvAlign','middle');
- Node279_7.a('node.textrect', [Node279_7textStart, 0, Node279_7textWidth, Node279_7height]);
- Node279_7.a('node.color','rgba(0,0,0,1)');
- Node279_7.a('node.font',' '+ Node279_7fontSize + 'px "Arial"');
- Node279_7.a('node.textvisible',true);
- Node279_7.a('node.linefeed',false);
- if (false) {
- Node279_7.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_7.a('node.text') || '平均风速';
- var color=Node279_7.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_7width,Node279_7height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_7fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_7.a('node.underlinepoints',[Node279_7lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_7fontSize + 2 , ht.Default.getTextSize('平均风速', ' '+ Node279_7fontSize + 'px "Arial"').width + 6, (Node279_7height - Node279_7fontSize) * 0.5*_ratio.ratioY + Node279_7fontSize + 2 ]);
- Node279_7.a('node.underlinevisible',false);
- Node279_7.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_7);
- zoomNodeList.push({
- node: Node279_7,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_8 = new ht.Node();
- var Node279_8textStart, Node279_8textWidth, Node279_8lineStart, Node279_8align = 'left', Node279_8fontSize = 10.66664*_ratio.ratioY,Node279_8width = 22*_ratio.ratioX, Node279_8height = 27*_ratio.ratioY;
- (function () {
- if (Node279_8align === 'left') {
- Node279_8textStart = Node279_8fontSize * 0.2 > 2 ? Node279_8fontSize * 0.2 - 4 : Node279_8fontSize * 0.2 - 9;
- Node279_8textWidth = Node279_8width;
- Node279_8lineStart = 1;
- } else if (Node279_8align === 'right') {
- Node279_8textStart = 0;
- Node279_8textWidth =Node279_8fontSize <= 8 ? Node279_8width + Node279_8fontSize * 0.2 + 6 : Node279_8width - Node279_8fontSize * 0.2;
- Node279_8lineStart = (Node279_8width - (ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_8align === 'center') {
- Node279_8textStart = -3;
- Node279_8textWidth = Node279_8width;
- Node279_8lineStart = Node279_8width - ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_8.setImage(GD.getTextJSON(Node279_8width, Node279_8height, true, false, false, ' '+ Node279_8fontSize + 'px "Arial"'))
- Node279_8.setPosition(201*ratio.ratioX, 864*ratio.ratioY);
- Node279_8.setWidth(Node279_8width);
- Node279_8.setHeight(Node279_8height);
- Node279_8._nodeType = 'text';
- Node279_8._disallowEvert = true;
- Node279_8.setRotation(0*Math.PI/180);
- Node279_8.a('node.width', Node279_8width);
- Node279_8.a('node.height', Node279_8height);
- Node279_8.a('node.rect', [0, 0, Node279_8width, Node279_8height]);
- Node279_8.a('node.bordercolor','rgba(192,0,0,1)');
- Node279_8.a('node.borderwidth', 0);
- Node279_8.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_8.a('node.gradient','');
- Node279_8.a('node.gradientcolor','');
- Node279_8.a('node.text','-');
- Node279_8.a('node.textalign','left');
- Node279_8.a('node.textvAlign','middle');
- Node279_8.a('node.textrect', [Node279_8textStart, 0, Node279_8textWidth, Node279_8height]);
- Node279_8.a('node.color','rgba(192,0,0,1)');
- Node279_8.a('node.font',' '+ Node279_8fontSize + 'px "Arial"');
- Node279_8.a('node.textvisible',true);
- Node279_8.a('node.linefeed',false);
- if (false) {
- Node279_8.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_8.a('node.text') || '-';
- var color=Node279_8.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_8width,Node279_8height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_8fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_8.a('node.underlinepoints',[Node279_8lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_8fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_8fontSize + 'px "Arial"').width + 6, (Node279_8height - Node279_8fontSize) * 0.5*_ratio.ratioY + Node279_8fontSize + 2 ]);
- Node279_8.a('node.underlinevisible',false);
- Node279_8.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_8);
- zoomNodeList.push({
- node: Node279_8,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_9 = new ht.Node();
- var Node279_9textStart, Node279_9textWidth, Node279_9lineStart, Node279_9align = 'left', Node279_9fontSize = 10.66664*_ratio.ratioY,Node279_9width = 43*_ratio.ratioX, Node279_9height = 27*_ratio.ratioY;
- (function () {
- if (Node279_9align === 'left') {
- Node279_9textStart = Node279_9fontSize * 0.2 > 2 ? Node279_9fontSize * 0.2 - 4 : Node279_9fontSize * 0.2 - 9;
- Node279_9textWidth = Node279_9width;
- Node279_9lineStart = 1;
- } else if (Node279_9align === 'right') {
- Node279_9textStart = 0;
- Node279_9textWidth =Node279_9fontSize <= 8 ? Node279_9width + Node279_9fontSize * 0.2 + 6 : Node279_9width - Node279_9fontSize * 0.2;
- Node279_9lineStart = (Node279_9width - (ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_9align === 'center') {
- Node279_9textStart = -3;
- Node279_9textWidth = Node279_9width;
- Node279_9lineStart = Node279_9width - ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_9.setImage(GD.getTextJSON(Node279_9width, Node279_9height, true, false, false, ' '+ Node279_9fontSize + 'px "Arial"'))
- Node279_9.setPosition(248*ratio.ratioX, 864*ratio.ratioY);
- Node279_9.setWidth(Node279_9width);
- Node279_9.setHeight(Node279_9height);
- Node279_9._nodeType = 'text';
- Node279_9._disallowEvert = true;
- Node279_9.setRotation(0*Math.PI/180);
- Node279_9.a('node.width', Node279_9width);
- Node279_9.a('node.height', Node279_9height);
- Node279_9.a('node.rect', [0, 0, Node279_9width, Node279_9height]);
- Node279_9.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_9.a('node.borderwidth', 0);
- Node279_9.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_9.a('node.gradient','');
- Node279_9.a('node.gradientcolor','');
- Node279_9.a('node.text','万kwh');
- Node279_9.a('node.textalign','left');
- Node279_9.a('node.textvAlign','middle');
- Node279_9.a('node.textrect', [Node279_9textStart, 0, Node279_9textWidth, Node279_9height]);
- Node279_9.a('node.color','rgba(0,0,0,1)');
- Node279_9.a('node.font',' '+ Node279_9fontSize + 'px "Arial"');
- Node279_9.a('node.textvisible',true);
- Node279_9.a('node.linefeed',false);
- if (false) {
- Node279_9.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_9.a('node.text') || '万kwh';
- var color=Node279_9.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_9width,Node279_9height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_9fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_9.a('node.underlinepoints',[Node279_9lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_9fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_9fontSize + 'px "Arial"').width + 6, (Node279_9height - Node279_9fontSize) * 0.5*_ratio.ratioY + Node279_9fontSize + 2 ]);
- Node279_9.a('node.underlinevisible',false);
- Node279_9.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_9);
- zoomNodeList.push({
- node: Node279_9,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_10 = new ht.Node();
- var Node279_10textStart, Node279_10textWidth, Node279_10lineStart, Node279_10align = 'left', Node279_10fontSize = 10.66664*_ratio.ratioY,Node279_10width = 72*_ratio.ratioX, Node279_10height = 27*_ratio.ratioY;
- (function () {
- if (Node279_10align === 'left') {
- Node279_10textStart = Node279_10fontSize * 0.2 > 2 ? Node279_10fontSize * 0.2 - 4 : Node279_10fontSize * 0.2 - 9;
- Node279_10textWidth = Node279_10width;
- Node279_10lineStart = 1;
- } else if (Node279_10align === 'right') {
- Node279_10textStart = 0;
- Node279_10textWidth =Node279_10fontSize <= 8 ? Node279_10width + Node279_10fontSize * 0.2 + 6 : Node279_10width - Node279_10fontSize * 0.2;
- Node279_10lineStart = (Node279_10width - (ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_10align === 'center') {
- Node279_10textStart = -3;
- Node279_10textWidth = Node279_10width;
- Node279_10lineStart = Node279_10width - ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_10.setImage(GD.getTextJSON(Node279_10width, Node279_10height, true, false, false, ' '+ Node279_10fontSize + 'px "Arial"'))
- Node279_10.setPosition(163*ratio.ratioX, 890*ratio.ratioY);
- Node279_10.setWidth(Node279_10width);
- Node279_10.setHeight(Node279_10height);
- Node279_10._nodeType = 'text';
- Node279_10._disallowEvert = true;
- Node279_10.setRotation(0*Math.PI/180);
- Node279_10.a('node.width', Node279_10width);
- Node279_10.a('node.height', Node279_10height);
- Node279_10.a('node.rect', [0, 0, Node279_10width, Node279_10height]);
- Node279_10.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_10.a('node.borderwidth', 0);
- Node279_10.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_10.a('node.gradient','');
- Node279_10.a('node.gradientcolor','');
- Node279_10.a('node.text','日发电量');
- Node279_10.a('node.textalign','left');
- Node279_10.a('node.textvAlign','middle');
- Node279_10.a('node.textrect', [Node279_10textStart, 0, Node279_10textWidth, Node279_10height]);
- Node279_10.a('node.color','rgba(0,0,0,1)');
- Node279_10.a('node.font',' '+ Node279_10fontSize + 'px "Arial"');
- Node279_10.a('node.textvisible',true);
- Node279_10.a('node.linefeed',false);
- if (false) {
- Node279_10.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_10.a('node.text') || '日发电量';
- var color=Node279_10.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_10width,Node279_10height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_10fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_10.a('node.underlinepoints',[Node279_10lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_10fontSize + 2 , ht.Default.getTextSize('日发电量', ' '+ Node279_10fontSize + 'px "Arial"').width + 6, (Node279_10height - Node279_10fontSize) * 0.5*_ratio.ratioY + Node279_10fontSize + 2 ]);
- Node279_10.a('node.underlinevisible',false);
- Node279_10.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_10);
- zoomNodeList.push({
- node: Node279_10,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_11 = new ht.Node();
- var Node279_11textStart, Node279_11textWidth, Node279_11lineStart, Node279_11align = 'left', Node279_11fontSize = 10.66664*_ratio.ratioY,Node279_11width = 31*_ratio.ratioX, Node279_11height = 27*_ratio.ratioY;
- (function () {
- if (Node279_11align === 'left') {
- Node279_11textStart = Node279_11fontSize * 0.2 > 2 ? Node279_11fontSize * 0.2 - 4 : Node279_11fontSize * 0.2 - 9;
- Node279_11textWidth = Node279_11width;
- Node279_11lineStart = 1;
- } else if (Node279_11align === 'right') {
- Node279_11textStart = 0;
- Node279_11textWidth =Node279_11fontSize <= 8 ? Node279_11width + Node279_11fontSize * 0.2 + 6 : Node279_11width - Node279_11fontSize * 0.2;
- Node279_11lineStart = (Node279_11width - (ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_11align === 'center') {
- Node279_11textStart = -3;
- Node279_11textWidth = Node279_11width;
- Node279_11lineStart = Node279_11width - ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_11.setImage(GD.getTextJSON(Node279_11width, Node279_11height, true, false, false, ' '+ Node279_11fontSize + 'px "Arial"'))
- Node279_11.setPosition(206*ratio.ratioX, 890*ratio.ratioY);
- Node279_11.setWidth(Node279_11width);
- Node279_11.setHeight(Node279_11height);
- Node279_11._nodeType = 'text';
- Node279_11._disallowEvert = true;
- Node279_11.setRotation(0*Math.PI/180);
- Node279_11.a('node.width', Node279_11width);
- Node279_11.a('node.height', Node279_11height);
- Node279_11.a('node.rect', [0, 0, Node279_11width, Node279_11height]);
- Node279_11.a('node.bordercolor','rgba(192,0,0,1)');
- Node279_11.a('node.borderwidth', 0);
- Node279_11.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_11.a('node.gradient','');
- Node279_11.a('node.gradientcolor','');
- Node279_11.a('node.text','-');
- Node279_11.a('node.textalign','left');
- Node279_11.a('node.textvAlign','middle');
- Node279_11.a('node.textrect', [Node279_11textStart, 0, Node279_11textWidth, Node279_11height]);
- Node279_11.a('node.color','rgba(192,0,0,1)');
- Node279_11.a('node.font',' '+ Node279_11fontSize + 'px "Arial"');
- Node279_11.a('node.textvisible',true);
- Node279_11.a('node.linefeed',false);
- if (false) {
- Node279_11.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_11.a('node.text') || '-';
- var color=Node279_11.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_11width,Node279_11height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_11fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_11.a('node.underlinepoints',[Node279_11lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_11fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_11fontSize + 'px "Arial"').width + 6, (Node279_11height - Node279_11fontSize) * 0.5*_ratio.ratioY + Node279_11fontSize + 2 ]);
- Node279_11.a('node.underlinevisible',false);
- Node279_11.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_11);
- zoomNodeList.push({
- node: Node279_11,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_12 = new ht.Node();
- var Node279_12textStart, Node279_12textWidth, Node279_12lineStart, Node279_12align = 'left', Node279_12fontSize = 10.66664*_ratio.ratioY,Node279_12width = 43*_ratio.ratioX, Node279_12height = 27*_ratio.ratioY;
- (function () {
- if (Node279_12align === 'left') {
- Node279_12textStart = Node279_12fontSize * 0.2 > 2 ? Node279_12fontSize * 0.2 - 4 : Node279_12fontSize * 0.2 - 9;
- Node279_12textWidth = Node279_12width;
- Node279_12lineStart = 1;
- } else if (Node279_12align === 'right') {
- Node279_12textStart = 0;
- Node279_12textWidth =Node279_12fontSize <= 8 ? Node279_12width + Node279_12fontSize * 0.2 + 6 : Node279_12width - Node279_12fontSize * 0.2;
- Node279_12lineStart = (Node279_12width - (ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_12align === 'center') {
- Node279_12textStart = -3;
- Node279_12textWidth = Node279_12width;
- Node279_12lineStart = Node279_12width - ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_12.setImage(GD.getTextJSON(Node279_12width, Node279_12height, true, false, false, ' '+ Node279_12fontSize + 'px "Arial"'))
- Node279_12.setPosition(248*ratio.ratioX, 890*ratio.ratioY);
- Node279_12.setWidth(Node279_12width);
- Node279_12.setHeight(Node279_12height);
- Node279_12._nodeType = 'text';
- Node279_12._disallowEvert = true;
- Node279_12.setRotation(0*Math.PI/180);
- Node279_12.a('node.width', Node279_12width);
- Node279_12.a('node.height', Node279_12height);
- Node279_12.a('node.rect', [0, 0, Node279_12width, Node279_12height]);
- Node279_12.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_12.a('node.borderwidth', 0);
- Node279_12.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_12.a('node.gradient','');
- Node279_12.a('node.gradientcolor','');
- Node279_12.a('node.text','万kwh');
- Node279_12.a('node.textalign','left');
- Node279_12.a('node.textvAlign','middle');
- Node279_12.a('node.textrect', [Node279_12textStart, 0, Node279_12textWidth, Node279_12height]);
- Node279_12.a('node.color','rgba(0,0,0,1)');
- Node279_12.a('node.font',' '+ Node279_12fontSize + 'px "Arial"');
- Node279_12.a('node.textvisible',true);
- Node279_12.a('node.linefeed',false);
- if (false) {
- Node279_12.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_12.a('node.text') || '万kwh';
- var color=Node279_12.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_12width,Node279_12height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_12fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_12.a('node.underlinepoints',[Node279_12lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_12fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_12fontSize + 'px "Arial"').width + 6, (Node279_12height - Node279_12fontSize) * 0.5*_ratio.ratioY + Node279_12fontSize + 2 ]);
- Node279_12.a('node.underlinevisible',false);
- Node279_12.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_12);
- zoomNodeList.push({
- node: Node279_12,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_13 = new ht.Node();
- var Node279_13textStart, Node279_13textWidth, Node279_13lineStart, Node279_13align = 'left', Node279_13fontSize = 10.66664*_ratio.ratioY,Node279_13width = 72*_ratio.ratioX, Node279_13height = 27*_ratio.ratioY;
- (function () {
- if (Node279_13align === 'left') {
- Node279_13textStart = Node279_13fontSize * 0.2 > 2 ? Node279_13fontSize * 0.2 - 4 : Node279_13fontSize * 0.2 - 9;
- Node279_13textWidth = Node279_13width;
- Node279_13lineStart = 1;
- } else if (Node279_13align === 'right') {
- Node279_13textStart = 0;
- Node279_13textWidth =Node279_13fontSize <= 8 ? Node279_13width + Node279_13fontSize * 0.2 + 6 : Node279_13width - Node279_13fontSize * 0.2;
- Node279_13lineStart = (Node279_13width - (ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_13align === 'center') {
- Node279_13textStart = -3;
- Node279_13textWidth = Node279_13width;
- Node279_13lineStart = Node279_13width - ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_13.setImage(GD.getTextJSON(Node279_13width, Node279_13height, true, false, false, ' '+ Node279_13fontSize + 'px "Arial"'))
- Node279_13.setPosition(163*ratio.ratioX, 917*ratio.ratioY);
- Node279_13.setWidth(Node279_13width);
- Node279_13.setHeight(Node279_13height);
- Node279_13._nodeType = 'text';
- Node279_13._disallowEvert = true;
- Node279_13.setRotation(0*Math.PI/180);
- Node279_13.a('node.width', Node279_13width);
- Node279_13.a('node.height', Node279_13height);
- Node279_13.a('node.rect', [0, 0, Node279_13width, Node279_13height]);
- Node279_13.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_13.a('node.borderwidth', 0);
- Node279_13.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_13.a('node.gradient','');
- Node279_13.a('node.gradientcolor','');
- Node279_13.a('node.text','有功功率');
- Node279_13.a('node.textalign','left');
- Node279_13.a('node.textvAlign','middle');
- Node279_13.a('node.textrect', [Node279_13textStart, 0, Node279_13textWidth, Node279_13height]);
- Node279_13.a('node.color','rgba(0,0,0,1)');
- Node279_13.a('node.font',' '+ Node279_13fontSize + 'px "Arial"');
- Node279_13.a('node.textvisible',true);
- Node279_13.a('node.linefeed',false);
- if (false) {
- Node279_13.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_13.a('node.text') || '有功功率';
- var color=Node279_13.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_13width,Node279_13height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_13fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_13.a('node.underlinepoints',[Node279_13lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_13fontSize + 2 , ht.Default.getTextSize('有功功率', ' '+ Node279_13fontSize + 'px "Arial"').width + 6, (Node279_13height - Node279_13fontSize) * 0.5*_ratio.ratioY + Node279_13fontSize + 2 ]);
- Node279_13.a('node.underlinevisible',false);
- Node279_13.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_13);
- zoomNodeList.push({
- node: Node279_13,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_14 = new ht.Node();
- var Node279_14textStart, Node279_14textWidth, Node279_14lineStart, Node279_14align = 'left', Node279_14fontSize = 10.66664*_ratio.ratioY,Node279_14width = 22*_ratio.ratioX, Node279_14height = 27*_ratio.ratioY;
- (function () {
- if (Node279_14align === 'left') {
- Node279_14textStart = Node279_14fontSize * 0.2 > 2 ? Node279_14fontSize * 0.2 - 4 : Node279_14fontSize * 0.2 - 9;
- Node279_14textWidth = Node279_14width;
- Node279_14lineStart = 1;
- } else if (Node279_14align === 'right') {
- Node279_14textStart = 0;
- Node279_14textWidth =Node279_14fontSize <= 8 ? Node279_14width + Node279_14fontSize * 0.2 + 6 : Node279_14width - Node279_14fontSize * 0.2;
- Node279_14lineStart = (Node279_14width - (ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_14align === 'center') {
- Node279_14textStart = -3;
- Node279_14textWidth = Node279_14width;
- Node279_14lineStart = Node279_14width - ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_14.setImage(GD.getTextJSON(Node279_14width, Node279_14height, true, false, false, ' '+ Node279_14fontSize + 'px "Arial"'))
- Node279_14.setPosition(201*ratio.ratioX, 917*ratio.ratioY);
- Node279_14.setWidth(Node279_14width);
- Node279_14.setHeight(Node279_14height);
- Node279_14._nodeType = 'text';
- Node279_14._disallowEvert = true;
- Node279_14.setRotation(0*Math.PI/180);
- Node279_14.a('node.width', Node279_14width);
- Node279_14.a('node.height', Node279_14height);
- Node279_14.a('node.rect', [0, 0, Node279_14width, Node279_14height]);
- Node279_14.a('node.bordercolor','rgba(192,0,0,1)');
- Node279_14.a('node.borderwidth', 0);
- Node279_14.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_14.a('node.gradient','');
- Node279_14.a('node.gradientcolor','');
- Node279_14.a('node.text','-');
- Node279_14.a('node.textalign','left');
- Node279_14.a('node.textvAlign','middle');
- Node279_14.a('node.textrect', [Node279_14textStart, 0, Node279_14textWidth, Node279_14height]);
- Node279_14.a('node.color','rgba(192,0,0,1)');
- Node279_14.a('node.font',' '+ Node279_14fontSize + 'px "Arial"');
- Node279_14.a('node.textvisible',true);
- Node279_14.a('node.linefeed',false);
- if (false) {
- Node279_14.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_14.a('node.text') || '-';
- var color=Node279_14.a('node.color') || 'rgba(192,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_14width,Node279_14height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_14fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_14.a('node.underlinepoints',[Node279_14lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_14fontSize + 2 , ht.Default.getTextSize('-', ' '+ Node279_14fontSize + 'px "Arial"').width + 6, (Node279_14height - Node279_14fontSize) * 0.5*_ratio.ratioY + Node279_14fontSize + 2 ]);
- Node279_14.a('node.underlinevisible',false);
- Node279_14.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_14);
- zoomNodeList.push({
- node: Node279_14,
- borderWidth: 0,
- attr: 'node.borderwidth'
- }); _ratio = GD.getRatioWithRotation(0*Math.PI/180, ratio);
- var Node279_15 = new ht.Node();
- var Node279_15textStart, Node279_15textWidth, Node279_15lineStart, Node279_15align = 'left', Node279_15fontSize = 10.66664*_ratio.ratioY,Node279_15width = 43*_ratio.ratioX, Node279_15height = 27*_ratio.ratioY;
- (function () {
- if (Node279_15align === 'left') {
- Node279_15textStart = Node279_15fontSize * 0.2 > 2 ? Node279_15fontSize * 0.2 - 4 : Node279_15fontSize * 0.2 - 9;
- Node279_15textWidth = Node279_15width;
- Node279_15lineStart = 1;
- } else if (Node279_15align === 'right') {
- Node279_15textStart = 0;
- Node279_15textWidth =Node279_15fontSize <= 8 ? Node279_15width + Node279_15fontSize * 0.2 + 6 : Node279_15width - Node279_15fontSize * 0.2;
- Node279_15lineStart = (Node279_15width - (ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width + 6)) * 0.5;
- } else if (Node279_15align === 'center') {
- Node279_15textStart = -3;
- Node279_15textWidth = Node279_15width;
- Node279_15lineStart = Node279_15width - ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width - 11;
- }
- })();
- Node279_15.setImage(GD.getTextJSON(Node279_15width, Node279_15height, true, false, false, ' '+ Node279_15fontSize + 'px "Arial"'))
- Node279_15.setPosition(248*ratio.ratioX, 917*ratio.ratioY);
- Node279_15.setWidth(Node279_15width);
- Node279_15.setHeight(Node279_15height);
- Node279_15._nodeType = 'text';
- Node279_15._disallowEvert = true;
- Node279_15.setRotation(0*Math.PI/180);
- Node279_15.a('node.width', Node279_15width);
- Node279_15.a('node.height', Node279_15height);
- Node279_15.a('node.rect', [0, 0, Node279_15width, Node279_15height]);
- Node279_15.a('node.bordercolor','rgba(0,0,0,1)');
- Node279_15.a('node.borderwidth', 0);
- Node279_15.a('node.background','' || 'rgba(0,0,0,0)');
- Node279_15.a('node.gradient','');
- Node279_15.a('node.gradientcolor','');
- Node279_15.a('node.text','万kwh');
- Node279_15.a('node.textalign','left');
- Node279_15.a('node.textvAlign','middle');
- Node279_15.a('node.textrect', [Node279_15textStart, 0, Node279_15textWidth, Node279_15height]);
- Node279_15.a('node.color','rgba(0,0,0,1)');
- Node279_15.a('node.font',' '+ Node279_15fontSize + 'px "Arial"');
- Node279_15.a('node.textvisible',true);
- Node279_15.a('node.linefeed',false);
- if (false) {
- Node279_15.a('node.textfunc',function(g) {
- g.beginPath();
- var str=Node279_15.a('node.text') || '万kwh';
- var color=Node279_15.a('node.color') || 'rgba(0,0,0,1)';
- canvasTextAutoLine(str,0,10.66664*0.5*_ratio.ratioY,Node279_15width,Node279_15height,10.66664*_ratio.ratioY,"left",color,' '+ Node279_15fontSize + 'px "Arial"', 0,g);
- });
- }
- if (false) {
- Node279_15.a('node.underlinepoints',[Node279_15lineStart, (27 - 10.66664) * 0.5 * _ratio.ratioY + Node279_15fontSize + 2 , ht.Default.getTextSize('万kwh', ' '+ Node279_15fontSize + 'px "Arial"').width + 6, (Node279_15height - Node279_15fontSize) * 0.5*_ratio.ratioY + Node279_15fontSize + 2 ]);
- Node279_15.a('node.underlinevisible',false);
- Node279_15.a('node.underlineBorderWidth', 1);
- }
- dataModel.add(Node279_15);
- zoomNodeList.push({
- node: Node279_15,
- borderWidth: 0,
- attr: 'node.borderwidth'
- });
- /*@GraphList@*/
- var datas = dataModel.getDatas();
- ;(typeof PageBackground != "undefined") && (PageBackground.localDynamicVar = function ( ) {return {'sy':PageBackground_sy,'ldjsc':PageBackground_ldjsc,'ztjs':PageBackground_ztjs,'sbjz':PageBackground_sbjz,'xnfx':PageBackground_xnfx,'pjgl':PageBackground_pjgl,'zbph':PageBackground_zbph,'dbgl':PageBackground_dbgl,'bjzx':PageBackground_bjzx,'jrjs':PageBackground_jrjs,'sxxny':PageBackground_sxxny,'yygjb':PageBackground_yygjb,'plhts':PageBackground_plhts,'tqwns':PageBackground_tqwns,'gljf':PageBackground_gljf,'hyfy':PageBackground_hyfy,'llbts':PageBackground_llbts,'ygcls':PageBackground_ygcls,'VIS':PageBackground_VIS,'VIS2':PageBackground_VIS2,'VIS3':PageBackground_VIS3,'VIS4':PageBackground_VIS4,'VIS5':PageBackground_VIS5,'VIS6':PageBackground_VIS6,'VIS7':PageBackground_VIS7,}});
- if((0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}
- setBorderOpacity(Node26,0,"Node26");
- if(typeof(Node26.borderWidth)!="undefined"){setDashStyle(Node26,"Node26",'NoDash',Node26.borderWidth);}
- if(typeof(Node29.borderWidth)!="undefined"){setDashStyle(Node29,"Node29",'NoDash',Node29.borderWidth);}
- if(typeof(Node31.borderWidth)!="undefined"){setDashStyle(Node31,"Node31",'NoDash',Node31.borderWidth);}
- if(typeof(Node156.borderWidth)!="undefined"){setDashStyle(Node156,"Node156",'NoDash',Node156.borderWidth);}
- if(typeof(Node189.borderWidth)!="undefined"){setDashStyle(Node189,"Node189",'NoDash',Node189.borderWidth);}
- if(typeof(Node191.borderWidth)!="undefined"){setDashStyle(Node191,"Node191",'NoDash',Node191.borderWidth);}
- if(typeof(Node201.borderWidth)!="undefined"){setDashStyle(Node201,"Node201",'NoDash',Node201.borderWidth);}
- if(typeof(Node202.borderWidth)!="undefined"){setDashStyle(Node202,"Node202",'NoDash',Node202.borderWidth);}
- if((0 )){Node239.s('2d.visible',true);}else{Node239.s('2d.visible',false);}
- if((0 )){Node241.s('2d.visible',true);}else{Node241.s('2d.visible',false);}
- if((0 )){Node243.s('2d.visible',true);}else{Node243.s('2d.visible',false);}
- if((0 )){Node245.s('2d.visible',true);}else{Node245.s('2d.visible',false);}
- if((0 )){Node247.s('2d.visible',true);}else{Node247.s('2d.visible',false);}
- if((0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);}
- if((0 )){Node251.s('2d.visible',true);}else{Node251.s('2d.visible',false);}
- /*@PageInit@*/
-
- function DatarefreshTask(callback){
- /*@DataVarText@*/
- callback = callback || function () {};
- if(varList.length <= 0){
- return callback();
- }
- var ajaxdata = {};
- var ajaxtype = 'GET';
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Snapshot/tags";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- var snapshots = eval(data);
- //判断快照是否为空
- if (snapshots != null) {
- for (var i = 0; i < snapshots.length; i++) {
- var index = varList.indexOf (snapshots[i].TagName);
- var tagName = snapshots[i].TagName.toLowerCase();
- if(index >= 0 && index< varList.length){
- if(parseFloat(snapshots[i].Value).toString()==snapshots[i].Value){
- varListObj[tagName] = VarValue[index] = parseFloat(snapshots[i].Value);
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }else{
- varListObj[tagName] = VarValue[index] = snapshots[i].Value;
- VarSnapshotTime[tagName]=snapshots[i].Time;
- }
- }
- }
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- callback();
- }
- }
- );
- }
- ;(function () {
- var i = 0;
- function getdata() {
- DatarefreshTask(function () {
- i++;
- Timer1sCmd();
- Timer100msCmd();
- Timer500msCmd();
- if (i <= 4) {
- setTimeout(getdata, 50);
- }
- });
- }
- setTimeout(getdata, 20);
- })();
- intervalTimers.push(setInterval(DatarefreshTask, 500));
- /*@DataRefresh@*/
-
- function GetTagsProperty(){
- /*@DataVarText@*/
- if(varList.length <= 0){
- return;
- }
- var ajaxtype = 'GET';
- var ajaxdata = {};
- var str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point?tagName=";
- var para = "";
- for(var i=0;i<varList.length;i++){
- para = para + varList[i];
- if(i!==varList.length-1)
- para = para +',';
- }
- str = str + encodeURIComponent(para);
- if (str.length > 2000) {
- para = encodeURIComponent(para);
- str = "http://" + webServiceIP + ":" + webServicePort + "/api/Point/property";
- ajaxdata = {'': para};
- ajaxtype = 'POST';
- }
- $.ajax({
- url: str ,
- type: ajaxtype,
- dataType: 'json',
- data: ajaxdata,
- cache: false,
- success: function (data) {
- if (data === null) return;
- for(var i=0;i<data.length;i++){
- var basePointInfo=data[i].BasePointInfo;
- tagInfoDic[basePointInfo.TableDotTag.toLowerCase()]=basePointInfo;
- // console.log(tagInfoDic);
- }
- },
- complete: function (XHR, TS) {
- XHR = null;
- }
- }
- );
- }
- GetTagsProperty();
- window.GD && (GD.GetTagsProperty = GetTagsProperty);
- /*@TagInfoDic@*/
- var syscurrentTime="";
- function getCurrentTime(timeformat){
- syscurrentTime= moment().format(timeformat);
- if(timeformat=="d"){
- if(syscurrentTime==1){
- syscurrentTime="星期一";
- }
- if(syscurrentTime==2){
- syscurrentTime="星期二";
- }
- if(syscurrentTime==3){
- syscurrentTime="星期三";
- }
- if(syscurrentTime==4){
- syscurrentTime="星期四";
- }
- if(syscurrentTime==5){
- syscurrentTime="星期五";
- }
- if(syscurrentTime==6){
- syscurrentTime="星期六";
- }
- if(syscurrentTime==7){
- syscurrentTime="星期日";
- }
- }
- }
- getCurrentTime();
- /*@SysCurrentTime@*/
- var Counter10ms = 0;
- var Counter100ms = 0;
- var Counter500ms = 0;
- var Counter1s = 0;
- var Counter5s = 0;
- function Timer10msCmd() {
- Counter10ms++;
- /*@Timer10ms@*/
- }
- // intervalTimers.push(setInterval(Timer10msCmd, 10));
- function Timer100msCmd() {
- Counter100ms++;
- Node21.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
- Node22.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node23.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node51.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
- Node52.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node53.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node73.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
- Node74.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node75.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node95.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
- Node96.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node97.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node117.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
- Node118.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node119.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node139.a('node.text',GetDital((getVarValue('HTS_DQ.SX_GD_PLF_DQ_P1_L1_001_AI0013') ),-1));
- Node140.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- Node141.a('node.text',GetDital((getVarValue('GL_FJ.SX_GD_GLF_FJ_P1_L1_001_AI0006') ),-1));
- /*@Timer100ms@*/
- // graphView.redraw();
- }
- intervalTimers.push(setInterval(Timer100msCmd, 100));
- function Timer500msCmd() {
- Counter500ms++;
- if((1 )>0) {if(((sxxny==1)>0 )){Node9.s('2d.visible',true);}else{Node9.s('2d.visible',false);}}
- if((1 )>0) {if(((sxxny==0)>0 )){Node10.s('2d.visible',true);}else{Node10.s('2d.visible',false);}}
- if((1 )>0) {if(((sy==1)>0 )){Node11.s('2d.visible',true);}else{Node11.s('2d.visible',false);}}
- if((1 )>0) {if(((sy==0)>0 )){Node12.s('2d.visible',true);}else{Node12.s('2d.visible',false);}}
- if((1 )>0) {if(((ldjsc==1)>0 )){Node221.s('2d.visible',true);}else{Node221.s('2d.visible',false);}}
- if((1 )>0) {if(((ldjsc==0)>0 )){Node222.s('2d.visible',true);}else{Node222.s('2d.visible',false);}}
- if((1 )>0) {if(((ztjs==1)>0 )){Node223.s('2d.visible',true);}else{Node223.s('2d.visible',false);}}
- if((1 )>0) {if(((ztjs==0)>0 )){Node224.s('2d.visible',true);}else{Node224.s('2d.visible',false);}}
- if((1 )>0) {if(((sbjz==1)>0 )){Node225.s('2d.visible',true);}else{Node225.s('2d.visible',false);}}
- if((1 )>0) {if(((sbjz==0)>0 )){Node226.s('2d.visible',true);}else{Node226.s('2d.visible',false);}}
- if((1 )>0) {if(((xnfx==1)>0 )){Node227.s('2d.visible',true);}else{Node227.s('2d.visible',false);}}
- if((1 )>0) {if(((xnfx==0)>0 )){Node228.s('2d.visible',true);}else{Node228.s('2d.visible',false);}}
- if((1 )>0) {if(((pjgl==1)>0 )){Node229.s('2d.visible',true);}else{Node229.s('2d.visible',false);}}
- if((1 )>0) {if(((pjgl==0)>0 )){Node230.s('2d.visible',true);}else{Node230.s('2d.visible',false);}}
- if((1 )>0) {if(((zbph==1)>0 )){Node231.s('2d.visible',true);}else{Node231.s('2d.visible',false);}}
- if((1 )>0) {if(((zbph==0)>0 )){Node232.s('2d.visible',true);}else{Node232.s('2d.visible',false);}}
- if((1 )>0) {if(((dbgl==1)>0 )){Node233.s('2d.visible',true);}else{Node233.s('2d.visible',false);}}
- if((1 )>0) {if(((dbgl==0)>0 )){Node234.s('2d.visible',true);}else{Node234.s('2d.visible',false);}}
- if((1 )>0) {if(((bjzx==1)>0 )){Node235.s('2d.visible',true);}else{Node235.s('2d.visible',false);}}
- if((1 )>0) {if(((bjzx==0)>0 )){Node236.s('2d.visible',true);}else{Node236.s('2d.visible',false);}}
- if((1 )>0) {if(((jrjs==1)>0 )){Node237.s('2d.visible',true);}else{Node237.s('2d.visible',false);}}
- if((1 )>0) {if(((jrjs==0)>0 )){Node238.s('2d.visible',true);}else{Node238.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==1)>0 )){Node239.s('2d.visible',true);}else{Node239.s('2d.visible',false);}}
- if((1 )>0) {if(((yygjb==0)>0 )){Node240.s('2d.visible',true);}else{Node240.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==1)>0 )){Node241.s('2d.visible',true);}else{Node241.s('2d.visible',false);}}
- if((1 )>0) {if(((plhts==0)>0 )){Node242.s('2d.visible',true);}else{Node242.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==1)>0 )){Node243.s('2d.visible',true);}else{Node243.s('2d.visible',false);}}
- if((1 )>0) {if(((tqwns==0)>0 )){Node244.s('2d.visible',true);}else{Node244.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==1)>0 )){Node245.s('2d.visible',true);}else{Node245.s('2d.visible',false);}}
- if((1 )>0) {if(((gljf==0)>0 )){Node246.s('2d.visible',true);}else{Node246.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==1)>0 )){Node247.s('2d.visible',true);}else{Node247.s('2d.visible',false);}}
- if((1 )>0) {if(((hyfy==0)>0 )){Node248.s('2d.visible',true);}else{Node248.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==1)>0 )){Node249.s('2d.visible',true);}else{Node249.s('2d.visible',false);}}
- if((1 )>0) {if(((llbts==0)>0 )){Node250.s('2d.visible',true);}else{Node250.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==1)>0 )){Node251.s('2d.visible',true);}else{Node251.s('2d.visible',false);}}
- if((1 )>0) {if(((ygcls==0)>0 )){Node252.s('2d.visible',true);}else{Node252.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node259_0.s('2d.visible',true);}else{Node259_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node259_1.s('2d.visible',true);}else{Node259_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==0)>0 )){Node260_0.s('2d.visible',true);}else{Node260_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==0)>0 )){Node260_1.s('2d.visible',true);}else{Node260_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node261_0.s('2d.visible',true);}else{Node261_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node261_1.s('2d.visible',true);}else{Node261_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==0)>0 )){Node262_0.s('2d.visible',true);}else{Node262_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==0)>0 )){Node262_1.s('2d.visible',true);}else{Node262_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node263_0.s('2d.visible',true);}else{Node263_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node263_1.s('2d.visible',true);}else{Node263_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==0)>0 )){Node264_0.s('2d.visible',true);}else{Node264_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==0)>0 )){Node264_1.s('2d.visible',true);}else{Node264_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node265_0.s('2d.visible',true);}else{Node265_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node265_1.s('2d.visible',true);}else{Node265_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==0)>0 )){Node266_0.s('2d.visible',true);}else{Node266_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==0)>0 )){Node266_1.s('2d.visible',true);}else{Node266_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node267_0.s('2d.visible',true);}else{Node267_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node267_1.s('2d.visible',true);}else{Node267_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==0)>0 )){Node268_0.s('2d.visible',true);}else{Node268_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==0)>0 )){Node268_1.s('2d.visible',true);}else{Node268_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node269_0.s('2d.visible',true);}else{Node269_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node269_1.s('2d.visible',true);}else{Node269_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==0)>0 )){Node270_0.s('2d.visible',true);}else{Node270_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==0)>0 )){Node270_1.s('2d.visible',true);}else{Node270_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node271_0.s('2d.visible',true);}else{Node271_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node271_1.s('2d.visible',true);}else{Node271_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==0)>0 )){Node272_0.s('2d.visible',true);}else{Node272_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==0)>0 )){Node272_1.s('2d.visible',true);}else{Node272_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_0.s('2d.visible',true);}else{Node273_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_1.s('2d.visible',true);}else{Node273_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_2.s('2d.visible',true);}else{Node273_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_3.s('2d.visible',true);}else{Node273_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_4.s('2d.visible',true);}else{Node273_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_5.s('2d.visible',true);}else{Node273_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_6.s('2d.visible',true);}else{Node273_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_7.s('2d.visible',true);}else{Node273_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_8.s('2d.visible',true);}else{Node273_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_9.s('2d.visible',true);}else{Node273_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_10.s('2d.visible',true);}else{Node273_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_11.s('2d.visible',true);}else{Node273_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_12.s('2d.visible',true);}else{Node273_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_13.s('2d.visible',true);}else{Node273_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_14.s('2d.visible',true);}else{Node273_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS==1)>0 )){Node273_15.s('2d.visible',true);}else{Node273_15.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_0.s('2d.visible',true);}else{Node274_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_1.s('2d.visible',true);}else{Node274_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_2.s('2d.visible',true);}else{Node274_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_3.s('2d.visible',true);}else{Node274_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_4.s('2d.visible',true);}else{Node274_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_5.s('2d.visible',true);}else{Node274_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_6.s('2d.visible',true);}else{Node274_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_7.s('2d.visible',true);}else{Node274_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_8.s('2d.visible',true);}else{Node274_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_9.s('2d.visible',true);}else{Node274_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_10.s('2d.visible',true);}else{Node274_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_11.s('2d.visible',true);}else{Node274_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_12.s('2d.visible',true);}else{Node274_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_13.s('2d.visible',true);}else{Node274_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_14.s('2d.visible',true);}else{Node274_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS3==1)>0 )){Node274_15.s('2d.visible',true);}else{Node274_15.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_0.s('2d.visible',true);}else{Node275_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_1.s('2d.visible',true);}else{Node275_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_2.s('2d.visible',true);}else{Node275_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_3.s('2d.visible',true);}else{Node275_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_4.s('2d.visible',true);}else{Node275_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_5.s('2d.visible',true);}else{Node275_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_6.s('2d.visible',true);}else{Node275_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_7.s('2d.visible',true);}else{Node275_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_8.s('2d.visible',true);}else{Node275_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_9.s('2d.visible',true);}else{Node275_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_10.s('2d.visible',true);}else{Node275_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_11.s('2d.visible',true);}else{Node275_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_12.s('2d.visible',true);}else{Node275_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_13.s('2d.visible',true);}else{Node275_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_14.s('2d.visible',true);}else{Node275_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS2==1)>0 )){Node275_15.s('2d.visible',true);}else{Node275_15.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_0.s('2d.visible',true);}else{Node276_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_1.s('2d.visible',true);}else{Node276_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_2.s('2d.visible',true);}else{Node276_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_3.s('2d.visible',true);}else{Node276_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_4.s('2d.visible',true);}else{Node276_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_5.s('2d.visible',true);}else{Node276_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_6.s('2d.visible',true);}else{Node276_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_7.s('2d.visible',true);}else{Node276_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_8.s('2d.visible',true);}else{Node276_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_9.s('2d.visible',true);}else{Node276_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_10.s('2d.visible',true);}else{Node276_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_11.s('2d.visible',true);}else{Node276_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_12.s('2d.visible',true);}else{Node276_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_13.s('2d.visible',true);}else{Node276_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_14.s('2d.visible',true);}else{Node276_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS4==1)>0 )){Node276_15.s('2d.visible',true);}else{Node276_15.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_0.s('2d.visible',true);}else{Node277_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_1.s('2d.visible',true);}else{Node277_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_2.s('2d.visible',true);}else{Node277_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_3.s('2d.visible',true);}else{Node277_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_4.s('2d.visible',true);}else{Node277_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_5.s('2d.visible',true);}else{Node277_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_6.s('2d.visible',true);}else{Node277_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_7.s('2d.visible',true);}else{Node277_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_8.s('2d.visible',true);}else{Node277_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_9.s('2d.visible',true);}else{Node277_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_10.s('2d.visible',true);}else{Node277_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_11.s('2d.visible',true);}else{Node277_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_12.s('2d.visible',true);}else{Node277_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_13.s('2d.visible',true);}else{Node277_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_14.s('2d.visible',true);}else{Node277_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS5==1)>0 )){Node277_15.s('2d.visible',true);}else{Node277_15.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_0.s('2d.visible',true);}else{Node278_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_1.s('2d.visible',true);}else{Node278_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_2.s('2d.visible',true);}else{Node278_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_3.s('2d.visible',true);}else{Node278_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_4.s('2d.visible',true);}else{Node278_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_5.s('2d.visible',true);}else{Node278_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_6.s('2d.visible',true);}else{Node278_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_7.s('2d.visible',true);}else{Node278_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_8.s('2d.visible',true);}else{Node278_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_9.s('2d.visible',true);}else{Node278_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_10.s('2d.visible',true);}else{Node278_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_11.s('2d.visible',true);}else{Node278_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_12.s('2d.visible',true);}else{Node278_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_13.s('2d.visible',true);}else{Node278_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_14.s('2d.visible',true);}else{Node278_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS6==1)>0 )){Node278_15.s('2d.visible',true);}else{Node278_15.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_0.s('2d.visible',true);}else{Node279_0.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_1.s('2d.visible',true);}else{Node279_1.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_2.s('2d.visible',true);}else{Node279_2.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_3.s('2d.visible',true);}else{Node279_3.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_4.s('2d.visible',true);}else{Node279_4.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_5.s('2d.visible',true);}else{Node279_5.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_6.s('2d.visible',true);}else{Node279_6.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_7.s('2d.visible',true);}else{Node279_7.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_8.s('2d.visible',true);}else{Node279_8.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_9.s('2d.visible',true);}else{Node279_9.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_10.s('2d.visible',true);}else{Node279_10.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_11.s('2d.visible',true);}else{Node279_11.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_12.s('2d.visible',true);}else{Node279_12.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_13.s('2d.visible',true);}else{Node279_13.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_14.s('2d.visible',true);}else{Node279_14.s('2d.visible',false);}}
- if((1 )>0) {if(((VIS7==1)>0 )){Node279_15.s('2d.visible',true);}else{Node279_15.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();
- Node3_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
- Node4_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
- Node192_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
- Node196_chart.setOption({series: { data: [(getVarValue('demo.DEMO_AI009') )]}});
- /*@Timer1000ms@*/
- // graphView.redraw();
- }
- Timer1sCmd();
- intervalTimers.push(setInterval(Timer1sCmd, 1000));
- function Timer5sCmd() {
- Counter5s++;
- /*@Timer5000ms@*/
- // graphView.redraw();
- }
- // intervalTimers.push(setInterval(Timer5sCmd, 5000));
- /*@EventTimer@*/
- //graphView.setInteractors(null);
- if (!!view) {
- view.eventList = view.eventList || {};
- }
- function blockDataFilter (data) {
- return !(data instanceof ht.Block || data.isLibBackground || data.__clickable === false);
- }
- var type ='mousedown';
- function doMouseDown (e, origin) {
- if(!ht.Default.isLeftButton(e)){return;}
- mouseX=e.clientX;
- mouseY=e.clientY;
- origin = origin || graphView;
- window.GD && GD.hideTagInfo();
- var data = origin.getDataAt(e, blockDataFilter);
- if (data && data.__parentLib) {
- _libModel.getDataByKey(data.__parentLib).onEvent(e, data, 'mousedown', origin);
- return;
- }
- if(data === Node239){if(isAuthEnable=='False'||isAuthEnable=='True'&&-1==-1){(typeof window.saveLocalParams === 'function') && (function (){var params = {}; saveLocalParams(params)})();var hash = window.location.hash; window.location.hash = '1234/pbt_yy'; if (hash === window.location.hash && typeof window.onhashchange === 'function') {window.onhashchange();}} }
- /*@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 !== Node9&& objMouseOn===Node9){sxxny=0; }
- if(data !== Node11&& objMouseOn===Node11){sy=0; }
- if(data !== Node221&& objMouseOn===Node221){ldjsc=0; }
- if(data !== Node223&& objMouseOn===Node223){ztjs=0; }
- if(data !== Node225&& objMouseOn===Node225){sbjz=0; }
- if(data !== Node227&& objMouseOn===Node227){xnfx=0; }
- if(data !== Node229&& objMouseOn===Node229){pjgl=0; }
- if(data !== Node231&& objMouseOn===Node231){zbph=0; }
- if(data !== Node233&& objMouseOn===Node233){dbgl=0; }
- if(data !== Node235&& objMouseOn===Node235){bjzx=0; }
- if(data !== Node237&& objMouseOn===Node237){jrjs=0; }
- if(data !== Node239&& objMouseOn===Node239){yygjb=0; }
- if(data !== Node241&& objMouseOn===Node241){plhts=0; }
- if(data !== Node243&& objMouseOn===Node243){tqwns=0; }
- if(data !== Node245&& objMouseOn===Node245){gljf=0; }
- if(data !== Node247&& objMouseOn===Node247){hyfy=0; }
- if(data !== Node249&& objMouseOn===Node249){llbts=0; }
- if(data !== Node251&& objMouseOn===Node251){ygcls=0; }
- if(data !== Node259_0&& objMouseOn===Node259_0){VIS=0; }
- if(data !== Node259_1&& objMouseOn===Node259_1){VIS=0; }
- if(data !== Node261_0&& objMouseOn===Node261_0){VIS2=0; }
- if(data !== Node261_1&& objMouseOn===Node261_1){VIS2=0; }
- if(data !== Node263_0&& objMouseOn===Node263_0){VIS3=0; }
- if(data !== Node263_1&& objMouseOn===Node263_1){VIS3=0; }
- if(data !== Node265_0&& objMouseOn===Node265_0){VIS5=0; }
- if(data !== Node265_1&& objMouseOn===Node265_1){VIS5=0; }
- if(data !== Node267_0&& objMouseOn===Node267_0){VIS4=0; }
- if(data !== Node267_1&& objMouseOn===Node267_1){VIS4=0; }
- if(data !== Node269_0&& objMouseOn===Node269_0){VIS6=0; }
- if(data !== Node269_1&& objMouseOn===Node269_1){VIS6=0; }
- if(data !== Node271_0&& objMouseOn===Node271_0){VIS7=0; }
- if(data !== Node271_1&& objMouseOn===Node271_1){VIS7=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 === Node10){sxxny=1; }
- if(data === Node12){sy=1; }
- if(data === Node222){ldjsc=1; }
- if(data === Node224){ztjs=1; }
- if(data === Node226){sbjz=1; }
- if(data === Node228){xnfx=1; }
- if(data === Node230){pjgl=1; }
- if(data === Node232){zbph=1; }
- if(data === Node234){dbgl=1; }
- if(data === Node236){bjzx=1; }
- if(data === Node238){jrjs=1; }
- if(data === Node240){yygjb=1; }
- if(data === Node242){plhts=1; }
- if(data === Node244){tqwns=1; }
- if(data === Node246){gljf=1; }
- if(data === Node248){hyfy=1; }
- if(data === Node250){llbts=1; }
- if(data === Node252){ygcls=1; }
- if(data === Node260_0){VIS=1; }
- if(data === Node260_1){VIS=1; }
- if(data === Node262_0){VIS2=1; }
- if(data === Node262_1){VIS2=1; }
- if(data === Node264_0){VIS3=1; }
- if(data === Node264_1){VIS3=1; }
- if(data === Node266_0){VIS5=1; }
- if(data === Node266_1){VIS5=1; }
- if(data === Node268_0){VIS4=1; }
- if(data === Node268_1){VIS4=1; }
- if(data === Node270_0){VIS6=1; }
- if(data === Node270_1){VIS6=1; }
- if(data === Node272_0){VIS7=1; }
- if(data === Node272_1){VIS7=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();
- }
- })();
-
- })();
- }
|